Go to advanced search

by seanspotatobusiness
Thu Aug 23, 2018 2:26 pm
Forum: Off topic discussion
Topic: HTML inserted into forum drafts
Replies: 5
Views: 3999

HTML inserted into forum drafts

I used the 'save draft' function of this forum and then edited it. HTML was automatically placed in the post when editing and then included when I submitted the post. The post is visible here with the HTML included: https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=221123 Is this some bug in t...
by seanspotatobusiness
Thu Aug 23, 2018 2:23 pm
Forum: Beginners
Topic: Troubleshooting power-on button
Replies: 0
Views: 321

Troubleshooting power-on button

I tried adding a momentary switch to connect GPIO pins 5 and 6. When these pins are shorted, the Pi is supposed to turn on (without having to disconnect and re-connect the power) according to this website: https://howchoo.com/g/mwnlytk3zmm/how-to-add-a-power-button-to-your-raspberry-pi The switch I ...
by seanspotatobusiness
Thu Aug 23, 2018 12:20 pm
Forum: Beginners
Topic: Adding indicator LED to know when my Pi has finished doing something in the terminal
Replies: 3
Views: 290

Re: Adding indicator LED to know when my Pi has finished doing something in the terminal

You could probably wrap your command between two other commands which turn the LED on at the start and off at the end, something like ... led on && your command && led off You could potentially make your 'led' program run in the background when it starts and have the final led command turn the LED ...
by seanspotatobusiness
Thu Aug 23, 2018 11:31 am
Forum: Beginners
Topic: Adding indicator LED to know when my Pi has finished doing something in the terminal
Replies: 3
Views: 290

Adding indicator LED to know when my Pi has finished doing something in the terminal

Sometimes I run something in a terminal which takes a long time to complete (compiling something can take over an hour). I usually switch off the monitor and switch it on every so often to check whether it's completed. Would there be some simple way to add an indicator LED to the Pi which would be o...
by seanspotatobusiness
Thu Aug 23, 2018 10:10 am
Forum: Beginners
Topic: Auto-hide taskbar: taskbar is staying underneath full-screen windows so I can't see/use it
Replies: 11
Views: 2124

Auto-hide taskbar: taskbar is staying underneath full-screen windows so I can't see/use it

I'm using the auto-hide feature of the taskbar to make the most of my limited screen space. When I move the mouse cursor to the bottom of the screen, the taskbar comes up behind other windows which means that it's not usable if I have a window maximised. How do I get the taskbar to appear on top of ...
by seanspotatobusiness
Wed Aug 08, 2018 6:04 pm
Forum: Beginners
Topic: Trying to move hidden contents of hidden folder [SOLVED]
Replies: 4
Views: 384

Re: Trying to move hidden contents of hidden folder

Maybe mv /media/thx11384eb/Blockchains/.raven/.raven/* /media/thx11384eb/Blockchains/.raven/ rmdir /media/thx11384eb/Blockchains/.raven/.raven ? Unfortunately, that gives: $ mv /media/thx11384eb/Blockchains/.raven/.raven/* /media/thx11384eb/Blockchains/.raven mv: cannot stat '/media/thx11384eb/Bloc...
by seanspotatobusiness
Wed Aug 08, 2018 3:59 pm
Forum: Beginners
Topic: Trying to move hidden contents of hidden folder [SOLVED]
Replies: 4
Views: 384

Trying to move hidden contents of hidden folder [SOLVED]

I made a mistake and moved a hidden folder within another hidden folder named the same thing so they were in like /.folder/.folder instead of just /.folder. Now I'm trying to move the contents up one level to the place they were meant to be at. After struggling on the CLI, I moved the folders I can ...
by seanspotatobusiness
Sun Aug 05, 2018 10:33 pm
Forum: Beginners
Topic: Improve GUI performance by reducing quality/experience
Replies: 1
Views: 146

Improve GUI performance by reducing quality/experience

I was told a long time ago (like 1999) that Windows performance could be improved by disabling the desktop background and having a solid colour instead. I'm assuming it's the same with the Pi so I've done that. I figure it might also respond faster if I use a lower resolution or use "pixel doubling"...
by seanspotatobusiness
Sun Aug 05, 2018 9:27 pm
Forum: Beginners
Topic: Save power using a USB SATA HDD in some kind of economy mode?
Replies: 3
Views: 338

Re: Save power using a USB SATA HDD in some kind of economy mode?

If more power is needed, and assuming your PC power supply can deliver more than 2.5A @ 5V, it would be more useful to connect the second power-only plug directly to the power supply, so it will not be current limited by the Pi. This should reduce the load on the Pi's power circuitry and eliminate ...
by seanspotatobusiness
Sun Aug 05, 2018 12:35 am
Forum: General discussion
Topic: Software Monitoring of Supply Voltage and CPU Temperature
Replies: 5
Views: 52874

Re: Software Monitoring of Supply Voltage and CPU Temperatur

The temperature is easy enough - run this: /opt/vc/bin/vcgencmd measure_temp For the supply voltage AFAIK you'll have to add an A/D. That's what I do for my weather balloon tracker. In that I monitor the battery voltage but it could very easily be changed to modify the 5V rail or whatever. Dave Wha...
by seanspotatobusiness
Sat Aug 04, 2018 11:42 pm
Forum: Beginners
Topic: Save power using a USB SATA HDD in some kind of economy mode?
Replies: 3
Views: 338

Save power using a USB SATA HDD in some kind of economy mode?

I have a 2.5" SATA HDD connected to my Pi 3 B using an adapter cable which connects to two USB ports on the Pi. The power for the Pi comes from an old ATX power supply - I made an adapter which converts a molex to a male microUSB plug. The problem is that the Pi displayed the lightning symbol which ...
by seanspotatobusiness
Wed Jul 25, 2018 9:43 pm
Forum: Beginners
Topic: Need help with script to monitor temperatures
Replies: 3
Views: 713

Need help with script to monitor temperatures

Edit: never mind; I found this which looks like it will do everything: https://github.com/gavinlyonsrepo/raspberrypi_tempmon I'm trying to modify a script to monitor temperatures for the CPU and GPU and any other temp sensors if you know of any. from gpiozero import GPUTemperature doesn't work from...
by seanspotatobusiness
Wed Jul 25, 2018 9:38 am
Forum: Beginners
Topic: Pi gets warm and VNC/SSH stops working
Replies: 12
Views: 739

Re: Pi gets warm and VNC/SSH stops working

The thing is, if I unplug it and plug it back in, it will run cool for hours doing the same thing it's meant to be doing now before something mysterious happens and it starts running hot again. I live in Scotland so the air temperature isn't that hot. I have this case which I think provides good coo...
by seanspotatobusiness
Tue Jul 24, 2018 8:56 pm
Forum: Beginners
Topic: Pi gets warm and VNC/SSH stops working
Replies: 12
Views: 739

Re: Pi gets warm and VNC/SSH stops working

It's a 3 B+ running Raspbian Stretch. It's connected by WiFi but it hasn't disconnected because there are scripts running which contact a website API. It's just running a couple of lxterminal windows with some python scripts running tmux. Right now it's back to letting me connect via SSH and VNC aga...
by seanspotatobusiness
Mon Jul 23, 2018 10:59 pm
Forum: Beginners
Topic: Pi gets warm and VNC/SSH stops working
Replies: 12
Views: 739

Pi gets warm and VNC/SSH stops working

I prefer to access my Pi via VNC but a day or two after it powers on, it stops responding to my VNC client. I've also noticed that this seems to be associated with an increase in the temperature of the Pi although I'm not sure what is generating the heat since the CPU is at like 0%. The Pi seems to ...
by seanspotatobusiness
Fri Jul 06, 2018 9:26 pm
Forum: Beginners
Topic: Rename files using F2 keyboard shortcut
Replies: 11
Views: 1206

Re: Rename files using F2 keyboard shortcut

Thanks. I don't agree with their decision to hide those functions at all. It kind of gimps the file manager. Are they afraid children learning to use the Pi will be overwhelmed? If anything is going to overwhelm anyone it's all the editing of config files in nano for stuff you take for granted on Wi...
by seanspotatobusiness
Thu Jul 05, 2018 8:20 pm
Forum: Beginners
Topic: Rename files using F2 keyboard shortcut
Replies: 11
Views: 1206

Re: Rename files using F2 keyboard shortcut

This is the file manager which opens from the Accessories section of the program menu: https://imgur.com/axgweIG.png It's what was part of my Rasbian Stretch installation; I didn't install any other file managers. There is no F2 to rename shortcut listed in the menus and pressing F2 does nothing. :(
by seanspotatobusiness
Thu Jul 05, 2018 5:15 pm
Forum: Beginners
Topic: Rename files using F2 keyboard shortcut
Replies: 11
Views: 1206

Rename files using F2 keyboard shortcut

I'm used to being able to press F2 to rename files but this shortcut doesn't work with my Pi. Is there a setting I can change to enable this?
by seanspotatobusiness
Thu Jul 05, 2018 12:23 pm
Forum: Beginners
Topic: Accessing NAS: how is password stored?
Replies: 16
Views: 1071

Re: Accessing NAS: how is password stored?

Okay, thank you. I also added _netdev and nofail:

Code: Select all

192.168.1.6:/volume1/Xerxes/ /home/pi/Wintermute/Dev nfs defaults,noatime,nofail,_netdev,x-systemd.automount 0 0
and it seems to be working. Thanks Doug.
by seanspotatobusiness
Thu Jul 05, 2018 12:21 am
Forum: Beginners
Topic: Accessing NAS: how is password stored?
Replies: 16
Views: 1071

Re: Accessing NAS: how is password stored?

I found somewhere the command "tail -f /var/log/kern.log" to get a more informative error (I don't know why this isn't given instead of a vague error like mount error(22): Invalid argument The log file says raspberrypi kernel: [ 829.289652] CIFS: Unknown mount option "iocharset-utf8" If I remove tha...
by seanspotatobusiness
Thu Jul 05, 2018 12:03 am
Forum: Beginners
Topic: Accessing NAS: how is password stored?
Replies: 16
Views: 1071

Re: Accessing NAS: how is password stored?

This boots but doesn't work: //192.168.1.6/Xerxes /home/pi/Wintermute/Dev cifs credentials=/root/.cifs,vers=3.0,iocharset-utf8,_netdev,nofail,sec=ntlm 0 0 and when I type sudo mount a; I get [email protected]:~ $ sudo mount -a; mount error(22): Invalid argument Refer to the mount.cifs(8) manual page (e...
by seanspotatobusiness
Wed Jul 04, 2018 11:41 pm
Forum: Beginners
Topic: Accessing NAS: how is password stored?
Replies: 16
Views: 1071

Re: Accessing NAS: how is password stored?

Why am I using CIFS and not NFS? The file system of my NAS is actually ext4. The man page says that multiple file systems can be specified in a comma separated list so perhaps I should specify cifs,ext4? I think the -o is only needed on the command line and not in the fstab file. //192.168.1.6/Xerxe...
by seanspotatobusiness
Wed Jul 04, 2018 9:52 pm
Forum: Beginners
Topic: Accessing NAS: how is password stored?
Replies: 16
Views: 1071

Re: Accessing NAS: how is password stored?

Thanks! Do you mean it should say //192.168.1.6/Xerxes /home/pi/Wintermute/Dev cifs -o credentials=/root/.cifs,vers=3.0,iocharset-utf8,_netdev,nofail,sec=ntlm 0 0 or should _netdev,nofail go somewhere else? Edit: I tried with //192.168.1.6/Xerxes /home/pi/Wintermute/Dev cifs -o credentials=/root/.ci...
by seanspotatobusiness
Wed Jul 04, 2018 8:21 pm
Forum: Beginners
Topic: Accessing NAS: how is password stored?
Replies: 16
Views: 1071

Re: Accessing NAS: how is password stored?

No,

Code: Select all

//192.168.1.6/Xerxes /home/pi/Wintermute/Dev -o credentials=/root/.cifs,vers=3.0,iocharset-utf8,sec=ntlm 0 0
caused the same problem as

Code: Select all

//192.168.1.6/Xerxes ~/Wintermute/Dev -o credentials=/root/.cifs,vers=3.0,iocharset-utf8,sec=ntlm 0 0
.
by seanspotatobusiness
Wed Jul 04, 2018 2:30 am
Forum: General discussion
Topic: A Beowulf cluster of Raspberry pi 3s as a desktop?
Replies: 7
Views: 8543

Re: A Beowulf cluster of Raspberry pi 3s as a desktop?

It's a shame because they look really cool but I have zero use for such a thing and a standalone Pi is enough of a challenge for me.

Go to advanced search