You are not logged in.

#1 2011-04-18 13:52:38

khs
Member
Registered: 2011-04-18
Posts: 13

[SOLVED] Asus eee 1000H : netcfg and wicd unable to obtain IP

Hi,

I just installed arch linux on my asus eee 1000h, but I can't get
wireless to work. I installed the packages:

- wireless_tools
- netcfg

I have been reading through the beginners guide and the wireless setup guide,
but still no success.

I did

lspci | grep -i net

And found out I had to add the firmware for my card, so I did that and:

ifconfig wlan0 up

worked. So I did:

iwlist wlan0 scan

And found the network I wanted to connect too, so I do:

iwconfig wlan0 essid network_id key wep_hex_key

But I dont get associated to any access point, so I tried:

ifconfig wlan0 down
ifconfig wlan0 up

Sometimes this gets me associated to the access point, however, it seems to
be pretty unstable. Usually it 'looses' it's association after a short period
of time.

Then I do:

dhcpcd wlan0

However, I just get the output

dhcpcd: version 5.2.2 starting
dhcpcd: broadcasting for a lease
dhcpcd: timed out

I check "iwconfig wlan0" at it says it is still associated to the access point.

I have tried netcfg, but it also just get's timed out waiting for a lease.

I've tried to get this to work for a long time now, but can't seem to get it to
work. I've read somewhere that it might be a bug in dhcpcd? If you have a
suggestion for something to try, please keep in mind that I am not at all
familiar with arch linux and explain accordingly.

I installed arch linux because I want a distribution that forces me to learn
more about linux, I just did'nt think it would be this much trouble, been trying
for a couple of days now, I have allready learned alot though.

Thanks for any reply.

EDIT: I also tried setting the timeout to 120, it did not work

EDIT 2: I tried using netcfg again. It first returned:

WPA Authentication/Association Failed

I tried again, and it returned:

DHCP IP lease attempt failed

Does this mean I have to use wpa encryption? I find this
strange as I am connecting to the same network with
my ubuntu machine using wep encryption.

Last edited by khs (2011-04-20 12:31:28)

Offline

#2 2011-04-18 17:59:51

khs
Member
Registered: 2011-04-18
Posts: 13

Re: [SOLVED] Asus eee 1000H : netcfg and wicd unable to obtain IP

I think I may be closing in on an issue here. When I do

dmesg | tail

I get:

wlan0: direct probe to AP ........... (try 1)
wlan0: direct probe responded
wlan0: authenticate with AP ......... (try 1)
wlan0: authenticated
wlan0: associate with AP .......... (try 1)
wlan0: RX AssocResp from ............. (capab=0x431 status=0 aid=2)
wlan0: associated
wlan0: deauthenticating from ...... by local choice (reason=3)

Does anyone know what this means / know how to fix it?

Thanks

Offline

#3 2011-04-18 22:47:15

khs
Member
Registered: 2011-04-18
Posts: 13

Re: [SOLVED] Asus eee 1000H : netcfg and wicd unable to obtain IP

Ok, so I tried using a static IP. This seems to work, at least I get associated. However, the router says
my IP address is 0.0.0.0. So something is obviously wrong. Anyone know what may be the reason for this?

Could it be bad firmware? driver? configuration?

lspci | grep -i net

returns

01:00.0 Network controller: RaLink RT2860
03:00.0 Ethernet controller: Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0)

Offline

#4 2011-04-19 08:53:59

khs
Member
Registered: 2011-04-18
Posts: 13

Re: [SOLVED] Asus eee 1000H : netcfg and wicd unable to obtain IP

Now I am trying netcfg:

INTERFACE=wlan0
SECURITY=wep
ESSID=...
KEY=...
DHCP_TIMEOUT=120
IP=dhcp
SCAN=yes

when running netcfg on this profile I get:

DHCP IP lease attempt failed.

Offline

#5 2011-04-19 09:06:57

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

Re: [SOLVED] Asus eee 1000H : netcfg and wicd unable to obtain IP

Have you seen this?

Arch Wiki wrote:

There are reported some problems associating an AP with netcfg2 (WEP and open, WPA-PSK works ok). If you experience problems, try another connection manager, for example wicd works fine.

https://wiki.archlinux.org/index.php/As … :_Wireless


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2011-04-19 09:21:06

khs
Member
Registered: 2011-04-18
Posts: 13

Re: [SOLVED] Asus eee 1000H : netcfg and wicd unable to obtain IP

Yes, I have, but unfortunately I have no connection, and as far as I know this is not available on the boot image.
I guess I was just hoping it would work out if I kept on trying different things.
Could you perhaps point me in the right direction on how to get wicp installed? I have a usb disk, where can I download it?
Do I have to build it? I guess I do.

Thanks for the tip

Offline

#7 2011-04-19 09:35:28

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

Re: [SOLVED] Asus eee 1000H : netcfg and wicd unable to obtain IP

You can download the package from a mirror http://www.archlinux.org/packages/extra/any/wicd/ [see the link top right in the Package Actions box]

and then install it using pacman -U /path/to/downloaded/package


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2011-04-19 10:47:08

khs
Member
Registered: 2011-04-18
Posts: 13

Re: [SOLVED] Asus eee 1000H : netcfg and wicd unable to obtain IP

I have downloaded the package, and it's dependencies, however, I am stuck on pygobject. It says it depends on
pycairo. But the dependency says pycairo (virtual) and I don't know what to do. I find no packages for pycairo.

Thanks

Edit:
I figured out i could use the -d option. Now, however, i get the error:

error while loading shared libraries: libreadline.so.6: wrong ELF class: ELFCLASS64

Oh, right, crap, i downloaded the 64 bit versions.

Last edited by khs (2011-04-19 11:01:36)

Offline

#9 2011-04-19 11:43:30

khs
Member
Registered: 2011-04-18
Posts: 13

Re: [SOLVED] Asus eee 1000H : netcfg and wicd unable to obtain IP

Ok, so now I've got wicd up.

I added dbus and wicd to the DAEMONS in rc.conf:

DAEMONS=(syslog-ng network netfs crond dbus wicd)

But when I run wicd-curses, configure the connection,
i just get:

Putting interface up -> Validating authentication -> Obtaining IP address -> Not connected

dmesg | tail returns:

wlan0: direct probe to AP ........... (try 1)
wlan0: direct probe responded
wlan0: authenticate with AP ......... (try 1)
wlan0: authenticated
wlan0: associate with AP .......... (try 1)
wlan0: RX AssocResp from ............. (capab=0x431 status=0 aid=2)
wlan0: associated
wlan0: deauthenticating from ...... by local choice (reason=3)
ATL1E 0000:03:00.0: irq 28 for MSI/MSI-X

Any suggestions?

Last edited by khs (2011-04-19 11:43:56)

Offline

#10 2011-04-19 19:41:14

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

Re: [SOLVED] Asus eee 1000H : netcfg and wicd unable to obtain IP

Yes: check the wiki:

Wicd entry wrote:

Disable (!) any existing network management daemons in the DAEMONS array, including network, dhcdbd, and networkmanager.

If that doesn't work, make sure you blacklist any unnecessary modules for your card (which I am assuming is the rt2860sta).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2011-04-20 00:18:09

trash
Member
Registered: 2009-02-17
Posts: 4

Re: [SOLVED] Asus eee 1000H : netcfg and wicd unable to obtain IP

edit your /etc/rc.conf to blacklist all of the modules that interfere with the rt2860sta module:

MODULES=(!rt2800pci !rt61pci !rt2x00pci !rt2800usb !rt2800lib !rt2x00usb !rt2x00lib)

don't initialize network with any other services:

#eth0="dhcp"
#wlan0="dhcp"
INTERFACES=()

make sure you don't have conflicting daemons running:

DAEMONS=(syslog-ng dbus wicd netfs crond)

then restart and try again(or go through rmmod and stopping and starting the individual services)

btw... I am using arch+wicd on my eee 1000h to write this post, so if you have any more problems just let me know.

also check out the eee 901 archwiki page it has a lot of good info and links.

Last edited by trash (2011-04-20 00:23:21)

Offline

#12 2011-04-20 12:29:43

khs
Member
Registered: 2011-04-18
Posts: 13

Re: [SOLVED] Asus eee 1000H : netcfg and wicd unable to obtain IP

Thanks guys, it's working now.

I reinstalled arch from scratch (to make sure I hade no other conflicting modules), built the rt2860sta from AUR, and did everything you said.

Previously I installed the rt2860 from the ralink website without using pacman, it
seemed to work (no errors, dmesg seemed happy). But after building and installing with pacman, ifconfig finds the interface 'ra0' instead of 'wlan0'.

iwconfig ra0 essid ... key ...
dhcpcd ra0

does not work, but wicd does. smile

Offline

Board footer

Powered by FluxBB