LinuxQuestions.org
Help answer threads with 0 replies.
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 11-13-2005, 05:04 AM   #1
timophej
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
can't ping accesspoint, but get essid


Hello Forum! (first post)

I have a problem with my WLAN PCMCIA Card and Slackware : I think to have all drivers and packages installed, the iwlist found an AccessPoint (fritzbox), but I can not ping the Accesspoint... iwconfig shows the AccessPoint to have a MAC of 00.00.00.00.00.00... Do I have to change that manually ??? Well I can't figure out, why I get an 'unreachable' while trying to ping the AP.. Has anyone an idea ??

Hardware / Software Setup :
-Trendware TEW226PC with RTL8180 Chipset
-IBM Thinkpad T21
-Slackware 10.1
-Kernel 2.4.21

I installed the WLAN-Card's driver (rtl8180-sa2400 from sourceforge).
Then I tested if the card was found :

Code:
 
bash-3.00# lspci | grep 8180
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.: Unknown device 8180 (rev 20)
---------------------

Then I run some configuration according to my wireless network at home...

Code:
 
ifconfig wlan0 192.168.178.21 
ifconfig wlan0 up
iwconfig wlan0 essid "FRITZ"
iwconfig wlan0 key open s:"ObWoQXYatrc12"
iwconfig wlan0 mode Managed
route add default gw 192.168.178.1
------------------------
Then ifconfig and iwconfig have the following output :

Code:
 
bash-3.00# ifconfig 
...
wlan0     Link encap:Ethernet  HWaddr 00:40:F4:9E:7E:D2  
          inet addr:192.168.178.21  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:98 errors:0 dropped:0 overruns:0 frame:0
          TX packets:330 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2940 (2.8 Kb)  TX bytes:11344 (11.0 Kb)
          Interrupt:11 Memory:d0ad2000-d0ad2100 


bash-3.00# iwconfig 
lo        no wireless extensions.

wlan0     IEEE 802.11b  ESSID:"FRITZ"  
          Mode:Managed  Frequency:2.437GHz  Access Point: 00:00:00:00:00:00  
          Bit Rate=11Mb/s   
          Retry:on   Fragment thr:off
          Encryption key:5A62-5737-6958-5961-6364-6336-37   Security mode:open
          Link Quality:92/100  Signal level:-51 dBm  Noise level:-248 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
-------------------------
I started kwifimanager to check out the status and it's showing the following :

signal strength: 95
connected to network : FRITZ
access point : 00:00:00:00:00:00
local ip : 192.168.178.21
frequency : 2.437 (cannal 6)

Any ideas which steps of configuration are missing ?
Why does iwconfig show the wrong AP-MAC of 00.00.00.00.00.00 ?
Why can I get the essid and not ping the AP ?

Thx in advance
Best Wishes,
Timo
 
Old 11-13-2005, 05:21 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
well it seems that you aren't actually logged onto your AP. simply adding your essid etc... doesn't actually mean you've been allowed in... use tools like "iwlist scanning" to search for AP's. as you assumed, the MAC should be the AP's mac... it's easier to see what is or isn't going on if you are getting an IP over DHCP. stops you getting things in the wrong order.
 
Old 11-13-2005, 06:24 AM   #3
timophej
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Original Poster
Rep: Reputation: 0
iwlist scanning works, but iwconfig does not

thanks for quick reply!

hups, I forgot to mention I used iwlist and voila, the AP was found with the right MAC. Only iwconfig lists the APs MAC with 00.00.00.00.00.00...

Code:
 
bash-3.00# iwlist wlan0 scanning
wlan0     Scan completed :
          Cell 01 - Address: 00:04:0E:2E:53:16
                    ESSID:"FRITZ"
                    Mode:Master
                    Frequency:2.437GHz
                    Bit Rate:1Mb/s
                    Bit Rate:2Mb/s
                    Bit Rate:5.5Mb/s
                    Bit Rate:11Mb/s
                    Bit Rate:22Mb/s
                    Quality:91/100  Signal level:-53 dBm  Noise level:-256 dBm
                    Encryption key:on
>DHCP
hmm... ok I could try dhcp, but I thought if this setup works with Win2ooo, it could works with Linux too

By the way, is a list of APs necessary ?

Code:
bash-3.00# iwlist wlan0 accesspoint
wlan0     Interface doesn't have a list of Peers/Access-Points
best wishes,
Timo
 
Old 11-13-2005, 07:55 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
well if the setup works then fine, but i just emant it can be very confusing trouble shooting giving yourself an IP when you have no network connectivity, as if that bit is fine... if you're using dhcp then there's no way to get that higher level network detail without the lower levels already being sorted... when you do or do not get on your AP, you'll a matching reference in the dmesg output as and when the association is found and lost.
 
  


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
accesspoint scan failure towsonu2003 Linux - Wireless Networking 8 09-12-2005 06:41 PM
Problem to connect with AccessPoint jenser Linux - Wireless Networking 0 02-15-2005 03:42 PM
Building a wireless accesspoint with Linux El Gato Feo Linux - Wireless Networking 2 07-13-2004 03:03 PM
Mandrake 9.2 / admtek 8211 - ESSID found but cannot ping on ad-hoc network steventux Linux - Wireless Networking 3 03-11-2004 11:07 AM
[plz help] inetsharing ( wlan , accesspoint ) j33d3x Linux - Wireless Networking 2 09-18-2003 01:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 02:22 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration