LINUX.ORG.RU

WiFi в OpenSUSE


0

0

Всем привет

Есть OpenSUSE 11, ноут на котором оно установлено, wi-fi карточка в ноуте, D-Link DWL-G700AP на стене.

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:D4:18:CF:C9
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::216:d4ff:fe18:cfc9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10807 errors:0 dropped:0 overruns:0 frame:0
TX packets:10513 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6717270 (6.4 Mb) TX bytes:1475264 (1.4 Mb)
Interrupt:22

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:280 errors:0 dropped:0 overruns:0 frame:0
TX packets:280 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20176 (19.7 Kb) TX bytes:20176 (19.7 Kb)

wlan0 Link encap:Ethernet HWaddr 00:16:CF:34:1C:3E
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-CF-34-1C-3E-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)

# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"sabo"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:0123-4567-89
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

Вроде всё должно быть хорошо, но вот проблема в этом:

# iwlist wlan0 scan
wlan0 No scan results

т.е. не может найти сеть.

На точке доступа такие настройки:
Mode: Access Point
SSID: sabo
Channel: 1
Authentication: Open System
WEP: Enabled
WEP Encryption: 64Bit
Key Type: Hex (10 char.)

С этой точкой мой wi-fi всегда нормально работал (под виндой и под AltLinux'ом), а вот теперь в упор её не замечает. В какую сторону копать? Может, драйвера из коробки OpenSUSE плохие?

★★

Ответ на: Re: WiFi в OpenSUSE от Vanilin

Re: WiFi в OpenSUSE

# ifconfig wlan0 192.168.0.103
# iwlist wlan0 scan
wlan0 No scan results

SaBo ★★ ()

Re: WiFi в OpenSUSE

# echo 'blacklist ath5k' >> /etc/modprobe.d/blacklist (или что там в зюзе).
# rmmod ath5k
# modprobe ath_pci (возможно для этого придётся madwifi собрать).

INFOMAN ★★★★★ ()
Ответ на: Re: WiFi в OpenSUSE от koolig

Re: WiFi в OpenSUSE

У меня такие же симптомы были на ath5k (в смысле, девайс видит, а не работает). Вот и предположил что это оно.

INFOMAN ★★★★★ ()
Ответ на: Re: WiFi в OpenSUSE от INFOMAN

Re: WiFi в OpenSUSE

2INFOMAN:

Тут проблема такая есть:

# echo 'blacklist ath5k' >> /etc/modprobe.d/blacklist
# ifconfig

eth0 Link encap:Ethernet HWaddr 00:16:D4:18:CF:C9
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::216:d4ff:fe18:cfc9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3336 errors:0 dropped:0 overruns:0 frame:0
TX packets:2368 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4532437 (4.3 Mb) TX bytes:206572 (201.7 Kb)
Interrupt:22 Base address:0x2000

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:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:340 (340.0 b) TX bytes:340 (340.0 b)

wlan0 Link encap:Ethernet HWaddr 00:16:CF:34:1C:3E
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-CF-34-1C-3E-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)

# rmmod ath5k
# ifconfig -a

eth0 Link encap:Ethernet HWaddr 00:16:D4:18:CF:C9
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::216:d4ff:fe18:cfc9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3336 errors:0 dropped:0 overruns:0 frame:0
TX packets:2368 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4532437 (4.3 Mb) TX bytes:206572 (201.7 Kb)
Interrupt:22 Base address:0x2000

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:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:340 (340.0 b) TX bytes:340 (340.0 b)

# modprobe ath_pci
FATAL: Module ath_pci not found.

Т.е. исчезает интерфейз WiFi'я и модема. Madwifi собрал из пакетов.

SaBo ★★ ()
Ответ на: Re: WiFi в OpenSUSE от koolig

Re: WiFi в OpenSUSE

2koolig:

# lspci
00:00.0 Host bridge: ATI Technologies Inc Device 5a31 (rev 01)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80)
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 83)
00:14.1 IDE interface: ATI Technologies Inc IXP SB400 IDE Controller (rev 80)
00:14.2 Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller (rev 01)
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80)
01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M]
09:02.0 Ethernet controller: Atheros Communications Inc. AR2413 802.11bg NIC (rev 01)
09:04.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
09:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

# lsmod
Module Size Used by
nls_utf8 18432 1
ip6t_LOG 23428 7
xt_tcpudp 19584 2
xt_pkttype 18304 3
ipt_LOG 22788 8
xt_limit 19076 15
binfmt_misc 28040 1
snd_pcm_oss 64256 0
snd_mixer_oss 33408 1 snd_pcm_oss
snd_seq 73664 0
snd_seq_device 25100 1 snd_seq
af_packet 38656 2
ip6t_REJECT 21376 3
nf_conntrack_ipv6 33528 4
ipt_REJECT 20352 3
xt_state 18944 8
iptable_mangle 19712 0
iptable_nat 23688 0
nf_nat 35736 1 iptable_nat
iptable_filter 19840 1
ip6table_mangle 19584 0
nf_conntrack_netbios_ns 19200 0
nf_conntrack_ipv4 27652 7 iptable_nat,nf_nat
nf_conntrack 79188 6 nf_conntrack_ipv6,xt_state,iptable_nat,nf_nat,nf_conntrack_netbios_ns,nf_conntr ack_ipv4
ip_tables 30224 3 iptable_mangle,iptable_nat,iptable_filter
ip6table_filter 19712 1
ip6_tables 31376 3 ip6t_LOG,ip6table_mangle,ip6table_filter
x_tables 33668 11 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,ipt_REJECT,xt_state, iptable_nat,ip_tables,ip6_tables
ipv6 281064 17 ip6t_REJECT,nf_conntrack_ipv6,ip6table_mangle
microcode 30608 0
fuse 66332 3
loop 35332 0
dm_mod 78676 0
arc4 18432 0
ecb 20096 0
crypto_blkcipher 36356 1 ecb
pcmcia 55924 0
firmware_class 25984 2 microcode,pcmcia
8139too 43008 0
acer_wmi 27572 0
snd_hda_intel 386588 3
mac80211 190612 0
8139cp 39808 0
video 39312 0
yenta_socket 43020 1
led_class 21764 1 acer_wmi
ac 22916 0
output 20224 1 video
ati_agp 25484 0
battery 31108 0
snd_pcm 100100 2 snd_pcm_oss,snd_hda_intel
mii 21888 2 8139too,8139cp
container 21504 0
rtc_cmos 27168 0
rsrc_nonstatic 29696 1 yenta_socket
snd_timer 40712 2 snd_seq,snd_pcm
cfg80211 35592 1 mac80211
sr_mod 33320 1
rtc_core 37148 1 rtc_cmos
pcmcia_core 55188 3 pcmcia,yenta_socket,rsrc_nonstatic
shpchp 50196 0
i2c_piix4 25484 0
wmi 24488 1 acer_wmi
agpgart 50868 1 ati_agp
snd_page_alloc 27400 2 snd_hda_intel,snd_pcm
cdrom 50588 1 sr_mod
button 25360 0
rtc_lib 19328 1 rtc_core
snd_hwdep 26372 1 snd_hda_intel
i2c_core 41108 1 i2c_piix4
pci_hotplug 46116 1 shpchp
joydev 28224 0
snd 79544 14 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_time r,snd_hwdep
serio_raw 23428 0
soundcore 24264 1 snd
sg 52020 0
usbhid 60260 0
hid 53708 1 usbhid
ff_memless 21896 1 usbhid
sd_mod 45208 4
ehci_hcd 52492 0
ohci_hcd 39940 0
usbcore 164812 4 usbhid,ehci_hcd,ohci_hcd
edd 26440 0
ext3 155912 2
mbcache 25348 1 ext3
jbd 73504 1 ext3
fan 22660 0
pata_atiixp 24320 4
libata 176604 1 pata_atiixp
scsi_mod 168436 4 sr_mod,sg,sd_mod,libata
dock 27536 1 libata
thermal 40348 0
processor 67504 2 thermal

SaBo ★★ ()
Ответ на: Re: WiFi в OpenSUSE от SaBo

Re: WiFi в OpenSUSE

Чувствую, ядро мне пересобирать? =)

SaBo ★★ ()
Ответ на: Re: WiFi в OpenSUSE от INFOMAN

Re: WiFi в OpenSUSE

Теперь другая проблема:

#ifconfig
ath0 Link encap:Ethernet HWaddr 00:16:CF:34:1C:3E
inet6 addr: fe80::216:cfff:fe34:1c3e/64 Scope:Link
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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

eth0 Link encap:Ethernet HWaddr 00:16:D4:18:CF:C9
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::216:d4ff:fe18:cfc9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2853 errors:0 dropped:0 overruns:0 frame:0
TX packets:2107 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3883409 (3.7 Mb) TX bytes:198656 (194.0 Kb)
Interrupt:22 Base address:0xc000

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:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:340 (340.0 b) TX bytes:340 (340.0 b)

wifi0 Link encap:UNSPEC HWaddr 00-16-CF-34-1C-3E-30-30-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:29 errors:0 dropped:0 overruns:0 frame:5135
TX packets:139 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:199
RX bytes:2227 (2.1 Kb) TX bytes:6394 (6.2 Kb)
Interrupt:21

# echo 'blacklist ath5k' >> /etc/modprobe.d/blacklist
# rmmod ath5k
ERROR: Module ath5k does not exist in /proc/modules
# modprobe ath_pci

WiFi поменял название с wlan0 на wifi0 и ath5k не видит...

/proc/modules:

ath_pci 113056 0 - Live 0xeccf4000
nls_utf8 18432 1 - Live 0xecccd000
ip6t_LOG 23428 7 - Live 0xeccc0000
xt_tcpudp 19584 2 - Live 0xecc90000
xt_pkttype 18304 3 - Live 0xecc96000
ipt_LOG 22788 8 - Live 0xeccad000
xt_limit 19076 15 - Live 0xecc50000
binfmt_misc 28040 1 - Live 0xecc88000
af_packet 38656 4 - Live 0xecc5e000
snd_pcm_oss 64256 0 - Live 0xecc9c000
snd_mixer_oss 33408 1 snd_pcm_oss, Live 0xecc69000
snd_seq 73664 0 - Live 0xecc75000
snd_seq_device 25100 1 snd_seq, Live 0xecc56000
ip6t_REJECT 21376 3 - Live 0xed481000
nf_conntrack_ipv6 33528 4 - Live 0xed431000
ipt_REJECT 20352 3 - Live 0xed407000
xt_state 18944 8 - Live 0xed401000
iptable_mangle 19712 0 - Live 0xed217000
iptable_nat 23688 0 - Live 0xecf12000
nf_nat 35736 1 iptable_nat, Live 0xed427000
iptable_filter 19840 1 - Live 0xed0b9000
ip6table_mangle 19584 0 - Live 0xed0b3000
nf_conntrack_netbios_ns 19200 0 - Live 0xed07e000
nf_conntrack_ipv4 27652 7 iptable_nat,nf_nat, Live 0xed3f9000
nf_conntrack 79188 6 nf_conntrack_ipv6,xt_state,iptable_nat,nf_nat,nf_conntrack_netbios_ns,nf_conntr ack_ipv4, Live 0xed412000
ip_tables 30224 3 iptable_mangle,iptable_nat,iptable_filter, Live 0xed3f0000
ip6table_filter 19712 1 - Live 0xed044000
ip6_tables 31376 3 ip6t_LOG,ip6table_mangle,ip6table_filter, Live 0xed3e7000
x_tables 33668 11 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,ipt_REJECT,xt_state, iptable_nat,ip_tables,ip6_tables, Live 0xed113000
ipv6 281064 17 ip6t_REJECT,nf_conntrack_ipv6,ip6table_mangle, Live 0xed43b000
microcode 30608 0 - Live 0xed10a000
fuse 66332 3 - Live 0xed205000
loop 35332 0 - Live 0xed0ea000
dm_mod 78676 0 - Live 0xed21d000
pcmcia 55924 0 - Live 0xed0fb000
firmware_class 25984 2 microcode,pcmcia, Live 0xed0e2000
wlan_scan_sta 29568 1 - Live 0xed033000
ath_rate_sample 28544 1 - Live 0xed03c000
snd_hda_intel 386588 3 - Live 0xed11e000
8139too 43008 0 - Live 0xecfe8000
acer_wmi 27572 0 - Live 0xed02b000
yenta_socket 43020 1 - Live 0xecf9e000
snd_pcm 100100 2 snd_pcm_oss,snd_hda_intel, Live 0xed04a000
rtc_cmos 27168 0 - Live 0xecfe0000
video 39312 0 - Live 0xecfd5000
snd_timer 40712 2 snd_seq,snd_pcm, Live 0xecfca000
rsrc_nonstatic 29696 1 yenta_socket, Live 0xecfc1000
fglrx 1780132 0 - Live 0xed233000 (P)
rtc_core 37148 1 rtc_cmos, Live 0xecfb6000
wlan 216780 4 ath_pci,wlan_scan_sta,ath_rate_sample, Live 0xecff5000
8139cp 39808 0 - Live 0xecfab000
output 20224 1 video, Live 0xecf83000
snd_page_alloc 27400 2 snd_hda_intel,snd_pcm, Live 0xecf96000
battery 31108 0 - Live 0xecf8d000
rtc_lib 19328 1 rtc_core, Live 0xecf7d000
led_class 21764 1 acer_wmi, Live 0xecf19000
snd_hwdep 26372 1 snd_hda_intel, Live 0xecefb000
pcmcia_core 55188 3 pcmcia,yenta_socket,rsrc_nonstatic, Live 0xecf23000
container 21504 0 - Live 0xecf0b000
snd 79544 14 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_time r,snd_hwdep, Live 0xecf68000
ati_agp 25484 0 - Live 0xecf03000
ac 22916 0 - Live 0xeceed000
ath_hal 208208 3 ath_pci,ath_rate_sample, Live 0xecf34000 (P)
mii 21888 2 8139too,8139cp, Live 0xecef4000
i2c_piix4 25484 0 - Live 0xeceb7000
wmi 24488 1 acer_wmi, Live 0xecebf000
shpchp 50196 0 - Live 0xecedf000
sr_mod 33320 1 - Live 0xeced5000
button 25360 0 - Live 0xece72000
sg 52020 0 - Live 0xecec7000
soundcore 24264 1 snd, Live 0xece7a000
agpgart 50868 2 fglrx,ati_agp, Live 0xecea9000
joydev 28224 0 - Live 0xecdab000
i2c_core 41108 1 i2c_piix4, Live 0xece9d000
pci_hotplug 46116 1 shpchp, Live 0xece90000
cdrom 50588 1 sr_mod, Live 0xece82000
serio_raw 23428 0 - Live 0xece3b000
usbhid 60260 0 - Live 0xece52000
hid 53708 1 usbhid, Live 0xece63000
ff_memless 21896 1 usbhid, Live 0xece34000
sd_mod 45208 4 - Live 0xece1c000
ehci_hcd 52492 0 - Live 0xece44000
ohci_hcd 39940 0 - Live 0xece29000
usbcore 164812 4 usbhid,ehci_hcd,ohci_hcd, Live 0xecdc6000
edd 26440 0 - Live 0xecda3000
ext3 155912 2 - Live 0xecdf4000
mbcache 25348 1 ext3, Live 0xecd9b000
jbd 73504 1 ext3, Live 0xecdb3000
fan 22660 0 - Live 0xecd69000
pata_atiixp 24320 4 - Live 0xec85a000
libata 176604 1 pata_atiixp, Live 0xecd3c000
scsi_mod 168436 4 sr_mod,sg,sd_mod,libata, Live 0xecd70000
dock 27536 1 libata, Live 0xec831000
thermal 40348 0 - Live 0xec84f000
processor 67504 2 thermal, Live 0xec83d000

SaBo ★★ ()
Ответ на: Re: WiFi в OpenSUSE от INFOMAN

Re: WiFi в OpenSUSE

Вот, все-таки есть телепаты на ЛОР'е ;)

koolig ()
Ответ на: Re: WiFi в OpenSUSE от SaBo

Re: WiFi в OpenSUSE

Поздравляю. Как-то давно тоже с madwifi проблемы были. У меня дело было в загрузке модуля wlan_scan_sta. Автоматом не грузился.

koolig ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.