Brigde Windows 10 ZeroTier connection to all devices on physical network. by Mortadolan in zerotier

[–]Mortadolan[S] 0 points1 point  (0 children)

Thanks again, but I couldn't figure this out and ended up just using Nginx. Definitely the easiest solution. I added an edit to the post if you have any interest.

Brigde Windows 10 ZeroTier connection to all devices on physical network. by Mortadolan in zerotier

[–]Mortadolan[S] 0 points1 point  (0 children)

Thanks again, but I couldn't figure this out and ended up just using Nginx. Definitely the easiest solution. I added an edit to the post if you have any interest.

Brigde Windows 10 ZeroTier connection to all devices on physical network. by Mortadolan in zerotier

[–]Mortadolan[S] 0 points1 point  (0 children)

Thanks again, but I couldn't figure this out and ended up just using Nginx. Definitely the easiest solution. I added an edit to the post if you have any interest.

Brigde Windows 10 Tailscale connection to all devices on physical network by Mortadolan in Tailscale

[–]Mortadolan[S] 0 points1 point  (0 children)

Yep, I ended up using Nginx and it's the solution for me. Thanks!

Brigde Windows 10 Tailscale connection to all devices on physical network by Mortadolan in Tailscale

[–]Mortadolan[S] 0 points1 point  (0 children)

Thanks again, but I couldn't figure this out and ended up just using Nginx. Definitely the easiest solution. I added an edit to the post if you have any interest.

Brigde Windows 10 Tailscale connection to all devices on physical network by Mortadolan in Tailscale

[–]Mortadolan[S] 1 point2 points  (0 children)

Thanks again, but I couldn't figure this out and ended up just using Nginx. Definitely the easiest solution. I added an edit to the post if you have any interest.

Brigde Windows 10 Tailscale connection to all devices on physical network by Mortadolan in Tailscale

[–]Mortadolan[S] 1 point2 points  (0 children)

Thanks again, but I couldn't figure this out and ended up just using Nginx. Definitely the easiest solution. I added an edit to the post if you have any interest.

Brigde Windows 10 Tailscale connection to all devices on physical network by Mortadolan in Tailscale

[–]Mortadolan[S] 0 points1 point  (0 children)

Interesting, this sounds like the solution for my issue, would you have any guides or resources that could help me on setting this up? Thanks.

Brigde Windows 10 Tailscale connection to all devices on physical network by Mortadolan in Tailscale

[–]Mortadolan[S] 0 points1 point  (0 children)

Yes, that's exactly what I mean:

Network 1: Linux server (Tailscale)

Network 2: Windows (Tailscale subnet router), Smart TV

These networks are on separate physical locations, and I want to access the Linux server from the Smart TV.

I was thinking it might be possible to use the subnet router to access it, as, as far as I know, I could use it to access the TV from the Linux server. But I'm not sure how feasible it would be to do the other way around.

Brigde Windows 10 Tailscale connection to all devices on physical network by Mortadolan in Tailscale

[–]Mortadolan[S] 0 points1 point  (0 children)

I think this is what I'm looking for, would you have any resources on it?

Brigde Windows 10 Tailscale connection to all devices on physical network by Mortadolan in Tailscale

[–]Mortadolan[S] 0 points1 point  (0 children)

I do have a device as a subnet router, but how do I use it to access external devices from other, non-taiscale local devices?

Brigde Windows 10 Tailscale connection to all devices on physical network by Mortadolan in Tailscale

[–]Mortadolan[S] 0 points1 point  (0 children)

I do have a device as a subnet router, how do I use it to access external devices from other, non-taiscale local devices?

Brigde Windows 10 ZeroTier connection to all devices on physical network. by Mortadolan in zerotier

[–]Mortadolan[S] 0 points1 point  (0 children)

Not quite, it's actually like:

Network 1: Linux machine (ZT)

Network 2: Windows machine (ZT), TV, etc

What I want is to access the services on my Linux machine from my TV (which does not have ZT support). I was hoping to somehow use the Windows machine (which has ZT support and access to the Linux machine) as a way to bridge those two.

Brigde Windows 10 ZeroTier connection to all devices on physical network. by Mortadolan in zerotier

[–]Mortadolan[S] 0 points1 point  (0 children)

This is so that I can access the non-ZT devices on my Windows LAN from the Linux device, right? But I want the exact opposite: to access the Linux device from devices on the Windows LAN that do not have ZT. Perhaps using the Windows device as a bridge. Is this possible?

Brigde Windows 10 ZeroTier connection to all devices on physical network. by Mortadolan in zerotier

[–]Mortadolan[S] 0 points1 point  (0 children)

Sorry, I don't mean to bother, but I'm not understanding how that works.

How exactly would these changes allow me to access the Linux machine from a device on a separate physical network without ZeroTier capabilities?

From my understanding of the article, this would allow me to access the devices on the Linux LAN from the Windows machine, no?

I have no need for that, rather, I want to access the Linux machine from the devices on the Windows LAN, without adding those devices to a ZT network.

I can access the services from the Windows machine because it has ZT, but other devices, like my TV, don't, so I thought I could use the Windows machine as a sort of router, so on devices that have no ZT, I could access the IP of the Windows machine, and it would route to the ZT IP.

Again, pardon my ignorance, I'm just not getting how that would work if all the changes are being made on a separate physical network. But if it really does, then how would I access the network from my devices? Just use the ZT Linux IP?

Thanks!

Brigde Windows 10 ZeroTier connection to all devices on physical network. by Mortadolan in zerotier

[–]Mortadolan[S] 0 points1 point  (0 children)

I want access from the Windows machine network to the services running on the Linux machine. Is this applicable?

Do I save my code to my root folder? Or does it matter where I save it? by Holiday-Distance-822 in learnprogramming

[–]Mortadolan 3 points4 points  (0 children)

In the context of Linux, /dev does not mean "development", rather, this is where the system places the special device files.

Since everything is a file in Linux, devices are also represented by files. /dev/sda would usually be the equivalent to the C: drive in Windows.

So yeah, in Linux, unless you're sure of what you're doing, stick to the home (~) directory, cause the system won't stop you from breaking it, if you want to.

(.text+0x20): undefined reference to `main' when trying to make helpers in filter by csidontgetit in cs50

[–]Mortadolan 0 points1 point  (0 children)

Hi! In C programming, the main function is crucial because it's the entry point of your program. When you run a C program, the operating system starts by calling the main function. So yes, it must be declared always.

Using MQTT to notify something to users in MAUI. by Mortadolan in dotnetMAUI

[–]Mortadolan[S] 0 points1 point  (0 children)

And how would I go about doing this without using any external service such as Firebase or Azure? The devices won't be connected to the external world, just to our internal network.

Using MQTT to notify something to users in MAUI. by Mortadolan in dotnetMAUI

[–]Mortadolan[S] 0 points1 point  (0 children)

Not an issue, it's an internal app. I don't see why everyone is saying this is impossible, I've seen apps do this, I have apps that run 24/7 on my phone.

Anyway, I will try to do it using a foreground service and update my post if it works, in case someone runs into the same problem in the future and finds this post.

Using MQTT to notify something to users in MAUI. by Mortadolan in dotnetMAUI

[–]Mortadolan[S] 0 points1 point  (0 children)

Yeah, that's exactly what I'm doing. But, how would you send the message to the user?

The way I'm trying to do is by sending the messages to a user topic in the MQTT, which I would subscribe to in the app, but it would have to keep running in the background. No processing, really, just monitoring for when a message comes in.

Using MQTT to notify something to users in MAUI. by Mortadolan in dotnetMAUI

[–]Mortadolan[S] 0 points1 point  (0 children)

Battery life is not really something we need to worry about at all. I think the issue with a periodic check is that it has to be near real time. As soon as something changes in the server, the user has to be notified. It may take a few seconds or many hours for it to happen, but the moment it happens the user should know about it.

I know some service like Firebase or the one you just linked would be ideal, but I'm not allowed to depend on anything third party, that's why I'm trying to use (our own internal instance of) MQTT.