Corsair

joined 2 years ago
[โ€“] Corsair@programming.dev 1 points 4 weeks 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 4 weeks 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 4 weeks ago* (last edited 4 weeks 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 5 months ago* (last edited 5 months ago) (1 children)

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

[โ€“] Corsair@programming.dev 3 points 5 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 5 months ago* (last edited 5 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 ๐Ÿ˜

18
submitted 5 months ago* (last edited 5 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 ๐Ÿ˜

20
regex and awk... (programming.dev)
 

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 )

1
submitted 10 months ago* (last edited 10 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.

 

Hi,

I would like to create a LAN where each node need to authenticate before gaining access to the LAN.

and secondly be able to monitor the data consumption of each node and even limit the speed for a node when exceeded.

I'm looking for something FLOSS. For example a single-board computer with a gnu/Linux etc...

Maybe some distribution or solution already exist for this ?

Thanks.

 

Hi,

I would like to make some simple network simulations

I've tried to make run few (under Linux or Windows)

  • Kathara
  • GNS3
  • EVE-NG (3.1 GB ! to download )
  • omnetpp
  • ns-3
  • Cisco Packet Tracer (Not FLOSS, if I'm not mistaken )

The only one that I managed to install, run and use (set some nodes) was sadly the Cisco Packet Tracer ...

They other have their install process way to much complex or with such layer of dependency or more simply they way the works is too complex (running side VM for each nodes etc..) make it challenging to installing.

Do youn know a FLOSS Network Simulator , this is easy to install ?

Thanks.

 

Hi everyone,

I would like one of my div to have an background-attachment: fixed

But the background still scroll ๐Ÿ˜ค

This div is under html body div div div div div

and it CSS properties are

#TheDiv {
    min-height: 100vh;
    min-width: 100vw;
    background-image: url('/anImage.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    left: 0;
    padding: 40px;
    box-sizing: border-box }

Any Ideas, what could cause the background to scroll anyway ?

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

view more: next โ€บ