Posted by : Unknown
Minggu, 08 September 2013
Install software DHCP dan
FTP
server:~#
apt-get install dhcp3-server ftpd
Dhcp server
listen > eth0
Pada hasil installasi ada
pesan error periksa di var/lognya
Starting
DHCP server: dhcpd3 failed to start - check syslog for diagnostics
server:~# tail
/var/log/syslog
Feb 18
02:14:02 server dhcpd: Wrote 0 leases to leases file.
Feb 18
02:14:02 server dhcpd:
Feb 18
02:14:02 server dhcpd: No subnet declaration for eth0 (202.100.4.65).
Feb 18
02:14:02 server dhcpd: ** Ignoring requests on eth0. If this is not what
Feb 18
02:14:02 server dhcpd: you want, please write a subnet declaration
Feb 18
02:14:02 server dhcpd: in your dhcpd.conf file for the network segment
Feb 18
02:14:02 server dhcpd: to which interface eth0 is attached. **
Feb 18
02:14:02 server dhcpd:
Feb 18
02:14:02 server dhcpd:
Feb 18
02:14:02 server dhcpd: Not configured to listen on any interfaces!
edit /etc/dhcpd.conf
server:~# vim
/etc/dhcp3/dhcpd.conf
subnet 202.100.4.64 netmask 255.255.255.224 {
range 202.100.4.66 202.100.4.94;
option
domain-name-servers 202.100.4.65;
option
domain-name "hedy.co.id";
option
routers 202.100.4.65;
option
broadcast-address 202.100.4.95;
}
Restart layanandhcp server
server:~#
/etc/init.d/dhcp3-server restart
Stopping
DHCP server: dhcpd3.
Starting
DHCP server: dhcpd3.
Kemudian copy #host fantasia dan atur hardware ethrnet dan fixed-address
periksa pesan error di
var/lognya ada error tidak
server:~# tail
/var/log/syslog
Feb 18
02:39:21 server dhcpd: /etc/dhcp3/dhcpd.conf line 56: unexpected end offile
Feb 18
02:39:21 server dhcpd: #}
Feb 18
02:39:21 server dhcpd: ^
Feb 18
02:39:21 server dhcpd: Configuration file errors encountered-- exiting
Feb 18
02:40:00 server dhcpd: Internet Software Consortium DHCP Server V3.0.1rc9
Feb 18
02:40:00 server dhcpd: Copyright 1995-2001 Internet Software Consortium.
Feb 18
02:40:00 server dhcpd: All rights reserved.
Feb 18
02:40:00 server dhcpd: For info, please visit http://www.isc.org/products/DHCP
Feb 18
02:40:00 server dhcpd: Wrote 0 leases to leases file.
Silahkan di coba pada
ethernet dibuat DHCP > bisa mendapatkan IP tidak kalau bisa berarti sukses
Kemudian atur username dan password untuk FTP
Dan kemudian login