You are not logged in.

#1 2008-10-07 01:15:51

wxiluo
Member
Registered: 2008-09-26
Posts: 18
Website

[solved]Wireless, wlan0 can't be wake up...

I followed the wiki to install my wireless..

At first, all the things are going well..

hwdetect --show-net
modprobe iwl4965
lshwd | grep iwl4965
iwconfig

I can see the wlan0 with using iwconfig...

But I can't find wlan0 with using ifconfig....
So I can't bring it up using "ifconfig wlan0 up"..

Why?

Last edited by wxiluo (2008-10-08 12:11:04)


Linux changed my life~!

Offline

#2 2008-10-07 02:24:50

pointone
Wiki Admin
From: Waterloo, ON
Registered: 2008-02-21
Posts: 379

Re: [solved]Wireless, wlan0 can't be wake up...

Try:

ifconfig wlan0
man ifconfig wrote:

If no arguments are given, ifconfig displays the status of the currently active interfaces.


M*cr*s*ft: Who needs quality when you have marketing?

Offline

#3 2008-10-07 05:20:26

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [solved]Wireless, wlan0 can't be wake up...

You might not even have a wlan0, as wireless devices do not have to be called wlan0.

Often they're just ethX or another name entirely. I''ve set my laptop to use ipw0 (wireless) and rl0 (ethernet).

Offline

#4 2008-10-07 06:01:02

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved]Wireless, wlan0 can't be wake up...

ifconfig shows active interfaces only. Use ifconfig -a.

Better still, use man ifconfig. wink

Offline

#5 2008-10-07 20:52:23

wxiluo
Member
Registered: 2008-09-26
Posts: 18
Website

Re: [solved]Wireless, wlan0 can't be wake up...

when I use ifconfig -a, I can see the wlan0..

But it can't be waken up..

I used "ifconfig wlan0", it can display the information about wlan0..

The problem is whether wlan0 is awake?

If wlan0 is awake, I can scan the wireless, right?  so, I used "iwlist wlan0 scanning", it gave me this error:"err:Network is down"

If I use "ifconfig wlan0 up", it will give me this:"SIOCSIFFLAGS:No such file or directory"

If I use "dhcpcd wlan0", it will give me this:"No such file or directory"

What should I do.....  sad

My laptop is DELL XPS M1530. I'm sure I had turn the wireless button on..
My hardware is supported, I find the name of my hardware in the wiki: "iwlwifi-4965-ucode for Intel Pro/Wireless 4965 AB/G Mini PCI-E".

Here is the link to the wireless setup page: http://wiki.archlinux.org/index.php/Wir … 000-series

Last edited by wxiluo (2008-10-07 21:11:29)


Linux changed my life~!

Offline

#6 2008-10-07 23:40:24

wxiluo
Member
Registered: 2008-09-26
Posts: 18
Website

Re: [solved]Wireless, wlan0 can't be wake up...

Now, I find the main problem...
First, I run "

dmesg -c > /dev/null

"
Then, I run "

ifconfig wlan0 up

" it also give me the error: "SIOCSIFFLAGS:No such file or directory"
I run "

dmesg -c

"
I find the important imformation below:
    *  iwl4965: iwlwifi-4965-1.ucode firmware file req failed: Reason -2

I find the explain in Gentoo Linux wiki:
"

This error indicate a firmware version/filename mismatch. Just rename the file to whatever iwlwifi displays in this case: iwlwifi-4965-1.ucode
    If this fails, try an alternate version, perhaps net-wireless/iwl4965-ucode-228.57.1.21.

"
The newest release of iwlwifi is iwlwifi-4965-ucode-228.57.2.21.tgz     07-07-08 00:17:06 ...

I downloaded it, and cp it to my /root with USB Disk [mkdir /mnt/usb, mount -t vfat /dev/sdb1 /mnt/usb, cp]

First, I need to cp the microcode to the FIRMWARE_DIR..
[Based on the instruction of installing Iwlwifi here: http://intellinuxwireless.org/?p=iwlwif … to-iwlwifi

Determine where to install the file.  You can look in the hotplug script '/etc/hotplug/firmware.agent' to determine which directory FIRMWARE_DIR is set to when the script runs.

]

But I can't find the hotplug script... There is not a hotplug directory at /etc ......

I think I will solve the problem soon, I just need a profeessional guide........:D

Last edited by wxiluo (2008-10-07 23:43:57)


Linux changed my life~!

Offline

#7 2008-10-08 00:21:48

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [solved]Wireless, wlan0 can't be wake up...

Install this package iwlwifi-4965-ucode

Offline

#8 2008-10-08 00:32:47

wxiluo
Member
Registered: 2008-09-26
Posts: 18
Website

Re: [solved]Wireless, wlan0 can't be wake up...

My god~!  If I use the CD the load Archlinux, and ifconfig wlan0 up, it works.........

But why doesn't it go well after I install it to harddisk.....  Is it a bug????


Linux changed my life~!

Offline

#9 2008-10-08 12:10:44

wxiluo
Member
Registered: 2008-09-26
Posts: 18
Website

Re: [solved]Wireless, wlan0 can't be wake up...

The problem is solved by installing the package iwlwifi-4965-ucode.....

I think that problem is that I didn't install the package when I was install Archlinux....


Linux changed my life~!

Offline

Board footer

Powered by FluxBB