MastaG n00b
Joined: 30 Sep 2013 Posts: 1
|
Posted: Mon Sep 30, 2013 12:51 am Post subject: pppoe over vlan fails to boot |
|
|
Hi there,
I'm having a hard time getting my PPPoE connection to start at boot-time.
I think its because it runs on a vlan-tagged interface.
My /etc/conf.d/net
Code: | config_eth0="null"
config_eth0_4="null"
config_eth0_6="null"
config_eth2_4="null"
config_eth2_7="null"
config_eth0_7="null"
config_eth1="null"
config_eth2="null"
config_wlan0="null"
config_ppp0="ppp"
link_ppp0="eth0.6"
plugins_ppp0="pppoe"
username_ppp0='xxx'
password_ppp0='xxx'
pppd_ppp0="
noauth
defaultroute
usepeerdns
persist
noipdefault
updetach
"
bridge_br0="eth1"
brctl_br0="stp off"
config_br0="192.168.1.1 netmask 255.255.255.0 broadcast 255.255.255.0"
modules_wlan0="!iwconfig !wpa_supplicant"
depend_br0() {
need net.wlan0
}
depend_eth0_6() {
need net.eth0
}
depend_ppp0() {
need net.eth0_6
} |
rc-update:
Code: | net.br0 | boot
net.eth0 | boot
net.eth0.6 | boot
net.eth1 | boot
net.eth2 | boot
net.lo | boot
net.ppp0 | boot
net.wlan0 | boot |
When it boot, it sets the vlans and also the internal bridge, however no ppp0 :'(
Code: | * Activating swap devices ...
[ ok ]
* Mounting local filesystems ...
[ ok ]
* Configuring kernel parameters ...
[ ok ]
* Creating user login records ...
[ ok ]
* Cleaning /var/run ...
[ ok ]
* Wiping /tmp directory ...
[ ok ]
* Setting hostname to alix ...
[ ok ]
* Setting terminal encoding [UTF-8] ...
[ ok ]
* Setting keyboard mode [UTF-8] ...
[ ok ]
* Loading key mappings [us] ...
[ ok ]
* Bringing up interface lo
* 127.0.0.1/8 ...
[ ok ]
* Adding routes
* 127.0.0.0/8 via 127.0.0.1 ...
[ ok ]
* Bringing up interface wlan0
[ ok ]
* Bringing up interface br0
* Creating bridge br0 ...
* Adding ports to br0
* eth1 ...
[ ok ]
* 192.168.1.1 ...
[ ok ]
* Waiting for IPv6 addresses ...
[ ok ]
* Bringing up interface eth0
[ ok ]
* Waiting for IPv6 addresses ...
[ ok ]
* Adding VLAN 4 to eth0
* Bringing up interface eth0.4
[ ok ]
* Waiting for IPv6 addresses ...
[ ok ]
* Adding VLAN 6 to eth0
* Bringing up interface eth0.6
[ ok ]
* Waiting for IPv6 addresses ...
[ ok ]
* Adding VLAN 7 to eth0
* Bringing up interface eth0.7
[ ok ]
* Waiting for IPv6 addresses ...
[ ok ]
* Bringing up interface eth1
[ ok ]
* Bringing up interface eth2
[ ok ]
* Adding VLAN 4 to eth2
* Bringing up interface eth2.4
[ ok ]
* Adding VLAN 7 to eth2
* Bringing up interface eth2.7
[ ok ]
* Mounting misc binary format filesystem ...
[ ok ]
* Loading custom binary format handlers ...
[ ok ]
* Activating additional swap space ...
[ ok ]
* setting up tmpfiles.d entries ...
[ ok ]
* Initializing random number generator ...
[ ok ]
INIT: Entering runlevel: 3
* Loading iptables state and starting firewall ... |
When I start it manually it runs fine:
Code: | /etc/init.d/net.ppp0 -v start
* Bringing up interface ppp0
* Skipping module br2684ctl due to missing program: br2684ctl
* Skipping module clip due to missing program: /usr/sbin/atmsigd
* Skipping module ethtool due to missing program: ethtool
* Skipping module netplugd due to missing program: /sbin/netplugd
* Skipping module ifplugd due to missing program: /usr/sbin/ifplugd
* Skipping module ipppd due to missing program: /usr/sbin/ipppd
* Skipping module firewalld due to missing program: firewall-cmd
* Skipping module pump due to missing program: /sbin/pump
* Skipping module dhcpcd due to missing program: dhcpcd
* Loaded modules: adsl apipa arping bonding tuntap bridge ccwgroup macvlan macchanger macnet wpa_supplicant ssidnet iproute2 pppd system vlan udhcpc ip6rd ip6to4
* Starting pppd in ppp0 ... [ ok ]
* received address 77.x.x.x
* WARNING: net.ppp0 has started, but is inactive |
Oh and /etc/rc.conf has:
Code: | rc_depend_strict="NO" |
Any ideas? |
|