LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-12-2003, 09:24 PM   #1
exper
Member
 
Registered: Jul 2003
Location: China
Distribution: Redhat
Posts: 48

Rep: Reputation: 15
Unhappy How can i made my 3Com Lan card @ ASUS P4C800 working?


I have just get an ASUS P4C800 Delux, it have a 3Com Gigabit Lan card
but i cant get it up automatic.
I just use it manually.

I use the following command to setup my Lan card
1) copy the driver to the /usr/src/linux-2.4 and uncompress it to 3c2000 folder.
2) use "make load" and " insmod 3c2000.o" to load the driver
3) use "ifconfig eth0 up" to bring the card to work
4) use "ifconfig eth0 192.168.1.2" to setup ip address.
now the lan card can working perfect
so I return to the graphic interface to config the network's other options
but when i get the networking setting, i have no network device found.
I use ping command to connect to other box to test my connection, i found it's OK.

so i reboot my box
after the OS start i us ifconfig to see my network status
but i couldn't find eth0
so i use #dmesg | grep eth0;
but no item i get.
so i use #insmod /usr/src/linux-2.4/3c2000/3c2000.o
now the driver have load
i use #dmesg to see what happen on my box
i found it add some message on my dmesg output like following:

divert: allocating divert_blk for eth0
3c2000: 3Com Gigabit NIC Driver Version A10
Copyright(c) 2003 3Com Corporation.
Copyright(c) 2003 Marvell
eth0: 3Com Gigabit LOM(3C940)
PrePort: A RlmtMode:Check Link State

I must use ifconfig to wakeup my NIC. and no netwrok device found on the graphic network setting.

I want to know what happen on my nic card
I want nic can work automatically after my box start ,not manually.
How can I add it on the start script to bring it up?


Thanks
Exper
 
Old 11-13-2003, 01:45 AM   #2
CaptainInsane
Member
 
Registered: Nov 2003
Location: Peoria
Distribution: Fedora 8
Posts: 92

Rep: Reputation: 15
Question

I have a P4P800 I put RedHat 9 on tonight with the exact same
problem. Fails to detect the nic correctly at startup or restarts, but
have to manually load the driver and turn it on each time.

Any ideas ?
 
Old 11-13-2003, 06:34 AM   #3
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
You can load the driver automatically by adding it to the /etc/modules file. You just specify the module name without the path and without the ".o" extension. In future, to load /directory/module.o try the command modprobe module. Less typing.

With everything else you have to do, just put that in a script. Run the script manually to verify that it works (make sure to check permissions) and then get it to run at startup. Doing that is a little distro-specific. On debian you copy the script to /etc/init.d and then symlink it to any of the rcX.d directories depending on which runlevel you want it in. Red Hat does this a little differently and I'm not entirely sure how but a quick google search should yield results.
 
Old 11-18-2003, 01:34 AM   #4
CaptainInsane
Member
 
Registered: Nov 2003
Location: Peoria
Distribution: Fedora 8
Posts: 92

Rep: Reputation: 15
I got it to autoload with RedHat ok.
In addition to adding the line 'alias eth0 3c2000' to the /etc/modules.conf
file, I also had to copy the file to the following location:

/lib/modules/2.4.2.20/kernel/drivers/net

That did the trick !
 
Old 11-18-2003, 08:47 AM   #5
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Cool.
 
Old 11-18-2003, 10:02 PM   #6
CaptainInsane
Member
 
Registered: Nov 2003
Location: Peoria
Distribution: Fedora 8
Posts: 92

Rep: Reputation: 15
That fixed the driver loading problem, but it seems the 3Com driver is
somewhat defective. Check out this thread:

http://www.linuxquestions.org/questi...ighlight=3C940

I downloaded and installed the driver mentioned in that thread, and
now have all network/internet junk loading working ok.
 
  


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
Network problem on Suse 9.1 (mobo Asus P4C800 dlx with 3com 940 giageo Linux - Newbie 2 06-29-2004 02:50 PM
Asus: P4C800 or P4C800-E deluxe, Sata RAID0 -- Compatibility C.Loko Linux - Hardware 1 02-27-2004 08:03 PM
Help”” 3com 3C940 in ASUS P4C800 mabs Linux - Hardware 4 02-17-2004 03:00 AM
Onboard sound not working on Asus P4C800-E Igman Linux - General 0 01-05-2004 09:01 PM
Installing Lan Driver for ASUS P4C800-e? nycundaground Linux - Networking 0 08-09-2003 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:29 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