[fpc-pascal] [NETWORK - LINUX ]: Calculate broadcast - network
TOUZEAU DAVID
david.touzeau at fr.kaspersky.com
Thu Oct 12 18:00:38 CEST 2006
<message>
</message>
Dear
The tool is designed to simplify the change network settings quickly.
So the goal for the admin is to type:
#./tool 192.168.1.2 255.255.255.0 192.168.1.1
and the tool will change settings in /etc/network/interfaces by
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.xx.0
broadcast 192.168.xx.255
gateway 192.168.1.1
And set /etc/ini.d/networking reload.
Just need this.
best regards
--
David Touzeau -------------------------- Linux Ubuntu Dapper 6.0.6
FreePascal-Lazarus,perl,delphi,php icq:160018849
More information about the fpc-pascal
mailing list