[CentOS] Centos 6 and VLAN-ID7 for vDSL (Telekom)

Mon Feb 11 22:51:14 UTC 2013
Michael Nausch <michael at nausch.org>

AHOI!

I've big trouble by setting up CentOS 6.3 for my new vDSL.

As I've found out, the German Telekom is using VLAN7 for her
internet-(data) connections. => http://workaround.org/blog/vdsl

O.K. what I've done:

The NIC where's my DSL-modem is connectet is eth0.

cat /etc/sysconfig/network-scripts/ifcfg-eth0

# device for vDSL-modem
DEVICE=eth0
HWADDR=00:30:1B:14:08:67
ONBOOT=yes
HOTPLUG=no
TYPE=Ethernet
IPV6INIT=no
IPV6-AUTOCONF=no

cat /etc/sysconfig/network-scripts/ifcfg-eth0

# VLAN7 device for vDSL
DEVICE=eth0.7
ONBOOT=yes
HOTPLUG=no
TYPE=Ethernet
VLAN=yes

with pppoe-setup I've generated /etc/sysconfig/network-scripts/ifcfg-ppp0

cat /etc/sysconfig/network-scripts/ifcfg-ppp0

# generated with pppoe-setup
USERCTL=yes
BOOTPROTO=dialup
NAME=DSLppp0
DEVICE=ppp0
TYPE=xDSL
ONBOOT=yes
PIDFILE=/var/run/pppoe-adsl.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
DEFROUTE=yes
SYNCHRONOUS=no
ETH=eth0.7
PROVIDER=DSLppp0
USER=feste-ip/<benutzerkennung>@t-online-com.de
PEERDNS=no
DEMAND=no

/etc/ppp/chap-secret an /etc/ppp/pap_secret hast follewing content:

# Secrets for authentication using PAP/CAHP
# client server secret IP addresses
"feste-ip/-benutzerkennung at t-online-com.de" * "<PASSWORD>"


cat /rpc/betvlan/eth0.7 is showing:
eth0.7 VID: 7 REORDER_HDR: 1 dev->priv_flags: 1
total frames received 0
total bytes received 0
Broadcast/Multicast Rcvd 0

total frames transmitted 6
total bytes transmitted 192
total headroom inc 0
total encap on xmit 0
Device: eth0
INGRESS priority mappings: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
EGRESS priority mappings:

If I try to start my internet-connection with:
ifup ppp0
After a while I can read at command line:
/usr/sbin/adsl-start: line 217: 7297 Terminated $CONNECT "$@" >
/dev/null 2>&1

Syslog reports:

Feb 11 22:37:40 pml010050 pppd[7321]: pppd 2.4.5 started by django, uid 0
Feb 11 22:37:40 pml010050 pppd[7321]: Using interface ppp0
Feb 11 22:37:40 pml010050 pppd[7321]: connect: ppp0 <--> /dev/pts2
Feb 11 22:38:11 pml010050 pppd[7321]: LCP: timeout sending Config-Request
Feb 11 22:38:11 pml010050 pppd[7321]: Connection terminated.
Feb 11 22:38:11 pml010050 pppd[7321]: Modem hangup
Feb 11 22:38:15 pml010050 pppd[7325]: Timeout waiting for PADO packets
Feb 11 22:38:15 pml010050 pppd[7321]: Exit.
Feb 11 22:38:15 pml010050 pppoe-connect: PPPoE connection lost;
attempting re-connection
Feb 11 22:38:20 pml010050 pppd[7391]: pppd 2.4.5 started by django, uid 0
Feb 11 22:38:20 pml010050 pppd[7391]: Using interface ppp0
Feb 11 22:38:20 pml010050 pppd[7391]: connect: ppp0 <--> /dev/pts2
Feb 11 22:38:51 pml010050 pppd[7391]: LCP: timeout sending Config-Request
Feb 11 22:38:51 pml010050 pppd[7391]: Connection terminated.
Feb 11 22:38:51 pml010050 pppd[7391]: Modem hangup
Feb 11 22:38:55 pml010050 pppd[7395]: Timeout waiting for PADO packets
Feb 11 22:38:55 pml010050 pppd[7391]: Exit.

So, where's the BUG?

Thanx 4 help!


Django