WIFI WLAN / Cannot access internet but can access the router configuration page?SUSE
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
substituting the ip address for that of your router.
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
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:
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.