DHCP - KUBUNTU 7.04`
Derek Broughton
news at pointerstop.ca
Thu Jun 14 01:53:37 UTC 2007
Peter Garrett wrote:
> On Wed, 13 Jun 2007 20:48:19 -0300
> Derek Broughton <news at pointerstop.ca> wrote:
>
>> Jeremy Teale wrote:
>>
>> > Leases live in /var/lib/dhcp3. You can clear them by removing them. You
>> > will have to restart networking (dhcpdbd and NetworkManager) if you do
>> > so. It may just be easier to reboot.
>>
>> # sudo service dbus restart
>>
>> I had recourse to this a few times while getting my new NIC working, and
>> it's never caused problems with anything else.
>
> Derek - I recall from one of your previous posts that you have set
>
> alias service='invoke-rc.d'
>
> or something similar, perhaps a symlink.
>
> The "service" command does not exist in Ubuntu by default... so the
> equivalents would be either
>
> sudo invoke-rc.d dbus restart OR
> sudo /etc/init.d/dbus restart
Ouch! Good catch, and good memory! I do indeed have service aliased to
invoke-rc.d.
Funny thing is, today I was doing some sysadmin chores on a Redhat system -
where "service" is the proper command, and I was using "/etc/init.d/...
restart", but on my ubuntu system I'm completely used to using "service".
--
derek
More information about the ubuntu-users
mailing list