Posted by: isaraffee | August 10, 2009

Configuring Static IP Address in Sabayon Linux

Configuring Static IP Address

Sabayon uses the file /etc/conf.d/net to configure its ip address as shown below

:

sabayonx86 ~ # less /etc/conf.d/net

# This network configuration was written by net-setup

iface_eth0=”192.168.1.101 broadcast 192.168.1.255 netmask 255.255.255.0″

Use your favourite editor to edit the file. After you have e edited the file, you need to restart the network services by typing:

sabayonx86 ~ # /etc/init.d/./net.eth0 restart

sabayonx86 ~ # /etc/init.d/./net.eth0 restart

* Starting eth0

* Starting ifplugd on eth0 … [ ok ]

Backgrounding …

After that type the command ifconfig to check that the ip address has been set.

sabayonx86 ~ # ifconfig

eth0 Link encap:Ethernet HWaddr 00:08:02:95:ED:3E

inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Interrupt:11

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:51 errors:0 dropped:0 overruns:0 frame:0

TX packets:51 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:4742 (4.6 Kb) TX bytes:4742 (4.6 Kb)

If you have trouble coniguring the network address via command line, alternatively you can set it using GUI by typing net-setup.

Then follow the menu and it is very easy to configure your network, whether it is wired or wireless.

Checking network configuration via command line

sabayonx86 ~ # ip route show

192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.101

127.0.0.0/8 dev lo scope link

Note:

I notice that Sabayon will erase the network setting once you reboot your machine.

Screen Capture Program – Ksnapshot

The Ksnapshot is very easy to use. It is located in the Applications–>Graphics

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: