Guldo K wrote:
> I can't make my wireless card work properly.
> I have been trying to set up a wlan without an access point. I have a
> desktop pc cable-connected to the internet, and I would like to connect
> it to a laptop pc via wireless card.
> (desktop=debian, laptop=windows)
> I couldn't get the card to work with ndiswrapper or madwifi, so (as
> advised on ndiswrapper website) I used the RaLink linux driver (since my
> card has such a chipset). Now the card should be up and running.
> But I'm not sure I understand what an essid is. I thought it could be
> just any string, but it doesn't work. I mean:
> debian:~# iwconfig ra0 mode ad-hoc essid "GuldoNet01"
> debian:~# iwconfig ra0
> ra0 RT61 Wireless ESSID:""
> Mode:Ad-Hoc Frequency:1 MHz Cell: 2E:82:AF:62:7B:C6
> Bit Rate=11 Mb/s
> RTS thr
ff Fragment thr
ff
> Encryption key
ff
> Link Quality=0/100 Signal level:-121 dBm Noise level:-107 dBm
> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> Tx excessive retries:0 Invalid misc:0 Missed beacon:0
>
> debian:~#
>
> Could you tell what's wrong?
There is nothing wrong with that essid ;
I can change mine to that:
===================================
[tim@martha ~]$ sudo iwconfig eth0 mode ad-hoc essid "GuldoNet01"
[tim@martha ~]$ iwconfig
lo no wireless extensions.
eth0 IEEE 802.11b ESSID:"GuldoNet01" Nickname:"martha"
Mode:Ad-Hoc Frequency:2.462 GHz Cell: Not-Associated
Bit Rate:2 Mb/s Sensitivity:1/3
Retry limit:4 RTS thr

ff Fragment thr

ff
Power Management

ff
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:10
Tx excessive retries:4 Invalid misc:0 Missed beacon:0
===================================
I don't know why you can't change the essid.
I get a warning from iwconfig if I try to change something I cannot change.
You could try saying "essid any", and also you could try "mode managed".
But I'm not an expert!
You could try putting ESSID=... in /etc/sysconfig/network-scripts/ifcfg-ra0
and restarting networking (or re-booting).
--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland