On Fri, 3 Oct 2008, 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?
A suggestion which _MAY_ work, put in an ifconfig for the interface just
before the dhcp client is started in the relevant start up script. If dhcp
works it will override this, if not it will be configured anyway?
> --- In Jim Jackson <> wrote:
>>
>>
>>
>>
>> On Thu, 25 Sep 2008, fulatoro wrote:
>>
>>> I am trying to default to 192.168.0.50 if my board is setup for dhcp
>>> and fails to obtain an IP from the server or is not connected to the
>>> network. Currently, if the dhcp request fails, I end up not having an
>>> IP address on eth0 and the board is inaccessible except via the
>>> console. I would like to ensure that when dhcp fails that at least
>>> the IP is configured.
>>
>> This is only meaningful if you know which network you are on,
>> and if you know that, you can stop using dhcp and permanently
> configure an
>> address, subnet, and default router.
>>
>>> ..... If the unit is not on a network with a
>>> similar subnet, then it would fail.
>>
>> If the device is going to be portable and be on several networks then
>> configuring a fixed address and default router is a waste of time,
> as you
>> noted.
>>
>>> I have looked at pump briefly but failed to find an appropriate
> solution.
>>
>> pump is a dhcp client!!!!!!
>>
>> Jim
>>
>
>
>
------------------------------------
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/
|