Re: Starting dhclient at boot up

2004-01-04 Thread Axel Burwitz
[EMAIL PROTECTED] wrote:

log in
 as root and start dhclient.  How can I do this automatically at boot up?
 
 Regards,
 
 Abhay
 

Hi,

I did that by adding a line
dhclient eth0
as last command into the /etc/init.d/bootmisc.sh script.
Works fine and for all users

Regards
Axel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Starting dhclient at boot up

2004-01-04 Thread Michael Graham
Grzesiek Sedek wrote:
Hi,
You can add 
iface eth0 inet dhcp
to your /etc/network/interfaces
Grzesiek
You should also add the 'auto eth0' stanza to bring the device up 
automatically on boot. So your /etc/network/interfaces would look like:

#Loopback device
auto lo
iface lo inet loopback
#eth0 device
auto eth0
iface eth0 inet dhcp
man interfaces for more info

HTH
--
OoberMick
Baldrick, does it have to be this way? Our valued friendship ending 
with me cutting you into long strips and telling the Prince you walked 
over a very sharp cattle grid in an extremely heavy hat? -- Edmund 
Blackadder (Blackadder the Third)

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Starting dhclient at boot up

2004-01-03 Thread abhay
Hi:

This may be an old question which has been already answered.  After booting into linux 
(debian woody), I always have to open an xterm, log in as root and start dhclient.  
How can I do this automatically at boot up?

Regards,

Abhay



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Starting dhclient at boot up

2004-01-03 Thread Grzesiek Sedek
Hi,
You can add 
iface eth0 inet dhcp
to your /etc/network/interfaces
Grzesiek

On Sun, 2004-01-04 at 01:48, [EMAIL PROTECTED] wrote:
 Hi:
 
 This may be an old question which has been already answered.  After booting into 
 linux (debian woody), I always have to open an xterm, log in as root and start 
 dhclient.  How can I do this automatically at boot up?
 
 Regards,
 
 Abhay
-- 
Grzesiek Sedek [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



dhclient at boot?

2002-04-23 Thread Dave Price
Hi,

I have a laptop running debian woody.  I can do dhcp networking okay, but I 
need to run
dhclient by hand as root whenever i reboot.

In truth, this system is usually used in dhcp environments, and
on those occasions when dhcp is not available, I have a
reserved static configuration that will work consistantly.

can anyone suggest a nice way to handle this 'logic' in a
startup script?

i.e.

try dhclient, if fail, then set eth0 manually ...

aloha (and TIA)
dave



pgpSwLGDMMg1b.pgp
Description: PGP signature


Re: dhclient at boot?

2002-04-23 Thread Jerome Lacoste \(Work\)
have a look at the laptop-net package

jerome

On Tue, 2002-04-23 at 16:34, Dave Price wrote:
 Hi,
 
 I have a laptop running debian woody.  I can do dhcp networking okay, but I 
 need to run
 dhclient by hand as root whenever i reboot.
 
 In truth, this system is usually used in dhcp environments, and
 on those occasions when dhcp is not available, I have a
 reserved static configuration that will work consistantly.
 
 can anyone suggest a nice way to handle this 'logic' in a
 startup script?
 
 i.e.
 
 try dhclient, if fail, then set eth0 manually ...
 
 aloha (and TIA)
 dave
 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]