Portál AbcLinuxu, 18. července 2025 09:50


Dotaz: eeepc 900 - wifi - chybi moznost nastaveni

4.7.2008 12:38 jakub
eeepc 900 - wifi - chybi moznost nastaveni
Přečteno: 687×
Odpovědět | Admin
resim problem s wifi - na live distribuci (xubuntu) bezi, ale z instalace (ktera je udelana z te live) na pocitaci nikoliv - lspci wifi najde

http://www.corey-m.com/blog/?p=309 nasel jsem si toto a vyzkousel - od madwifi jsem nakonec dohled drivery dva - jednak madwifi-ng-r366+ar5007, jednak madwifi-ng-r2756+ar5007, nicmene ani jeden se mi dle uvedeneho navodu nepodarilo nainstalovat - zvadne to na casti "make .." kdy dojde na chyby (pripadne pak poslu konkretne jake) - nicmene sirikam, jestli by to nejak neslo vyresit obdobne jako s tou sitovkou - za momentek doplnim informace lspci,lsmod ...
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

4.7.2008 12:46 jakub
Rozbalit Rozbalit vše Re: eeepc 900 - wifi - chybi moznost nastaveni
Odpovědět | | Sbalit | Link | Blokovat | Admin
takze nejprve co ukaze nejake zjistovani na live distribuci
ubuntu@ubuntu:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 04)
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
01:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
03:00.0 Ethernet controller: Attansic Technology Corp. L2 100 Mbit Ethernet Adapter (rev a0)
ubuntu@ubuntu:~$ lsmod | grep ath
ath_rate_sample        15232  1 
ath_pci               114600  0 
wlan                  211120  4 wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal               280544  3 ath_rate_sample,ath_pci
ifconfig -a
wifi0     Link encap:UNSPEC  HWaddr 00-15-AF-A2-5D-8D-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:40 errors:0 dropped:0 overruns:0 frame:8
          TX packets:216 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:199 
          RX bytes:3974 (3.8 KB)  TX bytes:9936 (9.7 KB)
          Interrupt:18 
iwconfig
ubuntu@ubuntu:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:""  Nickname:""
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power:17 dBm   Sensitivity=1/1  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=0/70  Signal level=-105 dBm  Noise level=-105 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
7.7.2008 07:36 jakub
Rozbalit Rozbalit vše Re: eeepc 900 - wifi - chybi moznost nastaveni
ŘEŠENÍ

Tedy - po castecnem povyseni systemu, ktere skoncilo tak neuspesne, ze pocitac ani nenabootoval (kdoviproc :D) jsem nainstaloval system z live-usb uplne znovu a VSE se nainstalovalo korektne - vcetne lan i wifi.

Neznam tedy "jemne reseni" (bez nutnosti reinstall), ale znam pricinu.

Kdyz jsem naposledy mel zapnuty origo xandros linux, tak jsem zrejme nechtene vypnul wifi (Fn+F2). Timto se zrejme vypne az na urovni biosu. Pri nasledne instalaci xubuntu se pak nenainstaluji nejen ovladace wifi, ale zrejme i sitovky. Resp. minimalne laik jako ja to proste trivialne "neda" :-)

Kdyz jsem nyni provedl instalaci vcetne v biosu zapnute wifi, tak vse probehlo jak ma.

Timto vsem ochotnym dekuji za rady a trpelivost.
4.7.2008 12:57 jakub
Rozbalit Rozbalit vše Re: eeepc 900 - wifi - chybi moznost nastaveni
Odpovědět | | Sbalit | Link | Blokovat | Admin
a nyni co vypise instalace na disku
jakub@eee900:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 04)
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
01:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
03:00.0 Ethernet controller: Attansic Technology Corp. L2 100 Mbit Ethernet Adapter (rev a0)
jakub@eee900:~$ lsmod | grep ath
jakub@eee900:~$ ifconfig -a
eth0      Zapouzdření:Ethernet  HWadr 00:1F:C6:E7:86:48  
          inet adr:10.10.10.10  Všesměr:10.10.10.255  Maska:255.255.255.0
          inet6-adr: fe80::21f:c6ff:fee7:8648/64 Rozsah:Linka
          AKTIVOVÁNO VŠESMĚROVÉ_VYSÍLÁNÍ BĚŽÍ MULTICAST  MTU:1500  Metrika:1
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:1
          kolizí:0 délka odchozí fronty:1000 
          Přijato bajtů: 916 (916.0 b) Odesláno bajtů: 0 (0.0 b)
          Paměť:fbfc0000-fc000000 

lo        Zapouzdření:Místní smyčka  
          inet adr:127.0.0.1  Maska:255.0.0.0
          inet6-adr: ::1/128 Rozsah:Počítač
          AKTIVOVÁNO SMYČKA BĚŽÍ  MTU:16436  Metrika:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          kolizí:0 délka odchozí fronty:0 
          Přijato bajtů: 0 (0.0 b) Odesláno bajtů: 0 (0.0 b)

jakub@eee900:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

jakub@eee900:~$ 
4.7.2008 15:07 Standa Kříž | skóre: 8 | Karlovy Vary
Rozbalit Rozbalit vše Re: eeepc 900 - wifi - chybi moznost nastaveni
Odpovědět | | Sbalit | Link | Blokovat | Admin
Jakou chybu to při kompilaci hodí?

Tip. Máte nainstalován linux-headers-`uname -r`?
4.7.2008 15:54 jakub
Rozbalit Rozbalit vše Re: eeepc 900 - wifi - chybi moznost nastaveni
uname -r jakub@eee900:~/madwifi-ng-r2756+ar5007$ uname -r 2.6.22-15-generic

chyby pri kompilaci viz nize cast vypisu vynechavam (prostredek - vyzniva to tak, ze se vicemene opakuje jedna chyba)
jakub@eee900:~/madwifi-ng-r2756+ar5007$ make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.22-15-generic/build SUBDIRS=/home/jakub/madwifi-ng-r2756+ar5007 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-15-generic'
  CC [M]  /home/jakub/madwifi-ng-r2756+ar5007/ath/if_ath.o
  CC [M]  /home/jakub/madwifi-ng-r2756+ar5007/ath/if_ath_pci.o
  LD [M]  /home/jakub/madwifi-ng-r2756+ar5007/ath/ath_pci.o
  CC [M]  /home/jakub/madwifi-ng-r2756+ar5007/ath_hal/ah_os.o
  HOSTCC  /home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c: In function 'uudecode_usage':
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c: At top level:
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c: In function 'main':
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:121: error: for each function it appears in.)
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
... vynechavam ...
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/home/jakub/madwifi-ng-r2756+ar5007/ath_hal/uudecode] Error 1
make[2]: *** [/home/jakub/madwifi-ng-r2756+ar5007/ath_hal] Error 2
make[1]: *** [_module_/home/jakub/madwifi-ng-r2756+ar5007] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-15-generic'
make: *** [modules] Error 2
jakub@eee900:~/madwifi-ng-r2756+ar5007$ 
5.7.2008 10:30 petertomasy
Rozbalit Rozbalit vše Re: eeepc 900 - wifi - chybi moznost nastaveni
sudo apt-get install build-essential bin86 ( ten balik sa nevolá uname-r , ale linux-headers-2.6.22-15-generic, v tvojom prípade)?

make

sudo make install

sudo modprobe ath_pci

sudo modprobe wlan_scan_sta

5.7.2008 11:14 jakub
Rozbalit Rozbalit vše Re: eeepc 900 - wifi - chybi moznost nastaveni
ja jsem to blbe poslal, dal jsem
$uname -r
a vysledek byl
2.6.22-15-generic
kazdopadne linux headers tam nejsou, zkusil jsem
$ sudo apt-get install linux-headers-2.6.22-15-generic
...
linux-headers...generic je již nejnovější verze
kdyz zkusim nainstalovat build-essential - tak mi vyhodi, ze chybi zavisle balicky - samozrejme je mohu pripsat, ale: neexistuje spis pro ubuntu (debian) neco jako yum pro redhat/fedoru - tedy instalator, ktery si zavislosti osetri sam a proste vse potrebne stahne (?)
5.7.2008 11:28 jakub
Rozbalit Rozbalit vše Re: eeepc 900 - wifi - chybi moznost nastaveni
nasel jsem s i v manualu k apt-get moznost "build-dep"

zkusil jsem sudo apt-get build-dep build-essential, ale blafnul na me vypis, co vsechno hodla odstranit
appport at apt-utils apturl command-not-found ... update-manager update-manager-core xubuntu-desktop
pak tedy sice toho pomerne dost nainstaluje, ale to me tedy dvakrat neutesilo
build-essential debhelper debian-archive-keyring dpkg-dev ... po-debconf
jestli to dobre chapu, tak bych si odstrelil desktopove prostredi

radeji jsem to skretchoval, pac fakt vubec nevim, co jsem se to chystal udelat - mel jsem za to, ze build-dep by mohlo byt to, co jsem chtel vyse (vyreseni zavislosti pri instalaci)
5.7.2008 17:16 Haaja
Rozbalit Rozbalit vše Re: eeepc 900 - wifi - chybi moznost nastaveni
Místo apt-get použít dpkg nebo aptitude například?
5.7.2008 17:50 petertomasy
Rozbalit Rozbalit vše Re: eeepc 900 - wifi - chybi moznost nastaveni
Synaptic - grafická nadstavba apt-get. Pre kompiláciu software zo zdrojových kodov potrebuješ niekoľko balíčkov , hlavne libc6-dev libc-dev, gcc , g++ , make, dpkg-dev , linux-headers-2.6.22-15-generic build-essential bin86, synaptic to to sám aj so závislosťami nainštaluje .Kompiluje sa už málo , ale predsa. Trochu viac MB na harddisku ti hádam nevadí.Zdroje software si nastav na : main, universe, multiverse , restricted.
5.7.2008 20:01 jakub
Rozbalit Rozbalit vše Re: eeepc 900 - wifi - chybi moznost nastaveni
trosku cross-thread: ad dpkg jsem myslel, ze neresi dependencies ad synaptic - koukal jsem ted do synapticu a madwifi i madwifi tools mam nainstalovane - tak ted uz jen zjistit proc to nefunguje - k tomu se dostanu za par hodin, neb mi na tom ted bezi "castecne povyseni systemu" :D

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.