View previous topic :: View next topic |
Author |
Message |
therealjrd Tux's lil' helper
Joined: 18 May 2006 Posts: 120
|
Posted: Tue Dec 09, 2014 5:45 pm Post subject: Udev vs network interfaces [SOLVED] |
|
|
Apologies if this is an FAQ or otherwise covered; I searched around a while and didn't find anything quite on topic.
Is there a way in modern udev to say "just bring up everything that looks like a network interface"? I surmise that there is, because during recent installations with livecds, I'll boot on a box which has a couple of wired interfaces and a wifi interface, and when my livecd boots, there they all are. But after I get my system configured, only the ones for which I created symlinks in /etc/init.d are actually present.
How can I get the system to bring them all up by default, and let me refine the list if I care to?
Thanks in advance . . .
Last edited by therealjrd on Fri Dec 12, 2014 11:37 pm; edited 1 time in total |
|
Back to top |
|
|
WWWW Tux's lil' helper
Joined: 30 Nov 2014 Posts: 143
|
Posted: Tue Dec 09, 2014 9:10 pm Post subject: |
|
|
Missing kernel modules for your cards?
Also not enough info in your post, the following outputs could help:
Code: |
lspci
dmesg | grep net
lsusb (in case of a usb net device)
ifconfig -a
openrc version
udev version
eudev version (in case you use it)
|
Reading more closely you post it's not clear what you mean.
I your system they are all there, ifconfig -a but don't show in ifconfig?
And by "bring them all up by default" do you mean ALL up with ip, netmask, broadcast? Or simply to show as activated ifconfig ethX up?
I believe there's no such a behaviour in Gentoo, that would be a sweeping "default".
LiveCD's networking is configured so it's not a default.
Anyways, if you can clarify what do you mean by being 'present' it would help. |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Tue Dec 09, 2014 9:28 pm Post subject: |
|
|
Hello,
Just start the dhcpcd service, and it will do the job. _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
therealjrd Tux's lil' helper
Joined: 18 May 2006 Posts: 120
|
Posted: Fri Dec 12, 2014 11:36 pm Post subject: |
|
|
xaviermiller wrote: | Hello,
Just start the dhcpcd service, and it will do the job. |
Son of a gun! That does it. Many thanks!
So the next question is, how does dhcpcd know? Maybe it's time to do some code perusing…
Thanks again. |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
|
Back to top |
|
|
|