Go to advanced search

by bls
Tue Feb 19, 2019 12:58 am
Forum: Networking and servers
Topic: Need help debugging wlan0 'carrier lost' problem
Replies: 3
Views: 87

Re: Need help debugging wlan0 'carrier lost' problem

Looks like the file /tmp//tmp/libdhcpcd-wpa might be created by lxpanel? I also notice that the file is own by pi.pi, which to me, perhaps wrongly, indicates that some user, non-system code is creating it. If it's something used by the GUI, it's quite strange that it would cause the WiFi network to ...
by bls
Tue Feb 19, 2019 12:24 am
Forum: Networking and servers
Topic: Need help debugging wlan0 'carrier lost' problem
Replies: 3
Views: 87

Re: Need help debugging wlan0 'carrier lost' problem

As I mentioned, the hardware is exactly the same (kb and mouse plugged into exactly the same Pi hardware). So, if there was some issue with the keyboard or mouse, seems like both lite and full should experience it, shouldn't they? Thanks for the wpa_supplicant log suggestion. I grabbed logs from bot...
by bls
Mon Feb 18, 2019 10:36 pm
Forum: Networking and servers
Topic: Allocate Fixed IP depending on various scenarios
Replies: 2
Views: 67

Re: Allocate Fixed IP depending on various scenarios

If you control the DHCP servers of all the networks that you want to connect to, this is pretty easy to do by configuring "static" addresses in the DHCP server based on MAC address. otoh, if you don't control the DHCP servers, then you're going to have to spin some code/scripts on the Pi, but how wi...
by bls
Sun Feb 17, 2019 12:13 am
Forum: Networking and servers
Topic: Need help debugging wlan0 'carrier lost' problem
Replies: 3
Views: 87

Need help debugging wlan0 'carrier lost' problem

[There is another topic on this issue (https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=218833&p=1393787&hilit=carrier+lost#p1393787), but starting a new thread since this is a different scenario and potentially a different issue] Configuration Raspberry Pi 3B+ Raspbian 2018-11-13-{lite|full}...
by bls
Wed Feb 13, 2019 4:01 am
Forum: Advanced users
Topic: Using QEMU on the Pi.
Replies: 3
Views: 107

Re: Using QEMU on the Pi.

It's in the Raspbian distro, so there's a good chance that it will work. Curious about performance, but probably depends to some degree on whether you're comparing it with an old i386 or a something much more recent.
by bls
Tue Feb 12, 2019 5:18 pm
Forum: Advanced users
Topic: systemd requires 16mb of free space to reload daemons
Replies: 5
Views: 191

Re: systemd requires 16mb of free space to reload daemons

ejolson, there IS a way to make the system log permanent. By default, the journald log is set to "Storage=Auto" in /etc/systemd/journald.conf. With this setting, the behavior is dependent on whether the directory /var/log/journal exists. If it does not exist, the system log (as written by journald) ...
by bls
Sun Feb 10, 2019 8:21 pm
Forum: Networking and servers
Topic: Accessing LAMP and WordPress remotely
Replies: 12
Views: 260

Re: Accessing LAMP and WordPress remotely

Good point, Andyroo. Using an external port other than 80 also increases security through obfuscation.
by bls
Sun Feb 10, 2019 8:19 pm
Forum: Advanced users
Topic: systemd requires 16mb of free space to reload daemons
Replies: 5
Views: 191

Re: systemd requires 16mb of free space to reload daemons

One way to reduce memory and disk consumption is to not use Xfce. Use Raspbian Lite, and install, for instance, xserver-xorg xserver-xorg-core xserver-common xdm icewm xterm xfonts-base xfonts-100dpi xfonts-75dpi xfonts-scalable. xdm and icewm are much lighter weight than lightdm and Xfce.
by bls
Sun Feb 10, 2019 3:49 pm
Forum: Networking and servers
Topic: Accessing LAMP and WordPress remotely
Replies: 12
Views: 260

Re: Accessing LAMP and WordPress remotely

Dumb question: Are you actually typing XX.XX.XX.XX:80 into the browser or http://XX.XX.XX.XX:80 ? If you're not using http:// try adding that. If that fails also, is there anything useful in the logs in /var/log/apache2/?
by bls
Fri Feb 08, 2019 3:54 am
Forum: Advanced users
Topic: EMULATION HELP REQUEST
Replies: 11
Views: 300

Re: EMULATION HELP REQUEST

@Andyroo, thanks! Definitely a trip down memory lane! Getting it to a usable, playable state would present a pantload of challenges. ;)
by bls
Fri Feb 08, 2019 1:37 am
Forum: Advanced users
Topic: EMULATION HELP REQUEST
Replies: 11
Views: 300

Re: EMULATION HELP REQUEST

Wow, blast from the past! I worked on TOPS-10 as a user and system programmer. I also had some super-fun vttrek sessions on TOPS-20, so thought I'd see if I could get TOPS-20 working (even if I haven't yet found vttrek sources!). I got to the point of having a bootable system with no network. You pe...
by bls
Wed Feb 06, 2019 4:46 pm
Forum: Networking and servers
Topic: Run script after network is online
Replies: 6
Views: 205

Re: Run script after network is online

As a last resort, you could check in your script to see if your system is online or not, and take appropriate action. For example:

Code: Select all

#!/bin/bash

PINGS=2
TESTIP=1.1.1.1

if ( ping -c $PINGS $TESTIP > /dev/null ) then
   echo "you are online"
else
   echo "you are offline"
fi
by bls
Wed Feb 06, 2019 2:47 pm
Forum: Networking and servers
Topic: Run script after network is online
Replies: 6
Views: 205

Re: Run script after network is online

According to https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ , you're doing it correctly using After= and Wants= both with network-online.target. However, there is a note in there about using the correct "wait" service. You may want to check out the section starting with "cut the cr...
by bls
Sat Jan 26, 2019 7:11 pm
Forum: Advanced users
Topic: Chromium-Browser does not work from crontab -e
Replies: 7
Views: 325

Re: Chromium-Browser does not work from crontab -e

One approach that would work is to use a systemd-based service. I created a service file /usr/lib/systemd/user/xload.service containing: [Unit] Description=xload [Service] ExecStart=/usr/bin/xload -display myhost.mydomain.com:1 And when I started the service with: systemd start --user xload.service ...
by bls
Sun Jan 20, 2019 12:22 am
Forum: Advanced users
Topic: VNC input character display corruption in xterm
Replies: 8
Views: 287

Re: VNC input character display corruption in xterm

As I mentioned, I learned how to start the TigerVNC via systemd, resulting in a super-efficient and super-lightweight implementation. I've written up my notes...hoping it will help someone else at some point (or me, when I need it next time after I forget it all!) https://github.com/gitbls/RPiVNCHow...
by bls
Fri Jan 18, 2019 11:12 pm
Forum: Advanced users
Topic: VNC input character display corruption in xterm
Replies: 8
Views: 287

Re: VNC input character display corruption in xterm

Turns out that it's a tightvncserver-specific issue. Nether realvnc-server nor tigervnc-standalone-server exhibit this issue. While it did take a bit of time to sort out, it was a win because I figured out how to get the tigervnc server to be cleanly/correctly started from systemd. One less reason t...
by bls
Fri Jan 18, 2019 12:23 am
Forum: Advanced users
Topic: VNC input character display corruption in xterm
Replies: 8
Views: 287

Re: VNC input character display corruption in xterm

Tried your suggestion. No better...in fact, it looks worse.
by bls
Thu Jan 17, 2019 3:18 pm
Forum: Advanced users
Topic: VNC input character display corruption in xterm
Replies: 8
Views: 287

Re: VNC input character display corruption in xterm

Agree that font handling is pretty messy. In my case, the scaling is set to 100% when connecting to the Pi. It's also set to 100% when connecting to my openSuse system. That, plus the nature of the corruption (2 good letters, 2 chomped letters) leads me to conclude that scaling isn't the cause of th...
by bls
Thu Jan 17, 2019 4:33 am
Forum: Advanced users
Topic: VNC input character display corruption in xterm
Replies: 8
Views: 287

Re: VNC input character display corruption in xterm

Great question! seems to be only in xterm-like things that aren't using Truetype. In fact, if I switch the xterm to a truetype font the issue doesn't occur. In full transparency, my issue is that I happen to like the 9x15bold font for xterm-like windows.
by bls
Wed Jan 16, 2019 11:24 pm
Forum: Advanced users
Topic: VNC input character display corruption in xterm
Replies: 8
Views: 287

VNC input character display corruption in xterm

Configuration: Rpi3B+ with 2018-11-13 Raspbian Lite with xdm, tightvncserver, xterm and other X server stuff. Output characters are fine, but characters typed as input to an xterm are corrupt on the screen. Looks like 2 characters are good, then the next 2 are successively worse, then it repeats. RP...
by bls
Wed Dec 05, 2018 10:57 pm
Forum: Networking and servers
Topic: Open VPN not accessible outside LAN
Replies: 1
Views: 293

Re: Open VPN not accessible outside LAN

I don't know anything about OpenVPN, but did you add port forwardings to your firewall/router as required?
by bls
Thu Oct 25, 2018 12:10 am
Forum: Networking and servers
Topic: PC will not accept PIHOLE as DNS server
Replies: 4
Views: 1101

Re: PC will not accept PIHOLE as DNS server

I agree that this is a PC issue and not a PiHole or Raspberry Pi issue. That said, take a look at the netsh command to see if that helps. I have something in my notes indicating that the command: netsh interface ip add dns "Ethernet" dns-addr might be able to help you. Use the name of your Network C...
by bls
Tue Oct 23, 2018 8:19 pm
Forum: Networking and servers
Topic: Raspbian on Pi 2 as VPN
Replies: 10
Views: 2016

Re: Raspbian on Pi 2 as VPN

I've used strongSwan quite successfully, and think it's really great, although I can't speak to the performance aspect. I like it so much that I built a tool to easily manage the CA and user certs/keys. See viewtopic.php?f=36&t=225379
by bls
Tue Oct 23, 2018 6:48 pm
Forum: Networking and servers
Topic: pistrong CA/Cert manager for strongSwan VPN service
Replies: 1
Views: 869

Re: pistrong CA/Cert manager for strongSwan VPN service

Here's an example of creating a CA and adding a user Cert after the installation completes. # pistrong makeca # pistrong start # pistrong add bls --device iPhone --random --mail bls@domain.com --webdir /var/www/html/vpn --weburl http://mypi/vpn % Added bls-iPhone # The first command creates the CA. ...
by bls
Tue Oct 23, 2018 5:31 pm
Forum: Networking and servers
Topic: pistrong CA/Cert manager for strongSwan VPN service
Replies: 1
Views: 869

pistrong CA/Cert manager for strongSwan VPN service

pistrong greatly simplifies installing and configuring strongSwan, and managing the strongSwan Certificate Authority (CA) and Certificates for user devices for the roadwarrior use case. pistrong includes complete installation, configuration, and management support for Raspbian/Debian distros. There...

Go to advanced search