LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-30-2005, 02:06 PM   #1
RSpendl
LQ Newbie
 
Registered: Oct 2005
Location: Slovenia
Posts: 11

Rep: Reputation: 0
3C509B can not connect over TCP/IP (gets DHCP address though)


Hi all,
I am trying to make some use out of a scrap computer (P-150, 48 M RAM) with Ubuntu, but I am stuck with an ISA 3COM 3C509B-TPO card. I have loaded 3c509 module (without any parameters and with xcvr=12,12 (force full-duplex) and xcvr=4,4 (tell it is connected to 10-baseT)), got ifup eth0, which actually obtains the address from dhcp server, can ping local computers and any internet computers, resolve DNS (i.e. ping www-google-com works fine, the packets are not lost - actually, only one in 25 was lost), but
...
I can not make a simple TCP/IP connection even in the local network.

To avoid all other issues (firewall lets all packets in the local network through), I tried a trivial connection with nc:
1. Listen on non-working computer (192-168-0-5 - kant-ipsum-si) with "nc -l -p 3000"
2. Try to connect from 192-168-0-1 (zion-ipsum-si) with "nc 192-168-0-5 3000" (any type abc and Enter)
There is no response at the listener's side, it does not connect nor give any kind of hint that it has received anything (even an error would be a major improvement ;-).

The output from tcpdump -vv is as follows:
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
20:50:57.808873 IP (tos 0x0, ttl 64, id 3841, offset 0, flags [DF], proto 6, length: 60) zion-ipsum-si.33720 > kant-ipsum-si.3000: S [tcp sum ok] 2767605910:2767605910(0) win 5840 <mss 1460,sackOK,timestamp 45965207 0,nop,wscale 2>
(this is when nc tries to connect)

20:51:00.809749 IP (tos 0x0, ttl 64, id 3843, offset 0, flags [DF], proto 6, length: 60) zion-ipsum-si.33720 > kant-ipsum-si.3000: S [tcp sum ok] 2767605910:2767605910(0) win
5840 <mss 1460,sackOK,timestamp 45968208 0,nop,wscale 2>
(when I type "abc" and press Enter)

20:51:02.809644 arp who-has kant-ipsum-si tell zion-ipsum-si
20:51:02.810131 arp reply kant-ipsum-si is-at ff:ff:24:40:f8:58
(when nc is closed by Ctrl-C)


Does anyone has any suggestion what to try? (besides throwing the scrap away and get some life ;-) How could I tell it is some configuration issue or just a faulty NIC? It is puzzling since ping and DNS work without any problems, so I can't see why is "nc" just quiet.

Any suggestions are appreciated.

Thanks,
Robert
 
Old 10-30-2005, 04:43 PM   #2
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
I've found these cards to be nothing but reliable on default settings.
Do the same problems occur in half-duplex?
Are you connecting your machines with an n-way switch?
 
Old 10-30-2005, 10:22 PM   #3
RSpendl
LQ Newbie
 
Registered: Oct 2005
Location: Slovenia
Posts: 11

Original Poster
Rep: Reputation: 0
It is the same with half-duplex (default) and full-duplex (xcvr=12,12), through the 10/100 Mbps switch or connecting directly to the other computer via crossover cable. I've checked IRQ and it is not shared by any other device, interrupts seem to occur OK (number in /proc/interrupts is increasing gradually).
 
Old 10-30-2005, 11:35 PM   #4
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
Perhaps these might help
http://www.tldp.org/HOWTO/Ethernet-HOWTO-4.html#ss4.1
http://linuxgazette.net/112/tag/1.html
ftp://ftp.3com.com/pub/nic/3c509/

It's been a while since I played with these old cards.
Last time I remember using them I put 3 in a firewall.
I think I made sure the IO ports and IRQs were all set manually.
Have you disabled any onboard devices to make sure there's no conflict?
The ETHERNET-HOWTO also mentions unmasking IDE interrupts
to avoid dropped packets (with some models, in some cases)

Hope that helps a little.
 
Old 10-31-2005, 06:56 AM   #5
RSpendl
LQ Newbie
 
Registered: Oct 2005
Location: Slovenia
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for all the links, I have fiddeled with settings for a while but
since there was no success, I decided to blow 6 EUR for a new RTL
8139D 10/100 network card and guess what - it worked right away.
Probably the problem was with the card anyway.

Thank you again for your efforts,
Robert
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 no ip address and netmask dont match route address pengy666 Linux - Wireless Networking 1 05-08-2005 09:33 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 10:33 AM
sun-dr/tcp: bind: Address already in use choonseng Solaris / OpenSolaris 2 10-18-2004 02:48 AM
dhcpcd not accepting offered ip address on 3c509b-tpo card Yukoner Slackware - Installation 4 06-14-2004 05:56 PM
DHCP, webmin, and TCP/IP ports mattrobbins Linux - Networking 5 10-14-2003 03:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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