[tanya] masalah dengan ethernet ??

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
upik
Posts: 99
Joined: 05 Jun 2010, 14:52

[tanya] masalah dengan ethernet ??

Postby upik » 31 Jan 2011, 12:56

Dear master-master ubuntu,

saya ada kesulitan, dimana mendadak ethernet tidak bisa direstart sehabis ganti IP ?
ini yang muncul:
Last login: Mon Jan 31 12:13:43 2011
root@p:~# nano /etc/network/interfaces
root@p:~# /etc/init.d/networking restart
* Reconfiguring network interfaces... /etc/network/interfaces:11: duplicate interface
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:11: duplicate interface
ifup: couldn't read interfaces file "/etc/network/interfaces"
[fail]


kemudian saya cek dengan --> ls -lah /etc/network/interfaces
hasilnya : -rw-r--r-- 1 root root 569 2011-01-31 12:32 /etc/network/interfaces

Lalu saya lakukan --> sudo chown root:root /etc/network/interfaces

kemudian dilakukan lagi --> sudo /etc/init.d/networking restart

hasilnya kok tetep fail terus ya ?

tks sebelumnya
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: [tanya] masalah dengan ethernet ??

Postby blackshirt » 31 Jan 2011, 15:13

bisa liat isinya ?? :grin:
User avatar
upik
Posts: 99
Joined: 05 Jun 2010, 14:52

Re: [tanya] masalah dengan ethernet ??

Postby upik » 31 Jan 2011, 15:27

ini isinya pak:

Code: Select all

root@p:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        iface eth0 inet static
        address 202.51.xxx.xxx
        network 202.51.xxx.xxx
        netmask 255.255.255.240
        broadcast 202.51.xxx.xxx
        gateway 202.51.xxx.xxx
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 202.51.xx.x
        dns-search kxxxx03.org
User avatar
ransel
Posts: 17
Joined: 17 Feb 2010, 11:32
Location: 6°23'47.34"S 106°53'23.68"E

Re: [tanya] masalah dengan ethernet ??

Postby ransel » 31 Jan 2011, 16:37

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static

=====>>> iface eth0 inet static
Kayanya ini penyebabnya brader ...IMO
User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Re: [tanya] masalah dengan ethernet ??

Postby MasDjo » 31 Jan 2011, 16:42

Betul kata bro ransel, baris iface eth0 inet static nya dobel :)
User avatar
upik
Posts: 99
Joined: 05 Jun 2010, 14:52

Re: [tanya] masalah dengan ethernet ??

Postby upik » 31 Jan 2011, 16:57

Astaga, ternyata memang saya yang tidak teliti.

Terima kasih kawan2 di ubuntu forum

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 4 guests