Re: ppp support



On Mon, 2008-03-03 at 21:18 +0300, Vitja Makarov wrote:
> >
> > I don't really understand the need of this project at all. NM already
> >  contains a class for that, it even has the exact same name as your
> >  project. Why not just improve that? That should take care of
> >  collaboration and there won't be a need for merging.
> >
> 
> I see it in the tree but I don't see it works, correct me if i'm wrong.
> 
> nm-ppp-manager works mainly on serial ppp links as I see.
> 
> 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 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.
> 
> 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'
> 
> 
> 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.
> 
> ps: did you see maemo, it have nice profile manager for GPRS settings
> was always dreaming about such thing, you just select kind of ppp,
> physical device, isp and in some cases user/password pair, and here
> you are on.

That's essentially what we will have, all the underlying bits are in
place but we need to finish the connection editor UI for it.  One thing
we don't have is the ISP database; might be nice if the Maemo folks have
opened that up if we could use it too, otherwise we might have to create
something ourselves.

Dan




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