LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-31-2004, 08:09 PM   #1
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Rep: Reputation: 30
dhcp problems with 3com 3c905tx


I'm having some problems getting the second ethernet card to work in my desktop.

It's a 3com 3c905tx card and is accurately recognized by kudzu. I'm running fedora core 2 kernel 2.6.8.1

lsmod reports that the card is using the 3c59x module. upon calling ifconfig, the following is reported for eth1:
Code:
eth1      Link encap:Ethernet  HWaddr (hidden)  
          inet6 addr: fe80::260:8ff:fecd:fa20/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:4 carrier:4
          collisions:0 txqueuelen:1000 
          RX bytes:6778 (6.6 Kb)  TX bytes:0 (0.0 b)
          Interrupt:22 Base address:0xdec0
the problem is that the card is not accepting DHCP for some reason. The card works PERFECTLY in windows xp in the same computer.

Code:
sohmc@bart:/home/sohmc# dhclient eth1
Internet Software Consortium DHCP Client V3.0.1rc12
Copyright 1995-2002 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/eth1/00:60:08:cd:fa:20
Sending on   LPF/eth1/00:60:08:cd:fa:20
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Any help would be appreciated. DHCP works for the on-board ethernet card and works for the rest of the network.

Thanks!
 
Old 01-01-2005, 12:50 AM   #2
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
Hmmm.... networks are can be annoying sometimes (I've had plenty of cases where they were ) Other than asking you to (double) check whether all the cables are plugged in correctly, I can't really say much, but here goes:

Does this command do anything for you # ifup eth1?

Have you tried doing the # dhclient eth1 more than once in a row? That solved the problem for me sometimes, because of some unknown reason my router just didn't initiate a connection.

Are both ethernets connected to the same router? Does the first one get initialized on boot, and the second one (like.. do you have to do ifconfig eth1 up)?

Last edited by student04; 01-01-2005 at 12:56 AM.
 
Old 01-01-2005, 06:25 AM   #3
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by student04
Does this command do anything for you # ifup eth1?
Code:
sohmc@bart:/home/sohmc# ifup eth1

Determining IP information for eth1... failed.
Quote:
Originally posted by student04
Have you tried doing the # dhclient eth1 more than once in a row? That solved the problem for me sometimes, because of some unknown reason my router just didn't initiate a connection.
I have tried running dhclient several times before giving up. The link light on the card flickers when it sends it's broadcast message.

Quote:
Originally posted by student04
Are both ethernets connected to the same router? Does the first one get initialized on boot, and the second one (like.. do you have to do ifconfig eth1 up)? [/B]
Well, yes and no. The goal is for me to set up an Internet router with my server. To test the ethernet card, I unplugged the cable from my on-board network card (eth0) and plugged it into my PCI 3x905 card (eth1). I should admit, a few times when I ran `/etc/init.d/network restart`, when initializing eth1, I got some strange output. After a good restart, it didn't do that anymore.

Both network cards are set up to be started on-boot. I have the same problems: IP address is not given.

Oh, here is another interesting fact. I gave eth1 a defined IP address and it cannot ping anything.

Thanks for your help student04. Do you have any other suggestions I could try?
 
Old 01-01-2005, 01:17 PM   #4
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
Might it be a driver issue? I'll look around a little.

*edit*
http://support.3com.com/infodeli/too...uxdownload.htm

Quote:
Note: The 3C59x, 3C900 and 3C905 series NICs are supported by Donald Becker's driver. This driver can be obtained at the below URL:

* http://www.scyld.com/network/vortex.html
That says the driver is correct.. hm.. I'm kinda out of suggestions

Last edited by student04; 01-01-2005 at 01:20 PM.
 
Old 01-02-2005, 09:44 AM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
can you show these

lspci |grep Ether


modinfo 3c59x

grep 3c59x /etc/modprobe.conf

Last edited by DavidPhillips; 01-02-2005 at 09:47 AM.
 
Old 01-02-2005, 09:47 AM   #6
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by DavidPhillips
can you show these

lspci |grep Ether


modinfo 3c59x
Code:
root@homer:~# lspci | grep Ether
01:05.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang]
01:09.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
root@homer:~# modinfo 3c59x
author:         Donald Becker <becker@scyld.com>
description:    3Com 3c59x/3c9xx ethernet driver LK1.1.19 10 Nov 2002
license:        GPL
parm:           debug:3c59x debug level (0-6)
parm:           options:3c59x: Bits 0-3: media type, bit 4: bus mastering, bit 9: full duplex
parm:           global_options:3c59x: same as options, but applies to all NICs if options is unset
parm:           full_duplex:3c59x full duplex setting(s) (1)
parm:           global_full_duplex:3c59x: same as full_duplex, but applies to all NICs if options is unset
parm:           hw_checksums:3c59x Hardware checksum checking by adapter(s) (0-1)
parm:           flow_ctrl:3c59x 802.3x flow control usage (PAUSE only) (0-1)
parm:           enable_wol:3c59x: Turn on Wake-on-LAN for adapter(s) (0-1)
parm:           global_enable_wol:3c59x: same as enable_wol, but applies to all NICs if options is unset
parm:           rx_copybreak:3c59x copy breakpoint for copy-only-tiny-frames
parm:           max_interrupt_work:3c59x maximum events handled per interrupt
parm:           compaq_ioaddr:3c59x PCI I/O base address (Compaq BIOS problem workaround)
parm:           compaq_irq:3c59x PCI IRQ number (Compaq BIOS problem workaround)
parm:           compaq_device_id:3c59x PCI device ID (Compaq BIOS problem workaround)
parm:           watchdog:3c59x transmit timeout in milliseconds
vermagic:       2.6.8.1 PENTIUM4 REGPARM gcc-3.3
depends:        
alias:          pci:v000010B7d00005900sv*sd*bc*sc*i*
alias:          pci:v000010B7d00005920sv*sd*bc*sc*i*
alias:          pci:v000010B7d00005970sv*sd*bc*sc*i*
alias:          pci:v000010B7d00005950sv*sd*bc*sc*i*
alias:          pci:v000010B7d00005951sv*sd*bc*sc*i*
alias:          pci:v000010B7d00005952sv*sd*bc*sc*i*
alias:          pci:v000010B7d00009000sv*sd*bc*sc*i*
alias:          pci:v000010B7d00009001sv*sd*bc*sc*i*
alias:          pci:v000010B7d00009004sv*sd*bc*sc*i*
alias:          pci:v000010B7d00009005sv*sd*bc*sc*i*
alias:          pci:v000010B7d00009006sv*sd*bc*sc*i*
alias:          pci:v000010B7d0000900Asv*sd*bc*sc*i*
alias:          pci:v000010B7d00009050sv*sd*bc*sc*i*
alias:          pci:v000010B7d00009051sv*sd*bc*sc*i*
alias:          pci:v000010B7d00009055sv*sd*bc*sc*i*
alias:          pci:v000010B7d00009058sv*sd*bc*sc*i*
alias:          pci:v000010B7d0000905Asv*sd*bc*sc*i*
alias:          pci:v000010B7d00009200sv*sd*bc*sc*i*
alias:          pci:v000010B7d00009202sv*sd*bc*sc*i*
alias:          pci:v000010B7d00009800sv*sd*bc*sc*i*
alias:          pci:v000010B7d00009805sv*sd*bc*sc*i*
alias:          pci:v000010B7d00007646sv*sd*bc*sc*i*
alias:          pci:v000010B7d00005055sv*sd*bc*sc*i*
alias:          pci:v000010B7d00006055sv*sd*bc*sc*i*
alias:          pci:v000010B7d00006056sv*sd*bc*sc*i*
alias:          pci:v000010B7d00005B57sv*sd*bc*sc*i*
alias:          pci:v000010B7d00005057sv*sd*bc*sc*i*
alias:          pci:v000010B7d00005157sv*sd*bc*sc*i*
alias:          pci:v000010B7d00005257sv*sd*bc*sc*i*
alias:          pci:v000010B7d00006560sv*sd*bc*sc*i*
alias:          pci:v000010B7d00006562sv*sd*bc*sc*i*
alias:          pci:v000010B7d00006564sv*sd*bc*sc*i*
alias:          pci:v000010B7d00004500sv*sd*bc*sc*i*
alias:          pci:v000010B7d00009201sv*sd*bc*sc*i*
alias:          pci:v000010B7d00001201sv*sd*bc*sc*i*
alias:          pci:v000010B7d00001202sv*sd*bc*sc*i*
alias:          pci:v000010B7d00009056sv*sd*bc*sc*i*
alias:          pci:v000010B7d00009210sv*sd*bc*sc*i*
Hope this means something...:-)
 
Old 01-02-2005, 09:51 AM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Well,

The driver is the same on mine..

[root@rhel ~]# modinfo 3c59x
filename: /lib/modules/2.6.9-1.675_EL.custom/kernel/drivers/net/3c59x.ko
author: Donald Becker <becker@scyld.com>
description: 3Com 3c59x/3c9xx ethernet driver LK1.1.19 10 Nov 2002


However I have a Tornado..

[root@rhel ~]# lspci |grep Eth
00:0f.0 Ethernet controller: Linksys NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)
00:12.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)



Anything interesting in /etc/modprobe.conf

see if you have a file /etc/modules.conf that may have something in it.
 
Old 01-02-2005, 01:06 PM   #8
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by DavidPhillips
Anything interesting in /etc/modprobe.conf

see if you have a file /etc/modules.conf that may have something in it.
Code:
root@homer:~# cat /etc/modprobe.conf
alias eth0 b44
alias snd-card-0 snd-intel8x0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias ieee1394-controller ohci1394
alias scsi_hostadapter sbp2
alias eth1 3c59x
 
Old 01-02-2005, 05:17 PM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Does it work with a static ip?
 
Old 01-02-2005, 05:30 PM   #10
rbochan
Member
 
Registered: Dec 2004
Location: Central New York
Distribution: Debian
Posts: 218

Rep: Reputation: 30
A couple other things you might try are:
-- Release the IP from within Microsoft Windows before you boot into Linux
-- Make sure you're powering down, not just rebooting, when you switch OS.
 
Old 01-02-2005, 07:27 PM   #11
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by DavidPhillips
Does it work with a static ip?
nope. Just sits there, not pinging... I mean, eth1 will say it has an IP address, but try pinging something and it says something along the lines of "192.168.1.50: destination unreachable."

Quote:
Originally posted by rbochan
A couple other things you might try are:
-- Release the IP from within Microsoft Windows before you boot into Linux
-- Make sure you're powering down, not just rebooting, when you switch OS.
The ethernet card works PERFECTLY out of the box in windows. I get an IP address and everything. I have powered down, unplugged, waited 2-3 minutes, powered up repeatedly.

I assume at this point that all hope is loss and I should go out and buy another card.
 
Old 01-02-2005, 08:43 PM   #12
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I have seen this with my 3com Tornado and an earlier kernel. It works fine with my current kernel.
 
Old 01-04-2005, 10:16 AM   #13
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Original Poster
Rep: Reputation: 30
I'm using the 2.6.8.1 kernel...is fairly new...not the newest...but still good..
 
Old 01-09-2005, 05:11 AM   #14
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Original Poster
Rep: Reputation: 30
I've tried identical cards to see if it was the actual card but it is not the card. I am mystified...

It's not the driver...any other thoughts? Could the card be conflicting with something??
 
Old 01-20-2005, 02:07 PM   #15
deargin
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
The thing that caught my eye was the card state, UP BROADCAST MULTICAST.

If you check your other nics with ifconfig or whatever, you'll probably see that they also say 'RUNNING'........right ?

So, it sounds like the card doesn't detect a carrier.

Question: Does the card have other connectors, like a BNC conecter. (other connecters apart from the ethernet RJ-45 connection) ??


If so, it is possible that it is waiting for something to happen there, and not listening on the RJ-45 port.

I believe there is a driver option to set the card to use just the RJ-45 connection, but i haven't found it yet.



I have a problem with a 3c590C card using the same driver.

Its fixed ip address.

If the other end of the line is operational when the machine is powerd on, the card works and shows state UP BROADCAST MULTICAST RUNNING.

Otherwise, it shows state UP BROADCAST MULTICAST.

When this is the case, after bringing the nic down and up again (sometimes a few times in a row) with "ifconfig eth1 down ; ifconfig eth1 up",
a following "ifconfig eth1" call on it's own shows the card is in state UP BROADCAST MULTICAST RUNNING, and it works.


If the cable is unplugged or the other machine turned off, the RUNNING flag goes off eventually, and the nic needs to be brought down and up again (as above) with the cable in and the other machine on before it works again.

Somebody suggested that the negotiation on these cards was poor.

However, another chap suggested that when the signal goes down on the RJ-45 connection, the card switchs over to listening on the BNC connection forever thereafter. Hence why the ehternet only worked again when it was brought down and up.


I'd be interested to hear if this is your problem. Try it with a static ip.


Also, i'd be interested to hear if you or anybody else finds out or knows the driver option to give here so that only the ethernet RJ-45 connection on this card is used.

Regards

d
 
  


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
DHCP problems - multiple DHCP servers sat86 Linux - Networking 4 10-02-2005 05:43 AM
problem dhcp service with 3com 4900 sx (3c17702) & 4228G (3c17304) n_f Linux - Networking 2 07-13-2005 06:36 AM
3COM PCMCIA working but dhcp problem renak Linux - Wireless Networking 0 04-26-2004 03:39 AM
Can't get 3com card to load on boot with DHCP. dc78 Linux - Networking 2 01-14-2004 06:06 PM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM

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

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