Skip to content

Paul Scheinast

Feel free to copy, modify and share what you like.

Categories

  • C/C++ (2)
  • C# (2)
  • Fortran (3)
  • GNU/Linux Bash (24)
  • HTML,CSS,JS (25)
  • Java (4)
  • news (5)
  • Perl (79)
  • PHP (3)
  • Projects (5)
  • Regex (4)
  • Tips and Tricks (31)
  • Windows (1)

Top Pages

  • PERL
    • write fast code in Perl
    • Perl Tricks
    • default defined variables
    • Regular expression
    • Perl Graph
    • perl caller Debug Function
    • perl Data Dumper
  • GNU/Linux
    • Backtrack
    • HDparm
    • Mysql Cache tuning
    • Benchmark Your System
    • CPU Load
    • Core Themp
  • SEO

Pages

  • Image uploader
  • Impressum
  • partners

Archive

  • November 2016
  • February 2016
  • November 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014

Recent Posts

  • Perl Regex named capture variables
  • Perl find all pow 2 numbers
  • Perl print String difference
  • Perl check if file handler is open
  • Perl print __DATA__ multiple times

Tag: Static IP

Static IP in Linux

To make a static IP in Linux use this :

nano /etc/network/interfaces

to change this:

iface eth0 inet dhcp

to this:

iface eth0 inet static
    address 192.168.0.10
    netmask 255.255.255.0
    gateway 192.168.0.1

then restart the network service:

/etc/init.d/networking restart
Posted on January 15, 2015June 4, 2015Categories Tips and TricksTags linux, Static IP4 Comments on Static IP in Linux
Proudly powered by WordPress