Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

Użytkownik


dobra chłopaki ale wifi mam (zintegrowaną kartę wireless 802.11b/g) ... problem że linux w ogóle jej nie widzi ... po wpisaniu lspci na liście nie ma linijki network controler , choć karta jest włączona... why?1
Offline



Administrator




Jaka karta, jaki chip, karta na pci czy pcmcia w laptopie. Nic nie wiadomo, to jak ci pomóc. Pewnie musisz doinstalować sterownik bądź załadować już posiadany moduł jądra.
Offline

Użytkownik


Zintegrowana, bezprzewodowa karta sieciowa 802.11b/g (mini-karta PCI-e)... a sterowników do niej nie mam:/ macie pojęcie skąd wziąść?
Offline






Ojciec Założyciel
zapodaj
update-pciids
może po tym lspci więcej nam powie
Offline

Użytkownik


Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
ale to chyba nie jest wifi czy ja się mieszam??
sterownik nazywa się Azurewave WLAN Driver ale jest pod win bo asus nie wspiera linuxa:/
Offline




Pan inż. Cyc





No toc Ci pisze jak byk, że masz Atherosa i model układu :P Teraz zapytaj google ;)
Offline

Użytkownik


ok mam sterowniki dostarczone pod postacią madwifi... lecz
debian:/home/radek/madwifi-0.9.3.2# make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.18-4-k7/build SUBDIRS=/home/radek/madwifi-0.9.3.2 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.18-4-k7'
HOSTCC /home/radek/madwifi-0.9.3.2/ath_hal/uudecode
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c: In function 'uudecode_usage':
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c: At top level:
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c: In function 'main':
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:121: error: for each function it appears in.)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/home/radek/madwifi-0.9.3.2/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/home/radek/madwifi-0.9.3.2/ath_hal/uudecode] Error 1
make[2]: *** [/home/radek/madwifi-0.9.3.2/ath_hal] Error 2
make[1]: *** [_module_/home/radek/madwifi-0.9.3.2] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-4-k7'
make: *** [modules] Błąd 2
debian:/home/radek/madwifi-0.9.3.2
wywala mi takie błędy po poleceniu make:/
Offline






Ojciec Założyciel
uname -r
i zainstaluj identyczne nagłówki jądra
Offline

Użytkownik


już bez przesady:D:D to akurat jest... jąderko 2.6.18-4-k7 i nagłówki te same ale błąd jest:/
Offline

Użytkownik


ok chyba mam bląd... mam wgrane linux-kernel-headers ... ale żeby wgać mad wifi muszę mieć pakiet build-essential co z kolei musi mieć linux-libc-dev
które gryzą się z linux-kernel-headers... z z kąd inąd wiem iż pod moje jądro przeznaczone są linux-...
Offline






Ojciec Założyciel
ok chyba mam bląd... mam wgrane linux-kernel-headers ...
linux-kernel-headers to nie są nagłówki Twojego jądra.
zrób tak
bodzio@admin:~$ uname -r
2.6.20.4
bodzio@admin:~$ apt-cache search 2.6.20.4
linux-image-2.6.20.4 - Linux kernel binary image for version 2.6.20.4
linux-headers-2.6.20.4 - Header files related to Linux kernel, specifically,
bodzio@admin:~$
i wgraj to co Ci wyszło czyli jak w przykłądzie:
linux-headers-2.6.20.4
Offline


Użyszkodnik DUG



zrób tak
aptitude install madwifi-source module-assistant m-a prepare m-a a-i madwifi modprobe ath_pci aptitude install wireless-tools
i powinno hulać
Offline

Użytkownik


hula:D:D "apt-get remove linux-kernel-headers"
"apt-get install libc-dev build-essential" :D:D jeszcze tylko pytanie bo narazie nie mam dzie sprawdzić sieci bezprzewodowej, jak sprawdzić czy karta działa (bo dioda się nie pall)?
Offline




prawiczek erotoman
(bo dioda się nie pall)?
to ją włącz, dioda powinna sie palić czy jesteś czy nie jesteś podpięty do sieci
Offline

Członek DUG


Pobaw sie poleceniami:
iwconfig ifconfig
Zanim zaczniesz sie bawic podnies interfejs poleceniem:
ifconfig ath0 up
a potem dalej:
Pierwsze sluzy do obslugi sieci bezprzewodowej a drugie do ustawiania IP, i maski.
brame ustawiasz:
route add default gw 192.168.1.1
oczywiscie mozesz pobrac calosc z DHCP, poleceniem:
dhclient ath0

Offline