Re: ppp support



On Mon, Mar 3, 2008 at 12:18 PM, Vitja Makarov <vitja makarov gmail com> wrote:
>  I see it in the tree but I don't see it works, correct me if i'm wrong.

It works for GSM and CDMA.

>  nm-ppp-manager works mainly on serial ppp links as I see.

Yes, it currently works only for serial devices, but that doesn't mean
it can't work for other ppp connections. If there's something wrong
with the current implementation, let's fix it, instead of writing new
program and trying to integrate it with NM. The current ppp manager in
NM is just enough we needed to get GSM and CDMA working. DSL support
is very high on my list of things to add. Feel free to suggest what
should be done differently to satisfy your needs with it.

>  We should think more abstractly on PPP. NMPPPManager class should
>  handle and track any kind of PPP not only modem links, all phy-link
>  specific stuff should moved away from it, it should just take care
>  about pppd. So all functionality should be implemented in subclasses:
>  which options to be supplied, are they correct, create serial
>  link(bluetooth, br2684) and so on.

I agree. Is there anything in the NM's ppp-manager that doesn't allow
it to be used with other device types than serial?

>  I see the setting class. I think PPPObject should own them, how do you
>  like such kind of subclassing br2684->pppoe->pppd. br one shares
>  options with pppoe.

I don't know what a br2684 is, but a subclass for pppoe sounds good to
me. Again, just because we don't have support for something right now
doesn't mean we don't want it.

>  please take a look at my sources to understand what I mean, just want
>  to keep it simple,
>  some examples of how it works, small tool called 'tool' passes options
>  to the service:
>
>  python ./tool.py type pppoe device eth1 user foo password bar
>  python ./tool.py type gprs device rfcomm://xx:xx:xx:xx:xx:xx user
>  beeline password beeline gprs-context 1 gprs-packet-type ip gprs-apn
>  internet.beeline.ru
>  python tool.py type pptp  pptp-server vpn.promira.net  user no1sm
>  password XXXXXX route-replace '10.0.0.0/8 89.106.32.0/20
>  212.1.224.0/20'

Why couldn't that work through NM? Create a new connection in NM's
connection editor, it'll show up as a submenu for appropriate devices
and clicking on it would activate it.

>  excuse me for my poor english.
>  say me that I'm wrong, I just wanna to see that kind of ... working
>  under GNU/Linux system,
>  so my friends can set it up them selfs, as easy as it possible.

I'd say this is one of the goals of NM project as well. :)

Tambet


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]