From time to time I need to do some manual network configuration via the command line in Linux. At one time I would gasp at the thought, with the help of Google I have become very comfortable with command line activity. Here is a great article from Cybercity.biz. They go into a lot more detail. I have put the info below that I used: Howto: Ubuntu Linux convert DHCP network configuration to static IP configuration Open network configuration file $ sudo vi /etc/network/interfaces OR $ sudo nano /etc/network/interfaces Find and remove dhcp entry: iface eth0 inet dhcp Append new network settings: iface eth0 inet static address 192.168.1.100 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 Save and close the file. Restart the network: $ sudo /etc/init.d/networking restart
My name is Randy Johnson. I use Lucee, Coldfusion, PHP, jQuery, Javascript & MySQL on a daily basis. When called upon I will flex my Linux and Windows server administration & server migrations but prefer to be programming web applications.