LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-06-2005, 01:10 PM   #1
thomas939
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Rep: Reputation: 0
WIFI WLAN / Cannot access internet but can access the router configuration page?SUSE


Hello,

I have a Netgear WLAN router at home. I am using suse 9.0. I recently installed a 3Com Airconnect Wlan card in my old IBM 770. It worked perfect. Now i went to a friend and tried to access his network, so i changed my settings etc.
When i came home, i changed network name back to my home network and entered encryption key. I can not go to the www anymore but when i enter the ip of the router, in the web browser, i can access the router itself. Please let me know how i can make connection to the internet and please tell me why i can configure and access my router but not connect to the internet.
Thank You very much.
Thomas
 
Old 12-07-2005, 05:51 AM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
Have you checked whether the default gateway has changed in your routing table? It may when connecting to your friend's network, it uses that device for connecting to the Internet which is no longer there. Type "router" to show the routing table, and look for the entry detailing default gateway. If you need to change it:
Code:
route add default gw 192.168.1.1
substituting the ip address for that of your router.
 
Old 12-07-2005, 10:00 PM   #3
thomas939
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Original Poster
Rep: Reputation: 0
I can access the router setup

Thanks a lot for your reply.
Did you realize that i was able to access my router? I can by typing the address of my router into my browser actually connect to the router and change settings etc. but when i try to connect to the internet it does not go through. why can i connect to the router setup but not to the internet? the gateway seems to be correct.
And, the router actually shows my laptop to be connected and gives it an ip, namely:192.168.0.4 , still internet access is not possible.
Please help me...
Thank you in advance

Last edited by thomas939; 12-07-2005 at 10:07 PM.
 
Old 12-08-2005, 12:59 AM   #4
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Are you able to ping a location via IP (ie linuxquestions.org has an IP of 64.179.4.149)?

If so, it sounds like your DNS is not properly set up.
 
Old 12-08-2005, 12:04 PM   #5
thomas939
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Yes, i can actually ping linuxquestions.org using the ip address. very cool. Thank you. I now need to know how to set-up my DNS correctly...
When i try to configure DNS server, i was asked toinsert a cd with the bind package called: bind-9.2.2-25.i586 I do not have the suse cd anymore. what can i do?

Last edited by thomas939; 12-08-2005 at 12:31 PM.
 
Old 12-08-2005, 01:42 PM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
You don't need to set up your own DNS server. All you need to do is list your ISPs servers in your /etc/resolv.conf file. Alternatively, you could list your router as a nameserver. Each nameserver goes on its own line:

namserver xxx.xxx.xxx.xxx

And just replace the xxx with the IP addresses.
 
Old 12-08-2005, 02:31 PM   #7
thomas939
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Original Poster
Rep: Reputation: 0
resolve.conf did not solve the problem

Thank you for the reply but to change the resolve.conf and add namserver 192.168.0.1 did not help. my resolve conf looks like this now.

domain name
namserver 192.168.0.1

I do not understand how to do the other suggestion. please let me know if you have an idea how to solve this problem...
 
Old 12-08-2005, 03:28 PM   #8
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 51
Quote:
Originally Posted by thomas939
Thank you for the reply but to change the resolve.conf and add namserver 192.168.0.1 did not help. my resolve conf looks like this now.

domain name
namserver 192.168.0.1

I do not understand how to do the other suggestion. please let me know if you have an idea how to solve this problem...
192.168.0.1 looks like a gateway address. That is, the address of your modem. You need to add in the DNS server addresses. If you do not know what they are (there should be at least two), you can get them from your ISP.
 
Old 12-08-2005, 08:03 PM   #9
thomas939
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Original Poster
Rep: Reputation: 0
thank you but i dont understand what that means. please be aware that i am new to linux. i need more precise information to tackle my problem....
And, i am using a wireless router, what has the modem to do with this problem?
please let me know if you have an idea how to solve this problem...
Where can i find the addresses and where do i need to put them???

Last edited by thomas939; 12-08-2005 at 08:05 PM.
 
Old 12-09-2005, 08:07 AM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
I agree with Cogar, that IP address looks a touch suspicious. When you connect to your router's configuration pages, what IP address do you use? That should be the one in your resolv.conf file. Also, if you look through your router's configuration pages, you'll probably find a listing for your ISP's DNS servers. Those IP addresses could also be the ones you would list.

Also, that "domain name" line doesn't look right. In my resolv.conf file, there is just the line nameserver 192.168.1.1 and nothing else. I would either remove that line, or comment it out with a # in front of it.
 
Old 12-09-2005, 11:55 AM   #11
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 51
Quote:
Originally Posted by thomas939
thank you but i dont understand what that means. please be aware that i am new to linux. i need more precise information to tackle my problem....
And, i am using a wireless router, what has the modem to do with this problem?
please let me know if you have an idea how to solve this problem...
Where can i find the addresses and where do i need to put them???
OK, here is a quick, non-technical (and therefore not perfectly accurate) description. For the purpose of this explanation, I will assume you have a DSL connection.

When you start your computer up, chances are it will talk to your router in a process called DHCP (Dynamic Host Configuration Protocol). This will assign an IP number to the computer. The router will give itself 192.168.0.1 and if your computer is the only one logged into the network, it will assign 192.168.0.2 to your computer. Now each of them can "talk" to each other.

Now, you want to connect to the internet and type in www.linuxquestions.org. Still, what you are really looking for is the IP address 64.179.4.146. Therefore, you need a "translation" from the name you typed into your browser (called a hostname) to the actual IP address. This is done by DNS (Domain Name System) servers. There are normally at least two--the primary and a backup. Your computer will ask the router, which in turn inquires through the modem to one of your DNS servers, asking what the IP address for www.linuxquestions.org is. The DNS server replies back the correct IP is 64.179.4.146. The connection is made and you are good to go.

So, the question is "how do I determine the IP address of my DNS servers?" Well, the best bet is to contact your ISP. They may also have that information on one of their web pages. For example, Qwest, a DSL provider in my area, has this information:

Quote:
Use the following DNS server addresses, set the preferred address to 205.171.3.65 and the alternate address to 205.171.2.65. Any entries that refer to other Qwest DNS server addresses must be removed.
http://my.qwest.net/nav4/help/your_a...s_service.html

Therefore, in my case, I would add the following lines in the resolv.conf file for my DNS servers:

nameserver 205.171.3.65
nameserver 205.171.2.65

I hope that helps.

PS: I noticed that there is a misspelling of "nameserver" as "namserver" in some posts. If that occurs, the system may not operate properly.
 
1 members found this post helpful.
Old 12-13-2005, 02:23 AM   #12
thomas939
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Thank You

Internet is up and running. Thanks to everyone. Appreciate.
resolv.conf now nameserver DNSip.
Great.!!!!
 
Old 12-13-2005, 11:28 AM   #13
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 51
I am glad to learn that you got things running. Enjoy!
 
1 members found this post helpful.
  


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
suse router problem, laptop cannot access internet Th3James Linux - Networking 2 11-27-2005 06:32 AM
cannot access config web-page for adsl router tireseas Linux - Networking 6 03-19-2005 05:13 PM
Cannot access Internet through SUSE 9.2 Pro router nexangelus Linux - Networking 3 02-08-2005 11:58 AM
SuSE 9.1 Personal: Internet Access Problems using Zoom X4 Router johnerskine Linux - Newbie 1 06-29-2004 06:00 PM
Internet access through router and wifi connection caudalie Linux - Wireless Networking 3 01-22-2004 04:51 PM


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