On Dec 30, 2007 10:04 PM, Peter Rundle <[EMAIL PROTECTED]> wrote: > Sluggers, > > I've got a Telstra Next G card working under Linux Mint 4.0 (ubuntu > gutsy) and I'm looking to tidy up (read de-geekafy) the steps needed to > connect it. > > Firstly I need to load the usbserial.ko module which I do with; > > insmod > /lib/modules/2.6.22-14-generic/kernel/drivers/usb/serial/usbserial.ko > vendor=0x19d2 product=0x0001 > > Where should this go under Ubuntu? I found /etc/modprobe.d but my first > attempt to create a nextG file in there didn't work and I'm still > loading the module by hand. > > Secondly, to connect I use Kppp to "dial" the connection. This works > fine except that in order to set the default route to the PPP0 interface > I need to be "root". Thus I fire up kppp using sudo in a terminal > window. This prompts for my password and works ok but I'm wanting to > give this laptop to an ex-windows user who is used to connecting to Next > G without having to enter their password in a terminal window. Ideas? >
edit /etc/sudoers create a line along the lines of: username all=NOPASSWD: /bin/kppp This will allow "username" to run the command "/bin/kppp" as root without needing to enter a password. You could then put the insmod and the kppp into a single script, which would run without needing a password. Discovering whether or not this is needed, whether or not it's a good idea, and whether or not there are better ways to accomplish this are left as exercises for the reader. > Thanks > > > > P. > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > -- There is nothing more worthy of contempt than a man who quotes himself - Zhasper, 2004 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
