On 2014-09-26 18:52, Harald Dunkel wrote:
Hi folks,
I've setup a pppoe connection to my ISP (Deutsche Telekom),
following pppoe(4). Problem:
At boot time the connection is not setup immediately.
"ifconfig -A" shows just
re0: flags=28843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NOINET6> mtu
1500
lladdr 80:ee:73:95:c1:0c
priority: 0
media: Ethernet autoselect (100baseTX
full-duplex,rxpause,txpause)
status: active
pppoe0: flags=28851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST,NOINET6>
mtu 1492
priority: 0
dev: re0 state: PADR sent
sid: 0x0 PADI retries: 0 PADR retries: 1
sppp: phase establish authproto pap authname
"00150xxxxxxxxxxxxxxxxxxx#0...@t-online.de"
groups: pppoe extern egress
status: no carrier
inet 0.0.0.0 --> 0.0.0.1 netmask 0xffffffff
It takes 2 or 3 minutes till the connection is established.
I have seen very similar things on Soekris. Also hostname.pppoe0 seems
to be picky
about the syntax. Where you can just [enter] for normal ethernet
interfaces,
hostname.pppoe0 expects most commands on one line (or separated by '\'
[enter]) I
believe. But I haven't really looked in to this.