Re: Cannot Change essid using iwconfig



Rick Bilonick wrote:

If I try to manually configure the nic using iwconfig, I can set the key
but I CANNOT get it to set the essid:

[root@localhost ~]# iwconfig wlan0 essid default
[root@localhost ~]# iwconfig wlan0
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.462 GHz Access Point:
Not-Associated
Bit Rate:54 Mb/s Tx-Power:25 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

(iwconfig will set the key, but I'm not showing the key info.)

When I use dhclient to obtain a lease, it tells me no leases were
offered (even though the other laptop is connected to the wireless
network and I've had them both wirelessly connected at the same time
when using Fedora 6 on the Dell).

I cannot figure out why iwconfig cannot set the essid.

What else can I check? Any ideas on what is wrong or how to fix this?

I had a strange idea - what happens if you try to set the ESSID to
something besides default? It is possible that default is a "key
word". If your ESSID is really "default" you may need to do
something like: (I didn't see default listed as a keyword...)

iwconfig wlan0 essid -- "default"

Mikkel
--

Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages

  • Re: [SLE] Networkcard
    ... "man iwconfig" will give you some of the commands you need, ... essid of there network. ... iwconfig wlan0 essid "network name" ... After that you can go to ifconfig to set the IP number. ...
    (SuSE)
  • Re: Setting essid without AP
    ... I couldn't get the card to work with ndiswrapper or madwifi, ... But I'm not sure I understand what an essid is. ... Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 ... $ iwconfig ...
    (comp.os.linux.networking)
  • Re: [SLE] Multiple wireless config
    ... (If I go wireless and end up with a D-Link I'll know who to e-mail!) ... How does yast configure this thing that iwconfig can't ... It seems some cards want encryption set first before they'll accept an ESSID ...
    (SuSE)
  • Re: WiFi with iwconfig
    ... $netmask and $gateway_ip? ... DHCP is a way of automating a connection. ... iwconfig $wireless_interface essid $DHCP_ESSID ... channel and essid is whatever iwlist shows. ...
    (comp.os.linux.networking)
  • Re: [SLE] iwconfig
    ... eventhough yast showed the essid when i did iwconfig it would not show.. ... now the good news is i was able to set the essid by doing both essid and key at the same time. ...
    (SuSE)