View previous topic :: View next topic |
Author |
Message |
cvega n00b


Joined: 03 Sep 2008 Posts: 34 Location: Santiago, Chile
|
Posted: Mon Sep 08, 2008 6:16 am Post subject: [SOLVED] wlan0: Device not found |
|
|
I have built-in kernel drivers and emerged many things like net-wireless/ipw3945 and wpa_supplicant. Here is some info:
Code: | iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
|
Code: | ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:D4:AF:BA:D8
inet addr:192.168.1.9 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::216:d4ff:feaf:bad8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:297 errors:0 dropped:0 overruns:0 frame:0
TX packets:221 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:176841 (172.6 Kb) TX bytes:43184 (42.1 Kb)
Interrupt:21
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) |
Code: | lspci
05:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) |
What can I do?. If you need more info please ask. Thanks.
Last edited by cvega on Sat Sep 13, 2008 4:00 pm; edited 2 times in total |
|
Back to top |
|
 |
defenderBG l33t


Joined: 20 Jun 2006 Posts: 817
|
|
Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Mon Sep 08, 2008 11:42 am Post subject: |
|
|
Hi, first you cannot use ipw3945 with a kernel higher then 2.6.23.
So, can you post your emerge --info.
Also, if you are welling to use the Iwl3945 driver, then I can help you to clean the ipw3945 driver. |
|
Back to top |
|
 |
cvega n00b


Joined: 03 Sep 2008 Posts: 34 Location: Santiago, Chile
|
Posted: Mon Sep 08, 2008 7:50 pm Post subject: |
|
|
Thanks defenderBG, I notice I didn't have the Intel PRO/Wireless 3945ABG/BG on kernel
Thanks for the info d2_racing I would really like you to help me clean my system from the ip3945 driver. I already emerged iwl3945.
yet wlan0 is not being found.
Oh, and here is emerge --info:
Code: | emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 Intel(R) Core(TM)2 CPU T5200 @ 1.60GHz
Timestamp of tree: Thu, 04 Sep 2008 21:15:01 +0000
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo "
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cli cracklib crypt cups dbus dri fortran gdbm gnome gpm gtk iconv ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl nptlonly openmp oss pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
|
|
Back to top |
|
 |
defenderBG l33t


Joined: 20 Jun 2006 Posts: 817
|
Posted: Mon Sep 08, 2008 9:00 pm Post subject: |
|
|
did you check it with iwconfig again? normaly the wireless interface is eth1, and can be set in udev to have another name(/etc/udev/rules.d/70-persistent-net), for example wlan0.
I will need the following info:
rmmod iwl3945
modprobe iwl3945
dmesg | tail
lsmod |
|
Back to top |
|
 |
cvega n00b


Joined: 03 Sep 2008 Posts: 34 Location: Santiago, Chile
|
Posted: Mon Sep 08, 2008 9:42 pm Post subject: |
|
|
iwconfig shows the same as posted in first post.
here is the info:
Code: |
rmmod iwl3945
ERROR: Module iwl3945 does not exist in /proc/modules |
Code: | modprobe iwl3945
FATAL: Error inserting iwl3945 (/lib/modules/2.6.25-gentoo-r7/kernel/drivers/net/wireless/iwlwifi/iwl3945.ko): Unknown symbol in module, or unknown parameter (see dmesg) |
Code: | dmesg | tail
iwl3945: Unknown symbol ieee80211_start_queues
iwl3945: Unknown symbol ieee80211_tx_status
iwl3945: Unknown symbol ieee80211_stop_queue
iwl3945: Unknown symbol ieee80211_stop_queues
iwl3945: Unknown symbol ieee80211_get_hdrlen
iwl3945: Unknown symbol ieee80211_scan_completed
iwl3945: Unknown symbol ieee80211_unregister_hw
iwl3945: Unknown symbol ieee80211_beacon_get
iwl3945: Unknown symbol ieee80211_register_hwmode
iwl3945: Unknown symbol ieee80211_rx_irqsafe |
Code: | lsmod
Module Size Used by
snd_pcm_oss 37664 0
snd_mixer_oss 16512 1 snd_pcm_oss
snd_seq_oss 30912 0
snd_seq_device 8080 1 snd_seq_oss
snd_seq_midi_event 8832 1 snd_seq_oss
snd_seq 49888 4 snd_seq_oss,snd_seq_midi_event
snd_hda_intel 402196 0
snd_pcm 67080 2 snd_pcm_oss,snd_hda_intel
snd_timer 21712 2 snd_seq,snd_pcm
snd_page_alloc 10064 2 snd_hda_intel,snd_pcm
snd_hwdep 9736 1 snd_hda_intel
snd 52552 9 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq_device,snd_seq,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
soundcore 8608 1 snd
|
And how the kernel is configured (same as the wiki you showed me):
Code: | Networking --->
[*] Networking support
Wireless --->
[*] Improved wireless configuration API
[*] nl80211 new netlink interface support
<*> Generic IEEE 802.11 Networking Stack (mac80211)
[*] Cryptographic API --->
--- Cryptographic API
<*> Cryptographic algorithm manager
<*> SHA1 digest algorithm
<*> SHA224 and SHA256 digest algorithm
<*> ECB support
<*> CBC support
<*> PCBC support
<*> AES cipher algorithms
<*> ARC4 cipher algorithm
<*> Michael MIC keyed digest algorithm |
Code: | Device Drivers --->
[*] Network device support --->
[*] Wireless LAN --->
[*] Wireless LAN (IEEE 802.11)
<M> Intel PRO/Wireless 3945ABG/BG Network Connection
[*] Enable Wireless QoS in iwl3945 driver
[*] Enable Spectrum Measurement in iwl3945 drivers |
|
|
Back to top |
|
 |
defenderBG l33t


Joined: 20 Jun 2006 Posts: 817
|
Posted: Mon Sep 08, 2008 10:13 pm Post subject: |
|
|
I have forgotten to ask you for lspci -vnn (the wireless card part only)
and grep /usr/scr/linux/.config | grep -i iwl
and... reemerged iwl3945-ucode and restart? |
|
Back to top |
|
 |
cvega n00b


Joined: 03 Sep 2008 Posts: 34 Location: Santiago, Chile
|
Posted: Mon Sep 08, 2008 11:20 pm Post subject: |
|
|
lspci -vnn
Code: | 05:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG Network Connection [8086:4222] (rev 02)
Subsystem: Intel Corporation Device [8086:1000]
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at d0100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [e0] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Device Serial Number c9-8f-69-ff-ff-d2-19-00
Kernel modules: ipw3945, iwl3945
|
grep /usr/scr/linux/.config | grep -i iwl
didn't work (terminal got stuck doing nothing), so I had to manually open ./config and select this part (is it useful?)
Code: | # Wireless
#
CONFIG_CFG80211=y
CONFIG_NL80211=y
CONFIG_WIRELESS_EXT=y
CONFIG_MAC80211=y |
EDIT: remerged iwl3945-ucode. Still not working. |
|
Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Sep 09, 2008 1:29 am Post subject: |
|
|
Voila your problem :
Code: |
Kernel modules: ipw3945, iwl3945
|
Can you post this plz :
If you have something, then :
Code: |
# emerge -Cv ipw3945 ipw3945d ipw3945-ucode
|
Also, comment what you have inside for ipw3945:
Code: |
# cat /etc/udev/rules.d/70-persistent-net.rules
|
Reboot your box and post this :
Code: |
# rmmod iwl3945
# modprobe iwl3945
# dmesg | tail
# ifconfig -a
# iwconfig
|
|
|
Back to top |
|
 |
cvega n00b


Joined: 03 Sep 2008 Posts: 34 Location: Santiago, Chile
|
Posted: Tue Sep 09, 2008 1:57 am Post subject: |
|
|
No luck yet, but it seems ipw3945 has been removed.
Here is the info:
rmmod iwl3945
Code: | ERROR: Module iwl3945 does not exist in /proc/modules |
modprobe iwl3945
Code: | FATAL: Error inserting iwl3945 (/lib/modules/2.6.25-gentoo-r7/kernel/drivers/net/wireless/iwlwifi/iwl3945.ko): Unknown symbol in module, or unknown parameter (see dmesg) |
dmesg | tail
Code: | iwl3945: Unknown symbol ieee80211_start_queues
iwl3945: Unknown symbol ieee80211_tx_status
iwl3945: Unknown symbol ieee80211_stop_queue
iwl3945: Unknown symbol ieee80211_stop_queues
iwl3945: Unknown symbol ieee80211_get_hdrlen
iwl3945: Unknown symbol ieee80211_scan_completed
iwl3945: Unknown symbol ieee80211_unregister_hw
iwl3945: Unknown symbol ieee80211_beacon_get
iwl3945: Unknown symbol ieee80211_register_hwmode
iwl3945: Unknown symbol ieee80211_rx_irqsafe
|
ifconfig -a
Code: | eth0 Link encap:Ethernet HWaddr 00:16:D4:AF:BA:D8
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::216:d4ff:feaf:bad8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:36 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6718 (6.5 Kb) TX bytes:3278 (3.2 Kb)
Interrupt:21
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) |
iwconfig
Code: | lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions. |
|
|
Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Sep 09, 2008 2:22 am Post subject: |
|
|
Can you post this :
Code: |
# cd /usr/src && ls -la
|
Also, are you sure that you run this :
Code: |
# make && make modules_install
|
It's very weird that the kernel doesn't see your module :
|
|
Back to top |
|
 |
defenderBG l33t


Joined: 20 Jun 2006 Posts: 817
|
Posted: Tue Sep 09, 2008 3:35 am Post subject: |
|
|
cvega wrote: | grep /usr/scr/linux/.config | grep -i iwl
didn't work (terminal got stuck doing nothing), so I had to manually open ./config and select this part (is it useful?) |
I work on 2 pcs, one is gentoo, the other is ubuntu (but I have no root there). anyway I try the stuff on the gentoo computer and then rewrite it per hand on the ubuntu (15,4 inch laptop vs 22inch pc).
it should be less /usr/scr/linux/.config | grep -i iwl and less /usr/scr/linux/.config | grep -i ipw. |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23226
|
Posted: Tue Sep 09, 2008 11:12 pm Post subject: |
|
|
cvega wrote: |
grep /usr/scr/linux/.config | grep -i iwl
didn't work (terminal got stuck doing nothing), so I had to manually open ./config and select this part (is it useful?) |
The first grep was waiting to see if the data on stdin matched the pattern /usr/scr/linux/.config. This is almost certainly not useful. The original command should have been grep -i iwl /usr/src/linux/.config.
defenderBG: why are you using less to read the file? Grep can read the file for itself. Also, sources are stored in /usr/src/linux, not /usr/scr/linux. |
|
Back to top |
|
 |
cvega n00b


Joined: 03 Sep 2008 Posts: 34 Location: Santiago, Chile
|
Posted: Wed Sep 10, 2008 10:31 pm Post subject: |
|
|
@ d2_racing
Ok, sorry for the delay.
cd /usr/src && ls -la
Code: |
total 12
drwxr-xr-x 3 root root 4096 Sep 5 14:30 .
drwxr-xr-x 14 root root 4096 Sep 5 17:47 ..
-rw-r--r-- 1 root root 0 Jun 17 13:37 .keep
lrwxrwxrwx 1 root root 22 Sep 5 14:30 linux -> linux-2.6.25-gentoo-r7
drwxr-xr-x 22 root root 4096 Sep 8 23:39 linux-2.6.25-gentoo-r7
|
Yes, I always do "make && make install_modules". And also update the /boot/linux with Code: | cp arch/x86_64/boot/bzImage /boot/kernel-2.6.25-gentoo-r7 |
lsmod
Code: |
Module Size Used by
snd_pcm_oss 37664 0
snd_mixer_oss 16512 1 snd_pcm_oss
snd_seq_oss 30912 0
snd_seq_device 8080 1 snd_seq_oss
snd_seq_midi_event 8832 1 snd_seq_oss
snd_seq 49888 4 snd_seq_oss,snd_seq_midi_event
snd_hda_intel 402196 0
snd_pcm 67080 2 snd_pcm_oss,snd_hda_intel
snd_timer 21712 2 snd_seq,snd_pcm
snd_page_alloc 10064 2 snd_hda_intel,snd_pcm
snd_hwdep 9736 1 snd_hda_intel
snd 52552 9 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq_device,snd_seq,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
soundcore 8608 1 snd
|
@defenderBG
less /usr/scr/linux/.config | grep -i iwl
Code: |
/usr/scr/linux/.config: No such file or directory
|
less /usr/scr/linux/.config | grep -i ipw
Code: |
/usr/scr/linux/.config: No such file or directory
|
/.config does exist, but somehow it cannot be found by the previous lines. |
|
Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu Sep 11, 2008 1:58 am Post subject: |
|
|
Try this :
less /usr/src/linux/.config | grep -i ipw |
|
Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu Sep 11, 2008 2:01 am Post subject: |
|
|
Hi, can you post this :
Code: |
# cat /boot/grub/grub.conf
|
It's insane you don't have iwl3945 module when you run lsmod ?
Can you check this :
Code: |
# modprobe -l | grep -i iwl3945
|
You should have :
Code: |
/lib/modules/2.6.26-gentoo-r1/kernel/drivers/net/wireless/iwlwifi/iwl3945.ko
|
|
|
Back to top |
|
 |
cvega n00b


Joined: 03 Sep 2008 Posts: 34 Location: Santiago, Chile
|
Posted: Thu Sep 11, 2008 2:26 am Post subject: |
|
|
cat /boot/grub/grub.conf
Code: | default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Gentoo Linux 2.6.25-r7
root (hd0,0)
kernel /boot/kernel-2.6.25-gentoo-r7 root=/dev/hda5
title Gentoo Linux 2.6.25-r7 (rescue)
root (hd0,0)
kernel /boot/kernel-2.6.25-gentoo-r7 root=/dev/hda5 init=/bin/bb
# vim:ft=conf:
title Windows XP
rootnoverify (hd0,1)
makeactive
chainloader +1 |
modprobe -l | grep -i iwl3945
Code: | /lib/modules/2.6.25-gentoo-r7/kernel/drivers/net/wireless/iwlwifi/iwl3945.ko |
Seems to be fine.
My /etc/conf.d/net has only this:
Code: | # This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
|
Shouldn't I put some "wlan0" info?
@defenderBG
less /usr/src/linux/.config | grep -i iwl
Code: | # CONFIG_IWL4965 is not set
CONFIG_IWL3945=m
CONFIG_IWL3945_QOS=y
CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y
# CONFIG_IWL3945_DEBUG is not set
|
less /usr/src/linux/.config | grep -i ipw
Code: |
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not set
|
|
|
Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu Sep 11, 2008 11:15 am Post subject: |
|
|
Since we see that, can you run this :
Code: |
# rmmod iwl3945
# modprobe iwl3945
# dmesg | tail
# ifconfig -a
# iwconfig
|
For the record, you should see a wlan0 interface and a wmaster0 interface.
Your /etc/conf.d/net should be like this :
Code: |
#WPA_SUPPLICANT
modules=( "wpa_supplicant" )
wpa_supplicant_wlan0_="-Dwext"
config_wlan0=( "dhcp" )
|
Also double check that you have wpa_supplicant package :
If not, run this :
Code: |
# emerge -v net-wireless/wpa_supplicant
|
After that, can you tell me what encryption do you use with your wifi router ?
You will need to configure /etc/wpa/wpa_supplicant.conf to be able to connect to your router. |
|
Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu Sep 11, 2008 11:20 am Post subject: |
|
|
This is an exemple of /etc/wpa/wpa_supplicant.conf
Code: |
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=0
#update_config=1
###### Configuration for WPA2 with encryption AES(CCMP) ######
#network={
# ssid="YOURSSID"
# psk="YOURPassPhrase"
# proto=WPA2
# key_mgmt=WPA-PSK
# pairwise=CCMP
# group=CCMP
# priority=5
#}
#### OR
###### Configuration for WEP ######
network={
ssid="YOURSSID"
scan_ssid=1
priority=5
key_mgmt=NONE
wep_key0=0123456789
wep_tx_keyidx=0
}
|
This is the wep_key0=0123456789, 0123456789 represent the WEP key without any "", you don't need to had some "" when you configure your WEP key. |
|
Back to top |
|
 |
farhaven Tux's lil' helper

Joined: 17 Feb 2008 Posts: 127
|
Posted: Thu Sep 11, 2008 2:27 pm Post subject: |
|
|
Have you noticed the missing symbol complaints from iwl3945 upon module probing? No wonder lsmod won't find it, as it could not be loaded.
To me it looks like you don't have mac80211 compiled into your kernel, though your config states so. Did you copy your new arch/i386/boot/bzImage over to /boot after running make modules_install? |
|
Back to top |
|
 |
cvega n00b


Joined: 03 Sep 2008 Posts: 34 Location: Santiago, Chile
|
Posted: Fri Sep 12, 2008 1:28 am Post subject: |
|
|
Ok, Great News!
I installed the driver for 3945 and mac80211 as modules (not built-in).
Then did what d2_racing told me:
Code: | # rmmod iwl3945
# modprobe iwl3945
# dmesg | tail
# ifconfig -a
# iwconfig |
And now I DO HAVE the wlan0 !!!!!!
Thank you people SO MUCH!
Now I'll try to connect. If I have some troubles I let you know.
Thanks again  |
|
Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Fri Sep 12, 2008 2:45 am Post subject: |
|
|
No problem, if you need help, just post here  |
|
Back to top |
|
 |
cvega n00b


Joined: 03 Sep 2008 Posts: 34 Location: Santiago, Chile
|
Posted: Fri Sep 12, 2008 4:00 am Post subject: |
|
|
Ok, Im back. I've just configure some files. Now how can I establish the connection?. My router use WPA
my /etc/conf.d/net
Code: |
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
# Prefer wpa_supplicant over iwconfig
modules=( "wpa_supplicant" )
#HOME
essid_wlan0="NETGEAR"
config_wlan0=( "dhcp" )
dhcpcd_wlan0="-t 5" # Timeout after 5 seconds
#DEFAULT
preferred_aps=( "NETGEAR" )
|
My /etc/wpa_supplicant/wpa_supplicant.conf
Code: |
# This is a network block that connects to any unsecured access point.
# We give it a low priority so any defined blocks are preferred.
############################################################################
# The below line not be changed otherwise we refuse to work
ctrl_interface=/var/run/wpa_supplicant
# Ensure that only root can read the WPA configuration
ctrl_interface_group=0
network={
ssid="NETGEAR"
psk="my_passwd"
priority=5
}
network={
key_mgmt=NONE
priority=-9999999
}
|
|
|
Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Fri Sep 12, 2008 11:30 am Post subject: |
|
|
Hi, first your /etc/conf.d/net should be like this :
Code: |
#WPA_SUPPLICANT
modules=( "wpa_supplicant" )
wpa_supplicant_wlan0_="-Dwext"
config_wlan0=( "dhcp" )
|
You don't need this line :
Code: |
essid_wlan0="NETGEAR"
#DEFAULT
preferred_aps=( "NETGEAR" )
|
Because it's wpa_supplicant that will handle the your prefered network.
Also, can you post this :
Code: |
# cd /etc/init.d
# ls -la
|
I want to see if you have net.wlan0 inside this directory. |
|
Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Fri Sep 12, 2008 11:34 am Post subject: |
|
|
cvega wrote: | My router use WPA |
Can you give us the spec that you see when you enter the config of your router ?
Like, are you using WPA + TKIP or WPA2 + TKIP or WPA2 + AES.
Finally, can you post this :
This will tell us if your wifi device will try to boot automagically
By the way, if you want to test your wifi connection, you can do this :
Code: |
# rmmod iwl3945
# modprobe iwl3945
# dmesg | tail
# iwconfig
# /etc/init.d/net.wlan0 start
# dmesg
|
With that we can help you with the rest. |
|
Back to top |
|
 |
|