Hallo zusammen,
Ich habe hier mal eine Frage an die Debian Networking-Spezies unter euch:
Ich habe es hinbekommen einen WLAN-USB-Stick "ZyDAS 802.11b/g USB2 WiFi" zu aktivieren (Kernel-modul zd1211 & firmware.)
Soweit so gut,
nun möchte ich die NSLU jedoch betreiben, wenn das eth0 Wired-Ethernet ausgestöpselt ist (dafür ist ein WLAN ja gedacht

leider ist dann jedoch das WLAN (eth1) auch nicht zu erreichen.
Sobald ich entweder das Ethernet-Kabel rausziehe, oder das Interface eth0 per ifconfig eth0 down deaktiviere, ist eth1 (mein WLAN) Interface auch nicht mehr zu erreichen.
Kommentiere ich die eth0 Sektion in /etc/network/interfaces raus, und reboote die NSLU, ist eth1 auch nicht zu erreichen.
Ich habe also zur Zeit zwei funktionierende Interfaces,
Beide zusammen funktionieren,
eth0 (wired) funktioniert ohne eth1
eth1 (wlan) jedoch nicht ohne eth0
Vielleich hat jemand eine Idee?
Gruß
VooChee
Hier ein paar Configdetails:
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
nslu:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:18:39:36:CE:28
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::218:39ff:fe36:ce28/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1468 errors:0 dropped:0 overruns:0 frame:0
TX packets:1418 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:82085 (80.1 KiB) TX bytes:140691 (137.3 KiB)
eth1 Link encap:Ethernet HWaddr 00:11:E2:00:A7:D4
inet addr:192.168.0.50 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:66 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5032 (4.9 KiB) TX bytes:5032 (4.9 KiB)
|
Meine /etc/network/interfaces sieht wie folgt aus:
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
nslu:~# cat /etc/network/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
#allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.0.3
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.0.1
dns-search example.org
post-up /root/my-beep/mysplay
# Wifi
auto eth1
iface eth1 inet static
pre-up iwconfig eth1 essid "abcnet"
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
address 192.168.0.50
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
post-up /root/my-beep/mysplay
|
|
Source code
|
1
2
3
4
5
6
7
|
nslu:~# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
localnet * 255.255.255.0 U 0 0 0 eth0
localnet * 255.255.255.0 U 0 0 0 eth1
default localhost 0.0.0.0 UG 0 0 0 eth1
default localhost 0.0.0.0 UG 0 0 0 eth0
|
was hast Du bereits probiert?: siehe Beschreibung
Die Suche schon benuzt?: ja
Art der Firmware: Debian zd1211 zd1211-firmware-1.4.tar.bz2
wird ein externer Datenträger genutzt, wenn ja, was für eine Art: USB-Stick