LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-07-2006, 07:19 AM   #1
Tuetates
LQ Newbie
 
Registered: Feb 2005
Location: uk
Distribution: debian sarge
Posts: 11

Rep: Reputation: 0
New DHCP router some debian software not working


Hi,

I have just changed over from a static ip (debian sarge) to a DHCP system served by a ADDON broadband modem/firwall/router.

Under the static ip system everything worked fine.

Under the DHCP system most software was very slow to initialise. I believed this to be a reverse lookup problem as dnsdomainname was also VERY slow (30sec) to return empty string. So I have changed a few things and terminal and firefox init fast and surf quickly (this is good :P ) however xchat wont connect to a server and evolution just wont send/receive (sits unmoving on the send/receive box) albeit very rarely (once in two days) its works fine for about 10secs. I can play online poker so I know that the ports are open. I have a winXP laptop and when I setup a MS outlook account using the values from the debian box and it could access the account fine but it was very slow to initialise itself. And Xchat also works fine on the laptop, so I rule out the new DHCP modem/router/firewall as the problem. So I am rather stumpted, I have been searching google for any hint of a reason but am no longer sure what I should be looking for. Can someone give me a hand please, I bet its something stupid but I am going round in circles!

I have copied data from relevant files below.

Cheers in advance
T


(192.168.1.1 is my modem, firewall, DHCP n DNS server and Gateway etc)

/etc/resov.conf
search mymachine.priory.com
nameserver 192.168.1.1

/etc/hosts
127.0.0.1 mymachine.priory.com localhost.localdomain mymachine.priory localhost mymachine
192.168.1.1 firewall.priory firewall
#192.168.1.3 mymachine.priory mymachine

/etc/host.conf
order hosts,bind
multi on

/etc/dhclient.conf
send host-name "mymachine";
supersede domain-name "priory.com";

/etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
hostname mymachine.priory.com
name Ethernet LAN card

/Results from "hostname"
mymachine

/Results from "hostname --fqdn"
mymachine.priory.com

/Results from "dnsdomainname"
priory.com
 
Old 05-11-2006, 12:39 AM   #2
Tuetates
LQ Newbie
 
Registered: Feb 2005
Location: uk
Distribution: debian sarge
Posts: 11

Original Poster
Rep: Reputation: 0
Solved

I have solved the problem. I had to install bind.

The problem was a wider failure to lookup DNS addresses. Xchat,evolution,dig,telnet,exim4(being slow on boot) all failed but ping & firefox worked ok. Also the other items would work if the address had been pinged from either the linux computer or the XP laptop first, hence the email working occasionally.

So everything is now working as it should be :P

-Tuetates-
 
  


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 on my router Moebius Linux - Networking 3 07-26-2005 04:50 PM
Network Installing Debian: DHCP isn't working. SonicGT Linux - Networking 3 06-25-2005 12:27 PM
dhcp router ThunderChicken Linux - Networking 1 03-14-2005 02:50 PM
Simple Debian Router including a DHCP Server stormblast Debian 20 09-22-2004 05:11 AM
Debian Router/DHCP retiqlum Linux - Networking 0 01-30-2004 01:42 PM

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

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

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