[Internet] pulsante per ADSL come si fa????
Inviato: giovedì 27 dicembre 2007, 19:39
Ciao a tutti sono un nuovissimo utente di Ubuntu 7.10...
ho appena installato il mio modem adsl usb....
e finalmente funziona!!!
Solo che la guida che ho seguito mi dice che posso lanciare la connessione (come ho fatto ora) con e chiuderla con oppure
Restarting With A Button
You may want to have an easy way of launching the connection after the system has already started, for instance if you did not have the modem plugged in during boot or if the connection fails (you will usually have to unplug the modem and plug it back in after the connection fails anyway), so to do this we can make another little script and add a menu entry or button to run it. Make the script with the following command:
gkgksudo gedit /usr/local/bin/reconnect-script
Enter into this script the following (assuming you have added it to bootup following the instructions above):
#!/bin/bash
gksudo /etc/init.d/modem-startup start
exit 0
Now save the file and exit the editor, make the file executable with:
sudo chmod 755 /usr/local/bin/reconnect-script
Now you can add an entry into your menu using the Alacarte Menu Editor (in Application>Accessories). For your menu entry you should set the command: box to say reconnect-script, then set the other parameters to whatever you like. If you want a button to do this then you can make the entry in Alacarte, drag it out of the menu onto the panel or desktop, then disable the menu entry in Alacarte. Remember to un/replug your modem before running the script though.
Ora il mio inglese fa un po' schifo ma io ho capito che posso creare un bottone per connettermi con un clic... sono arrivato fino a... Now you can add an entry into your....
ora mi perdo e non capisco più.... Alacarte Menu Editor (in Application>Accessories io non ce l'ho!!!
qualcuno mi sa aiutare???
ciao
ho appena installato il mio modem adsl usb....
e finalmente funziona!!!
Solo che la guida che ho seguito mi dice che posso lanciare la connessione (come ho fatto ora) con
Codice: Seleziona tutto
pon ueagle-atmCodice: Seleziona tutto
poffRestarting With A Button
You may want to have an easy way of launching the connection after the system has already started, for instance if you did not have the modem plugged in during boot or if the connection fails (you will usually have to unplug the modem and plug it back in after the connection fails anyway), so to do this we can make another little script and add a menu entry or button to run it. Make the script with the following command:
gkgksudo gedit /usr/local/bin/reconnect-script
Enter into this script the following (assuming you have added it to bootup following the instructions above):
#!/bin/bash
gksudo /etc/init.d/modem-startup start
exit 0
Now save the file and exit the editor, make the file executable with:
sudo chmod 755 /usr/local/bin/reconnect-script
Now you can add an entry into your menu using the Alacarte Menu Editor (in Application>Accessories). For your menu entry you should set the command: box to say reconnect-script, then set the other parameters to whatever you like. If you want a button to do this then you can make the entry in Alacarte, drag it out of the menu onto the panel or desktop, then disable the menu entry in Alacarte. Remember to un/replug your modem before running the script though.
Ora il mio inglese fa un po' schifo ma io ho capito che posso creare un bottone per connettermi con un clic... sono arrivato fino a...
Codice: Seleziona tutto
sudo chmod 755 /usr/local/bin/reconnect-scriptora mi perdo e non capisco più.... Alacarte Menu Editor (in Application>Accessories io non ce l'ho!!!
qualcuno mi sa aiutare???
ciao