Hi Arup,

2008/10/20 Arup Raychaudhury <[EMAIL PROTECTED]>:
> I want to access the INTERNET using live CD. How do I define static IP
> permanently?

There are two ways of getting static IPs.

(1.) You create a DHCP lease based on the MAC Address of the machine
which will run the live CD. So that every time you boot the machine
the DHCP server will allocate the same IP address to the machine. But
you will have to always use the same machine (Actually technically
speaking its the NIC which has the MAC address).

(2.) You can manually assign the ip address every time the live-cd is
booted. For that you should open up the terminal window of the machine
after the live CD is loaded and type the following command as to
assign the static-ip to your machine. The following commands assume
that the static ip for your machine is 192.168.1.5, the subnet mask is
255.255.255.0 and the default gateway is 192.168.1.1. Please feel free
to change these as per your requirement. Also I am assuming that you
are not using wireless network and that your default ethernet
interface which is physically connected to the network is eth0.

ifconfig eth0 192.168.1.5 255.255.255.0 up
route add default gw 192.168.1.1


Typically any configuration done on live CDs is lost when you switch
off the machine. You can use DSL (Dammn Small Linux) with persistent
configuration saved on a USB drive. Please refer to the following
links for this:

http://www.damnsmalllinux.org/wiki/index.php/Persistence
http://www.damnsmalllinux.org/wiki/index.php/Local_Startup_Documentation#Saving_Your_Configuration

HTH

Regards.
--
Ajitabh Pandey
http://www.ajitabhpandey.info/ | http://www.unixclinic.net/
ICQ - 150615062
Registered Linux User - 240748

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to