Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
You aren't getting a default route. If you use static file configuration then the default route is missing. If you use dhcp/automatic network configuration and a network manager, you might be overriding the route dhcp is giving you.
File configuration usually has a gateway entry. Network manager has an option to accept or change the default route given back by dhcp.
So that is the question, how are you configuring network parameters?
Last edited by elgrandeperro; 10-09-2022 at 01:40 AM.
* you haven't mentioned which linux distro - they each have custom hacks making whatever works on source install (or each other) not workable. If you are in a big distro it probably "works their way or no way at all" so seek their instruction - and note they ban people who say it isn't working.
* you haven't mentioned wpa-supplicant.conf
even if you can ping your (wifi enabled cable modem i assume) ...
you have to choose a network choice (in detected list), provide a (modem pin) , provide a password
It's a very typical question "i can ping my wifi modem but get nowhere" if you haven't yet logged in.
Obviously there are thousands of internet documents describing the above i shouldn't repeat here.
This looks like a misconfiguration issue.
The Archer C8 User Guide has an FAQ section with:
Quote:
Q5. What can I do if I cannot access the Internet even though the
configuration is finished?
that provides a test link.
The MX Linux Users Manual has Section 3.4 Network. It appears that the router is likely working correctly, but the gateway address is not being assigned. Right-click the Network Manager applet > Edit Connections to open up a Settings box. Check the WiFi connection settings, especially that the IPv4 Settings tab has Method: Automatic (DHCP) set.
Those NetworkManager settings seem to be correct, except that I also see boxes for Rate and Transmission power on my WiFi tab.
What is the wifi device in your G50-45? It should appear in the output of '/sbin/lspci | grep -i Network'.
Just ping 192.168.1.1 and do a nmci. By your previous debugging, it seems like the interface should work but not being to set the route seems to indicate that it is not. Reboot to clear the ifconfig counters and restart all networking. Something is very strange.
Running the "sudo route add default gw 192.168.1.1 wlan0" right after booting up fixed the problem. Before I had tethered to my phone and untethered but never rebooted so the network must have remembered. Will I have to make this command run at startup all the time or should I try adding it into the network manager GUI? Thank you for everyones help and patience.
Normally network manager and the dhcp client should create the route but I am not exactly sure what is not working at the moment. It works as expected when connected to the phone so there must be something not configured correctly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.