Showing posts with label Raspberry Pi OS. Show all posts
Showing posts with label Raspberry Pi OS. Show all posts

May 10, 2022

Wine, Windows apps on Linux, Raspberry

What is Wine

The OpenSource project, themselves, explains it as; 

Wine (originally an acronym for "Wine Is Not an Emulator") is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, macOS, & BSD

So why ? In my case, I'm just running macOS and Linux, I had and old gadget where I had to change the settings and this could only be made with a windows program.

April 16, 2022

Raspberry 4 USB SSD boot in 60 seconds !

Updated 2022-04-16 !

Yes, it's really true ! Thats the maximum time it takes to write the Raspberry Pi(RPi) OS to a bootable USB SSD and maybe read this post ?

If you have a RPi 4 and a USB SSD or other USB drive, that works as a boot media, just use the RPi imager which can write the image direct to the USB  storage. But check this first.

Having an older RPi ? Use this post instead.

If you already have a SD card with working applications and you want to "transfer", copy/clone, them to a bootable SSD use this post.

January 23, 2022

Read & write Linux, ext4, volumes with Windows & Mac

In an other post I explained how to access and edit the data on an USB attached drive with the Linux "standard" ext4 filesystem. 

In this post I will explain how to read, write or add files using Windows, File explorer, or Mac, Finder, without third party software !

You "just" need a Linux machine, but since you want to access an ext4 filesystem there probably are a machine in the surroundings ?

In this post I will use a "simple" Raspberry Pi(RPi) and the ext4 media attached to one of the USB ports.

January 10, 2022

Raspberry, edit config or add files before boot

The actual use case was that I have a Raspberry Pi(RPi) sourcing Vesselfinder with AIS data from nearby. I wanted to change/test a new configuration but on the other hand I didn't want to take the RPi down, during a longer period, since it's an online service.

So the solution was to make a bootable clone of the actual application and test with a second RPi. The major obstacle was that I then would have 2 hosts, with the same hostname, which will mess up the local network.

So how to change the host name on the cloned SD card before I'm using it in the second RPi ?

Another post on how to read and write Linux drives with Windows/MacOS

October 16, 2021

Raspberry, restart network, or reboot, at ping failure


Using a Raspberry Pi Zero(RPi), with wifi, I sometimes have problem that the WiFi connection is lost. This is due to that, at our boat, we are using the Teltonika RUT 240 router. The router just have one receiver/transmitter, LAN and WAN WiFi are shared, and in some use cases the WiFi will temporarily be disconnected. To restart the WiFi quick the following solution is used.

This post will cover a solution, a bash script, with inspiration from this blogpost, but with some fine tuning. 😉
 
Another way could be using the watchdog function, described here, with reboot.


October 10, 2020

Raspberry and external storage/disk

There is a post, link will follow below, from the Raspberry Org site which is very informativ and handles how to connect your external hard disk, SSD, or USB stick to any of the USB ports on the Raspberry Pi(RPi), and "mount" the file system to access the data stored on it. 

So there is no need for a rewrite and this post will therefore continue with how to connect to a Windows server, (Other SMB or Samba servers will also work), both temporary and automagically at boot. 


Check this post RPi booting from an USB drive !


March 28, 2020

Raspberry LCD displays


There are many displays for Raspberry Pi and following some of the manufacturers instructions isn't always so easy.

But there are scripts available which will make it very simple.

As an example, in this post, I will install the LCD touch display from Joy-IT RB-TFT3.2-V2. The size is 3,2" with a resolution of 320 x 240, has a touch display and comes with 3 buttons.

August 26, 2018

Raspbian Jessie to Stretch upgrade

Upgrading from Jessie to Stretch can break the entire system so ALLWAYS do a backup.

There are several sites/posts with "how to" information but the Raspberry site, the Linuxconfig site and the Superuser site(where You can find more details about the upgrade), made the base for this post. 

May 15, 2017

RPi, Raspberry image backup to Mac

Updated 2018-02-14 !

This backup method will make a copy/image of the whole card even if there is very little data on it. So if the card is 16Gb, the backup file also will be 16Gb. On the other hand You can ZIP the image file to save space.

Another, maybe smarter ?,  backup method is described here.