Go to advanced search

by makem
Sun Oct 13, 2019 11:19 pm
Forum: Raspberry Pi OS
Topic: MongoDB on Stretch - E- Unable to locate package mongodb-org
Replies: 11
Views: 2208

MongoDB on Stretch - E- Unable to locate package mongodb-org

I have followed the install instructions: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-debian Using the recommended .deb packages but get the error mentioned in the subject. My Pi: [email protected]:~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspb...
by makem
Sat Apr 06, 2019 2:25 pm
Forum: Raspberry Pi OS
Topic: File transfer Pi 3+ to Android tablet sdcard or internal downloads folder
Replies: 0
Views: 380

File transfer Pi 3+ to Android tablet sdcard or internal downloads folder

I have installed Termux on the tablet and can transfer files as above but its such a fiddle and the files appear only accessible from Termux. I want to mirror for example, videos on my TV.

Is there an app such as N-Droid available which can easily transfer files?
by makem
Wed Apr 03, 2019 6:02 pm
Forum: Raspberry Pi OS
Topic: Rsync: Pi data transfer to Android error
Replies: 1
Views: 477

Re: Rsync: Pi data transfer to Android error

Well, I remembered that the extra extension was temporary and therefore normal. However, the identical rsync command now works without any other changes i am aware of: $ rsync -avzh [email protected].168.2.43:/media/USBHDD/data/torrent_downloads/test/ ~/storage/movies This rsync lacks old-style --compress due ...
by makem
Wed Apr 03, 2019 4:45 pm
Forum: Raspberry Pi OS
Topic: Rsync: Pi data transfer to Android error
Replies: 1
Views: 477

Rsync: Pi data transfer to Android error

I wonder if, assuming this is not posted in the wrong forum, anyone can throw light on the reason for the error posted below. An attempt using a Linux terminal and SSH was made to transfer a movie file from a pi server to an Android tablet on which Termux is installed. Bearing in mind that the follo...
by makem
Sun Dec 02, 2018 11:39 pm
Forum: Raspberry Pi OS
Topic: Plex Media Server not starting.
Replies: 7
Views: 3187

Re: Plex Media Server not starting.

Kill this thread.

PLEX cannot connect if the pi is using a VPN unless the VPN is on the router to which the pi is connected rather than on the pi itself.
by makem
Sun Dec 02, 2018 7:25 pm
Forum: Raspberry Pi OS
Topic: Plex Media Server not starting.
Replies: 7
Views: 3187

Re: Plex Media Server not starting.

When comparing both machines I find that the pi DOES have the server: [email protected]:~ $ sudo service plexmediaserver status ● plexmediaserver.service - Plex Media Server for Linux Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: en Active: active (running) since Sun...
by makem
Sun Dec 02, 2018 7:16 pm
Forum: Raspberry Pi OS
Topic: Plex Media Server not starting.
Replies: 7
Views: 3187

Re: Plex Media Server not starting.

Yeah... If you have already confirmed you have done all the steps properly, I would suggest using OpenMediaVault software and using plex with that. OpenMediaVault allows multiple services at once, for example a Samba share + plex + NAS + etc. Thanks but I don't want to install more software to fix ...
by makem
Sun Dec 02, 2018 6:11 pm
Forum: Raspberry Pi OS
Topic: Plex Media Server not starting.
Replies: 7
Views: 3187

Re: Plex Media Server not starting.

I use sudo systemctl start (operation) I get: [email protected]:~ $ sudo systemctl start plexmediaserver [email protected]:~ $ /etc/init.d/plexmediaserver status It seems that Plex Media Server isn't running (no process found). [email protected]:~ $ It's the 'no process found' I don't understand. Perhaps I'm not cal...
by makem
Sun Dec 02, 2018 4:21 pm
Forum: Raspberry Pi OS
Topic: Plex Media Server not starting.
Replies: 7
Views: 3187

Plex Media Server not starting.

I am using a Pi3b with Stretch. I followed this guide and everything appeared to go well: http://www.baldnerd.com/plex-media-server-on-a-raspberry-pi-3/ However when attempting to connect to the server: 192.168.2.xx:32400/web Firefox can't establish a connection to the server at 192.168.2.43:32400 p...
by makem
Tue Aug 21, 2018 10:34 pm
Forum: Raspberry Pi OS
Topic: Power supply failed? now in emergency mode - headless SOLVED
Replies: 15
Views: 2487

Re: Power supply failed? now in emergency mode - headless SOLVED

Roken wrote:
Tue Aug 21, 2018 8:22 pm
Not to gloat, but back to my original reply.

fsck -y allows all repairs.
Yes but you didn't include the '-y' ;)

As I showed, without it, it didn't do a fix.

So, it must have missed whatever needed repairing.

However, I am grateful for your time and input.
by makem
Tue Aug 21, 2018 2:26 pm
Forum: Raspberry Pi OS
Topic: Power supply failed? now in emergency mode - headless SOLVED
Replies: 15
Views: 2487

Re: Power supply failed? now in emergency mode - headless SOLVED

Satellite P50-C
Model: P50-C-12Z

1 × SD™ card slot (SD™, SDHC™, SDXC™ supporting UHS-I, MMC)

So, "Yes".
by makem
Tue Aug 21, 2018 1:10 pm
Forum: Raspberry Pi OS
Topic: Power supply failed? now in emergency mode - headless SOLVED
Replies: 15
Views: 2487

Re: Power supply failed? now in emergency mode - headless

Fixed!

How?

I used sudo fsck -y /dev/sdc1

Result said both partitions were clean and when I booted the pi it worked!

Was it the -y switch? Was it the new usb card reader I bought today instead of using the sd slot in my xubuntu laptop?

Don't know but am a happy bunny :D
by makem
Tue Aug 21, 2018 12:12 pm
Forum: Raspberry Pi OS
Topic: Power supply failed? now in emergency mode - headless SOLVED
Replies: 15
Views: 2487

Re: Power supply failed? now in emergency mode - headless

What I propose to do today is to copy the contents of /boot from the fresh spare sd card to my linux laptop. Then clone the defective sd card to the spare sd card and replace /boot, copy the kernal modules and at this stage not sure whether to keep the /boot/config.txt. This suggestion is from: htt...
by makem
Tue Aug 21, 2018 9:35 am
Forum: Raspberry Pi OS
Topic: Power supply failed? now in emergency mode - headless SOLVED
Replies: 15
Views: 2487

Re: Power supply failed? now in emergency mode - headless

If you haven't sorted this out by the end of the week, drop me an email. I will be at the usual library on Saturday (10am-4pm) and can bring my laptop, USB card reader and other bits and if you bring your Pi we can get this fixed. Thank you Dom. I am very reluctant to make any changes to the defect...
by makem
Mon Aug 20, 2018 10:22 pm
Forum: Raspberry Pi OS
Topic: Power supply failed? now in emergency mode - headless SOLVED
Replies: 15
Views: 2487

Re: Power supply failed? now in emergency mode - headless

Roken wrote:
Mon Aug 20, 2018 7:44 pm
If you have access to a PC, boot the PC with a linux livecd, and run fsck on both the sdcard and the external drive. Allow it to repair any errors. Once done, reassemble the Pi, and re-try.
Did as you suggest but get same error and unable to connect via SSH.
by makem
Mon Aug 20, 2018 8:47 pm
Forum: Raspberry Pi OS
Topic: Power supply failed? now in emergency mode - headless SOLVED
Replies: 15
Views: 2487

Re: Power supply failed? now in emergency mode - headless

[email protected]:~$ sudo fdisk -l [sudo] password for makem: Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier...
by makem
Mon Aug 20, 2018 8:31 pm
Forum: Raspberry Pi OS
Topic: Power supply failed? now in emergency mode - headless SOLVED
Replies: 15
Views: 2487

Re: Power supply failed? now in emergency mode - headless

Roken wrote:
Mon Aug 20, 2018 7:44 pm
If you have access to a PC, boot the PC with a linux livecd, and run fsck on both the sdcard and the external drive. Allow it to repair any errors. Once done, reassemble the Pi, and re-try.
I use xubuntu solely so would assume I can run fsck from there rather than a live usb which I already have.
by makem
Mon Aug 20, 2018 8:27 pm
Forum: Raspberry Pi OS
Topic: Power supply failed? now in emergency mode - headless SOLVED
Replies: 15
Views: 2487

Re: Power supply failed? now in emergency mode - headless

Since you have a Raspberry that's capable of running Linux (power supply permitting) then grab a new SDCard. Build a copy of plain Raspbian 2018-06-27 on it. Boot that. Mount the broken SDCard in a USB reader. Use the new Raspbian system to repair the borken one. Ah, I like that idea. But how to ef...
by makem
Mon Aug 20, 2018 6:07 pm
Forum: Raspberry Pi OS
Topic: Power supply failed? now in emergency mode - headless SOLVED
Replies: 15
Views: 2487

Power supply failed? now in emergency mode - headless SOLVED

I have been running RPi3+ headless for about 6 months continuously using a PiHut power supply. It has a separately powered cooling fan and very large heatsink. An SSD was connected via USB to store data and only a torrents and 'John' a password cracking program were installed over the basic install ...
by makem
Wed Jun 13, 2018 6:05 pm
Forum: Beginners
Topic: Is CPU usage above 100% really possible?
Replies: 12
Views: 1973

Re: Is CPU usage above 100% really possible?

Actually it raises a question, is the load spread evenly over all cores or does it spread across them as each core reaches a predetermined %age? CPU usage is always 100% :) That is, the CPU is either executing instructions or idle, nothing in between. 50% utilization is in fact 100% of the CPU for ...
by makem
Wed Jun 13, 2018 2:36 pm
Forum: Beginners
Topic: Is CPU usage above 100% really possible?
Replies: 12
Views: 1973

Re: Is this really possible?

Yes (sadly). The Pi has four cores, each of which can run up to 100%. Four cores running at 100% makes top display 400%... Why sadly? Because you had the ask the question - it's just a confusing way of looking at it. Yes, agreed. The 'correct' %age usage is in the top left hand corner so I cannot s...
by makem
Tue Jun 12, 2018 4:39 pm
Forum: Beginners
Topic: Is CPU usage above 100% really possible?
Replies: 12
Views: 1973

Re: Is this really possible?

jamesh wrote:
Tue Jun 12, 2018 4:09 pm
Yes (sadly). The Pi has four cores, each of which can run up to 100%. Four cores running at 100% makes top display 400%...
Why sadly?
by makem
Tue Jun 12, 2018 3:49 pm
Forum: Beginners
Topic: Is CPU usage above 100% really possible?
Replies: 12
Views: 1973

Is CPU usage above 100% really possible?

Wow, %age CPU:

Image

Code: Select all

[email protected]:~$ /opt/vc/bin/vcgencmd measure_temp
temp=40.8'C
[email protected]:~$
by makem
Sat Jun 09, 2018 12:56 am
Forum: Beginners
Topic: Script error - can't see the wood for trees!
Replies: 10
Views: 1134

Re: Script error - can't see the wood for trees!

I have redirected the cron outpu: */5 * * * * /home/pi/expressvpn.sh >> /home/pi/cron.log 2>&1 I have added cd to working directory: #!/bin/bash cd /home/pi if ! [ "$(ping -c 1 google.co.uk)" ]; then expressvpn connect current_time=$(date "+%Y:%m:%d_%H:%M:%S") echo "Executed at $current_time" >> /ho...
by makem
Fri Jun 08, 2018 11:34 pm
Forum: Beginners
Topic: Script error - can't see the wood for trees!
Replies: 10
Views: 1134

Re: Script error - can't see the wood for trees!

I spoke to soon! Not solved.

The script works fine when called from terminal but not when called via crontab.

Why is that?

Go to advanced search