изменил рабочую групу /etc/samba/smb.conf workgroup = MLZONE
закоментировал /etc/network/interfaces
вернул назад ntpdate и ntp(я их сохранял)
у мення версия dhcp-dhcp3,версия Ubuntu-8.04
ls -l /etc/dhcp3/dhclient-exit-hooks.d/
итого 20
-rw-r--r-- 1 root root 1024 2008-04-02 17:38 debug
-rw-r--r-- 1 igor igor 1242 2009-12-04 21:18 ntp
-rw-r--r-- 1 igor igor 802 2008-03-07 23:24 ntpdate
-rwxr-xr-x 1 root root 1097 2008-12-18 21:35 zzz_avahi-autoipd
-rw-r--r-- 1 root root 333 2007-10-23 18:34 zzzz_dhcdbd
Вот мой dhclient.conf я не пойму что тут коментировать.
# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.
# Inform the DHCP server of our hostname for DDNS.
hostname
# To share the DHCP lease across OSX and Windows a ClientID is needed.
# Enabling this may get a different lease than the kernel DHCP client.
# Some upstream DHCP servers may also require a ClientID, such as FRITZ!Box.
#clientid
# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes,ms_classless_static_routes
# Most distributions have NTP support.
option ntp_servers
# Respect the network MTU.
option interface_mtu
# A ServerID is required by RFC2131.
require dhcp_server_identifier
# A hook script is provided to lookup the hostname if not set by the DHCP
# server, but it should not be run by default.
nohook lookup-hostname
# dhcpcd ebuild requested no zeroconf
noipv4ll
При перегрузе сети вот что
sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.eth0.pid with pid 8645
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp//etc/dhcp3/dhclient.conf line 0: expecting a statement.
hostname
^
/etc/dhcp3/dhclient.conf line 26: semicolon expected.
noipv4ll
^
Listening on LPF/eth0/00:1d:92:26:5a:5c
Sending on LPF/eth0/00:1d:92:26:5a:5c
Sending on Socket/fallback
DHCPRELEASE on eth0 to 10.55.145.2 port 67
dsl-provider: ERROR while getting interface flags: No such device
Plugin rp-pppoe.so loaded.
There is already a pid file /var/run/dhclient.eth0.pid with pid 134519072
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp//etc/dhcp3/dhclient.conf line 0: expecting a statement.
hostname
^
/etc/dhcp3/dhclient.conf line 26: semicolon expected.
noipv4ll
^
* Stopping NTP server ntpd
...done.
* Starting NTP server ntpd
...done.
Listening on LPF/eth0/00:1d:92:26:5a:5c
Sending on LPF/eth0/00:1d:92:26:5a:5c
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPOFFER of 10.55.145.102 from 10.55.145.1
DHCPREQUEST of 10.55.145.102 on eth0 to 255.255.255.255 port 67
DHCPACK of 10.55.145.102 from 10.55.145.1
bound to 10.55.145.102 -- renewal in 401 seconds.
* Stopping NTP server ntpd
...done.
[ OK ]
igor@Serenity:~$ * Stopping NTP server ntpd
...done.
* Starting NTP server ntpd
...done.
* Starting NTP server ntpd
...done.
и висяк.пропал интернет.Снес пакет ntp появился интернет пропали сетевые ресурсы.
в /etc/dhcp3/dhclient-exit-hooks.d/