Trying to compile driver for D-Link 680txd ethernet card

Using applications, configuring, problems
Post Reply
Message
Author
llol_slim
Posts: 16
Joined: Tue 20 Nov 2007, 21:01

Trying to compile driver for D-Link 680txd ethernet card

#1 Post by llol_slim »

Hello all
Please note i am completely new to all of this, so be gentle!

I am following some instructions (from d-link) to compile my d-link 680txd ethernet card driver, as no drivers are available.

I am at a stage where it is asking me for the Linux Kernel Source directory.

I am using puppy 3.01 and followed the guide "How-To install Devx 3.01 onto a Full HD install STEP BY STEP " in the HOW TO section, as i thought that was what was required in order to compile.

Whilst booting puppy, it says the source directory is /boot but if Iinput this into the terminal at the required stage, I get the message "Linux source tree /boot is incomplete or missing"
Run the following commands:

#cd /usr/src
#tar zxvf pcmcia-cs-3.1.xx.tar.gz
#cd pcmcia-cs-3.1.xx
#./Configure or make config <--- I am here
#make all
#make install
So I have obviously not done something, but I;m unsure what it is. Am I pointing the config file to the correct location?

(spec 800mhz, 10gb hdd, 128mb ram cd-rom - previously win me but reformatted prior to installing puppy)

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#2 Post by muggins »

The kernel sources are available from the same location where you dloaded the devx_301.sfs. Here's the link:

http://distro.ibiblio.org/pub/linux/dis ... rc_301.sfs

As it's a squashfs, for a full install you'll need to mount it, & copy, just as you did for the devx_310.sfs.

You can see what compile options are available by entering:

./configure --help | more

Hope it compiles without problems for you.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#3 Post by muggins »

Oh yeah,

the standard compilation is:

./configure
make
make install

As puppy looks for library files in /usr/lib, I usually run configure with:

./configure --prefix=/usr

llol_slim
Posts: 16
Joined: Tue 20 Nov 2007, 21:01

#4 Post by llol_slim »

thank you very much.
I will try and do this .. I've never done anything like this before, it's good fun :)
ahem...my girlfriend is calling me geek

llol_slim
Posts: 16
Joined: Tue 20 Nov 2007, 21:01

#5 Post by llol_slim »

hmm.. its not working.
Heres what i did:

copied kernel-src_301.sfs to /

#mount -o loop kernel-src_301.sfs /data

cp -a -v /data/* /usr/src/
/make config

it asks for the linux source i type /usr/src
and it comes up again with incomplete or missing

I think I'm out of my depth!

Post Reply