LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   NIC install issues (https://www.linuxquestions.org/questions/linux-hardware-18/nic-install-issues-179717/)

Virus860 05-09-2004 04:32 PM

NIC install issues
 
I'm a relative newbie to the Linux world. I have tinkered around with it in the pas but I am by no means a expert. Here are my specs:

Asus A7N8X-E Deluxe
NVIDIAŽ NForce2 Ultra 400 + MCP-T Chipset
AMD Athlon XP 2600+ 2.13ghz
512mb pc2700
Dual LAN with Gigabit
Slackware 9.0
Kernel 2.4.22

My problem is this:

While doing the install at the point where it probes my system for a network card, the computer will lock up. My motherboard has dual lan so I suspect that may be the issue for the lockup.

My next option was to skip the NiC probe during install and install the NIC manually. I downloaded the correct drivers from Asus's website, and read the instructions that went with it. I was presented with the following instructions:

Compile/use the driver as a module
----------------------------------
To compile the driver, go to the directory /usr/src/linux and
execute the command "make menuconfig" or "make xconfig" and proceed

When i do this I just get an error message, and also the path /usr/src/ exists but not /usr/src/linux and I'm not sure why.

My second option in the same document is this:

Load the module manually
------------------------
To load the module manually, proceed as follows:

1. Enter "modprobe sk98lin".

When I do this it just says sk98lin doesnt exist.

The file I downloaded that is supposed to be the driver contains the following text. This may help someone in figuring out what I should do.

diff -ruN linux/Documentation/Configure.help linuxn/Documentation/Configure.help
--- linux/Documentation/Configure.help 2003-09-17 16:45:32.000000000 +0200
+++ linuxn/Documentation/Configure.help 2003-09-23 14:02:32.000000000 +0200
@@ -11200,49 +11200,58 @@
Say Y here if you have a Marvell Yukon or SysKonnect SK-98xx/SK-95xx
compliant Gigabit Ethernet Adapter. The following adapters are supported
by this driver:
- - 3Com 3C940 Gigabit LOM Ethernet Adapter
- - 3Com 3C941 Gigabit LOM Ethernet Adapter
- - SK-9821 Gigabit Ethernet Server Adapter (SK-NET GE-T)
- - SK-9822 Gigabit Ethernet Server Adapter (SK-NET GE-T dual link)
- - SK-9841 Gigabit Ethernet Server Adapter (SK-NET GE-LX)
- - SK-9842 Gigabit Ethernet Server Adapter (SK-NET GE-LX dual link)
- - SK-9843 Gigabit Ethernet Server Adapter (SK-NET GE-SX)
- - SK-9844 Gigabit Ethernet Server Adapter (SK-NET GE-SX dual link)
- - SK-9861 Gigabit Ethernet Server Adapter (SK-NET GE-SX Volition)
- - SK-9862 Gigabit Ethernet Server Adapter (SK-NET GE-SX Volition dual link)
- - SK-9871 Gigabit Ethernet Server Adapter (SK-NET GE-ZX)
- - SK-9872 Gigabit Ethernet Server Adapter (SK-NET GE-ZX dual link)
- - Allied Telesyn AT-2970SX Gigabit Ethernet Adapter
- - Allied Telesyn AT-2970LX Gigabit Ethernet Adapter
- - Allied Telesyn AT-2970TX Gigabit Ethernet Adapter
- - Allied Telesyn AT-2971SX Gigabit Ethernet Adapter
- - Allied Telesyn AT-2971T Gigabit Ethernet Adapter
- - Allied Telesyn AT-2970SX/2SC Gigabit Ethernet Adapter
- - Allied Telesyn AT-2970LX/2SC Gigabit Ethernet Adapter
- - Allied Telesyn AT-2970TX/2TX Gigabit Ethernet Adapter
- - Marvell RDK-8001 Adapter
- - Marvell RDK-8002 Adapter
- - Marvell RDK-8003 Adapter
- - Marvell RDK-8004 Adapter
- - Marvell RDK-8006 Adapter
- - Marvell RDK-8007 Adapter
- - Marvell RDK-8008 Adapter
- - Marvell RDK-8009 Adapter
- - Marvell RDK-8011 Adapter
- - Marvell RDK-8012 Adapter
- - SK-9521 V2.0 10/100/1000Base-T Adapter
- - SK-9821 V2.0 Gigabit Ethernet 10/100/1000Base-T Adapter
- - SK-9841 V2.0 Gigabit Ethernet 1000Base-LX Adapter
- - SK-9843 V2.0 Gigabit Ethernet 1000Base-SX Adapter
- - SK-9851 V2.0 Gigabit Ethernet 1000Base-SX Adapter
- - SK-9861 V2.0 Gigabit Ethernet 1000Base-SX Adapter
- - SK-9871 V2.0 Gigabit Ethernet 1000Base-ZX Adapter


This is not the entire file just the beginning. I appreciate any help someone is willing to give.

Thanks in advance.

Mike

acid_kewpie 05-09-2004 04:37 PM

Quote:

When i do this I just get an error message, and also the path /usr/src/ exists but not /usr/src/linux and I'm not sure why.
because you've not installed the kernel source. go install.

Virus860 05-09-2004 05:01 PM

This is gonna sound stupid but how do I do that?

Aussie 05-09-2004 08:23 PM

Do you need to use both LAN ports and do you need Gigabit lan or would plain old ethernet be ok?
Also can you could post the output of "lspci"

Xerop 05-09-2004 08:35 PM

nvm, sorry

Virus860 05-10-2004 02:40 PM

I just need to get either or working. I don't care which one. I have a NAT box setup this is just my research machine. I just need it to get a NIC installed and have it grab an IP address of the NAT box.

Thanks for any help

Mike

mermxx 05-10-2004 04:12 PM

to make menuconfig open ur terminal and `su` to get root priveliges
then cd /usr/src/linux
then type make menuconfig or startx or make xconfig or make config

Aussie 05-10-2004 05:17 PM

Quote:

Originally posted by Virus860
I just need to get either or working. I don't care which one. I have a NAT box setup this is just my research machine. I just need it to get a NIC installed and have it grab an IP address of the NAT box.

Thanks for any help

Mike

OK, now how about the output of "lspci"?

Virus860 05-10-2004 10:44 PM

This is the output of the lspci command.

00:00.0 Host bridge: Nvidia Coporation: Unknown device 01e0 (rev c1)
00:0000:00.1 RAM memory: Nvidia Coporation: Unknown device 01eb (rev c1)
00:0000:00.2 RAM memory: Nvidia Coporation: Unknown device 01ee (rev c1)
00:0000:00.3 RAM memory: Nvidia Coporation: Unknown device 01ed (rev c1)
00:0000:00.4 RAM memory: Nvidia Coporation: Unknown device 01ec (rev c1)
00:0000:00.5 RAM memory: Nvidia Coporation: Unknown device 01ef (rev c1)
00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
00:02.0 USB Controller: nVidia Corporation nForce2 SMBus (MCP (rev a2)
00:02.1 USB Controller: nVidia Corporation nForce2 SMBus (MCP (rev a2)
00:02.2 USB Controller: nVidia Corporation nForce2 SMBus (MCP (rev a2)
00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
00:05.0 Multimedia audio controller: nVidia Corporration nForce MultiMedia audio [Via VT82C686B] (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP (rev a1)
00.08.0 PCI bridge: nVidia Corporation Unknown device 006c (rev a3)
00:09.0 IDE interface nVidia Corporation nForce2 IDE (rev a2)
00.0d.0 FirewWire (IEEE 1394): nVidia Corporation nForce2 FireWire (IEEE 1394) Controller (rev a3)
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
01:04.0 Ethernet controller: Galileo Technology Ltd.: Unknown device 4320 (rev 13)
01:0b.0 RAID bus controller: CMD Technology Inc. Silicon Image Sil 3112 SATARaid Controller 9rev 02)
03:00.0 VGA compatible controller: nVidia NV18 [GeForce4 MX 440 AGP 8x] (rev a2)

Well what a handy little command this is, just wish I would have known about it before.

Well I suspect from the line:

00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)

That it actually has detected my card and it is probably usuable. Which leads me to my next question. How do I configure all the good stuff (DHCP client, DNS, gateway etc.) either on a command line or in XWIN.

Also the line:

01:04.0 Ethernet controller: Galileo Technology Ltd.: Unknown device 4320 (rev 13)

Is the NIC not detected by Linux. Any info on how to get this device or any of my other devices listed as 'unknown' would be greatly appreciated.

Mike

Aussie 05-11-2004 01:06 AM

The "Galileo Technology Ltd" device is the gigabit ethernet controller, for the nforce one you need to have the latest slackware kernel and use the "forcedeth" module, or try the nvnet module from nvidia.

Xerop 05-11-2004 06:46 AM

Try http://www.asus.com/
They have an all-in-one driver for this main board in linux.
You can configure the gateway via the
Code:

route
command.
EXAMPLE:
Code:

/sbin/route add gefault gw 149.112.50.65
There is a lot more you can do with route so look it up in the
Code:

man
.

The file /etc/resolv.conf is the dns stuff, just add the line
Code:

nameserver xxx.xxx.xxx.xxx
replace the x's with the ip.

Also have a look at /etc/sysconfig/network.

also try the command
Code:

dhclient
.

I hope this help and this is what you wanted

-Yevgeniy

Aussie 05-11-2004 07:01 AM

ASUS will have a copy of the nvidia driver, but the one at the nvidia site is probably newer.

Xerop 05-11-2004 08:55 AM

Yeah, I think your right, I'll have to try them myself.

Aussie 05-11-2004 04:51 PM

My A7N8X Deluxe has two on board nics, the nvidia one and a 3com one. Guess which one I use?

Virus860 05-11-2004 10:28 PM

Hmm now I'm starting to think that my card is not detected because when I try to add the default route to the gateway it just says SIOCADDRT: Network is unreachable. I'm probably overlooking something obvious so any help on that would be great.

I added my dns server address name in the resolv.conf file as well as added my gateway in the hosts file (not sure if i was supposed to do that or not) and it does not help me any.

I dont have this directory and file etc/sysconfig/network for some reason.

dhcleint gives me a message of 'No Broadcaste interfaces found - exiting'

Any hints anyone can give me on how to solve my problem would be greatly appreciated.

Mike


All times are GMT -5. The time now is 03:11 PM.