ich kaufte mir in den vergangenen Tagen eine Cubieboard2 mit einem WLAN-Stick. Konkret einem Realtek RTL8188CUS. Ich habe ihn mir mit einer statischen IP, genau so wie bei Ethernet, eingerichtet. Auf Dauer soll das Cubieboard2 mit WLAN betrieben werden und LAN habe ich nur für den Bedarfsfall eingerichtet.
Folgende Konfigurationen sind gegeben:
OS: Debian 7.1 with kernel 3.3.0+
Ethernet: eth0
WLAN: wlan1
/etc/network/interfaces
Code: Alles auswählen
auto lo
iface lo inet loopback
# ethernet interface
auto eth0
iface eth0 inet static
address 192.168.178.25
netmask 255.255.255.0
gateway 192.168.23.1
# wlan stick config
auto wlan1
allow-hotplug wlan1
iface wlan1 inet static
address 192.168.178.26
netmask 255.255.255.0
gateway 192.168.1.1
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Code: Alles auswählen
network={
ssid="JUST AN OTHER NETWORK"
scan_ssid=1
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
group=TKIP
psk="my-wifi-key"
}
>> update-rc.d wifi-connect defaults
Code: Alles auswählen
#!/bin/sh
#wifi-connect auto-start
case $1 in
start)
wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf -Dwext -s
wpa_cli -B -p/var/lib/run/wpa_supplicant -s
;;
stop)
;;
restart)
;;
*)
echo 'Usage:wifi-connect start|stop|restart'
;;
esac
exit 0
Code: Alles auswählen
ssh: connect to host 192.168.178.26 port 22: Host is down
Viele Grüße
nextone