LinuxForum.Fans
Тема

PPPoE через один reboot

Автор: zenon 31 сообщений 13003 просмотров
#192817
text
sys-apps/baselayout-2.0.3
sys-apps/openrc-0.9.3-r1
#192821

Покажите всё же версию sys-apps/smartmontools.
Остановите сервис smartd
[console]
/etc/init.d/smartd stop
[/console]
а затем запустите так
[console]
/etc/init.d/smartd -d start
[/console]
Вывод покажите.
Также хотелось бы увидеть /etc/rc.conf.

#192822

Команда etc-update не предлагает обновить конфигурационные файлы?

#192839
text
sys-apps/smartmontools-5.41
text
# /etc/init.d/smartd stop
smartd          | * Use of the opts variable is deprecated and will be
smartd          | * removed in the future.
smartd          | * Please use extra_commands or extra_started_commands.
smartd          | * Stopping S.M.A.R.T. monitoring daemon ...               [ ok ]
#
text
# /etc/init.d/smartd -d start
smartd          |+ loadconfig /etc/init.d/../conf.d
smartd          |+ _c=smartd
smartd          |+ '[' -n smartd -a smartd '!=' smartd ']'
smartd          |+ unset _c
smartd          |+ sourcex -e /etc/init.d/../conf.d/smartd.default
smartd          |+ '[' -e = -e ']'
smartd          |+ shift
smartd          |+ '[' -e /etc/init.d/../conf.d/smartd.default ']'
smartd          |+ return 1
smartd          |+ sourcex -e /etc/init.d/../conf.d/smartd
smartd          |+ '[' -e = -e ']'
smartd          |+ shift
smartd          |+ '[' -e /etc/init.d/../conf.d/smartd ']'
smartd          |+ . /etc/init.d/../conf.d/smartd
smartd          |++ SMARTD_OPTS=
smartd          |+ sourcex -e /etc/rc.conf
smartd          |+ '[' -e = -e ']'
smartd          |+ shift
smartd          |+ '[' -e /etc/rc.conf ']'
smartd          |+ . /etc/rc.conf
smartd          |++ rc_parallel=YES
smartd          |++ rc_shell=/sbin/sulogin
smartd          |++ rc_hotplug='!net.*'
smartd          |++ rc_logger=YES
smartd          |++ unicode=YES
smartd          |++ rc_sys=
smartd          |++ rc_tty_number=12
smartd          |+ '[' -n '' ']'
smartd          |+ sourcex /etc/init.d/smartd
smartd          |+ '[' /etc/init.d/smartd = -e ']'
smartd          |+ . /etc/init.d/smartd
smartd          |++ opts=' reload'
smartd          |+ unset _d
smartd          |+ unset _f
smartd          |+ '[' -n ' reload' ']'
smartd          |+ ewarn 'Use of the opts variable is deprecated and will be'
smartd          | * Use of the opts variable is deprecated and will be
smartd          |+ ewarn 'removed in the future.'
smartd          | * removed in the future.
smartd          |+ ewarn 'Please use extra_commands or extra_started_commands.'
smartd          | * Please use extra_commands or extra_started_commands.
smartd          |+ '[' -n start ']'
smartd          |+ '[' start = depend ']'
smartd          |+ for _cmd in describe start stop status '${extra_commands:-$opts}' '$extra_started_commands'
smartd          |+ '[' describe = start ']'
smartd          |+ for _cmd in describe start stop status '${extra_commands:-$opts}' '$extra_started_commands'
smartd          |+ '[' start = start ']'
smartd          |++ command -v start
smartd          |+ '[' start = start ']'
smartd          |+ yesno
smartd          |+ '[' -z '' ']'
smartd          |+ return 1
smartd          |+ unset _cmd
smartd          |++ command -v start_pre
smartd          |+ '[' '' = start_pre ']'
smartd          |+ start
smartd          |+ checkconfig
smartd          |+ '[' '!' -f /etc/smartd.conf ']'
smartd          |+ return 0
smartd          |+ ebegin 'Starting S.M.A.R.T. monitoring daemon'
smartd          | * Starting S.M.A.R.T. monitoring daemon ...
smartd          |+ start-stop-daemon --start --exec /usr/sbin/smartd --pidfile /var/run/smartd.pid -- -p /var/run/smartd.pid
smartd          |+ eend 0                                                   [ ok ]
smartd          |++ command -v start_post
smartd          |+ '[' '' = start_post ']'
smartd          |+ shift
smartd          |+ continue 2
smartd          |+ '[' -n '' ']'
#

cat /etc/rc.conf

text
# Global OpenRC configuration settings

# Set to "YES" if you want the rc system to try and start services # in parallel for a slight speed improvement. When running in parallel we # prefix the service output with its name as the output will get # jumbled up. # WARNING: whilst we have improved parallel, it can still potentially lock # the boot process. Don't file bugs about this unless you can supply # patches that fix it without breaking other things! rc_parallel="YES"

# Set rc_interactive to "YES" and you'll be able to press the I key during # boot so you can choose to start specific services. Set to "NO" to disable # this feature. This feature is automatically disabled if rc_parallel is # set to YES. #rc_interactive="YES"

# If we need to drop to a shell, you can specify it here. # If not specified we use $SHELL, otherwise the one specified in /etc/passwd, # otherwise /bin/sh # Linux users could specify /sbin/sulogin rc_shell=/sbin/sulogin

# Do we allow any started service in the runlevel to satisfy the dependency # or do we want all of them regardless of state? For example, if net.eth0 # and net.eth1 are in the default runlevel then with rc_depend_strict="NO" # both will be started, but services that depend on 'net' will work if either # one comes up. With rc_depend_strict="YES" we would require them both to # come up. #rc_depend_strict="YES"

# rc_hotplug is a list of services that we allow to be hotplugged. # By default we do not allow hotplugging. # A hotplugged service is one started by a dynamic dev manager when a matching # hardware device is found. # This service is intrinsically included in the boot runlevel. # To disable services, prefix with a ! # Example - rc_hotplug="net.wlan !net.*" # This allows net.wlan and any service not matching net.* to be plugged. # Example - rc_hotplug="*" # This allows all services to be hotplugged rc_hotplug="!net.*"

# rc_logger launches a logging daemon to log the entire rc process to # /var/log/rc.log # NOTE: Linux systems require the devfs service to be started before # logging can take place and as such cannot log the sysinit runlevel. rc_logger="YES"

# Through rc_log_path you can specify a custom log file. # The default value is: /var/log/rc.log #rc_log_path="/var/log/rc.log"

# By default we filter the environment for our running scripts. To allow other # variables through, add them here. Use a * to allow all variables through. #rc_env_allow="VAR1 VAR2"

# By default we assume that all daemons will start correctly. # However, some do not - a classic example is that they fork and return 0 AND # then child barfs on a configuration error. Or the daemon has a bug and the # child crashes. You can set the number of milliseconds start-stop-daemon # waits to check that the daemon is still running after starting here. # The default is 0 - no checking. #rc_start_wait=100

# rc_nostop is a list of services which will not stop when changing runlevels. # This still allows the service itself to be stopped when called directly. #rc_nostop=""

# rc will attempt to start crashed services by default. # However, it will not stop them by default as that could bring down other # critical services. #rc_crashed_stop=NO #rc_crashed_start=YES

############################################################################## # MISC CONFIGURATION VARIABLES # There variables are shared between many init scripts

# Set unicode to YES to turn on unicode support for keyboards and screens. unicode="YES"

# Below is the default list of network fstypes. # # afs cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre ncpfs # nfs nfs4 ocfs2 shfs smbfs # # If you would like to add to this list, you can do so by adding your # own fstypes to the following variable. #extra_net_fs_list=""

############################################################################## # SERVICE CONFIGURATION VARIABLES # These variables are documented here, but should be configured in # /etc/conf.d/foo for service foo and NOT enabled here unless you # really want them to work on a global basis.

# Some daemons are started and stopped via start-stop-daemon. # We can set some things on a per service basis, like the nicelevel. #export SSD_NICELEVEL="-19"

# Pass ulimit parameters #rc_ulimit="-u 30"

# It's possible to define extra dependencies for services like so #rc_config="/etc/foo" #rc_need="openvpn" #rc_use="net.eth0" #rc_after="clock" #rc_before="local" #rc_provide="!net"

# You can also enable the above commands here for each service. Below is an # example for service foo. #rc_foo_config="/etc/foo" #rc_foo_need="openvpn" #rc_foo_after="clock"

# You can also remove dependencies. # This is mainly used for saying which servies do NOT provide net. #rc_net_tap0_provide="!net"

############################################################################## # LINUX SPECIFIC OPTIONS

# This is the subsystem type. Valid options on Linux: # "" - nothing special # "lxc" - Linux Containers # "openvz" - Linux OpenVZ # "prefix" - Prefix # "uml" - Usermode Linux # "vserver" - Linux vserver # "xen0" - Xen0 Domain # "xenU" - XenU Domain # If this is commented out, automatic detection will be attempted. # Note that autodetection will not work in a prefix environment or in a # linux container. # # This should be set to the value representing the environment this file is # PRESENTLY in, not the virtualization the environment is capable of. rc_sys=""

# This is the number of tty's used in most of the rc-scripts (like # consolefont, numlock, etc ...) rc_tty_number=12

Lupo Alberto написал:
Команда etc-update не предлагает обновить конфигурационные файлы?

Когда предлагает - сразу выполняю.

#192902

Синхронизируйте дерево portage и обновите «мир» — часть проблем должна решиться.

#192916

Lupo Alberto, Вчера только полностью обновлялся...
Сейчас ещё обновления:

text
# emerge -auDNv @world

These are the packages that would be merged, in order:

Calculating dependencies... done! [ebuild U ] sys-apps/portage-2.1.10.18 [2.1.10.16] USE="(ipc) less -build -doc -epydoc -python2 -python3 (-selinux)" LINGUAS="-pl" 849 kB *** Portage will stop merging at this point and reload itself, then resume the merge. [ebuild U ] media-libs/audiofile-0.3.0 [0.2.7] USE="-static-libs" 703 kB [ebuild U ] app-text/hunspell-1.3.2-r2 [1.3.2-r1] USE="ncurses nls readline -static-libs" LINGUAS="en ru -af -bg -ca -cs -cy -da -de -el -eo -es -et -fo -fr -ga -gl -he -hr -hu -ia -id -it -ku -lt -lv -mk -ms -nb -nl -nn -pl -pt -ro -sk -sl -sv -sw -tn -uk -zu" 0 kB [ebuild U ] sys-apps/gawk-4.0.0 [3.1.8] USE="nls" 0 kB [ebuild U ] www-client/lynx-2.8.8_pre9 [2.8.8_pre5] USE="bzip2 nls ssl unicode -cjk -gnutls -idn -ipv6" 2,463 kB [ebuild U ] www-client/chromium-14.0.835.163 [14.0.835.162] USE="-cups -gnome -gnome-keyring -kerberos -test" LINGUAS="ru -am -ar -bg -bn -ca -cs -da -de -el -en_GB -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -nb -nl -pl -pt_BR -pt_PT -ro -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW" 152,216 kB [ebuild U ] sys-apps/smartmontools-5.41-r1 [5.41] USE="-caps -minimal -static" 0 kB [ebuild U ] sys-power/upower-0.9.13-r1 [0.9.13] USE="introspection -debug -doc -ios" 0 kB [ebuild U ] sys-fs/udisks-1.0.4-r1 [1.0.4] USE="nls -bash-completion -debug -doc -remote-access" 0 kB [ebuild U ] net-misc/openssh-5.8_p2-r1 [5.8_p2] USE="X hpn ldap pam tcpd -X509 -kerberos -libedit (-selinux) -skey -static" 0 kB [ebuild U ] app-emulation/wine-1.3.28 [1.3.27] USE="X alsa dbus gecko jpeg lcms ldap mp3 ncurses opengl oss perl png ssl threads truetype win32 win64 xml -capi -cups -custom-cflags -fontconfig -gnutls -gphoto2 -gsm (-gstreamer) (-hal) -hardened (-nls) -openal -opencl -samba -scanner -test -v4l -xcomposite -xinerama" 19,167 kB

Total: 11 packages (11 upgrades), Size of downloads: 175,396 kB

WARNING: One or more updates have been skipped due to a dependency conflict:

x11-base/xorg-server:0

(x11-base/xorg-server-1.11.0::gentoo, ebuild scheduled for merge) conflicts with <x11-base/xorg-server-1.10.99 required by (x11-drivers/nvidia-drivers-285.03::gentoo, installed)

Посмотрим.
Chromium блин опять обновление - только вчера собирал... :(

#192923

В sys-apps/smartmontools поменялись скрипты инициализации, предупреждения должны исчезнуть.
Остальное ждите, или «откатите» openrc wink

#192943

Будем ждать, пусть ругается, на работоспособности не сказывается.

text
# /etc/init.d/nginx restart
nginx           | * Caching service dependencies ...                                                                                                                                                        [ ok ]
nginx           | * Use of the opts variable is deprecated and will be
nginx           | * removed in the future.
nginx           | * Please use extra_commands or extra_started_commands.
nginx           | * Checking nginx' configuration ...                                                                                                                                                       [ ok ]
nginx           | * Stopping nginx ...                                                                                                                                                                      [ ok ]
nginx           | * Use of the opts variable is deprecated and will be
nginx           | * removed in the future.
nginx           | * Please use extra_commands or extra_started_commands.
nginx           | * Starting nginx ...              

smile

#309111

Пришлось вернуться опять к этой теме.

text
# uname -a
Linux HGATE 3.7.10-gentoo #1 SMP Fri Mar 15 01:59:45 MSK 2013 x86_64 AMD Phenom(tm) II X4 925 Processor AuthenticAMD GNU/Linux

Лог:

text
# cat /var/log/syslog-ng/messages | grep ppp
Mar 15 17:18:07 WORKGROUP pppd[19312]: PPP session is 11
Mar 15 17:18:07 WORKGROUP pppd[19312]: Connected to 14:da:e9:04:a4:17 via interface eth0
Mar 15 17:18:07 WORKGROUP pppd[19312]: Using interface ppp0
Mar 15 17:18:07 WORKGROUP pppd[19312]: Connect: ppp0 <--> eth0
Mar 15 17:18:10 WORKGROUP pppd[19312]: CHAP authentication failed
Mar 15 17:18:10 WORKGROUP pppd[19312]: Connection terminated.
Mar 15 17:18:28 WORKGROUP /etc/init.d/net.ppp0[20172]: status: inactive
Mar 15 17:18:28 WORKGROUP /etc/init.d/net.ppp0[20173]: WARNING: net.ppp0 has already started, but is inactive
Mar 15 17:18:40 WORKGROUP pppd[19312]: PPP session is 12
Mar 15 17:18:40 WORKGROUP pppd[19312]: Connected to 14:da:e9:04:a4:17 via interface eth0
Mar 15 17:18:40 WORKGROUP pppd[19312]: Using interface ppp0
Mar 15 17:18:40 WORKGROUP pppd[19312]: Connect: ppp0 <--> eth0
Mar 15 17:18:43 WORKGROUP pppd[19312]: CHAP authentication failed
Mar 15 17:18:43 WORKGROUP pppd[19312]: Connection terminated.
Mar 15 17:19:13 WORKGROUP pppd[19312]: PPP session is 13
Mar 15 17:19:13 WORKGROUP pppd[19312]: Connected to 14:da:e9:04:a4:17 via interface eth0
Mar 15 17:19:13 WORKGROUP pppd[19312]: Using interface ppp0
Mar 15 17:19:13 WORKGROUP pppd[19312]: Connect: ppp0 <--> eth0
Mar 15 17:19:16 WORKGROUP pppd[19312]: CHAP authentication failed
Mar 15 17:19:16 WORKGROUP pppd[19312]: Connection terminated.
Mar 15 17:19:32 WORKGROUP pppd[19312]: Terminating on signal 15
Mar 15 17:19:32 WORKGROUP pppd[19312]: Exit.
Mar 15 17:19:32 WORKGROUP pppd[21179]: Plugin rp-pppoe.so loaded.
Mar 15 17:19:32 WORKGROUP pppd[21179]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 15 17:19:32 WORKGROUP pppd[21179]: Plugin passwordfd.so loaded.
Mar 15 17:19:32 WORKGROUP pppd[21180]: pppd 2.4.5 started by root, uid 0
Mar 15 17:19:32 WORKGROUP pppd[21180]: PPP session is 14
Mar 15 17:19:32 WORKGROUP pppd[21180]: Connected to 14:da:e9:04:a4:17 via interface eth0
Mar 15 17:19:32 WORKGROUP pppd[21180]: Using interface ppp0
Mar 15 17:19:32 WORKGROUP pppd[21180]: Connect: ppp0 <--> eth0
Mar 15 17:19:32 WORKGROUP /etc/init.d/net.ppp0[20889]: WARNING: net.ppp0 has started, but is inactive
Mar 15 17:19:35 WORKGROUP pppd[21180]: CHAP authentication failed
Mar 15 17:19:35 WORKGROUP pppd[21180]: Connection terminated.
Mar 15 17:20:05 WORKGROUP pppd[21180]: PPP session is 15
Mar 15 17:20:05 WORKGROUP pppd[21180]: Connected to 14:da:e9:04:a4:17 via interface eth0
Mar 15 17:20:05 WORKGROUP pppd[21180]: Using interface ppp0
Mar 15 17:20:05 WORKGROUP pppd[21180]: Connect: ppp0 <--> eth0
Mar 15 17:20:08 WORKGROUP pppd[21180]: CHAP authentication failed
Mar 15 17:20:08 WORKGROUP pppd[21180]: Connection terminated.
Mar 15 17:21:57 WORKGROUP ntpd[19878]: Listen normally on 4 ppp0 88.87.92.60 UDP 123
Mar 15 17:22:01 WORKGROUP /etc/init.d/net.ppp0[20185]: status: inactive
Mar 15 17:22:01 WORKGROUP /etc/init.d/net.ppp0[20186]: WARNING: net.ppp0 has already started, but is inactive

..
..
Попробую с хронологией:
Очистил лог, reboot (доступ в инет был):

text
Mar 15 17:18:07 WORKGROUP pppd[19312]: PPP session is 11
Mar 15 17:18:07 WORKGROUP pppd[19312]: Connected to 14:da:e9:04:a4:17 via interface eth0
Mar 15 17:18:07 WORKGROUP pppd[19312]: Using interface ppp0
Mar 15 17:18:07 WORKGROUP pppd[19312]: Connect: ppp0 <--> eth0
Mar 15 17:18:10 WORKGROUP pppd[19312]: CHAP authentication failed
Mar 15 17:18:10 WORKGROUP pppd[19312]: Connection terminated.

загрузка, попытка руками рестартануть руками /etc/init.d/net.eth0 restart, - сеть так и не появилась:

text
Mar 15 17:18:28 WORKGROUP /etc/init.d/net.ppp0[20172]: status: inactive
Mar 15 17:18:28 WORKGROUP /etc/init.d/net.ppp0[20173]: WARNING: net.ppp0 has already started, but is inactive
Mar 15 17:18:40 WORKGROUP pppd[19312]: PPP session is 12
Mar 15 17:18:40 WORKGROUP pppd[19312]: Connected to 14:da:e9:04:a4:17 via interface eth0
Mar 15 17:18:40 WORKGROUP pppd[19312]: Using interface ppp0
Mar 15 17:18:40 WORKGROUP pppd[19312]: Connect: ppp0 <--> eth0
Mar 15 17:18:43 WORKGROUP pppd[19312]: CHAP authentication failed
Mar 15 17:18:43 WORKGROUP pppd[19312]: Connection terminated.
Mar 15 17:19:13 WORKGROUP pppd[19312]: PPP session is 13
Mar 15 17:19:13 WORKGROUP pppd[19312]: Connected to 14:da:e9:04:a4:17 via interface eth0
Mar 15 17:19:13 WORKGROUP pppd[19312]: Using interface ppp0
Mar 15 17:19:13 WORKGROUP pppd[19312]: Connect: ppp0 <--> eth0
Mar 15 17:19:16 WORKGROUP pppd[19312]: CHAP authentication failed
Mar 15 17:19:16 WORKGROUP pppd[19312]: Connection terminated.
Mar 15 17:19:32 WORKGROUP pppd[19312]: Terminating on signal 15
Mar 15 17:19:32 WORKGROUP pppd[19312]: Exit.
Mar 15 17:19:32 WORKGROUP pppd[21179]: Plugin rp-pppoe.so loaded.
Mar 15 17:19:32 WORKGROUP pppd[21179]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 15 17:19:32 WORKGROUP pppd[21179]: Plugin passwordfd.so loaded.
Mar 15 17:19:32 WORKGROUP pppd[21180]: pppd 2.4.5 started by root, uid 0
Mar 15 17:19:32 WORKGROUP pppd[21180]: PPP session is 14
Mar 15 17:19:32 WORKGROUP pppd[21180]: Connected to 14:da:e9:04:a4:17 via interface eth0
Mar 15 17:19:32 WORKGROUP pppd[21180]: Using interface ppp0
Mar 15 17:19:32 WORKGROUP pppd[21180]: Connect: ppp0 <--> eth0
Mar 15 17:19:32 WORKGROUP /etc/init.d/net.ppp0[20889]: WARNING: net.ppp0 has started, but is inactive
Mar 15 17:19:35 WORKGROUP pppd[21180]: CHAP authentication failed
Mar 15 17:19:35 WORKGROUP pppd[21180]: Connection terminated.

после ребута (сеть появилась! хоть и CHAP authentication failed)

text
Mar 15 17:20:05 WORKGROUP pppd[21180]: PPP session is 15
Mar 15 17:20:05 WORKGROUP pppd[21180]: Connected to 14:da:e9:04:a4:17 via interface eth0
Mar 15 17:20:05 WORKGROUP pppd[21180]: Using interface ppp0
Mar 15 17:20:05 WORKGROUP pppd[21180]: Connect: ppp0 <--> eth0
Mar 15 17:20:08 WORKGROUP pppd[21180]: CHAP authentication failed
Mar 15 17:20:08 WORKGROUP pppd[21180]: Connection terminated.
Mar 15 17:21:57 WORKGROUP ntpd[19878]: Listen normally on 4 ppp0 88.87.92.60 UDP 123
Mar 15 17:22:01 WORKGROUP /etc/init.d/net.ppp0[20185]: status: inactive
Mar 15 17:22:01 WORKGROUP /etc/init.d/net.ppp0[20186]: WARNING: net.ppp0 has already started, but is inactive
text
# cat /etc/conf.d/net
config_eth1="192.168.0.1 netmask 255.255.255.0"
routes_eth1="default via 192.168.0.1"
config_eth0="null"
config_ppp0="ppp"
link_ppp0="eth0"
plugins_ppp0="pppoe"
username_ppp0='vXXXXXX'
password_ppp0='XXXXXX'
rc_net_ppp0_need="net.eth0"
rc_net_eth0_need="net.lo"
metric_ppp0=0
pppd_ppp0="
    noauth
    defaultroute
    usepeerdns
    ipcp-accept-remote
    ipcp-accept-local
    lcp-echo-interval 15
    lcp-echo-failure 3
    persist
 "

Как-то все не правильно.

#309178

Вот что хотел, гентушная настройка conf.d/net смотрит в /etc/ppp или игнорирует то что там?
Ну вот почему надо обязательно net юзать, генту-вейно если...
Например в deb реализация - postup - pon provider... И что интересно работает без нареканий... Надо там подсмотреть, что за конфиг создает pppoeconf.

#309342

Лог мучений.

text
# cat /var/log/syslog-ng/messages | grep pppd
Mar 16 02:16:27 WORKGROUP pppd[20293]: Plugin rp-pppoe.so loaded.
Mar 16 02:16:27 WORKGROUP pppd[20293]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 02:16:27 WORKGROUP pppd[20293]: Plugin passwordfd.so loaded.
Mar 16 02:17:47 WORKGROUP pppd[21563]: Plugin rp-pppoe.so loaded.
Mar 16 02:17:47 WORKGROUP pppd[21563]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 02:17:47 WORKGROUP pppd[21563]: Plugin passwordfd.so loaded.
Mar 16 02:19:10 WORKGROUP pppd[23017]: Plugin rp-pppoe.so loaded.
Mar 16 02:19:10 WORKGROUP pppd[23017]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 02:19:10 WORKGROUP pppd[23017]: Plugin passwordfd.so loaded.
Mar 16 02:21:00 WORKGROUP pppd[20293]: Plugin rp-pppoe.so loaded.
Mar 16 02:21:00 WORKGROUP pppd[20293]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 02:21:00 WORKGROUP pppd[20293]: Plugin passwordfd.so loaded.
Mar 16 02:21:58 WORKGROUP pppd[21667]: Plugin rp-pppoe.so loaded.
Mar 16 02:21:58 WORKGROUP pppd[21667]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 02:21:58 WORKGROUP pppd[21667]: Plugin passwordfd.so loaded.
Mar 16 02:22:27 WORKGROUP pppd[22433]: Plugin rp-pppoe.so loaded.
Mar 16 02:22:27 WORKGROUP pppd[22433]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 02:22:27 WORKGROUP pppd[22433]: Plugin passwordfd.so loaded.
Mar 16 02:23:44 WORKGROUP pppd[23781]: Plugin rp-pppoe.so loaded.
Mar 16 02:23:44 WORKGROUP pppd[23781]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 02:23:44 WORKGROUP pppd[23781]: Plugin passwordfd.so loaded.
Mar 16 02:25:05 WORKGROUP pppd[20285]: Plugin rp-pppoe.so loaded.
Mar 16 02:25:05 WORKGROUP pppd[20285]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 02:25:05 WORKGROUP pppd[20285]: Plugin passwordfd.so loaded.
Mar 16 02:47:34 WORKGROUP pppd[21215]: Plugin rp-pppoe.so loaded.
Mar 16 02:47:34 WORKGROUP pppd[21215]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 02:47:34 WORKGROUP pppd[21220]: pppd 2.4.5 started by root, uid 0
Mar 16 02:47:34 WORKGROUP pppd[21220]: PPP session is 98
Mar 16 02:47:34 WORKGROUP pppd[21220]: Connected to 7c:20:64:84:74:ba via interface eth0
Mar 16 02:47:34 WORKGROUP pppd[21220]: Using interface ppp0
Mar 16 02:47:34 WORKGROUP pppd[21220]: Connect: ppp0 <--> eth0
Mar 16 02:47:34 WORKGROUP pppd[21220]: CHAP authentication succeeded: CHAP authentication success
Mar 16 02:47:34 WORKGROUP pppd[21220]: CHAP authentication succeeded
Mar 16 02:47:34 WORKGROUP pppd[21220]: peer from calling number 7C:20:64:84:74:BA authorized
Mar 16 02:47:34 WORKGROUP pppd[21220]: local  IP address 88.87.92.60
Mar 16 02:47:34 WORKGROUP pppd[21220]: remote IP address 10.93.255.126
Mar 16 02:47:34 WORKGROUP pppd[21220]: primary   DNS address 88.87.64.6
Mar 16 02:47:34 WORKGROUP pppd[21220]: secondary DNS address 88.87.65.3
Mar 16 02:50:44 WORKGROUP pppd[18955]: Timeout waiting for PADO packets
Mar 16 02:51:49 WORKGROUP pppd[18955]: Timeout waiting for PADO packets
Mar 16 02:52:08 WORKGROUP pppd[21471]: Plugin rp-pppoe.so loaded.
Mar 16 02:52:08 WORKGROUP pppd[21471]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 02:52:08 WORKGROUP pppd[21472]: pppd 2.4.5 started by root, uid 0
Mar 16 02:52:26 WORKGROUP pppd[21684]: Plugin rp-pppoe.so loaded.
Mar 16 02:52:26 WORKGROUP pppd[21684]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 02:52:26 WORKGROUP pppd[21686]: pppd 2.4.5 started by root, uid 0
Mar 16 02:52:43 WORKGROUP pppd[21472]: Timeout waiting for PADO packets
Mar 16 02:52:54 WORKGROUP pppd[18955]: Timeout waiting for PADO packets
Mar 16 02:53:01 WORKGROUP pppd[21686]: Timeout waiting for PADO packets
Mar 16 02:54:44 WORKGROUP pppd[18955]: Timeout waiting for PADO packets
Mar 16 02:55:20 WORKGROUP pppd[20716]: Plugin rp-pppoe.so loaded.
Mar 16 02:55:20 WORKGROUP pppd[20716]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 02:55:20 WORKGROUP pppd[20717]: pppd 2.4.5 started by root, uid 0
Mar 16 02:55:47 WORKGROUP pppd[21037]: Plugin rp-pppoe.so loaded.
Mar 16 02:55:47 WORKGROUP pppd[21037]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 02:55:47 WORKGROUP pppd[21039]: pppd 2.4.5 started by root, uid 0
Mar 16 02:55:49 WORKGROUP pppd[18955]: Timeout waiting for PADO packets
Mar 16 02:55:55 WORKGROUP pppd[20717]: Timeout waiting for PADO packets
Mar 16 02:56:06 WORKGROUP pppd[21321]: Plugin rp-pppoe.so loaded.
Mar 16 02:56:06 WORKGROUP pppd[21321]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 02:56:06 WORKGROUP pppd[21322]: pppd 2.4.5 started by root, uid 0
Mar 16 02:56:22 WORKGROUP pppd[21039]: Timeout waiting for PADO packets
Mar 16 02:56:41 WORKGROUP pppd[21322]: Timeout waiting for PADO packets
Mar 16 02:56:54 WORKGROUP pppd[18955]: Timeout waiting for PADO packets
Mar 16 02:57:00 WORKGROUP pppd[20717]: Timeout waiting for PADO packets
Mar 16 02:57:27 WORKGROUP pppd[21039]: Timeout waiting for PADO packets
Mar 16 02:57:46 WORKGROUP pppd[21322]: Timeout waiting for PADO packets
Mar 16 02:57:59 WORKGROUP pppd[18955]: Timeout waiting for PADO packets
Mar 16 02:58:05 WORKGROUP pppd[20717]: Timeout waiting for PADO packets
Mar 16 02:58:05 WORKGROUP pppd[23421]: Plugin rp-pppoe.so loaded.
Mar 16 02:58:05 WORKGROUP pppd[23421]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 02:58:05 WORKGROUP pppd[23422]: pppd 2.4.5 started by root, uid 0
Mar 16 02:58:29 WORKGROUP pppd[23707]: Plugin rp-pppoe.so loaded.
Mar 16 02:58:29 WORKGROUP pppd[23707]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 02:58:29 WORKGROUP pppd[23709]: pppd 2.4.5 started by root, uid 0
Mar 16 02:58:32 WORKGROUP pppd[21039]: Timeout waiting for PADO packets
Mar 16 02:58:40 WORKGROUP pppd[23422]: Timeout waiting for PADO packets
Mar 16 02:58:51 WORKGROUP pppd[21322]: Timeout waiting for PADO packets
Mar 16 02:59:04 WORKGROUP pppd[18955]: Timeout waiting for PADO packets
Mar 16 02:59:04 WORKGROUP pppd[23709]: Timeout waiting for PADO packets
Mar 16 02:59:10 WORKGROUP pppd[20717]: Timeout waiting for PADO packets
Mar 16 03:00:53 WORKGROUP pppd[18965]: Timeout waiting for PADO packets
Mar 16 03:01:58 WORKGROUP pppd[18965]: Timeout waiting for PADO packets
Mar 16 03:03:03 WORKGROUP pppd[18965]: Timeout waiting for PADO packets
Mar 16 03:04:05 WORKGROUP pppd[23190]: Plugin rp-pppoe.so loaded.
Mar 16 03:04:05 WORKGROUP pppd[23190]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 03:04:05 WORKGROUP pppd[23190]: Plugin passwordfd.so loaded.
Mar 16 03:04:09 WORKGROUP pppd[18965]: Timeout waiting for PADO packets
Mar 16 03:18:35 WORKGROUP pppd[20158]: Plugin rp-pppoe.so loaded.
Mar 16 03:18:35 WORKGROUP pppd[20158]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 03:18:35 WORKGROUP pppd[20158]: Plugin passwordfd.so loaded.
Mar 16 03:18:41 WORKGROUP pppd[18958]: Timeout waiting for PADO packets
Mar 16 03:19:46 WORKGROUP pppd[18958]: Timeout waiting for PADO packets
Mar 16 03:20:14 WORKGROUP pppd[21878]: Plugin rp-pppoe.so loaded.
Mar 16 03:20:14 WORKGROUP pppd[21878]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 03:20:14 WORKGROUP pppd[21878]: Plugin passwordfd.so loaded.
Mar 16 03:20:51 WORKGROUP pppd[18958]: Timeout waiting for PADO packets
Mar 16 03:21:56 WORKGROUP pppd[18958]: Timeout waiting for PADO packets
Mar 16 03:23:01 WORKGROUP pppd[18958]: Timeout waiting for PADO packets
Mar 16 03:24:06 WORKGROUP pppd[18958]: Timeout waiting for PADO packets
Mar 16 03:25:11 WORKGROUP pppd[18958]: Timeout waiting for PADO packets
Mar 16 03:26:16 WORKGROUP pppd[18958]: Timeout waiting for PADO packets
Mar 16 03:27:21 WORKGROUP pppd[18958]: Timeout waiting for PADO packets
Mar 16 03:28:26 WORKGROUP pppd[18958]: Timeout waiting for PADO packets
Mar 16 03:28:26 WORKGROUP pppd[18958]: Exit.
Mar 16 03:29:34 WORKGROUP pppd[28958]: Plugin rp-pppoe.so loaded.
Mar 16 03:29:34 WORKGROUP pppd[28958]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 03:29:34 WORKGROUP pppd[28960]: pppd 2.4.5 started by root, uid 0
Mar 16 03:30:09 WORKGROUP pppd[28960]: Timeout waiting for PADO packets
Mar 16 03:30:09 WORKGROUP pppd[28960]: Terminating on signal 15
Mar 16 03:30:09 WORKGROUP pppd[28960]: Exit.
Mar 16 03:30:10 WORKGROUP pppd[29464]: Plugin rp-pppoe.so loaded.
Mar 16 03:30:10 WORKGROUP pppd[29464]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 03:30:10 WORKGROUP pppd[29465]: pppd 2.4.5 started by root, uid 0
Mar 16 03:30:45 WORKGROUP pppd[29465]: Timeout waiting for PADO packets
Mar 16 03:31:50 WORKGROUP pppd[29465]: Timeout waiting for PADO packets
Mar 16 03:31:50 WORKGROUP pppd[29465]: Terminating on signal 15
Mar 16 03:31:50 WORKGROUP pppd[29465]: Exit.
Mar 16 03:32:23 WORKGROUP pppd[31522]: Plugin rp-pppoe.so loaded.
Mar 16 03:32:23 WORKGROUP pppd[31522]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 03:32:23 WORKGROUP pppd[31522]: Plugin passwordfd.so loaded.
Mar 16 03:34:09 WORKGROUP pppd[33241]: Plugin rp-pppoe.so loaded.
Mar 16 03:34:09 WORKGROUP pppd[33241]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 03:34:09 WORKGROUP pppd[33241]: Plugin passwordfd.so loaded.
Mar 16 03:34:09 WORKGROUP pppd[33242]: pppd 2.4.5 started by root, uid 0
Mar 16 03:34:44 WORKGROUP pppd[33242]: Timeout waiting for PADO packets
Mar 16 03:34:48 WORKGROUP pppd[33242]: Terminating on signal 15
Mar 16 03:34:48 WORKGROUP pppd[33242]: Exit.
Mar 16 03:34:48 WORKGROUP pppd[34227]: Plugin rp-pppoe.so loaded.
Mar 16 03:34:48 WORKGROUP pppd[34227]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 03:34:48 WORKGROUP pppd[34227]: Plugin passwordfd.so loaded.
Mar 16 03:34:48 WORKGROUP pppd[34228]: pppd 2.4.5 started by root, uid 0
Mar 16 03:35:23 WORKGROUP pppd[34228]: Timeout waiting for PADO packets
Mar 16 03:35:23 WORKGROUP pppd[34228]: Terminating on signal 15
Mar 16 03:35:23 WORKGROUP pppd[34228]: Exit.
Mar 16 03:36:44 WORKGROUP pppd[20163]: Plugin rp-pppoe.so loaded.
Mar 16 03:36:44 WORKGROUP pppd[20163]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 03:36:44 WORKGROUP pppd[20163]: Plugin passwordfd.so loaded.
Mar 16 03:36:44 WORKGROUP pppd[20164]: pppd 2.4.5 started by root, uid 0
Mar 16 03:37:19 WORKGROUP pppd[20164]: Timeout waiting for PADO packets
Mar 16 03:38:24 WORKGROUP pppd[20164]: Timeout waiting for PADO packets
Mar 16 03:58:52 WORKGROUP pppd[19302]: Timeout waiting for PADO packets
Mar 16 03:59:57 WORKGROUP pppd[19302]: Timeout waiting for PADO packets
Mar 16 04:00:10 WORKGROUP pppd[19302]: Terminating on signal 15
Mar 16 04:00:10 WORKGROUP pppd[19302]: Exit.
Mar 16 04:00:11 WORKGROUP pppd[21694]: Plugin rp-pppoe.so loaded.
Mar 16 04:00:11 WORKGROUP pppd[21694]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Mar 16 04:00:11 WORKGROUP pppd[21694]: Plugin passwordfd.so loaded.
Mar 16 04:00:11 WORKGROUP pppd[21695]: pppd 2.4.5 started by root, uid 0
Mar 16 04:30:41 WORKGROUP pppd[19291]: Timeout waiting for PADO packets
Mar 16 04:31:46 WORKGROUP pppd[19291]: Timeout waiting for PADO packets

Последние попытки за десяток перезагрузок не поднялся один раз.
...
Чего сделал - поставил debian и настроил с помощью pppoeconf, заменил гентушный /etc/ppp на дебиан.
гентушный ppp (убрал из /etc):

text

# ls -la /root/ppp
итого 29
drwxr-xr-x  5 root root 400 марта 16 02:44 ./
drwx------ 17 root root 928 марта 16 13:07 ../
-rw-------  1 root root  78 марта 15 20:46 chap-secrets
-rw-------  1 root root  78 марта 15 20:46 chap-secrets.example
-rwxr-xr-x  1 root root 431 марта 15 20:46 ip-down*
drwxr-xr-x  2 root root 144 марта 15 20:46 ip-down.d/
-rwxr-xr-x  1 root root 426 марта 15 20:46 ip-up*
drwxr-xr-x  2 root root 144 марта 15 20:46 ip-up.d/
lrwxrwxrwx  1 root root   7 марта 16 02:44 ipv6-down -> ip-down*
lrwxrwxrwx  1 root root   5 марта 16 02:44 ipv6-up -> ip-up*
-rw-r--r--  1 root root   5 марта 15 20:46 options
-rw-------  1 root root  77 марта 15 20:46 pap-secrets
-rw-------  1 root root  77 марта 15 20:46 pap-secrets.example
drwxr-xr-x  2 root root  48 марта 15 20:46 peers/

Рабочий каталог (из дебиан):

text
# ls -la /etc/ppp
итого 18
drwxr-xr-x   5 root root  224 марта 16 02:44 ./
drwxr-xr-x 109 root root 6136 марта 16 04:45 ../
-rw-------   1 root root  104 марта 16 02:40 chap-secrets
drwxr-xr-x   2 root root   80 марта 16 02:40 ip-down.d/
drwxr-xr-x   2 root root   80 марта 16 02:40 ip-up.d/
-rw-------   1 root root 1652 марта 16 02:40 pap-secrets
drwxr-s---   2 root   30  104 марта 16 02:40 peers/
-rw-------   1 root root   44 марта 16 04:44 resolv.conf

/etc/ppp/options есть только в gentoo, там один строка:

text
# cat /root/ppp/options
lock

Все -таки лезет оно туда.
Не пойму как включить в лог больше отладки, debug вроде везде где можно...

text
# cat /etc/conf.net
config_eth1="192.168.0.1 netmask 255.255.255.0"
routes_eth1="default via 192.168.0.1"
config_eth0="null"
config_ppp0="ppp"
link_ppp0="eth0"
plugins_ppp0="pppoe"
username_ppp0=''
password_ppp0=''
rc_net_ppp0_need="net.eth0"
rc_net_eth0_need="net.lo"
metric_ppp0=0
pppd_ppp0="
    noauth
    defaultroute
    usepeerdns
    ipcp-accept-remote
    ipcp-accept-local
    lcp-echo-interval 30
    lcp-echo-failure 3
    persist
    debug
 "
Войдите или зарегистрируйтесь, чтобы ответить.