The DNS Guys |
Anycast DNS 25 Nameservers Worldwide |
DNS Failover Host Monitoring & Auto Rollback |
Outbound SMTP Smart Relay, SASL |
| Subversion Hosting OpenID Servers & XMPP |
DNSSEC TSIG & Secondary DNS |
easyRoute53 Amazon Route53 GUI |
![]() ![]() |
Jan 20 2013, 11:57 AM
Post
#1
|
|
|
Whats this Lie-nix Thing? ![]() Group: Members Posts: 3 Joined: 20-January 13 Member No.: 18,077 |
I recently installed Linux Mint 14, and went to edit the /etc/network/interfaces to set a static IP.
My file reads: ################################### # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback iface eth0 inet static address 192.168.0.12 netmask 255.255.255.0 gateway 192.168.0.1 #################################### If I run this command manually: sudo ifup eth0 then it attaches to my router with 192.168.0.12 as IP and I can get internet access. If I reboot the system then it doesn't process that - and I have no net access. Running this sudo ifup eth0 manually always works. What is the right way to solve this - so that it is processed on startup and is assigned the right IP address? Thanks Watty |
|
|
|
Jan 20 2013, 12:42 PM
Post
#2
|
|
|
Its GNU/Linuxhelp.net ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Support Specialist Posts: 1,632 Joined: 23-January 03 Member No.: 360 |
If you add auto eth0 to the interfaces file eth0 should automatically start at boot time.
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.0.12 netmask 255.255.255.0 gateway 192.168.0.1 |
|
|
|
Jan 20 2013, 12:56 PM
Post
#3
|
|
|
Whats this Lie-nix Thing? ![]() Group: Members Posts: 3 Joined: 20-January 13 Member No.: 18,077 |
Michael
Thanks very much - that solved it. Still rusty in Linux. Enough knowledge to get myself into problems - not enough to get myself out if them! Cheers Watty If you add auto eth0 to the interfaces file eth0 should automatically start at boot time. auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.0.12 netmask 255.255.255.0 gateway 192.168.0.1 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th June 2013 - 01:41 AM |