dhcp server

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
rh1Y4n_0k
Posts: 102
Joined: 02 Mar 2010, 18:55

dhcp server

Postby rh1Y4n_0k » 04 Jul 2013, 13:53

dear all master

mau nanya donk

kalo di ubuntu 12 . 04
gmana ya cara matiin dhcp server ??

kq gak bisa ya ????
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: dhcp server

Postby q_p » 04 Jul 2013, 14:04

Dhcp-server di ubuntu 12.04 sudah berubah, untuk melihatnya bisa anda cek isi dir /etc/init.d

Code: Select all

# ls /etc/init.d | grep dhcp-server
isc-dhcp-server
isc-dhcp-server6
Dalam kasus Anda, bisa menggunakan

Code: Select all

/etc/init.d/isc-dhcp-server start|stop|restart
atau

Code: Select all

service isc-dhcp-server start|stop|restart
cmiiw
User avatar
rh1Y4n_0k
Posts: 102
Joined: 02 Mar 2010, 18:55

Re: dhcp server

Postby rh1Y4n_0k » 04 Jul 2013, 14:06

top: Rejected send message, 1 matched rules; type="method_call", sender=":1.116" (uid=1000 pid=9272 comm="stop isc-dhcp-server ") interface="com.ubuntu.Upstart0_6.Job" member="Stop" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")


nah ketika di eksekusi hasilnya gini

knapa yak :D
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: dhcp server

Postby q_p » 04 Jul 2013, 14:15

Jalankan perintah

Code: Select all

 cat /etc/default/isc-dhcp-server
hasilnya anda copas di sini
User avatar
rh1Y4n_0k
Posts: 102
Joined: 02 Mar 2010, 18:55

Re: dhcp server

Postby rh1Y4n_0k » 04 Jul 2013, 14:18

Code: Select all

# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/isc-dhcp-server by the maintainer scripts

#
# This is a POSIX shell fragment
#

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
#   Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES=""
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: dhcp server

Postby q_p » 04 Jul 2013, 14:25

Nah itu

Code: Select all

INTERFACES=""
Masih kosong alias belum dikonfigurasi. Bisa anda isi dengan interfaces misalnya

Code: Select all

INTERFACES="eth0"
User avatar
rh1Y4n_0k
Posts: 102
Joined: 02 Mar 2010, 18:55

Re: dhcp server

Postby rh1Y4n_0k » 04 Jul 2013, 14:48

[quote=rh1Y4n_0k]top: Rejected send message, 1 matched rules; type="method_call", sender=":1.116" (uid=1000 pid=9272 comm="stop isc-dhcp-server ") interface="com.ubuntu.Upstart0_6.Job" member="Stop" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")


nah ketika di eksekusi hasilnya gini

knapa yak :D



hasilnya masih ttap ini