Dhcp client configuration on a Tru64 box

Dennis Grady dpg5 at hotmail.com
Wed Feb 20 14:38:07 UTC 2008


Try this,
 
4.4 Tru64
Use setup (sysman -menu on 5.x systems) or set in your /etc/rc.config:
IFCONFIG_0="DYNAMIC"
todo: on 5.1 it doesn't work for me. seems if the ethernet device is not started (autonegotiation) when the dhcp client script runs.
solution, a small patch to /sbin/init.d/inet:
--- inet.orig   Wed Aug  1 22:15:55 2001                                        
+++ inet        Sun Feb 17 19:30:55 2002                                        
@@ -145,6 +145,12 @@                                                            
                            # dhcp client will start automatically from         
dhcpconf                                                                        
                            # /usr/sbin/joinc >/dev/null 2>&1 &                 
                            echo "DHCP: requesting IP address information for   
network device $devval"                                                         
+                            # temporarily enabling the device to get it        
+                            # into a working state:                            
+                            /sbin/ifconfig $devval 192.168.0.128 up            
+                            /bin/sleep 10                                      
+                            /sbin/ping -c 5 192.168.0.128                      
+                            /sbin/ifconfig $devval down                        
                            # Dhcpconf will obtain an IP address and joinc      
                            # will configure the interface up and running       
                            # on success.  We delete the 0.0.0.0 address        
 
 
Dennis
> Date: Wed, 20 Feb 2008 15:13:34 +0100> From: kumar.padiyath at psi.ch> To: axp-list at redhat.com> Subject: Dhcp client configuration on a Tru64 box> > > Hello,> Iam sorry if I put this question here. I thought that one of the experts> of tru64 can help me> in this problem with an example.> > Iam having the following situation:> OS = tru64 V5.1A> Preset network configuration: static ip address> > I want to configure this machine as a dhcp client.> We have already a dhcp server. I like to know how I have to Configure> this m/c as a dhcp client? Can I do everything with> netconfig(gui) command? How I have to proceed?> > Thanks for your help.Is there any installation guide for Tru64?> > Please execuse me for this question here.> > > Regards,> Kumar > > > > ------------------------------------------------------------------> Padiyath Sreekumar | Tel: +41.56.310.3643> Paul Scherrer Institut | email: kumar.padiyath at psi.ch> AIT | Office: WHGA/U132 > WHGA/U132 | Fax: +41.56.310.3649> CH-5232 Villigen PSI | > Switzerland |> -----------------------------------------------------------------> > _______________________________________________> axp-list mailing list> axp-list at redhat.com> https://www.redhat.com/mailman/listinfo/axp-list
_________________________________________________________________
Climb to the top of the charts! Play the word scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/axp-list/attachments/20080220/439a31de/attachment.htm>


More information about the axp-list mailing list