I have a USB network card that sometimes doesn’t show in network manager after logging in on startup. Is there a command I can run to get Network Manager or the system to see and use it without having to reboot until it shows up?
lsusb brings up this line showing the adapter;
Bus 002 Device 003: ID 0424:7500 Microchip Technology, Inc. (formerly SMSC) LAN7500 Ethernet 10/100/1000 Adapter
Providing system info about your hardware by posting program output instead of describing your hardware.
Use new lines when a sentence ends, so it is better readable and followable by others.
Please read and follow all advice in this thread:
Especially:
If you are unable to boot into your system to provide the needed info, then use a Live-ISO image to boot from a USB-Stick…
Some commands as mentioned in the articles above are:
I simply asked if there was a command to get Network Manager to reload available interfaces, since it appears NM sometime starts before USBs are recognized by the system. I will see if this does the job the next time I boot up and the USB card isn’t available.
That command didn’t restart the network manager. Is anyone able to help with a command to restart it, as it infrequently loads before the USB NIC is seen?
I am unsure if this is possible, but how about a systemd-timer for NetworkManager.service to delay the service starting ? Or some mod to dbus-org.freedesktop.NetworkManager.service
There is also the following, though I have no idea if this is applicable to manjaro or if it would work. I would be very careful with this one and if you try it have a very good backup in place. Maybe somebody who knows will chime in here.
It seems to me that something else is not right about your system. You should not have to do all of this workaround stuff. Driver issue, maybe. You haven’t posted any system information to help with figuring out what the problem or solution might be.
It might turn out that the USB adapter is incompatible and a different adapter would be option with the least amount of headaches.
@TriMoon, it is the default network manager for the XFCE install and the terminal output said the service couldn’t be found. I honestly have no clue why you need hardware information in order to figure out what service is running in a default install. Guessing I’ll have to stick with rebooting when the issue occurs, since it is only once in every 15-20 startups.
I do appreciate your help/thoughts. @jrichard326 Sorry man. Going through the process of setting timers is a good idea and I might do that if a future update makes this a more repetitive occurrence.
To all, I apologize for not reading the linked URLs. I helped people on UF for more than ten years without ever saying “go read this, then come back” as I found it easier to just share the command to be run for getting the information.
You have to help people to help you…
No one is telepathic and none can read minds…
Anyhow, don’t mind me to exit and attend to topics where i can see info together with the problem without pulling single hairs to get what is needed to make a correct diagnosis…
It’s all good. I just wrote a script to restart the network manager on login. The hardware info wasn’t needed to find the command needed to add to the script.
But you and we could not know that.
One has to start somewhere …
Your script is also just working around the issue instead of addressing/solving the cause.
But if it works, it works …
Ever looked into power saving as the possible trigger?
No problem but in future:
If you know what info is needed or not then please don’t ask for help on the forum, because you obviously know better as the rest here how to solve your “problem”…