AW: Hostap configuration - internet resoucres ?

Mario Premke premke
Mon Feb 9 00:52:12 PST 2004


Thanks for the quick response

>
> #iwconfig wlanN mode master essid <Your_ESSID>
> and on the other:
> #iwconfig "$if" mode managed essid <Your_ESSID>
>
> but this only lets master and managed nodes
> to associate. Then you have to configure
> ip addresses exactly as you do it for wired LAN,
> with ifconfig.

'to associate' means that windows recognizes the WLAN-Network? It does
recognize the 'test'-network - the IP of the notebook is 192.168.1.2, but
when I do a 'ping 192.168.1.1' ( to my linux-Box, see below) on the
Notebook, there is no response AND it seems the packets don't reach the
Linux box, because a 'cat /proc/net/dev' on the linux box shows:

Inter-|   Receive                                                |
Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes
packets errs drop fifo colls carrier compressed
    lo:     244       2    0    0    0     0          0         0      244
2    0    0    0     0       0          0
  eth0:       0       0    0    0    0     0          0         0        0
0    0    0    0     0       0          0
  eth1:  489557    2002    0    0    0     0          0         0   137064
1841    0    0    0     0       0          0
 wlan0:       0       0    0    0    0     0          0         0        0
0    0    0    0     0       0          0
  ppp0:  399733     799    0    0    0     0          0         0    50636
634    0    0    0     0       0          0


>
> [/me uses ip instead of ifconfig buth that is not essential]
>
> Show us your `ifconfig -a` please.

'ifconfig -a' on my linux box

<---SNIP--->

wlan0     Link encap:Ethernet  HWaddr 00:09:5B:91:8D:D3
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING 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)
          Interrupt:11 Memory:de9d4000-de9d5000

<---SNIP--->

iwconfig looks like the following:

<---SNIP--->

wlan0     IEEE 802.11b  ESSID:"test"
          Mode:Master  Frequency:2.422GHz  Access Point: 00:09:5B:91:8D:D3
          Bit Rate:11Mb/s   Sensitivity=1/3
          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:0   Missed beacon:0

<---SNIP--->





More information about the Hostap mailing list