View previous topic :: View next topic |
Author |
Message |
deF1NE n00b
Joined: 25 Nov 2008 Posts: 33 Location: Russia
|
Posted: Tue Nov 25, 2008 9:59 pm Post subject: |
|
|
Hey, guys.
I've got a similar problem with Intel Wireless WiFi 5000AGN on x86_64 gentoo.
I've comiled 2.6.27-gentoo-r2 kernel with Intel 5000AGN support, emerged net-wireless/iwl5000-ucode. And I've got the folowing things:
Code: | dv5 define # ifconfig wlan0 up
dv5 define # dmesg | grep iwl
iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27k
iwlagn: Copyright(c) 2003-2008 Intel Corporation
iwlagn 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
iwlagn 0000:02:00.0: setting latency timer to 64
iwlagn: Detected Intel Wireless WiFi Link 5100AGN REV=0x54
iwlagn: Tunable channels: 13 802.11bg, 24 802.11a channels
iwlagn 0000:02:00.0: PCI INT A disabled
phy0: Selected rate control algorithm 'iwl-agn-rs'
iwlagn 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
iwlagn 0000:02:00.0: restoring config space at offset 0x1 (was 0x100002, writing 0x100006)
firmware: requesting iwlwifi-5000-1.ucode
iwlagn: Radio disabled by HW RF Kill switch |
Code: | dv5 define # lspci -k | grep -A 1 -i network
02:00.0 Network controller: Intel Corporation Device 4237
Kernel driver in use: iwlagn |
What's wrong?
I haven't seen this device working on 64 bits systems, thow on x86 it's working. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Nov 25, 2008 10:54 pm Post subject: |
|
|
Can you check that your switch is on on your laptop ?
Also, did you enable the rf switch inside the kernel.
If so, disable it inside your kernel and recompile it. |
|
Back to top |
|
|
deF1NE n00b
Joined: 25 Nov 2008 Posts: 33 Location: Russia
|
Posted: Wed Nov 26, 2008 1:40 am Post subject: |
|
|
The problem is that hw switch doesn't work.
Refering to this it shoud work just after compiling the kernel.
RF switch was enabled in my kernel. I've tried to disable it and recompile the kernel the result is the same.
Wireless LAN section of my .config is here:
Code: |
# Wireless LAN
#
# CONFIG_WLAN_PRE80211 is not set
CONFIG_WLAN_80211=y
# CONFIG_PCMCIA_RAYCS is not set
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not set
# CONFIG_LIBERTAS is not set
# CONFIG_AIRO is not set
# CONFIG_HERMES is not set
# CONFIG_ATMEL is not set
# CONFIG_AIRO_CS is not set
# CONFIG_PCMCIA_WL3501 is not set
# CONFIG_PRISM54 is not set
# CONFIG_USB_ZD1201 is not set
# CONFIG_USB_NET_RNDIS_WLAN is not set
# CONFIG_RTL8180 is not set
# CONFIG_RTL8187 is not set
# CONFIG_ADM8211 is not set
# CONFIG_MAC80211_HWSIM is not set
# CONFIG_P54_COMMON is not set
# CONFIG_ATH5K is not set
# CONFIG_ATH9K is not set
CONFIG_IWLWIFI=y
CONFIG_IWLCORE=y
CONFIG_IWLWIFI_LEDS=y
CONFIG_IWLWIFI_RFKILL=n
# CONFIG_IWLWIFI_DEBUG is not set
CONFIG_IWLAGN=y
# CONFIG_IWLAGN_SPECTRUM_MEASUREMENT is not set
CONFIG_IWLAGN_LEDS=y
# CONFIG_IWL4965 is not set
CONFIG_IWL5000=y
# CONFIG_IWL3945 is not set
# CONFIG_HOSTAP is not set
# CONFIG_B43 is not set
# CONFIG_B43LEGACY is not set
# CONFIG_ZD1211RW is not set
# CONFIG_RT2X00 is not set |
And when I press WiFi button on my laptop I see in dmesg the following:
Code: | atkbd.c: Unknown key pressed (translated set 2, code 0xf6 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e076 <keycode>' to make it known.
atkbd.c: Unknown key released (translated set 2, code 0xe4 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e064 <keycode>' to make it known.
|
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Nov 26, 2008 12:58 pm Post subject: |
|
|
Hi, for your switch problem, make sure that you have disable this section :
Code: |
(M) RF switch subsystem support
(M) Input layer to RF switch connector
|
You don't need this since your hardware swtich doesn't work on Linux. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Nov 26, 2008 8:10 pm Post subject: |
|
|
Hi, since you have a iwl5000, you can remove this :
Code: |
# emerge -Cv iwl4965-ucode
|
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu Nov 27, 2008 2:28 pm Post subject: |
|
|
deF1NE wrote: | I've tried different combinations:
Code: | CONFIG_TIMERFD=y
CONFIG_MICROCODE_OLD_INTERFACE=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
# CONFIG_RFKILL is not set
# CONFIG_RFD_FTL is not set
# CONFIG_IWLWIFI_RFKILL is not set
# CONFIG_REISERFS_FS is not set
CONFIG_DEBUG_STACKOVERFLOW=y |
Code: | CONFIG_TIMERFD=y
CONFIG_MICROCODE_OLD_INTERFACE=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_RFKILL=y
CONFIG_RFKILL_INPUT=m
CONFIG_RFKILL_LEDS=y
# CONFIG_RFD_FTL is not set
CONFIG_IWLWIFI_RFKILL=y
# CONFIG_REISERFS_FS is not set
CONFIG_DEBUG_STACKOVERFLOW=y |
Code: | CONFIG_TIMERFD=y
CONFIG_MICROCODE_OLD_INTERFACE=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_RFKILL=y
CONFIG_RFKILL_INPUT=m
CONFIG_RFKILL_LEDS=y
# CONFIG_RFD_FTL is not set
# CONFIG_IWLWIFI_RFKILL is not set
# CONFIG_REISERFS_FS is not set
CONFIG_DEBUG_STACKOVERFLOW=y
|
And the result is the same:
Code: | dv5 define # dmesg | grep iwl
iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27k
iwlagn: Copyright(c) 2003-2008 Intel Corporation
iwlagn 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
iwlagn 0000:02:00.0: setting latency timer to 64
iwlagn: Detected Intel Wireless WiFi Link 5100AGN REV=0x54
iwlagn: Tunable channels: 13 802.11bg, 24 802.11a channels
iwlagn 0000:02:00.0: PCI INT A disabled
phy0: Selected rate control algorithm 'iwl-agn-rs'
iwlagn 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
iwlagn 0000:02:00.0: restoring config space at offset 0x1 (was 0x100002, writing 0x100006)
firmware: requesting iwlwifi-5000-1.ucode
iwlagn: Radio disabled by HW RF Kill switch
|
|
Hi, for the sake of this thread, can you create a new thread deF1NE |
|
Back to top |
|
|
NathanZachary Moderator
Joined: 30 Jan 2007 Posts: 2609
|
Posted: Thu Nov 27, 2008 5:13 pm Post subject: |
|
|
Split appropriate posts from this thread as this problem regards a different WNIC driver. _________________ “Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio--- |
|
Back to top |
|
|
deF1NE n00b
Joined: 25 Nov 2008 Posts: 33 Location: Russia
|
Posted: Thu Nov 27, 2008 5:31 pm Post subject: |
|
|
kalos wrote: | Split appropriate posts from this thread as this problem regards a different WNIC driver. |
Thank you. It's easier to watch this thread. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu Nov 27, 2008 5:52 pm Post subject: |
|
|
Hi, are you sure that your rf switch is not compile inside your kernel.
If so, disable it and retry this :
Code: |
# rmmod iwlagn
# modprobe iwlagn
# dmesg | tail
# ifconfig -a
# iwconfig
|
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu Nov 27, 2008 5:56 pm Post subject: |
|
|
Also, double check that physically that your wifi switch is enable on your laptop too |
|
Back to top |
|
|
deF1NE n00b
Joined: 25 Nov 2008 Posts: 33 Location: Russia
|
Posted: Thu Nov 27, 2008 5:58 pm Post subject: |
|
|
It must be enabled because it's working in vista. |
|
Back to top |
|
|
deF1NE n00b
Joined: 25 Nov 2008 Posts: 33 Location: Russia
|
Posted: Thu Nov 27, 2008 6:08 pm Post subject: Iwlwifi_rfkill |
|
|
And if the IWLWIFI_RFKILL shoud be disables too? |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu Nov 27, 2008 6:23 pm Post subject: |
|
|
Yes and after that run the commands that I have asked. |
|
Back to top |
|
|
deF1NE n00b
Joined: 25 Nov 2008 Posts: 33 Location: Russia
|
Posted: Thu Nov 27, 2008 6:42 pm Post subject: |
|
|
Here it is.
Code: | dv5 define # rmmod iwlagn
dv5 define # modprobe iwlagn
dv5 define # dmesg | tail
nvidia 0000:01:00.0: setting latency timer to 64
NVRM: loading NVIDIA UNIX x86_64 Kernel Module 177.82 Tue Nov 4 16:50:05 PST 2008
CE: hpet increasing min_delta_ns to 15000 nsec
iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
iwlagn: Copyright(c) 2003-2008 Intel Corporation
iwlagn 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
iwlagn 0000:02:00.0: setting latency timer to 64
iwlagn: Detected Intel Wireless WiFi Link 5100AGN REV=0x54
iwlagn: Tunable channels: 13 802.11bg, 24 802.11a channels
phy1: Selected rate control algorithm 'iwl-agn-rs'
dv5 define # ifconfig -a
dummy0 Link encap:Ethernet HWaddr da:f6:fc:ab:a4:e2
BROADCAST NOARP 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 00:1e:68:99:a3:4c
inet addr:10.10.10.1 Bcast:10.10.10.31 Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1142 errors:0 dropped:6996432599 overruns:0 frame:0
TX packets:1058 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:944864 (922.7 KiB) TX bytes:229625 (224.2 KiB)
Interrupt:56 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
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)
tunl0 Link encap:IPIP Tunnel HWaddr
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:16:ea:4a:ea:1c
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-16-EA-4A-EA-1C-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)
dv5 define # iwconfig
lo no wireless extensions.
dummy0 no wireless extensions.
eth0 no wireless extensions.
tunl0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11abgn ESSID:""
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:off
Power Management:off
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
dv5 define # |
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu Nov 27, 2008 8:50 pm Post subject: |
|
|
Hi, what do you have :
Code: |
# rc-update show
# cd /etc/init.d/ && ls-la
|
Do you have any entry about net.wlan0 ?
Last edited by d2_racing on Fri Nov 28, 2008 6:50 pm; edited 1 time in total |
|
Back to top |
|
|
deF1NE n00b
Joined: 25 Nov 2008 Posts: 33 Location: Russia
|
Posted: Fri Nov 28, 2008 3:58 am Post subject: |
|
|
d2_racing wrote: | Hi, what do you have :
Code: |
# rc-update show
# cd /etc/init.d/ && ls-la
|
Do you have any entry about net.wlan0 ? |
No, I don't. And what entry should be there?
Code: | dv5 define # rc-update show
alsasound | boot
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
dbus | default
hald | default
hostname | boot
keymaps | boot
local | default nonetwork
localmount | boot
modules | boot
net.lo | boot
netmount | default
pbbuttonsd | default
rmnologin | boot
syslog-ng | default
urandom | boot
vixie-cron | default
xdm | default
dv5 init.d # cd /etc/init.d/ && ls -la
итого 272
drwxr-xr-x 2 root root 4096 Ноя 27 22:53 .
drwxr-xr-x 71 root root 4096 Ноя 28 06:48 ..
-rwxr-xr-x 1 root root 6557 Ноя 20 14:03 alsasound
-rwxr-xr-x 1 root root 3661 Июн 17 05:51 bootmisc
-rwxr-xr-x 1 root root 1188 Июн 17 05:51 checkfs
-rwxr-xr-x 1 root root 3226 Июн 17 05:51 checkroot
-rwxr-xr-x 1 root root 3054 Июн 17 05:51 clock
-rwxr-xr-x 1 root root 1429 Июн 17 05:51 consolefont
-rwxr-xr-x 1 root root 540 Ноя 18 03:31 consolekit
-rwxr-xr-x 1 root root 1722 Июн 17 06:15 crypto-loop
-rwxr-xr-x 1 root root 286 Ноя 18 04:02 cupsd
-rwxr-xr-x 1 root root 1152 Ноя 23 22:55 dbus
lrwxrwxrwx 1 root root 21 Ноя 17 21:28 depscan.sh -> ../../sbin/depscan.sh
-rwxr-xr-x 1 root root 627 Ноя 18 03:03 device-mapper
-rwxr-xr-x 1 root root 1989 Ноя 27 17:42 dhcpd
-rwxr-xr-x 1 root root 736 Ноя 27 17:42 dhcrelay
-rwxr-xr-x 1 root root 660 Ноя 18 03:31 dmcrypt
-rwxr-xr-x 1 root root 547 Ноя 18 03:03 dmeventd
-rwxr-xr-x 1 root root 998 Ноя 18 02:57 dnsextd
-rwxr-xr-x 1 root root 993 Ноя 24 01:32 esound
lrwxrwxrwx 1 root root 23 Ноя 17 21:28 functions.sh -> ../../sbin/functions.sh
-rwxr-xr-x 1 root root 951 Июн 17 05:52 gpm
-rwxr-xr-x 1 root root 1111 Ноя 23 22:56 hald
-rwxr-xr-x 1 root root 5606 Июн 17 05:51 halt.sh
-rwxr-xr-x 1 root root 433 Июн 17 05:51 hostname
-rwxr-xr-x 1 root root 808 Ноя 20 09:45 irexec
-rwxr-xr-x 1 root root 1874 Июн 17 05:51 keymaps
-rwxr-xr-x 1 root root 581 Ноя 20 09:45 lircd
-rwxr-xr-x 1 root root 466 Ноя 20 09:45 lircmd
-rwxr-xr-x 1 root root 546 Ноя 18 09:20 lisa
-rwxr-xr-x 1 root root 620 Июн 17 05:51 local
-rwxr-xr-x 1 root root 2088 Июн 17 05:51 localmount
-rwxr-xr-x 1 root root 845 Ноя 18 02:57 mdnsd
-rwxr-xr-x 1 root root 1247 Ноя 18 02:57 mDNSResponderPosix
-rwxr-xr-x 1 root root 2947 Июн 17 05:51 modules
-rwxr-xr-x 1 root root 557 Ноя 24 01:39 nas
lrwxrwxrwx 1 root root 6 Ноя 17 21:28 net.eth0 -> net.lo
-rwxr-xr-x 1 root root 30696 Июн 17 05:51 net.lo
-rwxr-xr-x 1 root root 3311 Июн 17 05:51 netmount
-rwxr-xr-x 1 root root 1566 Ноя 24 22:50 nscd
-rwxr-xr-x 1 root root 670 Июн 17 05:51 numlock
-rwxr-xr-x 1 root root 472 Ноя 27 22:53 pbbuttonsd
-rwxr-xr-x 1 root root 1228 Ноя 18 05:17 pe-format
-rwxr-xr-x 1 root root 636 Ноя 24 01:26 pulseaudio
-rwxr-xr-x 1 root root 538 Ноя 18 03:16 pwcheck
-rwxr-xr-x 1 root root 666 Ноя 27 20:42 pydoc-2.5
-rwxr-xr-x 1 root root 304 Июн 17 05:15 reboot.sh
-rwxr-xr-x 1 root root 557 Ноя 18 09:20 reslisa
-rwxr-xr-x 1 root root 276 Июн 17 05:51 rmnologin
-rwxr-xr-x 1 root root 558 Ноя 18 01:04 rsyncd
lrwxrwxrwx 1 root root 23 Ноя 17 21:28 runscript.sh -> ../../sbin/runscript.sh
-rwxr-xr-x 1 root root 1133 Ноя 18 04:07 samba
-rwxr-xr-x 1 root root 525 Ноя 18 03:16 saslauthd
-rwxr-xr-x 1 root root 385 Июн 17 05:15 shutdown.sh
-rwxr-xr-x 1 root root 2114 Ноя 18 01:34 sshd
-rwxr-xr-x 1 root root 817 Ноя 27 10:43 svnserve
-rwxr-xr-x 1 root root 1894 Ноя 17 22:09 syslog-ng
-rwxr-xr-x 1 root root 510 Ноя 18 01:13 udev-postmount
-rwxr-xr-x 1 root root 942 Июн 17 05:51 urandom
-rwxr-xr-x 1 root root 530 Ноя 17 22:09 vixie-cron
-rwxr-xr-x 1 root root 5207 Ноя 18 03:46 xdm
-rwxr-xr-x 1 root root 868 Ноя 18 02:53 xinetd |
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Fri Nov 28, 2008 4:58 pm Post subject: |
|
|
Hi, you need this to have a working Wifi :
Code: |
# cd /etc/init.d
# ln -s net.lo net.wlan0
|
Also, can you post this :
Code: |
# cat /etc/conf.d/net
# equery list wpa
# cat /etc/wpa_supplicant/wpa_supplicant.conf
|
|
|
Back to top |
|
|
deF1NE n00b
Joined: 25 Nov 2008 Posts: 33 Location: Russia
|
Posted: Fri Nov 28, 2008 5:20 pm Post subject: |
|
|
d2_racing wrote: | Hi, you need this to have a working Wifi :
Code: |
# cd /etc/init.d
# ln -s net.lo net.wlan0
|
Also, can you post this :
Code: |
# cat /etc/conf.d/net
# equery list wpa
# cat /etc/wpa_supplicant/wpa_supplicant.conf
|
|
I've added wlan0 to init.d, but result is the same. Wireless is swithed off:
Code: | dv5 init.d # ln -s net.lo net.wlan0
dv5 init.d # /etc/init.d/net.
net.eth0 net.lo net.wlan0
dv5 init.d # /etc/init.d/net.wlan0 start
* Caching service dependencies ... [ ok ]
* Starting wlan0
* Configuring wireless network for wlan0
* no access points found
* Couldn't find any access points on wlan0
* Failed to configure wireless for wlan0 [ !! ]
dv5 init.d # ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:16:ea:4a:ea:1c
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)
dv5 init.d # ifconfig wlan0 up
dv5 init.d # ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:16:ea:4a:ea:1c
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)
dv5 init.d # dmesg | grep iwl
iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
iwlagn: Copyright(c) 2003-2008 Intel Corporation
iwlagn 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
iwlagn 0000:02:00.0: setting latency timer to 64
iwlagn: Detected Intel Wireless WiFi Link 5100AGN REV=0x54
iwlagn: Tunable channels: 13 802.11bg, 24 802.11a channels
iwlagn 0000:02:00.0: PCI INT A disabled
phy0: Selected rate control algorithm 'iwl-agn-rs'
iwlagn 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
iwlagn 0000:02:00.0: restoring config space at offset 0x1 (was 0x100002, writing 0x100006)
firmware: requesting iwlwifi-5000-1.ucode
iwlagn: Radio disabled by HW RF Kill switch
iwlagn 0000:02:00.0: PCI INT A disabled
iwlagn 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
iwlagn 0000:02:00.0: restoring config space at offset 0x1 (was 0x100002, writing 0x100006)
iwlagn: Radio disabled by HW RF Kill switch
|
And here are things you've asked:
Code: | dv5 init.d # cat /etc/conf.d/net
# 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 :]!).
config_eth0=("dhcp")
routes_eth0=("default via 10.10.10.254")
dv5 init.d # equery list wpa
[ Searching for package 'wpa' in all categories among: ]
* installed packages
[I--] [ ] net-wireless/wpa_supplicant-0.5.7 (0)
dv5 init.d # cat /etc/wpa_supplicant/wpa_supplicant.conf
# This is a network block that connects to any unsecured access point.
# We give it a low priority so any defined blocks are preferred.
network={
key_mgmt=NONE
priority=-9999999
}
|
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Fri Nov 28, 2008 5:23 pm Post subject: |
|
|
Hi, first we need to tweak your /etc/conf.d/net like this :
Add theses lines :
Code: |
#WPA_SUPPLICANT
modules=( "wpa_supplicant" )
wpa_supplicant_wlan0_="-Dwext"
config_wlan0=( "dhcp" )
|
After that, can you tell me about your wifi installation ? Do you use any encryption at all ? |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Fri Nov 28, 2008 5:34 pm Post subject: |
|
|
If you use WPA2, then you can tweak my config :
Code: |
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=0
#update_config=1
network={
ssid="your_SSID"
psk="your_PASSPHRASE"
proto=WPA2
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
priority=5
}
|
|
|
Back to top |
|
|
deF1NE n00b
Joined: 25 Nov 2008 Posts: 33 Location: Russia
|
Posted: Fri Nov 28, 2008 6:10 pm Post subject: |
|
|
I've done that:
Code: | dv5 define # cat /etc/conf.d/net
# 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 :]!).
config_eth0=("dhcp")
routes_eth0=("default via 10.10.10.254")
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=0
#update_config=1
network={
ssid="Wnet"
psk="Fuck%Them^All"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
priority=5
dv5 define # |
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Fri Nov 28, 2008 6:44 pm Post subject: |
|
|
Hi, this config is inside /etc/wpa_supplicant/wpa_supplicant.conf
Code: |
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=0
#update_config=1
network={
ssid="Wnet"
psk="Fuck%Them^All"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
priority=5
}
|
Last edited by d2_racing on Fri Nov 28, 2008 6:46 pm; edited 1 time in total |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Fri Nov 28, 2008 6:45 pm Post subject: |
|
|
And inside /etc/conf.d/net, you need to have this :
Code: |
config_eth0=("dhcp")
routes_eth0=("default via 10.10.10.254")
#WPA_SUPPLICANT
modules=( "wpa_supplicant" )
wpa_supplicant_wlan0_="-Dwext"
config_wlan0=( "dhcp" )
|
Sorry if you have miss understood. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Fri Nov 28, 2008 6:47 pm Post subject: |
|
|
After that, reboot your box and run this :
Code: |
# su -
# /etc/init.d/net.wlan0 start
# dmesg | tail
# iwconfig
# ifconfig -a
|
|
|
Back to top |
|
|
deF1NE n00b
Joined: 25 Nov 2008 Posts: 33 Location: Russia
|
Posted: Fri Nov 28, 2008 7:10 pm Post subject: |
|
|
I've got it - changed my configs as you said.
Code: | dv5 define # /etc/init.d/net.wlan0 start
* WARNING: net.wlan0 has already been started.
dv5 define # dmesg | tail
XFS mounting filesystem sda2
Ending clean XFS mount for filesystem: sda2
Adding 4008176k swap on /dev/sda5. Priority:-1 extents:1 across:4008176k
r8169: eth0: link up
r8169: eth0: link up
iwlagn 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
iwlagn 0000:02:00.0: restoring config space at offset 0x1 (was 0x100002, writing 0x100006)
firmware: requesting iwlwifi-5000-1.ucode
iwlagn: Radio disabled by HW RF Kill switch
CE: hpet increasing min_delta_ns to 15000 nsec
dv5 define # iwconfig
lo no wireless extensions.
dummy0 no wireless extensions.
eth0 no wireless extensions.
tunl0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11abgn ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=15 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management:off
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
dv5 define # ifconfig -a
dummy0 Link encap:Ethernet HWaddr 9e:3c:b1:35:87:94
BROADCAST NOARP 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 00:1e:68:99:a3:4c
inet addr:10.10.10.1 Bcast:10.10.10.31 Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:983 errors:0 dropped:16732523068 overruns:0 frame:0
TX packets:871 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:840620 (820.9 KiB) TX bytes:201934 (197.2 KiB)
Interrupt:56 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
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)
tunl0 Link encap:IPIP Tunnel HWaddr
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:16:ea:4a:ea:1c
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-16-EA-4A-EA-1C-00-00-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)
dv5 define # |
There's still a string
Code: | iwlagn: Radio disabled by HW RF Kill switch |
in dmesg. And wireless doesn't work.
And should hw switch work in this situatuon? Or we've disabled it in the kernel and wlan0 interface can be up just with ifconfig wlan0 up? |
|
Back to top |
|
|
|