SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-01-24 17:42:19

Jabroneous
#! CrunchBanger
Registered: 2011-11-26
Posts: 123

[Solved] Wicd can't obtain IP address of network after upgrade to sid

I'm typing this on a laptop connected to the network in question (which is only WEP anyway, not even WPA) on stable w/ backports, and I haven't had an issue, so I assume something involved with the upgrade has made it impossible to connect to the network.

lspci tells me it's an AR9285 PCI-E adapter, wext is the WPA supplicant driver (if that matters), and the settings are exactly the same on this computer, which has an Intel WiFi Link 5100.

Seems like I'm having a rough couple of days! But there's no hair-pull-out emoticon here! >_<

Anyway, thanks for your patience. This seems like the only thing left standing between me and my ideal system~

Last edited by Jabroneous (2012-01-25 21:03:51)

Offline

Be excellent to each other!

#2 2012-01-24 17:44:27

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,201

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

I'm not sure what the question is exactly, but...
did you try running

sudo nm-connection-editor

from terminal?


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#3 2012-01-24 17:48:55

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,654

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

^that's for network manager. Jabroneus, maybe you're not choosing the correct WEP option, there's hex and paraphrase.

Offline

#4 2012-01-24 17:49:16

Jabroneous
#! CrunchBanger
Registered: 2011-11-26
Posts: 123

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

el_koraco wrote:

^that's for network manager. Jabroneus, maybe you're not choosing the correct WEP option, there's hex and paraphrase.

Nope, it's on hex, as intended.

Offline

#5 2012-01-24 17:49:59

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

^^^ isn't that command a network-manager command? because the OP mentions Wicd in the thread title?
edit: el_koraco beat me to it smile

Offline

#6 2012-01-24 17:53:03

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,654

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

Well, let's try to connect you manually and see if it works.

sudo -i
service wicd stop
ip link set wlan0 down
ip link set wlan0 up
iwconfig essid YOURSSID
iwconfig key YOURKEY (in hex)

wait five seconds

dhclient wlan0

Offline

#7 2012-01-24 17:56:37

Jabroneous
#! CrunchBanger
Registered: 2011-11-26
Posts: 123

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

el_koraco wrote:

Well, let's try to connect you manually and see if it works.

sudo -i
service wicd stop
ip link set wlan0 down
ip link set wlan0 up
iwconfig essid YOURSSID
iwconfig key YOURKEY (in hex)

wait five seconds

dhclient wlan0

Are you sure that's the right syntax? When I try to "iwconfig essid MYSSID", I get "unknown command 'MYSSID'"

Offline

#8 2012-01-24 18:00:12

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,654

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

Well, you need to type in your essid (network's name). Mine is called OptiDSL_6E after my ISP.

Offline

#9 2012-01-24 21:26:16

Jabroneous
#! CrunchBanger
Registered: 2011-11-26
Posts: 123

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

root@crunchbang:~# iwconfig essid ######
iwconfig: unknown command "######"

The #s being my essid. Am I interpreting that wrong?

Offline

#10 2012-01-24 21:50:07

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 1,745

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

You need to specify an interface:

 iwconfig wlan0 essid ######

Offline

#11 2012-01-24 21:56:40

Jabroneous
#! CrunchBanger
Registered: 2011-11-26
Posts: 123

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

No dice, I can't seem to connect manually either.

Last edited by Jabroneous (2012-01-24 21:59:46)

Offline

#12 2012-01-24 22:16:13

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

^ you get an error message from that last command mynis posted? and if so, post it here?

Offline

#13 2012-01-24 22:18:14

Jabroneous
#! CrunchBanger
Registered: 2011-11-26
Posts: 123

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

Nope, no error message. Just didn't connect as usual. sad

Edit: Found some quotes from this thread:

ZAP wrote:

...LightDM is OK, but requires some changes to the session scripts and doesn't seem to play well with network manager...

jeffreyC wrote:

...LightDM works fine with wicd and I did not need to make any changes to session scripts...

Now, I'm obviously using Wicd rather than NM, but could my DM be part of the problem?

Last edited by Jabroneous (2012-01-24 22:25:14)

Offline

#14 2012-01-24 22:32:27

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

^ you're using LightDM? not used it, so don't know. i'm on the February Statler with GDM and everything works fine. don't use NM or Wicd, just used Ceni to configure etc/network/interfaces, as per el_koraco's WPA-supplicant-thread.

Offline

#15 2012-01-24 22:44:43

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,654

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

ok, first stop wicd, then edit /etc/network/interfaces and add this in:

allow-hotplug wlan0
iface wlan0 inet dhcp
    wireless-mode managed
    wireless-essid YOURSSID
    wireless-key YOURKEY

Then run

sudo ifdown wlan0 && sudo ifup wlan0

Post output there.

Offline

#16 2012-01-24 22:47:18

Jabroneous
#! CrunchBanger
Registered: 2011-11-26
Posts: 123

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

Wow. How could I forget to state the fact that I'm using LightDM... mad

I'm a big fan of ceni, but I'm not sure of how well it'd work when I'm trying to connect to a new network. I've been reading up on it in aptosid's manuals while trying to fix this (and of course, refreshing these forums), but when I'm on the go, a lot of command line stuff would probably be really cumbersome.

I suppose I could switch back to GDM, but now that I'm in unstable, it looks like there's only GDM3 available. There's also the issue of the dependencies it comes with... I'd rather try to find out if something else is causing it before going there.

Offline

#17 2012-01-24 22:52:19

Jabroneous
#! CrunchBanger
Registered: 2011-11-26
Posts: 123

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

eeepc@crunchbang:~$ sudo ifdown wlan0 && sudo ifup wlan0
[sudo] password for eeepc: 
ifdown: interface wlan0 not configured
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

RTNETLINK answers: Operation not possible due to RF-kill
Listening on LPF/wlan0/00:25:d3:48:c3:bb
Sending on   LPF/wlan0/00:25:d3:48:c3:bb
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
send_packet: Network is down
receive_packet failed on wlan0: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
send_packet: Network is down

Last edited by Jabroneous (2012-01-24 22:53:59)

Offline

#18 2012-01-24 22:54:23

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,654

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

Oh, well, how about

sudo rfkill list

I'm off to bed, will check back tomorrow.

Last edited by el_koraco (2012-01-24 22:55:11)

Offline

#19 2012-01-24 22:55:44

Jabroneous
#! CrunchBanger
Registered: 2011-11-26
Posts: 123

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

rfkill: command not found

yikes

Offline

#20 2012-01-24 22:58:17

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 1,745

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

rfkill doesn't come installed by default.

sudo apt-get install rfkill

Afterwards you can just unblock all interfaces with

sudo rfkill unblock all

Offline

#21 2012-01-24 23:27:23

Jabroneous
#! CrunchBanger
Registered: 2011-11-26
Posts: 123

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

This is really strange. I thought for sure that that would work, but it still hasn't done the trick. After some more Googling, I think LightDM actually is the culprit. It definitely has something to do with rfkill switches acting strangely, so I'm going to go ahead and give GDM a shot to see if it helps.

Offline

#22 2012-01-25 00:15:57

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 1,745

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

You could just use rcconf or bum to disable your display manager completely, restart, and see what happens from a tty.

Offline

#23 2012-01-25 00:25:26

dubois
The Old Codger
Registered: 2010-09-03
Posts: 2,238

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

Jabroneous wrote:

Wow. How could I forget to state the fact that I'm using LightDM... mad

I'm a big fan of ceni, but I'm not sure of how well it'd work when I'm trying to connect to a new network. I've been reading up on it in aptosid's manuals while trying to fix this (and of course, refreshing these forums), but when I'm on the go, a lot of command line stuff would probably be really cumbersome.

I suppose I could switch back to GDM, but now that I'm in unstable, it looks like there's only GDM3 available. There's also the issue of the dependencies it comes with... I'd rather try to find out if something else is causing it before going there.

FWIW when I was using Debian Sid these past weeks I was using GDM and it worked fine -- it was an smxi dist-upgrade from Squeeze.  smile

Offline

#24 2012-01-25 01:04:08

Jabroneous
#! CrunchBanger
Registered: 2011-11-26
Posts: 123

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

dubois wrote:
Jabroneous wrote:

Wow. How could I forget to state the fact that I'm using LightDM... mad

I'm a big fan of ceni, but I'm not sure of how well it'd work when I'm trying to connect to a new network. I've been reading up on it in aptosid's manuals while trying to fix this (and of course, refreshing these forums), but when I'm on the go, a lot of command line stuff would probably be really cumbersome.

I suppose I could switch back to GDM, but now that I'm in unstable, it looks like there's only GDM3 available. There's also the issue of the dependencies it comes with... I'd rather try to find out if something else is causing it before going there.

FWIW when I was using Debian Sid these past weeks I was using GDM and it worked fine -- it was an smxi dist-upgrade from Squeeze.  smile

I'm updating to sid using smxi from a fresh install of the Feb Xfce iso, this time without messing with DMs. I'll post how it goes.

Offline

Help fund CrunchBang, donate to the project!

#25 2012-01-25 01:45:27

gurtid
#! Junkie
From: NEW ZEALAND
Registered: 2011-04-07
Posts: 370

Re: [Solved] Wicd can't obtain IP address of network after upgrade to sid

i'm using siduction - a sid distro using lightDM and ceni . . .  Ceni works very well on siduction, so switch to it of you like it so much


all your Base are belong to us

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo