ubuntu server 12.04 tidak mw konek internet

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
Mas_budiMan
Posts: 57
Joined: 12 Aug 2013, 18:48
Location: jambi, indonesia
Contact:

ubuntu server 12.04 tidak mw konek internet

Postby Mas_budiMan » 28 Oct 2013, 11:14

misi mas dan mbak sekalian
begini ane kan punya server ubuntu 12.04 lts
mula2nya anek udah bisa konfigurasi dan berhasiil konek internet
tapi kenapa ya sekarang tiba tiba gak bisa konek internet
seblmnya ane pasang bind9 dan konfigurasinya error

tapi udah ane hapus
tapi tetep aja gak bisa konek internet
mohon pencerahannya
User avatar
abu_unaisah
Posts: 1621
Joined: 24 Nov 2011, 14:07

Re: ubuntu server 12.04 tidak mw konek internet

Postby abu_unaisah » 28 Oct 2013, 12:06

coba remove bind9 pake
sudo apt-get purge bind9
sudo apt-get autoremove

trus restart
User avatar
Mas_budiMan
Posts: 57
Joined: 12 Aug 2013, 18:48
Location: jambi, indonesia
Contact:

Re: ubuntu server 12.04 tidak mw konek internet

Postby Mas_budiMan » 28 Oct 2013, 12:49

tetep gak mw gan
gimana ya
User avatar
Mas_budiMan
Posts: 57
Joined: 12 Aug 2013, 18:48
Location: jambi, indonesia
Contact:

Re: ubuntu server 12.04 tidak mw konek internet

Postby Mas_budiMan » 28 Oct 2013, 13:47

tapi saya ping ke ip google dan ip yahoo hasilnya begini gan
Attachments
Untitled.png
Untitled.png (66.35 KiB) Viewed 487 times
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: ubuntu server 12.04 tidak mw konek internet

Postby q_p » 28 Oct 2013, 14:28

Tidak bisa resolv mungkin mas. Coba anda masukkan dns yang disediakan ISP yang anda pakai (atau dns google, atau opendns) ke resolv.conf. Misalnya menggunakan dns-nya google =

Code: Select all

echo "nameserver 8.8.8.8 nameserver 8.8.4.4" > /etc/resolvconf/resolv.conf.d/head
resolvconf -u
Pastikan juga didalam file sysctl.conf

Code: Select all

net.ipv4.ip_forward = 1
cmiiw
User avatar
Mas_budiMan
Posts: 57
Joined: 12 Aug 2013, 18:48
Location: jambi, indonesia
Contact:

Re: ubuntu server 12.04 tidak mw konek internet

Postby Mas_budiMan » 28 Oct 2013, 14:41

caranya gan
ane kok gak bisa masuk ke situ
tadi ane juga coba curl http://google.com
hasilnya couldn't resolve google.com gan
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: ubuntu server 12.04 tidak mw konek internet

Postby q_p » 28 Oct 2013, 15:01

Coba anda pastekan output dari 3 cli di bawah ini =

Code: Select all

cat /etc/network/interfaces
cat /etc/resolv.conf
cat /etc/sysctl.conf
User avatar
Mas_budiMan
Posts: 57
Joined: 12 Aug 2013, 18:48
Location: jambi, indonesia
Contact:

Re: ubuntu server 12.04 tidak mw konek internet

Postby Mas_budiMan » 28 Oct 2013, 15:14

Cat /etc/network/interface

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.3.241
netmask 255.255.255.0
network 192.168.3.0
broadcast 192.168.3.255
gateway 192.168.3.1

cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN



cat /etc/sysctl.conf
#
# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additional system variables
# See sysctl.conf (5) for information.
#

#kernel.domainname = example.com

# Uncomment the following to stop low-level messages on console
#kernel.printk = 3 4 1 3

##############################################################3
# Functions previously found in netbase
#

# Uncomment the next two lines to enable Spoof protection (reverse-path filter)
# Turn on Source Address Verification in all interfaces to
# prevent some spoofing attacks
#net.ipv4.conf.default.rp_filter=1
#net.ipv4.conf.all.rp_filter=1

# Uncomment the next line to enable TCP/IP SYN cookies
# See http://lwn.net/Articles/277146/
# Note: This may impact IPv6 TCP sessions too
#net.ipv4.tcp_syncookies=1

# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.ip_forward=1

# Uncomment the next line to enable packet forwarding for IPv6
# Enabling this option disables Stateless Address Autoconfiguration
# based on Router Advertisements for this host
#net.ipv6.conf.all.forwarding=1


###################################################################
# Additional settings - these settings can improve the network
# security of the host and prevent against some network attacks
# including spoofing attacks and man in the middle attacks through
# redirection. Some network environments, however, require that these
# settings are disabled so review and enable them as needed.
#
# Do not accept ICMP redirects (prevent MITM attacks)
#net.ipv4.conf.all.accept_redirects = 0
#net.ipv6.conf.all.accept_redirects = 0
# _or_
# Accept ICMP redirects only for gateways listed in our default
# gateway list (enabled by default)
# net.ipv4.conf.all.secure_redirects = 1
#
# Do not send ICMP redirects (we are not a router)
#net.ipv4.conf.all.send_redirects = 0
#
# Do not accept IP source route packets (we are not a router)
#net.ipv4.conf.all.accept_source_route = 0
#net.ipv6.conf.all.accept_source_route = 0
#
# Log Martian Packets
#net.ipv4.conf.all.log_martians = 1
#
User avatar
Mas_budiMan
Posts: 57
Joined: 12 Aug 2013, 18:48
Location: jambi, indonesia
Contact:

Re: ubuntu server 12.04 tidak mw konek internet

Postby Mas_budiMan » 28 Oct 2013, 15:15

maff gan panjang codoing nya
ane bae gak mudeng
mohon pencerahannya ya
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: ubuntu server 12.04 tidak mw konek internet

Postby q_p » 28 Oct 2013, 15:54

Itu interfaces-nya kok hanya satu ? Bukannya kurang satu yang terhubung ke LAN ?
User avatar
Mas_budiMan
Posts: 57
Joined: 12 Aug 2013, 18:48
Location: jambi, indonesia
Contact:

Re: ubuntu server 12.04 tidak mw konek internet

Postby Mas_budiMan » 29 Oct 2013, 07:36

iya gan cuman it
kemarin sebelumnya juga gitu
konek juga

gan

jadi mestinya gimana gan
User avatar
Mas_budiMan
Posts: 57
Joined: 12 Aug 2013, 18:48
Location: jambi, indonesia
Contact:

Re: ubuntu server 12.04 tidak mw konek internet

Postby Mas_budiMan » 29 Oct 2013, 07:51

gan ane coba pakai mtr.yahoo.com
hailnya Failid to resolve host :Temporary failure in name resolution
User avatar
Mas_budiMan
Posts: 57
Joined: 12 Aug 2013, 18:48
Location: jambi, indonesia
Contact:

Re: ubuntu server 12.04 tidak mw konek internet

Postby Mas_budiMan » 29 Oct 2013, 09:11

gan udah fix gan
sekarang sudah bisa apt-get update lagi
cuman nambahin di resolv.conf aja
User avatar
Mas_budiMan
Posts: 57
Joined: 12 Aug 2013, 18:48
Location: jambi, indonesia
Contact:

Re: ubuntu server 12.04 tidak mw konek internet

Postby Mas_budiMan » 29 Oct 2013, 09:29

sekarang ada tutor untuk instalasi bind9 gak gan
yang lengkap dan penjelasannya
soalnya ane ngeblank disitu

wak tu gagal install bind9 jadi server gak konek internet deh
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: ubuntu server 12.04 tidak mw konek internet

Postby q_p » 29 Oct 2013, 16:57

Di sini ada banyak kok mas, silahkan serch sja dulu.
###FIXED - SOLVED

Return to “Ubuntu Server”

Who is online

Users browsing this forum: Bing [Bot] and 0 guests