Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] wlan0: Device not found
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
farhaven
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2008
Posts: 127

PostPosted: Fri Sep 12, 2008 1:03 pm    Post subject: Reply with quote

Also, the output of sudo wpa_cli status might be interesting.
Back to top
View user's profile Send private message
cvega
n00b
n00b


Joined: 03 Sep 2008
Posts: 34
Location: Santiago, Chile

PostPosted: Sat Sep 13, 2008 3:41 am    Post subject: Reply with quote

@d2_racing


I'm not quite sure what kind of WPA my router support, but it sure can support WPA and WPA2. (BTW: I could do a "# iwlist scan" to get more details, but I can't anymore :( )

I don't have a net.wlan0

/etc/init.d/net.wlan0 start

Code:

bash: /etc/init.d/net.wlan0: No such file or directory



cd /etc/init.d
ls -la

Code:

total 216
drwxr-xr-x  2 root root  4096 Sep 12 01:45 .
drwxr-xr-x 56 root root  4096 Sep 12 18:01 ..
-rwxr-xr-x  1 root root   673 Sep  8 00:14 NetworkManager
-rwxr-xr-x  1 root root   746 Sep  8 00:14 NetworkManagerDispatcher
-rwxr-xr-x  1 root root  6557 Sep  6 14:43 alsasound
-rwxr-xr-x  1 root root  3661 Jun 16 21:51 bootmisc
-rwxr-xr-x  1 root root  1188 Jun 16 21:51 checkfs
-rwxr-xr-x  1 root root  3226 Jun 16 21:51 checkroot
-rwxr-xr-x  1 root root  3054 Jun 16 21:51 clock
-rwxr-xr-x  1 root root  1429 Jun 16 21:51 consolefont
-rwxr-xr-x  1 root root   540 Sep  4 21:31 consolekit
-rwxr-xr-x  1 root root  1722 Jun 16 22:15 crypto-loop
-rwxr-xr-x  1 root root   286 Sep  5 00:51 cupsd
-rwxr-xr-x  1 root root  1152 Sep  5 15:30 dbus
lrwxrwxrwx  1 root root    21 Sep  4 13:12 depscan.sh -> ../../sbin/depscan.sh
-rwxr-xr-x  1 root root   620 Sep  5 15:18 device-mapper
-rwxr-xr-x  1 root root   458 Sep  8 00:12 dhcdbd
-rwxr-xr-x  1 root root  1989 Sep  8 00:12 dhcpd
-rwxr-xr-x  1 root root   736 Sep  8 00:12 dhcrelay
-rwxr-xr-x  1 root root   660 Sep  5 15:21 dmcrypt
-rwxr-xr-x  1 root root   547 Sep  5 15:18 dmeventd
lrwxrwxrwx  1 root root    23 Sep  4 13:12 functions.sh -> ../../sbin/functions.sh
-rwxr-xr-x  1 root root   951 Jun 16 21:52 gpm
-rwxr-xr-x  1 root root  1111 Sep  5 15:25 hald
-rwxr-xr-x  1 root root  5606 Jun 16 21:51 halt.sh
-rwxr-xr-x  1 root root   433 Jun 16 21:51 hostname
-rwxr-xr-x  1 root root  1874 Jun 16 21:51 keymaps
-rwxr-xr-x  1 root root   620 Jun 16 21:51 local
-rwxr-xr-x  1 root root  2088 Jun 16 21:51 localmount
-rwxr-xr-x  1 root root  2947 Jun 16 21:51 modules
lrwxrwxrwx  1 root root     6 Sep  4 13:12 net.eth0 -> net.lo
-rwxr-xr-x  1 root root 30696 Jun 16 21:51 net.lo
-rwxr-xr-x  1 root root  3311 Jun 16 21:51 netmount
-rwxr-xr-x  1 root root  1566 Jun 16 23:51 nscd
-rwxr-xr-x  1 root root   670 Jun 16 21:51 numlock
-rwxr-xr-x  1 root root   569 Jun 16 21:40 pydoc-2.4
-rwxr-xr-x  1 root root   666 Sep 12 01:45 pydoc-2.5
-rwxr-xr-x  1 root root   304 Jun 16 21:15 reboot.sh
-rwxr-xr-x  1 root root   276 Jun 16 21:51 rmnologin
-rwxr-xr-x  1 root root   558 Sep 12 01:56 rsyncd
lrwxrwxrwx  1 root root    23 Sep  4 13:12 runscript.sh -> ../../sbin/runscript.sh
-rwxr-xr-x  1 root root   385 Jun 16 21:15 shutdown.sh
-rwxr-xr-x  1 root root  2114 Jun 17 00:14 sshd
-rwxr-xr-x  1 root root  1894 Sep  4 15:40 syslog-ng
-rwxr-xr-x  1 root root   510 Jun 16 21:52 udev-postmount
-rwxr-xr-x  1 root root   942 Jun 16 21:51 urandom
-rwxr-xr-x  1 root root   530 Sep  4 15:48 vixie-cron
-rwxr-xr-x  1 root root  5207 Sep 12 01:59 xdm



@farhaven
wpa_cli status

Code:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Sep 13, 2008 3:50 am    Post subject: Reply with quote

hi, you need to run this :

Code:

# cd /etc/init.d
# ln -s net.lo net.wlan0


Then retry theses command :

Code:

# rmmod iwl3945
# modprobe iwl3945
# dmesg | tail
# iwconfig
# /etc/init.d/net.wlan0 start
# dmesg
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Sep 13, 2008 3:51 am    Post subject: Reply with quote

Also, can you post this :

Code:

# equery list wpa
Back to top
View user's profile Send private message
cvega
n00b
n00b


Joined: 03 Sep 2008
Posts: 34
Location: Santiago, Chile

PostPosted: Sat Sep 13, 2008 3:59 pm    Post subject: Reply with quote

Yes! this lines solved everything:

Code:

# cd /etc/init.d
# ln -s net.lo net.wlan0


then reboot (and unplugged the Ethernet cable).

Now I'm writing this (hopefully final :) ) post with wireless connection!

Thanks everyone, and many many many thanks to you d2_racing!
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Sep 14, 2008 2:44 am    Post subject: Reply with quote

No problem :P I know how the Iwl3945 and Iwl4965 works from head to toe :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum