Michael Bevilacqua on Thu, 7 Jun 2001 11:10:07 -0400 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Robert- I use Redhat 7.1 which has issues with DHCP timeouts as well and here is the fix that works for our lan: in /etc/sysconfig/network-scripts/ifup verify that you have this configuration: if [ -n "${DYNCONFIG}" ]; then PUMPARGS= DHCPCDARGS="-d -t 180" #this is new if [ -n "${DHCP_HOSTNAME}" ]; then PUMPARGS="-h ${DHCP_HOSTNAME}" DHCPCDARGS="DHCPCDARGS -h ${DHCP_HOSTNAME}" #this is also fi if [ -n "${NEEDHOSTNAME}" ]; then PUMPARGS="${PUMPARGS} --lookup-hostname" DHCPCDARGS="${DHCPCDARGS} -H" fi if [ "${PEERDNS}" = "no" ]; then PUMPARGS="${PUMPARGS} -d" DHCPCDARGS="${DHCPCDARGS} -R" fi Michael Bevilacqua ASPRE, Inc. MBevilacqua@aspre.net http://www.aspre.net/ Managed e-Business that works - --------------------------------- the first exclusive e-Business Application Service Provider (ASP) t. 215.957.2266 Ext. 2179 f. 215.957.2277 113 Rock Road Horsham, PA 19044 On Thu, 7 Jun 2001, Michael Whitman wrote: > I configure staticly. They say they can shift your ip # but they havent > for me in 2 years. > Maybe your service is different. > > > At 09:04 AM 6/7/2001 -0400, you 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: > > > >192.168.1.5 hostnamefromcomcast.tnvl1.nj.home.com > > > > > >I thought this was all that was necessary but my syslog reflects > >timeouts from dhcpc trying to get an address. (timeout is currently 60 > >seconds.) Naturally when I try to ifup eth1 I get a message telling > >me that dhcpcd is not running because it timed out and died. > > > >If anyone has a similar configuration and know where I've gone wrong I'd > >appreciate their input. But please be gentle, my pride is damaged by > >this defeat. > >To add insult to injury I plugged the cable modem into a win2k box and > >set the computer name to hostnamefromcomcast and the workgroup to @home > >and dns and ip address to dynamic and the machine connected instantly > >with tcp/ip settings that match the values provided by the comcast > >technician. > > > >Thanks in advance: > > > >Robert Squire -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBOx+ZLvMJwEvlc2nMEQLxKgCfTs2t7epSlsOYuLzH501XabW61/sAoNHb lUcUCoQimrq6z+4Zmap1wYer =/jRB -----END PGP SIGNATURE----- ______________________________________________________________________ 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
|
|