Plop Forum

General Category => Plop Linux => Topic started by: nvitek on August 11, 2011, 09:08:10 AM

Title: Static IP
Post by: nvitek on August 11, 2011, 09:08:10 AM
Hi. How to set STATIC IP in plop linux?
for example 168.192.232.10/24
gateway 168.192.232.1
thx.  :)
Title: Re: Static IP
Post by: Elmar on August 11, 2011, 09:12:18 AM
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
Title: Re: Static IP
Post by: nvitek on August 11, 2011, 09:20:29 AM
thanks Elmar :)
Title: Re: Static IP
Post by: chucha on December 02, 2011, 16:25:53 PM
And how to start  sshd ?
Title: Re: Static IP
Post by: Elmar on December 02, 2011, 17:12:15 PM
And how to start  sshd ?

this has nothing to do with static ip

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