Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Udev vs network interfaces [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
therealjrd
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2006
Posts: 120

PostPosted: Tue Dec 09, 2014 5:45 pm    Post subject: Udev vs network interfaces [SOLVED] Reply with quote

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
View user's profile Send private message
WWWW
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2014
Posts: 143

PostPosted: Tue Dec 09, 2014 9:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Tue Dec 09, 2014 9:28 pm    Post subject: Reply with quote

Hello,

Just start the dhcpcd service, and it will do the job.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
therealjrd
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2006
Posts: 120

PostPosted: Fri Dec 12, 2014 11:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Sat Dec 13, 2014 6:55 am    Post subject: Reply with quote

therealjrd wrote:
So the next question is, how does dhcpcd know? Maybe it's time to do some code perusing…
Short version: https://wiki.gentoo.org/wiki/Dhcpcd
Long version: https://forums.gentoo.org/viewtopic-t-965190.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum