You are not logged in.

#1 2013-12-30 04:21:37

sadasant
Member
Registered: 2013-12-30
Posts: 5

[Solved] Unable to connect to WIFI / Unstable WIFI

Hello! Thanks for your time,

I'm trying to set up the wireless network of an HP Spectre XT Ultrabook 13-2150nr, but I haven't been able; as soon as I get in the system, I check which interfaces are detected:

$ ip link
8: wlo1: <NO-CARRIER,BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000

I find weird that it says NO-CARRIER, but anyway I try to bring up the interface with:

$ ip link set wlo1 up
$ ip link
8: wlo1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000

Then I try to scan with:

 $ iw dev wlo1 scan 

And the output is clear, it detects the essid I want to connect, etc.

The ESSID happens to be a WEP so, then I try to connect to it with:

 $ iw dev wlo1 connect MYESSID key 0:v1234 

(v1234 being the passphrase), and then

 $ dhcpcd wlo1 

but it fails after some time.

The only way I could connect is by first:

modprobe -r iwldv
modprobe iwlwifi

And then bringing up wicd and connecting to the previous essid, I could ping and browse the internet, but it disconnects after a little while.

Some other system info:

$ lspci -k
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6235 (rev 24)
        Subsystem: Intel Corporation Centrino Advanced-N 6235 AGN
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
$ dmesg
...
[    2.872773] Intel(R) Wireless WiFi driver for Linux, in-tree:
[    2.872777] Copyright(c) 2003-2013 Intel Corporation
[    2.873174] iwlwifi 0000:02:00.0: irq 48 for MSI/MSI-X
[    2.873770] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input4
[    2.878606] iwlwifi 0000:02:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
[    2.903246] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[    2.903250] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[    2.903253] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[    2.903255] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TESTMODE disabled
[    2.903257] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_P2P disabled
[    2.903260] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6235 AGN, REV=0xB0
[    2.903374] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S

What could be happening? I really need to make the wifi work..

Thanks in advance.

Last edited by sadasant (2013-12-30 06:50:33)

Offline

#2 2013-12-30 04:38:06

cris9288
Member
Registered: 2013-01-07
Posts: 348

Re: [Solved] Unable to connect to WIFI / Unstable WIFI

so everything is fine until you get to the dhcpcd command, which fails but you don't say why it fails. I think that's pretty key to figuring out what the problem is. Try increasing dhcpcd's timeout value with the -t switch (30 seconds should be enough). If dhcpcd doesn't work, try dhclient - you'll probably have to download it to a usb key and then manually install it.

Offline

#3 2013-12-30 04:50:37

sadasant
Member
Registered: 2013-12-30
Posts: 5

Re: [Solved] Unable to connect to WIFI / Unstable WIFI

Hello cris9288, dhcpcd effectivelly times out, I'll try to increase the timeout parammeter in some minutes, then I'll try with dhclient. Thanks in advance.

Offline

#4 2013-12-30 05:50:15

sadasant
Member
Registered: 2013-12-30
Posts: 5

Re: [Solved] Unable to connect to WIFI / Unstable WIFI

Changing the timeout to a greater number worked after I connected a first time with wicd, but network fails a little after, do you have any clue of why it's failing so much? It's stable for barely a couple of seconds before it becomes unreachable. Other devices work well with this network.

Offline

#5 2013-12-30 05:51:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Unable to connect to WIFI / Unstable WIFI

Are you running wicd and dhcpcd.service? That won't work.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2013-12-30 06:13:36

sadasant
Member
Registered: 2013-12-30
Posts: 5

Re: [Solved] Unable to connect to WIFI / Unstable WIFI

Not exactly, I call dhcpcd independently just to see if it works, but I haven't figured out a way to make it work without a previous call to wicd (it just keeps timing out). Also, I thought wicd used dhcpcd as an alternative dhcp client, but I'm not sure if this is relevant.

Offline

#7 2013-12-30 06:20:57

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Unable to connect to WIFI / Unstable WIFI

Wicd can use dhcpcd (you can change it under preferences) but if you have both running (ie., wicd and any other network service), it will fail.

FWIW, I have the same card, use wicd and have no issues whatsoever.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2013-12-30 06:44:06

sadasant
Member
Registered: 2013-12-30
Posts: 5

Re: [Solved] Unable to connect to WIFI / Unstable WIFI

Hey, thank you! I'm following the wicd wiki guide and it seems to be working alright smile I think this is done, do you have any recommendation?

Offline

#9 2013-12-30 06:45:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Unable to connect to WIFI / Unstable WIFI

Just edit your first post and prepend [Solved] to the title. Glad you got it sorted.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB