How to setup a static IP?

Booting, installing, newbie
Post Reply
Message
Author
fishfood

How to setup a static IP?

#1 Post by fishfood »

Is there any way to setup puppy to have a static IP? I can't do it via the router as I have a very cheap crappy one. I know in Windows and Mac OS X you can, so hopefully there is a puppy way too.

Great OS btw..fun to mess around with :)
User avatar
gnomen
Posts: 65
Joined: Mon 11 Jul 2005, 11:21
Location: NORWAY

#2 Post by gnomen »

Yes, you just press "Manual_config" in the ethernet wizard. You can also do it with the ifconfig-command directly in the console, but that would not be permanent one
fake it until you make it
raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

rc.local line

#3 Post by raffy »

To make it a permanent fixture, put this line in rc.local in /etc/rc.d

ifconfig eth0 123.123.123.123

# of course use your desired IP address for 123.123.123.123
# eth0 is eth zero (must be your first network card)
Post Reply