connecting to adsl

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

connecting to adsl

mediomen27
Hi,
I am trying to connect to adsl, but I have the following problems:

Sep  3 12:06:34 myhost /bsd: pppoe0: received unexpected PADO
Sep  3 12:07:31 myhost /bsd: pppoe0: received unexpected PADO
Sep  3 12:08:28 myhost /bsd: pppoe0: host unique tag found, but it
belongs to a connection in state 3
Sep  3 12:08:28 myhost /bsd: pppoe: received PADO but could not find
request for it
Sep  3 12:09:25 myhost /bsd: pppoe0: host unique tag found, but it
belongs to a connection in state 3
Sep  3 12:09:25 myhost /bsd: pppoe: received PADO but could not find
request for it

those are my configuratin files:
# cat /mnt/hostname.em0
up
# cat /mnt/hostname.pppoe0
inet 0.0.0.0 255.255.255.255 NONE \
pppoedev em0 authproto pap \
authname 'myusername' authkey 'mypassword' up
dest 0.0.0.1
!/sbin/route add default -ifp pppoe0 0.0.0.1

and my ifconfig output:

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
        index 3 priority 0 llprio 3
        groups: lo
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:23:24:0b:0c:27
        index 1 priority 0 llprio 3
        media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
        status: active
enc0: flags=0<>
        index 2 priority 0 llprio 3
        groups: enc
        status: active
pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
        index 4 priority 0 llprio 3
        dev: em0 state: session
        sid: 0xf6da PADI retries: 3 PADR retries: 0 time: 00:00:33
        sppp: phase terminate authproto pap authname "myusername"
        groups: pppoe egress
        status: no carrier
        inet 0.0.0.0 --> 0.0.0.1 netmask 0xffffffff

Thanks for help!
Reply | Threaded
Open this post in threaded view
|

Re: connecting to adsl

Stuart Henderson
On 2018-09-03, Frank White <[hidden email]> wrote:

> Hi,
> I am trying to connect to adsl, but I have the following problems:
>
> Sep  3 12:06:34 myhost /bsd: pppoe0: received unexpected PADO
> Sep  3 12:07:31 myhost /bsd: pppoe0: received unexpected PADO
> Sep  3 12:08:28 myhost /bsd: pppoe0: host unique tag found, but it
> belongs to a connection in state 3
> Sep  3 12:08:28 myhost /bsd: pppoe: received PADO but could not find
> request for it
> Sep  3 12:09:25 myhost /bsd: pppoe0: host unique tag found, but it
> belongs to a connection in state 3
> Sep  3 12:09:25 myhost /bsd: pppoe: received PADO but could not find
> request for it
>
> those are my configuratin files:
> # cat /mnt/hostname.em0
> up
> # cat /mnt/hostname.pppoe0
> inet 0.0.0.0 255.255.255.255 NONE \
> pppoedev em0 authproto pap \
> authname 'myusername' authkey 'mypassword' up
> dest 0.0.0.1
> !/sbin/route add default -ifp pppoe0 0.0.0.1
>
> and my ifconfig output:
>
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
>         index 3 priority 0 llprio 3
>         groups: lo
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
>         inet 127.0.0.1 netmask 0xff000000
> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         lladdr 00:23:24:0b:0c:27
>         index 1 priority 0 llprio 3
>         media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
>         status: active
> enc0: flags=0<>
>         index 2 priority 0 llprio 3
>         groups: enc
>         status: active
> pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
>         index 4 priority 0 llprio 3
>         dev: em0 state: session
>         sid: 0xf6da PADI retries: 3 PADR retries: 0 time: 00:00:33
>         sppp: phase terminate authproto pap authname "myusername"
>         groups: pppoe egress
>         status: no carrier
>         inet 0.0.0.0 --> 0.0.0.1 netmask 0xffffffff
>
> Thanks for help!
>

You might find something useful in "tcpdump -niem0 -vvs1500" while it's trying
to connect, or in syslog / dmesg if you set "ifconfig pppoe0 debug".