LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-05-2004, 11:12 AM   #1
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Rep: Reputation: 30
NIC driver help command line


I've just bought a mini PC that I'm going to learn Linux on. I'm using Slackware 10 (non negotiable) and have, at last, managed to get it installed without any errors. The PC is fully Linux compatable and has been supplied with drivers for the NIC. Despite reading everything supplied, I have only managed to get the supplied driver file decompressed into /usr/src and then I'm stuck. I've posted the driver file at www.sulsado.org/linux for you to look at. My Linux knowledge is very very basic so feel free to treat me like an idiot.

I need to learn linux from the command line. I'm a system administrator and will be performing maintenance on the linux box remotely, so I'm trying to stay away from GUIs as much as possible. There's no point in making it easy for myself if I can't have it when the sh#t hits the fan.

Any help would be appreciated
 
Old 11-05-2004, 11:23 AM   #2
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
There are install instructions in the README file.
Location would be /usr/src/iANS-1.7.65/
 
Old 11-05-2004, 11:32 AM   #3
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Original Poster
Rep: Reputation: 30
They give scripts for the other distro's except Slackware. As for the command line instructions I type in 'make', press return and get the following:

-bash: make: command not found
 
Old 11-05-2004, 11:33 AM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Enter the /usr/src/iANS-1.7.65/src run

make

then run

make install

After that try brining the card up with ifconfig, or netconfig.
good luck.

<edit>Install the development packages from the install cd.</edit>

Last edited by Peacedog; 11-05-2004 at 11:35 AM.
 
Old 11-05-2004, 11:37 AM   #5
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Original Poster
Rep: Reputation: 30
Peacedog: Just tried that, but I get the same result.

-bash: make: command not found

Am I missing a link to the 'make' file?
 
Old 11-05-2004, 11:42 AM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
See the edit in my first post, and are you issuing the make command as root or su -?
 
Old 11-05-2004, 11:43 AM   #7
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Original Poster
Rep: Reputation: 30
Peacedog: Sorry missed that. Is there a way of just getting setup to install the dev components, or is it a case of installing everything from scratch again?
 
Old 11-05-2004, 11:48 AM   #8
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Run pkgtool, point it to the cdrom, install everything in the D packages. Have a look here.

http://www.slackware.com/config/packages.php

good luck.
 
Old 11-05-2004, 11:53 AM   #9
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Original Poster
Rep: Reputation: 30
Thanks for the info. I'll soldier on for a bit more.
 
Old 11-05-2004, 12:05 PM   #10
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
If you have trouble with the packages from the cd, you can get them from one of the slack mirrors.
good luck.
 
Old 11-05-2004, 12:24 PM   #11
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Original Poster
Rep: Reputation: 30
Well I'm making some progess. I now have it compiles and installed to some extent. When I type 'insmod ians' though I get a warning that the kernel was compiled with a gcc version 3, whilst my module was compiled with gcc version 2. Everything on this system has come from the same Slackware disk. Any ideas what's going on?
 
Old 11-05-2004, 07:23 PM   #12
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
I had the same problem with a sound card some time ago, for the life of me I can't recall how exactly I solved it. I seem to remember something about editing the make file, and using insmod -f, but I will not reccomend that in this case.

Doing some research on the module your trying to compile does shed a little light. The last driver release was in 2002. This leads me to believe that possibly there is already support for the device in the current kernel, or there is a newer driver available.

With all that said, could you please post the output of the following commands?

/sbin/lspci -v

/sbin/lsmod

I hope we will get this working.
good luck.
 
Old 11-06-2004, 02:33 AM   #13
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Original Poster
Rep: Reputation: 30
The outputs are as follows:

/sbin/lspci -v (I can't get anything off the PC at the moment, so I'm copying onto paper and then typing in. This command listed loads of stuff, but the relevent piece came at the end)

01:08.0 Ehternet Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) integrated LAN Controller (rev 02)
Subsystem: Intel Corp. 82801EB/ER (ICH5/ICH5R) integrated LAN Controller
Flags: bus master, mediu devsel, latency 32, IRQ 11
Memory at f8001000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 9000 [size=64]
Capabilities: [dc] Power Management version 2


/sbin/lsmod

snd-pcm-oss 37736 0 (unused)
snd-mixer-oss 12504 0 [snd-pcm-oss]
intelfb 31004 63
uhci 24444 0 (used)
ehci-hcd 17580 0 (used)
usbcore 59308 1 [uhci ehci-hcd]
snd-intel8x0 18924 0 (used)
snd-ac97-codec 49500 0 [snd-intel8x0]
gameport 1420 0 [snd-intel8x0]
snd-pcm 56072 0 [snd-pcm-oss snd-intel8x0]
snd-timer 13604 0 [snd-pcm]
snd-page-alloc 6328 0 [snd-intel8x0 snd-pcm]
snd-mpu401-uart 3200 0 [snd-intel8x0]
snd-rawmidi 12740 0 [snd-mpu401-uart]
snd-seq-device 3888 0 [snd-mpu401-uart]
snd 30852 0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3396 4 [snd]
ohci1394 24112 0 (used)
ieee1394 42276 0 [ohci1394]
ide-scsi 9328 0
agpgart 43940 0 (used)

That's it. I thought my previous posted message was because my 'make' file was too old. I had a look on the web and found version 3.8. It's a nightmare to install (well for me anyway), but that's my problem at the moment. Does anything stand out in the file outputs above? Looks like everything but ethernet in the second one.

Thanks
 
Old 11-06-2004, 06:05 PM   #14
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Sorry it took so long to get back to you. I'm googling support for your device currently.

Please accept my apology, but I have no answer for the kernel and module gcc mismatch.

You might try recompiling the current kernel with the set of tools installed, and use the "make oldconfig" option so hopefully it doesn't break anything.

I'll get back to you when I have more info.
good luck.
 
  


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
configuring a nic from the command line barleykorn Linux - Networking 3 06-24-2005 12:43 PM
SiS Driver install from command line! perrin457 Mandriva 1 02-09-2005 05:34 PM
changing video driver via command line armus513 Mandriva 4 02-04-2005 11:03 AM
How do I install 9600Pro driver for Mandrake 9.2 from the root command line?? StlthMd Linux - Newbie 6 01-07-2004 11:39 PM
Command Line Kernel and Nvidia Driver Install mandrakerookie Mandriva 11 12-23-2003 01:23 PM

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

All times are GMT -5. The time now is 07:32 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
Open Source Consulting | Domain Registration