You can write script and make it to run with click

create any text file: for example getinternet.sh
and type there following lines:

#! /bin/sh
/etc/init.d/hal stop
/etc/init.d/hal start
wvdial

save script, make it executable and copy it in /etc/init.d/

create starter on your desktop or gnome bar and in "run command" field 
put gksu /etc/init.d/getinternet.sh

 newbie wrote:
>
> 2. is there any simple way to use and get connected to internet juz by
> clicking on an icon? i hv bandluxe c120 usb broadband.. recently i hv
> to run "sudo /etc/init.d/hal stop" plug in the device then
> "wvdialconf" then "sudo wvdial" .. i hv to run wvdialconf without sudo
> coz if i do it with sudo, it will change config to the wvdial.conf
> with 9000bps..
>
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ubuntu Linux" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubuntulinux?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to