Go to advanced search

by bls
Sat Feb 23, 2019 4:14 am
Forum: Networking and servers
Topic: Raspbian WiFi bounces regularly on Raspbian in console mode
Replies: 53
Views: 8312

Re: [Solved] Raspbian WiFi bounces regularly on Raspbian in console mode

@Andyroo (and future posters on this topic): Please specify whether you are running with LXDE, a graphical environment with a non-LXDE Window Manager, or booting to console mode. Based on my understanding, the key differentiator is whether LXDE, and specifically, lxpanel, are running, so please prov...
by bls
Fri Feb 22, 2019 3:42 pm
Forum: Networking and servers
Topic: Raspbian WiFi bounces regularly on Raspbian in console mode
Replies: 53
Views: 8312

Re: [Solved] Raspbian WiFi bounces regularly on Raspbian in console mode

@bertlea can you clarify whether your devices are running with LXDE desktop or console? Thanks

Oh, and I believe that this is a Stretch problem, where it appears that the WiFi management was significantly modified.
by bls
Fri Feb 22, 2019 2:48 pm
Forum: Networking and servers
Topic: Raspbian WiFi bounces regularly on Raspbian in console mode
Replies: 53
Views: 8312

Re: [Solved] Raspbian WiFi bounces regularly on Raspbian in console mode

bertlea, absolutely agree about hoping for a future fix for this. The workaround described here is a total hack, although it does solve the problem. I'm going to figure out how to post a Raspbian bug so that it formally gets into the development team and is tracked to resolution.
by bls
Fri Feb 22, 2019 1:23 am
Forum: Networking and servers
Topic: Raspbian WiFi bounces regularly on Raspbian in console mode
Replies: 53
Views: 8312

Re: [Solved] Raspbian WiFi bounces regularly on Raspbian in console mode

Thanks, Andyroo, I guess my years of working on a variety of operating systems has given me good diagnostic/debug/hackaround skills :D It would be interesting to have someone else clearly demonstrate the issue in a sanitized environment. Not too difficult to do: 1) Install Stretch Lite or Stretch Fu...
by bls
Fri Feb 22, 2019 1:10 am
Forum: Troubleshooting
Topic: Wifi connection unstable
Replies: 56
Views: 34230

Re: Wifi connection unstable

I saw a few notes in this thread from people who had WiFi bouncing issues. If you're running Stretch without the LXDE graphical environment, check out my post for a problem explanation and a hackaround to my WiFi bounce issue. https://www.raspberrypi.org/forums/view ... 6&t=234058
by bls
Fri Feb 22, 2019 12:45 am
Forum: Troubleshooting
Topic: Seriously, whats with wifi on Stretch Pi Zero W??
Replies: 28
Views: 3575

Re: Seriously, whats with wifi on Stretch Pi Zero W??

I noticed that there were a few comments about the Stretch "wlan0 carrier" issue in this thread. I just ran this issue to the ground and have posted an explanation and a hackaround: https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=234058 . While this was a pretty annoying issue, I find Stretc...
by bls
Fri Feb 22, 2019 12:14 am
Forum: Networking and servers
Topic: Raspbian WiFi bounces regularly on Raspbian in console mode
Replies: 53
Views: 8312

Re: Raspbian WiFi bounces regularly on Raspbian in console mode

I've learned enough about wpa_supplicant to (almost) be dangerous, and have identified a solution. I don't understand what the root cause is, but here are the details. Hope that this helps others who run into this issue. As mentioned in the base note, wlan0 carrier is lost every few minutes (seems t...
by bls
Wed Feb 20, 2019 4:13 am
Forum: Beginners
Topic: Unstable 5Ghz wifi connection on RPi 3B+
Replies: 15
Views: 3876

Re: Unstable 5Ghz wifi connection on RPi 3B+

mrdone, are you running your pi with a graphical desktop or the console when you have the wifi carrier lost problem? If it's in console mode, check out my post at https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=234058 . No solution yet, but I'm hoping that the problem has been correctly char...
by bls
Wed Feb 20, 2019 2:23 am
Forum: Networking and servers
Topic: Raspbian WiFi bounces regularly on Raspbian in console mode
Replies: 53
Views: 8312

Re: Raspbian WiFi bounces regularly on Raspbian in console mode

Not a strange question at all, and I should have mentioned this as well. Thanks for the reminder! I tested both scenarios, cable in and cable out, and the bounce behavior was the same in both scenarios.
by bls
Wed Feb 20, 2019 2:01 am
Forum: Networking and servers
Topic: Raspbian WiFi bounces regularly on Raspbian in console mode
Replies: 53
Views: 8312

Raspbian WiFi bounces regularly on Raspbian in console mode

This is a follow-on to topic https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=233847 . I am posting as a new topic because it is a slightly different issue and demonstrates a Raspbian bug. If you are experience wlan0 'carrier lost' messages on Raspbian Stretch, this may be of interest. Enviro...
by bls
Tue Feb 19, 2019 12:58 am
Forum: Networking and servers
Topic: Need help debugging wlan0 'carrier lost' problem
Replies: 4
Views: 1490

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: 4
Views: 1490

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: 417

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: 4
Views: 1490

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: 291

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: 6
Views: 998

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: 795

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: 6
Views: 998

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: 795

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: 13
Views: 959

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: 13
Views: 959

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: 802

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: 802

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: 783

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 ...

Go to advanced search