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 |
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 |
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 |
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. |
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? |
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. |
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... |
Quote:
|
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??? |
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. |
Quote:
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:
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. |
Thank You
Internet is up and running. Thanks to everyone. Appreciate.
resolv.conf now nameserver DNSip. Great.!!!! :) :) :) :D :D :D :) :) :) |
I am glad to learn that you got things running. Enjoy! :)
|
All times are GMT -5. The time now is 11:11 AM. |