Main Menu

Static IP

Started by nvitek, August 11, 2011, 09:08:10 AM

Previous topic - Next topic

nvitek

Hi. How to set STATIC IP in plop linux?
for example 168.192.232.10/24
gateway 168.192.232.1
thx.  :)

Elmar

add to ploplinux/bin/rc.local the 2 lines

ifconfig eth0 168.192.232.10 netmask 255.255.255.0
route add default gw 168.192.232.1

and write a # before the dhcp stuff in rc.local

regards
elmar

nvitek


chucha

And how to start  sshd ?

Elmar

Quote from: chucha on December 02, 2011, 16:25:53 PM
And how to start  sshd ?

this has nothing to do with static ip

either you run "startsshd" or you run "/usr/sbin/sshd"