[Discussion] Send SMS (which is not 100% reliable) alternatives that don't require UI Interaction (which has it's own issues)?

aitn

Member
hello @FrameXX @Dimlos @Endercraft how can I start the ntfy server on my windows 11 (doesn’t look like it’s supported)? I installed it through power shell scoop and when I do “ntfy serve” I get: “No help topic for ‘serve’”. I tried to set a private server through docker (that’s an emulator that slows down my windows as you need wsl2), but I’m not able to subscribe to topics to it, I tried both android and ios and I get “the request time out” - any idea what’s going on? I’m able to connect/send messages from another pc in the same network though using curl command

I also tried to install on my arch linux machine
when trying to install the downloaded package with the last command "makepkg -si"? I get: "Running makepkg as root is not allowed as it can cause permanent damage to your system"

if I use a non root user called myuser,
when doing the make package, it asks me this at the end (I tried to enter the right password but it didn't work):
==> Finished making: xxx (Thu Jun 22 05:51:51 2023)
==> Installing package xxx with pacman -U...

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for myuser:
Sorry, try again.
[sudo] password for myuser:

it says wrong password for sudo.
it sounds like a permissions issue because it’s not part of sudoers file
I understand you can somehow make the makepkg script to remove the root check, but how? What a pain in the butt to set this up.
 
Last edited:

Dimlos

Well-known member
I don't think anyone on this forum uses self-hosting.
I don't know anything about building servers, etc. and I don't know if I can help you.
 

FrameXX

Well-known member
I’m a little concerned about the privacy though it sounds like not very secure app and there is not really an encryption end to end because you say others could discover it somehow if the topic name is not complex enough

Man unless you are sending bank codes, passwords, extremely personal info or whatever I think you should be fine.
 

aitn

Member
I don't think anyone on this forum uses self-hosting.
I don't know anything about building servers, etc. and I don't know if I can help you.
Could you try to set it up please there is a youtube video guide and installation links here
 

aitn

Member
Man unless you are sending bank codes, passwords, extremely personal info or whatever I think you should be fine.
Well not that I don’t trust their server but I rather have my own server if it’s easy enough to set up. Are you able to do it
 
Last edited:

Dimlos

Well-known member
Using docker on Windows 11 did not work, but when I set it up on Linux it worked fine on my local network.
 

Attachments

  • ntfy.jpg
    ntfy.jpg
    106 KB · Views: 1

Dimlos

Well-known member
I can't publish externally because I can't open ports on DS-Lite, but self-hosting worked.
If you're at the level where you're stumped because you don't know the sudo password, it might be a bit of a stretch.
 
Last edited:

aitn

Member
I can't publish externally because I can't open ports on DS-Lite, but self-hosting worked.
If you're at the level where you're stumped because you don't know the sudo password, it might be a bit of a stretch.
I was able to bypass it on my linux arch by downloading a pre compiled version, but now I'm stuck at this one:
when I try to run it I get: FATAL listen tcp :80: bind: address already in use (exit_code=1). I tried to adjust server.yaml to listen-http: ":8080" but it keeps saying the same error, what am I missing? note: I already have something running on that 80 port.

btw, how do you overcome this issue "I can't publish externally because I can't open ports on DS-Lite, but self-hosting worked."
what does self-hosting means? is it free? and if you don't do self hosting what's the alternative? open ports? will it cause a security risk? if not opening ports, what's the alternative, a vpn? will it be annoying to have the vpn turned on all the time on the phone to be able to get these notifications? I don't see there is an ios setting for vpn always on for my ios 14, do you? (specifically didn't see that in my tailscale app either).

Thank you.
 
Last edited:

Endercraft

Moderator (& bug finder :D)
What about you use the easy way... Just use the ntfy server, it's easier and you won't have any problems if you choose a comple topic name (or even reserve one if you're really worried).
 

aitn

Member
What about you use the easy way... Just use the ntfy server, it's easier and you won't have any problems if you choose a comple topic name (or even reserve one if you're really worried).
yes I’ll consider that but do you have some answers to my questions what would you do if you needed to use a private sever? We choose to use a private server. We choose to go private in this decade and do the other things, not because they are easy, but because they are hard, because that goal will serve our privacy ;)
 
Last edited:

Endercraft

Moderator (& bug finder :D)
I don't need to : I use the ntfy server and it works perfectly fine... Why do you want your own server in the first place ? You could use it on your local network at best given that you're even able to set it up. I didn't try to install but according to documentation it seems easy enough. I don't think anyone here but you wants to setup their own server so I'm afraid there's not much anyone can do but try and set it up.
 

aitn

Member
I don't need to : I use the ntfy server and it works perfectly fine... Why do you want your own server in the first place ? You could use it on your local network at best given that you're even able to set it up. I didn't try to install but according to documentation it seems easy enough. I don't think anyone here but you wants to setup their own server so I'm afraid there's not much anyone can do but try and set it up.
But if I’m away from my local network, then what do you do? It won’t work? Can Macrodroid bridge that gap just like it does with send sms which is no matter if are in the local network or away from it you still will get the sms (assuming the carrier didn’t temporary blocked you)?
 

Dimlos

Well-known member
I'm sure a little research will help.

To find out what is used on port 80
Code:
sudo lsof -i -P | grep ":80"
If you want to boot on port 8080
Code:
sudo ntfy serve --listen-http :8080
 

FrameXX

Well-known member
Did you try to work out your problem with ChatGPT? Sometines it's unhelpful, but sometimes it does help. I had little to no experience with Linux commands, but was able to install drivers for a Wi-Fi adapter thanks to ChatGPT anyway.
 

aitn

Member
Did you try to work out your problem with ChatGPT? Sometines it's unhelpful, but sometimes it does help. I had little to no experience with Linux commands, but was able to install drivers for a Wi-Fi adapter thanks to ChatGPT anyway.
But if I’m away from my local network, then what do you do? It won’t work? Can Macrodroid bridge that gap just like it does with send sms which is no matter if are in the local network or away from it you still will get the sms (assuming the carrier didn’t temporary blocked you)?

open ports? will it cause a security risk? if not opening ports, what's the alternative, a vpn? will it be annoying to have the vpn turned on all the time on the phone to be able to get these notifications? I don't see there is an ios setting for vpn always on for my ios 14, do you? (specifically didn't see that in my tailscale app either).
 
Top