Go to advanced search

by ducarpit
Sat Nov 24, 2018 4:55 pm
Forum: Advanced users
Topic: USB power when Raspberry is power off!
Replies: 5
Views: 1032

USB power when Raspberry is power off!

Hi, is there a way to enable the USB power when the Raspberry is power off?
For example i can charge my wireless keyboard with it......
Thanks a lot in advance

Christian
by ducarpit
Sat Nov 10, 2018 5:26 pm
Forum: Raspbian
Topic: Set static IP for only a network
Replies: 2
Views: 576

Set static IP for only a network

Hi,
Can i set up a static IP for only a network?
Example: i configured some wi fi networks on my Raspberry. I wanna set a static IP on one of them only, not for all.
I have also the GUI version of Raspbian.
Is it possible?
Thanks a lot

Christian
by ducarpit
Fri Nov 09, 2018 5:45 pm
Forum: Raspbian
Topic: Poweroff the raspberry after a specific time period!
Replies: 11
Views: 1021

Re: [Solved] Poweroff the raspberry after a specific time period!

Hi, i have a little problem: i inserted this line in the crontab file: @reboot /sbin/shutdown +420 --no-wall and it works fine, after 420 minutes the Raspberry shutdowns without problems. Unfortunatly, when i re-poweron it, it starts but after some seconds it poweroffs automatically. I have to cut o...
by ducarpit
Fri Nov 09, 2018 9:57 am
Forum: Advanced users
Topic: Overclock SD card.....question!
Replies: 5
Views: 595

Re: Overclock SD card.....question!

both are correct, the first is the prefered and method the Tech people came up with. there is also a third method using sdtweak the First method you use, doesn't break anything else though. (WiFi is one thing it would disable) edit and you should be able to check if it worked and at what speed it i...
by ducarpit
Fri Nov 09, 2018 8:37 am
Forum: Advanced users
Topic: Overclock SD card.....question!
Replies: 5
Views: 595

Overclock SD card.....question!

Hi, i want to overclock my SD card on my Rasoberry pi3 but i have a doubt: in the past i did it by editing the /boot/config.txt file and insert a line like this: dtparam=sd_overclock=100 and then reboot the Raspberry. Now i read in some articles that i can do this by adding a line in thsi way: dtove...
by ducarpit
Mon Oct 29, 2018 4:18 pm
Forum: Raspbian
Topic: Poweroff the raspberry after a specific time period!
Replies: 11
Views: 1021

Re: Poweroff the raspberry after a specific time period!

Perfect, many thankts to all my dear friends.....
by ducarpit
Mon Oct 29, 2018 12:12 pm
Forum: Raspbian
Topic: Poweroff the raspberry after a specific time period!
Replies: 11
Views: 1021

Re: Poweroff the raspberry after a specific time period!

Perfect my friend.... Now, i have only to remove the broadcast message that say: Broadcast message from [email protected] (Mon 2018-10-29 13:07:36 CET): The system is going down for poweroff at Mon 2018-10-29 13:14:36 CET! But i think i just need to put the --no-wall parameter to the command. Am i ri...
by ducarpit
Mon Oct 29, 2018 12:10 pm
Forum: Raspbian
Topic: Poweroff the raspberry after a specific time period!
Replies: 11
Views: 1021

Re: Poweroff the raspberry after a specific time period!

Perfect my friend.... Now, i have only to remove the broadcast message that say: Broadcast message from [email protected] (Mon 2018-10-29 13:07:36 CET): The system is going down for poweroff at Mon 2018-10-29 13:14:36 CET! But i think i just need to put the --no-wall parameter to the command. Am i ri...
by ducarpit
Mon Oct 29, 2018 10:56 am
Forum: Raspbian
Topic: Poweroff the raspberry after a specific time period!
Replies: 11
Views: 1021

Re: Poweroff the raspberry after a specific time period!

Hi my dear, thanks a lot. I have tried your solution and it works! But there is a problem: after the shutdown with the cron, i re-poweron my raspberry and i try to connect to him with SSH, but i got this: [email protected]:~$ ssh [email protected].168.1.53 [email protected].168.1.53's password: System is go...
by ducarpit
Sun Oct 28, 2018 9:41 pm
Forum: Raspbian
Topic: Poweroff the raspberry after a specific time period!
Replies: 11
Views: 1021

Re: Poweroff the raspberry after a specific time period!

See 'man shutdown' This should work @reboot sudo /sbin/shutdown -p +3600 If you use the root crontab then you can leave out 'sudo' Hi, thanks a lot. In the shutdown manual, there isn'it a -p (lower) parameter but only a -P that stands for "poweroff". Maybe you refer to -P (upper)....am i right? The...
by ducarpit
Sun Oct 28, 2018 5:06 pm
Forum: Raspbian
Topic: Poweroff the raspberry after a specific time period!
Replies: 11
Views: 1021

Poweroff the raspberry after a specific time period!

Hi,
i want to poweroff my raspberry after a time period.
Example: after 6 hours since the poweron.
I know i can do this with the cron (crontab -e --> insert the right line) but in this way i need to set a specific time (in my case i cant' do this).
How can i do this?
Thanks a lot

Christian
by ducarpit
Tue Jun 19, 2018 5:11 pm
Forum: Raspbian
Topic: Migrate 64GB card to 32GB!
Replies: 4
Views: 533

Migrate 64GB card to 32GB!

Hi, i have my raspberry with a 64GB SD Card. Now i have to migrate this to a 32G Card. If i make an image copy (for example with win32diskimage), it takes a 64GB image so i can't write it in a 32GB card. How can i do this? Is there a way to reduce the image or "delete" the unused space? Thanks a lot...
by ducarpit
Tue Jan 16, 2018 8:04 am
Forum: Troubleshooting
Topic: [SOLVED] Problem with X server...
Replies: 5
Views: 890

Re: Problem with X server...

Try gksudo gparted WOW IT WORKS......but why with sudo gparted it isn't work and with gksudo yes? I don't know the differences unfortunately....can you explain to me please? Thanks a lot my dear friend Because when the X session starts up it creates a key * in the user's home directory and will onl...
by ducarpit
Mon Jan 15, 2018 8:21 pm
Forum: Troubleshooting
Topic: [SOLVED] Problem with X server...
Replies: 5
Views: 890

Re: Problem with X server...

B.Goode wrote:
Mon Jan 15, 2018 7:21 pm
Try

Code: Select all

gksudo gparted
WOW IT WORKS......but why with sudo gparted it isn't work and with gksudo yes?
I don't know the differences unfortunately....can you explain to me please?
Thanks a lot my dear friend
by ducarpit
Mon Jan 15, 2018 5:16 pm
Forum: Troubleshooting
Topic: [SOLVED] Problem with X server...
Replies: 5
Views: 890

[SOLVED] Problem with X server...

Hi, i have a problem with the X server of my raspberry. Sometimes i need to launch the X server from a client with the command ssh -X [email protected][IP] but if i run some commands like sudo gparted i got this errore and the program doesn't start: [email protected]:~ $ sudo gparted Created symlink /run/syst...
by ducarpit
Fri Oct 06, 2017 11:17 am
Forum: Raspbian
Topic: [Solved] Can i remove the old modules?
Replies: 14
Views: 3281

Re: [Solved] Can i remove the old modules?

Thanks a lot.... :D
by ducarpit
Fri Oct 06, 2017 9:31 am
Forum: Italiano
Topic: [Rsiolto] Rimuovere vecchi kernel installati!!!
Replies: 3
Views: 504

Re: Vecchi kernel installati!!!

Ok ho risolto con l'aiuto di un'altro utente che aveva avuto un problema simile. Scrivo la soluzione: 1) editare il file /boot/.firmware_revision e cambiare il valore della stringa all'interno (basta cancellare una lettere o un numero) 2) rilanciare rpi-update ed attendere il download e l'installazi...
by ducarpit
Fri Oct 06, 2017 9:28 am
Forum: Raspbian
Topic: [Solved] Can i remove the old modules?
Replies: 14
Views: 3281

Re: Can i remove the old modules?

SOLVEEEED!!!!
I followed your instruction, i changed the value in the /boot/.firmware_revision file and then launch rpi-update.
I rebooted my raspberry and now the firmaware is the latest version.
Thank a lot my dear friend, you are a genius!!!!
by ducarpit
Fri Oct 06, 2017 8:53 am
Forum: Raspbian
Topic: [Solved] Can i remove the old modules?
Replies: 14
Views: 3281

Re: Can i remove the old modules?

Also if you run rpi-update to install the latest kernel version and then run apt-get dist-upgrade and it installs an older kernel version and then try running rpi-update to re-install the latest kernel version you will get a message saying the latest kernel is already installed. running rpi-update ...
by ducarpit
Fri Oct 06, 2017 8:04 am
Forum: Italiano
Topic: [Rsiolto] Rimuovere vecchi kernel installati!!!
Replies: 3
Views: 504

Re: Vecchi kernel installati!!!

Grazie mille, risolto....
Adesso ho un'altro problema: con uname -r (o uname -a per vedere tutto) posso vedere il kernel in uso, nel mio caso:

Code: Select all

4.9.41-v7+
Ma la versione installata più recente è la 4.9.52-v7+

Perchè non usa l'ultima versione?
E' strano
by ducarpit
Fri Oct 06, 2017 8:00 am
Forum: Raspbian
Topic: [Solved] Can i remove the old modules?
Replies: 14
Views: 3281

Re: Can i remove the old modules?

Yes, in fact i deleted all the kernel folders in /lib/modules but i keep the last 2 versions.....
But if i reboot my raspberry, the kernel used it's always the 4.9.41-v7+.....
by ducarpit
Fri Oct 06, 2017 7:35 am
Forum: Raspbian
Topic: [Solved] Can i remove the old modules?
Replies: 14
Views: 3281

Re: Can i remove the old modules?

Ok thanks a lot....
I have a doubt: with the command uname -r i can see the current kernel running, it say:

Code: Select all

4.9.41-v7+
But the latest version installed is 4.9.52-v7+

Why? I have never modified anything.....
That's strange....
by ducarpit
Fri Oct 06, 2017 6:23 am
Forum: Raspbian
Topic: [Solved] Can i remove the old modules?
Replies: 14
Views: 3281

Re: Can i remove the old modules?

Perfect my friend, thanks a lot.....
I have to remove only this directories with the command:

Code: Select all

sudo rm -rf /lib/modules/[folder] 
or i have to delete also others files/folders?
Thanks
by ducarpit
Thu Oct 05, 2017 6:19 pm
Forum: Italiano
Topic: [Rsiolto] Rimuovere vecchi kernel installati!!!
Replies: 3
Views: 504

[Rsiolto] Rimuovere vecchi kernel installati!!!

Ciao a tutti, nella mia directory /lib/modules ci sono moltissime cartelle di vecchi kernel. Con il comando lsb_release -a ho notato che è in uso solamente l'ultimo di quelli. Quindi mi chiedevo, posso eliminare quelle vecchie manualmente? Questo è il contenuto della cartella: [email protected]:/home...
by ducarpit
Thu Oct 05, 2017 7:06 am
Forum: Raspbian
Topic: [Solved] Can i remove the old modules?
Replies: 14
Views: 3281

[Solved] Can i remove the old modules?

Hi, in my /lib/modules directory i have a lot of kernels installed. With the lsb_release -a command, i checked i am using only the last module. Can i remove the others (manually)? This is the contect: [email protected]:/home/pi# ls -la /lib/modules totale 248 drwxr-xr-x 62 root root 4096 ott 1 18:35 ...

Go to advanced search