mpd pppoe client problems

Artyom Viklenko artem at aws-net.org.ua
Tue Dec 12 02:24:57 PST 2006


<quote who="Alexei">
> Hello world.
>
> My  provider  give me access to the net via pppoe, so I decided to use
> mpd  as a client. I've compiled into the kernel some netgraph modules,
> edited  a  little  default  mpd  config  and  started  it  via  rc.d.
> Everything  looked  ok,  connection  established, but no packets walked
> throw interface. When I tried to stop mpd, it didn't. It looked like
> 'Waiting for pids: 1234, 1234, 1234, 1234' ets.. So I had to use kill
> -9 and ngctl shutdown to stop mpd.
> What should I do to make mpd work fine?
>
> # mpd.conf
>
> default:
>         load maryno
>
>
> maryno:
>         new -i ng0 PPPoE PPPoE
>         set iface route default
>         set iface up-script "/usr/local/etc/mpd/inet-up.sh"
>         set iface disable on-demand
>         set iface idle 0
>         set bundle disable multilink
>         set bundle authname my-corrext-login
>         set bundle password my-cool-pass
>         set link no acfcomp protocomp
>         set link disable pap chap
>         set link accept chap
>         set link mtu 1498
         ^^^^^^^^^^^^^^^^^^^^^^^^^
first, check this

>         set link keep-alive 10 60
>         set ipcp yes vjcomp
>         set ipcp ranges 0.0.0.0/0 0.0.0.0/0
>         open
>

also check your firewall.


-- 
           Sincerely yours,
                            Artyom Viklenko.
-------------------------------------------------------
artem at aws-net.org.ua | http://www.aws-net.org.ua/~artem
FreeBSD: The Power to Serve   -  http://www.freebsd.org




More information about the freebsd-net mailing list