Go to advanced search

by epoch1970
Tue Mar 24, 2020 6:03 pm
Forum: Beginners
Topic: Using RPi as network bridge
Replies: 3
Views: 99

Re: Using RPi as network bridge

If you'd read the doc for that product you'd have seen the repeater mode or the other client mode does MAC mangling.
That is not exactly kosher in WiFi terms, and it is not bridging either.
by epoch1970
Tue Mar 24, 2020 3:30 pm
Forum: Advanced users
Topic: [SOLVED] Does anyone know how to extract a partition
Replies: 16
Views: 321

Re: [SOLVED] Does anyone know how to extract a partition

BR uses genimage to generate SD images, IIRC. At least when you build for ARM/Pi. Personally I think it is a dreadful Piece of Software, but if it works for you, editing the partitions map/size etc. is pretty easy. There is a file in your BR environment that gets slurped by genimage when the time co...
by epoch1970
Tue Mar 24, 2020 3:03 pm
Forum: Advanced users
Topic: Buildroot building my own packages
Replies: 6
Views: 135

Re: Buildroot building my own packages

Do you know if there is a tutorial that has some examples I could follow? The Buildroot manual has some, it would be helpful to have more. The subject is vast as BR is meant to integrate in your production process. If there are (good) tutorials, they might not apply to your use-case. I think the su...
by epoch1970
Tue Mar 24, 2020 12:32 pm
Forum: Advanced users
Topic: [SOLVED] Does anyone know how to extract a partition
Replies: 16
Views: 321

Re: [SOLVED] Does anyone know how to extract a partition

I usually go with kpartx . The loop devices are created in /dev/mapper/loopXpY If you try to kpartx -d a mounted image, but the path to the image is different from the path that was used for the previous kpartx -a invocation (say you changed directory in-between), then I think loop deletion fails. T...
by epoch1970
Tue Mar 24, 2020 12:18 pm
Forum: Advanced users
Topic: ip route load balancing fails when one server goes down - ideas?
Replies: 6
Views: 155

Re: ip route load balancing fails when one server goes down - ideas?

Maybe just disabling persist-tun will be enough that the ip route will disregard that route as that tun gone.... Would be nice. Be sure to tell if that is the case. My bet is that you need to destroy and recreate the route according to the latest information. I don't think a single script is a prob...
by epoch1970
Tue Mar 24, 2020 11:32 am
Forum: General discussion
Topic: What is the 2020 way to copy a file to a Raspbian device via a network?
Replies: 20
Views: 673

Re: What is the 2020 way to copy a file to a Raspbian device via a network?

For bulk transfers like that Syncthing qualifies as 2020 I think. Nicely cross-platform and works well.
by epoch1970
Tue Mar 24, 2020 11:25 am
Forum: Advanced users
Topic: ip route load balancing fails when one server goes down - ideas?
Replies: 6
Views: 155

Re: ip route load balancing fails when one server goes down - ideas?

Surely openvpn knows, it owns the tun interface.
I don't think you can change/append/replace as easily as you can get->(store)->delete->(process)->add a route
by epoch1970
Tue Mar 24, 2020 11:22 am
Forum: Français
Topic: Multi-usages
Replies: 3
Views: 100

Re: Multi-usages

Vu le tarif, la complexité et la divergence d'exigences (stable d'un côté, performance de l'autre), prendre 2 Pis serait sans doute la meilleure solution. Avec un OS 64 bits, je comprends que KVM fonctionne bien. Sakaki semble être assez au fait; pas de Raspbian 64 bits à attendre avant un petit (lo...
by epoch1970
Tue Mar 24, 2020 10:31 am
Forum: Advanced users
Topic: ip route load balancing fails when one server goes down - ideas?
Replies: 6
Views: 155

Re: ip route load balancing fails when one server goes down - ideas?

If I understand correctly the ones that can accurately detect link state are the openvpn clients?
As I recall openvpn has the ability to run scripts on “up” and “down”.
I think I would use that and modify the default route accordingly.
by epoch1970
Tue Mar 24, 2020 9:45 am
Forum: Beginners
Topic: Using RPi as network bridge
Replies: 3
Views: 99

Re: Using RPi as network bridge

I’m not sure I follow which wlan is which, but bridging a WiFi client interface is not possible. Never.
Does that answer the question?
by epoch1970
Tue Mar 24, 2020 8:59 am
Forum: Advanced users
Topic: Buildroot building my own packages
Replies: 6
Views: 135

Re: Buildroot building my own packages

Setup an external tree by defining BR2_EXTERNAL, otherwise you’d have to muck with the config files of the standard BR distro in order to add your packages. You’ll see your packages under an extra menu in menuconfig. All details available in the guide or the internet. To add a new package, I suggest...
by epoch1970
Mon Mar 23, 2020 10:18 pm
Forum: General discussion
Topic: What is the 2020 way to copy a file to a Raspbian device via a network?
Replies: 20
Views: 673

Re: What is the 2020 way to copy a file to a Raspbian device via a network?

I think I recall both DOS and Win, in the early days, were neither multi-tasking nor multi-user.
WinNT was the first real muti-user Windows OS from Microsoft. It came with NTFS.

No big surprise that FAT doesn't manage user rights, and nothing to do with the Pi or Raspbian.
by epoch1970
Mon Mar 23, 2020 9:56 pm
Forum: Beginners
Topic: Raspi 3 w/ Buster Network Setup
Replies: 10
Views: 369

Re: Raspi 3 w/ Buster Network Setup

Excellent. You made me debug something else :) To get multiple addresses on your interface, you can run something like this as /etc/dhcpcd.exit-hook: IPS='172.29.55.2/24 172.29.55.3/24' IFACE='wlan0' LABEL='aliases' [ "${interface}" = "${IFACE}" ] || return 0 refresh_secondaries(){ remove_secondarie...
by epoch1970
Mon Mar 23, 2020 8:04 pm
Forum: Beginners
Topic: Wireless and wire connection
Replies: 14
Views: 323

Re: Wireless and wire connection

You can remove the .save file since they are identical interface eth0 inform 169.254.109.158 Remove these 2 lines. Inform is used to tell a DHCP server this client is using some locally chosen address. Normally the server would choose the address to be used. More importantly this address 169.254.109...
by epoch1970
Mon Mar 23, 2020 5:32 pm
Forum: Beginners
Topic: Wireless and wire connection
Replies: 14
Views: 323

Re: Wireless and wire connection

No. The "fallback profile" thing is for the case where you'd normally get an address from the network (via DHCP), but when disconnected or in some other circumstance you want your network to be defined statically on the Pi. The worry in your original post is "Dhcpcd not running", I think. Under Rasp...
by epoch1970
Mon Mar 23, 2020 5:11 pm
Forum: Networking and servers
Topic: A good resource on batman-adv, I think
Replies: 0
Views: 45

A good resource on batman-adv, I think

Came across this tutorial published by IBM the other day. If you're looking for a batman-adv setup using Raspberry Pis, you might be interested: https://developer.ibm.com/technologies/iot/tutorials/create-iot-mesh-network/ John Walicki, Brian Innes. Updated February 17, 2020 | Published May 6, 2019 ...
by epoch1970
Mon Mar 23, 2020 4:48 pm
Forum: Beginners
Topic: Wireless and wire connection
Replies: 14
Views: 323

Re: Wireless and wire connection

The file is "dhclient.conf" ? If not what is the location? You may have confused /etc/dhcp c d.conf with another file. dhcpd.conf (no extra c, c is for client) is for the ISC-dhcpd server . You don't need a DHCP server on your machine, unless you know you do. dhclient is a DHCP client that will com...
by epoch1970
Mon Mar 23, 2020 4:22 pm
Forum: General discussion
Topic: different df -h based on user
Replies: 1
Views: 109

Re: different df -h based on user

You could have run diff. These are the unique lines: overlay 54G 23G 29G 44% /var/lib/docker/overlay2/7d916f33f66116d868b1f924ef1c0188a13e766fe512bc43eede221eaf05de0f/merged overlay 54G 23G 29G 44% /var/lib/docker/overlay2/34efdb569296ec73f6589ecd72d4693c3471fe01611ad0d11e4ad1968747fedd/merged overl...
by epoch1970
Mon Mar 23, 2020 4:05 pm
Forum: Raspbian
Topic: Bridged AP / Buster Lite 2020-02-13 without systemd-networkd
Replies: 0
Views: 50

Bridged AP / Buster Lite 2020-02-13 without systemd-networkd

What's below replicates the kind of setup presented in the official bridged AP howto, but it is done entirely with dhcpcd. No need to enable systemd-networkd. I was doing something else on Raspbian, after a long search I found out I needed version 243 of systemd to make it work in networkd... (Raspb...
by epoch1970
Sun Mar 22, 2020 6:07 pm
Forum: Troubleshooting
Topic: chown no permission
Replies: 1
Views: 68

Re: chown no permission

If a volume is mounted read-only, or its filesystem is otherwise locked-down, even root ne peut rien faire :lol:

Try "findmnt" and check the options used for /home/shares/public/public (or /home/shares)
by epoch1970
Sun Mar 22, 2020 12:58 pm
Forum: General discussion
Topic: Problems with fastweb connection
Replies: 1
Views: 71

Re: Problems with fastweb connection

So wifi itself works?
What doesn't work? Local access to other devices, access to the internet?
Which OS do you use?
by epoch1970
Sun Mar 22, 2020 12:43 pm
Forum: Networking and servers
Topic: Raspberry Pi NAS in raid 1 not showing proper storage space and usage space.
Replies: 2
Views: 167

Re: Raspberry Pi NAS in raid 1 not showing proper storage space and usage space.

Generally speaking:
Physical volumes have capacity A
Your RAID1 array has capacity B (B < A)
This virtual volume once formatted with a filesystem has usable capacity C (C < B)

I don't know NTFS well enough to tell if it is typically greedy or not.
by epoch1970
Sun Mar 22, 2020 12:30 pm
Forum: Networking and servers
Topic: Raspberry pi router
Replies: 1
Views: 141

Re: Raspberry pi router

could you please help me with setting up rpi-pouter so that 1) ssh into raspinode-1 by using hostname 2) access internet from raspinode-1 (no wifi only eth0) via rpi-router (internet via wlan0 and connected to switch via eth0) Which OS are you using? From where do you want to access the Pi4 by name...
by epoch1970
Sun Mar 22, 2020 11:43 am
Forum: Troubleshooting
Topic: how to setup wifi broadcast ip - routeryPi
Replies: 4
Views: 118

Re: how to setup wifi broadcast ip - routeryPi

Yes and yes ^^
Get Raspbian Buster, read and apply the official routing AP setup guide carefully, and it works. Every time.

Go to advanced search