LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-11-2002, 12:22 PM   #1
lexy
LQ Newbie
 
Registered: Oct 2002
Location: UK
Distribution: | Mandrake 9.0 | | Red Hat 8.0 |
Posts: 16

Rep: Reputation: 0
compile source code ethernet card [lindows]


lo

I need help to compile source code for my network card
on lindows 2.0.

This is the info I have on the card's install disk
for linux. 1st off I dont know were to start so a
step by step guide would be kewl.

thnx.
Quote:



Installation:

1. copy the source code fealnx.c to Linux,

2. compile the source code, the instruction for compiling the driver is
as follows:

#gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
-Wstrict-prototypes -O6 -c fealnx.c

3. insert the driver as module,

#insmod fealnx.o

4. bind your card to an IP address

#ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}

5. add your card to IP routing table,

#route add -net ${NETWORK} netmask ${NETMADK} eth0

6. now, you should be able to ping local network.

 
Old 10-11-2002, 12:54 PM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
That looks pretty step-by-step to me. Are you getting errors along the way?
 
Old 10-11-2002, 12:57 PM   #3
lexy
LQ Newbie
 
Registered: Oct 2002
Location: UK
Distribution: | Mandrake 9.0 | | Red Hat 8.0 |
Posts: 16

Original Poster
Rep: Reputation: 0
lo m8

I dont know how to start the compile, thats
what the problem is

me a newbie m8 lol
 
Old 10-11-2002, 01:04 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
look, if you want help, please try and make a little more sense... as your sep by step guide ALREADY says in step 2
Quote:
2. compile the source code, the instruction for compiling the driver is
as follows:

#gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c fealnx.c
there's very little anyone ned add to that.....
 
Old 10-11-2002, 01:52 PM   #5
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
i don't think too many of the members on this board have any real experience with lindows - it's kinda the bastard child of bill gates and linus torvalds that nobody like to talk about too much.

anyway, the instructions given are pretty step by step, as our fellow members have pointed out. you need to get to the command line to run them tho - i'm not sure how easy lindows makes that. find a terminal program, and go from there. if you get any errors, post them, and we'll be able to help out some more.
 
Old 10-11-2002, 03:04 PM   #6
lexy
LQ Newbie
 
Registered: Oct 2002
Location: UK
Distribution: | Mandrake 9.0 | | Red Hat 8.0 |
Posts: 16

Original Poster
Rep: Reputation: 0
lo @ acid_kewpie .. dreamweaver still has you on her aim list
so look out m8 lmao..

Any way I know nothing of linux...

As denzil washington siad in that great movie Philadelphia
TALK TO ME IF I AM AS A FIVE YEAR OLD

Last edited by lexy; 10-11-2002 at 03:05 PM.
 
  


Reply



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
Why can't FreeBSD compile anything from source code? mortal *BSD 5 03-21-2005 07:49 PM
how i compile a source code? nazib Linux - General 5 02-27-2005 09:13 AM
Compile a source code for FastEthernet Network Card-Please assist badger311 Linux - Networking 4 07-17-2004 02:17 PM
how to compile redhat 9.0 source code. wood Linux - General 5 09-16-2003 10:05 AM
How to compile source code... Grim Reaper Linux - Newbie 3 04-26-2002 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration