LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-19-2008, 03:30 PM   #1
hemi_426
Member
 
Registered: Apr 2008
Location: KSA-jeddah
Distribution: CentOS, gentoo, slackware
Posts: 80

Rep: Reputation: 15
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:32A: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
 
Old 05-19-2008, 03:39 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
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 )
 
Old 05-19-2008, 04:31 PM   #3
hemi_426
Member
 
Registered: Apr 2008
Location: KSA-jeddah
Distribution: CentOS, gentoo, slackware
Posts: 80

Original Poster
Rep: Reputation: 15
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 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

pan0 no wireless extensions.

virbr0 no wireless extensions.
 
Old 05-19-2008, 11:26 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
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
 
Old 05-20-2008, 12:03 AM   #5
wheelsg
Member
 
Registered: Feb 2004
Location: Westchester, NY
Distribution: slackware
Posts: 63

Rep: Reputation: 15
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.
 
Old 05-20-2008, 04:04 AM   #6
hemi_426
Member
 
Registered: Apr 2008
Location: KSA-jeddah
Distribution: CentOS, gentoo, slackware
Posts: 80

Original Poster
Rep: Reputation: 15
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 thrff 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
 
Old 05-20-2008, 04:29 AM   #7
hemi_426
Member
 
Registered: Apr 2008
Location: KSA-jeddah
Distribution: CentOS, gentoo, slackware
Posts: 80

Original Poster
Rep: Reputation: 15
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 thrff 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
 
Old 05-20-2008, 04:51 AM   #8
hemi_426
Member
 
Registered: Apr 2008
Location: KSA-jeddah
Distribution: CentOS, gentoo, slackware
Posts: 80

Original Poster
Rep: Reputation: 15
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 .
 
Old 05-20-2008, 04:57 AM   #9
hemi_426
Member
 
Registered: Apr 2008
Location: KSA-jeddah
Distribution: CentOS, gentoo, slackware
Posts: 80

Original Poster
Rep: Reputation: 15
is there any software that could manage my wireless networks more clear than the gnome network utility ?
 
Old 05-20-2008, 05:48 AM   #10
hemi_426
Member
 
Registered: Apr 2008
Location: KSA-jeddah
Distribution: CentOS, gentoo, slackware
Posts: 80

Original Poster
Rep: Reputation: 15
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
 
Old 05-20-2008, 08:04 AM   #11
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wlan0 not found error... rtoney5 Linux - Wireless Networking 5 03-31-2008 01:47 PM
wlan0: device not found anarchyprevails Linux - Wireless Networking 1 09-13-2005 03:48 PM
dhclient wlan0 - wlan0: not found nickleus Linux - Networking 1 05-10-2005 09:06 PM
Everthing works but no config found for Wlan0 nikkkko Linux - Wireless Networking 4 02-22-2005 08:23 AM
wlan0 not found toships Linux - Newbie 0 03-02-2004 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration