You are not logged in.

#1 2014-01-04 18:25:04

Sovsemdniwe
Member
Registered: 2013-04-11
Posts: 8

Can't set up Wi-fi connection

Hello!
My Wi-Fi interface enp7s0 doesn't set up after this:

 ip link set enp7s0 up

Output of ip link:

 [mls@lsm-laptop ~]$ ip link
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: enp12s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether 70:5a:b6:7e:7d:9e brd ff:ff:ff:ff:ff:ff
3: enp7s0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether b4:82:fe:14:15:9d brd ff:ff:ff:ff:ff:ff

Output of dmesg:

[mls@lsm-laptop ~]$ dmesg | tail -n 5
[ 2465.065648] r8180: Bringing up iface
[ 2465.265726] r8180: Card successfully reset
[ 2466.013065] r8180: WIRELESS_MODE_G

[ 2466.030226] IPv6: ADDRCONF(NETDEV_UP): enp7s0: link is not ready

What should I do?

Offline

#2 2014-01-04 18:28:26

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Can't set up Wi-fi connection

because that's not recognized as a wifi interface. If it starts with 'en', that's ethernet.

Last edited by Scimmia (2014-01-04 18:29:23)

Offline

#3 2014-01-04 18:35:07

Sovsemdniwe
Member
Registered: 2013-04-11
Posts: 8

Re: Can't set up Wi-fi connection

Scimmia wrote:

because that's not recognized as a wifi interface. If it starts with 'en', that's ethernet.

No, enp7s0 is a name of wifi interface because after these steps the interface becomes named as wlan0:

[mls@lsm-laptop ~]$ sudo modprobe -r r8187se
[mls@lsm-laptop ~]$ sudo modprobe  r8187se
[mls@lsm-laptop ~]$ ip link
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: enp12s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether 70:5a:b6:7e:7d:9e brd ff:ff:ff:ff:ff:ff
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether b4:82:fe:14:15:9d brd ff:ff:ff:ff:ff:ff
 

But the problem is still unsolved

[mls@lsm-laptop ~]$ sudo ip link set wlan0 up
[mls@lsm-laptop ~]$ ip link
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: enp12s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether 70:5a:b6:7e:7d:9e brd ff:ff:ff:ff:ff:ff
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether b4:82:fe:14:15:9d brd ff:ff:ff:ff:ff:ff

And iwconfig says:

[mls@lsm-laptop ~]$ iwconfig
lo        no wireless extensions.

wlan0     802.11b/g  Mode:Managed  Frequency=2.422 GHz  
          Access Point: Not-Associated   Bit Rate:11 Mb/s   
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

enp12s0   no wireless extensions.

Last edited by Sovsemdniwe (2014-01-04 18:38:22)

Offline

#4 2014-01-04 19:23:00

caltac
Member
Registered: 2012-11-27
Posts: 22

Re: Can't set up Wi-fi connection

Just using

[mls@lsm-laptop ~]$ sudo ip link set wlan0 up

won't connect you to a wireless network automatically (I'm fairly certain...). On my laptop, after using ip link to set up the wireless interface I use wifi-menu to connect to a network.

For example, in your case you would run

sudo wifi-menu wlan0

and that would bring up a menu for you to select a network and enter its password.

Offline

#5 2014-01-04 20:56:36

Sovsemdniwe
Member
Registered: 2013-04-11
Posts: 8

Re: Can't set up Wi-fi connection

caltac wrote:

Just using

[mls@lsm-laptop ~]$ sudo ip link set wlan0 up

won't connect you to a wireless network automatically (I'm fairly certain...). On my laptop, after using ip link to set up the wireless interface I use wifi-menu to connect to a network.

For example, in your case you would run

sudo wifi-menu wlan0

and that would bring up a menu for you to select a network and enter its password.

Oh, if it was so easy... but wifi-menu doesn't work too and I've never seen how it worked during 3 years of using various Linux distributions(but my Wi-fi worked earlier).

[mls@lsm-laptop ~]$ sudo wifi-menu wlan0
Scanning for networks... failed
No networks found

Offline

#6 2014-01-04 22:19:20

caltac
Member
Registered: 2012-11-27
Posts: 22

Re: Can't set up Wi-fi connection

Have you tried setting up a connection manually using netctl, wpa_supplicant, etc....

Last edited by caltac (2014-01-04 22:19:45)

Offline

#7 2014-01-05 03:21:02

jantar
Member
Registered: 2013-06-29
Posts: 7

Re: Can't set up Wi-fi connection

[mls@lsm-laptop ~]$ sudo wifi-menu wlan0
Scanning for networks... failed
No networks found

I had the same symptoms.  Solution was: 

 pacman -S crda 

https://bbs.archlinux.org/viewtopic.php?id=165990

Last edited by jantar (2014-01-05 03:22:48)

Offline

#8 2014-01-05 16:56:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Can't set up Wi-fi connection

Sovsemdniwe,
As a sanity check, what happens if you do a iw wlan0 scan
?
Does it see an access points?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB