Search Linux Wireless

Re: how to setup a wireless bridge (wds) without iwpriv?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alfonso,

On Thu, Feb 02, 2012 at 07:22:30PM +0100, Alfonso Fiore wrote:
> Since wireless on my PC doesn't work properly, I'd like to create a
> wireless bridge to allow a PC to get an IP address from the wireless
> network without NAT.
> 
> (ISP wireless router - 192.168.1.1) <---wireless---> (ALIX setup as
> bridge) <---wired---> (PC - 192.168.1.x)

I use proxy ARP to achieve this with WPA:

route add -net 192.168.1.0/25 dev wlan0
route add -net 192.168.1.128/25 dev eth0
echo 1 >/proc/sys/net/ipv4/conf/wlan0/proxy_arp
echo 1 >/proc/sys/net/ipv4/conf/eth0/proxy_arp
echo 1 >/proc/sys/net/ipv4/ip_forward

But it only works if you know beforehand on which interface your ALIX
will see an IP address. You could run the DHCP server on your ALIX to
make it more deterministic.

  Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux