You are not logged in.

#1 2014-04-27 20:12:06

Redostrike
Member
Registered: 2010-02-07
Posts: 37

[Solved] Setting up wifi at boot

Been messing around with my wifi on my laptop a few hours now. I have a bcm4312 and with some trial and error i got it to work. Reading forum posts and trying some stuff out on my own i found out that i'm able to connect to my wifi. The problem is when i boot up my computer i need to do a few steps before i connect.

ip link set wlan0 up
wpa_supplicant -i wlan0 c /etc/wpa_supplicant/wpa_supplicant.conf 

wifi-menu is not working for me it scans but can't connect to my home network. I want these steps to be automatic so i'm connected to my network as i start my computer. Also can i just add more network to my wpa_supplicant.conf for connection at work?

Thanks.

Last edited by Redostrike (2014-04-27 21:29:52)

Offline

#2 2014-04-27 20:33:11

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: [Solved] Setting up wifi at boot

Offline

#3 2014-04-27 20:50:23

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: [Solved] Setting up wifi at boot

Wifi-menu is the frontend for netctl...
I think the problem lies in your network interface not being renamed before your networking service starts --- have a look at this thread...
wink


Jin, Jîyan, Azadî

Offline

#4 2014-04-27 21:29:24

Redostrike
Member
Registered: 2010-02-07
Posts: 37

Re: [Solved] Setting up wifi at boot

Well it seems that following a few more steps in wpa_supplicant conf did the trick.

https://wiki.archlinux.org/index.php/WP … ng_wpa_cli

Adding the code:

ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel
update_config=1

to wpa_supplicant.conf did the trick.

Still got a few error messages at boot frome netctl-auto but removed those with:

systemctl disable netctl-auto@wlan0.service
systemctl disable netctl@my-network.service

Thanks for pointing me in the right direction guys.

Next stop Xorg (X11) and video drivers smile

Last edited by Redostrike (2014-04-27 21:32:01)

Offline

Board footer

Powered by FluxBB