Go to advanced search

by bls
Sun Jun 07, 2020 12:43 am
Forum: Beginners
Topic: OpenVPN Access Server
Replies: 2
Views: 664

Re: OpenVPN Access Server

There are several VPN servers that work quite well on the Pi, with solid client support as well. What are your requirements?
by bls
Wed Jun 03, 2020 11:17 pm
Forum: General discussion
Topic: Will the 64-bit beta OS be upgradable to a stable release in the furture?
Replies: 16
Views: 691

Re: Will the 64-bit beta OS be upgradable to a stable release in the furture?

The best thing with a fresh install is you'll get rid of all the clag and cruft that's accumulated since the last fresh install. Funny! Back in the Windows NT 3.1 days it was common knowledge that fresh installs were the only way to go for this exact reason. Not any more. I've upgraded my Win10 des...
by bls
Wed Jun 03, 2020 2:20 pm
Forum: General discussion
Topic: Terminal log in screen message
Replies: 4
Views: 164

Re: Terminal log in screen message

Since you're not using WiFi, the following command will eliminate the message. sudo mv /etc/wifi-check.sh /etc/.wifi-check.sh Renaming it to a . file "hides" it so it won't be run on login. You're missing the profile.d bit in that path Oops...I shouldn't post before my 3rd cup of coffee :lol: Corre...
by bls
Wed Jun 03, 2020 1:55 pm
Forum: General discussion
Topic: Terminal log in screen message
Replies: 4
Views: 164

Re: Terminal log in screen message

Since you're not using WiFi, the following command will eliminate the message.

Code: Select all

sudo mv /etc/wifi-check.sh /etc/.wifi-check.sh
Renaming it to a . file "hides" it so it won't be run on login.
by bls
Mon Jun 01, 2020 2:19 pm
Forum: Advanced users
Topic: What is the most reliable way (circa mid 2020) to run a firstboot script on Raspberry OS or Ubuntu?
Replies: 3
Views: 222

Re: What is the most reliable way (circa mid 2020) to run a firstboot script on Raspberry OS or Ubuntu?

There are several options mentioned in this discussion: https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=184248 Saving you a bit of reading time, here are two newer implementations mentioned in that thread: https://gitlab.com/JimDanner/pi-boot-script and https://github.com/gitbls/1piboot For ...
by bls
Mon Jun 01, 2020 2:46 am
Forum: Other programming languages
Topic: BASH script to check for Pi hardware and/or Raspbian
Replies: 13
Views: 8313

Re: BASH script to check for Pi hardware and/or Raspbian

You could also look at /etc/os-release. On the very latest 2020-05-27 release, /etc/os-release has rpi44~# cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="htt...
by bls
Mon Jun 01, 2020 2:41 am
Forum: Beginners
Topic: Apache server not starting at boot (solved)
Replies: 2
Views: 104

Re: Apache server not starting at boot

Code: Select all

sudo systemctl enable --now apache2
Enable sets the service (apache2) to start automatically when the system reboots. --now will start the service right now, if it isn't started.
by bls
Sun May 31, 2020 6:18 pm
Forum: Raspberry Pi OS
Topic: Shutdown rpi4 in chromium after upgrade raspbian
Replies: 13
Views: 831

Re: Shutdown rpi4 in chromium after upgrade raspbian

I have the same issue playing some but not all YouTube videos (NASA live Chanel does this) using SSD boot with new PI OS 32 bit installation (using kernel version 4). Needs power off and restart to fix. I have a 4-line LCD connected showing CPU temps etc and this freezes so I2C also gone down when ...
by bls
Sun May 31, 2020 2:55 pm
Forum: Beginners
Topic: I need bash (sh) help
Replies: 12
Views: 347

Re: I need bash (sh) help

Happy to help. A common source of confusion with shell scripts is the difference between a variable name and it's value. For example read -p "Enter value" FOO takes the user input and stores it in the variable $FOO echo $FOO prints the value. You almost always have to include the $ character. My sc...
by bls
Sat May 30, 2020 9:20 pm
Forum: Beginners
Topic: Start TightVNC Server at Boot [obsolete]
Replies: 8
Views: 11905

Re: Start TightVNC Server at Boot

This may not meet your need, but https://github.com/gitbls/RPiVNCHowTo . It enables you to set up virtual VNC desktops quickly and easily, with multiple display dimensions. The newly-created desktop will have to login (via whatever display manager you have installed (e.g., lightdm, xdm, etc). The VN...
by bls
Sat May 30, 2020 6:34 pm
Forum: Troubleshooting
Topic: Copying a lot of files to the Raspberry Pi fails and leads to minute-long unresponsiveness
Replies: 9
Views: 329

Re: Copying a lot of files to the Raspberry Pi fails and leads to minute-long unresponsiveness

Wondering if this is the old Wifi dropping problem. Well, not so old, I'm still seeing it. Does your WiFi drop every 5 or 6 minutes, regardless of whether you're doing a copy to the Pi or not? What do you see if you grep the log for 'wlan0: carrier lost'? Thanks for your answer, I wasn't aware ther...
by bls
Sat May 30, 2020 5:55 pm
Forum: General discussion
Topic: Two text editors?
Replies: 19
Views: 543

Re: Two text editors?

The only good thing you can say about nano is that it's there by default, even on Raspbian Lite. Of course, the first thing I do is installed the best of breed editor, emacs. :roll:
by bls
Sat May 30, 2020 5:54 pm
Forum: Troubleshooting
Topic: Copying a lot of files to the Raspberry Pi fails and leads to minute-long unresponsiveness
Replies: 9
Views: 329

Re: Copying a lot of files to the Raspberry Pi fails and leads to minute-long unresponsiveness

Wondering if this is the old Wifi dropping problem. Well, not so old, I'm still seeing it. Does your WiFi drop every 5 or 6 minutes, regardless of whether you're doing a copy to the Pi or not? What do you see if you grep the log for 'wlan0: carrier lost'?
by bls
Fri May 29, 2020 4:11 pm
Forum: Networking and servers
Topic: VPN site-to-site between two raspberries
Replies: 3
Views: 139

Re: VPN site-to-site between two raspberries

dserarols wrote:
Fri May 29, 2020 3:07 pm
strongSwan? Thank you very much! I'll try to configure it :D
strongSwan is a great VPN, but the documentation can require a lot of digging to sort out. pistrong handles nearly all the complexity for you and will save you pulling out a LOT of hair :lol:
by bls
Fri May 29, 2020 4:08 pm
Forum: General discussion
Topic: Forum enhancement : bookmark a subject !
Replies: 7
Views: 215

Re: Forum enhancement : bookmark a subject !

There's already a little link down at the bottom of the thread https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=275548&bookmark=1 That little beauty is also at the top of the page. I also added a browser bookmark to easily get to my list of forum bookmarks, which you can find on your User Co...
by bls
Fri May 29, 2020 3:04 pm
Forum: Networking and servers
Topic: VPN site-to-site between two raspberries
Replies: 3
Views: 139

Re: VPN site-to-site between two raspberries

Hello world, I have two raspberries in two sites. Both have OpenVPN running and some clients connected. First site, let's say A, has a LAN 192.168.1.0/24. Second site, let's say B, has 192.168.26.0/24. I would like to connect these two sites with a VPN, no matter which one. My first idea was one of...
by bls
Fri May 29, 2020 2:50 pm
Forum: Troubleshooting
Topic: 2 x Pi4 Locking up and freezing when using more than one USB3.0 port
Replies: 14
Views: 424

Re: 2 x Pi4 Locking up and freezing when using more than one USB3.0 port

Seems like it's probably USB device-dependent. I have a Pi4 with a StarTech USB 3.0 to 2.5" SATA cable with an SSD on one USB 3.0 port, and a StarTech SD Card reader on a short USB 3.0 cable on the other USB 3.0 port. When I'm using the SD Card reader, it's also hitting the SSD, and this works well....
by bls
Tue May 26, 2020 9:04 pm
Forum: Networking and servers
Topic: Debug wifi access point setup - hostapd + isc-dhcp-server
Replies: 9
Views: 263

Re: Debug wifi access point setup - hostapd + isc-dhcp-server

Where is the configuration file for isc-dhcp-server? Should be /etc/dhcp/dhcpd.conf by default.
by bls
Tue May 26, 2020 6:02 pm
Forum: Beginners
Topic: Service init.d scripts vs /etc/systemd/system vs /usr/lib/systemd/system
Replies: 4
Views: 208

Re: Service init.d scripts vs /etc/systemd/system vs /usr/lib/systemd/system

So, I'm confused. When do we choose /etc/init.d scripts in preference to the .service unit files in /etc/systemd/system or /usr/lib/systemd/system? And, why /etc/systemd *and* /usr/lib/systemd?? As @klricks mentioned, init.d is obsolete. Although a lot of people whine about it, I actually find syst...
by bls
Tue May 26, 2020 3:38 pm
Forum: Media centres
Topic: Command line tool to edit .flac file metadata?
Replies: 5
Views: 229

Re: Command line tool to edit .flac file metadata?

Haven't looked at these in detail, but a quick review of the results for sudo apt search flac shows some promising candidates worth your investigation: flac, flactag, lltag, pacpl, and puddletag.
by bls
Mon May 25, 2020 12:46 am
Forum: General discussion
Topic: Can you paste files onto the raspberry pi instead of flashing them?
Replies: 16
Views: 513

Re: Can you paste files onto the raspberry pi instead of flashing them?

Yes, you could do it that way. But there are other, much easier ways to muck with partitions and installations.
by bls
Mon May 25, 2020 12:18 am
Forum: General discussion
Topic: Can you paste files onto the raspberry pi instead of flashing them?
Replies: 16
Views: 513

Re: Can you paste files onto the raspberry pi instead of flashing them?

Could you explain a bit what problem you're trying to solve or what goal you're trying to achieve?
by bls
Sun May 24, 2020 2:55 pm
Forum: Advanced users
Topic: Help needed: Fail2ban setup
Replies: 7
Views: 274

Re: Help needed: Fail2ban setup

Holy cow man it worked! Good lord what a relief that is. OMV was easy to get working but jellyfin has been such a pain. I really appreciate the help. Programs like this without a dedicated forum make it hard to get help sometimes. You're awesome! Glad to hear that! Configuring fail2ban is one of th...
by bls
Sun May 24, 2020 2:51 pm
Forum: Networking and servers
Topic: Assign DHCP IP Based on Mac Address
Replies: 1
Views: 104

Re: Assign DHCP IP Based on Mac Address

dhcpCd is the dhcp client, not the server. There are several dhcp servers available, such as isc-dhcp-server, kea, etc. I've been using isc-dhcp-server for a long time, and had the same issue as you: wanted to assign fixed IP addresses to systems and devices. Turns out that's super-easy to do. The s...
by bls
Sun May 24, 2020 2:34 pm
Forum: Networking and servers
Topic: is this a DoS attack?
Replies: 8
Views: 502

Re: is this a DoS attack?

All you need to do is update /etc/fail2ban/jail.d/active-jails.conf [apache-auth] enabled = true [apache-badbots] enabled = true [apache-noscript] enabled = true [apache-overflows] enabled = true [apache-nohome] enabled = true [apache-botsearch] enabled = true [apache-fakegooglebot] enabled = true ...

Go to advanced search