You are not logged in.

#1 2015-04-15 10:11:44

excentro
Member
Registered: 2015-04-15
Posts: 3

[SOLVED] Cannot make my wifi connection permanent

Hello Archers,

I have installed Arch Linux using the excellent Beginners' Guide and Installation Guide.

I use wpa2-psk and I can connect to my wifi without any problem using wifi-menu, but I am unable to set the wifi to start permanently at boot.

I have also tried using manual netctl profiles following these instructions:

Copy a network profile from /etc/netctl/examples to /etc/netctl:

# cd /etc/netctl
# cp examples/wireless-wpa my-network

       
Edit the profile as needed (modify Interface, ESSID and Key):

# nano my-network

Enable above created profile to start it at every boot:

# netctl enable my-network

I edited the profile:

..........................................................

Description='Home Network WPA encrypted wireless connection'
Interface=wlan0
Connection=wireless
Security=wpa
IP=dhcp
ESSID='my-network'
# Prepend hexadecimal keys with \"
# If your key starts with ", write it as '""<key>"'
# See also: the section on special quoting rules in netctl.profile(5)
Key='********************'
# Uncomment this if your ssid is hidden
#Hidden=yes

…............................................

Does the above only work for wpa or does it also work for wpa2-psk?

I am close to cracking it but I could do with a helping hand, please.

Last edited by excentro (2015-04-15 13:43:24)

Offline

#2 2015-04-15 12:27:35

dcdriving
Member
From: United Kingdom
Registered: 2015-01-20
Posts: 70

Re: [SOLVED] Cannot make my wifi connection permanent

Hi, what happens when you try to start the profile created by wifi-menu or whats the output when you check its status with netctl after you boot?  I am not saying I can give you any answers but I also had this problem with broadcom drivers where the profile needed to be restarted each boot as it always failed.  I tried lots of things to resolve it (and learned a bit about systemd in the process) but ended up just using NetworkManager instead!  Netctl works like a charm on my other laptop so I know it must be related to the hardware and had lots of problems with broadcom on other distros.

Offline

#3 2015-04-15 13:40:12

excentro
Member
Registered: 2015-04-15
Posts: 3

Re: [SOLVED] Cannot make my wifi connection permanent

dcdriving,

Thanks for your reply.

My laptop has an Intel PRO Wireless 3945ABG using the iwl3945 driver and modules, not Broadcom fortunately.

Your reply prompted me to find out the status with netctl.

Before I did that, something at the back of my mind told me to first click on my browser, just to confirm that I had no wifi connection.

I was amazed to find that I am now actually connected from boot.

I had rebooted previously without success, so I cannot explain it.

Thanks once again for your suggestion. I will mark this as solved.

**EDIT:

The above procedure was perfectly correct.

It just took a little while for a connection to be established.

I jumped the gun in trying to connect immediately!

Last edited by excentro (2015-04-16 07:28:12)

Offline

Board footer

Powered by FluxBB