Re: Porting shell scripts from Tiny Tools

2023-11-14 Thread Daniele B.
I'm not sure your call is directed to me. But I take it like a compliment if this stuff is inspirational for you too. Indeed, cat miss an -o for line offset. Putting my hands on OpenBSD development will require a lot of time and effort, upgrade of my stick to current and dev tools, C refresh

Re: Porting shell scripts from Tiny Tools

2023-11-14 Thread Crystal Kolipe
On Tue, Nov 14, 2023 at 11:43:14AM +0100, Daniele B. wrote: > enanching the original tool "num". /bin/cat already has the -c option to number lines, although it always starts numbering at 1. Wouldn't it be more useful to add the functionality to start numbering at a certain offset to /bin/cat by

Re: Porting shell scripts from Tiny Tools

2023-11-14 Thread Omar Polo
On 2023/11/14 08:19:11 -0300, Crystal Kolipe wrote: > On Tue, Nov 14, 2023 at 11:43:14AM +0100, Daniele B. wrote: > > enanching the original tool "num". I haven't read the previous linked stuff but > /bin/cat already has the -c option to number lines, although it always starts > numbering at 1.

Re: lilypond PDF builds broken in OpenBSD 7.4 following ghostscript-10.02.0->10.02.1 ?

2023-11-14 Thread Stuart Henderson
On 2023-11-14, Stuart Henderson wrote: > On 2023-11-13, Jeremy Mates wrote: >> Nov 12 19:41:30 gear pkg_add: Added firefox-119.0->119.0.1 >> Nov 12 19:41:55 gear pkg_add: Added ghostscript-10.02.0->10.02.1 >> >> PDF builds fail, can someone confirm this isn't my system being wacky? > >

Porting shell scripts from Tiny Tools

2023-11-14 Thread Daniele B.
Hello, I got inspired by the Tiny Tools article, by Gerald J. Holzmann, with some useful shell tools code for coding on Unix-like systems. The article is severals years old (jan 2016) and code should be adapted to OpebBSD. But I'm trying to convert them anyway. You can find the first of these

Re: umb0: open error: FAILURE

2023-11-14 Thread Samuel Jayden
openbsd# cat /etc/hostname.umb0 pin "" apn internet up openbsd# sh -x /etc/netstart umb0 + set +o sh + id -u + let 0 != 0 + . /etc/rc.d/rc.subr + FUNCS_ONLY=1 + _rc_actions=start stop restart reload check configtest + readonly _rc_actions + [ -n 1 ] + return + _rc_parse_conf + PRINT_ONLY=false +

Re: umb0: open error: FAILURE

2023-11-14 Thread Stefan Sperling
On Mon, Nov 13, 2023 at 11:46:14PM +0300, Samuel Jayden wrote: > Hello Stefan(s), > > Thanks for your replies. > In my setup PIN is disabled.Also I've just tried entering { ifconfig umb0 > down;ifconfig umb0 apn internet;ifconfig umb0 pin "";ifconfig umb0 up } But > nothing comes up. > It is

Re: umb0: open error: FAILURE

2023-11-14 Thread Samuel Jayden
Hello Stefan, I bought another line from another GSM operator. I entered its APN information and the result is the same. You can be sure that I made these checks. In fact, in my first message, I wrote that I debugged ifconfig umb0 and sent the output. dmesg after debug flag : umb0: state

Re: umb0: open error: FAILURE

2023-11-14 Thread Stuart Henderson
On 2023-11-13, Samuel Jayden wrote: > # ifconfig umb0 > umb0: flags=8815 mtu 1500 > index 7 priority 6 llprio 3 > roaming disabled registration unknown > state down cell-class none > SIM not initialized PIN required This "PIN required" can be a red herring - iirc you see the same if the device

Re: umb0: open error: FAILURE

2023-11-14 Thread David Coppa
On Tue, Nov 14, 2023 at 10:10 AM Samuel Jayden wrote: > Nothing changed. I've also rebooted... Just to be sure... If you put this sim card into a mobile phone, is it asking for a PIN or not? Ciao, David

Re: umb0: open error: FAILURE

2023-11-14 Thread Samuel Jayden
Hi David, I am absolutely sure that PIN status is turned off. And yes, it doesn't ask for a PIN on the phone either. When you install Linux on the same device, it gets an IP address on the wwan0 interface and can access the internet. On Tue, Nov 14, 2023 at 12:42 PM David Coppa wrote: > On

Re: libc++abi: std::bad_alloc: std::bad_alloc (nodejs)

2023-11-14 Thread Stuart Henderson
On 2023-11-13, 0x1eef <0x1...@protonmail.com> wrote: > Hello > > I have a project that's built with nodejs / webpack. > I have a few other projects that use the same stack, > and are far more complicated. There's no problems > building them on OpenBSD. > > With this particular project, I run into

Re: umb0: open error: FAILURE

2023-11-14 Thread Crystal Kolipe
On Tue, Nov 14, 2023 at 10:54:20AM -, Stuart Henderson wrote: > In general I would recommend using a readymade "LTE router" if possible. > My track record with 3G/LTE devices on OpenBSD is getting about 20% of the > devices that I've tried to actually work... Agreed. An LTE router is a

Re: umb0: open error: FAILURE

2023-11-14 Thread Daniele B.
I own here an Huawei 4g/lte (affordable, 150mbps) dongle that I use sometimes as backup connection but not for OpenBSD directly. I see it is still on Amazon. If you want I can try it under OpenBSD and eventually I pass you the relative info. Nov 14, 2023 16:16:15 Samuel Jayden : > Hi Stuart, >

Re: umb0: open error: FAILURE

2023-11-14 Thread Samuel Jayden
Hi Stuart, I will try to upgrade the SIMCOM LTE module's firmware. Maybe it can solve the problem. Also I've got a related question: How can I connect to (mbim-mode) lte modem's AT interface. As I realized, I can not connect to an LTE device which has switched to mbim-mode under OpenBSD. Before

Re: umb0: open error: FAILURE

2023-11-14 Thread Stuart Henderson
On 2023/11/14 18:12, Samuel Jayden wrote: > > I will try to upgrade the SIMCOM LTE module's firmware. Maybe it can solve  > the problem. While there's a slight chance this might help, I don't think it's very likely. > Also I've got a related question: > How can I connect to (mbim-mode) lte

Re: umb0: open error: FAILURE

2023-11-14 Thread Daniele B.
Nothing useful from here, the device one time inserted gets in an attach / deattach loop.. -- Daniele Bonini Nov 14, 2023 17:45:22 Daniele B. : > I own here an Huawei 4g/lte (affordable, 150mbps) dongle that I use sometimes > as backup connection > but not for OpenBSD directly. I see it is

Re: Porting shell scripts from Tiny Tools

2023-11-14 Thread Crystal Kolipe
On Tue, Nov 14, 2023 at 02:34:27PM +0100, Omar Polo wrote: > On 2023/11/14 08:19:11 -0300, Crystal Kolipe > wrote: > > On Tue, Nov 14, 2023 at 11:43:14AM +0100, Daniele B. wrote: > > > enanching the original tool "num". > > I haven't read the previous linked stuff but > > > /bin/cat already

Reptar aka CVE-2023-23583

2023-11-14 Thread not jacinda ardern
Hi misc@ I saw something about a new intel microcode coming out (subject line) for a goofy new bug somebody found. Do you guys package that up into the fw_update (firmware.openbsd.org) magic or does it only come via the oem's bios updates? Thanks.

pkg_add - error while reading header / read short file / gzheader truncated

2023-11-14 Thread Manuel Solis
Hello Misc, I am configuring a couple of laptops for my kids, i had installed 70 with i3 and gcompris in them, its been a while since the last update so i decided to make a fresh install. So I installed 74 in both of them, used the autoinstall so the process was straightforward as always,

OpenBSD on Framework 13 AMD?

2023-11-14 Thread Max Evans
Thanks to Joshua Stein's work, we know that the Intel machine Framework offers works with OpenBSD. Has anyone had the chance to test its compatibility with their new AMD version[1]? I'd like to take the plunge, but not without knowing how my favorite OS fares on it. -Max [1]:

Porting shell scripts from Tiny Tools

2023-11-14 Thread Daniele B.
Daniele B. : > You can find the first of these shell tools, "nana" (my daughter chinese name > that in italian means 'short female') resembling and > enanching the original tool "num". It is here on https://bsdload.com I just finish to convert the most of them adding the following tools: - fun