ts-7000
[Top] [All Lists]

[ts-7000] Re: Default IP when dhcp fails (dhclient or pump) on TS7800

To:
Subject: [ts-7000] Re: Default IP when dhcp fails (dhclient or pump) on TS7800
From: "naturalwatt" <>
Date: Sun, 05 Oct 2008 12:18:51 -0000
I haven't tried this solution, but I am confident it will do what you want.

On the TS7250, the supplied DCHP client is udhcpc, part of busybox.  When this 
runs, it 
invokes a script, by default located at /etc/udhcpc/default.script.  This 
script is called with 
a parameter which is the event that has happened and some environment variables 
set.

The values for the parameter include leasefail, renew, bound, nak and deconfig. 
 There 
may be others.

If you modify this script to set a default address on the leasefail or nak 
event, you're up 
and running.

Assuming you have or can get udhcpc for the TS7800.

Martin
--- In  "fulatoro" <> wrote:
>
> Jim, I am perfectly aware of the fact that pump is a dhcp client.  You
> jump to conclusions without truly understanding the problem.
> 
> My customers only have access to the unit via a web interface.  This
> unit is installed in many facilities.  Some facilities will have DHCP,
> others will not.  I have a web a interface that allows the
> configuration to be set to either DHCP or Static IP.  The problem, 
> I repeat is that if the unit is left on DHCP and connected to a
> network that does not have a DHCP server, it will not obtain an IP
> address and become unreachable.
> 
> The consequence is that the customer will not be able to connect to
> the box to reconfigure as IT DOES NOT HAVE an IP.
> 
> Configuration is done via a cross over cable with a laptop where the
> laptop is configured to be on the same network as the unit. Hence if
> my dhcp client defaults to 192.168.0.50, it will always be accessible
> via a cross over cable.
> 
> Does it make sense now?
> 
> Regards,
> 
> Moussa
> 
> 



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU