1/3 So I installed Debian (Sarge) on a home server for various reasons
(including learning about Apache 2) and have a question: how do I get
all the useful information about my machine that I get in Windows with
ipconfig /all? And how do I turn DHCP on or off? Set the host
name/ip?
\_ ifconfig, man ifconfig for full details. ifup/ifdown to
turn on/off seperate ethernet controllers. dhcpd is the
\_ dhcpcd
\_ It's dhcpd on my
linux box. Is
it somehow different
on yours??
dhcp daemon, think it's been replaced by dhclient. To turn
it on and off you need to follow the ifup/ifdown scripts
and locate the file that pertains to your controller, and
there will be very obvious commands within that file, i.e.
dhcp=on/off, onboot=on/off, wifi=on/off etc. Setting the
\_ /etc/network/interfaces... I think you are thinking
of redhat.
hostname and ip is done through /etc/hosts, first line
in the file will indicate the name of the localhost, add
in consecutive lines to set the ip address, etc.
If you don't want to hack stuff manually I believe that
debian does support a minimal ncurses gui for this, can't
remember the name at the moment, someone else fill in the
blanks. Think it was netconfig, see if you can do a
bash expansion on it. |