problem after installing hostap! Please help!!

ken ee_cskaa at stu.ust.hk
Wed Aug 25 08:01:10 EDT 2004


I use NL 2511-CD PLUS EXT2 and Redhat 9 to build hostap

eth0 - Intel ethernet card
eth1 - Intel pro/2100 wireless card (use ipw2100 driver)
wlan0 - NL2511-CD PLUS EXT2 (use hostap driver)


After installing hostap, I have some problems related to network
interface.

When I enable eth0 and eth1 interface, I cannot ping to outside through
eth0, but eth1 can.
When I enable eth0 and disable eth1, I can ping to anywhere through
eth0, but when I use web browser, I cannot go to internet


How to fix it? I want to use both interface to ping outside and go to
internet.


Below is my config:


[root at localhost ken]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:09:6B:BF:E3:D1
          inet addr:192.168.1.102  Bcast:192.168.1.255 
Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Base address:0x8000 Memory:c0220000-c0240000
 
eth1      Link encap:Ethernet  HWaddr 00:04:23:68:7B:DB
          inet addr:192.168.1.103  Bcast:192.168.1.255 
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2989 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2819 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000
          RX bytes:3071611 (2.9 Mb)  TX bytes:345546 (337.4 Kb)
          Interrupt:11 Base address:0x7000 Memory:c0210000-c0210fff
 
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:7943 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7943 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:542104 (529.3 Kb)  TX bytes:542104 (529.3 Kb)
 
wifi0     Link encap:UNSPEC  HWaddr
00-02-6F-01-73-BC-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:240 (240.0 b)
          Interrupt:3 Base address:0x100
 
wlan0     Link encap:Ethernet  HWaddr 00:02:6F:01:73:BC
          inet addr:10.1.2.1  Bcast:10.1.2.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:240 (240.0 b)
          Interrupt:3 Base address:0x100

[root at localhost ken]# iwconfig
lo        no wireless extensions.
 
dummy0    no wireless extensions.
 
eth0      no wireless extensions.
 
Warning: Driver for device eth1 has been compiled with version 16
of Wireless Extension, while this program is using version 15.
Some things may be broken...
 
eth1      IEEE 802.11b  ESSID:"linksys.wireless.org"  Nickname:"ipw2100"
          Mode:Managed  Channel:11  Access Point: 00:0F:66:A8:17:90
          Bit Rate=11Mb/s   Tx-Power=32 dBm
          Retry:on   RTS thr=2304 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:100/0  Signal level:-20 dBm  Noise level:-98 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
 
wifi0     IEEE 802.11b  ESSID:"skchung.wireless.org" 
Nickname:"localhost.localdomain"
          Mode:Master  Frequency:2.412GHz  Access Point:
00:02:6F:01:73:BC
          Bit Rate=11Mb/s   Sensitivity=1/0
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:6   Missed beacon:0
 
wlan0     IEEE 802.11b  ESSID:"skchung.wireless.org" 
Nickname:"localhost.localdomain"
          Mode:Master  Frequency:2.412GHz  Access Point:
00:02:6F:01:73:BC
          Bit Rate=11Mb/s   Sensitivity=1/0
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:6   Missed beacon:0
 




More information about the HostAP mailing list