Выполнил инструкцию, что в прикрепленной теме. До конца.
Цитата
sudo -s
cp /etc/network/interfaces /etc/network/interfaces.bak
gedit /etc/network/interfaces
Код: (/etc/network/interfaces)
auto lo
iface lo inet loopback
post-up iptables-restore </etc/iptables.conf
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
address 192.168.0.1
netmask 255.255.255.0
Сохраняем, закрываем, перезапускаем сетевую службу
Цитата
/etc/init.d/networking restart
Настройка интерфейса закончена.
Перезапускаем сетевую службу - это то у меня и не получилось.
root@cebritop:~# /etc/init.d/networking restart
* Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.ppp0.pid with pid 4112
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/ppp0: unknown hardware address type 512
ppp0: unknown hardware address type 512
Listening on LPF/ppp0/
Sending on LPF/ppp0/
Sending on Socket/fallback
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/ppp0: unknown hardware address type 512
ppp0: unknown hardware address type 512
Listening on LPF/ppp0/
Sending on LPF/ppp0/
Sending on Socket/fallback
DHCPDISCOVER on ppp0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on ppp0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on ppp0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on ppp0 to 255.255.255.255 port 67 interval 17
^C
Этот процесс не останавливается.
Пользователь решил продолжить мысль 28 Апреля 2011, 21:58:09:
После прерывания выполнил до конца и результата не дало.