Какви са тези грешки които ми искарва ..
apt-get install dhcp3-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
dhcp3-server-ldap apparmor
The following NEW packages will be installed:
dhcp3-server
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B/377kB of archives.
After this operation, 885kB of additional disk space will be used.
Preconfiguring packages ...
/etc/default/dhcp3-server: line 2: ddns-update-style: command not found
dhcp3-server failed to preconfigure, with exit status 127Selecting previously deselected package dhcp3-server.
(Reading database ... 233384 files and directories currently installed.)
Unpacking dhcp3-server (from .../dhcp3-server_3.1.3-2ubuntu3.2_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up dhcp3-server (3.1.3-2ubuntu3.2) ...
/etc/default/dhcp3-server: line 2: ddns-update-style: command not found
dpkg: error processing dhcp3-server (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
dhcp3-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
НАстройките коите имам etc/dhcp3/dhcpd.conf ddns-update-style none;
option domain-name-servers 145.253.2.75, 193.174.32.18;
default-lease-time 86400;
max-lease-time 604800;
authoritative;
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.200 192.168.2.229;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
}
etc/default/dhcp3-server# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/dhcp3-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="wlan0"
etc/init.d/dhcp3-server start
* Starting DHCP server dhcpd3 [ OK ]
etc/init.d/networking restart * Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.eth0.pid with pid 4217
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit
https://www.isc.org/software/dhcp/Listening on LPF/eth0/00:16:ec:f9:5a:1b
Sending on LPF/eth0/00:16:ec:f9:5a:1b
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.1 port 67
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit
https://www.isc.org/software/dhcp/Listening on LPF/eth0/00:16:ec:f9:5a:1b
Sending on LPF/eth0/00:16:ec:f9:5a:1b
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPOFFER of 192.168.1.100 from 192.168.1.1
DHCPREQUEST of 192.168.1.100 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.100 from 192.168.1.1
bound to 192.168.1.100 -- renewal in 3380 seconds.
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit
https://www.isc.org/software/dhcp/SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
eth1: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth1.
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit
https://www.isc.org/software/dhcp/SIOCSIFADDR: No such device
eth2: ERROR while getting interface flags: No such device
eth2: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth2.
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit
https://www.isc.org/software/dhcp/SIOCSIFADDR: No such device
ath0: ERROR while getting interface flags: No such device
ath0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up ath0.
ifconfigeth0 Link encap:Ethernet HWaddr 00:16:ec:f9:5a:1b
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::216:ecff:fef9:5a1b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24357 errors:0 dropped:0 overruns:0 frame:0
TX packets:26336 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8138059 (8.1 MB) TX bytes:3278244 (3.2 MB)
Interrupt:21 Base address:0xc800
wlan0 Link encap:Ethernet HWaddr 00:0e:2e:c8:33:16
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)