Linux-Noob Forums
host ap problem - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Network Problems (https://www.linux-noob.com/forums/forum-58.html)
+---- Forum: Wireless (https://www.linux-noob.com/forums/forum-20.html)
+---- Thread: host ap problem (/thread-2115.html)



host ap problem - yokosucks - 2006-03-06


using a linksys WPC11 (rtl8180 chipset) with the stock drivers that came with opensuse 10. it goes into master mode OK, and after being brought up with ifconfig, it can be seen with kismet from another machine. i edited an iptables example masq rc.firewall and loaded it manually. i then set up the AP on the compaq laptop as so:

 



Code:
iwconfig wlan0 mode master
iwconfig wlan0 essid linksys
iwconfig wlan0 key off
iwconfig wlan0 channel 6
ifconfig wlan0 192.168.2.1




 

this gives me resulting code from ifconfig and iwconfig (respectively):

 



Code:
linux:~ # ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:0F:66:72:ED:3C  
      inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
      inet6 addr: fe80::20f:66ff:fe25:af0b/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:1044 errors:0 dropped:0 overruns:0 frame:0
      TX packets:1661 errors:690 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:57993 (56.6 Kb)  TX bytes:87376 (85.3 Kb)
      Interrupt:11 Memory:c4eb4000-c4eb4100

linux:~ # iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:"linksys"  
      Mode:Master  Frequency:2.437 GHz  Access Point: 00:0F:66:72:ED:3C  
      Bit Rate=11 Mb/s  
      Retry:on   Fragment thr:off
      Encryption key:off
      Link Quality=30/100  Signal level=-31 dBm  Noise level=-186 dBm
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:0  Invalid misc:0   Missed beacon:0




 

then i set up my other laptop with this:

 



Code:
ifconfig eth1 down
iwconfig eth1 essid linksys
iwconfig eth1 key off
ifconfig eth1 192.168.2.199
route add default gw 192.168.2.1
route
ping -c 3 www.yahoo.com




 

route hangs for 20 seconds, spits out something, hangs for antoher 15 seconds and spits out some more, then exits. ping hangs.

 

i do the same with ifconfig and iwconfig on the client laptop:

 



Code:
eth1      Link encap:Ethernet  HWaddr 00:90:21:42:FE:2D  
      inet addr:192.168.2.199  Bcast:192.168.2.255  Mask:255.255.255.0
      inet6 addr: fe80::202:2dff:fe93:7bd3/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:29 errors:0 dropped:0 overruns:0 frame:0
      TX packets:33 errors:565 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:4532 (4.4 Kb)  TX bytes:34492 (33.6 Kb)
      Interrupt:3 Base address:0x100

eth1      IEEE 802.11-DS  ESSID:"linksys"  Nickname:"HERMES I"
      Mode:Managed  Frequency:2.457 GHz  Access Point: 44:44:44:44:44:44  
      Bit Rate:11 Mb/s   Tx-Power=15 dBm   Sensitivity:1/3  
      Retry limit:4   RTS thr:off   Fragment thr:off
      Encryption key:off
      Power Management:off
      Link Quality=0/92  Signal level=134/153  Noise level=134/153
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:0  Invalid misc:0   Missed beacon:0




 

note the access point value in iwconfig of eth1. also note the link quality value.

 

i'm stumped. is it the card? is it the driver? is it... me? am i stupid? please help.