LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 02-19-2007, 11:36 PM   #1
benoit808
LQ Newbie
 
Registered: Feb 2007
Distribution: Debian
Posts: 21

Rep: Reputation: 15
need help troubleshooting connection


I was able to configure my network card to use my router using the SSID.
When I do a iwconfig, I can see the MAC address from the router so I know that the card did communicate with the router.
I configured a static IP with my router as default gateway.
I can ping the local IP but I can't ping my gateway (router)
Not sure what the next step would be in troubleshooting that problem.

can anyone help me?
 
Old 02-20-2007, 03:35 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
is
route -n
the routers address?
does
cat /etc/resolv.conf
show the router?
 
Old 02-20-2007, 04:42 PM   #3
benoit808
LQ Newbie
 
Registered: Feb 2007
Distribution: Debian
Posts: 21

Original Poster
Rep: Reputation: 15
don't have the laptop with me right now so I can't check on route -n but I'll do so tonight

As for the resolv.conf, I have only 2 lines with nameservers entries.
What is the format for the router entry in this file?
 
Old 02-20-2007, 04:46 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
It should show up as the nameserver if it is the default gateway.
 
Old 02-20-2007, 05:02 PM   #5
benoit808
LQ Newbie
 
Registered: Feb 2007
Distribution: Debian
Posts: 21

Original Poster
Rep: Reputation: 15
NOTE: I'm not questioning your suggestion but trying to understand it ...
so, I should add the following line to my resolv.conf?:
nameserver 192.168.1.1

If i defined a static IP for my laptop and try to ping my gateway (router) by IP, how is adding if as a nameserver going to solve the problem?

Thanks for helping me understand better wireless networking in Linux
 
Old 02-20-2007, 05:03 PM   #6
wildar
Member
 
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30
Quote:
Originally Posted by benoit808
don't have the laptop with me right now so I can't check on route -n but I'll do so tonight

As for the resolv.conf, I have only 2 lines with nameservers entries.
What is the format for the router entry in this file?
An example of a DNS entry in resolv.conf is:
nameserver 192.168.1.1
 
Old 02-20-2007, 05:44 PM   #7
luger
Member
 
Registered: Jan 2002
Posts: 46

Rep: Reputation: 15
Hello,

Please correct me if I am wrong but it was my understanding that the resolv.conf was used for setting the ip address of the DNS server. He should not required the an ip in this file to ping his router.
What was the output from the wiconfig command?
 
Old 02-20-2007, 06:11 PM   #8
benoit808
LQ Newbie
 
Registered: Feb 2007
Distribution: Debian
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks Luger for jumping in... I don't have access to the laptop right now but I'll post the results of iwconfig when I get home in a few hours.

As a side note, I've been trying to find network-admin to help me in my troubleshooting but I can't find that package anywhere... do you have any idea where I could get it from? (using Debian)

Thanks again
 
Old 02-21-2007, 01:02 AM   #9
benoit808
LQ Newbie
 
Registered: Feb 2007
Distribution: Debian
Posts: 21

Original Poster
Rep: Reputation: 15
answer to comprookie2000

here is the result of route -n

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
 
Old 02-21-2007, 01:32 AM   #10
benoit808
LQ Newbie
 
Registered: Feb 2007
Distribution: Debian
Posts: 21

Original Poster
Rep: Reputation: 15
here are the results of iwconfig:

wlan0 Auto ESSID:"mynetwork"
Mode:Managed Frequency:2.437GHz Access Point: 00:01:02:03:04:05
Bit Rate:54Mb/s
Encryption keyff
Power Managementff
Link Quality:45/100 Signal level:-58 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

i changed the mac address and the ssid
 
Old 02-21-2007, 07:06 PM   #11
luger
Member
 
Registered: Jan 2002
Posts: 46

Rep: Reputation: 15
enter this command and post the results.

"wilist wlan0 scan"

This will scan for your router. Is should give you a reply. and what do you get from ipconfig?

Last edited by luger; 02-21-2007 at 07:07 PM.
 
Old 02-22-2007, 01:34 AM   #12
benoit808
LQ Newbie
 
Registered: Feb 2007
Distribution: Debian
Posts: 21

Original Poster
Rep: Reputation: 15
the iwlist wlan0 scan returns the following results for my router:
Cell 05 - Address: 00:0F:661:2A:72
ESSID:"MyRouter"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
QUality:0/100 Signal level:-17 dBm Noise Level:-256 dBm
Encryption keyff
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:54 Mb/s
Extra:bcn_int=100
Extra:atim=0

What i noticed is that the MAC address ends in 72 with the scan but the actual MAC address ends in 71. The rest of the address is the same. Also, the Quality is 0/100 which is weird because the router and the laptop seat on the same desk. If I do a iwconfig after I assigned teh ESSID to my card, it shows 45/100 as Link Quality.
 
  


Reply



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
Internet Connection Sharing and Routing Troubleshooting axelfc Linux - Networking 3 01-27-2006 07:57 AM
Troubleshooting Internet connection hussar Linux - Networking 3 12-05-2005 01:43 PM
Troubleshooting Dial up Modem Connection darthn00b Linux - Newbie 4 05-19-2005 02:16 PM
troubleshooting how-to? chilehead Linux - Hardware 2 02-06-2005 04:58 PM
troubleshooting wireless connection basd Linux - Wireless Networking 5 04-22-2003 03:30 AM

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

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

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