Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
host ap problem

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:


iwconfig wlan0 mode master
iwconfig wlan0 essid linksys
iwconfig wlan0 key off
iwconfig wlan0 channel 6
ifconfig wlan0


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


linux:~ # ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:0F:66:72:ED:3C  
      inet addr:  Bcast:  Mask:
      inet6 addr: fe80::20f:66ff:fe25:af0b/64 Scope:Link
      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:


ifconfig eth1 down
iwconfig eth1 essid linksys
iwconfig eth1 key off
ifconfig eth1
route add default gw
ping -c 3


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:


eth1      Link encap:Ethernet  HWaddr 00:90:21:42:FE:2D  
      inet addr:  Bcast:  Mask:
      inet6 addr: fe80::202:2dff:fe93:7bd3/64 Scope:Link
      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.


Forum Jump:

Users browsing this thread: 1 Guest(s)