[ th33nd @ 15.09.2010. 18:32 ] @
Kupio sam novi laptop Toshiba Satellite C650-17T. Instalirao poslednju verziju Ubuntu distribucije. Da bi Atheros communications AR8152 v1.1 Fast ethernet (wired connection) radio potrebno je instalirati driver [url=]http://partner.atheros.com/Download.aspx?id=151[/url] sto sam i uradio. Zatim ga instalirao nakon cega je prepoznao moju karticu i internet je proradio. Medjutim kasnije je odradio system update
i nakon toga opet mi ne prepoznaje karticu. Nasao sam na netu da je neophodno ponovo instalirati driver medjutim kada to pokusam, na komandu "make" mi izbaci gresku
Code:
***No rule to make target 'driver/src'
pri otvaranju /usr/src/..

slab sam sa linuxom tako da...molim za pomoć..
koliko sam uspeo da skontam, ima neke veze sa kernel headerima ili šta već..hvala
[ Srđan Pavlović @ 15.09.2010. 19:02 ] @
Onda ti verovatno nedostaju kernel hederi za potrebe kompajliranja drajvera za tekuci kernel

[email protected] ~ $ uname -a
Linux Desktop 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010 x86_64 GNU/Linux

[email protected] ~ $ sudo apt-cache search 2.6.32-21 | grep headers
linux-headers-2.6.32-21 - Header files related to Linux kernel version 2.6.32
linux-headers-2.6.32-21-generic - Linux kernel headers for version 2.6.32 on x86/x86_64
linux-headers-2.6.32-21-preempt - Linux kernel headers for version 2.6.32 on x86_64
linux-headers-2.6.32-21-server - Linux kernel headers for version 2.6.32 on x86_64
linux-headers-lbm-2.6.32-21-generic - Header files related to linux-backports-modules version 2.6.32
linux-headers-lbm-2.6.32-21-server - Header files related to linux-backports-modules version 2.6.32
linux-headers-lbm-2.6.32-21-preempt - Header files related to linux-backports-modules version 2.6.32
[email protected] ~ $

Vidi sa uname -a koji ti je kernel pa ovako nadji i paket za kernel-hedere i instaliraj.
[ th33nd @ 16.09.2010. 14:47 ] @
[email protected]:~/Downloads/linux-2.6.32$ uname -a

Linux djordje-laptop 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC 2010 x86_64 GNU/Linux

[email protected]:~/Downloads/linux-2.6.32$ sudo apt-cache search 2.6.32-24 | grep headers

linux-headers-2.6.32-24 - Header files related to Linux kernel version 2.6.32
linux-headers-2.6.32-24-generic - Linux kernel headers for version 2.6.32 on x86/x86_64
linux-headers-2.6.32-24-preempt - Linux kernel headers for version 2.6.32 on x86_64
linux-headers-2.6.32-24-server - Linux kernel headers for version 2.6.32 on x86_64
linux-headers-lbm-2.6.32-24-generic - Header files related to linux-backports-modules version 2.6.32
linux-headers-lbm-2.6.32-24-preempt - Header files related to linux-backports-modules version 2.6.32
linux-headers-lbm-2.6.32-24-server - Header files related to linux-backports-modules version 2.6.32

moze li jos samo malo pomoci? treba mi ovo http://packages.ubuntu.com/lucid-updates/linux-libc-dev ?





[ th33nd @ 16.09.2010. 15:13 ] @
[email protected]:~/Downloads/linux-2.6.32$ uname -a

Linux djordje-laptop 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC 2010 x86_64 GNU/Linux

[email protected]:~/Downloads/linux-2.6.32$ sudo apt-cache search 2.6.32-24 | grep headers

linux-headers-2.6.32-24 - Header files related to Linux kernel version 2.6.32
linux-headers-2.6.32-24-generic - Linux kernel headers for version 2.6.32 on x86/x86_64
linux-headers-2.6.32-24-preempt - Linux kernel headers for version 2.6.32 on x86_64
linux-headers-2.6.32-24-server - Linux kernel headers for version 2.6.32 on x86_64
linux-headers-lbm-2.6.32-24-generic - Header files related to linux-backports-modules version 2.6.32
linux-headers-lbm-2.6.32-24-preempt - Header files related to linux-backports-modules version 2.6.32
linux-headers-lbm-2.6.32-24-server - Header files related to linux-backports-modules version 2.6.32

moze li jos samo malo pomoci? treba mi ovo http://packages.ubuntu.com/lucid-updates/linux-libc-dev ?

jer kad ovo instaliram nista ne dobijam,gresku i dalje izbacuje.
deo makefile-a od drajvera:

# All the places we look for kernel source
KSP := /lib/modules/$(BUILD_KERNEL)/build \
/lib/modules/$(BUILD_KERNEL)/source \
/usr/src/linux-$(BUILD_KERNEL) \
/usr/src/linux-$($(BUILD_KERNEL) | sed 's/-.*//') \
/usr/src/kernel-headers-$(BUILD_KERNEL) \
/usr/src/kernel-source-$(BUILD_KERNEL) \
/usr/src/linux-$($(BUILD_KERNEL) | sed 's/\([0-9]*\.[0-9]*\)\..*/\1/') \
/usr/src/linux



greska prilikom "make" komande

[email protected]:~/Downloads$ cd "Ethernet driver"
[email protected]:~/Downloads/Ethernet driver$ make
make -C ./src
make[1]: Entering directory `/home/djordje/Downloads/Ethernet driver/src'
make -C /lib/modules/2.6.32-24-generic/build SUBDIRS=/home/djordje/Downloads/Ethernet driver/src modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-24-generic'
make[2]: *** No rule to make target `driver/src'. Stop.
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/djordje/Downloads/Ethernet driver/src'
make: *** [all] Error 2
[email protected]:~/Downloads/Ethernet driver$


nista vise ne kontam..





[ th33nd @ 16.09.2010. 15:17 ] @
aaa ubicu se...skontao sam. Problem je u razmaku u nazivu foldera u kom se nalazi driver!! hvala u svakom slucaju!!