UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. davedanger
    D
    • Profile
    • Following 0
    • Followers 1
    • Topics 2
    • Posts 27
    • Best 5
    • Controversial 0
    • Groups 0

    davedanger

    @davedanger

    6
    Reputation
    7
    Profile views
    27
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    davedanger Unfollow Follow

    Best posts made by davedanger

    • RE: Wish list : which apps do you need?

      @moem The regular ESPN CBS Sports Fox Sports, but after I wrote this I remembered the Webber App does a pretty job with more simple apps like these.

      posted in App Development
      D
      davedanger
    • RE: TMobile issues

      @kmsgli You can start receiving SMS if you change from 4g to 3g. As far as the MMS I still don't know how to fix this.

      posted in Google Pixel 3a/3a XL
      D
      davedanger
    • RE: Wish list : which apps do you need?

      Freetube would be pretty cool

      posted in App Development
      D
      davedanger
    • RE: TMobile issues

      Don't know if this helps, but I just received an MMS error message and I replied back saying, send the pic on Signal, I can't receive MMS right now. They replied back that they weren't sending a pic, they were creating a Group Message. So Group Message creates an MMS error message. Hope this might help any Developers.

      posted in Google Pixel 3a/3a XL
      D
      davedanger
    • RE: Wish list : which apps do you need?

      The Open Store desperately needs a good American sports app

      posted in App Development
      D
      davedanger

    Latest posts made by davedanger

    • RE: VPN kill switch

      @luksus @ubportsuser I'm a big fan of the UT Tweaks Tool, it's very handy. I've just been trying to find a way to execute scripts and keep them running without having to keep the terminal open.

      posted in Support
      D
      davedanger
    • RE: VPN kill switch

      @ubportsuser how do you keep the script running after you close the terminal?

      posted in Support
      D
      davedanger
    • RE: Auto Execute Startup Scripts

      The script is:

      #!/bin/bash
              while [ "true" ]
              do
               VPNCON=$(nmcli con status)
               if [[ $VPNCON != *MyVPNConnectionName* ]]; then
               echo "Disconnected, trying to reconnect..."
               (sleep 1s && nmcli con up uuid d******c-d***-4***-b***-3**********4)
               else
               echo "Already connected !"
               fi
               sleep 30
               done
      

      The UUID of your personal VPN can be found with: nmcli con

      If I run this script in the terminal with bash script.sh or just copy/paste, it works great. My VPN toggles 'on' automatically, and if I turn off my VPN it toggles itself back 'on' so long as I keep my terminal open. However, if I run the script as any kind of startup script, after I reboot, the VPN will toggle 'on' then 'off' and I get a VPN Failed message. And this will keep happening at whatever duration you have set in the script. This generic script is 30secs, I set my personal one to 5secs and it toggles 'on' fails then toggles 'off' every 5secs.

      posted in Support
      D
      davedanger
    • RE: Auto Execute Startup Scripts

      @flohack It's a vpn auto-connect script

      posted in Support
      D
      davedanger
    • Auto Execute Startup Scripts

      Is there any commands or something that have to be run in the terminal for a script to start at boot? Scripts run fine using $ bash script.sh but when run through crontab, /etc/init.d/script, and the like to start at boot, the scripts don't function properly.

      posted in Support
      D
      davedanger
    • RE: [HowTo] Alternate way of saving battery when using 4G/LTE

      @c4pp4 I understand that, I only tried to manually start it after reboot because it didn't seem to be working, that's when it said it was already running. And if I copy/paste the script into the terminal it goes to 2g when locked and L when unlocked, no problem. It's just when I try to run it as a startup script, then it's running just not executing, and that's any script, not just this one, and I can't figure out why.

      posted in Support
      D
      davedanger
    • RE: [HowTo] Alternate way of saving battery when using 4G/LTE

      @c4pp4 I mean to have the script run at startup through either nano or chrontab @reboot. When I try "start batterysaver" after reboot, it says it's already running. I think the issue is on my end, because I've also tried running a vpn-autoconnect with the same results. It works fine when I copy/paste into the terminal, but when I nano or chrontab @reboot, the vpn switch automatically moves to "on" every 5 secs as scheduled but immediately fails and turns off. So I'm pretty sure the battery saver script is doing the same thing, trying to work but can't quite execute. Hope this was helpful.

      posted in Support
      D
      davedanger
    • RE: [HowTo] Alternate way of saving battery when using 4G/LTE

      @c4pp4 I'm using OS Ubuntu 16.04 (2021-09-02/2) on a Pixel 3a

      posted in Support
      D
      davedanger
    • RE: [HowTo] Alternate way of saving battery when using 4G/LTE

      Script works good running in the terminal but doesn't seem to work when put in upstart

      posted in Support
      D
      davedanger
    • RE: [GUIDE] VPN always active

      @bigb The script from the gabsoftware link works great when run straight in the terminal, but when put in startup, the vpn tries to reconnect but can't for some reason.

      posted in Support
      D
      davedanger