You are not logged in.

#1 2017-11-19 09:37:09

d44869
Member
Registered: 2017-11-19
Posts: 1

netctl: wifi-connection-problem with two wireless adapters

Good morning All,

I have issues getting both of my wireless adapters up an running using netctl on a clean cli-only Arch install.

Setting:
- most recent Arch binaries, installation closely followed newbie guide, all went according to plan
- 2x wifi nic, 1x copper nic
- minimal install [cli only] with wpa_supplicant, wifi-menu, dialog

Situation:
- each nic is present [appropriate kernel module loaded] and works ok in principle
- wifi nics do work perfectly when manually connecting to my router [by means of "iw dev scan", "wpa_passphrase ssid password", "wpa_supplicant -B -i interface -c /path/to/wpa.conf"] and both [even all three] nics can be used in parallel
- generated config for netctl using "wifi-menu -o" and adjusted it
- starting profiles results in only one wifi-nic working at a time, no matter if started at boot time or during run time. Errmsg issued according to systemctl -> timeout during communication with router, dchp requests of client remain unanswered.

Does anyone have a clue or a stable alternative?

Thank you, best regards,
Marc

Offline

#2 2017-11-19 17:47:24

GenkiSky
Member
From: This account is henceforth dis
Registered: 2017-04-04
Posts: 82

Re: netctl: wifi-connection-problem with two wireless adapters

Hmm, not immediately sure what's wrong with netctl. But instead of first trying to debug that, and because it seems you are a fan of "minimal" installs, I'll bite on "Does anyone have a ... stable alternative?". You could try uninstalling netctl and just using wpa_supplicant and systemd-networkd (included in systemd installation).

See their respective wiki pages for more information, but the high level idea is that you would put XX-wired.network, YY-$intf0.network, and ZZ-$intf1.network config files in /etc/systemd/network/ . Then you would put wpa_supplicant-$intf0.conf and wpa_supplicant-$intf1.conf inside /etc/wpa_supplicant/. Then you would enable --now systemd-networkd systemd-resolved wpa_supplicant@$intf0 wpa_supplicant@$intf1 .

This should just work, and all NICs should be usable. Then for all tasks that you would previously use wifi-menu and netctl, you would use wpa_cli. For example, to change a network on a given intf, you would run wpa_cli -i $intf list_networks and wpa_cli -i $intf select_network <network>. To scan for networks, just use scan. Etc.

Well, if you are set on trying to make netctl work, my first question would be: It seems wifi-menu has an optional INTERFACE arg. Perhaps you need to run it twice, once for each interface?

Last edited by GenkiSky (2017-11-19 17:55:45)

Offline

Board footer

Powered by FluxBB