On Sat, 11 Oct 2003 00:44:24 -0700, tns1
<(E-Mail Removed)> wrote:
>
>
> tns1 wrote:
>> I have a debian based distro that is setup to use DHCP. I am having
>> trouble assigning a static IP and shutting DHCP off. I can use ifconfig
>> to assign an IP once I log in, but I need to have permanent fix. So far,
>> I have tried editing /etc/network/interfaces with the following
>> uncommented lines:
>>
>> iface lo inet loopback
>> auto lo
>>
>> iface eth0 inet static
>> address 192.168.1.120
>>
>> The static assignment has no effect. It seem that DHCP takes precedence
>> over this file configuration. I can't find where DHCP is enabled in the
>> first place to turn it off. whats up?
>> thanks
>>
> Make some small progress, I got it to ignore dhcp by adding a kernel
> parameter in grub.conf:
> ip=192.168.1.120:::255.255.255.0
> Not exactly the way I want to do it, but does anyone know if the gateway
> and network address fit in there somewhere too? I got my info from a
> short tech note. It is not fully documented in the grub manual or in the
> boot prompt HOW-TO, so where IS it documented?
> thanks
>
Who owns the DHCP server? Why aren't you happy with the address it
gives you?
--
Cheops' Law:
Nothing ever gets built on schedule or within budget.
|