[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No Internet Connection (DHCP)





Brian W. Carver wrote:
Your assumptions below are correct.

I am using potato 2.2 r5, but this problem started when a dselect session went bad
and I believe that I may now have some sid and some woody packages.

I know I have a new xdm interface because it looks totally different when I boot up
now.  I had the internet working just fine, had the dselect problems, did a
control-alt-backspace to login again and it wouldn't take my root password.  So I
pressed reset on the computer, it booted up again, this time with the new xdm login
box that says debian and has the swirl on it, and then it took my root login no
problem.  Ever since that fateful reboot, I've had no internet.

I searched the whole disk and I do not have a dhclient.conf.  I didn't used to need
one, or at least *I* never made any changes to one to get online before.

There are a few DHCP packages two which spring to my mind are pump and dhcpcd. If you didn't configure anything then it was probably done during the inital install in which case I believe pump is used (/etc/pump.conf).

If you still don't know what is being used look in /etc/init.d directory to see what is being called when the system boots. Each script will have comments in describing its purpose.

Once you know what you are using search the syslog (/var/log/syslog) for any metion of this program and any errors that are occuring.


Why would my "server" machine have a "client" config file anyway?  (The terminology
in the world of networking always baffles me.)

In this instance your server is the CLIENT as it is asking for an ip address from your ISP's SERVER. However your server can also be a DHCP SERVER if it is handing out ip addresses to the other machines on your home network.


One way to solve my problems might be if I could get apt-get/dselect to go back to
the potato cd-roms I have and undo all the changes that went crazy during that
dselect session.  Is there a way to do this short of re-installing potato from
scratch?  (P.S. my sources.list file no longer lists the cdroms, what's the exact
phrasing I need in that file?)  Thanks!

Not sure on the syntax for cdroms in sources.list as I use ftp but the apt-cdrom command should set it up correctly for you.

Rather than re-install or attemping to undo all the changes why not remove whatever you are using for DHCP and install it again.


Andy Saxena wrote:


I am assuming the following:

1) You have a home network, and eth0 and eth1 are two network cards on
the gateway machine. eth0 is the interface connecting to your ISP.

2) Your gateway machine is unable to establish a connection with your
ISP's dhcp server - simply put, your gateway is without internet access.

This file (dhcpd.conf) is really for the dhcp server (d as in daemon). Unless I
misunderstood my DHCP setup, this file has little to do with having
access on your gateway machine - the one with eth0 and eth1 interfaces.

Are you using sid, woody or potato?

You should post the /etc/dhcp3/dhclient.conf (location on sid) - this file
deals with your dhcp lease as far as your ISP goes.

Andy



--
Brian W. Carver
brianwcarver at yahoo dot com





--

Jason Chambers (jason.chambers@ntlworld.com)
Leicester, England




--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: