On Friday 05 October 2001 10:57 am, you wrote:
> In reply to Sridhar's words, written Thu, 4 Oct 2001 14:55:28 +1000
>
> I just now noticed this discussion. Interesting stuff since in a few weeks
> I will also get connected to an @Home network. Of course this gets a train
> of questions going:
>
> A person at work told me that all I'd have to do for this is add the name
> of the DHCP server to /etc/sysconfig/network-scripts/ifcfg-eth1 (or
> something along these lines). Is that so?
>
> In the info I received so far there is no DHCP server name mentioned and
> also no DNS server IP's. They use something they call 'dynamic DNS'. Does
> that imply that I can scratch the DNS IP's of my current ISP from the
> /etc/resolv.conf when the big moment is there?
>
> I already got a NIC to use which is no problem. But how to configure these
> other things is something I'd like to know up front, so I can show that
> cable guy that Linux does not need 100 reboots in order to get an ethernet
> link going. All the help is appreciated!
>
> Paul
I have been using the instruction below since LM 7.0 and they always work for
me:
edit the following file: /sbin/ifup
Look for a section that looks like this:
f [ "XXX$DHCP_CLIENT" != "XXX" ];then
case $(basename $DHCP_CLIENT) in
dhcpcd)
[ -n "$DHCP_HOSTNAME" ] && DHCP_ARGS="-h $DHCP_HOSTNAME" [ -n
"$NEEDHOSTNAME" ] && DHCP_ARGS="$DHCP_ARGS -H"
DHCP_ARGS="$DHCP_ARGS -h chomehostname $DEVICE"
;;
You can see that I have added the parameters "-h chomehostname". Replace
"chomehostname" with your @Home hostname.
This assumes that you have tried to manually call dhcpcd -h
your_host_name, and it worked..�!
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com