You are not logged in.
hi all,
The following are my laptop's configuration:
[root@arch linux-2.6.26-ARCH]# lshwd
00:00.0 Class 0600: Intel Corporation|Mobile Memory Controller Hub (unknown)
00:02.0 Class 0300: Intel Corporation|Mobile Integrated Graphics Controller (vesa)
00:02.1 Class 0380: Intel Corporation|Mobile Integrated Graphics Controller (vesa)
00:1b.0 Class 0403: Intel Corp.|ICH8 HD Audio DID (snd-hda-intel)
00:1c.0 Class 0604: Intel Corporation|PCI Express Port 1 (unknown)
00:1d.0 Class 0c03: Intel Corporation|USB UHCI Controller #1 (unknown)
00:1d.1 Class 0c03: Intel Corporation|USB UHCI Controller #2 (unknown)
00:1d.2 Class 0c03: Intel Corporation|USB UHCI Controller #3 (unknown)
00:1d.7 Class 0c03: Intel Corporation|USB2 EHCI Controller #1 (unknown)
00:1e.0 Class 0604: Intel Corp.|82801 Hub Interface to PCI Bridge (hw_random)
00:1f.0 Class 0601: Intel Corporation|Mobile LPC Interface Controller (unknown)
00:1f.1 Class 0101: Intel Corporation|Mobile IDE Controller (piix)
00:1f.2 Class 0106: Intel Corporation|Mobile SATA Controller cc=AHCI (ahci)
00:1f.3 Class 0c05: Intel Corporation|SMBus Controller (i2c-i801)
01:00.0 Class 0280: Intel Corporation|PRO/Wireless 3945ABG (ipw3945)
02:01.0 Class 0200: Realtek Semiconductor|TTP-Monitoring Card V2.0 (8139too)
---:--- Mouse: Generic PS/2 Wheel Mouse [/dev/psaux] (msintellips/2)
[root@arch linux-2.6.26-ARCH]#
[root@arch linux-2.6.26-ARCH]# lsmod | grep 3945
iwl3945 89332 0
firmware_class 9088 2 iwl3945,iwl4965
mac80211 165280 3 iwl3945,iwl4965,iwlcore
led_class 5508 2 iwl3945,iwlcore
cfg80211 25608 3 iwl3945,iwl4965,mac80211
[root@arch linux-2.6.26-ARCH]#
[root@arch linux-2.6.26-ARCH]# dmesg | grep 3945
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.26ks
iwl3945: Copyright(c) 2003-2008 Intel Corporation
iwl3945: Detected Intel Wireless WiFi Link 3945ABG
iwl3945: Tunable channels: 11 802.11bg, 13 802.11a channels
phy0: Selected rate control algorithm 'iwl-3945-rs'
firmware: requesting iwlwifi-3945-1.ucode
iwl3945: Radio disabled by HW RF Kill switch
iwl3945: Radio disabled by HW RF Kill switch
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.26ks
iwl3945: Copyright(c) 2003-2008 Intel Corporation
iwl3945: Detected Intel Wireless WiFi Link 3945ABG
iwl3945: Tunable channels: 11 802.11bg, 13 802.11a channels
phy1: Selected rate control algorithm 'iwl-3945-rs'
firmware: requesting iwlwifi-3945-1.ucode
iwl3945: Radio disabled by HW RF Kill switch
iwl3945: Radio disabled by HW RF Kill switch
[root@arch linux-2.6.26-ARCH]#
[root@arch linux-2.6.26-ARCH]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11 ESSID:"linksys"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:1947-1001-28
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
[root@arch linux-2.6.26-ARCH]#
[root@arch linux-2.6.26-ARCH]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1B:38:E7:F1:C0
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21b:38ff:fee7:f1c0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15381 errors:0 dropped:0 overruns:0 frame:0
TX packets:13581 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14129188 (13.4 Mb) TX bytes:1663729 (1.5 Mb)
Interrupt:16 Base address:0xe000
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:174 errors:0 dropped:0 overruns:0 frame:0
TX packets:174 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10645 (10.3 Kb) TX bytes:10645 (10.3 Kb)
wlan0 Link encap:Ethernet HWaddr 00:1C:BF:78:21:B6
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-1C-BF-78-21-B6-00-00-00-00-00-00-00-00-00-00
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)
[root@arch linux-2.6.26-ARCH]#
[root@arch linux-2.6.26-ARCH]# uname -a
Linux arch 2.6.26-ARCH #1 SMP PREEMPT Tue Sep 9 10:15:21 UTC 2008 i686 Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz GenuineIntel GNU/Linux
[root@arch linux-2.6.26-ARCH]# cat /etc/rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
## -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Canada/Pacific"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(!8139cp 8139too mii iwl3945 !iwl4965 !ipw3945 snd-mixer-oss snd-pcm-oss !snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore vboxdrv !tun fuse loop)
#MODULES=(8139cp 8139too mii iwl3945 snd-mixer-oss snd-pcm-oss !snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore vboxdrv tun fuse loop)# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="arch"# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#INTERFACES=(eth0)lo="lo 127.0.0.1"
#eth0="eth0 up"
eth0="dhcp"
wlan0="dhcp"
#wlan_wlan0="wlan0 essid MyEssid"
#wlan_wlan0="wlan0 essid MyEssid key 12345678"
#wlan_wlan0="wlan0 essid MyEssid key s:xinsong"
wlan_wlan0="wlan0 essid linksys key 1947100128"
#wlan_wlan0="wlan0 essid linksys"
#INTERFACES=(eth0 wlan0)#br0="dhcp"
INTERFACES=(lo eth0 wlan0)
#INTERFACES=(lo eth0 wlan0 br0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.1.1"
ROUTES=(gateway)
NET_PROFILES=(wireless)# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
NETWORKS=(main)#NETWORKS=(auto-wireless wlan0)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
when I try to start the wireless, got strange error:
[root@arch linux-2.6.26-ARCH]# /etc/rc.d/network restart
:: Stopping Network [DONE]
:: Starting Network [BUSY] > Could not associate wlan0 - try increasing WIRELESS_TIMEOUT and check network is WEP or has no security
SIOCADDRT: File exists
[root@arch linux-2.6.26-ARCH]# iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wmaster0 Interface doesn't support scanning.
wlan0 Interface doesn't support scanning : Network is down
[root@arch linux-2.6.26-ARCH]#
[root@arch linux-2.6.26-ARCH]# ifconfig wlan0 up
SIOCSIFFLAGS: No such device
[root@arch linux-2.6.26-ARCH]#
And I configured a profile for netcfg:
[root@arch network.d]# cat wep
CONNECTION="wireless"
DESCRIPTION="A simple WEP encrypted wireless connection"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wep"
ESSID="linksys"
KEY="1947100128"
IWCONFIG=" essid linksys"
CHANNEL="11"
IP="dhcp"
TIMEOUT=20
GATEWAY="192.168.1.1"
IFOPTS="192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255"
#IWOPTS="mode managed essid $ESSID channel 11 rate auto txpower on"
DHCLIENT=no
[root@arch network.d]#
And when trying using netcfg:
[root@arch network.d]# netcfg2 wep
:: wep up [BUSY] SIOCSIFFLAGS: No such device
wlan0 Interface doesn't support scanning : Network is down
wlan0 Interface doesn't support scanning : Network is down
^C
[root@arch network.d]#
I suspect it's the kernel problem, any one else have encountered the same or similar error?
Thanks,
Offline
You are mixing 2 seperate ways to connect to the network: the one with the network-daemon (which is legacy) and the one with net-profiles-daemon (netcfg).
In your rc.conf you should keep the lines
HOSTNAME="arch"
NETWORKS=(wep)
Everything else should be commented out.
Next you should load the net-profiles daemon and not the network-daemon.
Then you should start with simplifying your wep-profile:
CONNECTION="wireless"
DESCRIPTION="A simple WEP encrypted wireless connection"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wep"
ESSID="linksys"
KEY="1947100128"
IP="dhcp"
TIMEOUT=20
This should suffice. If you need QUIRKS, then the wiki should help you isolate the necessary ones.
Your card should be well supported - maybe you should blacklist the ipw3945-module in rc.conf to avoid module conflicts (iwl3945 should be the better option)
Zl.
Offline
Hi zenlord,
Did as you said, still got the same error;
[root@arch network.d]# netcfg2 wep
:: wep up [BUSY] SIOCSIFFLAGS: No such device
wlan0 Interface doesn't support scanning : Network is down
wlan0 Interface doesn't support scanning : Network is down
wlan0 Interface doesn't support scanning : Network is down
wlan0 Interface doesn't support scanning : Network is down
^C
[root@arch network.d]#
Offline
I've got a hp6510b and had also problems, bringing up my wlan0-device.
It just works for me, if i unplug eth0. Then I can run "ifconfig wlan0 up" without problems.
But i dont know, why it isnt working without that.
Maybe you should try too.
Offline
what does the msg ::: SIOCSIFFLAGS: No such device ::: means?
I think it's not a config problem, but it's a kernel problem. seems someone also got this kind of error with kernel 2.6.26.
Offline
Well I bought a Linksys WAG200A router today. First time I was gonna try to go wireless since going to arch.
wlan0 shows up in /proc/net/dev and /proc/net/wireless but I can't activate it
[ hofa@kasparov ~ ]
[ $> sudo ifconfig wlan0 up
SIOCSIFFLAGS: No such device
oh yeah, I've got an Intel 3945, so I installed wireless_tools, iwlwifi-3945-ucode, iwl3945 (which is in my rc.conf)
Has anyone ever been able to solve this?
Last edited by hofa (2009-02-04 17:55:16)
Offline
ballbb, I think this:
iwl3945: Radio disabled by HW RF Kill switch
from your logs posted would mean that you didn't turn on your wireless radio button on your laptop. Should be on the side, front or back (near USB hubs).
Last edited by ckristi (2009-02-04 19:14:05)
In love I believe and in Linux I trust
Offline
Hofa: please open a topic by yourself instead of hijacking someone else's, thank you .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline