No Internet Access
I am unable to connect to the Internet. I am able to access the router through WIFI but I get get the message unable to connect when trying to access a website like Bing.com. I am on a Lenovo laptop G50-45 running MX-19.4. I am using a tp-link archer c8 router. I told the router to use my ISP's DNS's. I cannot ping bing.com or it's IP address. The router shows me the WAN IP address and WAN gateway address. I don't know a lot of linux commands so please be explicit with the instructions. Thank you.
|
I start with: ip r # default gateway okay=router?
There's many paths your troubleshooting can take, so I would start with this web search: debian wiki internet not working And add keywords to narrow down what you find. Let us know!!! P. S. Tell us more about how you're talking to the router (told [tp-link archer c8] shows). Does it work for any other device like a cellphone? |
Quote:
My laptop can get to the internet when I tether it to my smartphone. I will try my smartphone connected with wifi through router and post results. I do have another laptop running Ubuntu with the same problem. After I started having this problem I tried specifying nameservers in /etc and then the router but it did not help. Where is the best place to specify a DNS? Since I could not ping IP's I doubt a DNS problem. Thank you for the help. I will search the Debian problems. |
Powered off modem and router many times.
I forgot to mention that I have disconnected power to modem and router many times and tried a different cable between router and modem. I also disconnected the coax to the modem at one time. I also tried plugging an ethernet directly from the modem to my laptop with no luck. I had comcast check out the connection and they did not see a problem. I don't have an extra modem or router.
|
Quote:
I assume your using cable? Typically with a home cable plan your only allowed one device to connect to the MODEM at a time. Whenever you switch devices you need to cycle power on the MODEM. I have found in the past that even though the ISP can access the MODEM that does not mean 100% you do not have a problem on their end. The signal strength may be on the low end. Can you log into the router and see a connection to the ISP? Do you have a valid public IP address? |
I ran the IP command again and got different results so I probably was tethered at the time.
Quote:
I tried pinging the WAN IP's shown on the screenshot and could not reach them from the routers diagnostics or the terminal. Shouldn't I be able to ping them? Thank you. |
Did your smartphone have access to the internet when connected to your router's wifi?
Post the entire output of the ip r command when connected to the wifi as posted above? I would expect the metric to be something like 100 for both the default route and wlan0 Please remove the screenshot from the last post since it contains your public address just as a precautionary measure since anyone can view it. Whether or not you can ping your router from inside LAN depends on your router. I can ping the address but I can not tell if that is really you or not. |
Try to traceroute to something like 8.8.8.8
|
Phone works through router
I was able to connect my phone through wifi to the router and browse the Internet. Good call. I verified it by going to iplocation.com and it showed me the same IP as the router network page. I then tethered my laptop to my phone and went to iplocation.com again and it gave me the same ip address of my router.
|
Still need to see the output of ip r when connected to your wifi.
|
So you can connect your laptop to the router wifi, and can see the router, but no DNS. Your phone can connect to the router wifi and has DNS. Makes me think some interface setting on the laptop is messed up.
Did you make any changes in NetworkManager to the interface? |
Message 6 contains the result of the ip r command without being tethered to the phone. Thank you for your suggestion of using the phone to connect to router.
The result of the traceroute command while being connected to router wifi: Quote:
Quote:
and since I can't ping WAN ip addresses I didn't think it was a nameserver but I may be wrong. Thanks for the suggestion to remove screenshot. My phone did have access to internet when connected to router wifi. |
https://www.tecmint.com/set-permanen...ubuntu-debian/
This explains a bit how it works in Ubuntu. While mx defaults to sysv init versus systemd, network manager is in control of /etc/resolv.conf. It seems strange that your having similar problems on two operating systems that are not exactly the same. Have you changed anything from default installation? |
Obviously, the router's 192.168.1.1 interface works but when you say "ip route" it should have a via in the default entry. Your default
route is not set or your interface is down. If you are using DHCP, possible it isn't giving you the right gateway. I don't care about tethered, obivoulsy 192.168.1.1 is working fine. Try "route -n" and "ifconfig" |
Results of route -n and ifconfig
Quote:
Quote:
|
All times are GMT -5. The time now is 09:44 AM. |