LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 01: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, 01: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, 01: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, 02:04 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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, 02: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, 04: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 04:05 PM.
 
  


Reply


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


All times are GMT -5. The time now is 06:53 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration