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


Joined: 03 Jun 2008 Posts: 27 Location: near Barcelona (Spain)
|
Posted: Thu Oct 09, 2008 10:12 pm Post subject: [SOLVED] wlan0 does not exist at startup |
|
|
Hello,
Yesterday I upgraded all the system, and now wireless does not work (I've used it without problems during weeks, it's a Intel 4965).
On startup, I get this error:
| Code: | /etc/init.d/net.wlan0 restart
* Bringing up interface wlan0
* ERROR: interface wlan0 does not exist
* Ensure that you have loaded the correct kernel module for your hardware
* ERROR: net.wlan0 failed to start
|
If I try
wlan starts, but I'm not able to use wpa_supplicant, restart shows this: | Code: | /etc/init.d/net.wlan0 restart
* Bringing down interface wlan0
* Stopping wpa_cli on wlan0 ... [ ok ]
* Stopping wpa_supplicant on wlan0 ... [ ok ]
* Bringing up interface wlan0
* Starting wpa_supplicant on wlan0 ... [ ok ]
* Starting wpa_cli on wlan0 ... [ ok ]
* Backgrounding ... ...
* WARNING: net.wlan0 has started, but is inactive |
I tried to downgraded wpa_supplicant (from 0.6.4 to 0.5.10), udev (from 130 to 129 and 128), last versions I remember working, also I downgraded some other packages I upgraded on last sync, but anything change.
What can I do? What I'm doing wrong!?
Sorry for my english I don't know if it's good. Thanks in advance for all 
Last edited by zephir on Mon Oct 13, 2008 8:12 am; edited 1 time in total |
|
| Back to top |
|
 |
notHerbert Advocate


Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Fri Oct 10, 2008 3:02 am Post subject: |
|
|
| What does ifconfig -a say ? Did your /etc/conf.d/net file somehow get overwritten during upgrade ? |
|
| Back to top |
|
 |
zephir n00b


Joined: 03 Jun 2008 Posts: 27 Location: near Barcelona (Spain)
|
Posted: Fri Oct 10, 2008 5:49 am Post subject: |
|
|
| Code: | ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1b:38:24:db:2a
inet addr:192.168.15.18 Bcast:192.168.15.255 Mask:255.255.255.0
inet6 addr: fe80::21b:38ff:fe24:db2a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:97 errors:0 dropped:0 overruns:0 frame:0
TX packets:108 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:96822 (94.5 KiB) TX bytes:14067 (13.7 KiB)
Interrupt:17
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:216 errors:0 dropped:0 overruns:0 frame:0
TX packets:216 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12256 (11.9 KiB) TX bytes:12256 (11.9 KiB)
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) |
After using modprobe iwl4965, ifconfig changes:
| Code: | ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1b:38:24:db:2a
inet addr:192.168.15.18 Bcast:192.168.15.255 Mask:255.255.255.0
inet6 addr: fe80::21b:38ff:fe24:db2a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:173 errors:0 dropped:0 overruns:0 frame:0
TX packets:185 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:131414 (128.3 KiB) TX bytes:52698 (51.4 KiB)
Interrupt:17
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:566 errors:0 dropped:0 overruns:0 frame:0
TX packets:566 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:31936 (31.1 KiB) TX bytes:31936 (31.1 KiB)
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)
wlan0 Link encap:Ethernet HWaddr 00:13:e8:81:c8:ff
UP 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)
wmaster0 Link encap:UNSPEC HWaddr 00-13-E8-81-C8-FF-65-74-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING 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)
|
/etc/conf.d/net is the same before and after upgrade. Here it is:
| Code: | modules_wlan0="wpa_supplicant !plug"
wpa_supplicant_wlan0="-Dwext"
#wpa_timeout_wlan0=5
#config_wlan0="dhcp"
#dhcpcd_wlan0="-t 2"
#dhcp_wlan0="nontp nonis"
#modules_eth0="!plug"
config_eth0="dhcpcd"
dhcpcd_eth0="-t 10"
#ifplugd_eth0="--api-mode=wlan0"
#plug_timeout="10" |
Yep, I found this on dmesg (I don't know if it's normal):
| Code: | iwl4965: Intel(R) Wireless WiFi Link 4965AGN driver for Linux, 1.2.26kds
iwl4965: Copyright(c) 2003-2008 Intel Corporation
ACPI: PCI Interrupt 0000:0c:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:0c:00.0 to 64
iwl4965: Detected Intel Wireless WiFi Link 4965AGN
iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
phy0: Selected rate control algorithm 'iwl-4965-rs'
ACPI: PCI interrupt for device 0000:0c:00.0 disabled
input: 4965AGN as /devices/pci0000:00/0000:00:1c.5/0000:0c:00.0/input/input7
ACPI: PCI Interrupt 0000:0c:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PM: Writing back config space on device 0000:0c:00.0 at offset 1 (was 40100102, writing 40100106)
firmware: requesting iwlwifi-4965-1.ucode
Registered led device: iwl-phy0:radio
Registered led device: iwl-phy0:assoc
Registered led device: iwl-phy0:RX
Registered led device: iwl-phy0:TX
ADDRCONF(NETDEV_UP): wlan0: link is not ready |
|
|
| Back to top |
|
 |
notHerbert Advocate


Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
|
| Back to top |
|
 |
zephir n00b


Joined: 03 Jun 2008 Posts: 27 Location: near Barcelona (Spain)
|
Posted: Sun Oct 12, 2008 8:24 am Post subject: |
|
|
Ok, thanks a lot!
I've followed the guide using all configuration on the post and now I'm able to use wpa_supplicant to connect, but every time I boot I have to run modprobe iwl4965.
I don't make it [SOLVED] in order to find a solution. |
|
| Back to top |
|
 |
zephir n00b


Joined: 03 Jun 2008 Posts: 27 Location: near Barcelona (Spain)
|
Posted: Mon Oct 13, 2008 8:11 am Post subject: |
|
|
Finally I found the solution to my problem.
I've recompiled kernel with Wireless MAC and 4965 Drivers, inside the kernel, with [*], not with [M]. Now I've everything working. |
|
| Back to top |
|
 |
|