You are not logged in.

#1 2009-07-23 10:33:23

alphasix
Member
Registered: 2008-10-06
Posts: 15

Ad-Hoc under rt2860sta

Hi everybody,


i'm totally stuck, setting up my WiFi on the EEEPC 1000H under Arch. The new kernel includes the driver for the WiFi-card and it works for scanning.

The problem is, that i'm not able to set up an unencrypted ad-hoc network. I try

sudo ifconfig ra0 192.168.0.12 netmask 255.255.255.0 up
sudo iwconfig ra0 mode ad-hoc channel 1 essid "ics"

both work without error. But when i do "iwconfig ra0" afterwards the output is only

ra0  RT2860 Wireless  ESSID:""  Nickname:"RT2860STA"
     Mode:Ad-Hoc  Frequency=2.412 GHz  Cell: 52:XX:XX:XX:XX:79
     Bit Rate=150 Mb/s
     RTS thr:off  Fragment thr:off
     Link quality=10/100  Signal level:-40 dBm  Noise level:-97 dBm
     Rx invalid nwid:0  Rx invalid crypt:0  RX invalid frag:0
     Tx excessive retries:0  Invalid misc:0  Missed beacon:0

Well, there is obviously no ESSID set and the Adress of the Cell is also wrong.
"iwlist ra0 scan" says:

ra0  Scan completed :
     Cell 01 - Adress: EE:XX:XX:XX:XX:01
               ESSID:"ics"
               Mode:Ad-Hoc
               Channel:1
               Quality:100/100  Signal level:-42 dBm  Noise level:-97 dBm
               Encryption key:off
               Bit Rates:11 Mb/s

It is not possible to ping the other computer after the two commands. Under Windows there is no problem connecting into the Ad-Hoc network. It also worked on the EEE some time ago (under the Zen-kernel, which isn't available anymore).


Would be great, if somebody has an idea, what i'm doing wrong.
Thanks.
Alpha

Last edited by alphasix (2009-07-23 10:34:08)

Offline

#2 2009-07-25 07:19:36

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Ad-Hoc under rt2860sta

Which driver/kernel do you use ?

Read this:
http://www.atlink.it/~conti/articles/cr … ith-linux/

Hope this helps.

Offline

#3 2009-07-25 10:06:33

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: Ad-Hoc under rt2860sta

Let me understand, are you trying 1) to connect to an existing network or 2) to setup a new network?

If it's 1) use mode managed.
If it's 2) you're doing well.


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#4 2009-07-25 15:20:23

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Ad-Hoc under rt2860sta

I think he would like to create a new network.

Offline

#5 2009-07-25 18:16:15

alphasix
Member
Registered: 2008-10-06
Posts: 15

Re: Ad-Hoc under rt2860sta

Okay,

thanks for your answers so far. I'm using the present standard-kernel and the driver included in that kernel.
I did not write it explicitly, but if you read carefully, I try to connect to an existing network (otherwise it wouldn't appear in the scan). So I did wrong. But using mode managed is of no help either. I now have an AP and connecting to that wasn't possible either: the same problem: setting the essid did not connect me. I also tried the parameter AP for connecting directly to the MAC-Adress of the AP, but that didn't get me a connection, too. Damn I hate not getting an error-message.

Last edited by alphasix (2009-07-25 18:17:11)

Offline

#6 2009-07-25 21:52:32

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: Ad-Hoc under rt2860sta

First of all, which driver are you using?
You should be using rt2860 from AUR.
If you don't know how to install packages from the AUR. please RTFW.

You are using a lot of unnecessary options. My usual commands are
1) ifconfig wlan0 up
2) iwconfig wlan0 essid "foo"

You may try bringing up and down the interface "ifconfig wlan0 down && ifconfig wlan0 up" and removing/reloading the networking kernel module with "modprobe -r kernel_module_name && modprobe kernel_module_name"

EDIT: Just found this on the wiki -> http://wiki.archlinux.org/index.php/Asu … __Wireless

Search on the wiki before posting on the forum.

Last edited by arkham (2009-07-25 21:57:03)


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#7 2009-07-26 12:51:11

alphasix
Member
Registered: 2008-10-06
Posts: 15

Re: Ad-Hoc under rt2860sta

First of all, please don't treat me as totally dumb.

Of course I tried the minimal commands you posted.

I will try re-loading the modules first.

Of course I read the wiki entry and I read several problems similar to mine fixed in many forums (including this one). The entry in the wiki is very old and not up-to-date anymore. For example the driver is now included in the kernel. And additionally the patched version is not necessary anymore, because there is a new version of the driver published. Besides that most forums say "use the newest kernel and it should work out-of-the-box". But I will try to deactivate the modules and install the driver from the AUR myself right after this post.

EDIT. I tried out both 'solutions'. Same as before. You also asked me for the version of the driver - it's 2.1.2.0-1

Last edited by alphasix (2009-07-26 13:36:10)

Offline

#8 2009-07-27 05:39:41

alphasix
Member
Registered: 2008-10-06
Posts: 15

Re: Ad-Hoc under rt2860sta

Do you have at least some hints, how I can detect, what's wrong?

Offline

Board footer

Powered by FluxBB