You are not logged in.
Pages: 1
Hello..
I'm trying to bridge this:
AP <---> wlan0 <bridge> eth0 <---> windows computer
but I'm unable to setup the bridge. There is a dhcp server running on AP.
So far I tried this:
# set wireless parameters
iwconfig wlan0 essid <essid>
iwconfig wlan0 key <key>
# unset ip adress of your interfaces so the bridge can handle it
ifconfig eth0 0.0.0.0 promisc up
ifconfig wlan0 0.0.0.0 promisc up
# create the bridge
brctl addbr br0
# add interfaces to the bridge
brctl addif br0 eth0
brctl addif br0 wlan0
# get IP adress from dhcp server (router)
dhcpcd br0
but no success (I get timeout), also I have no idea how to setup IPs on my windows machine.
I'm pretty new at networking so please explain it simply and with command explanations if possible
.
Last edited by karabaja4 (2009-11-09 05:04:31)
Offline
Anyone?
And btw, the wireless card is RT61 (RT2561ST) PCI.
.
Last edited by karabaja4 (2009-11-09 13:46:40)
Offline
Do you really need to bridge it or just want the windows box to have internet?
If it is the second option then you can use iptables and setup the linux box to do nat. http://wiki.archlinux.org/index.php/Sim … AT_gateway
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Do you really need to bridge it or just want the windows box to have internet?
If it is the second option then you can use iptables and setup the linux box to do nat. http://wiki.archlinux.org/index.php/Sim … AT_gateway
Yes I'd prefer it bridged, but I guess internet will have to do...
still dunno what's wrong
Offline
Try looking for software access point, the wiki has this http://wiki.archlinux.org/index.php/Sof … cess_Point but I guess you can find a lot more info is you ask google.
Here may be a good place to look too http://www.linuxfoundation.org/en/Net:Bridge
Edit:
Here may be a good place too http://linuxwireless.org/en/users/Documentation/hostapd
Last edited by R00KIE (2009-11-10 11:37:33)
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Try setting a static address for br0, instead of using dhcp.
Also, I'd say there are numerous places you can ask about windows network configuration - this just isn't one of them.
Offline
Pages: 1