[Voyage-linux] bridge wlan0 to eth0
Bánhidi István
(spam-protected)
Wed Oct 5 01:17:49 HKT 2016
Hi,
I don't understand exactly what you want, but i hope this help (source
from voyage wiki):
====== Build a Bridge with Voyage ======
I used voyage-0.2pre1 on a WRAP 2C. The bridged devices are a Prism
wireless mini-PCI card and the WRAP's built in ethernet port.
Edit the /etc/network/interfaces
Mine looks like this:
auto br0
iface br0 inet static
address 192.168.254.253
netmask 255.255.255.0
network 192.168.254.0
broadcast 192.168.1.255
gateway 192.168.254.1
bridge_ports eth0 wlan0
pre-up iwconfig wlan0 essid testing mode master
The first 5 lines set up the bridged IP infomation. The next line
configures the bridge itself. The only line that you will really need to
change is the line that starts with "pre-up iwconfig...". This
configures the the wireless card to be an access point and sets the ssid
to "testing". The final lines that start with post-down enable the
bridge to be shutdown nicely.
Once you get everything configured to your liking, restart your network
and test connectivity.
Good luck
Steve
2016.10.04. 8:18 keltezéssel, tux john írta:
> Hi. i have an alix 2d13 (pcengines) that has 3 ethernet ports . I would
> like to create a failover setup.
>
> I have a nearby community wifi that i connect to with the following:
>
> auto wlan0
> iface wlan0 inet dhcp
> wpa-ssid "Community_wifi"
> wpa-psk "xyzPasSwd"
> up nat.sh eth1 wlan0 "192.168.179.0/24"
> dns-nameservers 8.8.8.8
>
> auto eth1
> iface eth1 inet static
> address 192.168.179.1
> netmask 255.255.255.0
>
> by doing that i get all the traffic nated to eth1/wlan0.
> i have tried to create a br0 interface with wlan0 and eth0 but it does
> allow traffic in between, unless i do a nat.
>
> I would like to _*NOT do a NAT*_ setup. All devices attached to eth1
> to get
> an IP from the pool of the community wifi. how can i change my setup to
> be able to have an IP on eth1 from the community wifi dhcp, as well all
> computers attached to eth1 to get an IP from the same pool, please?
>
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20161004/5f30269d/attachment.html>
More information about the Voyage-linux
mailing list