Tag Archive for 'debina'

how to run a script at boot time?

Your script should be in /etc/init.d/ directory.
Then you have to make a symlink from your run-level directory.
I.e you’re in run-level 5 (multiuser with X)
[code='sh']chmod +x

cp /etc/init.d
ln -s /etc/init.d/ /etc/rc.d/rc5.d/S50
ln -s /etc/init.d/ /etc/rc.d/rc5.d/K50

[/code]

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’