Go to advanced search

by Bosse_B
Tue Nov 05, 2019 3:02 pm
Forum: General discussion
Topic: Building an RPi4 HAT - how to use the serial port
Replies: 4
Views: 1200

Re: Building an RPi4 (HAT) - how to use the serial port

Thanks for the reply, I just got back home to read it... So, I did not know that "HAT" is a term defining a specific type of add-on board including an identification EEPROM on board for the operating system to use to set up drivers and such.... Since I am not intending for my board to ever be sold s...
by Bosse_B
Tue Nov 05, 2019 10:32 am
Forum: General discussion
Topic: Building an RPi4 HAT - how to use the serial port
Replies: 4
Views: 1200

Building an RPi4 HAT - how to use the serial port

I am now going to design a HAT PCB, which will plug into the GPIO pins (2x20 connector). I will use this for a project where I have used an USB/RS232 converter to implement the RS232 serial connection during prototyping. But now since I am making the PCB I thought that the built-in serial port would...
by Bosse_B
Mon Nov 04, 2019 7:37 pm
Forum: General discussion
Topic: My RPi4B locks up about once a day...
Replies: 1
Views: 384

My RPi4B locks up about once a day...

I have a problem with my RPi4B-4GB RAM model in that it seems to lock up approximately once every 1-2 days. What happens is that suddenly my PuTTY window connected to the RPi4 plings and shows a loss of network connection to the RPi. The RPi is not rebooting, it seems just to have hung... Waiting a ...
by Bosse_B
Mon Nov 04, 2019 11:11 am
Forum: General discussion
Topic: How to view coded channels using tvheadend on RPi4
Replies: 4
Views: 712

Re: How to view coded channels using tvheadend on RPi4

The reason I am looking at this is that my HUMAX digital TV PVRT box (Swedish version BXR HD+2 with 500GB disk) is beginning to act up and there are no such devices available for sale anymore I have found. Everything seems to be geared towards the Internet nowadays so we who are living (part of the ...
by Bosse_B
Mon Nov 04, 2019 8:56 am
Forum: General discussion
Topic: How to view coded channels using tvheadend on RPi4
Replies: 4
Views: 712

How to view coded channels using tvheadend on RPi4

I am looking at a new RPi4 project: Building a RPi based PVRT for DVB-T and DVB-T2 using the Raspberry Pi TV HAT So far I have found a good HOWTO at PiHut, so it looks like it will be doable at least. But what I would like to know is if there is a way to use a provider's PCMCIA card to decode protec...
by Bosse_B
Wed Oct 30, 2019 8:20 pm
Forum: Raspberry Pi OS
Topic: Sharing my Windows OpenVPN connection to an RPi4?
Replies: 9
Views: 661

Re: Sharing my Windows OpenVPN connection to an RPi4?

There is also some shell trick that a lot of system scripts are using, you can get the PID of the last command by the variable "$!" #!/bin/bash my-app & echo $! >>/tmp/my-app.pid And then this value can be read back and used to kill just that process. #!/bin/bash kill $(cat /tmp/my-app.pid) Shouldn...
by Bosse_B
Wed Oct 30, 2019 6:14 pm
Forum: Raspberry Pi OS
Topic: Sharing my Windows OpenVPN connection to an RPi4?
Replies: 9
Views: 661

Re: Sharing my Windows OpenVPN connection to an RPi4?

So I have gotten it to work half way now. This is how I did it: - Installed openvpn via apt (sudo apt install openvpn) - Copied my ovpn file to /etc/openvpn/client (sudo cp myname.ovpn /etc/openvpn/client - Created a file (sudo nano /etc/openvpn/client/auth.txt) and entered the password as a single ...
by Bosse_B
Wed Oct 30, 2019 2:35 pm
Forum: Raspberry Pi OS
Topic: Sharing my Windows OpenVPN connection to an RPi4?
Replies: 9
Views: 661

Re: Sharing my Windows OpenVPN connection to an RPi4?

systemctl status | grep vpn If you find the correct name (my guess openvpn-client) then, you can run sudo systemctl stop name.service sudo systemctl start name.service sudo systemctl disable name.service The "disable" command should prevent it to start automatically on every boot if you dont want t...
by Bosse_B
Wed Oct 30, 2019 10:47 am
Forum: Raspberry Pi OS
Topic: Sharing my Windows OpenVPN connection to an RPi4?
Replies: 9
Views: 661

Re: Sharing my Windows OpenVPN connection to an RPi4?

I have failed to find a way on the RPi to connect the tunnel only when needed and pull it down when no longer needed. This sounds like the most sensible solution. I have never tried OpenVPN but I would think that it runs as a service that can be started/stopped. ( Which version or Raspbian are you ...
by Bosse_B
Wed Oct 30, 2019 9:37 am
Forum: Raspberry Pi OS
Topic: Sharing my Windows OpenVPN connection to an RPi4?
Replies: 9
Views: 661

Sharing my Windows OpenVPN connection to an RPi4?

Is it possible to somehow share the OpenVPN connection I have on my Windows laptop to an RPi4 sitting on the same home LAN as the laptop? The reason is that I am programming for the RPi on the RPi itself (using FreePascal) and I want to have the code managed through subversion at our company office....
by Bosse_B
Mon Oct 28, 2019 6:25 pm
Forum: Troubleshooting
Topic: How to install network HP printer
Replies: 7
Views: 7391

Re: How to install network HP printer

Done, working. I can see the printer I set up using the web interface. Question: I have an HP Color Laserjet Pro MFP M277dw connected by WiFi to my LAN. For some reason there are now two printers in the config GUI after I installed it as described above. Why is there a second copy of the same printe...
by Bosse_B
Mon Oct 28, 2019 6:14 pm
Forum: Troubleshooting
Topic: How to install network HP printer
Replies: 7
Views: 7391

Re: How to install network HP printer

fruitoftheloom wrote:
Mon Oct 28, 2019 1:11 pm
these days I also use system-config-printer which is a a GUI for CUPS, makes it even easier afaiac
Is system-config-printer a separate install from cups? The command

Code: Select all

which system-config-printer
did not find anything on my RPi4, so it is not on path in any case...
by Bosse_B
Mon Oct 28, 2019 11:21 am
Forum: Troubleshooting
Topic: How to install network HP printer
Replies: 7
Views: 7391

Re: How to install network HP printer

I know it's an old thread, but I wanted to say THANK YOU too!
I have been struggling with the non-working printer setup pages from "instructables" and "howtogeek" and it never worked.
This on the other hand led me straight at the goal in a few minutes!
Much appreciated!
:D
by Bosse_B
Mon Oct 28, 2019 9:18 am
Forum: General discussion
Topic: Connecting the RPi to mobile network....
Replies: 20
Views: 1898

Re: Connecting the RPi to mobile network....

I do have experience with the ESP8266 modules, in fact I have built quite a number of projects using these IoT wonders and Arduino environment. But I have coded my own functions to start up in connected state or as a WiFi AP for configuration purposes. Not using WiFiManager since it is not obvious h...
by Bosse_B
Sun Oct 27, 2019 11:16 pm
Forum: General discussion
Topic: How to backup/restore my RPi4?
Replies: 6
Views: 1326

Re: How to backup/restore my RPi4?

I think I am OK now. What I did: - Created a new Raspbian machine using a brand new SDcard with a Sept 26 full image - Logged on via ssh (PuTTY) and did all of the initial config stuff for a new Raspbian instance including upgrading via sudo apt update sudo apt upgrade - Mounted the old SDcard via U...
by Bosse_B
Sun Oct 27, 2019 7:37 pm
Forum: General discussion
Topic: How to backup/restore my RPi4?
Replies: 6
Views: 1326

Re: How to backup/restore my RPi4?

Why would you like to wipe the entire SD card after broken WiFi settings? I'm using the systemback.sh script for backup and restore the system and the user's configuration files. I definitely wouldn't wipe the SD card when I want to try a new stuff inside the OS. Well actually what I did was instea...
by Bosse_B
Sun Oct 27, 2019 11:35 am
Forum: General discussion
Topic: How to backup/restore my RPi4?
Replies: 6
Views: 1326

How to backup/restore my RPi4?

Backup/Restore is creeping up at me now since I am having issues with broken WiFi settings on my RPi4 with 4GB RAM. I am looking for a way to back up my existing installation and then wipe the SDCard and start over with a new image. I need to get all of my installed stuff back, except for the change...
by Bosse_B
Sun Oct 27, 2019 10:23 am
Forum: General discussion
Topic: Raspberry Pi 4 as a primary desktop computer?
Replies: 53
Views: 9166

Re: Raspberry Pi 4 as a primary desktop computer?

Just a question regarding speed/swap: Will the RPi4B-4G model benefit from attaching an SSD drive (say 128 GB) and using that as the main drive (especially putting swap on it)? Is connecting it via USB going to be a bottleneck? Looking for a computer replacement for my wife since her old Win7 laptop...
by Bosse_B
Sat Oct 26, 2019 3:54 pm
Forum: General discussion
Topic: How to repair WiFi on RPi4 with Buster?
Replies: 4
Views: 627

Re: How to repair WiFi on RPi4 with Buster?

OK, so now I have successfully started up my RPii4 with a Buster-Lite SD image 2019-09-26. The WiFi works OK as does Ethernet. In fact I added a wpa_supplicant.conf file to the /boot section (FAT) on the SDcard before I booted it up. I entered my own WiFi network settings there and the RPi4 automati...
by Bosse_B
Sat Oct 26, 2019 9:58 am
Forum: General discussion
Topic: How to repair WiFi on RPi4 with Buster?
Replies: 4
Views: 627

Re: How to repair WiFi on RPi4 with Buster?

Thanks for the quick reply! I had already done apt upgrade so now I also tried the dist-upgrade. But after it was done and it had rebooted the same problem is present... Maybe Raspbian does not allow simultaneous connection by Ethernet and WiFi? I could check the hardware by using a new SD-card, but...
by Bosse_B
Sat Oct 26, 2019 9:42 am
Forum: General discussion
Topic: How to repair WiFi on RPi4 with Buster?
Replies: 4
Views: 627

How to repair WiFi on RPi4 with Buster?

I am in a bit of a problem now... A couple of weeks ago I started experimentation in order to set up my RPi4 as a WiFi AP while connected by mobile network. My thread about this is here . I did not have a mobile connection at the time so I was on wired Ethernet and used VNC and PuTTY to do the exper...
by Bosse_B
Wed Oct 16, 2019 9:14 pm
Forum: Raspberry Pi OS
Topic: How to connect WiFi on RPi4 and Raspbian Buster on startup?
Replies: 4
Views: 13996

Re: How to connect WiFi on RPi4 and Raspbian Buster on startup?

Problem: If I do this and it actually does connect to WiFi, then I won't be able to know its IP address. So I cannot connect to it with ssh (PuTTy) as I normally do. I do have a script that runs 1 min after boot and which sends me an email containing the IP addess it is running on. But that of cours...
by Bosse_B
Wed Oct 16, 2019 7:49 pm
Forum: Raspberry Pi OS
Topic: How to connect WiFi on RPi4 and Raspbian Buster on startup?
Replies: 4
Views: 13996

How to connect WiFi on RPi4 and Raspbian Buster on startup?

I have a RPi4 which runs Buster and is connected by wire to the netywork. I am trying to configure it to also connect via WiFi in preparation for moving it to a location where wired network is not available. The RPi is headless, the only access is via PuTTY command line. What I have done is to edit ...
by Bosse_B
Mon Oct 14, 2019 2:03 pm
Forum: General discussion
Topic: Connecting the RPi to mobile network....
Replies: 20
Views: 1898

Re: Connecting the RPi to mobile network....

using the WiFi AP as a config tool connecting to the RPi only (no further routing at all). Maybe it is time to regroup. From a clean Raspbian install, apply this Well, as described above I actually have used this tutorial and it got me to an unstable situation. The problem now is how can I revert t...
by Bosse_B
Mon Oct 14, 2019 1:38 pm
Forum: General discussion
Topic: raspi-config cannot set wifi country on RPi4
Replies: 3
Views: 529

Re: raspi-config cannot set wifi country on RPi4

What can I do to fix this? (I am trying to set up my RPi as a WiFi AP). Use the documentation provided by Raspberry Pi instead: it doesn't require using raspi-config. https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md I already used this method and it did not work. Wou...

Go to advanced search