B
B
BloodVIRUS2014-11-30 19:45:37
Debian
BloodVIRUS, 2014-11-30 19:45:37

How to raise l2tp on debian?

Hello. I'm at war with my home server. I'm trying to raise l2tp for beeline (Yekaterinburg). And so, what I do and what happens:
xl2tpd was selected
Content /etc/xl2tpd/xl2tpd.conf

[global]
access control = yes

[lac beeline]
lns = l2tp.corbina.net
redial = yes
redial timeout = 1
require chap = yes
require authentication = no
name = 0896****** - мой логин
ppp debug = yes
pppoptfile = /etc/ppp/options.xl2tpd
require pap = no
autodial = yes

Contents of /etc/ppp/options.xl2tpd.conf
name = 0896****** - мой логин
remotename l2tp
ipparam corbina
connect /bin/true
nodeflate
nobsdcomp
persist
maxfail 0
nopcomp
noaccomp
defaultroute

Contents of /etc/ppp/chap-secrets
"0896******" * "PASWORD"
Further /etc/init.d/xl2tpd start and.. Nothing.
It hangs in the processes, but there is absolute silence in the logs. Please help me, what am I doing wrong..
Important nuances:
There are 3 network cards on the server, and all are involved. But I turned off all interfaces, except for eth2, where the beeline - no reaction.
eth1 - to the router so that you can download some kind of
ech0 package - dom.ru that works via PPPoE. During the rise of l2tp, the connection to the house was poff + pulled out the cable from the network.
The content of ifconfig with all interfaces running + PPPoE
eth0      Link encap:Ethernet  HWaddr b0:48:7a:82:87:94
          inet addr:10.143.79.9  Bcast:255.255.255.255  Mask:255.255.255.0
          inet6 addr: fe80::b248:7aff:fe82:8794/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:155 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:10218 (9.9 KiB)  TX bytes:1836 (1.7 KiB)
          Interrupt:24 Base address:0xbc00

eth1      Link encap:Ethernet  HWaddr 00:0c:6e:1b:fe:43
          inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:6eff:fe1b:fe43/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2582 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2767 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:244122 (238.4 KiB)  TX bytes:1257656 (1.1 MiB)

eth2      Link encap:Ethernet  HWaddr 00:08:a1:18:8f:9e
          inet6 addr: fe80::208:a1ff:fe18:8f9e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:649 errors:0 dropped:0 overruns:0 frame:0
          TX packets:624 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:49505 (48.3 KiB)  TX bytes:35399 (34.5 KiB)
          Interrupt:21 Base address:0xa800

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:10.43.33.95  P-t-P:10.84.255.126  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:43 errors:0 dropped:0 overruns:0 frame:0
          TX packets:63 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:4129 (4.0 KiB)  TX bytes:9954 (9.7 KiB)

Contents of /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback


# The primary network interface


auto eth1
iface eth1 inet dhcp

auto eth0
iface eth0 inet dhcp

auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth2 up # line maintained by pppoeconf
provider dsl-provider

iface eth2 inet manual

Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2014-12-03
@t3mp

You do not have IP addresses on eth2, when using L2TP, the connection to the server will not be established.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question