Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network configuring 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
CarterCox
n00b
n00b


Joined: 28 Jan 2018
Posts: 34

PostPosted: Sun Jan 28, 2018 8:44 pm    Post subject: Network configuring issue Reply with quote

Hello! I've been following the handbook and I've run into some trouble. I just configured the fstab file and my hostname and I don't need DNS or NIS, So I just skipped to "Configuring the network".

I installed "netifrc" and configured the "/etc/conf.d/net" file as follows:

Code:
# config_wlp2s0="dhcp"


Now I run (wlp2s0 is the one I've been using during the installation):

Code:
# cf /etc/init.d
# ln -s net.wlp2s0
# rc-update add net.wlp2s0 default
* rc-update: sevice 'net.wlp2s0 does not exist


I am using a custom kernel configuration, I don't know if that's important. I've been following the handbook perfectly without errors. Any ideas what might be causing this?

Thanks in advance.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43223
Location: 56N 3W

PostPosted: Sun Jan 28, 2018 8:52 pm    Post subject: Reply with quote

CarterCox,

Welcome to Gentoo.

Code:
rc-update: sevice 'net.wlp2s0 does not exist
Tells that you skipped a step.
In /etc/init.d/ the only network interface is net.lo.
You need to add a symlink there for net.wlp2s0 that points to net.lo

Is wlp2s0 the correct name for your WiFi interface?
dmesg will show it being renamed from the kernel assigned wlanX
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
CarterCox
n00b
n00b


Joined: 28 Jan 2018
Posts: 34

PostPosted: Sun Jan 28, 2018 8:56 pm    Post subject: Reply with quote

But I did do it when I ran

Code:
# ln -s net.wlp2s0


And I checked the names with "ifconfig"

When I run "ls" I can see the entry "net.wlp2s0" in the list.

Thanks for the answer!

Edit: The link has to point to something. My bad. Thanks!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43223
Location: 56N 3W

PostPosted: Sun Jan 28, 2018 9:13 pm    Post subject: Reply with quote

CarterCox,

Code:
ln -s net.wlp2s0
is only half a command.

Its
Code:
ln -s <real_name> <symbolic_name>

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
CarterCox
n00b
n00b


Joined: 28 Jan 2018
Posts: 34

PostPosted: Mon Jan 29, 2018 2:29 am    Post subject: Reply with quote

NeddySeagoon wrote:
CarterCox,

Code:
ln -s net.wlp2s0
is only half a command.

Its
Code:
ln -s <real_name> <symbolic_name>


Yes! Solved it! Thanks.
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