Re: PC Engines APU platform EOL

2023-05-06 Thread Daniele B.
Just to simplify, toy#2 is also on Amazon:

https://www.amazon.com/stores/HUNSN/page/C16BAC89-6066-4D8E-B827-05465BD2C2EC?ref_=ast_bln


-- Daniele Bonini


May 7, 2023 00:10:24 Daniele B. :

>> from Taobao, minipc no rackmount
> 
> Nice toy, it doesn't miss eth nor serial ports, comes in different 
> configurations:
> 
> https://5md.at/l/cuuka
> https://5md.at/l/cuukb
> https://5md.at/l/cuukc
> https://5md.at/l/cuukd



Re: PC Engines APU platform EOL

2023-05-06 Thread Daniele B.
> from Taobao, minipc no rackmount

Nice toy, it doesn't miss eth nor serial ports, comes in different 
configurations:

https://5md.at/l/cuuka
https://5md.at/l/cuukb
https://5md.at/l/cuukc
https://5md.at/l/cuukd




Re: PC Engines APU platform EOL

2023-05-06 Thread Daniele B.
> from Taobao, rackmount with fan

I found a first toy, the Ipc-820, that comes in 4 configurations let me know if 
you need
more pic, more eth/cpu or if I'm completely out of scope:

https://5md.at/l/ipc820a
https://5md.at/l/ipc820b
https://5md.at/l/ipc820c



-- Daniele Bonini



Re: mail command - change "from address" for Charlie Root

2023-05-06 Thread Nino Sidoti
Hello,

Thank you Todd, that information was quite helpful. I created /var/log/.mailrc. 
The from header is working.
Nino 

> On 7 May 2023, at 12:07 am, Todd C. Miller  wrote:
> 
> On Sat, 06 May 2023 10:03:45 +1000, Nino Sidoti wrote:
> 
>> I am trying to work out how to change the “From address” for when the daily o
>> utput reports are run. I want to use a real email address rather than the def
>> ault of Charlie Root “root@hostname”.
>> 
>> I have tried to use a /root/.mailrc option and set the “from” address but thi
>> s seems to be ignored when the daily output reports are generated.
> 
> That is probably because the root crontab sets HOME to /var/log.
> You might try creating a /var/log/.mailrc file (owned by root) and
> see if that works for you.  If not, you might just edit /etc/daily
> and pass the -r option to mail to set the from address.
> 
> - todd



What is the best way to move a VM to a bigger image?

2023-05-06 Thread Hannu Vuolasaho
Hello,

I made a silly mistake when I set up my VM and my disk image is too
small for my next operation.

My plan is to give the new image to the VM, run a minimal install on
it so I get the boot loader installed. Also disklabel will be good.

After that I remove all the files and mount the old VM image to
another part of the tree.

Rest is just a dump and restore operation. And checking the /etc/fstab

Is this a good way to skin this cat? Or is there a better way to do it?

Best regards,
Hannu Vuolasaho



Re: Problem with WireGuard on OpenBSD 7.3

2023-05-06 Thread Stuart Henderson
On 2023-05-06, Odd Martin Baanrud  wrote:
> I choosed the WireGuard-tools solution, because I understood how it works, 
> and it is easy to configure.
> I’ve read a bit in the wg(4) manual, and I get confused of how things 
> actually works.
> Is it possible to use wireguard-tools’s private/public key e.g?
> If not, is the actual configuration using the included tools easy to do?

The configuration for wg looks like this:

wgport port-number wgkey my-private-key
inet 10.0.98.1/24
wgpeer peer-public-key wgaip 10.0.98.2/32 wgpsk peer2-pre-shared-key
wgpeer peer2-public-key wgaip 10.0.98.3/32 wgpsk peer2-pre-shared-key
etc

The keys are 44 character long strings, base64 encoded. You can generate
a suitable key with openssl rand -base64 32.

To find the oublic key associated with a private key that has been set,
use "ifconfig wg0" as root. It will be shown as wgpubkey and you can
copy that to another system.

I've never used wireguard-tools but I assume the keys will be in the
correct format to use directly in the ifconfig line or hostname.wg0 file.




Re: mail command - change "from address" for Charlie Root

2023-05-06 Thread Todd C . Miller
On Sat, 06 May 2023 10:03:45 +1000, Nino Sidoti wrote:

> I am trying to work out how to change the “From address” for when the daily o
> utput reports are run. I want to use a real email address rather than the def
> ault of Charlie Root “root@hostname”.
>
> I have tried to use a /root/.mailrc option and set the “from” address but thi
> s seems to be ignored when the daily output reports are generated.

That is probably because the root crontab sets HOME to /var/log.
You might try creating a /var/log/.mailrc file (owned by root) and
see if that works for you.  If not, you might just edit /etc/daily
and pass the -r option to mail to set the from address.

 - todd



Re: mail command - change "from address" for Charlie Root

2023-05-06 Thread Philipp Buehler

Am 06.05.2023 02:03 schrieb Nino Sidoti:

Hello,
I am trying to work out how to change the “From address” for when the
daily output reports are run. I want to use a real email address
rather than the default of Charlie Root “root@hostname”.


It takes the name from /etc/passwd. See vipw(8) for changing it.

--
pb



Re: PC Engines APU platform EOL

2023-05-06 Thread Troy Martin
> Don't know if this collides with the 'network plumbing' point
> but this is what I know eg... in Europe, Germany and you can start
> from eg... here: 

So far, the best I can find are those unusual but generally functional
boards that are more or less AliExpress Specials, or for a slightly
higher price point, the public retail versions of Lanner Electronics'
network appliances, a few of which are known to be OEM partner systems
for mid-high range systems from vendors such as Juniper Networks. Said
machines can be purchased from their online retail channel called
"Whitebox Solutions".

I have been looking at their systems for a while now as a potential
base for a networking venture and between their OEM business and their
wide variations in to-order specs for selling more or less plain jane
x86-64 systems with PCIe-attached Intel Ethernet adaptors in a funky
line-card format, they seem quite approachable for high-throughput,
small-batch hardware for systems running modern open-source network
operating systems.


Troy Martin | Head of Development
Araxes Networks

W: www.araxes.net | E: t...@araxes.net
T: 778-819-2801 | C: 604-690-5885