Page 2 of 2

Re: Dashboard shows strange host address value

Posted: Fri Dec 11, 2015 11:12 am
by heskez
ONBOOT=yes

great thanks!

But the default value = NO? :shock:

Re: Dashboard shows strange host address value

Posted: Fri Dec 11, 2015 11:15 am
by hsmith
Yep, threw me off when I was learning Linux!

There's also BOOTPROTO=DHCP, which if you're not using a static IP, and isn't there, you won't have an IP address upon booting.

So many little gotchas.

Re: Dashboard shows strange host address value

Posted: Fri Dec 11, 2015 3:29 pm
by jolson
Example static IP setup:
vi /etc/sysconfig/network-scripts/ifcfg-eth0

Code: Select all

DEVICE=eth0
ONBOOT=yes
IPADDR=192.168.1.6
NETMASK=255.255.255.0
DNS1=8.8.8.8
DNS2=8.8.4.4
GATEWAY=192.168.1.1
Restart networking with your new static configuration:

Code: Select all

service network restart