Linux - Reddit – Telegram
Linux - Reddit
751 subscribers
4.17K photos
207 videos
39.8K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
Reverse SSH Tunneling, how to access application/services on the raspberry pi?



Hi, so I'm quite new to ssh tunneling, I needed some way to access my raspberry that's connected to 4g network that can't be port-forwarded.

​

https://preview.redd.it/rz0gtoouuxn41.jpg?width=1152&format=pjpg&auto=webp&s=d4a5a565a7c876561f0b42db975903d392f94c4d

I've managed to configure autossh on m pi4 to google cloud, and I'm able to ssh into the pi from google cloud.

Only thing I'm not quite sure is how exactly do I access services running on the pi with gui? Like nzbget running on port 3456 or other services running on different ports.

And is it even possible to access other devices (cctv for example) connected to the same router as my pi?

I added the autossh noscript to systemd,

`[Unit]`

`Denoscription=Phone Home Reverse SSH Service`

`ConditionPathExists=|/usr/bin`

[`After=network.target`](https://After=network.target)

​

`[Service]`

`User=pi`

`ExecStart=/usr/bin/ssh -NTC -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -o StrictHostKeyChecking=no -i /home/pi/.ssh/id_rsa -R 6667:localhost:22 pi@googlecloud_ipaddress`

​

`# Restart every >2 seconds to avoid StartLimitInterval failure`

`RestartSec=3`

`Restart=always`

​

`[Install]`

[`WantedBy=multi-user.target`](https://WantedBy=multi-user.target)

I also found another autossh noscript from raspberrypi forum but I couldn't get it to work which I couldn't post here since external link is not allowed

https://redd.it/fm7zgf
@r_linux
Idea for a low-cost, low-power, 3d-printed raspberry pi-based backup

My problem is that it's tough to get good backups in remote locations.


So, I'm looking at making a low-power, low-cost backup machine (using ZFS, but you could use it with any others). It seems like the pieces are coming together, and I want to gather some thoughts before I dive in. Let me know how I can improve the design - or if you think there might be others interested.


Spoiler: I'm thinking of using a 3d-printed case.


[https://www.reddit.com/r/zfs/comments/fm9n2s/ideas\_for\_lowcost\_lowpower\_zfs\_box\_zfs\_for\_the/](https://www.reddit.com/r/zfs/comments/fm9n2s/ideas_for_lowcost_lowpower_zfs_box_zfs_for_the/)

https://redd.it/fma11r
@r_linux
Installing Linux on an M.2 SSD - a few questions regarding duel booting on my PC, grub bootloader, etc.

I just learned that my [motherboard](https://www.newegg.com/asrock-b450m-pro4/p/N82E16813157843?Item=N82E16813157843) has an M.2 slot to install an M.2 SSD, which I plan to install Linux on

I go back to school this April to pursue a degree and career in Enterprise Networking/IT - not sure specifically which direction I want to go, but as I begin to learn I know I'll notice areas I like more than others.

Anyway - I'd like to start learning Linux to give me a head start. This quarter I am taking a class called Ethical Hacking which uses Kali Linux. I am reading that this is the best way to learn and get comfortable with Linux is to just use it for my daily computing tasks. I know it's pretty easy to install Linux on an a SSD for that matter but that's pretty much it

I keep reading about the "grub bootloader" which I am kind of confused about, so I was hoping I could get some more info regarding it, how to install Linux with it and easily which between each OS. Does the grub bootloader make it so I don't have to jump into the BIOS every time and pick which drive I want to boot from? Does it make that process smoother? Is the grub bootloader automatically installed with any distribution of Linux I choose? Or it something I have to manually install myself once I install the OS? Any other info regarding it is appreciated.

https://redd.it/fmacnw
@r_linux
Linux on new 2020 Macbook Air

I prefer Apple hardware (build quality, aesthetics, portability) and Linux software (Void, Slackware, minimal, no systems, stable). Think "best of both worlds" and , yes, have also used Lenovo/Dell, etc. Has anyone tried Linux on the new MB Air in terms of hardware conpatability?

https://redd.it/fmddf7
@r_linux
Distro chose....

Hello.

I\`m new to the linux world. "have some on my lab."

I\`m looking in to innstaling on my main system on a seperate disk for duel boot .

​

Hardware:

Asus B450-F

AMD Ryzen 7 3700x CPU

HyperxFury DDR4 32GB RAM

Asus RX 5700 XT GPU

Linux will get a 2 tb drive alone.

​

The Question.
Witch linux distro wil be the best one to start with? And with the qestion in mind, i want to run 3 screens like i do in my Windows enviroment.

Tried this on an older system, but that system had 3 gpus and failed hard.

​

Ubuntu and Pop OS comes to mind on relative compatible Os and allot of easy documentation.

​

I need something to do here in Quarentine.... hehe

https://redd.it/fmgwm2
@r_linux
ZombieTrackerGPS 0.96 released (Linux GPS mapping application)

I've released a new version of ZombieTrackerGPS, version 0.96.

ZTGPS is a Linux+KDE native PIM application satisfying the same purpose as Garmin's "BaseCamp" software, which does not run on Linux.

ZTGPS provides sophisticated query and sorting capabilities for GPS tracks. This application is targeted at outdoor sports and recreation such as hiking, cycling, sailing, skiing, and others. I wrote it because Garmin's own software was the last thing tying me to a Windows VM, and it also didn't provide a number of capabilities I wanted in such a tool such as robust query facilities.

It's spyware free, with no data scraping or monetization, and fully open source. It also supports open datasets such as OpenStreetMap and Open Bike&Hike maps. Donation links for OSM, Debian, and KDE are provided in-app in the "Help/About..." window.

[Large size screenshot in dark theme.](https://gitlab.com/ldutils-projects/zombietrackergps/-/wikis/uploads/cbb5799c1df0eb7ccef8fecd62438971/ZTGPS-Full-Dark.png)

[Wiki with screenshots and packages](https://gitlab.com/ldutils-projects/zombietrackergps/-/wikis/home)

[Gitlab source repo](https://gitlab.com/ldutils-projects/zombietrackergps/-/tree/master)

The Wiki link contains a [Downloads section](https://gitlab.com/ldutils-projects/zombietrackergps/-/wikis/Downloads) with binary .deb packages for Debian based distros.

ZTGPS is Qt based for KDE or LXQt desktops, but (I hope) should work in other desktops to the extent any Qt apps do. It will use the KDE settings (UI colors, etc) in that case.

*Recent changes:*

* New "View/Reload Visible Area" menu to refresh visible map areas from network sources.
* Date comparisons in queries (such as "Begin_Date >= 01-Jan-2019") were broken, and now work.
* Added some missing UI tooltips.
* Fixed build warnings on g++ 9.2. It should compile with no errors or warnings on 9.2 now.
* Secondary windows are now kept on top of the main window by default. This behavior is selectable via a tab-bar context menu on secondary windows: "Keep Window on Top".
* Add running-oriented min/mile and min/km reciprocal speed units.
* Allow tag-specific speed unit override. E.g, min/mile for running, and mi/hr for cycling.
* Add tooltips to the Track Point pane showing data for each sample point.
* New activity icons for parachutes.
* New wheelchair and handcycle activity icons for disabled athletes.
* New Misc icon category (earth, internet, hills, eco, etc) from FreeSVG.org, under CC license.

https://redd.it/fmifnm
@r_linux
Solus 4.1 on a 2006 HP Laptop with a 1.5Ghz Intel Celeron duo and 2Gigs of RAM
https://redd.it/fmkrel
@r_linux
Other than a desktop, how are linux distros different?

Hey friends, intermediate linux user here... in my 2 years using linux I've tried at least 2 dozen distros. The most notable difference being the desktop enviroment.

What's the benifits if each branch "under the hood". I know terminal commands change slightly, but other than that are there any major differences I should know about?

Thanks for your help!

https://redd.it/fmr7s1
@r_linux
Whats your oldest working installation of a distro ?
https://redd.it/fmrghu
@r_linux
I'm Linux user , questions about cuda on Wayland.

I recently moved away from Xorg , I have a recently bought a laptop with Nvidia latest graphics card. I dont really mind with it , but I would like to use cuda computing units on my Wayland setup. O know Nvidia doesn't support Wayland ( I use swaywm doesn't support nvidia). Is there any way I can just use the graphics card for computing purpose?

https://redd.it/fmrgdf
@r_linux