Setting a Static IP

It all happens before the Login Prompt

Setting a Static IP

Postby jbv » Mon Nov 19, 2012 11:13 pm

It has come to my attention that the method of setting a Static IP is not mentioned anywhere.

FoxyRoxyLinux does support a Static IP although there is a slight trick to it.

To configure/set a Static IP ...
You need to put another option/parameter on the syslinux kernel boot line:

The option is "ip="
If you leave this option blank with no parameters, the system will use the contents of /etc/network/interfaces

Alternatively, you can specify the network parameters as follows ...
Code: Select all

Summary: To configure a static IP using /etc/network/interfaces
Code: Select all
<Below is an extract of a typical syslinux.cfg file>

label live-bigmem
   menu label Live 686-BigMem
   kernel /live/vmlinuz3
   append initrd=/live/initrd3.img boot=live config persistent ip= max_loop=128 quickreboot noprompt noautologin

<Below is a copy of a typical /etc/network/interfaces file>

auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet static

If you are using 05-FoxyConfig. I suggest you drop /etc/network/interfaces in there.
This is easy enough to do using the 05-load and 05-save scripts.
Posts: 600
Joined: Sat Jul 14, 2012 2:02 am
Location: Sydney, Australia

Return to System Startup

Who is online

Users browsing this forum: No registered users and 1 guest