Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2006 12:24:46 +0200 (EET)
From:      "Artyom Viklenko" <artem@aws-net.org.ua>
To:        "Alexei" <root@sovetnik.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: mpd pppoe client problems
Message-ID:  <50521.217.12.197.82.1165919086.squirrel@sigma.interami.com>
In-Reply-To: <166800308.20061212122746@sovetnik.org>
References:  <166800308.20061212122746@sovetnik.org>

next in thread | previous in thread | raw e-mail | index | archive | help

<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@aws-net.org.ua | http://www.aws-net.org.ua/~artem
FreeBSD: The Power to Serve   -  http://www.freebsd.org





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50521.217.12.197.82.1165919086.squirrel>