You are not logged in.

#1 2014-05-04 20:35:24

moneytoo
Member
From: Czech Republic
Registered: 2012-04-04
Posts: 20

[SOLVED] wifi-menu doesn't work when interface is already UP (guide)

If I follow the Beginners' guide to a letter when connecting using wifi (https://wiki.archlinux.org/index.php/be … e#Wireless) it just won't work. It works fine if I do not set interface wlp2s0 UP. It also works if I set UP the interface and run 'iwconfig wlp2s0 essid "adsl" && dhcpcd wlp2s0' (I'm connecting to open network). However it just doesn't work if I follow the guide.
I'm using laptop Lenovo X201i (Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)).

# iw dev
phy#0
	Interface wlp2s0
		ifindex 3
		wdev 0x1
		addr 00:27:10:db:ac:24
		type managed 
# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether f0:de:f1:22:2a:2d brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:27:10:db:ac:24 brd ff:ff:ff:ff:ff:ff 
# ip link set wlp2s0 up
# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether f0:de:f1:22:2a:2d brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:27:10:db:ac:24 brd ff:ff:ff:ff:ff:ff 
# wifi-menu wlp2s0

Meanwhile:

# journalctl -f
May 04 22:15:54 archiso kernel: iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
May 04 22:15:54 archiso kernel: iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
May 04 22:15:54 archiso kernel: iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
May 04 22:15:54 archiso kernel: iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
May 04 22:15:54 archiso kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
May 04 22:16:34 archiso systemd[1]: Stopped Networking for netctl profile wlp2s0-adsl.
May 04 22:16:34 archiso systemd[1]: Starting system-netctl.slice.
May 04 22:16:34 archiso systemd[1]: Created slice system-netctl.slice.
May 04 22:16:34 archiso systemd[1]: Starting Networking for netctl profile wlp2s0-adsl...
May 04 22:16:34 archiso network[611]: Starting network profile 'wlp2s0-adsl'...
May 04 22:16:34 archiso network[611]: The interface of network profile 'wlp2s0-adsl' is already up
May 04 22:16:34 archiso systemd[1]: netctl@wlp2s0\x2dadsl.service: main process exited, code=exited, status=1/FAILURE
May 04 22:16:34 archiso systemd[1]: Failed to start Networking for netctl profile wlp2s0-adsl.
May 04 22:16:34 archiso systemd[1]: Unit netctl@wlp2s0\x2dadsl.service entered failed state.

Can anyone confirm or is this some specific issue/case?

EDIT: I see that the wiki has been updated and fixed by Kynikos.

Last edited by moneytoo (2014-05-08 23:51:07)

Offline

Board footer

Powered by FluxBB