[Voyage-linux] Bridging problem with 0.6.2
Punky Tse
(spam-protected)
Mon Aug 24 23:50:53 HKT 2009
Hi Edwin,
I tested 0.6.2 with the following bridge configuration supplied with
slightly modification for my env. My iPhone can associate to it
successfully and can do some decent transfers. Perhaps you add "iwpriv
ath0 wds 1" to enable four-way handshaking?
========================
auto br0
iface br0 inet static
address 192.168.1.77
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
bridge_ports eth0 ath0
pre-up wlanconfig ath0 create wlandev wifi0 wlanmode ap
pre-up iwconfig ath0 essid "voyage-br0" channel 11
up iwconfig ath0 key s:xxxxxxxxxxxxx
up athctrl -i wifi0 -d
9600
up iwpriv ath0 mode
3
post-down wlanconfig ath0 destroy
========================
Regards,
Punky
Edwin Whitelaw wrote:
> Re an earlier post regarding bridging - I have configured to route and
> the client connects and accesses the 'net just fine so it appears
> there really is a problem when in bridging mode or I've left something
> out. The only difference between the two are the interfaces files.
>
>
> -----routing mode---------this works-----
> # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
> # /usr/share/doc/ifupdown/examples for more information.
> auto lo
> iface lo inet loopback
>
> auto eth0
> iface eth0 inet static
> address 192.168.10.77
> netmask 255.255.255.0
> network 192.168.10.0
> broadcast 192.168.10.255
> gateway 192.168.10.254
>
> auto ath0
> iface ath0 inet static
> address 192.168.11.1
> netmask 255.255.255.0
> network 192.168.11.0
> broadcast 192.168.11.255
> madwifi-base wifi0
> wireless-mode master
> wireless-essid test
> wireless-channel 11
> wireless-key s:XXXXXXXXXXXX
> iwpriv ath0 mode 11g
> post-down wlanconfig ath0 destroy
>
>
> -------interfaces routing-----------
>
> --------interfaces bridging----does not work---
> # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
> # /usr/share/doc/ifupdown/examples for more information.
> auto lo
> iface lo inet loopback
>
> auto br0
> iface br0 inet static
> address 192.168.10.77
> netmask 255.255.255.0
> network 192.168.10.0
> broadcast 192.168.10.255
> gateway 192.168.10.254
> bridge_ports eth0 ath0
> pre-up wlanconfig ath0 create wlandev wifi0 wlanmode ap
> pre-up iwconfig ath0 essid "ap1" channel 11
> up iwconfig ath0 key s:XXXXXXXXXXXXX
> up athctrl -i wifi0 -d 9600
> up iwpriv ath0 mode 3
> post-down wlanconfig ath0 destroy
>
>
> ----interfaces bridging--------
>
> The bridging interfaces file works under 0.5.2.
> I've tried with and w/o encryption.
>
> I've installed the madwifi modules per Punky's suggestion.
>
> ldridgev6:/etc/network# dpkg -l | grep madwifi
> ii madwifi-modules-2.6.26-486-voyage 1:0.9.4~rc2-1+6.0-3
>
>
> Anyone have success where I've not? Any suggestions?
>
> TIA,
>
> Edwin
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
More information about the Voyage-linux
mailing list