LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-27-2007, 09:27 PM   #1
HCLPfan
LQ Newbie
 
Registered: Dec 2004
Location: Dallas, Texas
Posts: 8

Rep: Reputation: 0
Debian etch network connection issue


So I just finished installing my etch Debian on my other machine and it seems to be having an odd issue. I did a net install so the network connection worked for at least the full 30 minutes it took to download. Now it seems that i keep losing my network connection. After I boot up it stays connected for like 30-60 seconds and then the connection drops. If i unplug the cord and wait a sec then plug it back in it'll work again for another 30-60 seconds and then crap out. Any idea whats going on?
 
Old 02-27-2007, 09:53 PM   #2
HCLPfan
LQ Newbie
 
Registered: Dec 2004
Location: Dallas, Texas
Posts: 8

Original Poster
Rep: Reputation: 0
Few more pieces of info:

- When the connection drops both lights on my Ethernet are still lit green
- When it drops if i load the Network Tools window my "Reception errors" keeps increasing every second or so
- I tried plugging my windows XP laptop into the same port with the same cord and have no problems
 
Old 02-27-2007, 09:55 PM   #3
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 453

Rep: Reputation: 32
Etch is testing although many are using it. It could be some bug. You should check these things:
  • less /var/log/syslog for messages about eth0
  • ifconfig eth0 will tell you the state of your interface
  • grep dhclient /var/log/syslog to see how conversations with ISP DHCP go
  • cat /etc/network/interfaces to display your configuration



Last edited by RobertP; 02-27-2007 at 09:58 PM.
 
Old 02-27-2007, 09:59 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
Is this a wireless issue or a wired-network issue? From your post, it looks like you're wired. So, I guess we need to see the usual stuff: i.e. the outputs from "lspci", "lsusb" (if it's a USB NIC), "ifconfig", "iwconfig" (if it's wireless), and "route". Also, what kind of router are you using? It probably won't make any difference, but just in case. Finally, are you by any chance using a wireless bridge? If so, you'll need to reboot your router every time you switch it to a different machine.
 
Old 02-27-2007, 10:02 PM   #5
HCLPfan
LQ Newbie
 
Registered: Dec 2004
Location: Dallas, Texas
Posts: 8

Original Poster
Rep: Reputation: 0
Well i did what you said but to be honest i'm new enough that i really have no idea what any of that means. Do you just suggest i downgrade back to sarge? I have previously used it and know its worked at least in the past.
 
Old 02-27-2007, 10:04 PM   #6
HCLPfan
LQ Newbie
 
Registered: Dec 2004
Location: Dallas, Texas
Posts: 8

Original Poster
Rep: Reputation: 0
It is wired and i was preciously using sarge with the same setup, all i did was upgrade and now I have problems. I think i might just switch back to sarge.
 
Old 02-27-2007, 10:05 PM   #7
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 453

Rep: Reputation: 32
Etch is soon to be released as the new stable, so I would not switch back. I am using it now and I have seen only one or two unimportant bugs affect me.
 
Old 02-27-2007, 10:05 PM   #8
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
I'd say stick with etch and work out the problem.. if you open a shell and type the command requested and post their output here someone should be able to help you.. You will learn more than if you just move backwards..

lspci | grep Ethernet

lsmod

ifconfig -a

Last edited by farslayer; 02-27-2007 at 10:07 PM.
 
Old 02-27-2007, 10:08 PM   #9
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
"Well i did what you said but to be honest i'm new enough that i really have no idea what any of that means."

You have to actually post the responses before we can see them, I'm afraid.
 
Old 02-27-2007, 10:19 PM   #10
HCLPfan
LQ Newbie
 
Registered: Dec 2004
Location: Dallas, Texas
Posts: 8

Original Poster
Rep: Reputation: 0
Well then... here goes (this is the info returned if i run the commands after the connection drops)

# less /var/log/syslog for messages about eth0

Quote:
NetworkManager: <information>^ISWITCH: terminating current connection 'eth0' because it's no longer valid
NetworkManager: <information>^IDeactivating device eth0
...followed by some more stuff about killing the process and PID file...
# ifconfig eth0 will tell you the state of your interface

Quote:
RX packets:12802 errors:1637 dropped:0 overruns:0 frame:0
TX packets:6289 errors:8 dropped:0 overruns:0 carrier:8
collisions:0 txqueuelen:1000

# grep dhclient /var/log/syslog to see how conversations with ISP DHCP go

Quote:
There is already a pid file /var/run/dhclient.eth0.pid with pid 12617
killed old client process, removed PID file
DHCPRELEASE on eth0 to 172.16.0.1 port 67

# cat /etc/network/interfaces to display your configuration

Quote:
auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp
 
Old 02-27-2007, 10:30 PM   #11
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
Is that the complete output from "ifconfig"? Can we see the output from "lspci" and "route"? Are you using a wireless bridge? Is this a laptop? Do you have power management enabled?

Please don't try to edit the responses to just what you think we want to see. Too much information is better than not enough.
 
Old 02-27-2007, 10:30 PM   #12
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 453

Rep: Reputation: 32
That is an amazing amount of ethernet errors, both transmit and receive. I cannot remember the last time I have seen one. The most likely cause is hardware: bad cable/connector/NIC/router/modem...

If the connector to your NIC can be moved over to another computer and you get good results, it is almost certainly your NIC or its driver. What card/NIC do you use?
/lib/modules/2.6.18-3 arch/kernel/drivers/net shows a bunch. Which one do you see in lsmod? Are there any messages from it in syslog?

Last edited by RobertP; 02-27-2007 at 10:35 PM.
 
Old 02-27-2007, 10:35 PM   #13
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 453

Rep: Reputation: 32
The only module I have had trouble with recently was forcedeth, and that was in Ubuntu, not Debian, but it may be the one you have. Forcedeth has dropouts following messages about "too many iterations", apparently because interrupts were not being cleared. The software guy blamed the hardware guy and the hardware guy (Nvidia) was not talking.
 
Old 02-27-2007, 10:36 PM   #14
HCLPfan
LQ Newbie
 
Registered: Dec 2004
Location: Dallas, Texas
Posts: 8

Original Poster
Rep: Reputation: 0
Sorry, the only reason i'm editing them is because i have to plug in the desktop with debian, run the commands, then plug this laptop in and manually type all the things that come up which sucks with log files heh.
 
Old 02-27-2007, 10:40 PM   #15
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 453

Rep: Reputation: 32
You could try copy and paste into some editor, compose, copy and paste to clipboard, reset connection, ctrl V/send to blast back a reply in your window of opportunity... ;-) We all love intermittent problems...
 
  


Reply

Tags
dropping, etch, networking


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
update Debian testing etch RC1 to etch stable cccc Debian 11 01-08-2007 11:02 PM
Internet Connection issue with 2 Network interfaces Andrea_44 Ubuntu 1 10-05-2006 04:08 PM
Debian Etch poptop, cannot connect issue... kbutcher5 Linux - Networking 1 06-27-2006 11:07 AM
Debian Etch Half Network Problem KRiSX.cjb.net Debian 4 06-06-2006 06:26 PM
No Network Connection With Debian al042077 Linux - Networking 2 06-26-2005 12:39 AM


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