Archive for April 16th, 2008

how to run a script at boot time?

cp file /etc/init.d/file

Change my example obove file with your scriptfile name.

chmod +x file

update-rc.d file defaults

Continue reading ‘how to run a script at boot time?’

How to install DHCP on Ubuntu/Debian

Assumed that “eth0″ is the interface for network card

IP Address 10.0.0.1

Range: 10.0.0.1 to 10.0.0.30

Subnet Mask: 255.255.255.224

DNS Servers: 193.226.98.1, 193.226.98.2

Domains:r2d2.dositei.ro

Gateway Address: 10.0.0.1

Continue reading ‘How to install DHCP on Ubuntu/Debian’