Sorry, I had overlooked your script. I understand now, it is executed when some 
event is fired by devfsadmd. Will take a deeper look at devfsadmd and those 
sysevents before I can do anything, but thanks for the tip.

-- Douglas

> This script just handle when usb device is inserted
> or removed. Maybe we
> should write some codes to replace pppd.
> 
> ?2006?12?01??00:38?Douglas Atique???
> > A pppd daemon? I imagine a scenario where I could
> hot-plug and hot-unplug the card several times during
> a session. Can pppd be started even if /dev/term/0
> doesn't exist (the card was not inserted yet)? And
> would it be smart enough to handle a card removal
> gracefully so as to disable the sppp0 interface until
> it detects the card insertion again? 
> > 
> > -- Douglas
> > 
> > > You can refer to the attachment to write a
> similiar
> > > script. But volmgt
> > > has been removed in the lastest snv, and must
> modify
> > > the related codes.
> > > 
> > > On Thu, 2006-11-30 at 00:07, Douglas Atique
> wrote:
> > > > Thanks for the pointer.
> > > > By the way, would you by any chance know how I
> can
> > > write a shell script that gets executed
> automatically
> > > on card insertion to make pppd call (enabling
> sppp0)
> > > and another one that gets executed on card
> removal to
> > > disable the sppp0 interface?
> > > > I would like it to connect automatically as
> soon as
> > > I insert the card and detect that the card was
> > > removed so that the network interface gets
> cleaned up
> > > properly. (That would be the WWAN analog of the
> > > /etc/hostname.xxx0 ethernet interface
> > > configuration...)
> > > > 
> > > > -- Douglas
> > > > 
> > > > > You can try acm driver by the following
> address:
> > > > > http://www.opensolaris.org/os/project/wwan
> > > >  
> > > > 
> > > > This message posted from opensolaris.org
> > > > _______________________________________________
> > > > laptop-discuss mailing list
> > > > laptop-discuss at opensolaris.org
> > > _______________________________________________
> > > laptop-discuss mailing list
> > > laptop-discuss at opensolaris.org
> >  
> > 
> > This message posted from opensolaris.org
> > _______________________________________________
> > laptop-discuss mailing list
> > laptop-discuss at opensolaris.org
> 
> _______________________________________________
> laptop-discuss mailing list
> laptop-discuss at opensolaris.org
>
 
 
This message posted from opensolaris.org

Reply via email to