Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Having Difficulty With Network Configuration (symlink issue)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
bendurham441
n00b
n00b


Joined: 28 Jan 2017
Posts: 5

PostPosted: Sat Jan 28, 2017 10:25 pm    Post subject: Having Difficulty With Network Configuration (symlink issue) Reply with quote

I am installing gentoo for my first time and I have encountered an issue. I am currently at the heading "Automatically start networking at boot." I follow the directions there, but the rc-update doesn't work. To be specific, it outputs this:

Code:

 * rc-update: service `net.enp4s0` does not exist


Upon further inspection, the symbolic link ( net.enp4s0 ) wasn't made correctly. When I "ls", said link is highlighted in red. When I pipe it into less, I get the following:

Code:

cat: net.enp4s0: Too many levels of symbolic links


How would I go about fixing this? Thank you in advance for any help.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13867

PostPosted: Sat Jan 28, 2017 11:54 pm    Post subject: Reply with quote

That looks like you may have made it a symlink to itself, rather than a symlink to the file net.lo. Due to the oddities of how ln -s works, this mistake is fairly easy to make. You probably ran ln -s linkname, which ln interpreted as ln -s linkname linkname. If you post the output of ls -l /etc/init.d/ we can confirm this. You probably need to delete the symlink and create a replacement with a target of net.lo: ln -s target linkname, so ln -s net.lo net.enp4s0.
Back to top
View user's profile Send private message
bendurham441
n00b
n00b


Joined: 28 Jan 2017
Posts: 5

PostPosted: Sat Jan 28, 2017 11:59 pm    Post subject: Reply with quote

That did it! Thank you for pointing me in the right direction. I look forward to becoming more involved in the Gentoo community :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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