[openbeosnetteam] Re: How to do PPP?

> The basic problem I have is how do we configure the interface? How do 
we
> control it?

if it's an interface like today ethernet module offer, simply by 
ifconfig.

> I don't want to simply create a set of ppp entries at startup. I'd 
like to
> be able to add/remove them as required. So if I ask for a pppoe 
interface I
> get one. But of course I need to specify a username, password and 
possibly
> also a service name to use, so how do we control the devices from the
> kernel?

What about plain text file in specific place?
I mean driver_settings.h here.

Some userland tool (GUI and/or command line) could supply user a way to 
edit it 
in a friendly way. OBOS DUN could, for example.

> bpf = berkely packet filter

Oh, ok.
 
> Essentially it's a raw data interface and is used by the likes of 
tcpdump to
> get at the packets. I don't really want to use it as it seems a 
"klunky" way
> of doing pppoe, but may prove to be the only way :(

Let's try to find a better way before... ;-)

-Philippe

--
Fortune Cookie Says:

We gave you an atomic bomb, what do you want, mermaids?
                -- I. I. Rabi to the Atomic Energy Commission


Other related posts: