Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to get wpa_supplicant to run at boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
austinramsay
n00b
n00b


Joined: 25 Oct 2010
Posts: 29

PostPosted: Mon Oct 28, 2013 3:34 pm    Post subject: How to get wpa_supplicant to run at boot Reply with quote

I can manually connect with wpa_supplicant -Dnl80211 -iwlp8s0 -c/etc/wpa_supplicant/wpa_supplicant.conf and then set my ip manually to 192.168.0.101 with ifconfig, then set my default route with route add default gw 192.168.0.1 (my routers ip) and i get a connection. But i want to do all of this manually. How do i get wpa_supplicant to run at boot? Do i need to emerge a dhcp client (dhcpcd) also if i want to use dhcp to connect on boot? How do i set that up?
Back to top
View user's profile Send private message
nemectic
Apprentice
Apprentice


Joined: 20 Aug 2004
Posts: 181

PostPosted: Mon Oct 28, 2013 5:59 pm    Post subject: Reply with quote

Code:
emerge dhcpcd
rc-update add wpa_supplicant dhcpcd default
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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