Go to advanced search

by DougieLawson
Sat Jul 20, 2019 8:41 am
Forum: Troubleshooting
Topic: Boot stuck at rc-local.service
Replies: 1
Views: 28

Re: Boot stuck at rc-local.service

What did you put in /etc/rc.local? Try this: [CTRL]+[ALT]+[PRT SC] [R] [CTRL]+[ALT]+[F2] That will terminate the rc.local process and give you a command line login screen. If that doesn't work you'll need a second SDCard and a USB SDCard reader. Boot plain Raspbian from the second SDCard as a "rescu...
by DougieLawson
Sat Jul 20, 2019 7:50 am
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 188
Views: 4475

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

Java - write once, debug everywhere! The opposite of that is: Java, that's C++ without the ammunition and the smoking weapon. You don't get the same level of opportunity to create pointer errors with Java because there's a single, clean, clearly defined interface for passing data between methods. W...
by DougieLawson
Sat Jul 20, 2019 7:40 am
Forum: Beginners
Topic: Volume is dirty (External HDD - NTFS)
Replies: 3
Views: 43

Re: Volume is dirty (External HDD - NTFS)

To clean a NTFS drive you should mount it in a Windows system and run the file system checking GUI (right click on the drive icon select the tools menu). There doesn't appear to be any viable NTFS fsck on Linux (and there's nothing in the Raspbian repo).
by DougieLawson
Sat Jul 20, 2019 7:32 am
Forum: Official Foundation Display
Topic: Disconnect RPi LCD Screen
Replies: 4
Views: 75

Re: Disconnect RPi LCD Screen

Raspberry Pis prior to Pi 4B could only drive one display. If the DSI connector has a connection all other monitors are disconnected. You need to remove the cable from the DSI port. Wrong on two counts. First, there is a thread in General on beta testing concurrent use of fb0 and fb1, permitting tw...
by DougieLawson
Sat Jul 20, 2019 7:22 am
Forum: Compute Module
Topic: File under: the gods only know why
Replies: 2
Views: 74

Re: File under: the gods only know why

Device (8,2) is /dev/sda2

What's in /boot/cmdline.txt?
What's in /etc/fstab?

Have you checked the PARTUUIDs using a blkid command?
by DougieLawson
Thu Jul 18, 2019 6:03 pm
Forum: Troubleshooting
Topic: Raspberry Pi Wifi turns off and not found (BusterP
Replies: 6
Views: 122

Re: Raspberry Pi Wifi turns off and not found (BusterP

DarkPlatinum wrote:
Thu Jul 18, 2019 5:52 pm
Is the rpi-update stable or should I just wait for a normal update?
That rpi-update has been stable on my Raspberry since 07:42BST this morning.
by DougieLawson
Thu Jul 18, 2019 5:06 pm
Forum: HATs and other add-ons
Topic: No tvheadend
Replies: 3
Views: 224

Re: No tvheadend

At the moment your only option for tvheadend is to install it from Stretch /etc/apt/sources.list deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi # Uncomment line below then 'apt-get update'...
by DougieLawson
Thu Jul 18, 2019 4:54 pm
Forum: General discussion
Topic: Raspberry Pi Touchscreen Wifi Interface For Touchscreen
Replies: 1
Views: 39

Re: Raspberry Pi Touchscreen Wifi Interface For Touchscreen

http://florence.sourceforge.net/english.html pi@intrepid:~ $ apt show florence Package: florence Version: 0.6.3-1.2 Priority: optional Section: x11 Maintainer: Jérémy Bobbio <lunar@debian.org> Installed-Size: 1,470 kB Depends: dconf-gsettings-backend | gsettings-backend, libatk1.0-0 (>= 1.12.4), lib...
by DougieLawson
Thu Jul 18, 2019 4:17 pm
Forum: Troubleshooting
Topic: Raspberry Pi Wifi turns off and not found (BusterP
Replies: 6
Views: 122

Re: Raspberry Pi Wifi turns off and not found (BusterP

Hello, after recently upgrading from stretch to buster on my Pi 3B+ Did you start with a clean Buster install, or upgrade Stretch to Buster? Neither. That's Stretch with the latest rpi-update kernel. So the temporary fix on Buster is sudo apt install rpi-update # not installed by default to discour...
by DougieLawson
Thu Jul 18, 2019 3:57 pm
Forum: General discussion
Topic: Usefull / good programs to have on your Pi
Replies: 22
Views: 928

Re: Usefull / good programs to have on your Pi

HermannSW wrote:
Thu Jul 18, 2019 7:32 am

I don't need to install an editor since "vi" I use since 1990 is available by default ;-)
But that version is severely crippled. So I improve it with sudo apt install vim to get from vim.tiny to full fat, fully featured vim.
by DougieLawson
Thu Jul 18, 2019 7:16 am
Forum: Troubleshooting
Topic: Booting back from microSD after USB boot
Replies: 3
Views: 87

Re: Booting back from microSD after USB boot

Try sudo dd if=/dev/mmcblk0 of=/dev/sda bs=50M That does a byte for byte copy from your SDCard (/dev/mmcblk0) and splats it over your hard-drive (/dev/sda). Beware, it takes no prisoners if /dev/sda isn't the right device you WILL trash it. It also copies the partition table so the device PARTUUID w...
by DougieLawson
Thu Jul 18, 2019 6:08 am
Forum: General discussion
Topic: Raspberry PI Web Server
Replies: 19
Views: 634

Re: Raspberry PI Web Server

If you move the port the things that find your system are more hostile (not just the script kiddies) if they get in worse things will happen. It's much easier to leave it at port 22 and spend your time ensuring it's secured from every unauthorised break-in attempt. My fail2ban rules have no time-out...
by DougieLawson
Thu Jul 18, 2019 5:54 am
Forum: Troubleshooting
Topic: Can I define a new mode for raspivid?
Replies: 2
Views: 62

Re: Can I define a new mode for raspivid?

The source code for raspivid is here: https://github.com/raspberrypi/userland

Fill your boots.
by DougieLawson
Thu Jul 18, 2019 5:52 am
Forum: General discussion
Topic: Use SD card for memory
Replies: 6
Views: 250

Re: Use SD card for memory

Or if the card is big enough, remove dphys-swapfile at all and create a real swap partition. Why do you keep recommending this? It's no different. The swap file or swap partition is a file or filesystem in which to place a bucket of memory pages. How it's created doesn't affect how the kernel uses ...
by DougieLawson
Thu Jul 18, 2019 5:42 am
Forum: Troubleshooting
Topic: Can't get SSH to enable on headless RPi3.
Replies: 6
Views: 118

Re: Can't get SSH to enable on headless RPi3.

I place an empty file called "ssh" in the boot partition, not the boot folder. Is this NOOBS or plain Raspbian? With plain Raspbian you write the SDCard with Etcher (Linux, Mac or Windows) or DD (Linux) or Win32DiskImager (Windows). Eject it. Re-insert it and touch a file on the first partition (Li...
by DougieLawson
Wed Jul 17, 2019 11:04 pm
Forum: General discussion
Topic: Raspberry PI Web Server
Replies: 19
Views: 634

Re: Raspberry PI Web Server

Changing from port 22 is a pain in tail, every SSH client defaults to port 22. If there's an intrusion detector that's active and effective then having a few hackers come knocking on the door and getting turned away isn't a problem, it's a minor inconvenience (until it blocks me). Disabling ssh with...
by DougieLawson
Wed Jul 17, 2019 10:19 pm
Forum: Beginners
Topic: Raspberry Pi 7" touchscreen not getting started
Replies: 3
Views: 71

Re: Raspberry Pi 7" touchscreen not getting started

You need power and the ribbon cable. You do NOT need the green/yellow wires at all on an RPi4. If you add them your display WILL NOT WORK. He's trying to power the screen from the Pi. Using two wires to ground and +5v is one way to do that. That's your assumption from the fuzzy words the OP wrote. ...
by DougieLawson
Wed Jul 17, 2019 10:06 pm
Forum: Raspbian
Topic: Kernel updating and Stretch being bumped to 4.19.57
Replies: 2
Views: 125

Re: Kernel updating and Stretch being bumped to 4.19.57

The apt package(s) have the stable / tested kernel and bootcode. rpi-update gets whatever the RPF folks are testing, developing and debugging this week. If you don't know how to recover from an unbootable SDCard in less than 20 minutes you should NEVER run rpi-update. If you want to be a kernel test...
by DougieLawson
Wed Jul 17, 2019 8:37 pm
Forum: Advanced users
Topic: Disable all boot text in Buster
Replies: 7
Views: 435

Re: Disable all boot text in Buster

There's no /etc/inittab with Systemd.

Think again.
by DougieLawson
Wed Jul 17, 2019 8:34 pm
Forum: Beginners
Topic: Help with Pi 1b
Replies: 3
Views: 78

Re: Help with Pi 1b

Try using Balena Etcher to write plain Raspbian to a genuine (not cheap Chinese fake) SDCard.
by DougieLawson
Wed Jul 17, 2019 8:27 pm
Forum: Beginners
Topic: Raspberry Pi 7" touchscreen not getting started
Replies: 3
Views: 71

Re: Raspberry Pi 7" touchscreen not getting started

You need power and the ribbon cable. You do NOT need the green/yellow wires at all on an RPi4. If you add them your display WILL NOT WORK.
by DougieLawson
Tue Jul 16, 2019 10:23 pm
Forum: Troubleshooting
Topic: Can't do rpi-update in crosscompile for buster
Replies: 4
Views: 196

Re: Can't do rpi-update in crosscompile for buster

There is no running os for crosscompile, but seems the newest rpi-update in buster will do the check-partition which is not possible. For temp, I just comment the script self-update and check_partition You may do better to post in your native language (which clearly isn't English) and avoid sufferi...
by DougieLawson
Tue Jul 16, 2019 10:16 pm
Forum: Raspbian
Topic: Tvheadend for Raspbian Buster?
Replies: 16
Views: 1214

Re: Tvheadend for Raspbian Buster?

grkblood13 wrote:
Sun Jul 14, 2019 1:06 pm
The following link provides instructions for installing on Buster. Be sure to run sudo apt-get -f install after installation to resolve unmet deps.

https://markclarkstone.co.uk/downloads/rpi/readme.txt
That doesn't build on Raspbian Buster on my RPi3B (Raspbian 2019-07-10 version).
by DougieLawson
Tue Jul 16, 2019 8:36 pm
Forum: Troubleshooting
Topic: Crontab issues on Raspberry Pi 4 with Buster
Replies: 7
Views: 199

Re: Crontab issues on Raspberry Pi 4 with Buster

If you use EDITOR=nano crontab -e it will switch to nano. There's also select-editor which allows you to choose your preferred EDITOR variable setting.

Go to advanced search