Corsair

joined 2 years ago
15
submitted 2 months ago* (last edited 2 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 😍

 

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

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

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

 

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

 

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

Hi everyone,

I would like to learn to program and built project using MicroControllers

I'm a Python dev. Therefore I would like to use it to program those.

But I've no idea where to start..

  • For the hardware:
    • What will be the best Raspberry Pi or Arduino ?
      I know they are not the same thing but could tell me in which situation you use more one than the other ? Or do you use something else ?
  • Software
    • I've already my IDE VisualCodium
      What is MicroPython Vs CircuitPython ?

If you have any resources I'm all eras.

Thanks.

view more: next β€Ί