How to bridge ethernet and WLAN
w y
wyxiaopang
Mon Jun 21 08:16:11 PDT 2004
Hi,
I have installed HostAP (hostap-driver-0.1.3 and hostapd-0.1.3 and hostap-utils-0.1.3) and bridge-utils-1.0.4 . When i tried to bridge ehternet and WLAN , the computer would be down (i mean , it didn't work unless i reset it .) .
HostAP use open system quthentican .
After i used " ./hostapd hostapd.conf " , the mobile station associated the HostAP .
I used the commands as below to bridge ethernet and WLAN .
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 wlan0
ifconfig eth0 0.0.0.0
ifconfig wlan0 0.0.0.0
ifconfig br0 172.25.29.66 up
15 or 30 seconds later , the computer would be down .
The informations in /var/log/messages is :
Jun 21 22:48:52 localhost /etc/hotplug/net.agent: invoke ifup wlan0ap
Jun 21 22:48:53 localhost /etc/hotplug/net.agent: invoke ifup wlan0sta
Jun 21 22:49:16 localhost kernel: NET4: Ethernet Bridge 008 for NET4.0
Jun 21 22:49:16 localhost /etc/hotplug/net.agent: invoke ifup br0
Jun 21 22:49:25 localhost kernel: device eth0 entered promiscuous mode
Jun 21 22:49:29 localhost kernel: device wlan0 entered promiscuous mode
Jun 21 22:49:59 localhost kernel: br0: port 2(wlan0) entering listening state
Jun 21 22:49:59 localhost kernel: br0: port 1(eth0) entering listening state
Jun 21 22:50:14 localhost kernel: br0: port 2(wlan0) entering learning state
Jun 21 22:50:14 localhost kernel: br0: port 1(eth0) entering learning state
Jun 21 22:50:29 localhost kernel: br0: port 2(wlan0) entering forwarding state
Jun 21 22:50:29 localhost kernel: br0: topology change detected, propagating
Jun 21 22:50:29 localhost kernel: br0: port 1(eth0) entering forwarding state
Jun 21 22:50:29 localhost kernel: br0: topology change detected, propagating
Jun 21 22:51:59 localhost syslogd 1.4.1: restart.
How to solve this problem ?
My computer is IBM ThinkPad T40 , Wireless Card is Netgear MA401
Operate system is Redhat 9.0 kernel linux-2.4.20-8
Thank you for your tip, and i am sorry for my bad english.
wyxiaopang
---------------------------------
Do You Yahoo!?
???????????????
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20040621/c86da68e/attachment.htm
More information about the Hostap
mailing list