Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-30-2007, 03:28 PM   #1
LQ Newbie
Registered: Mar 2007
Location: Vancouver B.C.
Distribution: Kubuntu
Posts: 4

Rep: Reputation: 0
Angry ifup and dhcp problems with trendnet NIC in Kubuntu

Okay, I need some help. I have 3 boxes running at home, two linux, one XP. On linux box 1, I store all my docs in a software RAID (a pain in the arse, but worth it!) and run NFS and Samba. My second linux box is a combo router and LAMP stack with two NIC interfaces, an integrated Intel 10/100 NIC that points to the cable modem and the internet running a DHCP client, and a trendnet 10/100/1000 NIC pointing towards my internal network running DHCP3 server.

The problem is, that after much googling, I can't for the life of me get the DHCP server to work; it refuses to hand out leases. The system log is flooded with errors like "packet length xxx disagrees with yyy bytes received" and also somewhat ominously, every half second a group of eth0 "tx_watch / tx_timeout / after: tx_done_idx" messages.

From what I can tell, something is wrong with my eth0 card (which is the internal NIC) which may or may not be what's wrong with the DHCP server. So, is it possible my nic is truncating packets, leading to this garbage in the log, plus, the confused server? If that's the case, is this a driver issue, or hardware issue?

As if that weren't enough, on the file server with the single NIC, I can't even use ifdown / ifup. The configuration in /etc/network/interfaces is fine, and ifdown releases its address (which is an old DHCP address), but ifup just causes it to hang. The system is unresponsive, even to the kernel magic keys.

Help! Let me know what else you need and I'll post it here within a few hours.

Thanks, Tim.
Old 07-31-2007, 09:03 AM   #2
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
Is dhcpd running on the DHCP server?

Can you post the IP/Subnet the internal interface is configured with, as well as the dhcpd.conf file?

What does the internal interface plug into, and are the duplex settings correct?
Old 08-03-2007, 01:29 AM   #3
LQ Newbie
Registered: Mar 2007
Location: Vancouver B.C.
Distribution: Kubuntu
Posts: 4

Original Poster
Rep: Reputation: 0

Thanks for your suggestion, but after I uninstalled DHCP3 (its for a small, internal network so I don't need the latest and greatest) I had no problems getting an older version of DHCP to work. As an upside, I also got a local DNS out of it, so that's a nice perk. My suggestion to anybody else having that problem is try dnsmasq.

As far as the problem with the NIC goes, I still have it. By dropping into a console before I used the ifup command, I found out its a bug, the CPU does a soft lock when I try to bring the card online, so, its broken, and only new drivers will save me. As long as I don't use ifup, its gravy.

Thanks again.


dhcp3, ifup, trendnet

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
Kubuntu DHCP issues Jiggz Linux - Newbie 2 04-26-2005 09:07 AM
SuSE 9.1 update problem with ifup-dhcp gufsi Linux - Networking 0 09-29-2004 10:56 AM
how to send DHCP request without using ifup nor ifdown exabrial Linux - Networking 1 08-23-2004 10:37 AM
DHCP and NIC card problems in Mandrake 10 emcee Linux - Networking 10 06-11-2004 12:44 AM
dhcp-pump-ifup not doing everything right madhatter Linux - Networking 0 10-01-2001 03:53 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration