SIOCADDRT: File exists
SIOCADDRT: File exists
SIOCADDRT: File exists
SIOCADDRT: File exists
SIOCADDRT: File exists
SIOCADDRT: File exists
SIOCADDRT: File exists
Намекает на то, что маршруты уже в системе есть. И скрипт выполняется два раза. Что там кроме eth2 еще поднимается?
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp1
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
Говорит о том что поднимается еще один P-t-P туннель.
А вот тут не очеь понятно как адрес получается.
eth2 Link encap:Ethernet HWaddr 6c:62:6d:53:0e:7d
inet addr:10.10.125.163 Bcast:10.10.125.255 Mask:255.255.254.0
Собственно поэтому роуты не записываются, адрес на eth2 не присвоен.
auto eth2
iface eth2 inet manual
Про eth1 я тоже не очень понял, если он не используется, тогда зачем описан?
auto eth1
iface eth1 inet manual
Ага, а /etc/ppp/peers/dsl-provider предъявить не хотите?
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth2 up # line maintained by pppoeconf
provider dsl-provider
Какие еще скрипты задействованы для сети? С чего Вы решили, что для роутинга необходимо задействовать /etc/network/if-up.d/ ? Всего шесть строчек, достаточно их в interfaces определить.
Роуты у тебя не поднимутся, если сеть запускается через NM, который в /etc/network вообще не смотрит. NM хранит свои настройки в /etc/NetworkManager, там же где-то и роуты. Лучше снеси NM вообще, так, вроде сеть у тебя настроена, должно без него запуститься.
А посмотреть уже под спойлер никак? Ведь ясно что Нетворк-Манаджером тут и не пахнет. Лишь бы чего ляпнуть
Пользователь решил продолжить мысль 24 Января 2011, 15:40:08:
wicd стоит и network manager тоже
неправда
они конфликтуют друг с другом (DEBIAN/control), вместе стоять не могут.
Могут и еще как могут!
root@dchub:~# aptitude show network-manager
Package: network-manager
New: yes
State: not installed
Version: 0.8-0ubuntu3
Priority: необязательный
Section: net
Maintainer: Ubuntu Core Dev Team <ubuntu-devel-discuss@lists.ubuntu.com>
Uncompressed Size: 2 290k
Depends: libc6 (>= 2.4), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>= 0.78), libglib2.0-0 (>= 2.23.5), libgudev-1.0-0 (>= 147), libnl1 (>= 1.1),
libnm-glib2 (>= 0.8~a~git.20090826t185111.79489be), libnm-util1 (>= 0.8~a~git.20090930t162132.866d48b), libnspr4-0d (>= 4.7.0~1.9b1),
libnss3-1d (>= 3.12.2~rc1), libpolkit-gobject-1-0 (>= 0.94), libudev0 (>= 147), libuuid1 (>= 2.16), upstart-job, iproute, iputils-arping,
lsb-base (>= 3.2-14), wpasupplicant (>= 0.6.1~), dbus (>= 0.60), update-notifier-common, ppp
Recommends: network-manager-gnome | network-manager-kde | plasma-widget-networkmanagement, dnsmasq-base, modemmanager, iptables,
network-manager-pptp
Conflicts: network-manager-pptp (< 0.7~~)
Replaces: network-manager-pptp (< 0.7~~)
Description: network management framework daemon
NetworkManager attempts to keep an active network connection available at all times. It is intended only for the desktop use-case, and is not
intended for usage on servers. The point of NetworkManager is to make networking configuration and setup as painless and automatic as possible.
If using DHCP, NetworkManager is _intended_ to replace default routes, obtain IP addresses from a DHCP server, and change nameservers whenever it
sees fit.
This package provides the userspace daemons.
Homepage: http://www.gnome.org/projects/NetworkManager/
root@dchub:~# aptitude show wicd
Package: wicd
New: yes
State: not installed
Version: 1.7.0+ds1-2
Priority: необязательный
Section: universe/net
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Uncompressed Size: 90,1k
Depends: wicd-daemon (= 1.7.0+ds1-2), wicd-gtk (= 1.7.0+ds1-2) | wicd-curses (= 1.7.0+ds1-2) | wicd-cli (= 1.7.0+ds1-2) | wicd-client
Description: wired and wireless network manager - metapackage
Wicd is a general-purpose network configuration server which aims to provide a simple but flexible interface for connecting to networks. Its
features include: wide variety of settings.
* ability to connect to (and maintain profiles for) both wired and wireless networks;
* support for many encryption schemes, including WEP, WPA, WPA2 and custom schemes;
* wireless-tools compatibility;
* tray icon showing network activity and signal strength;
* lack of GNOME dependencies (although it does require GTK+), making it easy to use in Xfce, Fluxbox, Openbox, Enlightenment, etc.
This is a metapackage, it allows installation of all the components of Wicd, including one of the clients, which must be manually chosen.
Homepage: http://wicd.sourceforge.net/
root@dchub:~#