LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-01-2008, 08:38 AM   #1
whizz
LQ Newbie
 
Registered: Apr 2005
Location: Netherlands
Distribution: Debian
Posts: 11

Rep: Reputation: 0
Troubles compiling Asus NX1101 driver (Gigabit Network Adapter) on Debian Etch


I've got some troubles installing my gigabit network adapter on Debian Etch.

The readme on the cd says:
Code:
        b. for kernel 2.6.x
        -------------------
           #make all  => generate ipg.ko
           #insmod ./ipg.ko
           #ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy
              eth0 is your network adapter,use "dmesg" to check it, ex: eth0, eth1...
              xxx  is your ip address, ex: 192.168.102.211
              yyy  is your netmask address, ex:255.255.255.0
The result is:

Code:
whizz@t44:~/bin/nx1101$ sudo make all
make -C /lib/modules/2.6.18-6-686/build SUBDIRS= modules
make: *** /lib/modules/2.6.18-6-686/build: No such file or directory.  Stop.
make: *** [all] Error 2
I think I'm missing something like kernel sources or something?


I've been looking around on the internet and I have installed the linux-kernel-headers package, but that didn't help...
 
Old 05-01-2008, 09:44 AM   #2
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Try this..

aptitude update
aptitude install build-essential module-assistant
m-a update
m-a prepare



then try your build again..
 
Old 05-01-2008, 12:03 PM   #3
whizz
LQ Newbie
 
Registered: Apr 2005
Location: Netherlands
Distribution: Debian
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks, that gets me a bit further.

Now I get this error:
Code:
whizz@t44:~/bin/nx1101$ sudo make all
make -C /lib/modules/2.6.18-6-686/build SUBDIRS= modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.18-6-686'
scripts/Makefile.build:17: /usr/src/linux-headers-2.6.18-6-686/scripts/basic/Makefile: No such file or directory
make[3]: *** No rule to make target `/usr/src/linux-headers-2.6.18-6-686/scripts/basic/Makefile'.  Stop.
make[2]: *** [scripts_basic] Error 2
make[1]: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'.  Stop.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-6-686'
make: *** [all] Error 2
What to do about that?
 
  


Reply

Tags
debian, driver


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
eSATA Adapter Compatibility in Debian Etch richinsc Debian 1 03-14-2008 04:13 PM
Configuring wireless adapter in Debian etch ehsantux Linux - Wireless Networking 6 03-06-2008 08:30 PM
Compiz Troubles: Debian 4.0 Etch nVidia GeForce4 MX 4000 drpixel404 Linux - General 1 07-21-2007 12:38 PM
Debian etch marvell yukon gigabit ethernet, random loss of connectivity zeb_666 Linux - Networking 1 02-27-2007 02:56 PM
Debian etch usb install asus p5b deluxe Sputnikc Debian 9 11-01-2006 09:26 AM


All times are GMT -5. The time now is 10:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration