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 08-13-2003, 12:06 AM   #1
tommycat
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake 9.1
Posts: 15

Rep: Reputation: 0
D-Link and Linux(Mandrake9.1)


After much searching and quite a bit of frustration(read hair ripped out by the root). I have decided to come here.
For about two weeks now I have been running linux as my server. One of my NIC cards has a F%*KING problem with staying up. It seems that after about 8 hours of inactivity I have to reboot my server to get my network card to respond again. Its the DFE-550TX. It acts like that card goes to sleep, but its more like it dies completely. Nothing seems to wake it(much like that Uncle that comes over around Thanksgiving, and falls asleep on the couch and no matter what you try he stays asleep). Its about to turn me back to M$. Winduhs has its problems, but at least I only had to reboot it once a week.
 
Old 08-13-2003, 02:30 AM   #2
quest4knowledge
Member
 
Registered: Aug 2003
Distribution: gentoo
Posts: 62

Rep: Reputation: 15
You should include some things like what you have already tried that didnt work.

output from command: ifconfig ethX
while the device is asleep

and possibly check your log files for problems.
 
Old 08-15-2003, 05:28 PM   #3
tommycat
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
from ifconfig eth1
Quote:
eth1 Link encap:Ethernet HWaddr 00:90:27:A3:45:64
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1623 errors:0 dropped:0 overruns:0 frame:0
TX packets:4091 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:257409 (251.3 Kb) TX bytes:884580 (863.8 Kb)
Interrupt:5
Which log should I look in?
 
Old 08-15-2003, 09:54 PM   #4
quest4knowledge
Member
 
Registered: Aug 2003
Distribution: gentoo
Posts: 62

Rep: Reputation: 15
for most distros you would look in /var/log/messages but there may be some other interesting stuff in /var/log so check it out.

I have some other questions:

1 What distro do you use?
2 when the nic is failing what is returned by the ping command? ping the device and loopback then maybe your gateway if the other 2 respond.
3 Any other nics in the system?
4 Was that output from while it was failing?
 
Old 08-16-2003, 01:11 AM   #5
tommycat
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
1) Mandrake Linux v 9.1
2) from the server
Quote:
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.301 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.210 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.205 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.204 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.205 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=0.201 ms
On the machine attempting to connect
"Request timed out"
Um loopback(127.0.0.1)? gateway?
3)yes
eth0 - internet connection
eth1 - failing one
eth2 - second machine connected. No problems with it.
lspci -v
Quote:
00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at d400 [size=256]
Memory at ea141000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at e7000000 [disabled] [size=64K]
Capabilities: [50] Power Management version 2

00:09.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
Subsystem: Intel Corp. EtherExpress PRO/100+ Management Adapter
Flags: bus master, medium devsel, latency 64, IRQ 5
Memory at ea142000 (32-bit, non-prefetchable) [size=4K]
I/O ports at d800 [size=64]
Memory at ea000000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at e8000000 [disabled] [size=1M]
Capabilities: [dc] Power Management version 2

00:0a.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 12)
Subsystem: D-Link System Inc DFE-550TX
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at dc00 [size=128]
Memory at ea140000 (32-bit, non-prefetchable) [size=512]
Expansion ROM at e9000000 [disabled] [size=64K]
Capabilities: [50] Power Management version 2
4)yes that was what was listed by ifconfig
in /var/log/syslog
Quote:
Aug 15 22:01:13 ip<my ip> kernel: IN=eth0 OUT= MAC= SRC=<hidden>.0.179.161 DST=(Mostly my ipending in 255) LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=520 DPT=520 LEN=32
Aug 15 22:01:13 ip<my ip> kernel: IN=eth1 OUT= MAC= SRC=192.168.1.1 DST=(Mostly my ipending in 255) LEN=72 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=520 DPT=520 LEN=52
Aug 15 22:01:25 ip<my ip> kernel: IN=eth0 OUT= MAC= SRC=<hidden>.0.179.161 DST=(Mostly my ipending in 255) LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=32773 DPT=137 LEN=58
Aug 15 22:01:26 ip<my ip> last message repeated 2 times
Aug 15 22:01:26 ip<hidden>-0-179-161 kernel: IN=eth1 OUT= MAC= SRC=192.168.1.1 DST=192.168.1.255 LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=32773 DPT=137 LEN=58
Aug 15 22:01:26 ip<hidden>-0-179-161 kernel: IN=eth1 OUT= MAC=00:90:27:a3:45:64:00:10:dc:f0:7b:84:08:00 SRC=192.168.1.4 DST=192.168.1.1 LEN=90 TOS=0x00 PREC=0x00 TTL=128 ID=41332 PROTO=UDP SPT=137 DPT=32773 LEN=70
Aug 15 22:01:26 ip<hidden>-0-179-161 kernel: IN=eth1 OUT= MAC= SRC=192.168.1.1 DST=192.168.1.255 LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=32773 DPT=137 LEN=58
from /var/log/messages
Quote:
Aug 15 22:02:57 ip<hidden>-0-179-161 kernel: IN=eth0 OUT= MAC=00:50:bf:74:8a:e3:00:01:42:2f:f7:70:08:00 SRC=211.13.227.66 DST=<hidden>.0.179.161 LEN=84 TOS=0x00 PREC=0x00 TTL=50 ID=6430 PROTO=ICMP TYPE=8 CODE=0 ID=45569 SEQ=19115
Aug 15 22:02:57 ip<my ip> kernel: IN=eth0 OUT= MAC=00:50:bf:74:8a:e3:00:01:42:2f:f7:70:08:00 SRC=212.62.17.145 DST=<my ip> LEN=84 TOS=0x00 PREC=0x00 TTL=48 ID=61792 PROTO=ICMP TYPE=8 CODE=0 ID=63093 SEQ=35998
any other logs that might help?

Last edited by tommycat; 08-16-2003 at 01:12 AM.
 
Old 08-17-2003, 01:06 AM   #6
tommycat
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
finally a failure noticed in messages
Quote:
dhcpd: receive_packet failed on eth1: Network is down

martian source 192.168.1.255 from 192.168.1.4, on dev eth1
 
Old 08-17-2003, 02:16 PM   #7
quest4knowledge
Member
 
Registered: Aug 2003
Distribution: gentoo
Posts: 62

Rep: Reputation: 15
I havent been able to find a definate answer on this but from I gather, this error you are recieving is saying that the kernel is dropping the packet because it beleives that the source is invalid.

This command may possibly help:

echo 0 > /proc/sys/net/ipv4/rp_filter
 
  


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
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM
Multiple OS'es Win XP, Suse, and Mandrake9.2 can,t boot to the Linux OS'es Chancelor Mandriva 3 12-28-2003 04:05 AM
first time linux user, frist day with mandrake9.1 on my system. Sabastian Linux - Software 34 06-19-2003 11:10 PM
first time linux user, frist day with mandrake9.1 on my system. Sabastian Linux - Newbie 4 06-18-2003 02:35 AM
WPC11 and Mandrake9.1-Help im new to linux. H4rM Linux - Hardware 3 05-07-2003 10:59 PM

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

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