Ubuntu 9.04 x32
sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... RTNETLINK answers: No such process
* if-up.d/mountnfs[eth0]: waiting for interface eth1 before doing NFS mounts
* if-up.d/mountnfs[eth0]: waiting for interface dsl-provider before doing NFS mounts
* if-up.d/mountnfs[eth1]: waiting for interface dsl-provider before doing NFS mounts
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
[ OK ]
Заняло 45 сек., раньше (Ubuntu 7.10-8.10) 1-2 сек. хватало.
ifconfig
eth0 Link encap:Ethernet HWaddr 00:19:5b:71:c0:f3
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::219:5bff:fe71:c0f3/64 Диапазон:Ссылка
ВВЕРХ BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:116 errors:0 dropped:0 overruns:0 carrier:0
коллизии:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:17059 (17.0 KB)
Прервано:22 Base address:0xe000
eth1 Link encap:Ethernet HWaddr 00:16:76:c9:11:4c
inet addr:192.168.10.10 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::216:76ff:fec9:114c/64 Диапазон:Ссылка
ВВЕРХ BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:863 errors:0 dropped:0 overruns:0 frame:0
TX packets:952 errors:0 dropped:0 overruns:0 carrier:0
коллизии:0 txqueuelen:100
RX bytes:247348 (247.3 KB) TX bytes:144919 (144.9 KB)
Память:92200000-92220000
lo Link encap:Локальная петля (Loopback)
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Диапазон:Узел
ВВЕРХ LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
коллизии:0 txqueuelen:0
RX bytes:580 (580.0 B) TX bytes:580 (580.0 B)
ppp0 Link encap:Протокол PPP (Point-to-Point Protocol)
inet addr:79.105.241.48 P-t-P:85.88.160.58 Mask:255.255.255.255
ВВЕРХ POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:144 errors:0 dropped:0 overruns:0 frame:0
TX packets:148 errors:0 dropped:0 overruns:0 carrier:0
коллизии:0 txqueuelen:3
RX bytes:18656 (18.6 KB) TX bytes:22546 (22.5 KB)
cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
auto eth1
iface eth1 inet static
address 192.168.10.10
netmask 255.255.255.0
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth1 up # line maintained by pppoeconf
provider dsl-provider
sudo netstat -anep | grep tcp
[sudo] password for thunder:
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 112 8791 3632/mysqld
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 0 7313 3054/smbd
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 8459 3490/apache2
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 0 6595 2741/vsftpd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 8190 3323/cupsd
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 0 7311 3054/smbd
tcp6 0 0 ::1:631 :::* LISTEN 0 8189 3323/cupsd
при включении Configuring network занимает много времени.
при выключении системы Deconfiguring network interfaces занимает больше всего времени...