LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Wlan0 :file not found (https://www.linuxquestions.org/questions/linux-hardware-18/wlan0-file-not-found-643324/)

hemi_426 05-19-2008 03:30 PM

Wlan0 :file not found
 
hello guys

this is me :
Linux home 2.6.18-53.el5 #1 SMP Mon Nov 12 02:22:48 EST 2007 i686 i686 i386 GNU/Linux

i have wireless card on this laptop and it is a broadcom.
my gnome network manager had only my eth0 , so i pushed the "New" botton i found a wlan0 interface ready to add with this driver b43 .
ok now i have an interface Wlan0 in my gnome network manager, here comes the problem
when i try to activate this adapter i get this error :
Determining IP information for wlan0...SIOCSIFFLAGS: No such file or directory
SIOCSIFFLAGS: No such file or directory

and my "#ifconfig" have an output too :
wlan0 Link encap:Ethernet HWaddr 00:19:7D:32:DA:1C
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

what should be done guys ???
thanks a lot in advance

pixellany 05-19-2008 03:39 PM

If it shows up in ifconfig, you are almost there. Do all commands below as root.
First:
ifconfig wlan0 up
ifconfig


verify that wlan0 is now UP. Next:
iwconfig wlan0 essid <name_of_access_point> key <yourkey>
<yourkey> becomes s:<yourkey> if yourkey is ascii.
iwconfig to verify that it associated
dhcpcd wlan0 ( or dhclient )

hemi_426 05-19-2008 04:31 PM

these are the results :


[root@jumaro /]# /sbin/ifconfig wlan0 up
SIOCSIFFLAGS: No such file or directory

[root@jumaro /]# /sbin/iwconfig wlan0 essid home key 1234512345

[root@jumaro /]# /sbin/iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:"home"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:1234-5123-45
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

pan0 no wireless extensions.

virbr0 no wireless extensions.

pixellany 05-19-2008 11:26 PM

OK--ifconfig wlan0 up did not work---I'm stuck on why it shows up in ifconfig. Did you actually do "ifconfig -a" to make it appear? (On my machine, ifconfig shows nothing if the particular interface is down.

All I can think of for the moment is to cycle thru these 3:
ifconfig wlan0 down
ifconfig wlan0 up
ifconfig

wheelsg 05-20-2008 12:03 AM

Quote:

wlan0 IEEE 802.11 ESSID:"home"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=0 dBm
Retry min limit:7 RTS thrff Fragment thr=2352 B
Encryption key:1234-5123-45
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
Looks like /sbin/iwconfig _did_ work, but you didn't get connected to whatever access point has the 'home' essid and the 1234512345 key. Did you try the 's:' plain-text prefix before the key? What program do you have (wlanconfig, etc.) to scan for active access points?

If you run the /sbin/iwconfig wlan0 essid <youressid> key <s:yourkey> again, run /sbin/iwconfig wlan0 afterwards to only display info on the wireless adapter.

Good luck,
Geoff.

hemi_426 05-20-2008 04:04 AM

the gnome network manager is used for the wireless adapter setting

i tried these :

/sbin/iwconfig wlan0 essid <youressid> key <s:yourkey> again, run /sbin/iwconfig wlan0

and this is what i got :

[root@jumaro /]# /sbin/iwconfig wlan0 essid mb-pc key s:12341234
[root@jumaro /]# /sbin/iwconfig wlan0
wlan0 IEEE 802.11 ESSID:"mb-pc"
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:3132-3334-3132-3334
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

hemi_426 05-20-2008 04:29 AM

the gnome network manager is used for the wireless adapter setting

i tried these :

/sbin/iwconfig wlan0 essid <youressid> key <s:yourkey> again, run /sbin/iwconfig wlan0

and this is what i got :

[root@jumaro /]# /sbin/iwconfig wlan0 essid mb-pc key s:12341234
[root@jumaro /]# /sbin/iwconfig wlan0
wlan0 IEEE 802.11 ESSID:"mb-pc"
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:3132-3334-3132-3334
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

hemi_426 05-20-2008 04:51 AM

after insertion of the firmware i dont get the "file not found" .

and i rebooted and put the IP manually and the wlan0 got activated seccessfuly .

but the /sbin/iwconfig still gives me that its not associated .

and i cannot ping the gateway also .

hemi_426 05-20-2008 04:57 AM

is there any software that could manage my wireless networks more clear than the gnome network utility ?

hemi_426 05-20-2008 05:48 AM

everything is fine now :)

and several reboots and some self discovering i noticed that the networkmanager doesnt support the kind of WAP key that my access point has so i changed to something that matches it and thats it ...

GOOD BYE to WINDOWS

im realy happy this fedora9 ROCKS , love it

thanks alot guys

pixellany 05-20-2008 08:04 AM

We like happy endings....and we REALLY like people like you who don't wait for out feeble efforts but rather charge ahead a make it work. Soon, you will be helping US....;)

To address an earlier question: I don't like ANY of the GUI wireless managers. I use wireless-tools (iwconfig, iwlist, etc.) for everything. Eventually, I will write some simple scripts to save me keystrokes.


All times are GMT -5. The time now is 04:33 PM.