You are not logged in.

#1 2015-09-05 18:40:04

pocahontius
Member
Registered: 2015-08-23
Posts: 13

Getting wired and wireless network to run side by side

Hello,

I'm using a MacBookPro11,3 which uses Broadcom Interfaces for wired and wireless networking. I have set up wired networking via dhcpcd and it works. With this connection I tried to get wireless networking to run:

$ curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/broadcom-wl.tar.gz (The adress from the guide does not work any more...)
$ tar -zxvf broadcom-wl.tar.gz
$ cd broadcom-wl
$ makepkg -s

# pacman -U broadcom-wl-<version>-x86_64.pkg.tar.xz
# modprobe wl
# pacman -S dialog wpa_supplicant
# reboot
# wifi-menu

After that, wired networking works, wireless networking does not work. A reboot does not help. I checked the system with the following commands from the Wireless networking Guide:

lspci -k                     --> OK
ip link                      --> OK
ip link set up wlp3s0 set up --> OK
dmesq | grep firmware        --> OK
dmesq | grep wl              --> OK

The directory /etc/netctl contains a profile. But netctl start <profile> gives me an error. Here is the output of netctl status <profile>

● netctl@wlp3s0\x2dJenss\x20WLAN\x2dNetzwerk.service - Networking for netctl profile wlp3s0-Jenss WLAN-Netzwerk
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sa 2015-09-05 20:18:30 CEST; 7min ago
     Docs: man:netctl.profile(5)
  Process: 795 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
 Main PID: 795 (code=exited, status=1/FAILURE)

Sep 05 20:18:30 macbookpro systemd[1]: Starting Networking for netctl profile wlp3s0-Jenss WLAN-Netzwerk...
Sep 05 20:18:30 macbookpro network[795]: Starting network profile 'wlp3s0-Jenss WLAN-Netzwerk'...
Sep 05 20:18:30 macbookpro network[795]: The interface of network profile 'wlp3s0-Jenss WLAN-Netzwerk' is already up
Sep 05 20:18:30 macbookpro systemd[1]: netctl@wlp3s0\x2dJenss\x20WLAN\x2dNetzwerk.service: Main process exited, code=exited, status=1/FAILURE
Sep 05 20:18:30 macbookpro systemd[1]: Failed to start Networking for netctl profile wlp3s0-Jenss WLAN-Netzwerk.
Sep 05 20:18:30 macbookpro systemd[1]: netctl@wlp3s0\x2dJenss\x20WLAN\x2dNetzwerk.service: Unit entered failed state.
Sep 05 20:18:30 macbookpro systemd[1]: netctl@wlp3s0\x2dJenss\x20WLAN\x2dNetzwerk.service: Failed with result 'exit-code'.

Can anyone give me a hint? I'm new to archlinux. Thanks a lot!

Greetings
Jens

Offline

#2 2015-09-05 18:51:08

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

Re: Getting wired and wireless network to run side by side

pocahontius wrote:
lspci -k                     --> OK
ip link                      --> OK
ip link set up wlp3s0 set up --> OK
dmesq | grep firmware        --> OK
dmesq | grep wl              --> OK

What does "OK" mean?
https://bbs.archlinux.org/viewtopic.php?id=57855

pocahontius wrote:
Sep 05 20:18:30 macbookpro network[795]: The interface of network profile 'wlp3s0-Jenss WLAN-Netzwerk' is already up
# ip l set wlp3s0 down

Then try again.
https://wiki.archlinux.org/index.php/Ne … ice_failed


Jin, Jîyan, Azadî

Offline

#3 2015-09-06 05:18:02

pocahontius
Member
Registered: 2015-08-23
Posts: 13

Re: Getting wired and wireless network to run side by side

Hello,

I followed the wireless networking guide in the wiki. There is a bunch of commands to check if the driver is correctly installed, if I got this right. I checked everything with these five commands and the result was as expected by the guide. OK should mean that the driver seems to work correctly. I wanted to save some space here, because I was sure by myself.

The "ip link set wlp3s0 down" followed by a "netctl start <profile>" and "netctl enable <profile>" worked. Thanks a lot!

I now need to get the automatic switching of profiles and the switching between wired and wireless networking to work. The following commands throw errors:

-> As described in the guide, I disabled my profile first: netctl disable <profile>
netctl start netctl-ifplugd@wlp3s0.service
netctl start netctl-auto@wlp3s0.service

But I need some time to analyze and copy the errors first. For me it seems, that this should not work, because I'm using netctl for wireless networking and dhcpcd for wired networking. Am I right? I would expect, that I should use netctl for both of them or something like that.

Greetings
Jens

Offline

#4 2015-09-06 11:02:23

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

Re: Getting wired and wireless network to run side by side

pocahontius wrote:

I'm using netctl for wireless networking and dhcpcd for wired networking. Am I right?

I dunno, check with:

ls -l /etc/systemd/system/multi-user.target.wants

For a wired connection, all that is needed is to assign IP addresses (gateway, default route, etc) and dhcpcd(@$INTERFACE) will do this nicely.

You have missed my point regarding command output -- please post the *full* output from commands rather than your interpretation of them (as explained in my link).

If you consider your problem to be resolved, please add "[SOLVED]" to the thread title for the benefit of others.


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB