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-07-2004, 12:06 AM   #1
rightcoast
LQ Newbie
 
Registered: Nov 2004
Location: East Coast
Distribution: Debian
Posts: 8

Rep: Reputation: 0
Davicom NIC card networking help


I'm trying out Mandrake 9.1 and am trying to configure Internet access using a CNet PCI 10/100mbps PRO200 davicom DM9102AF NIC or a Nforce2 MCP networking adapter. The Cnet is a PCI card and the other the onboard port. I not concerned with which one I end up using. I have heard the Nforce is difficult to configure though. I have run the Drakconnect wizard for both, it seems to see the card and onboard, but does not connect to the net. I tried a couple things to troubleshoot. Pinging 127.0.0.1 was successful. /sbin/ifconfig gave the following. (retyped so it may not be exact spacing)

Link encap:Local Loopback
inet addr:127.0.0.1 Mask 255.0.0.0
uploopback running MTU:16436 Metric:1
Rx packets 580 Errors:0 dropped:0 overruns:0 frames:0
Tx Packets 580 Errors:0 dropped:0 overruns:0 frames:0
collisions:0 Txqueuelun:0
Rx bytes:38700 (37.7Kb) Tx bytes 38700 37.7Kb

Thats all the info I can think of right now, I'll give any more that may be needed. I can usually Google a solution.

Last edited by rightcoast; 02-05-2009 at 10:28 AM.
 
Old 11-07-2004, 12:15 AM   #2
jarib
Member
 
Registered: Jun 2003
Location: British Columbia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
try

ifconfig eth0 up
dhcpcd -r

as root
 
Old 11-07-2004, 12:36 AM   #3
rightcoast
LQ Newbie
 
Registered: Nov 2004
Location: East Coast
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
dhcpcd -r returned

bash: dhcpcd: command not found
 
Old 11-07-2004, 12:45 AM   #4
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Appears you need to install dhcpcd packages. They should be on the CDs if you installed from them. I'm sort of suprised it didn't install them when you configured the connection.

I'm sort of stuck on dial-up so never installed to much networking stuff but you can go to install software and search for dhcpc and it should list the ones available. Just check them off and install them.

Hope that helps, a little bit anyway.

 
Old 11-07-2004, 01:24 AM   #5
rightcoast
LQ Newbie
 
Registered: Nov 2004
Location: East Coast
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Got the package installed and ran

ifconfig eth0 up
dhcpcd -r

it returned a blank line without a bash

upon running drakconnect wizard again it says

insmod'ing module tulip failed at /usr/lib
libdrakx/modules.pm line 61

under lan configuation it says

Interface IP address Protocol Driver State
eth0 no IP dhcp tulip down

Last edited by rightcoast; 02-05-2009 at 10:28 AM.
 
Old 11-07-2004, 01:57 AM   #6
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
Hello, everybody.

I haven't ran Mandrake for a while, so bear with me...

I believe that card's chipset uses the "dmfe" driver. Type, as root, "lsmod | grep dmfe" to see if it's been loaded. If not, type "modprobe dmfe". Then try to bring up your interface by typing "ifconfig eth0 up 192.168.0.1". That will bring your ethernet card online and assign it the (arbitrary) IP address of '192.168.0.1'. Try this last step even if the first two don't work; I may be mistaken about the module required. If the ifconfig command doesn't give any errors, check that the interfaces is up by typing, "ifconfig eth0". This should tell you a whole bunch of stuff about the interface if it's up, or simply output an error if it's not. Post the results of these commands and that'll give us a better idea of where the problem lies.

--Dane
 
Old 11-07-2004, 10:17 AM   #7
jarib
Member
 
Registered: Jun 2003
Location: British Columbia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Also try the commands with each nic. Both might not be active or up. What are you connecting the nic to? Some cable modems require a reboot if you change nics. I think with Mandrake you can hit esc during boot up to see what's getting loaded. Look for your nic or dhcpcd or an ip address or a fail
 
Old 11-07-2004, 10:50 AM   #8
rightcoast
LQ Newbie
 
Registered: Nov 2004
Location: East Coast
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
here is the output:

root@localhost rightcoast]# lsmod | grep dmfe
[root@localhost rightcoast]# modprobe dmfe
/lib/modules/2.4.22-10mdk/kernel/drivers/net/dmfe.o.gz: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
modprobe: insmod /lib/modules/2.4.22-10mdk/kernel/drivers/net/dmfe.o.gz failed
modprobe: insmod dmfe failed
[root@localhost rightcoast]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:08:A1:xxxxxxx
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x9000

I have an Ambit cable modem model 60678Eu http://www.ambitbroadband.com/broadband/U10C011.asp

The linux machine and a windows machine are connected to a gigafast ethernet router model EE400-R
http://www.newegg.com/app/viewproduc...129-201&DEPA=0

Last edited by rightcoast; 02-05-2009 at 10:29 AM.
 
Old 11-07-2004, 03:50 PM   #9
rightcoast
LQ Newbie
 
Registered: Nov 2004
Location: East Coast
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
I don't know if this helps, but dmesg aslo put out the following :

zcip uses obsolete (PF_INET,SOCK_PACKET)
eth0: Promiscuous mode enabled.
device eth0 entered promiscuous mode
device eth0 left promiscuous mode
dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
 
Old 11-07-2004, 05:30 PM   #10
rightcoast
LQ Newbie
 
Registered: Nov 2004
Location: East Coast
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Would a different distro make any difference? I am ready to give up on Mandrake.

Last edited by rightcoast; 02-05-2009 at 10:29 AM.
 
Old 11-07-2004, 07:04 PM   #11
jarib
Member
 
Registered: Jun 2003
Location: British Columbia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
another command you could use is lspci This will list your pci devices. It looks like eth0 is loaded. Did you get any errors or fails at boot up? dhcpcd -r should try to pick up an ip from your router. Have you tried both nics? The Mandrake control centre wizard thing should let you configure the nic for dhcp/automatic or manual/static. You could try netconfig from a terminal as root. Not sure if Mandrake has netconfig but can't hurt to try. You could also try a static or manual ip instead of dhcp.

you'll need to be root to make any changes
 
Old 11-07-2004, 07:07 PM   #12
jarib
Member
 
Registered: Jun 2003
Location: British Columbia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
btw I don't think it makes much difference what distro you use. If you have knopix handy you could boot it and see what driver it uses for your nic. I hear it's good at detecting hardware. Otherwise the main difference with distros is the way they update and install programs
 
Old 11-07-2004, 08:36 PM   #13
rightcoast
LQ Newbie
 
Registered: Nov 2004
Location: East Coast
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
I do have a knopppix live cd I'll try that...good idea, thank you

Last edited by rightcoast; 02-05-2009 at 10:30 AM.
 
Old 11-09-2004, 02:57 AM   #14
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
It looks like your kernel isn't compiled with support for this network card. Don't worry; this isn't too hard to fix if you don't mind taking the time. The first thing you need to do is make sure you've installed the kernel source RPMs from the installation CDs. Next, go to the directory with your kernel source in it (/usr/src/linux-xxx) and type "make xconfig". (Note that you have to be in X Windows for this to work.) Now look in the device drivers section, under 10/100 networking (or something like that) and start looking for your card and chipset. When you find anything at all that might have something to do with your network card click on its box until it's filled with a dot. (This will create the module for it.) It won't really hurt anything to compile extra modules for networking hardware, so when in doubt do so. If you can't find anything that says "Davicom" you'll probably want to compile the "tulip" driver family.

When you've got everything selected how you want it, save the configuration, exit xconfig, and type the following:

Code:
make
make modules
make modules_install
make bzImage
make install
This will take a while to complete.

Once that's done, verify that you've got the new kernel image copied into /boot by doing "ls -l /boot" and looking for something with today's date. It'll probably be called "vmlinuz". If everything looks OK reboot and try the aforementioned commands again; you'll probably be able to get it working without much trouble after that.

--Dane
 
Old 11-09-2004, 03:11 AM   #15
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
The driver for that is "Davicom DM910x/DM980x support". I have the card and it works with that driver. Now if I can just figure out how to get my network to share the internet.

Later

 
  


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
Davicom NIC problems - Slackware lantern Linux - Networking 11 05-03-2005 02:32 PM
gentoo: NIC kernel module (davicom dm910af) cmario00 Linux - Networking 0 09-21-2004 06:43 PM
My network card doesnt work? Davicom DM9102AF chipset entob *BSD 7 08-19-2004 05:07 PM
Problems setting up a davicom ethernet card on a fedora 1 system coyote399 Linux - Networking 4 02-20-2004 03:52 PM
Problems loading the module dmfe.o for a davicom nic. adz Linux - Networking 15 09-07-2003 09:44 PM

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

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