Guys,
I guess these three questions are simple for those who are familiar with Debian. I would really appreciate some help on these matters.
1) How can I know which IP Address I have been assigned if debian is configured as DHCP? Something like ipconfig on the Windows world.
As root, ifconfig
2) If I configured my machine as DHCP while installing it, how can I change it to use an specific IP Address?
Edit /etc/network/interfaces
For DHCP:
auto eth0 iface eth0 inet dhcp
For static (change adresses and netmasks as appropriate):
iface eth0 inet static address 192.168.0.3 netmask 255.255.255.0 broadcast 192.168.0.255 gateway 192.168.0.1
There are probably automated tools that will do this as well, but I find it easier to just edit the file.
3) The opposite, if I have the machine configured with an specific IP Address, how can I change it to use DHCP?
See #2.
Thanks in advance for all your help.
-Marvin
-Roberto
signature.asc
Description: OpenPGP digital signature