HAL and PPP interfaces

Kay Sievers kay.sievers at vrfy.org
Wed Dec 8 11:35:49 PST 2004

On Wed, 2004-12-08 at 14:29 -0500, Joe Shaw wrote:
> On Wed, 2004-12-08 at 22:22 +0300, Andrei Yurkevich wrote:
> > Ok, you almost convinced me, but that would be not the PDA but a device 
> > in a PC - either a serial port or a bluetooth/usb/whatever device. See, 
> > I need to know that there is a PPP connection available before I am able 
> > to talk to a PDA, and the most logical way of knowing about a new PPP 
> > interface would be querying HAL.
> Ah, ok, this makes sense to me.
> > So what about adding a "net.ppp" namespace and merging properties like
> > these to devices capable of running a ppp link:
> >
> > net.ppp.link (bool) /* TRUE if there's a PPP link available
> >                         over this device */
> I would probably make the net.ppp namespace pretty transient and that
> way you wouldn't need the net.ppp.link property.  Either a device has
> the net.ppp capability (and thus has a link, etc.) or it doesn't.

Be aware that you can have multiple ppp interfaces over one underlying
interface, if you define that namespace.


hal mailing list
hal at lists.freedesktop.org

More information about the Hal mailing list