Mike Jagdis wrote:
> On Tue, 1 Jun 1999, Robert C. Paulsen, Jr. wrote:
>
> > > alias tap0 ethertap
> > > options tap0 -o tap0 unit=0
> >
> > Thanks. I figured most of this out already and it all seems to be
> > working, but I do not use the "options" line above. Do you know the
> > consequences of leaving this out?
>
> If you leave them out you can only have one ethertap interface.
> The -o <name> gives the loaded module <name> rather than the
> default of ethertap. This is necessary because you can only have
> one module with a given name loaded at once. The unit=<n> tells
> the ethertap code what interface to register - otherwise it
> always tries to register tap0. With the current ethertap code
> you can have 16 tap<n> interfaces but each interface requires
> a separate ethertap module to be loaded. Yes, someone should
> fix this sometime.
Right...finally the light dawns. Now I see - the module creates its own tap0
interface. Now I've removed that hand-entered /dev/tap0 I did, I no longer see
any diald errors like 'start tap0: SIOCADDRT: File exists' in the log. I'm
afraid I've encouraged others to do roll their own /dev/tap0 and enter this
options line too- a result of me reading almost enough documentation but not
quite enough.
Summary: there appears to be no need to have a /dev/tap0 file unless you want
other programs to access that interface for your own purposes, and there's no
need for an options line unless you have more than one dial-out line.
Mike, if you need to have a permanent /dev/tap0 is there any way to suppress
that error in diald?
> > I looked at /usr/src/linux/Documentation/networking/ethertap.txt and
> > /usr/src/linux/drivers/net/ethertap.c but couldn't find any reference to
> > those options. Is there more documentation somewhere?
>
> Only the definitive reference, i.e. the source. And now diald :-).
>
> Mike
>
> --
> .----------------------------------------------------------------------.
> | Mike Jagdis | Internet: [EMAIL PROTECTED] |
> | 280, Silverdale Road, Earley, | Voice: +44 118 926 6996 |
> | Reading RG6 7NU ENGLAND | Work: +44 118 989 0403 |
> `----------------------------------------------------------------------'
--
[EMAIL PROTECTED] Ralph Clark, Virgo Solutions Ltd (UK)
__ _
/ / (_)__ __ ____ __ * Powerful * Flexible * Compatible * Reliable *
/ /__/ / _ \/ // /\ \/ / *Well Supported * Thousands of New Users Every Day*
/____/_/_//_/\_,_/ /_/\_\ The Cost Effective Choice - Linux Means Business!
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]