issues connecting with ppp
Boris <[email protected]>
| Newsgroups | gmane.linux.leaf.user |
|---|---|
| Message-ID | <[email protected]> |
Hej LEAF-list,
first: Have all a good pre-Christmas-time and keep your health! Crazy
times.....
But what to do better during the isolation than hacking on a LEAF-box? ;-))
Once again I am stuck on a point and ask for help. This time it's about
an APU.4D4 box with LEAF 6.2.5 with which I can't establish a PPP
connection.
The situation is a bit special: The box is located far away, but I have
serial connection through a Raspberry with internet connection on site.
The line to which the box is to be attached is a fiber from a small,
local ISP (sewikom.de), who has already expressed extreme surprise that
a router recommended by him is not to be used. A Fritzbox 5490 runs
without complaint on the fiber (probably monomode).
To connect the fiber to the APU box, I asked the ISP for a media
converter and got a Mikrotik box CRS305-1G-4S with a SFP, which turns
out to be a full-blown router, quite a cool box apparently. It's
supposed to work as a media converter without any configuration and just
pass the ppp connection through.
So I configured LEAF as usual:
/etc/network/interfaces:
# option 1.3: PPP/PPPOE (modem connected to eth0)
auto ppp0
iface ppp0 inet ppp
pre-up ip link set eth0 up
provider dsl-provider eth0
/etc/ppp/peers/dsl-provider:
# MUST CHANGE: Uncomment the following line, replacing the [email protected]
# by the DSL user name given to your by your DSL provider.
# (There should be a matching entry in /etc/ppp/pap-secrets with the
password.)
name "1234567890#ispnet"
/etc/ppp/pap-secrets:
#papname * papsecret
1234567890#ispnet * G79jh66P4p
One thing that is noticeable about the dialup data (changed here of
course) is the # in the username. But this should not be a problem after
reading some documentation about the ppp module, because the fields are
separated by spaces.
I got this dialup data from the ISP with the hint that a possible field
'Service Name' must be left empty. But this seems preset in LEAF.
The dial-in does not work. In /var/log/ppp.log I get
Aug 22 17:45:33 forstgate2 pppd[5522]: Plugin /usr/lib/pppd/rp-pppoe.so
loaded.
Aug 22 17:45:33 forstgate2 pppd[5522]: RP-PPPoE plugin version 3.10
compiled against pppd 2.4.7
Aug 22 17:45:33 forstgate2 pppd[5524]: pppd 2.4.7 started by root, uid 0
Aug 22 17:45:38 forstgate2 pppd[5524]: PPP session is 1
Aug 22 17:45:38 forstgate2 pppd[5524]: Connected to 24:21:24:ec:4b:80
via interface eth0
Aug 22 17:45:38 forstgate2 pppd[5524]: Using interface ppp0
Aug 22 17:45:38 forstgate2 pppd[5524]: Connect: ppp0 <--> eth0
Aug 22 17:45:44 forstgate2 pppd[5524]: peer from calling number
24:21:24:EC:4B:80 authorized
Aug 22 17:45:44 forstgate2 pppd[5524]: LCP terminated by peer
Aug 22 17:45:44 forstgate2 pppd[5524]: modem hangup
Aug 22 17:45:44 forstgate2 pppd[5524]: Connection terminated.
To rule out the possibility that the Mikrotik box (the media converter)
is having a bad influence, I unplugged the fiber optic line. Then
ppp.log logged:
Aug 25 18:59:57 forstgate2 pppd[10244]: Timeout waiting for PADO packets
Aug 25 18:59:57 forstgate2 pppd[10244]: Unable to complete PPPoE Discovery
Aug 25 19:01:02 forstgate2 pppd[10244]: timeout waiting for PADO packets
Aug 25 19:01:02 forstgate2 pppd[10244]: Unable to complete PPPoE Discovery
It seems the media converter works well, because I can 'see' the unplug.
I think that "LCP terminated by peer" comes from the ISP. It does not
come to authorization at all. Does anyone have any other idea than
asking the ISP for support?
(I have adjusted the hwclock in the meantime).
Thanks and greetings,
Boris
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/