LeRoy Cressy on Fri, 8 Jun 2001 13:00:10 -0400 |
Is dhcp compilerd into your kernel or do you have dhcp as a loadable module? If there is no dhcp support in the kernel you will never get dhcp to work. "Robert J. Squire Jr." wrote: > > Hello: > > I recently signed up for Comcas's @Home cable service and am having > difficulty configuring my Debian Potato machine to use a dhcp client to > communicate with the service. > > The technician that I spoke to during the initial setup gave me the > current ip address, gateway, netmask, and DNS servers. These work fine > when I configure /etc/network/interfaces like so: > > #Lan adapter > iface eth0 inet static > address: 192.168.1.5 > network 192.168.1.0 > netmask 255.255.255.0 > > #@Home adapter > iface eth1 inet static > address <ip.address.from.comcast> > network <ip.address.from.comcast> > netmask 255.255.255.0 > gateway <gateway.address.from.comcast> > > I just left my resolv.conf alone with my isp's nameservers and all is > well with my connection. However the addresses I'm using are subject to > change without notice so a dynamic solution is necessary. > > I installed the dhcpcd package and added the following to > /etc/dhcpcd/config > > OPTIONS='-h "hostnamefromcomcast"' > > My /etc/hostname file reads as follows: > > hostnamefromcomcast > > and my /etc/hosts file contains the line: > -- Rev. LeRoy D. Cressy mailto:lcressy@telocity.com /\_/\ http://www.netaxs.com/~ldc ( o.o ) Phone: 215-535-4037 > ^ < Jesus saith unto him, I am the way, the truth, and the life: no man cometh unto the Father, but by me. (John 14:6) ______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|