Corsair

joined 2 years ago
[โ€“] Corsair@programming.dev 1 points 6 days ago (1 children)

Thanks all, I've found the problem it was my ISP router that was blocking it. --> solved.

[โ€“] Corsair@programming.dev 1 points 6 days ago (1 children)

Thanks @InnerScientist@lemmy.world & @ark3@lemmy.dbzer0.com

Actually I don't think it's the firewall, because all the other programs, protocol are working fine. I've tried with chrony too but I get

No suitable source for synchronisation

May be because the client is a VM ?

6
submitted 1 week ago* (last edited 6 days ago) by Corsair@programming.dev to c/linux@lemmy.ml
 

Hi,

I want to use openntpd to sync my clock

I'm using

ntpd -ds

I see in my firewall that the dns resolution is working, and I get a server IP from the pool ๐Ÿ‘

but anyhow I get

ntp engine ready no reply received in time, skipping initial time setting
no reply from x.x.x.x received in time, next query 300s

Weird my nftable config file should allow it:

# extract
chain OUT {
type filter hook output priority 0; policy drop;
udp dport 123 accept
}

chain IN {
type filter hook input priority 0; policy drop;
ct state established, related accept
}

Any ideas, or which lemmy community to cross-post ?

Thanks.

[โ€“] Corsair@programming.dev 3 points 4 months ago* (last edited 4 months ago) (1 children)

Thanks @cypherpunks@lemmy.ml But I rather want something to run locally.

[โ€“] Corsair@programming.dev 3 points 4 months ago

Thanks @HelloRoot@lemy.lol But I stop with raspberry pi..

But I found https://wammu.eu/python-gammu/ I just have to foud out if it could work with a USB-GSM-Modem, dongle and it should do the trick.

 

cross-posted from: https://programming.dev/post/40414734

Hi,

I would like to forward automatically Text messages.

A couples of years before, I was doing it easily with some FLOSS apps

But none of those apps (I keep the apk ;) ) works anymore on "recent" AOSP[^1] phone ๐Ÿคจ ( Thanks to g**gle, to not take care of retro-compatibility )..

So, I lost time to dig for new apps (FLOSS and not)

I'm willing to write a "Shell" script to run under Android, to just do that (I've never developed for Android, so if you have any advice I'm all ears )

or any other solution like

  • Linux phone ROM ( without systemd )
  • or maybe a simcard dongle, to allow my Linux computer to receive/send text ?

[^1]: a ROM that use AOSP is generally gapps free ๐Ÿ˜

2
submitted 4 months ago* (last edited 4 months ago) by Corsair@programming.dev to c/opensource@lemmy.ml
 

cross-posted from: https://programming.dev/post/40414734

Hi,

I would like to forward automatically Text messages.

A couples of years before, I was doing it easily with some FLOSS apps

But none of those apps (I keep the apk ;) ) works anymore on "recent" AOSP[^1] phone ๐Ÿคจ ( Thanks to g**gle, to not take care of retro-compatibility )..

So, I lost time to dig for new apps (FLOSS and not)

I'm willing to write a "Shell" script to run under Android, to just do that (I've never developed for Android, so if you have any advice I'm all ears )

or any other solution like

  • Linux phone ROM ( without systemd )
  • or maybe a simcard dongle, to allow my Linux computer to receive/send text ?

[^1]: a ROM that use AOSP is generally gapps free ๐Ÿ˜

19
submitted 4 months ago* (last edited 4 months ago) by Corsair@programming.dev to c/android@lemmy.world
 

Hi,

I would like to forward automatically Text messages.

A couples of years before, I was doing it easily with some FLOSS apps

But none of those apps (I keep the apk ;) ) works anymore on "recent" AOSP[^1] phone ๐Ÿคจ ( Thanks to g**gle, to not take care of retro-compatibility )..

So, I lost time to dig for new apps (FLOSS and not)

I'm willing to write a "Shell" script to run under Android, to just do that (I've never developed for Android, so if you have any advice I'm all ears )

or any other solution like

  • Linux phone ROM ( without systemd )
  • or maybe a simcard dongle, to allow my Linux computer to receive/send text ?

[^1]: a ROM that use AOSP is generally gapps free ๐Ÿ˜

 

cross-posted from: https://programming.dev/post/31833654

Hi,

I would like to found a regex match in a stdout

stdout

 /dev/loop0: [2081]:64 (/a/path/to/afile.dat)

I would like to match

/dev\/loop\d/

and return /dev/loop0

but the \d seem not working with awk ... ?

How to achieve this ? ( awk is not mandatory )

 

Hi,

I would like to found a regex match in a stdout

stdout

 /dev/loop0: [2081]:64 (/a/path/to/afile.dat)

I would like to match

/dev\/loop\d/

and return /dev/loop0

but the \d seem not working with awk ... ?

How to achieve this ? ( awk is not mandatory )

3
submitted 9 months ago* (last edited 9 months ago) by Corsair@programming.dev to c/meta@programming.dev
 

Hi,

I saw that someone replied to one of my topics, and I wanted to react or reach him back. But I've saw the following :

I suppose it's only the Network community ? (where the post was hosted ? )

I've discovered the modlog

https://programming.dev/modlog?page=19&actionType=ModBanFromCommunity&userId=1227688

But this user seem to have a lot of activity :) So I don't find why on Network he was Banned ?
is there an easy way ?

Thanks.

1
submitted 1 year ago* (last edited 1 year ago) by Corsair@programming.dev to c/programming@programming.dev
 

Hi,

Is it just me, or posting image is not working anymore on programming.dev ?

Thanks.

0
submitted 2 years ago* (last edited 2 years ago) by Corsair@programming.dev to c/webdev@programming.dev
 

Hi,

I discovered this webpage
https://developer.mozilla.org/en-US/docs/Glossary/XMLHttpRequest

Where it say

The Fetch API is the modern replacement for XMLHttpRequest.

Without further explain on why so...

Did you (yourself) migrated from XHR to The Fetch API ? and is it better ? or do you know any (not bias) article about it ?

What about performances etc..

Thanks

cross-posted onhttps://lemmy.world/post/14707833