Nicolas de Pesloüan schreef:
>
> I think that the "Destination Host Unreachable" is caused by some sort
> of "down link", because wpa_supplicant failed to establish the wifi
> link. When eth1 is part of the br0, packets received on eth1 is
> "forwarded" to br0 and not available on eth1. So wpa_supplicant must
> be instructed to listen for incoming packets on br0, not on eth1.
>
> Can you try the exact same configuration, adding wpa-bridge br0 in the
> eth1 stanza, to inform wpa_supplicant where to listen from ?
>
> auto lo
> iface lo inet loopback
>
> auto eth1
> iface eth1 inet manual
> wpa-driver wext
> wpa-ssid ##SSID##
> wpa-ap-scan 1
> wpa-proto RSN
> wpa-pairwise CCMP
> wpa-group CCMP
> wpa-key-mgmt WPA-PSK
> wpa-psk ##PSK KEY##
> wpa-bridge br0 <--- HERE.
>
> auto br0
> iface br0 inet static
> bridge_ports eth1
> address 192.168.1.111
> netmask 255.255.255.0
> gateway 192.168.1.1
I changed the configuration and restarted the networking daemon. I'm
getting this output
joc...@bacardi ~ $ sudo /etc/init.d/networking restart
* Reconfiguring network
interfaces...
ioctl[SIOCGIFINDEX]: No such device
Failed to open l2_packet connection for the bridge interface 'br0'
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Waiting for br0 to get ready (MAXWAIT is 32 seconds).
I'm worried about the wpa_supplicant error. The file is present:
joc...@bacardi ~ $ ls -al /sbin/wpa_supplicant
-rwxr-xr-x 1 root root 319812 2008-03-12 22:28 /sbin/wpa_supplicant
The output of ifconfig:
joc...@bacardi ~ $ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 br0
0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0 br0
joc...@bacardi ~ $ ifconfig
br0 Link encap:Ethernet HWaddr 00:15:00:1f:20:a6
inet addr:192.168.1.111 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::215:ff:fe1f:20a6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:720 (720.0 B)
eth0 Link encap:Ethernet HWaddr 00:0a:e4:ae:7e:4c
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)
Interrupt:20 Base address:0xc000
eth1 Link encap:Ethernet HWaddr 00:15:00:1f:20:a6
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5255 errors:12 dropped:12 overruns:0 frame:0
TX packets:466 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:912108 (890.7 KB) TX bytes:113643 (110.9 KB)
Interrupt:21 Memory:c8006000-c8006fff
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:1974 errors:0 dropped:0 overruns:0 frame:0
TX packets:1974 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:101385 (99.0 KB) TX bytes:101385 (99.0 KB)
The output of iwconfig of eth1
joc...@bacardi ~ $ iwconfig eth1
eth1 unassociated ESSID:"Jochus"
Mode:Managed Frequency=2.462 GHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:146 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
The output of arp -an:
joc...@bacardi ~ $ arp -an
? (192.168.1.1) at <incomplete> on br0
_______________________________________________
Bridge mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/bridge