Cannot get a network in Linux (Ubuntu) after using Windows 10

When I say I can't get a network, I mean that my Linux OS can't see any external hardware, including the router. And of course, I can't get the Internet. When in W10 (as I am now), I checked the router "config pages" and I noticed that it has two different IP addresses - one to the W10 hostname and one the Linux hostname, on the same machine. Any ideas?

For the record, I am using Ubuntu Studio 22.04 -------- Original Message -------- Subject: Cannot get a network in Linux (Ubuntu) after using Windows 10 Date: 2022-12-17 15:14 From: sciguy <sciguy@vex.net> To: TLUG List <talk@gtalug.org>, Ubuntu Studio <ubuntu-studio-users@lists.ubuntu.com> When I say I can't get a network, I mean that my Linux OS can't see any external hardware, including the router. And of course, I can't get the Internet. When in W10 (as I am now), I checked the router "config pages" and I noticed that it has two different IP addresses - one to the W10 hostname and one the Linux hostname, on the same machine. Any ideas?

sciguy via talk wrote on 2022-12-17 12:14:
When I say I can't get a network, I mean that my Linux OS can't see any external hardware, including the router. And of course, I can't get the Internet.
When in W10 (as I am now), I checked the router "config pages" and I noticed that it has two different IP addresses - one to the W10 hostname and one the Linux hostname, on the same machine.
Any ideas?
Sounds like Windows & Linux are using different host names as part of their dhcp client requests, I suspect. Hence the different IP addrs. Is there any IP bound to the NIC in Linux?
ip addr show
Is the link "up"?
ip link show
If both seem valid, perhaps re-fetching an IP from the router:
dhclient -r [iface_name] dhclient -v [iface_name]
Those are just a couple thoughts off the top of my head, but maybe enough to get you on the right track. Good luck! rb

On 17/12/2022 15:22, BCLUG via talk wrote:
sciguy via talk wrote on 2022-12-17 12:14:
When I say I can't get a network, I mean that my Linux OS can't see any external hardware, including the router. And of course, I can't get the Internet.
When in W10 (as I am now), I checked the router "config pages" and I noticed that it has two different IP addresses - one to the W10 hostname and one the Linux hostname, on the same machine.
Any ideas? d of
Sounds like Windows & Linux are using different host names as part of their dhcp client requests, I suspect. Hence the different IP addrs.
Is there any IP bound to the NIC in Linux?
Kind of normal, probably your DHCP server tracks something about de identity of the leasee (I cannot comment much as I do not know much about the setup; but I see this duality often for dual boot systems) Another thing to pay attention to is routing. Linux is a weak host (https://en.wikipedia.org/wiki/Host_model), unlike (most of the) Windows. If your Linux has multiple NICs on the same subnet, you will notice it. -- This email has been checked for viruses by Avast antivirus software. www.avast.com

On Sat, Dec 17, 2022 at 03:14:00PM -0500, sciguy via talk wrote:
When I say I can't get a network, I mean that my Linux OS can't see any external hardware, including the router. And of course, I can't get the Internet.
When in W10 (as I am now), I checked the router "config pages" and I noticed that it has two different IP addresses - one to the W10 hostname and one the Linux hostname, on the same machine.
Any ideas?
I do remember reading about issues where the driver in windows would leave the hardware in a weird state when shutting down windows and the linux driver wouldn't know how to bring the hardware up again. Sometimes doing a power off and on before booting linux would fix it. The two different IPs is likely just the difference in DHCP request as others have said and probably has nothing to do with it. -- Len Sorensen
participants (4)
-
Aurelian Melinte
-
BCLUG
-
Lennart Sorensen
-
sciguy