Go to advanced search

by tpyo kingg
Wed Jun 26, 2019 3:57 am
Forum: Raspbian
Topic: Raspbian 'Buster' 2019-06-20
Replies: 69
Views: 3022

Re: Raspbian 'Buster' 2019-06-20

ShiftPlusOne wrote:
Mon Jun 24, 2019 6:43 pm
Ran out of time before getting to look into the torrent issues today. Will take a look tomorrow.
Thanks. All three torrents seem recognized by the tracker now.
by tpyo kingg
Mon Jun 24, 2019 6:19 pm
Forum: Raspbian
Topic: Raspbian 'Buster' 2019-06-20
Replies: 69
Views: 3022

Re: Raspbian 'Buster' 2019-06-20

So Buster has been released (with the Pi4) it brings a few things with it, https://www.raspberrypi.org/downloads/raspbian/ Nice. I've been looking forward to that. When will the Torrents be in place? I've added them to Transmission but get the error message "Requested download is not authorized for...
by tpyo kingg
Mon Jun 24, 2019 9:47 am
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 395
Views: 18271

Re: Raspberry Pi 4 Thread - general discussion

jamesh wrote:
Mon Jun 24, 2019 9:31 am
Under the skin, much is different. This is the biggest HW change in Pi history.
Exciting. I guess there will be some general-audience blog posts or articles going into the details when the time is right.

Can I ask if HDMI sound would be able to play independently via each HDMI port?
by tpyo kingg
Sun Jun 23, 2019 4:12 pm
Forum: General discussion
Topic: exploring uses of nginx with rpi 2+ / rpi zero w
Replies: 15
Views: 337

Re: exploring uses of nginx with rpi 2+ / rpi zero w

The light load you describe should be quite manageable by the Raspberry Pi, the specs blow away what we had in the 1990s. But its responsiveness will very much depend on what part of the system is in use. A very slow part will be any time the system reads from or writes to the SD card, like when dre...
by tpyo kingg
Sat Jun 22, 2019 3:18 pm
Forum: General discussion
Topic: Networking and SSH problems
Replies: 10
Views: 844

Re: Networking and SSH problems

(cd is built into the shell and not affected by sudo, also it only changes the working directory. So you'll need to point sudo at a specific utility such as ls or cat. I'm not sure how it is related to the task at hand however. You should be able to, and should in general, connect to the Raspberry P...
by tpyo kingg
Tue Jun 18, 2019 5:13 am
Forum: Raspbian
Topic: Lance a script automatically that logs my raspberry pi3 to my server
Replies: 30
Views: 907

Re: Lance a script automatically that logs my raspberry pi3 to my server

If you are using rsync, you can get there with the following steps 1. Enable OpenSSH on the Debian PC. Ensure you can log in with SSH from the Raspberry Pi. 2. Set up key-based authentication from the Raspberry Pi to the Debian PC. Ensure you can log in using just the keys. 3. Turn off password-base...
by tpyo kingg
Fri Jun 14, 2019 4:12 am
Forum: General discussion
Topic: simple html <button> execute aplay
Replies: 2
Views: 155

Re: simple html <button> execute aplay

If you are using PHP (are you sure it's 5 and not 7?) take a look at the system() function to call aplay. Just remember that Apache2 needs read access to the sound file. However, if you don't let the script act on any inputs, then it could even be as simple as a CGI shell script: #!/bin/sh echo -e "...
by tpyo kingg
Fri Jun 14, 2019 3:57 am
Forum: Beginners
Topic: How do you name your Pies?
Replies: 14
Views: 411

Re: How do you name your Pies?

Going to be a lot easier for me, as I've only got two so far and I don't see myself getting more. Or is that famous last words? Just like potato chips I tell you... you can't have just one. They tend to proliferate. But even if you don't buy any more or receive some as presents, or don't give away ...
by tpyo kingg
Thu Jun 13, 2019 7:45 pm
Forum: Beginners
Topic: How do you name your Pies?
Replies: 14
Views: 411

Re: How do you name your Pies?

Since I generally operate them headless via SSH and or UART, having a host name which identifies the task at hand makes a big difference. I've settled on using a single-word mnemonic for the particular project plus a two-digit number for the SD card's storage slot. The storage slots have some pencil...
by tpyo kingg
Wed Jun 12, 2019 7:00 pm
Forum: Other projects
Topic: Autorefresh file upon save on multiple PIs
Replies: 4
Views: 126

Re: Autorefresh file upon save on multiple PIs

Another way could be to have a script or unit file fetch the document from a web server using curl or wget and then display it with LibreOffice. See the --view option along with maybe also --display, --norestore, and --invisible. The web server could be one of the Raspberry Pis, but doesn't have to ...
by tpyo kingg
Wed Jun 12, 2019 11:58 am
Forum: Raspbian
Topic: Unzipping .zip image to SD disk?
Replies: 5
Views: 270

Re: Unzipping .zip image to SD disk?

You'd need the options -c and -d for unzip to use it in a pipe. Likewise for dd, you'd need if=/dev/stdin to deal with input via the pipe. See the manual pages to be sure.
by tpyo kingg
Tue Jun 11, 2019 5:43 pm
Forum: Raspbian
Topic: Webmin or an alternative
Replies: 10
Views: 807

Re: Webmin or an alternative

Thanks. I'll take look. I missed making a followup post: I ended up just puting together a script and calling it via CGI. That was fast to write and meant I could configure just the functions I needed with no extras as distractions.
by tpyo kingg
Mon Jun 10, 2019 8:30 am
Forum: General discussion
Topic: Triple Monitor Support + Computer Replacement
Replies: 11
Views: 502

Re: Triple Monitor Support + Computer Replacement

Question 1 - Is it possible to use / connect 1 or more Raspberry Pi computers together so I can still run 3x 1920x1080 monitors (left to right), and avoid the need to buy another laptop / desktop. synergy is also there in the Raspbian repository. I haven't tried it myself but do know a few people w...
by tpyo kingg
Mon Jun 10, 2019 4:50 am
Forum: General discussion
Topic: Raspberry Pi-based Prosthetic leg
Replies: 1
Views: 127

Raspberry Pi-based Prosthetic leg

Apparently a Raspberry Pi running Python3 is the main controller in the prosthetic leg shown here: https://news.umich.edu/open-source-bionic-leg-first-of-its-kind-platform-aims-to-rapidly-advance-prosthetics/ The project has its own site with specifications with a lot of details . Disclosure: two de...
by tpyo kingg
Sun Jun 09, 2019 3:26 pm
Forum: General discussion
Topic: Help- raspberry pi ip logger for fun
Replies: 2
Views: 104

Re: Help- raspberry pi ip logger for fun

nmap will do some of that.
by tpyo kingg
Fri Jun 07, 2019 1:35 pm
Forum: Graphics, sound and multimedia
Topic: Select and display random images with ImageMagick
Replies: 3
Views: 172

Re: Select and display random images with ImageMagick

The above formula in your second script won't work. xargs works differently. However, even when the flow is corrected I'm not seeing a way for xargs (or parallel) to pass all the pictures' file names ahead of the output file name. So I would try it with command substitution instead: #!/bin/sh montag...
by tpyo kingg
Fri Jun 07, 2019 9:25 am
Forum: The MagPi
Topic: Undoing double subscription
Replies: 2
Views: 404

Re: Undoing double subscription

Yes, it just shows both subscriptions all week without any options to adjust them in any way, as far as I can tell.
by tpyo kingg
Fri Jun 07, 2019 7:51 am
Forum: The MagPi
Topic: Undoing double subscription
Replies: 2
Views: 404

Undoing double subscription

I've tried contacting the MagPi subscription service ( Raspberry Pi <raspberrypi@subscriptionhelpline.co.uk> ) several times since last Friday but not gotten any response. My subscription expired without me receiving a notice that it was about to end and when I tried to subscribe, I got an error mes...
by tpyo kingg
Thu Jun 06, 2019 3:20 am
Forum: Networking and servers
Topic: sch password
Replies: 14
Views: 486

scp password

Please give more detail about what you have tried and what your general goal is. scp is considered deprecated these days and there is probably a more apropriate alternative. Just a wild guess, if you are logging into the Raspberry Pi from a different account, you will also need to specify the name o...
by tpyo kingg
Sat Jun 01, 2019 5:22 pm
Forum: Raspbian
Topic: SSH (iptables): how to allow only one IP
Replies: 4
Views: 217

Re: SSH (iptables): how to allow only one IP

I usually have DROP in my default policies, rather than putting a REJECT at the end of the table. I don't want my systems to waste time replying to junk. The policies can only default to DROP, they can't handle REJECT so the latter has to be added to the chains to make it a default action. DROP is ...
by tpyo kingg
Sat Jun 01, 2019 4:18 pm
Forum: General discussion
Topic: How to get smooth play back in libreoffice impress?
Replies: 3
Views: 143

Re: How to get smooth play back in libreoffice impress?

With regular video it seems to help to play a lower resolution. No need to try to pump more data than will be used. So I would suggest adjusting the resolution of the video to just the actual part of the screen being used in the presentation. Reencode if necessary.
by tpyo kingg
Sat Jun 01, 2019 3:31 pm
Forum: Raspbian
Topic: SSH (iptables): how to allow only one IP
Replies: 4
Views: 217

Re: SSH (iptables): how to allow only one IP

The first rule should allow the loopback interface to communicate with itself. Without it, the system cannot run. The second rule in the INPUT rule should allow all ESTABLISH and RELATED connections in. Otherwise your outgoing connections cannot return. Ping is good to allow, too. Then the fourth ru...
by tpyo kingg
Fri May 31, 2019 1:53 pm
Forum: Other programming languages
Topic: Photos Gallery into iframe html web server
Replies: 3
Views: 296

Re: Photos Gallery into iframe html web server

How fancy do you need the functions on your photo gallery to be? I made mine using a little perl and the rest static HTML5 and CSS3. You can do a heck of lot with SFTP, some home made templates, and a little python or perl or even shell script. On the other end of the spectrum, there are some very c...
by tpyo kingg
Fri May 31, 2019 12:55 pm
Forum: Advanced users
Topic: What is the preferred FS format for high-cap external drives?
Replies: 12
Views: 1327

Re: What is the preferred FS format for high-cap external drives?

ZFS should work with as little as 64MB of RAM, at least that is what some of the specialists have claimed for recent versions. Do you have a link? Not a direct one. I've read other requirements and adjusted the configurations and done some experimenting with it on the Raspberry Pi in FreeBSD 12. Ot...
by tpyo kingg
Fri May 31, 2019 4:28 am
Forum: General discussion
Topic: How to access an active program on headless Pi? [SOLVED]
Replies: 14
Views: 467

Re: How to access an active program on headless Pi?

DougieLawson wrote:
Thu May 30, 2019 4:27 pm
I'd use ps -ef | grep clock to find the PID of the process (named clock in my example). Then assuming that returned 12345. kill -term 12345 # with the PID I've discovered
pkill is another option, if the process has a unique name

Code: Select all

pkill -x -TERM clockprog

Go to advanced search