You are not logged in.
I have TP-Link TL-WN722N. I am unable to set the wifi interface up.
[thyrst@melone ~]$ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp0s20u5: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 98:de:d0:1c:90:27 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[thyrst@melone ~]$ sudo ip link set wlp0s20u5 up
[thyrst@melone ~]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 54:ee:75:98:6d:23 brd ff:ff:ff:ff:ff:ff
3: wlp0s20u5: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 98:de:d0:1c:90:27 brd ff:ff:ff:ff:ff:ff
Wifi-menu shows me all my wifi spots and let me "connect". However the Internet is no available and netctl is unable to start a service.
[thyrst@melone ~]$ ping google.com
ping: google.com: Name or service not known
[thyrst@melone ~]$ ping 192.0.0.1 # router
connect: Network is unreachable
[thyrst@melone ~]$ sudo netctl is-enabled wlp0s20u5-Homewifi2
enabled
[thyrst@melone ~]$ sudo netctl is-active wlp0s20u5-Homewifi2
failed
[thyrst@melone ~]$ sudo netctl start wlp0s20u5-Homewifi2
Job for netctl@wlp0s20u5\x2dHomewifi2.service failed because the control process exited with error code.
See "systemctl status "netctl@wlp0s20u5\\x2dHomewifi2.service"" and "journalctl -xe" for details.
Output of `journalctl -xe`:
Feb 03 11:59:19 melone systemd[1]: Starting Automatically generated profile by wifi-menu...
-- Subject: Unit netctl@wlp0s20u5\x2dHomewifi2.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit netctl@wlp0s20u5\x2dHomewifi2.service has begun starting up.
Feb 03 11:59:19 melone network[2056]: Starting network profile 'wlp0s20u5-Homewifi2'...
Feb 03 11:59:19 melone network[2056]: The interface of network profile 'wlp0s20u5-Homewifi2' is already up
Feb 03 11:59:19 melone systemd[1]: netctl@wlp0s20u5\x2dHomewifi2.service: Main process exited, code=exited, status=1/FAILURE
Feb 03 11:59:19 melone systemd[1]: Failed to start Automatically generated profile by wifi-menu.
-- Subject: Unit netctl@wlp0s20u5\x2dHomewifi2.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit netctl@wlp0s20u5\x2dHomewifi2.service has failed.
--
-- The result is failed.
Feb 03 11:59:19 melone systemd[1]: netctl@wlp0s20u5\x2dHomewifi2.service: Unit entered failed state.
Feb 03 11:59:19 melone systemd[1]: netctl@wlp0s20u5\x2dHomewifi2.service: Failed with result 'exit-code'.
Feb 03 11:59:19 melone sudo[2049]: pam_unix(sudo:session): session closed for user root
Last edited by Thyrst (2017-02-03 12:01:30)
Offline
Tried manually setup connection:
[thyrst@melone ~]$ sudo wpa_supplicant -Dwext -i wlp0s20u5 -c /etc/wpa_supplicant.conf &
[thyrst@melone ~]$ sudo dhcpcd wlp0s20u5
Works. So, the problem was in wifi-menu.
Offline