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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-11-2002, 12:22 PM
|
#1
|
LQ Newbie
Registered: Oct 2002
Location: UK
Distribution: | Mandrake 9.0 | | Red Hat 8.0 |
Posts: 16
Rep:
|
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.
|
|
|
|
10-11-2002, 12:54 PM
|
#2
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
That looks pretty step-by-step to me. Are you getting errors along the way?
|
|
|
10-11-2002, 12:57 PM
|
#3
|
LQ Newbie
Registered: Oct 2002
Location: UK
Distribution: | Mandrake 9.0 | | Red Hat 8.0 |
Posts: 16
Original Poster
Rep:
|
lo m8
I dont know how to start the compile, thats
what the problem is
me a newbie m8 lol
|
|
|
10-11-2002, 01:04 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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..... 
|
|
|
10-11-2002, 01:52 PM
|
#5
|
Senior Member
Registered: Jun 2001
Posts: 1,635
Rep:
|
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.
|
|
|
10-11-2002, 03:04 PM
|
#6
|
LQ Newbie
Registered: Oct 2002
Location: UK
Distribution: | Mandrake 9.0 | | Red Hat 8.0 |
Posts: 16
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:52 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|