I can access router settings but no internet access
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.
I can access router settings but no internet access
I can access my wireless router settings (192.168.1.1) but I can't access the internet. The router itself can ping sites. linux dist is suse 10.0. I'm new to the world of linux, so if you can walk me through some steps, that'll be great. thanks
How have you configured you wireless connection to your router, and also what wireless card do you actually have in your Linux machine? Can you ping the router itself?
At a guess, if you type "route" from the command line, you'll be missing an entry for default gateway which defines where you system will look for it's Internet connection. To fix this, type:
Code:
route add default gw 192.168.1.1 dev wlan0
assuming wlan0 is what your wireless card is configured as. Otherwise, if you have a look within /etc/resolv.conf you might not have correct DNS servers set which should be available from your ISP.
Check out my post from another forum. It may help.
Quote:
I had a similar problem with SUSE Linux 10.0 on my machine as well. In my case, the problem arose from the DHCP function overwriting one of the two DNS servers with the gateway IP address. I believe this is common, as it is the same in Linux and Windows. Apparently, Windows can handle this behavior and Linux cannot (or not as well, anyway).
Here is the solution I used.
1. Log in as root. (K-menu --> System --> File Manager --> File Manager - Super User Mode). Open up the resolve.conf file (located at /etc/resolv.conf) with Kwrite and edit the resolve.conf file so that it contains both DNS server numbers. (I overwrote the gateway IP address with the DNS #1 address. It was the one that was overwritten.) Save the modified file as resolve2.conf. You will need this backup file.
2. Open up the config file (located at /etc/sysconfig/network/config). Make a backup of that as well. Next, change MODIFY_RESOLV_CONF_DYNAMICALLY = “yes” to MODIFY_RESOLV_CONF_DYNAMICALLY = “no”.
3. Restart. (I think you can also do this by logging off and logging back in.) Log in as root. You will find the resolve.conf file messed up. (We switched off "MODIFY_RESOLV_CONF_DYNAMICALLY," so the file was not "created" this time around.) Open the backup copy (resolv2.conf) and save it as resolv.conf. This file will remain untouched. (As far as I can tell, anyway.)
4. Restart and log in normally. It should work.
I believe i'm doing something wrong while using your walkthrough. I still can't access the internet through wifi and now my ethernet is performing extremely terrible even when I restored everything back to my previous setup.
OK, that makes me wonder if you set up your wireless card correctly. You might recheck and make sure your network name (ESSID), operating mode (Ad-hoc/Managed/Master), authentication mode (Open/Shared Key/WPA-PSK/WPA-EAP), passkey, and passkey type (passphrase/ascii/hexadecimal) are entered correctly.
Do you use dhcpcd or do you have it set for a manual IP? Use the same IP for your previously working eth0 connection as wlan0? It sounds to me more like you maybe have the wrong dns address. If you can connect to your router but not to a url, that would lead me to believe its the dns (as fouldsy has stated already).
I doubt its any security settings in your router since you are able to log into it. (From what I gather.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.