LinuxQuestions.org
Help answer threads with 0 replies.
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 07-27-2005, 01:46 PM   #1
slylock
LQ Newbie
 
Registered: May 2005
Posts: 7

Rep: Reputation: 0
3Com PC card can send but not receive


I have a recent install of Fedora Core 4 on a Dell laptop, with a 3Com "Megahertz" PCMCIA ethernet card. I've tried various kernel options related to interrupts, most recently these: nousb acpi=noirq noapic. The symptom is that the card can send, but appears unable to receive. When I first activate the card, it tries to get an IP address via DHCP, and here's a packet trace showing repeated requests, always followed by a quick answer from the server, but it appears the card cannot hear the answer:

Code:
relative sent time, from IP, from port, to IP, to port, description
0.000000000	0.0.0.0	68	IP-BROADCAST	67	DHCPS:Client(0.0.0.0) Server(0.0.0.0) Gateway(0.0.0.0) Requester(0.0.0.0)
0.000967000	172.22.106.10	67	IP-BROADCAST	68	DHCPS:Client(0.0.0.0) Server(172.22.106.213) Gateway(172.22.106.10) Requester(0.0.0.0)
7.999424000	0.0.0.0	68	IP-BROADCAST	67	DHCPS:Client(0.0.0.0) Server(0.0.0.0) Gateway(0.0.0.0) Requester(0.0.0.0)
8.000455000	172.22.106.10	67	IP-BROADCAST	68	DHCPS:Client(0.0.0.0) Server(172.22.106.213) Gateway(172.22.106.10) Requester(0.0.0.0)
18.000544000	0.0.0.0	68	IP-BROADCAST	67	DHCPS:Client(0.0.0.0) Server(0.0.0.0) Gateway(0.0.0.0) Requester(0.0.0.0)
18.001532000	172.22.106.10	67	IP-BROADCAST	68	DHCPS:Client(0.0.0.0) Server(172.22.106.213) Gateway(172.22.106.10) Requester(0.0.0.0)
34.001139000	0.0.0.0	68	IP-BROADCAST	67	DHCPS:Client(0.0.0.0) Server(0.0.0.0) Gateway(0.0.0.0) Requester(0.0.0.0)
34.002055000	172.22.106.10	67	IP-BROADCAST	68	DHCPS:Client(0.0.0.0) Server(172.22.106.213) Gateway(172.22.106.10) Requester(0.0.0.0)
46.002117000	0.0.0.0	68	IP-BROADCAST	67	DHCPS:Client(0.0.0.0) Server(0.0.0.0) Gateway(0.0.0.0) Requester(0.0.0.0)
46.003098000	172.22.106.10	67	IP-BROADCAST	68	DHCPS:Client(0.0.0.0) Server(172.22.106.213) Gateway(172.22.106.10) Requester(0.0.0.0)
55.002275000	0.0.0.0	68	IP-BROADCAST	67	DHCPS:Client(0.0.0.0) Server(0.0.0.0) Gateway(0.0.0.0) Requester(0.0.0.0)
55.003419000	172.22.106.10	67	IP-BROADCAST	68	DHCPS:Client(0.0.0.0) Server(172.22.106.213) Gateway(172.22.106.10) Requester(0.0.0.0)
Here's the output of ipconfig, showing sent packets but zero received packets:
Code:
eth0      Link encap:Ethernet  HWaddr 00:00:86:12:E2:67
          inet6 addr: fe80::200:86ff:fe12:e267/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:6570 (6.4 KiB)
          Interrupt:3 Base address:0x300
Notice the interrupt is 3. When I look at /proc/interrupts, I do not see eth0 on interrupt 3:

Code:
           CPU0
  0:    3366759          XT-PIC  timer
  1:       1974          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  3:          7          XT-PIC  1.0
  5:          0          XT-PIC  NM256ZX
  6:         81          XT-PIC  floppy
  7:          3          XT-PIC  parport0
  8:          1          XT-PIC  rtc
  9:          1          XT-PIC  acpi
 11:     100000          XT-PIC  yenta, yenta
 12:      10933          XT-PIC  i8042
 14:      17884          XT-PIC  ide0
NMI:          0
ERR:          1
 
Old 07-27-2005, 02:01 PM   #2
slylock
LQ Newbie
 
Registered: May 2005
Posts: 7

Original Poster
Rep: Reputation: 0
P.S. that packet capture was taken from another machine on the same ethernet hub. If I run tcpdump on this machine, it shows only the outgoing packets, no replies.
 
Old 07-27-2005, 08:19 PM   #3
mpeg4codec
Member
 
Registered: Jul 2005
Distribution: Debian, Gentoo, self-built [not LFS]
Posts: 109

Rep: Reputation: 15
It makes me happy to see that someone's tried so hard to solve the problem on their own. Seriously, you have earned my respect.

But anyway, have you tried running tcpdump on the machine with the card that's having problems? Are you sure you don't have some sort of a funky rule set up with iptables?
 
Old 07-27-2005, 08:52 PM   #4
slylock
LQ Newbie
 
Registered: May 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks! I did run tcpdump, after reading the recent post about a 3Com card that only works when tcpdump is running, and my tcpdump captured only the outgoing ICMP packets. Never saw any packets coming back. Never saw any of the other traffic from other machines on the hub, for that matter.

I did, and do, suspect iptables, but I think I disabled it. I used the new Security Level gui, and tried disabling the firewall completely, and enabling it but making eth0 trusted, and also switching off SELinux. All to no avail.
 
  


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
Is it possible to send and receive "Net Send" messages in Linux? Avatar Linux - Networking 16 07-11-2010 09:42 PM
Ethernet card (Ether Express Pro) can send but NOT receive data Pipo Linux - Networking 2 09-28-2005 05:33 AM
Server does'nt send mail until shutdown and LAN can't send or receive. Wolfy Linux - Networking 0 08-02-2004 07:31 PM
Can Send, but Not Receive FXRS Linux - Software 1 07-09-2003 06:42 PM
Sendmail allows receive but not send rob19 Linux - Software 8 06-17-2003 11:02 AM


All times are GMT -5. The time now is 06:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration