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

[cobalt-users] Re: Re: RaQ4 using static IP through DHCP server?



> You can run a slave, The problem here is you have to register the IP of
> the nameserver , if your IP gets changes it's a royal pita ;) You want at
> least *some* guarentee that it won't change without notice...(at least a
> little, everything breaks when that happens )

Well, I had about 12 hours notice the last (and first) time the IPs changed,
but with BulkRegister's excellent domain admin tools I was able to update my
registered nameserver IPs fairly smoothly and quickly.  Not so with DNS
hosts registered on Network Solutions -- changing them takes at least a
week.

> > Thanks for the tip.  That was the same conclusion I came to.  Looks to
me
> > like /etc/sysconfig/network-scripts/ifcfg-eth0.master (on my RaQ3) is
> > already set up for DHCP, so I'll just need to make a few changes in the
ifup
> > & ifdown scripts, then cp ifcfg-eth0.master overtop of ifcfg-eth0.
Since
>
> Very few changes from stock redhat there, ya.
>
> gsh

The RaQ4 arrived early, so I tried out DHCP on it tonight.  Worked like a
charm, on the first try!  Small insert needed in the ifup script, no changes
needed to ifdown, copied ifcfg-eth0.master overtop of ifcfg-eth0, rebooted
and off to the races.

Here's what I added to the RaQ4 ifup script, immediately following this
comment line:

# Here's where the IP assignment flow control starts...

# DT 2001-10-04 attempt to handle DHCP
if [ "$BOOTPROTO" = dhcp -a "$ISALIAS" = no ]; then
    echo -n "Using DHCP for ${DEVICE}... "
    if dhcpcd ${DEVICE}; then
 IPSETUP=yes
    else
 echo "failed."
 exit 1
    fi
fi


So, now I just need to switch my DSL service to the 'fixed' IP plan.

dAvid tHacker
Cobalt@xxxxxxxxxxxxxx