Go to advanced search

by epoch1970
Sun Jul 12, 2020 11:09 am
Forum: Advanced users
Topic: Systemd not starting nginx at boot
Replies: 4
Views: 123

Re: Systemd not starting nginx at boot

Not a regular user of nginx but I assume it tries to resolve names found in its config file at startup. Starting too early would cause resolution to fail if DNS servers can’t be reached. Adding the IP for test site.mydomain.name in /etc/hosts would solve that issue. Assuming the IP address doesn’t c...
by epoch1970
Sun Jul 12, 2020 10:53 am
Forum: Troubleshooting
Topic: Cannot get NTP client to sync with local server
Replies: 21
Views: 330

Re: Cannot get NTP client to sync with local server

In case of unsurmountable firewall problem you can try using htpdate instead of ntpdate. It uses headers in the HTTP response from servers to set a date by bumping the local clock. Not as accurate as NTP but good enough. (Not all http servers include the needed headers, if the date doesn’t adjust, t...
by epoch1970
Sat Jul 11, 2020 10:08 pm
Forum: Networking and servers
Topic: Wifi to Wifi and Ethernet Access Point
Replies: 33
Views: 1074

Re: Wifi to Wifi and Ethernet Access Point

I’ll be blunt. 1) You do exactly what you want of your computer. There is no argument. I don’t really see why this conversation takes place. Just disregard what I posted, simple. 2) Setting up a bridged AP is a trivial task under Linux. Raspios users can follow the documentation, and they’ll get wha...
by epoch1970
Sat Jul 11, 2020 1:28 pm
Forum: Beginners
Topic: Understanding the udev rules
Replies: 7
Views: 161

Re: Understanding the udev rules

Udev is not running a shell, I don’t think that tilde will expand to anything useful.
Use absolute paths.
by epoch1970
Sat Jul 11, 2020 1:26 pm
Forum: Troubleshooting
Topic: Cannot get NTP client to sync with local server
Replies: 21
Views: 330

Re: Cannot get NTP client to sync with local server

In general, firewall on clients or server as well as server config might have something to do with it.
Not Necessarily the client side.
by epoch1970
Fri Jul 10, 2020 11:17 pm
Forum: General discussion
Topic: Is PARTUUID The Answer?
Replies: 19
Views: 574

Re: Is PARTUUID The Answer?

It can't be beyond the realms of science to discover all USB ports in a consistent order for physical identification. all SATA ports in a consistent order etc. It only has to be consistent, not named, so for any hardware you know which USB port is which relative to the other ports. With USB you hav...
by epoch1970
Fri Jul 10, 2020 9:18 pm
Forum: Troubleshooting
Topic: Boot Failed After Deleting Data Partition
Replies: 9
Views: 184

Re: Boot Failed After Deleting Data Partition

It is used by the system. And with block devices, in case of problem a complete stall is more likely than a graceful abort. Fsck is a good suspect I should say. Apparently if you add "fsck.mode=skip" to the command-line, systemd will skip checking filesystems. Perhaps that could help confirm the hyp...
by epoch1970
Fri Jul 10, 2020 8:45 pm
Forum: Networking and servers
Topic: Freeradius + Hostapd + wpa_supplicant
Replies: 1
Views: 48

Re: Freeradius + Hostapd + wpa_supplicant

You should stop using the interfaces file. When bridging if you want to use IP (not compulsory) then give IP address(es) to the bridge. Bridge members shall have no IP address. Bridge members are the equivalent of ethernet ports in a network switch. Often the switch can have an address so that you c...
by epoch1970
Fri Jul 10, 2020 8:35 pm
Forum: Troubleshooting
Topic: Boot Failed After Deleting Data Partition
Replies: 9
Views: 184

Re: Boot Failed After Deleting Data Partition

So boot finishes only if you have that spurious, empty partition?
Perhaps there is a systemd .mount unit that was created by hand for that partition?
Or a process can decide to mount a partition. rc.local, cron, udev, desktop autologin, autofs5, ... any application.
by epoch1970
Thu Jul 09, 2020 8:45 pm
Forum: Troubleshooting
Topic: RPI 3 B no longer able to boot raspbian
Replies: 4
Views: 143

Re: RPI 3 B no longer able to boot raspbian

Or your PSU is not feeling that well anymore after 2 years working.

If you can swap, I'd try that. Otherwise w/ a Pi4 you'd get a new PSU I assume.
by epoch1970
Thu Jul 09, 2020 6:22 pm
Forum: Networking and servers
Topic: Wifi to Wifi and Ethernet Access Point
Replies: 33
Views: 1074

Re: Wifi to Wifi and Ethernet Access Point

And – that's more important – I still had to hark back to systemd-networkd to create the bridge interface br0, because dhcpcd cannot do this sort of thing. In which case I thought, I can go the whole whole way... Of course you can create virtual network devices with dhcpcd, by adding dhcpcd-hook sc...
by epoch1970
Thu Jul 09, 2020 3:18 pm
Forum: Troubleshooting
Topic: Rasberry PI OS - Problem setting static IP
Replies: 6
Views: 177

Re: Rasberry PI OS - Problem setting static IP

Hi guys. I have no way to set a static ip. My dhcpcd.conf is this: ... interface eth0 static ip_address=192.168.1.30/24 #static ip6_address=fd51:42f8:caae:d92e::ff/64 static routers=192.168.1.1 static domain_name_servers=192.168.1.30 192.168.1.1 8.8.8.8 8.8.4.4 After rebooting the OS, i get the fol...
by epoch1970
Thu Jul 09, 2020 2:59 pm
Forum: Networking and servers
Topic: Wifi to Wifi and Ethernet Access Point
Replies: 33
Views: 1074

Re: Wifi to Wifi and Ethernet Access Point

sphh wrote:
Thu Jul 09, 2020 12:11 pm
epoch1970, it would be immensely helpful, if you could share your insight, why dhcpcd should be preferred over systemd-resolved in all cases! Thanks.
1. It is installed by default
2. It is simpler
3. It works well

Wait until you'll have to upgrade systemd to get over a bug in networkd...
by epoch1970
Thu Jul 09, 2020 9:03 am
Forum: Networking and servers
Topic: Wifi to Wifi and Ethernet Access Point
Replies: 33
Views: 1074

Re: Wifi to Wifi and Ethernet Access Point

The how to as its written works for everybody running raspios until now.

You got your setup to work, good for you.

If you had to disable dhcpcd there was a deviation somewhere in your install.
Removing dhcpcd is not general and good advice.
by epoch1970
Thu Jul 09, 2020 2:05 am
Forum: Networking and servers
Topic: Wifi to Wifi and Ethernet Access Point
Replies: 33
Views: 1074

Re: Wifi to Wifi and Ethernet Access Point

If dhcpcd mysteriously fails to work, always check /etc/network/interfaces is devoid of any configuration.
It should be, and out of the box it is.
If it isn’t, dhcpcd simply gives up configuring the network.
by epoch1970
Wed Jul 08, 2020 8:35 pm
Forum: Advanced users
Topic: Enable/disable OverlayFS from shell
Replies: 1
Views: 115

Re: Enable/disable OverlayFS from shell

Why not just copy the code to a script that accepts parameters?
Or to 2 scripts, one for on, one for off.
by epoch1970
Wed Jul 08, 2020 8:17 pm
Forum: Networking and servers
Topic: RPi passing package in LAN
Replies: 12
Views: 333

Re: RPi passing package in LAN

Something not worky there, including your link unfortunately. EDIT. OK. The doc was written 4 years ago, it is outdated. You can follow the method below and remove bridge-utils if you've installed it. It is not required. Title Setup the network bridge of the bridged AP documentation shows how to cre...
by epoch1970
Wed Jul 08, 2020 5:07 pm
Forum: General discussion
Topic: Raspi+Ovpn as private DNS server
Replies: 7
Views: 269

Re: Raspi+Ovpn as private DNS server

Ok. So when a virtual private network is present and active on a host, if the host uses the normal LAN default route, that is a so-called split tunnel setup. And if its default route was changed to go through the tunnel, that is a full tunnel. 2 types. Vendors like to split hairs but it doesn't make...
by epoch1970
Wed Jul 08, 2020 3:29 pm
Forum: Networking and servers
Topic: Cannot connect to pi configured with Hostapd
Replies: 6
Views: 151

Re: Cannot connect to pi configured with Hostapd

This does not work it seems

Code: Select all

interface wlan0
    static ip_address=192.168.4.1/24
Do you have anything configured in /etc/network/interfaces?
If so, remove and reboot
by epoch1970
Wed Jul 08, 2020 2:11 pm
Forum: Networking and servers
Topic: Cannot connect to pi configured with Hostapd
Replies: 6
Views: 151

Re: Cannot connect to pi configured with Hostapd

Seems ok.
Can you post the output of "iwconfig" and "ip route show"?

What are you using as power supply? Operating the AP demands power.
by epoch1970
Wed Jul 08, 2020 1:34 pm
Forum: General discussion
Topic: Raspi+Ovpn as private DNS server
Replies: 7
Views: 269

Re: Raspi+Ovpn as private DNS server

I don't think you're hijacking much... Maybe what you want is called a "split tunnel", where endpoints (sites) keep their own internet access, and are joined together by a private network. The "full tunnel" model is where an endpoint, once it has connected the mothership, uses the tunnel for everyth...
by epoch1970
Wed Jul 08, 2020 1:06 pm
Forum: Networking and servers
Topic: Cannot connect to pi configured with Hostapd
Replies: 6
Views: 151

Re: Cannot connect to pi configured with Hostapd

Perhaps post the other config files created or modified as per the guide?
by epoch1970
Wed Jul 08, 2020 10:07 am
Forum: Networking and servers
Topic: RPi passing package in LAN
Replies: 12
Views: 333

Re: RPi passing package in LAN

Do you need something like a network ethernet switch? Where connected machines all "see" each other.

If so you need to setup bridging, not routing.
by epoch1970
Wed Jul 08, 2020 10:03 am
Forum: Networking and servers
Topic: Determining leases
Replies: 1
Views: 69

Re: Determining leases

The leases db is in "/var/lib/misc/" rather
You can specify another location for the file, run a script when a lease is granted/revoked, etc.
See the man page or this question answered on SE by another Ross ;)

Go to advanced search