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-17-2006, 08:15 AM   #1
sqwiggly
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Rep: Reputation: 0
Netgear MA101 with Linksys WRT54GS help


I have installed the netgear usb adapter upstairs on my linux pc. Everything seems to be coming up ok with iwconfig and ifconfig. The ip address etc. is assigned through dhcpcd wlan0. I can ping 192.168.1.1 and access the linksys router's config page, but still cannot access any webpages.

I have also tried using a linksys WUSB11v4 adapter upstairs but couldn't get it to work, so as I know that the netgear one has worked before with linux, I thought it'd be easier to just try and configure that one.

Does anyone have any ideas?

Should also mention that I can't get this setup to work on windows either... it finds the network, says it's joining, but then doesn't connect, which is similar to what I think is happening with linux.

Thanks.
 
Old 11-18-2006, 05:55 AM   #2
rjwilmsi
Member
 
Registered: Mar 2005
Location: UK
Distribution: opensuse 12.2 x86_64
Posts: 563

Rep: Reputation: 38
Hmm, how reliably can you connect and navigate around the router's configuration pages. If you can do that reliably at any time then you probably have DNS issues so can't see internet pages. Try pinging Google and report what happens.

However, I think you just have a bad connection. My experience with USB WLAN cards was not good. I don't think they're as good as Cardbus or PCI ones.
 
Old 11-18-2006, 06:29 AM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Are you using wpa encryption? If so, use wpa_cli to montitor whether the device is losing it's association frequently. Also check whether you have the default gateway set to 192.168.1.1 and if you have the nameserver (DNS) addresses. Also see if you can browse to the routers setup. You will first need to allow that with a wired connection however I wouldn't recommend it if you don't use encryption or just use WEP. If you have a second device such as a NIC device, make sure it either isn't on the same subnet or is shut down.

You can check the route with the /sbin/route command.
Here is how mine looks like:
Code:
/sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.128 U     0      0        0 wlan0
192.168.1.128   0.0.0.0         255.255.255.128 U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0
My eth0 device is connected to a switch with a networked printer. Notice that it is on a different subnet.
The last line is the default gateway. If it isn't present, then you can set it with:
"sudo /sbin/route add default netmask 255.255.255.0 gw 192.168.1.1 wlan0"
I'm assuming that you don't have your network subnetted.

Cat out the /etc/resolv.conf file. The nameservers listed should match what the route says on its status page. They are needed to resolve domain names to IP address on the internet.
 
  


Reply

Tags
dns, netgear, ping


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
Netgear WGPS606 & Linksys WRT54GS Compatibility DonLuis Linux - Networking 0 05-23-2006 01:30 PM
Cannot access Linux server through Linksys WRT54GS router William1955 Linux - Hardware 5 11-04-2005 05:33 PM
Quick Question Regarding Linksys wrt54gs W0bbles Linux - Hardware 1 03-09-2005 01:55 PM
linksys wrt54gs problem kpachopoulos General 2 12-02-2004 10:47 AM
NetGear MA101 walterw Linux - Networking 1 12-27-2002 09:11 PM


All times are GMT -5. The time now is 01:25 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