LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 05-08-2004, 10:46 AM   #1
slaken
Member
 
Registered: Nov 2003
Location: Finland
Distribution: Slackware current
Posts: 46

Rep: Reputation: 15
DWL-650+ connected, but not pinging


I have had some problems getting my D-Link DWL-650+ working in my Dell Inspiron 8000. The card can now find the AP, but when I try to ping it just says unreachable. Actually I have no idea what might be the problem as the the card is connected to the AP. When typing iwconfig it gives information about signal strength etc. and in the AP I can see the MAC address of the WLAN card connected to it. Furthermore, I also have added a route as following:

route add default gw 192.168.0.1 wlan0

In addition to the WLAN card I also have a LAN conenction in eth0. This is brought down when I try to ping using the wlan0 interface.

The LED on the card is flashing as it tries to ping and even the WLAN LED on the AP is indicating some traffic.

I would really need some help with this one. Has anyone got the same problem or do you have any ideas what might be wrong? As I said I have a connection between the WLAN card and the AP, but cannot ping even if it seems to be sending and the AP is also receiving.

Please help as I have no ideas what might be wrong!

Thanks in advance!
 
Old 05-08-2004, 12:21 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Moved: This thread is more suitable in Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 05-09-2004, 04:18 PM   #3
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
What is the output of ifconfig? Does the wifi card have a suitable ip address?

Stop the eth0 interface and see if you can get the wifi card to work on it's own
ifconfig eth0 down
 
Old 05-10-2004, 01:20 PM   #4
slaken
Member
 
Registered: Nov 2003
Location: Finland
Distribution: Slackware current
Posts: 46

Original Poster
Rep: Reputation: 15
The WLAN card is configured like this:

ifconfig:

Code:
wlan0     Link encap:Ethernet  HWaddr 00:40:05:CB:B0:17
          inet addr:192.168.0.101  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:576  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:10 Base address:0x4000
The output of iwconfig is:

Code:
wlan0     IEEE 802.11b+  ESSID:"id"  Nickname:"tb"
          Mode:Managed  Channel:2  Access Point: 00:80:C8:B0:89:32
          Bit Rate=11Mb/s   Tx-Power:20 dBm   Sensitivity=187/255
          Retry min limit:5   RTS thr:off
          Encryption key:xxxxxxxxxxxxxxxxxxxx   Security mode:open
          Power Management:off
          Link Quality:86/100  Signal level:81/100  Noise level:0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
Note: The encryption key is removed.

My AP is configured with IP 192.168.0.1

cat /proc/drivers/acx_wlan0:

Code:
acx100 driver version:          v0.2.0pre8
Wireless extension version:     16
chip name:                      ACX100
radio type:                     0x11
form factor:                    0x00
EEPROM version:                 0x04
firmware version:               Rev 1.9.8.b (0x01020505)
BSS table has 1 entries:
 BSS 0  BSSID 00:80:c8:b0:89:32  ESSID id  channel 2  WEP yes  Cap 0x11  SIR 81  SNR 57
status:                 4 (ASSOCIATED)
The dmesg command shows the correct loading of the firmware and it finds the AP and authenticates and associates with it. Everything seems to be ok.

Furthermore, the laptop's WLAN card is seen in the AP's logs. The MAC address is seen there.. even the pinging seems to come to the AP, but nothing is returned to the laptop. The AP's WLAN LED flashes as the pinging is sent (not flashing when it is not sending pings). I am not using and firewall of any kind and the AP is successfully in use by another WLAN laptop.

So....what might be wrong here? Any ideas?
 
Old 05-10-2004, 02:03 PM   #5
level
Member
 
Registered: Jan 2004
Posts: 82

Rep: Reputation: 15
Try turning off WEP and see if you can make it work. Then with WEP on, have another try at it.

In iwconfig shouldn't it be security mode restricted?

On a side note, I have a D-Link DWL120+, that I hope I can use the acx100 v0.2.0pre8 to get my card working, but haven't installed it yet. Did you have any problems with it?
 
Old 05-10-2004, 02:38 PM   #6
slaken
Member
 
Registered: Nov 2003
Location: Finland
Distribution: Slackware current
Posts: 46

Original Poster
Rep: Reputation: 15
Hmm. I'll have a try with the WEP as soon as I have time. I have tried it a couple of times before, but it won't at least get worse if I try again.

Problems? Not really. The module is loaded nicely every time I put the card into the laptop and at least the AP and WLAN card seems to find each other. I have no clue why the IP-part is not working. Seems to be some really strange thing...the only things I can think of which are different on my configuration are:

- I am using wlan0 instead of eth0 (the name differs)
- the firmware

Actually, I was using some other version of the firmware in an earlier try. It did not work at all even if I had been using those files in Windows. Strange. I got the newest driver from www.d-link.com and added the .BIN files to the firware directory and then it "seemed" to work. Not the ping though. Could it be the firmware files even if I have a connection to the AP? What firmware should I use if I have a DWL-650+ card?

Thanks!
 
Old 05-10-2004, 03:22 PM   #7
level
Member
 
Registered: Jan 2004
Posts: 82

Rep: Reputation: 15
Your wireless card seems to be configured properly.

I would run the command "ifconfig wlan0 up" just to double check that the interface is up.

I was just re-reading your initial post, where you said when you tried to ping on the wireless interface your LAN interface went down. Can you elaborate a little more about that.
 
Old 05-10-2004, 04:37 PM   #8
slaken
Member
 
Registered: Nov 2003
Location: Finland
Distribution: Slackware current
Posts: 46

Original Poster
Rep: Reputation: 15
Yes. It seems to be working correctly...*sigh* I've had so much problems with D-Link! I'll never buy anyting from them again.

Well, the thing about eth0 (the other NIC). I meant I issue the command: ifconfig eth0 down, in order to just have one network interface up. This way I know I am using the WLAN card and not the other. So, to sum up: I have a working connection to the AP on the protocol layers lower than IP. What is IP using that is not used by the lower layers in the protocol stack?
 
Old 05-11-2004, 03:25 AM   #9
slaken
Member
 
Registered: Nov 2003
Location: Finland
Distribution: Slackware current
Posts: 46

Original Poster
Rep: Reputation: 15
I tried to disable the WEP encryption (once again) and now it is working! Or sort of..the pinging is working to the AP and to the rest of Internet, but I cannot use the browser at all. Here is an output from tcpdump:

Code:
11:16:51.345418 IP truncated-ip - 930 bytes missing! 216.239.59.104.http > 192.168.0.101.32966: . 1:1431(1430) ack 330 win 31460
11:16:51.346369 00:80:c8:b0:89:32 sap 60 > 00:40:05:cb:b0:17 sap 29 disc/R len=545
11:16:51.347122 00:80:c8:b0:89:32 sap 0a > 00:40:05:cb:b0:17 snap I (s=85,r=3,R) len=378
11:16:52.936515 IP truncated-ip - 930 bytes missing! 216.239.59.104.http > 192.168.0.101.32966: . 1:1431(1430) ack 330 win 31460
11:16:52.937367 00:80:c8:b0:89:32 sap 60 > 00:40:05:cb:b0:17 sap 29 disc/R len=545
11:16:52.938080 00:80:c8:b0:89:32 sap 0a > 00:40:05:cb:b0:17 snap I (s=85,r=3,R) len=378
11:16:55.036409 IP truncated-ip - 930 bytes missing! 216.239.59.104.http > 192.168.0.101.32966: . 1:1431(1430) ack 330 win 31460
11:16:55.037443 00:80:c8:b0:89:32 sap 60 > 00:40:05:cb:b0:17 sap 29 disc/R len=545
11:16:55.038156 00:80:c8:b0:89:32 sap 0a > 00:40:05:cb:b0:17 snap I (s=85,r=3,R) len=378
It seems to be missing something.. Any ideas?
 
Old 05-11-2004, 08:10 AM   #10
level
Member
 
Registered: Jan 2004
Posts: 82

Rep: Reputation: 15
I don't think the acx100 driver is supporting WEP with your card. When you enable WEP, iwconfig output should indicate "security mode : restricted". You may want to check the acx100 sourceforge forum.

In your earlier post, you used 192.168.0.101 as an IP for wlan0. I'm assuming that was done manually. Is the router giving you an IP automatically, now that you have turned WEP off?
 
Old 05-11-2004, 09:22 AM   #11
slaken
Member
 
Registered: Nov 2003
Location: Finland
Distribution: Slackware current
Posts: 46

Original Poster
Rep: Reputation: 15
Hm. Might be, but how come other ppl have got the WEP enabled with the same card? Anybody using a DWL-650+ with WEP?

The restricted thing is set by: iwconfig wlan0 key restricted, but as the AP is using Open it should work with open(?). Well, if we skip the WEP part for now and try to figure out why tcpdump shows packets with bytes missing. Do you know what this means?

Note: Ping is working to any machine, on the same subnet and on Internet, but not TCP (browsing).
 
Old 05-11-2004, 10:01 AM   #12
slaken
Member
 
Registered: Nov 2003
Location: Finland
Distribution: Slackware current
Posts: 46

Original Poster
Rep: Reputation: 15
Oh. All IPs are static.
 
Old 05-12-2004, 03:53 AM   #13
slaken
Member
 
Registered: Nov 2003
Location: Finland
Distribution: Slackware current
Posts: 46

Original Poster
Rep: Reputation: 15
The problem is solved. It was actually my AP which was badly configured. The IP datagram fragmentation length was too small. Now it works flawlessly.

level: Thanks for your help!

Last edited by slaken; 05-12-2004 at 12:54 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dwl-650 nin881 Linux - Laptop and Netbook 2 05-24-2005 01:09 AM
DWL 650+ What To Do Now? ambelos Fedora 11 06-10-2004 12:47 PM
DWL-650+ help marlowewolram Linux - Networking 2 12-11-2003 09:02 AM
Dwl-650 spotslayer Linux - Laptop and Netbook 0 12-07-2003 03:47 PM
dwl 650+ ambelos Linux - Networking 1 12-03-2003 09:35 PM


All times are GMT -5. The time now is 03:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration