'ping' hostap

Jarmie Espuerta jesper at asti.dost.gov.ph
Tue Apr 22 04:32:07 EDT 2003


helo,

after a lot of struggle i have partly got my Zcomax Xl-325H card work as 
an access point. apparent there has been some minor problems which i 
could not understand and figure out.  I am using the latest driver 
hostap-0.0.1 under the kernel version 2.4.20 running on RedHat 7.3...
here's what i did to check if my card and the hostap pc based is working.

bash# ifconfig wlan0 192.168.41.1
eth0      Link encap:Ethernet  HWaddr 00:04:76:72:82:51
          inet addr:10.10.6.33  Bcast:10.10.6.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14990 errors:0 dropped:0 overruns:0 frame:0
          TX packets:270 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:7027835 (6.7 Mb)  TX bytes:19893 (19.4 Kb)
          Interrupt:5 Base address:0xa000

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:36 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3360 (3.2 Kb)  TX bytes:3360 (3.2 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:60:B3:76:9E:8A
          inet addr:192.168.41.1  Bcast:192.168.41.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:23 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:688 (688.0 b)  TX bytes:3384 (3.3 Kb)
          Interrupt:12 Base address:0x100

bash # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11b  ESSID:"dmr"
          Mode:Master  Frequency:2.422GHz  Access Point: 00:60:B3:76:9E:8A
          Bit Rate:11Mb/s   Tx-Power:-4 dBm   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0/92  Signal level:-69 dBm  Noise level:-90 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:34  Invalid misc:7305   Missed beacon:0

with this, i wanted to test my hostap if it really is working.. so i set 
up a client having an IP address of 192.168.41.2, yet it could 'ping' my 
Ip address which is 192.168.41.1... but when i check the 'iwconfig' of 
my client... here's the result

bash# iwconfig
wlan0     IEEE 802.11b  ESSID:"dmr"
          Mode:Managed  Frequency:2.422GHz  Access Point: 00:60:B3:76:9E:8A
          Bit Rate:11Mb/s   Tx-Power:-4 dBm   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0/92  Signal level:-69 dBm  Noise level:-90 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:34  Invalid misc:7305   Missed beacon:0

it has my mac address!! how come it cannot 'ping' the Master and the 
Managed? when in fact my Managed has the address of the access point?
thank you very much for all the suggestions and solutions that i can have.

regards,
jarmie





More information about the HostAP mailing list