Go to advanced search

by scruss
Sat Jan 19, 2019 4:07 am
Forum: Advanced users
Topic: Virtual com port drivers?
Replies: 7
Views: 174

Re: Virtual com port drivers?

Yes. The devices don't exist until a device is plugged in and recognized.
by scruss
Sat Jan 19, 2019 1:24 am
Forum: Advanced users
Topic: Virtual com port drivers?
Replies: 7
Views: 174

Re: Virtual com port drivers?

some will also create /dev/ttyACM* devices

Almost every USB serial device is supported. The only ones that aren't readily supported are custom FTDI devices that appear on a different USB ID from standard FTDI devices.
by scruss
Fri Jan 18, 2019 1:33 am
Forum: Beginners
Topic: Raspberry Pi and OLPC
Replies: 3
Views: 46

Re: Raspberry Pi and OLPC

I'm not sure those …ified links do what you expect them to do.

Anyway, OLPC as in One Laptop per Child? If you want to run something like it, looks like you have to install Raspbian and then run the Internet-in-a-Box (IIAB) script.
by scruss
Thu Jan 17, 2019 6:14 pm
Forum: Beginners
Topic: First post questions
Replies: 11
Views: 687

Re: First post questions (3d printing / OctoPrint)

so you need to download the image, which is a zip file. Sometimes Windows' "Compressed Folder Tools" has problems with system images, but this one seemed okay for me. The download at https://octopi.octoprint.org/latest for v 0.15.1 wasn't corrupted for me Write that image file to your SD card using ...
by scruss
Wed Jan 16, 2019 12:27 pm
Forum: Python
Topic: Output Print To a file - webpage info
Replies: 8
Views: 363

Re: Output Print To a file - webpage info

Logging's a good approach. But if you want to keep the structure in memory, consider a deque: it's an in-memory double-ended queue of defined length. Once you add more items than it can hold, the oldest items are removed.
by scruss
Mon Jan 14, 2019 2:01 pm
Forum: Advanced users
Topic: Raspberry PI cold boot attack protected / Zero out RAM after boot?
Replies: 71
Views: 2251

Re: Raspberry PI cold boot attack protected / Zero out RAM after boot?

… the performance impact is very low, but the security gain is massive. So the ROI is extremly high and thus it should be implemented. Has one entire actual Raspberry Pi user been negatively affected by this yet? Or is this an Ed Felten/cryogenic cooling/ Silk Road takedown thing? A good case and t...
by scruss
Mon Jan 14, 2019 4:18 am
Forum: Troubleshooting
Topic: Pi lost some capability
Replies: 9
Views: 235

Re: Pi lost some capability

Raspbian doesn't use ntpd directly any more. Take a look at systemd-timesyncd.service: man systemd-timesyncd.service
by scruss
Sat Jan 12, 2019 2:44 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1270
Views: 39515

Re: Why Avoid BASIC on RPi?

I have never heard of FortranG. It seems I've got the name slightly wrong as I'm unable to find any reference by searching. FORTRAN H and FORTRAN G were S/360 things. In conversation with the "A FORTRAN Coloring Book" author, he reminisced that one had COMPLEX and the other didn't. He also admitted...
by scruss
Fri Jan 11, 2019 4:20 am
Forum: Beginners
Topic: Install a thermal printer driver on RBerry PI 3 B+
Replies: 3
Views: 86

Re: Install a thermal printer driver on RBerry PI 3 B+

Yeah, that driver doesn't work for the 80 mm printers, though
by scruss
Thu Jan 10, 2019 6:35 pm
Forum: Raspbian
Topic: Website download page - why no file sizes?
Replies: 11
Views: 375

Re: Website download page - why no file sizes?

It would never occur to me to try to download something the size of an entire operating system by clicking a link in a web browser. You can click "cancel" before it downloads. But yeah, the plain directory listing is there if you need it. I'd usually suggest HEAD from libwww-perl or wget --spider ,...
by scruss
Thu Jan 10, 2019 6:23 pm
Forum: Python
Topic: Output Print To a file - webpage info
Replies: 8
Views: 363

Re: Output Print To a file - webpage info

also isit possible to output everything done in terminal to a webpage or file ? (this is not needed really just wanted to ask in this post) $ man script SCRIPT(1) User Commands SCRIPT(1) NAME script - make typescript of terminal session SYNOPSIS script [options] [file] DESCRIPTION script makes a ty...
by scruss
Wed Jan 09, 2019 11:38 pm
Forum: General discussion
Topic: Printing to an RS232 using a USB cable
Replies: 16
Views: 704

Re: Printing to an RS232 using a USB cable

look at dmesg output, or

Code: Select all

ls /dev/tty*
If there's only one, it'll be /dev/ttyUSB0, and that's your port.
by scruss
Wed Jan 09, 2019 6:51 pm
Forum: General discussion
Topic: Any recommendations for a pre-amp/preamp
Replies: 7
Views: 163

Re: Any recommendations for a pre-amp/preamp

I've tried several over the years. The one I ended up keeping has USB, so not what you want. I find the USB feature useful, as it means I can monitor the turntable without messing with wiring. Got it from an online place in the US somewhere called "Phono Preamps" or something similarly imaginative. ...
by scruss
Wed Jan 09, 2019 4:09 pm
Forum: General discussion
Topic: Printing to an RS232 using a USB cable
Replies: 16
Views: 704

Re: Printing to an RS232 using a USB cable

Installing system-config-printer is, for me, much better than trying to config the thing from the CUPS web admin. It does need a GUI and will be one of the few times you're prompted for your user password. Install it with: sudo apt install system-config-printer LPD is for network printers not serial...
by scruss
Wed Jan 09, 2019 3:50 am
Forum: Beginners
Topic: Problematic PiNN Instalation
Replies: 5
Views: 167

Re: Problematic PiNN Instalation

procount wrote:
Wed Jan 09, 2019 1:06 am
Answered on github
which not everyone might know about to find the resolution: https://github.com/procount/pinn/issues/217

this board is probably the most trusted for Raspberry Pi answers
by scruss
Mon Jan 07, 2019 9:14 pm
Forum: Troubleshooting
Topic: Stuck! Cannot SSH or Ping with new Pi3 on Stretch
Replies: 10
Views: 168

Re: Stuck! Cannot SSH or Ping with new Pi3 on Stretch

it would be really helpful to post the output of ifconfig rather than vague statements about what your Raspberry Pi can ‘see’. The more we know, the less we have to guess.
by scruss
Mon Jan 07, 2019 7:47 pm
Forum: Beginners
Topic: Getting Started GUIZero
Replies: 7
Views: 171

Re: Getting Started GUIZero

maybe try this again? $ sudo pip3 install guizero Collecting guizero Downloading https://files.pythonhosted.org/packages/1e/55/812fc7731565560dd76d0586cb563ccf13236818c3df7faaee381d898507/guizero-0.5.4-py3-none-any.whl Collecting pillow>=4.3.0 (from guizero) Downloading https://files.pythonhosted.or...
by scruss
Mon Jan 07, 2019 7:41 pm
Forum: Troubleshooting
Topic: Stuck! Cannot SSH or Ping with new Pi3 on Stretch
Replies: 10
Views: 168

Re: Stuck! Cannot SSH or Ping with new Pi3 on Stretch

Jammo wrote:
Mon Jan 07, 2019 5:19 pm
… I was trying to force the Pi to connect to my mobile hotspot in preference to the home wifi. After this, I lost visibility of the Pi on the LAN.
That would do it. If you're connected to the hotspot on your mobile's cellular network, you've left your local LAN.
by scruss
Mon Jan 07, 2019 3:03 pm
Forum: Troubleshooting
Topic: Ssh with GUI
Replies: 8
Views: 432

Re: Ssh with GUI

You can create ~/.ssh/config with a text editor and put the lines Host * XAuthLocation /opt/X11/bin/xauth in it. It's a useful config file to know about. You can put user names in it, so for my breadboard Zero I have Host=naan user=pi so I never need to type user names. It's up there with knowing ab...
by scruss
Mon Jan 07, 2019 1:55 am
Forum: Troubleshooting
Topic: Ssh with GUI
Replies: 8
Views: 432

Re: Ssh with GUI

I had to try this on my old Macbook to remember what you need to do. You might not have noticed this, but you were probably getting a message Warning: untrusted X11 forwarding setup failed: xauth key data not generated every time you did ssh -X . This is because XQuartz's xauth program lives in a no...
by scruss
Mon Jan 07, 2019 1:21 am
Forum: Raspbian
Topic: Correct version of DBI for perl 5,24
Replies: 20
Views: 267

Re: Correct version of DBI for perl 5,24

You mean this one? viewtopic.php?p=1237085#p1237432 ?

Code: Select all

use mysql;
update user set plugin='' where User='root';
flush privileges;
It's magic tricks like that that put me off using anything but SQLite.
by scruss
Sun Jan 06, 2019 6:11 pm
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 49
Views: 3278

Re: A Pi Pie Chart

or there's the possibility that merge sort is hitting the G5's slower RAM (it's only PC2-4200 DDR2), while Lorenz is able to fit everything in cache and take advantage of the PowerPC 970MP's multiple (and fairly powerful, for its age) floating point units. I genuinely have very little idea how these...
by scruss
Sat Jan 05, 2019 10:12 pm
Forum: Raspbian
Topic: Correct version of DBI for perl 5,24
Replies: 20
Views: 267

Re: Correct version of DBI for perl 5,24

TBH if you can manage another card, run a fresh Stretch image download on the 3B+. Saves much time, but I understand it's not an option for everyone. A stock Jessie image won't run on a 3B+
by scruss
Sat Jan 05, 2019 10:10 pm
Forum: Troubleshooting
Topic: Ssh with GUI
Replies: 8
Views: 432

Re: Ssh with GUI

Remote X doesn't do whole desktops too well, but individual windows should be openable. I just ran leafpad over ssh -X, and it worked, although DISPLAY had set itself to localhost:10.0 . If you want the whole desktop, VNC is better and comes installed on Raspbian by default. XQuartz can be a bit wei...
by scruss
Sat Jan 05, 2019 8:19 pm
Forum: Raspbian
Topic: Correct version of DBI for perl 5,24
Replies: 20
Views: 267

Re: Correct version of DBI for perl 5,24

did you check if your card was good, though? I meant to say I was doing the tests on a 3B+, so there may be a hardware issue. Equally, make sure you use a power supply that's up to the job. reformat the card on a mac or pc using the official SD Memory Card Formatter in full/slow format mode, then te...

Go to advanced search