Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Hardware => Téma založeno: MacMac 08 Března 2008, 00:52:43
-
Vážení, dokáže někdo poradit? Nedokážu dle návodu na http://wiki.ubuntu.cz/Atheros_AR5007EG provést nastavení wifi karty, pořád mi to hlásí:
děkuji
administrator@ubuntu:~$ cd madwifi-ng-r2756-20071018
administrator@ubuntu:~/madwifi-ng-r2756-20071018$ patch -p0 < madwifi-ng-0933.ar2425.20071130.i386.patch
patching file hal/ah.h
patching file hal/public/i386-elf.hal.o.uu
patching file hal/public/i386-elf.inc
patching file hal/public/i386-elf.opt_ah.h
patching file hal/version.h
administrator@ubuntu:~/madwifi-ng-r2756-20071018$ make sudomake: *** No rule to make target `sudo'. Stop.
administrator@ubuntu:~/madwifi-ng-r2756-20071018$ make sudo
make: *** No rule to make target `sudo'. Stop.
administrator@ubuntu:~/madwifi-ng-r2756-20071018$ sudo make install[sudo] password for administrator:
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/administrator/madwifi-ng-r2756-20071018 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /home/administrator/madwifi-ng-r2756-20071018/ath/if_ath.o
CC [M] /home/administrator/madwifi-ng-r2756-20071018/ath/if_ath_pci.o
LD [M] /home/administrator/madwifi-ng-r2756-20071018/ath/ath_pci.o
CC [M] /home/administrator/madwifi-ng-r2756-20071018/ath_hal/ah_os.o
HOSTCC /home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c: In function 'uudecode_usage':
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c: At top level:
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c: In function 'main':
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:121: error: for each function it appears in.)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/home/administrator/madwifi-ng-r2756-20071018/ath_hal/uudecode] Error 1
make[2]: *** [/home/administrator/madwifi-ng-r2756-20071018/ath_hal] Error 2
make[1]: *** [_module_/home/administrator/madwifi-ng-r2756-20071018] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [modules] Error 2
-
Aj mna by zaujmalo riesenie tohto problemu nemate nikdo skusenosti ?
-
Nechybí vám nějaká knihovna? Hledejte v Synapticu "uudecode" a zkontrolujte, zda je nainstalovaný.
-
Nevíte někdo jak rozchodit wifi na noťasu Acer Extensa 5220?
šel sem podle http://wiki.ubuntu.cz/Acer%20ACPI ale vypsalo mi to chybu.
Prosím o pomoc. Mockrát Dík
root@vincok-laptop:/home/vincok# wget http://aceracpi.googlecode.com/files/acer_acpi-0.11.1.tar.bz2
--2009-03-21 19:11:13-- http://aceracpi.googlecode.com/files/acer_acpi-0.11.1.tar.bz2
Překládám aceracpi.googlecode.com… 74.125.45.82
Navazuje se spojení s aceracpi.googlecode.com|74.125.45.82|:80… spojeno.
HTTP požadavek odeslán, program čeká na odpověď… 200 OK
Délka: 18518 (18K) [application/x-bzip2]
Ukládám do: „acer_acpi-0.11.1.tar.bz2.1“.
100%[======================================>] 18 518 42,9K/s za 0,4s
2009-03-21 19:11:14 (42,9 KB/s) – „acer_acpi-0.11.1.tar.bz2.1“ uloženo [18518/18518]
root@vincok-laptop:/home/vincok# tar -xvjf acer_acpi-0.11.1.tar.bz2
acer_acpi-0.11.1/
acer_acpi-0.11.1/.gitignore
acer_acpi-0.11.1/ChangeLog
acer_acpi-0.11.1/INSTALL
acer_acpi-0.11.1/Makefile
acer_acpi-0.11.1/NEWS
acer_acpi-0.11.1/README
acer_acpi-0.11.1/acer_acpi.c
acer_acpi-0.11.1/wmi-acer.c
acer_acpi-0.11.1/wmi-acer.h
root@vincok-laptop:/home/vincok# cd acer_acpi-0.11.1
root@vincok-laptop:/home/vincok/acer_acpi-0.11.1# make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/vincok/acer_acpi-0.11.1 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
CC [M] /home/vincok/acer_acpi-0.11.1/wmi-acer.o
gcc: -pg and -fomit-frame-pointer are incompatible
make[2]: *** [/home/vincok/acer_acpi-0.11.1/wmi-acer.o] Error 1
make[1]: *** [_module_/home/vincok/acer_acpi-0.11.1] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
make: *** [wmi-acer.ko] Error 2
root@vincok-laptop:/home/vincok/acer_acpi-0.11.1# sudo make install
make -C /lib/modules/`uname -r`/build SUBDIRS= modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
make[2]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'. Stop.
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
make: *** [wmi-acer.ko] Error 2
root@vincok-laptop:/home/vincok/acer_acpi-0.11.1# sudo modprobe acer_acpi
FATAL: Module acer_acpi not found.
-
administrator@ubuntu:~/madwifi-ng-r2756-20071018$ make sudo
make: *** No rule to make target `sudo'. Stop.
Já bych řekl, že nebyl proveden make a proto nefunguje make install
-
Nevíte někdo jak rozchodit wifi na noťasu Acer Extensa 5220?
šel sem podle http://wiki.ubuntu.cz/Acer%20ACPI ale vypsalo mi to chybu.
Prosím o pomoc. Mockrát Dík
...
Proč mám pocit, že jsi zapoměl na sudo apt-get install linux-headers-$(uname -r) build-essential ?
-
administrator@ubuntu:~/madwifi-ng-r2756-20071018$ make sudo
make: *** No rule to make target `sudo'. Stop.
Já bych řekl, že nebyl proveden make a proto nefunguje make install
Jak provést make?
-
Nevíte někdo jak rozchodit wifi na noťasu Acer Extensa 5220?
šel sem podle http://wiki.ubuntu.cz/Acer%20ACPI ale vypsalo mi to chybu.
Prosím o pomoc. Mockrát Dík
...
Proč mám pocit, že jsi zapoměl na sudo apt-get install linux-headers-$(uname -r) build-essential ?
Jo udělal sem to a je to stejny:
root@vincok-laptop:/home/vincok# sudo apt-get install linux-headers-$(uname -r) build-essential
Čtu seznamy balíků... Hotovo
Vytvářím strom závislostí
Čtu stavové informace... Hotovo
linux-headers-2.6.27-11-generic je již nejnovější verze.
build-essential je již nejnovější verze.
Následující balíky byly nainstalovány automaticky a již nejsou potřeba:
python-alsaaudio python-awn-extras stardict-common linux-headers-2.6.27-7
linux-headers-2.6.27-7-generic libawn0 stardict-plugin-festival
stardict-plugin-espeak libawn-extras0 stardict-gtk python-awnlib
libestools1.2 stardict-plugin
Pro jejich odstranění použijte 'apt-get autoremove'.
0 aktualizováno, 0 nově instalováno, 0 k odstranění a 0 neaktualizováno.
root@vincok-laptop:/home/vincok# wget http://aceracpi.googlecode.com/files/acer_acpi-0.11.1.tar.bz2
--2009-03-22 13:18:31-- http://aceracpi.googlecode.com/files/acer_acpi-0.11.1.tar.bz2
Překládám aceracpi.googlecode.com… 74.125.45.82
Navazuje se spojení s aceracpi.googlecode.com|74.125.45.82|:80… spojeno.
HTTP požadavek odeslán, program čeká na odpověď… 200 OK
Délka: 18518 (18K) [application/x-bzip2]
Ukládám do: „acer_acpi-0.11.1.tar.bz2.2“.
100%[======================================>] 18 518 18,0K/s za 1,0s
2009-03-22 13:18:33 (18,0 KB/s) – „acer_acpi-0.11.1.tar.bz2.2“ uloženo [18518/18518]
root@vincok-laptop:/home/vincok# tar -xvjf acer_acpi-0.11.1.tar.bz2
acer_acpi-0.11.1/
acer_acpi-0.11.1/.gitignore
acer_acpi-0.11.1/ChangeLog
acer_acpi-0.11.1/INSTALL
acer_acpi-0.11.1/Makefile
acer_acpi-0.11.1/NEWS
acer_acpi-0.11.1/README
acer_acpi-0.11.1/acer_acpi.c
acer_acpi-0.11.1/wmi-acer.c
acer_acpi-0.11.1/wmi-acer.h
root@vincok-laptop:/home/vincok# cd acer_acpi-0.11.1
root@vincok-laptop:/home/vincok/acer_acpi-0.11.1# make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/vincok/acer_acpi-0.11.1 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
CC [M] /home/vincok/acer_acpi-0.11.1/wmi-acer.o
gcc: -pg and -fomit-frame-pointer are incompatible
make[2]: *** [/home/vincok/acer_acpi-0.11.1/wmi-acer.o] Error 1
make[1]: *** [_module_/home/vincok/acer_acpi-0.11.1] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
make: *** [wmi-acer.ko] Error 2
root@vincok-laptop:/home/vincok/acer_acpi-0.11.1# sudo make install
make -C /lib/modules/`uname -r`/build SUBDIRS= modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
make[2]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'. Stop.
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
make: *** [wmi-acer.ko] Error 2
root@vincok-laptop:/home/vincok/acer_acpi-0.11.1# sudo modprobe acer_acpi
FATAL: Module acer_acpi not found.
root@vincok-laptop:/home/vincok/acer_acpi-0.11.1#
Co teď? Prosííííííííííím o pomoc. Dík.
-
to nikdo neví co s tím? nikomu nefunguje wifi na tomhle noťasu?
prosíím pomóóóc
-
jakou verzi ubuntu používáte?
-
používam Ubuntu 8.10 a bez problému. Doteď sem nepotřeboval wifi tak sem ji neřešil ale těd ji potřebuji a nejde.
-
a proč to děláte tak složitě? zkoušel jste googlit? já, když jsem poprvé pro II hledal ovladače na můj ntb Acer Aspire 5520 tak jsem hned na prvním odkazu nalezl, že je třeba nainstalovat
linux-backports-modules-intrepid-generic
následně reboot a možná je třeba ještě zapnout je v Nesvobodných ovl. pro HW, to už si nepamatuji přesně, vyzkoušejte
-
dík. až přijdu domú tak to skúsím. jinak jak na reboot? to jako restart? dík
-
ano, jedná se o restart
-
a proč to děláte tak složitě? zkoušel jste googlit? já, když jsem poprvé pro II hledal ovladače na můj ntb Acer Aspire 5520 tak jsem hned na prvním odkazu nalezl, že je třeba nainstalovat
linux-backports-modules-intrepid-generic
následně reboot a možná je třeba ještě zapnout je v Nesvobodných ovl. pro HW, to už si nepamatuji přesně, vyzkoušejte
tak tohle mi to vypsalo:
root@vincok-laptop:/home/vincok# linux-backports-modules-intrepid-generic
bash: linux-backports-modules-intrepid-generic: command not found
root@vincok-laptop:/home/vincok#
co teď ?
-
podívejte se do synapticku a tam by to mělo být toto (možná jsem to předtím blbě napsal, byl jsem v práci)
linux-backports-modules-intrepid
-
podívejte se do synapticku a tam by to mělo být toto (možná jsem to předtím blbě napsal, byl jsem v práci)
linux-backports-modules-intrepid
ja se omlovám ale blb sem si nevšiml že to není pro terminál ale najít v syanpticu
-
tak sem to nainstaloval a mám možnost i wifi . a funguje to . připojí se. paráda.
Mockrát dík
Nevím či to já múžu ale když jo tak dávam K+ pro macu
-
ješte jedna otázka:
proč mi to jde tak pomalu?
cez kábel mám přip.ryzhlost okolo 2000kbps ale cez wifi 192kbps a vysílací AP-čko mám necelý metr od noťasu.
-
juj, to netuším, zkus s tím založit nový vlákno....není ale možný, že ti to něco ruší? např. soused atd....vyzkoušej to ve víc sítích pokud máš možnost a uvidíš
-
OK založím. Zatím dík