Mailinglist Archive: opensuse (3378 mails)

< Previous Next >
Re: [SLE] Setting permanent pppoe on 7.3 (very large)
  • From: Pep Serrano <pep@xxxxxxxxxxx>
  • Date: Thu, 11 Apr 2002 16:27:16 +0200
  • Message-id: <20020411142716.6A0761E46C@xxxxxxxxxxxxxx>
Hello PR,
First of all thanks for your answer.
Second, sorry list, I tried to explain better my problem and this is a very
large message (no more space in your disks :-?).

But this is not what I am looking for. I even do not have kinternet or X at
all in this box... It is just a inet gateway suposed to work unattended.

So, what I want is something that starts pppoed at boot time (as it used to
be with rcpppoed in 7.2) and something that reconnects everytime the
connections drops. All together makes a permanent unattended ADSL connection.
It worked fine with 7.2, but now there is no longer rcpppoed and 7.3 comes
with smpppd.

I tried to configure the following options...

/etc/smpppd.conf
provider = "adsl"
start-on-start = always
stop-on-disconnect = always

/etc/rc.dialout
ADSL_NAME_0="adsl"
ADSL_DEVICE_0="eth0"

/etc/pppoed.conf
interface = "eth0"
user = "xxxxx"
password = "xxxxx"
demand = "no"
idle = "no"

/etc/ppp/options
lcp-echo-interval 30
lcp-echo-failure 4

/etc/ppp/peers/pppoed
persist
holdoff 10

It works fine... I mean it connects at boot time (sometimes) and it
reconnects when it gets disconnetion. Still it is not clear to me yet how do
work all this config files together...
However, if I reboot my box when is already connected, next time it will
start rcsmpppd and the pppd at boot time but will not bring up the connection
(ppp0). After one hour or so... then it gets reconnected.

Here are the important messages in the syslog (is large sorry):

Apr 11 14:21:26 gregg syslogd 1.4.1: restart. (start booting my box)(...)Apr
11 14:21:35 gregg smpppd[1095]: smpppd version 0.49 started
Apr 11 14:21:35 gregg kernel: NETDEV WATCHDOG: eth1: transmit timed out
Apr 11 14:21:35 gregg kernel: eth1: Tx timed out, cable problem? TSR=0x16,
ISR=0x0, t=25.(...)Apr 11 14:21:35 gregg pppd[1106]: Plugin pppoe.so loaded.
Apr 11 14:21:35 gregg pppd[1106]: PPPoE Plugin Initialized
Apr 11 14:21:35 gregg pppd[1106]: Plugin passwordfd.so loaded.
Apr 11 14:21:35 gregg pppd[1106]: pppd 2.4.1 started by root, uid 0(...)Apr
11 14:21:36 gregg pppd[1106]: Sending PADI(...)Apr 11 14:21:36 gregg
pppd[1106]: HOST_UNIQ successful match(...)Apr 11 14:21:39 gregg kernel:
NETDEV WATCHDOG: eth1: transmit timed out
Apr 11 14:21:39 gregg kernel: eth1: Tx timed out, cable problem? TSR=0x16,
ISR=0x0, t=23.(...)Apr 11 14:21:48 gregg kernel: Switching off penguin.
Apr 11 14:27:19 gregg kernel: NETDEV WATCHDOG: eth1: transmit timed out
Apr 11 14:27:19 gregg kernel: eth1: Tx timed out, cable problem? TSR=0x16,
ISR=0x0, t=28.Apr 11 14:41:26 gregg -- MARK --
Apr 11 14:49:29 gregg kernel: NETDEV WATCHDOG: eth1: transmit timed out
Apr 11 14:49:29 gregg kernel: eth1: Tx timed out, cable problem? TSR=0x16,
ISR=0x0, t=30.
Apr 11 14:55:42 gregg pppd[1106]: Connecting PPPoE socket: 00:00:00:00:00:00
0000  0x80870c0
Apr 11 14:55:42 gregg pppd[1106]: Couldn't get channel number: Transport
endpoint is not connected
Apr 11 14:55:42 gregg pppd[1106]: Doing disconnect
Apr 11 14:55:52 gregg pppd[1106]: Sending PADI
Apr 11 14:55:52 gregg pppd[1106]: HOST_UNIQ successful match
Apr 11 14:55:52 gregg pppd[1106]: HOST_UNIQ successful match
Apr 11 14:55:52 gregg pppd[1106]: Got connection: 39d
Apr 11 14:55:52 gregg pppd[1106]: Connecting PPPoE socket: 00:10:67:00:f8:8d
9d03 eth0 0x80870c0Apr 11 14:55:52 gregg pppd[1106]: using channel 1
Apr 11 14:55:52 gregg pppd[1106]: Using interface ppp0
Apr 11 14:55:52 gregg pppd[1106]: Connect: ppp0 <--> eth0(...)Apr 11 14:55:53
gregg pppd[1106]: Remote message: CHAP authentication success, unit
2083(...)Apr 11 14:55:54 gregg pppd[1106]: local  IP address 193.253.252.225
Apr 11 14:55:54 gregg pppd[1106]: remote IP address 193.253.252.1
Apr 11 14:55:54 gregg pppd[1106]: Script /etc/ppp/ip-up started (pid 1898)


On Thursday 11 April 2002 14:11, PR wrote:
>
> shouldn't you do a setup in adsl in yast network basic, then put
> idle-time on: 99999999
> now use kinternet
> piet

By the way, idle-time to zero disables disconnection at all.

Pep Serrano.

< Previous Next >
References