>>Что делать ?
>
>Смотреть в логи. Вот лог.Посмотрите пожалуйста. Еще такое дело, что выдаеются один и тот же шлюз для ппп интерфейсов, может это становится проблемой. Потомучто как видно из лога до попытки присоеденить третий модем два было уже соеденено но у них по случайности попались сразу разные шлюзы.
---------------------------------------------
* The following section contains information about your system
Mon Jul 13 21:23:38 EEST 2009
Output of uname -a
Linux darkstar 2.6.27.7-smp #2 SMP Thu Nov 20 22:32:43 CST 2008 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux
---------------------------------------------
* The following section contains information about your network
* interfaces. The one you chose for PPPoE should contain the words:
* 'UP' and 'RUNNING'. If it does not, you probably have an Ethernet
* driver problem.
Output of ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:19:5b:fe:ae:85
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:16
eth1 Link encap:Ethernet HWaddr 00:19:5b:6c:82:49
inet addr:192.168.240.1 Bcast:192.168.240.255 Mask:255.255.255.0
inet6 addr: fe80::219:5bff:fe6c:8249/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:49870312 errors:0 dropped:0 overruns:0 frame:0
TX packets:41512733 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3314204515 (3.0 GiB) TX bytes:2098351281 (1.9 GiB)
Interrupt:17
eth2 Link encap:Ethernet HWaddr 00:1a:92:35:7c:3e
inet addr:192.168.1.1 Bcast:192.168.15.255 Mask:255.255.240.0
inet6 addr: fe80::21a:92ff:fe35:7c3e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:45518707 errors:3 dropped:0 overruns:0 frame:3
TX packets:50742622 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2168715153 (2.0 GiB) TX bytes:3373693171 (3.1 GiB)
Interrupt:23 Base address:0x4000
eth1.11 Link encap:Ethernet HWaddr 00:19:5b:6c:82:49
inet addr:192.168.241.1 Bcast:192.168.241.255 Mask:255.255.255.0
inet6 addr: fe80::219:5bff:fe6c:8249/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4609540 errors:0 dropped:0 overruns:0 frame:0
TX packets:5114750 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4075716610 (3.7 GiB) TX bytes:1008064025 (961.3 MiB)
eth1.12 Link encap:Ethernet HWaddr 00:19:5b:6c:82:49
inet addr:192.168.242.1 Bcast:192.168.242.255 Mask:255.255.255.0
inet6 addr: fe80::219:5bff:fe6c:8249/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20276516 errors:0 dropped:0 overruns:0 frame:0
TX packets:15304875 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2455105607 (2.2 GiB) TX bytes:2308418001 (2.1 GiB)
eth1.13 Link encap:Ethernet HWaddr 00:19:5b:6c:82:49
inet addr:192.168.243.1 Bcast:192.168.243.255 Mask:255.255.255.0
inet6 addr: fe80::219:5bff:fe6c:8249/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9030803 errors:0 dropped:0 overruns:0 frame:0
TX packets:7915107 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3803739342 (3.5 GiB) TX bytes:1154781430 (1.0 GiB)
eth1.14 Link encap:Ethernet HWaddr 00:19:5b:6c:82:49
inet addr:192.168.244.1 Bcast:192.168.244.255 Mask:255.255.255.0
inet6 addr: fe80::219:5bff:fe6c:8249/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6718421 errors:0 dropped:0 overruns:0 frame:0
TX packets:5408025 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1356041710 (1.2 GiB) TX bytes:825655003 (787.4 MiB)
eth1.15 Link encap:Ethernet HWaddr 00:19:5b:6c:82:49
inet addr:192.168.245.1 Bcast:192.168.245.255 Mask:255.255.255.0
inet6 addr: fe80::219:5bff:fe6c:8249/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9041249 errors:0 dropped:0 overruns:0 frame:0
TX packets:7563741 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3538298507 (3.2 GiB) TX bytes:849270598 (809.9 MiB)
eth1.16 Link encap:Ethernet HWaddr 00:19:5b:6c:82:49
inet addr:192.168.246.1 Bcast:192.168.246.255 Mask:255.255.255.0
inet6 addr: fe80::219:5bff:fe6c:8249/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:94136 errors:0 dropped:0 overruns:0 frame:0
TX packets:72178 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:62659061 (59.7 MiB) TX bytes:20288919 (19.3 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:22376 errors:0 dropped:0 overruns:0 frame:0
TX packets:22376 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4341248 (4.1 MiB) TX bytes:4341248 (4.1 MiB)
ppp0 Link encap:Point-to-Point Protocol
POINTOPOINT NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ppp1 Link encap:Point-to-Point Protocol
inet addr:94.178.81.133 P-t-P:195.5.5.202 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:21595 errors:0 dropped:0 overruns:0 frame:0
TX packets:28109 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:14545511 (13.8 MiB) TX bytes:3790037 (3.6 MiB)
---------------------------------------------
* The following section contains information about kernel modules
* If the module for your Ethernet card is 'tulip', you might
* want to look for an updated version at http://www.scyld.com
Output of lsmod
Module Size Used by
ipt_MASQUERADE 6656 1
iptable_nat 9096 1
nf_nat 19480 2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4 17036 3 iptable_nat,nf_nat
nf_conntrack 55504 4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_filter 6784 1
ip_tables 14608 2 iptable_nat,iptable_filter
x_tables 16644 3 ipt_MASQUERADE,iptable_nat,ip_tables
bsd_comp 9344 0
ppp_synctty 10880 0
ppp_async 12416 2
crc_ccitt 5888 1 ppp_async
ppp_generic 26012 11 bsd_comp,ppp_synctty,ppp_async
slhc 9216 1 ppp_generic
8021q 23712 0
garp 11136 1 8021q
stp 6276 1 garp
snd_seq_dummy 6788 0
snd_seq_oss 33408 0
snd_seq_midi_event 10240 1 snd_seq_oss
snd_seq 50928 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 40480 0
snd_mixer_oss 17920 1 snd_pcm_oss
ipv6 241956 24
pcmcia 36524 0
pcmcia_core 35604 1 pcmcia
agpgart 32584 0
lp 13572 0
fuse 54684 1
snd_usb_audio 82016 0
snd_pcm 70788 2 snd_pcm_oss,snd_usb_audio
snd_timer 23176 2 snd_seq,snd_pcm
snd_page_alloc 11400 1 snd_pcm
snd_usb_lib 18688 1 snd_usb_audio
forcedeth 55952 0
skge 42384 0
snd_rawmidi 22688 1 snd_usb_lib
snd_seq_device 10380 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
i2c_nforce2 10244 0
k8temp 8192 0
snd_hwdep 10756 1 snd_usb_audio
snd 51748 10 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_usb_audio,snd_pcm,snd_timer,snd_rawmidi,snd_seq_device,snd_hwdep
soundcore 10080 1 snd
fan 8324 0
thermal 19484 0
ppdev 11268 0
button 10128 0
processor 36648 1 thermal
parport_pc 28196 1
psmouse 40592 0
serio_raw 9220 0
parport 34796 3 lp,ppdev,parport_pc
evdev 13088 3
thermal_sys 15144 3 fan,thermal,processor
hwmon 6300 2 k8temp,thermal_sys
sg 30516 0
---------------------------------------------
* The following section lists your routing table.
* If you have an entry which starts with '0.0.0.0', you probably
* have defined a default route and gateway, and pppd will
* not create a default route using your ISP. Try getting
* rid of this route.
Output of netstat -n -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
213.180.204.8 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1
195.5.46.19 192.168.241.2 255.255.255.255 UGH 0 0 0 eth1.11
74.125.77.104 192.168.242.2 255.255.255.255 UGH 0 0 0 eth1.12
81.19.70.3 192.168.244.2 255.255.255.255 UGH 0 0 0 eth1.14
195.5.5.202 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1
192.168.240.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.241.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1.11
192.168.242.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1.12
192.168.243.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1.13
192.168.244.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1.14
192.168.245.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1.15
192.168.246.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1.16
192.168.0.0 0.0.0.0 255.255.240.0 U 0 0 0 eth2
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
---------------------------------------------
Contents of /etc/resolv.conf
* The following section lists DNS setup.
* If you can browse by IP address, but not name, suspect
* a DNS problem.
nameserver 208.67.222.222
nameserver 192.168.240.11
---------------------------------------------
* The following section lists /etc/ppp/options.
* You should have NOTHING in that file.
Contents of /etc/ppp/options
# /etc/ppp/options
#
# $Id: options,v 1.4 1996/05/01 18:57:04 alvar Exp $
#
# Originally created by Jim Knoble <jmknoble@mercury.interpath.net>
# Modified for Debian by alvar Bray <alvar@meiko.co.uk>
# Modified for PPP Server setup by Christoph Lameter <clameter@debian.org>
# Modified for Slackware by Pat Volkerding <volkerdi@slackware.com>
#
# Use the command egrep -v '#|^ *$' /etc/ppp/options to quickly see what
# options are active in this file.
# Specify which DNS Servers the incoming Win95 or WinNT Connection should use
# Two Servers can be remotely configured
# dns-addr 192.168.1.1
# dns-addr 192.168.1.2
# Specify which WINS Servers the incoming connection Win95 or WinNT should use
# wins-addr 192.168.1.50
# wins-addr 192.168.1.51
# Run the executable or shell command specified after pppd has
# terminated the link. This script could, for example, issue commands
# to the modem to cause it to hang up if hardware modem control signals
# were not available.
#disconnect "chat -- \d+++\d\c OK ath0 OK"
# async character map -- 32-bit hex; each bit is a character
# that needs to be escaped for pppd to receive it. 0x00000001
# represents '\x01', and 0x80000000 represents '\x1f'.
asyncmap 0
# Require the peer to authenticate itself before allowing network
# packets to be sent or received.
# For a PPP Server with script based logins not using PAP or CHAP
# you need to disable this setting.
#auth
# Do not require the other end of the connection to authenticate itself.
# This option is dangerous if pppd is setuid.
# If you also have ethernet and are having problems getting PPP to connect
# over a modem, try this option.
#noauth
# Use hardware flow control (i.e. RTS/CTS) to control the flow of data
# on the serial port.
crtscts
# Use software flow control (i.e. XON/XOFF) to control the flow of data
# on the serial port.
#xonxoff
# Specifies that certain characters should be escaped on transmission
# (regardless of whether the peer requests them to be escaped with its
# async control character map). The characters to be escaped are
# specified as a list of hex numbers separated by commas. Note that
# almost any character can be specified for the escape option, unlike
# the asyncmap option which only allows control characters to be
# specified. The characters which may not be escaped are those with hex
# values 0x20 - 0x3f or 0x5e.
#escape 11,13,ff
# Don't use the modem control lines.
#local
# Specifies that pppd should use a UUCP-style lock on the serial device
# to ensure exclusive access to the device.
lock
# Use the modem control lines. On Ultrix, this option implies hardware
# flow control, as for the crtscts option. (This option is not fully
# implemented.)
modem
# Set the MRU [Maximum Receive Unit] value to <n> for negotiation. pppd
# will ask the peer to send packets of no more than <n> bytes. The
# minimum MRU value is 128. The default MRU value is 1500. A value of
# 296 is recommended for slow links (40 bytes for TCP/IP header + 256
# bytes of data).
#mru 542
# Set the interface netmask to <n>, a 32 bit netmask in "decimal dot"
# notation (e.g. 255.255.255.0).
#netmask 255.255.255.0
# Disables the default behaviour when no local IP address is specified,
# which is to determine (if possible) the local IP address from the
# hostname. With this option, the peer will have to supply the local IP
# address during IPCP negotiation (unless it specified explicitly on the
# command line or in an options file).
#noipdefault
# Enables the "passive" option in the LCP. With this option, pppd will
# attempt to initiate a connection; if no reply is received from the
# peer, pppd will then just wait passively for a valid LCP packet from
# the peer (instead of exiting, as it does without this option).
#passive
# With this option, pppd will not transmit LCP packets to initiate a
# connection until a valid LCP packet is received from the peer (as for
# the "passive" option with old versions of pppd).
#silent
# Don't request or allow negotiation of any options for LCP and IPCP
# (use default values).
#-all
# Disable Address/Control compression negotiation (use default, i.e.
# address/control field disabled).
#-ac
# Disable asyncmap negotiation (use the default asyncmap, i.e. escape
# all control characters).
#-am
# Don't fork to become a background process (otherwise pppd will do so
# if a serial device is specified).
#-detach
# Disable IP address negotiation (with this option, the remote IP
# address must be specified with an option on the command line or in an
# options file).
#-ip
# Disable magic number negotiation. With this option, pppd cannot
# detect a looped-back line.
#-mn
# Disable MRU [Maximum Receive Unit] negotiation (use default, i.e.
# 1500).
#-mru
# Disable protocol field compression negotiation (use default, i.e.
# protocol field compression disabled).
#-pc
# Require the peer to authenticate itself using PAP.
#+pap
# Don't agree to authenticate using PAP.
#-pap
# Require the peer to authenticate itself using CHAP [Cryptographic
# Handshake Authentication Protocol] authentication.
#+chap
# Don't agree to authenticate using CHAP.
#-chap
# Disable negotiation of Van Jacobson style IP header compression (use
# default, i.e. no compression).
#-vj
# Increase debugging level (same as -d). If this option is given, pppd
# will log the contents of all control packets sent or received in a
# readable form. The packets are logged through syslog with facility
# daemon and level debug. This information can be directed to a file by
# setting up /etc/syslog.conf appropriately (see syslog.conf(5)). (If
# pppd is compiled with extra debugging enabled, it will log messages
# using facility local2 instead of daemon).
#debug
# Append the domain name <d> to the local host name for authentication
# purposes. For example, if gethostname() returns the name porsche,
# but the fully qualified domain name is porsche.Quotron.COM, you would
# use the domain option to set the domain name to Quotron.COM.
#domain <d>
# Enable debugging code in the kernel-level PPP driver. The argument n
# is a number which is the sum of the following values: 1 to enable
# general debug messages, 2 to request that the contents of received
# packets be printed, and 4 to request that the contents of transmitted
# packets be printed.
#kdebug n
# Set the MTU [Maximum Transmit Unit] value to <n>. Unless the peer
# requests a smaller value via MRU negotiation, pppd will request that
# the kernel networking code send data packets of no more than n bytes
# through the PPP network interface.
#mtu <n>
# Enforce the use of the hostname as the name of the local system for
# authentication purposes (overrides the name option).
#usehostname
# Set the assumed name of the remote system for authentication purposes
# to <n>.
#remotename <n>
# Add an entry to this system's ARP [Address Resolution Protocol]
# table with the IP address of the peer and the Ethernet address of this
# system.
proxyarp
# Use the system password database for authenticating the peer using
# PAP. Note: mgetty already provides this option. If this is specified
# then dialin from users using a script under Linux to fire up ppp wont work.
# login
# If this option is given, pppd will send an LCP echo-request frame to
# the peer every n seconds. Under Linux, the echo-request is sent when
# no packets have been received from the peer for n seconds. Normally
# the peer should respond to the echo-request by sending an echo-reply.
# This option can be used with the lcp-echo-failure option to detect
# that the peer is no longer connected.
lcp-echo-interval 30
# If this option is given, pppd will presume the peer to be dead if n
# LCP echo-requests are sent without receiving a valid LCP echo-reply.
# If this happens, pppd will terminate the connection. Use of this
# option requires a non-zero value for the lcp-echo-interval parameter.
# This option can be used to enable pppd to terminate after the physical
# connection has been broken (e.g., the modem has hung up) in
# situations where no hardware modem control lines are available.
lcp-echo-failure 4
# Set the LCP restart interval (retransmission timeout) to <n> seconds
# (default 3).
#lcp-restart <n>
# Set the maximum number of LCP terminate-request transmissions to <n>
# (default 3).
#lcp-max-terminate <n>
# Set the maximum number of LCP configure-request transmissions to <n>
# (default 10).
#lcp-max-configure <n>
# Set the maximum number of LCP configure-NAKs returned before starting
# to send configure-Rejects instead to <n> (default 10).
#lcp-max-failure <n>
# Set the IPCP restart interval (retransmission timeout) to <n>
# seconds (default 3).
#ipcp-restart <n>
# Set the maximum number of IPCP terminate-request transmissions to <n>
# (default 3).
#ipcp-max-terminate <n>
# Set the maximum number of IPCP configure-request transmissions to <n>
# (default 10).
#ipcp-max-configure <n>
# Set the maximum number of IPCP configure-NAKs returned before starting
# to send configure-Rejects instead to <n> (default 10).
#ipcp-max-failure <n>
# Set the PAP restart interval (retransmission timeout) to <n> seconds
# (default 3).
#pap-restart <n>
# Set the maximum number of PAP authenticate-request transmissions to
# <n> (default 10).
#pap-max-authreq <n>
# Set the CHAP restart interval (retransmission timeout for
# challenges) to <n> seconds (default 3).
#chap-restart <n>
# Set the maximum number of CHAP challenge transmissions to <n>
# (default 10).
#chap-max-challenge
# If this option is given, pppd will rechallenge the peer every <n>
# seconds.
#chap-interval <n>
# With this option, pppd will accept the peer's idea of our local IP
# address, even if the local IP address was specified in an option.
#ipcp-accept-local
# With this option, pppd will accept the peer's idea of its (remote) IP
# address, even if the remote IP address was specified in an option.
#ipcp-accept-remote
---------------------------------------------
* The following section identifies your Ethernet interface
* and user name. Some ISP's need 'username'; others
* need 'username@isp.com'. Try both
ETH=eth1.13; USER=addnr147@dsl.ukrtel.net
---------------------------------------------
* The following section shows the pppd command we will invoke
pppd invocation
/usr/bin/setsid /usr/sbin/pppd pty '/usr/sbin/pppoe -p /var/run/eth1.13.pppoe.conf-pppoe.pid.pppoe -I eth1.13 -T 80 -U -m 1412 ' noipdefault noauth default-asyncmap hide-password nodetach usepeerdns mtu 1492 mru 1492 noaccomp nodeflate nopcomp novj novjccomp user addnr147@dsl.ukrtel.net lcp-echo-interval 20 lcp-echo-failure 3 debug
---------------------------------------------
using channel 2460
Using interface ppp2
Connect: ppp2 <--> /dev/pts/3
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xba9b7c6f>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xba9b7c6f>]
PADS: System-Error: No resources
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xba9b7c6f>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xba9b7c6f>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xba9b7c6f>]
PADS: System-Error: No resources
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xba9b7c6f>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xba9b7c6f>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xba9b7c6f>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xba9b7c6f>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xba9b7c6f>]
LCP: timeout sending Config-Requests
Connection terminated.
Modem hangup
Waiting for 1 child processes...
script /usr/sbin/pppoe -p /var/run/eth1.13.pppoe.conf-pppoe.pid.pppoe -I eth1.13 -T 80 -U -m 1412 -D /tmp/pppoe-debug-887/pppoe-debug.txt-0, pid 946
pppoe: Timeout waiting for PADS packets
Script /usr/sbin/pppoe -p /var/run/eth1.13.pppoe.conf-pppoe.pid.pppoe -I eth1.13 -T 80 -U -m 1412 -D /tmp/pppoe-debug-887/pppoe-debug.txt-0 finished (pid 946), status = 0x1
---------------------------------------------
* The following section is an extract from your log.
* Look for error messages from pppd, such as
* a lack of kernel support for PPP, authentication failure
* etc.