Author Topic: Static IP  (Read 4517 times)

nvitek

  • Newbie
  • *
  • Posts: 2
Static IP
« 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.  :)

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2440
  • a command shell is enough to do amazing things
Re: Static IP
« Reply #1 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

nvitek

  • Newbie
  • *
  • Posts: 2
Re: Static IP
« Reply #2 on: August 11, 2011, 09:20:29 AM »
thanks Elmar :)

chucha

  • Newbie
  • *
  • Posts: 16
Re: Static IP
« Reply #3 on: December 02, 2011, 16:25:53 PM »
And how to start  sshd ?

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2440
  • a command shell is enough to do amazing things
Re: Static IP
« Reply #4 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"