Strona 1 z 1

System nie wykrywa poprawnie karty WIFI - IBM T30

: 24 września 2012, 22:33
autor: Thor999
Witam.

Jestem początkującym użytkownikiem i mam problem z instalacją sterowników do Debiana wersja jądra:

Kod: Zaznacz cały

Linux ARM 2.6.32-5-686 #1 SMP Sun May 6 04:01:19 UTC 2012 i686 GNU/Linux

Kod: Zaznacz cały

lspci

00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB Controller #3 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
02:00.0 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
02:00.1 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
02:02.0 Network controller: Intersil Corporation Prism 2.5 Wavelan chipset (rev 01)
02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
07:00.0 USB Controller: NEC Corporation USB (rev 41)
07:00.1 USB Controller: NEC Corporation USB (rev 41)
07:00.2 USB Controller: NEC Corporation USB 2.0 (rev 02)

Kod: Zaznacz cały

lspci -n

00:00.0 0600: 8086:1a30 (rev 04)
00:01.0 0604: 8086:1a31 (rev 04)
00:1d.0 0c03: 8086:2482 (rev 02)
00:1d.1 0c03: 8086:2484 (rev 02)
00:1d.2 0c03: 8086:2487 (rev 02)
00:1e.0 0604: 8086:2448 (rev 42)
00:1f.0 0601: 8086:248c (rev 02)
00:1f.1 0101: 8086:248a (rev 02)
00:1f.3 0c05: 8086:2483 (rev 02)
00:1f.5 0401: 8086:2485 (rev 02)
00:1f.6 0703: 8086:2486 (rev 02)
01:00.0 0300: 1002:4c57
02:00.0 0607: 104c:ac55 (rev 01)
02:00.1 0607: 104c:ac55 (rev 01)
02:02.0 0280: 1260:3873 (rev 01)
02:08.0 0200: 8086:1031 (rev 42)
07:00.0 0c03: 1033:0035 (rev 41)
07:00.1 0c03: 1033:0035 (rev 41)
07:00.2 0c03: 1033:00e0 (rev 02)
System nie wykrywa poprawnie karty WIFI jaką mam włożoną w komputerze IBM T30. Przeszukałem internet i niestety nie znalazłem informacji o sterownikach do tej karty. Za pomocą pakietu WICD czasem uda mi się znaleźć jakąś sieć, ale często jest tak, że nic nie widzi.

Kod: Zaznacz cały

ifconfig

eth0      Link encap:Ethernet  HWaddr 00:09:6b:bf:d5:bd            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)


eth1      Link encap:Ethernet  HWaddr 00:05:3c:09:1a:70  
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::205:3cff:fe09:1a70/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2544 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2311 errors:2 dropped:2 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1705253 (1.6 MiB)  TX bytes:508361 (496.4 KiB)

Kod: Zaznacz cały

iwconfig

eth1      IEEE 802.11b  ESSID:"ARM_LINUX"            Mode:Managed  Frequency:2.412 GHz  Access Point: 5A:E4:12:2B:41:CC   
          Bit Rate:11 Mb/s   
          Retry short limit:8   RTS thr :o ff   Fragment thr :o ff
          Encryption key :o ff
          Power Management :o ff
          Link Quality=92/70  Signal level=5 dBm  Noise level=-143 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

W przypadku gdy mam ruter ustawiony bez szyfrowania to czasem uda mi się połączyć z siecią. Natomiast gdy jest jakieś szyfrowanie to odrzuca każde połączenie błędnym hasłem.

Będę wdzięczny za każdą pomoc.

Pozdrawiam Bartek.

: 25 września 2012, 04:32
autor: Rafal_F
To widziałeś? https://wiki.archlinux.org/index.php/IBM_ThinkPad_T30
Według powyższego linku ta karta sieciowa może pracować na 2-ch różnych modułach, sprawdź na jakim teraz działa i może spróbuj na tym drugim.

: 25 września 2012, 20:06
autor: Thor999
Witam.
Niestety, ani pakiet hostap ani orinoco nie wykryły karty WIFI poprawnie. Tzn. tak samo działa jak przed instalacją.

Pliku rc.conf nie mam.

Kod: Zaznacz cały

udev in Arch does a pretty good job of detecting the T30's hardware. I modified the MODULES line in /etc/rc.conf as follows:
Jedyne pliki (katalogi) w /etc/

Kod: Zaznacz cały

rc0.d
rc1.d
rc2.d
rc3.d
rc4.d
rc5.d
rc6.d
rc.local
rcS.d

Części

Kod: Zaznacz cały

Networking 

The asignment of interface names to the wired and wireless ethernet adapters is a function of the order in which the modules load and complete their initializtion. This can make network configuration difficult because on one boot cycle the wireless may be eth0 but on the next boot it may be eth1. It should be possible to rename the interfaces through udev rules, but I had little success with that. 

I solved the problem using the nameif utility. nameif uses the file /etc/mactab to associate ethernet adapter MAC addresses to interface names. My /etc/mactab is as follows:
Za bardzo nie rozumiem, oraz nie posiadam pliku mactab w katalogu /etc.

Pozdrawiam Bartek

: 25 września 2012, 20:13
autor: Rafal_F
Ale eksperymentowałeś z modułami? Wklej tu wyniki poleceń:

Kod: Zaznacz cały

dmesg
lsmod.

Edycja:
To lista modułów jakie wspierają twoją kartę, wraz z opisem instalacji. Sprawdź po kolei (zacznij od 1):
  1. http://wiki.debian.org/hostap
  2. http://wiki.debian.org/orinoco
  3. http://wiki.debian.org/linux-wlan-ng

: 25 września 2012, 20:50
autor: Thor999
Witam.

Wynik polecenia:

Kod: Zaznacz cały

lsmod

Module                  Size  Used byspeedstep_ich           1765  0 
speedstep_lib           2468  1 speedstep_ich
cpufreq_powersave        602  0 
cpufreq_conservative     4018  0 
cpufreq_userspace       1480  0 
cpufreq_stats           1997  0 
sco                     5885  2 
bridge                 33031  0 
stp                      996  1 bridge
bnep                    7452  2 
rfcomm                 25199  0 
l2cap                  21721  6 bnep,rfcomm
crc16                   1027  1 l2cap
bluetooth              36319  6 sco,bnep,rfcomm,l2cap
binfmt_misc             4907  1 
uinput                  4796  1 
fuse                   44272  1 
loop                    9769  0 
usbhid                 28016  0 
hid                    50909  1 usbhid
ohci_hcd               16999  0 
pcmcia                 16194  0 
radeon                511848  2 
ttm                    33502  1 radeon
snd_intel8x0           19595  1 
snd_intel8x0m           8100  0 
snd_ac97_codec         79152  2 snd_intel8x0,snd_intel8x0m
ac97_bus                 710  1 snd_ac97_codec
drm_kms_helper         18569  1 radeon
thinkpad_acpi          41995  0 
hostap_pci             34628  2 
yenta_socket           16403  3 
snd_pcm                47222  3 snd_intel8x0,snd_intel8x0m,snd_ac97_codec
rfkill                 10264  4 bluetooth,thinkpad_acpi
drm                   112053  4 radeon,ttm,drm_kms_helper
rsrc_nonstatic          7057  1 yenta_socket
snd_seq                35463  0 
hostap                 76764  1 hostap_pci
pcmcia_core            20450  3 pcmcia,yenta_socket,rsrc_nonstatic
i2c_i801                6462  0 
i2c_algo_bit            3493  1 radeon
led_class               1757  1 thinkpad_acpi
parport_pc             15799  0 
snd_timer              12270  2 snd_pcm,snd_seq
nsc_ircc               10283  0 
battery                 3782  0 
i2c_core               12787  5 radeon,drm_kms_helper,drm,i2c_i801,i2c_algo_bit
ac                      1640  0 
video                  14605  0 
joydev                  6739  0 
parport                22554  1 parport_pc
rng_core                2178  0 
snd_seq_device          3673  1 snd_seq
output                  1204  1 video
nvram                   3985  1 thinkpad_acpi
lib80211                2870  2 hostap_pci,hostap
shpchp                 21200  0 
button                  3598  0 
processor              26327  1 
snd                    34415  9 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm,snd_seq,snd_timer,snd_seq_device
pci_hotplug            18545  1 shpchp
pcspkr                  1207  0 
evdev                   5609  20 
irda                   75956  1 nsc_ircc
soundcore               3450  1 snd
snd_page_alloc          5045  3 snd_intel8x0,snd_intel8x0m,snd_pcm
crc_ccitt               1039  1 irda
psmouse                44837  0 
serio_raw               2916  0 
ext3                   94396  1 
jbd                    32401  1 ext3
mbcache                 3762  1 ext3
sg                     19937  0 
sr_mod                 10770  0 
cdrom                  26435  1 sr_mod
sd_mod                 26013  3 
crc_t10dif              1012  1 sd_mod
ata_generic             2247  0 
ata_piix               17736  2 
e100                   22317  0 
libata                115869  2 ata_generic,ata_piix
uhci_hcd               16057  0 
thermal                 9206  0 
floppy                 40923  0 
mii                     2714  1 e100
ehci_hcd               28689  0 
scsi_mod              105001  4 sg,sr_mod,sd_mod,libata
thermal_sys             9378  3 video,processor,thermal
usbcore                99321  5 usbhid,ohci_hcd,uhci_hcd,ehci_hcd
nls_base                4541  1 usbcore

Natomiast:

Kod: Zaznacz cały

dmesg |grep wlan0 

[    7.295642] wifi0: registered netdevice wlan0[   36.264040] wlan0: no IPv6 routers present
[  888.332056] wlan0: no IPv6 routers present
[  889.476965] prism2: wlan0: operating mode changed 3 -> 1
[  900.472041] wlan0: no IPv6 routers present
[  901.050162] prism2: wlan0: operating mode changed 1 -> 2
[  903.079524] wlan0: CMD=0x0121 => res=0x7f, resp0=0x0004
[  903.079535] wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc04, len=34)
[  903.088938] wlan0: CMD=0x0121 => res=0x7f, resp0=0x0004
[  903.088951] wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc03, len=2)
[  903.097445] wlan0: Preferred AP (SIOCSIWAP) is used only in Managed mode when host_roaming is enabled
[  911.208037] wlan0: no IPv6 routers present
root@ARM:/home/bartek# dmesg|grep wireless
root@ARM:/home/bartek# dmesg|grep wireles
root@ARM:/home/bartek# dmesg|grep network
[    0.968783] Initalizing network drop monitor service

oraz:

Kod: Zaznacz cały

dmesg|grep wifi0

[    7.084527] hostap_pci: Registered netdevice wifi0[    7.084536] wifi0: Original COR value: 0x0
[    7.290370] wifi0: NIC: id=0x8013 v1.0.0
[    7.290533] wifi0: PRI: id=0x15 v1.1.0
[    7.290791] wifi0: STA: id=0x1f v1.4.9
[    7.291840] wifi0: defaulting to bogus WDS frame as a workaround for firmware bug in Host AP mode WDS
[    7.294253] wifi0: Intersil Prism2.5 PCI: mem=0xf8000000, irq=11
[    7.295642] wifi0: registered netdevice wlan0
[  878.001075] wifi0: Deauthenticate all stations
[  889.464504] wifi0: Deauthenticate all stations
[  889.812202] wifi0: LinkStatus=1 (Connected)
[  889.812427] wifi0: LinkStatus: BSSID=5a:e4:12:2b:41:cc
[  900.632094] wifi0: hfa384x_cmd: entry still in list? (entry=efdfadc0, type=0, res=0)
[  900.632112] wifi0: hfa384x_cmd: command was not completed (res=0, entry=efdfadc0, type=0, cmd=0x0002, param0=0x0000, EVSTAT=8001 INTEN=0010)
[  901.212442] wifi0: hfa384x_setup_bap - offset error (0,0x04127,0); reg=0x4000
[  901.212449] wifi0: prism2_tx_80211 - to BAP0 failed
[  901.212476] wifi0: scheduled card reset
[  901.212481] hostap_pci: wifi0: resetting card
[  901.212487] wifi0: Original COR value: 0x0
[  901.684164] wifi0: LinkStatus=1 (Connected)
[  901.684466] wifi0: LinkStatus: BSSID=5a:e4:12:2b:41:cc

Nie wklejam calego dmeseg bo jest tego bardzo duzo.

Zauważyłem, że po instalacji hostap zmieniły mi się nazwy z eth1 na wifi0 oraz wlan0.

Polecenie:

Kod: Zaznacz cały

iwconfig

wifi0     IEEE 802.11b  ESSID:"ARM_LINUX"            Mode:Managed  Frequency:2.412 GHz  Access Point: 5A:E4:12:2B:41:CC   
          Bit Rate:11 Mb/s   
          Retry short limit:8   RTS thr :o ff   Fragment thr :o ff
          Encryption key :o ff
          Power Management :o ff
          
wlan0     IEEE 802.11b  ESSID:"ARM_LINUX"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 5A:E4:12:2B:41:CC   
          Bit Rate:11 Mb/s   
          Retry short limit:8   RTS thr :o ff   Fragment thr :o ff
          Encryption key :o ff
          Power Management :o ff
          Link Quality=50/70  Signal level=-43 dBm  Noise level=-94 dBm
          Rx invalid nwid:0  Rx invalid crypt:900  Rx invalid frag:0
          Tx excessive retries:3  Invalid misc:202   Missed beacon:0

oraz:

Kod: Zaznacz cały

ifconfig

wifi0     Link encap:UNSPEC  HWaddr 00-05-3C-09-1A-70-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:1 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:11 Base address:0xc000 


wlan0     Link encap:Ethernet  HWaddr 00:05:3c:09:1a:70  
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::205:3cff:fe09:1a70/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2411 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:1345703 (1.2 MiB)  TX bytes:0 (0.0 B)
          Interrupt:11 Base address:0xc000 
wifi0 natomiast ma jakiś dziwny adres MAC z tymi zerami.

Teraz zastosuję się do Twoich uwag odnośnie instalacji i konfiguracji hostap i reszty. Jak przeprowadzę konfigurację hostap zdam relację.

Pozdrawiam Bartek