User avatar
cpcnw
Posts: 65
Joined: Thu Jan 05, 2012 5:36 pm
Location: NW UK
Contact: Website

WiFi on Pi3 / Arch [FIXED]

Thu Jun 02, 2016 11:50 am

Just got my Pi3 and installed Arch according to the instructions at the ArchLinuxArm site.

Can anyone point me in the direction of the steps required for setting up a WiFi connection and making this the default?

Tia!

Ed: Just found this: http://raspberrypi.stackexchange.com/qu ... -linux-arm

Will give it a shot after work :)
Last edited by cpcnw on Thu Jun 02, 2016 9:30 pm, edited 1 time in total.
If you don't know what you want, you end up with a lot you don't!

User avatar
cpcnw
Posts: 65
Joined: Thu Jan 05, 2012 5:36 pm
Location: NW UK
Contact: Website

Re: WiFi on Pi3 / Arch

Thu Jun 02, 2016 9:29 pm

OK this is what I got up to;

1) Copied over the example

Code: Select all

/etc/netctl/ # install -m640 examples/wireless-wpa mywifi
2) I edited the profile 'mywifi' with my SSID and WiFi Key

Code: Select all

# nano /etc/netctl/mywifi
3) Shutdown wlan0 I/F as next step fails otherwise

Code: Select all

# ifconfig wlan0 down
4) Start wlan with mywifi profile

Code: Select all

# netctl start mywifi
5) Made this profile default at boot

Code: Select all

# netctl enable mywifi
This all works and I have a connection :D - however... looking through dmesg and journalctl I can see a few error messages - whilst the connection works I'd like to clear these up. Picking out just the items relating to WiFi...

Code: Select all

Feb 22 14:40:18 alarmpi3 systemd-rfkill[253]: Failed to parse state file /var/lib/systemd/rfkill/platform-3f300000.mmc:wlan: Invalid argument
brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
brcmfmac: brcmf_add_if: ignore IF event
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
brcmfmac: power management disabled
brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
brcmfmac: brcmf_add_if: ignore IF event
network[269]: Could not read interface p2p-dev-wlan0 flags: No such device
brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
If you don't know what you want, you end up with a lot you don't!

User avatar
cpcnw
Posts: 65
Joined: Thu Jan 05, 2012 5:36 pm
Location: NW UK
Contact: Website

Re: WiFi on Pi3 / Arch [FIXED]

Fri Jun 03, 2016 9:08 pm

What's worse than error messages in log files is error messages that spew out across your terminal session?

I was getting regular two blocks of messages which included the line
Regulatory domain changed to country CH
I tried un-commenting my country 'GB' in /etc/conf.d/wireless-regdom but it made no difference.

After googling myself dizzy in circles I eventually removed 'crda' :o

My connection still works and the above has gotten rid of the frequent output

I still get the very seldom message about sequence numbers and the logs still do have various messages as per previous post but at least my wifi connection works
If you don't know what you want, you end up with a lot you don't!

Return to “Arch”