Gast
#4697889
Hallo zusammen,
ich versuche bei meinem BeagleBone Black ein USB WLAN Interface ans
Laufen zu bekommen. Vom Prinzip her klappt es auch ABER:
Ich habe ein Ethernetkabel (eth0) UND einen USB-WLAN-Stick (wlan1) am
BBB. Wenn der BBB startet kann ich über beide Interfaces auf meinen BBB
zugreifen. Ping über IP und per DNS funktionieren ins Internet.
Wenn ich aber das Ethernetkabel abziehe komme ich auch nicht mehr über
WLAN auf den BBB.
Wenn ich aber das Ethernet Interface mit "ifconfig eth0 down"
runterfahre, funktioniert mein WLAN Interface weiterhin. Auch nach einem
Abziehen des Ethernetkabels. Es funktioniert aber kein "ping" mehr ins
Internet (weder IP noch über DNS). Im Hausnetz funktioniert mein BBB
noch.
Ich habe die Interfaces über "/etc/network/interfaces" konfiguriert.
Ich vermute es stimmt was mit dem routing über das WLAN Interface nicht.
Es scheint auch so zu sein, das das WLAN Interface keine IP bekommt,
wenn beim booten kein Ethernetkabel angeschlossen ist.
Ich komme über 192.168.2.106 über Ethernet und 192.168.2.107 über WLAN
auf meinen BBB.
Im Netz habe ich solche Phänomene auch schon gefunden, es hat mir bisher
aber nichts wirklich weiter geholfen.
Interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.2.106
netmask 255.255.255.0
gateway 192.168.2.1
# Example to keep MAC address between reboots
#hwaddress ether DE:AD:BE:EF:CA:FE
# The secondary network interface
#auto eth1
#iface eth1 inet dhcp
# WiFi Example
auto wlan1
iface wlan1 inet dhcp
wpa-ssid MEINE-WLAN-SSID
wpa-psk ssidnr.
# Ethernet/RNDIS gadget (g_ether)
# ... or on host side, usbnet and random hwaddr
# Note on some boards, usb0 is automaticly setup with an init script
iface usb0 inet static
address 192.168.7.2
netmask 255.255.255.0
network 192.168.7.0
gateway 192.168.7.1
debian@beaglebone:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0
eth0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0
wlan1
192.168.7.0 0.0.0.0 255.255.255.252 U 0 0 0
usb0
Kann mir da jemand weiterhelfen?
Gruß
Florian