Corsair

joined 2 years ago
[–] Corsair@programming.dev 3 points 1 month ago* (last edited 1 month ago) (1 children)

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

[–] Corsair@programming.dev 3 points 1 month 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 1 month ago* (last edited 1 month 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 1 month ago* (last edited 1 month 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 )

[–] Corsair@programming.dev 1 points 6 months ago* (last edited 6 months ago)

a more accurate diagram of what I'm targeting..

β”Œβ”€β”€β”€β”€β”€β”€β”       β”Œβ”€β”€β”€β”€β”€β”€β”€β”         β”Œβ”€β”€β”€β”  
β”‚Node 1β”‚       β”‚Node 2 β”‚         β”‚DVRβ”‚  
β””β”€β”€β”¬β”€β”€β”€β”˜       β””β”¬β”€β”€β”€β”€β”€β”€β”˜         β””β”€β”¬β”€β”˜  
   β”‚            β”‚                  β”‚    
   β”‚            β”‚                  β”‚    
vlan10         vlan10             vlan20
   β”‚            β”‚                  β”‚    
   └─────────░  β–‘  β–‘β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    
             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”              
             β”‚hEX refreshβ”‚              
             β”‚E50UG      β”‚ β–‘            
             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜              
                 β–‘                      
                 β”‚                      
                 β”‚                      
                 β”‚                      
              trunking                  
                 β”‚                      
                 β”‚                      
                 β”‚                      
                 β–‘                      
               β”Œβ”€β”€β”€β”  β–‘                 
               β”‚hEXβ”‚  β–‘                 
               β””β”€β”€β”€β”˜  β–‘                 
                      β–‘                 

β–‘ = port

So it should be possible for Node 1 to reach DVR ? Either trough Firewall or VLAN rules ?

[–] Corsair@programming.dev 1 points 6 months ago* (last edited 6 months ago) (1 children)

Thanks @fraksken@infosec.pub

with Firewall I get how to do it, but with VLAN ??
I was thinking an access port could be only on VLAN at the time no ?

 

Hi,

Is it possible in a router to route traffic from one specific node ( here the laptop to the DVR) but not the other way around ( DVR to 192.168.10.0/28 ) ?

        192.168.10.1/28             
            β”Œβ”€β”€β”€β”€β”€β”€β”                
            β”‚laptopβ”‚                
            β””β”€β”€β”€β”¬β”€β”€β”˜                
                β”‚                   
                β”‚                   
                β”‚                   
                β–Ό                   
             β”Œβ”€β”€β”€β”€β”€β”€β”               
        β”Œβ”€β”€β”€β”€β”€routerβ”œβ”€β”€β”            
        β”‚    β””β”€β”€β”€β”€β”€β”€β”˜  β”‚            
        β”‚              β”‚            
        β–Ό              β–Ό            
     β”Œβ”€β”€β”€β”€β”€β”€β”        β”Œβ”€β”€β”€β”          
     β”‚serverβ”‚        β”‚DVRβ”‚          
     β””β”€β”€β”€β”€β”€β”€β”˜        β””β”€β”€β”€β”˜          
192.168.10.2/28      192.168.20.1/28
                             ──     

Meaning, I want to keep the DVR in it's subnet only. But allow the laptop to reach it.

Thanks.

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

[–] Corsair@programming.dev 0 points 9 months ago* (last edited 9 months ago)

Thanks @testman@lemmy.ml

StackOverflow says that it can be done by editing xrdp.ini

This post date from 2013 O_o

default /etc/xrdp/xrdp.ini in my version

[Xorg]
name=Xorg
lib=libxup.so
username=ask
password=ask
ip=127.0.0.1
port=-1
code=20

[Xvnc]
name=Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1

[vnc-any]
name=vnc-any
lib=libvnc.so
ip=ask
port=ask5900
username=na
password=ask

[neutrinordp-any]
name=neutrinordp-any
lib=libxrdpneutrinordp.so
ip=ask
port=ask3389
username=ask
password=ask

so I don't have [xrdp1]

Β  Β 

To summarize:

Edit the xrdp.ini file set port = ask connect from the remote machine, and at login if you have no existing session, specify port -1 to resume a session enter the default of 5910

I believe this i working if the previous session was already made remotely.. ?otherwise how I get the port of the local X session ?

Β  Β 

Is there a specific reason for choosing RDP?\

rdp is usefull if you have windows client client, but that it's.

Β  Β 

And RustDesk is also a good, more advanced alternative.

great piece of software, but too heavy in my case, I want something simple, that just do one thing good. I don't need

  • End-to-end encryption
  • File transfer
  • Chat features
 

Hi,

I've installed xrdp on Devuan(debian with sysvinit)

when I connect from other machine (linux, windows) with rdp, I get a fresh new desktop (even the wallpaper is the default one) and none of the opened windows on the server (same account) is displayed on the remote client.

Is it the nature of the rdp protocol or is it possible to reconnect to the same xfce session ?

Thanks.

[–] Corsair@programming.dev 1 points 9 months ago

it works back, it's just super slow.....

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

 

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

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 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.

 

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

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.

[–] Corsair@programming.dev 1 points 1 year ago* (last edited 1 year ago)

I think I found the cause.

one of the parent div have is properties perspective and it seem to be the problem... (Firefox 115*)

So I created an dirty workaround ;)

[–] Corsair@programming.dev 1 points 1 year ago

Thank you @nnullzz@lemmy.world & @bjorney@lemmy.ca & @fubarx@lemmy.ml

for those explanations ! So, as I have my hand on a raspberry , I will give a shot with that first :)

[–] Corsair@programming.dev 2 points 1 year ago

Thank you very much for your feedback @anzo@programming.dev & @rimu@piefed.social

[–] Corsair@programming.dev 2 points 1 year ago (1 children)

Thanks @pietervdvn@lemmy.ml unfortunatly ikea is quite the opposite of

... ~strong ...

[–] Corsair@programming.dev 0 points 2 years ago (1 children)

Thanks @Max_P@lemmy.max-p.me weird because I can use XHR as async.. see: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open open(method, url, async)

[–] Corsair@programming.dev 2 points 2 years ago* (last edited 2 years ago)

Thank you all for your input's !! πŸ€—

I've put the files on a USB flash drive formatted as a classic FAT. Then I mounted it in the VM (I confirm no need the VMware-tools for that :)

view more: next β€Ί