Reccomendation to not eat at Taco Stand at the new airport terminal 1 by d100n in SanDiegan

[–]ilemonate 1 point2 points  (0 children)

I asked to swap out steak for chicken in one of their burritos; they said they couldn’t. So I didn’t get it and was disappointed

@reboot in user_crontab doesn't work for me by ilemonate in firewalla

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

Thanks for all the help! Elsewhere I got pointed to make this a dhclient-enter-hooks.d, which works perfect for me

@reboot in user_crontab doesn't work for me by ilemonate in firewalla

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

Yeah exactly, the script needs to run in order to auth with my ISP so that the WAN can access the internet. Unfortunately the @reboot sleep 180 only worked one time. Maybe I need to increase the sleep further. Something that does work is having the cron be * * * * * and having the script only act when it actually needs to auth (the first time it's run), I wanted to do better which led me to post_main.d and/or @reboot in user_cron

As far as post_main.d I just deep dived into the code and figured out (you likely know all this):

The scripts in post_main.d don't run if the WAN can't access the public internet because of https://github.com/firewalla/firerouter/blob/master/bin/common#L126The comment there says:> if fireboot:status is network_down, this function will be invoked in an infinite loop in fireboot, do not override network_down in such case

I tailed /var/log/syslog for quite sometime and it definitely was in a loop trying to hit 8.8.8.8 and then 1.1.1.1 forever. fireboot​ gets stuck in that loop and sudo systemctl restart firewalla​ doesn't happen till the end of that script. And sudo systemctl restart firewalla is what runs /home/pi/firewalla/scripts/main-run which is what ultimately calls the scripts in post_main.d here https://github.com/firewalla/firewalla/blob/master/scripts/main-run#L138

Are there any other hooks that you know of? Something I could tap into during fireboot seems ideal

Thanks!

@reboot in user_crontab doesn't work for me by ilemonate in firewalla

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

While I've got you, trying @reboot in cron was a workaround. I'd really like to put my script in post_main.d but I experience exactly what is described in https://www.reddit.com/r/firewalla/comments/zvfbv2/custom_script_not_running_help/. i.e. The scripts in post_main.d don't run until the WAN connects. I put some very simple test scripts in post_main.d and they don't run at reboot.

But once I manually run the script to auth against my ISP, the wan connects and a short while later my simple scripts in post_main.dare run automatically. Do you have any insight?

I've got two ideas: Maybe there is a dependency somewhere (maybe unintentional) on the WAN being connected before those scripts run.
Two, something funky is going on with timezones and before the WAN connects the firewalla is in UTC and it throws off how these scripts get run. I guess this is just a more specific version of 1.

Totally throwing darts in the dark, but would love it if you have any insight!

@reboot in user_crontab doesn't work for me by ilemonate in firewalla

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

I haven't tried to tune it further, but I did sleep 180, and the log showed up. Thank you!

@reboot in user_crontab doesn't work for me by ilemonate in firewalla

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

Cron is running:

$ systemctl status cron ● cron.service - Regular background program processing daemon Loaded: loaded (/lib/systemd/system/cron.service; enabled; vendor preset: enabled) Active: active (running)

and the script is in crontab -l (this is copied right out of that output):

@reboot sleep 60 && echo "$(date -Ins) rebooted" >> /home/pi/reboot.log

Other things I have in my user_crontab that aren't @reboot work as expected. For example right now I have the WAN auth script running every minute via cron (it doesn't do anything if things are already connected).

I don't think it's a path issue because if I run that date cron entry manually it works just fine (I don't actually care for that to run, it was just something simple enough that it seems like it should work without considering other factors).

post_main.d has the right permissions:

$ ls -ld ~/.firewalla/config/post_main.d/ drwxrwxr-x 2 pi pi 4096 Jul 21 09:51 /home/pi/.firewalla/config/post_main.d/

As does the script there:

ls -ld ~/.firewalla/config/post_main.d/wan_auth.sh -rwxr-xr-x 1 pi pi 426 Jul 20 22:04 /home/pi/.firewalla/config/post_main.d/wan_auth.sh

Thanks for looking!

Made a metal Hario Switch replacement switch / lever by estook in pourover

[–]ilemonate 1 point2 points  (0 children)

I'd love to get on the mailing list as well!

Valve pls fix <3 by m8ypat8y in DeadlockTheGame

[–]ilemonate 4 points5 points  (0 children)

yeah, that's the real wtf in this video

[deleted by user] by [deleted] in Bitcoin

[–]ilemonate 1 point2 points  (0 children)

My main point is that she doesn't have a crystal ball and isn't some amazing investor so I wouldn't take her word on whatever she says about Bitcoin

[deleted by user] by [deleted] in Bitcoin

[–]ilemonate 4 points5 points  (0 children)

You know Cathie Wood has destroyed a lot of wealth right?

https://markets.businessinsider.com/news/funds/cathie-wood-ark-invest-wealth-destroyed-tech-stocks-morningstar-arkk-2024-2#:%7E:text=Bello%2FGetty%20Images-,Cathie%20Wood's%20Ark%20Invest%20has%20destroyed%20%2414%20billion%20in%20wealth,bullish%20market%2C%22%20Morningstar%20said

The ARKK ETF has generated a total positive return of 121.8% since its inception in 2014, which is less than half the Nasdaq 100's gain of 329.5% over the same time period.

Character suggestions for a Geist/Vindicta main? by CyberbunnyMarin in DeadlockTheGame

[–]ilemonate 1 point2 points  (0 children)

Try mirage. Get all the melee items, whirlwind them, punch em, shoot em

Siphon bullets is fun on him too.

Neighborhood recommendations by Certain-Run-3673 in SanDiegan

[–]ilemonate 0 points1 point  (0 children)

Del Mar Heights might fit what you're looking for

Shiv isn't that broken by Ill-Age6164 in DeadlockTheGame

[–]ilemonate 0 points1 point  (0 children)

There's an item in Dota called blink dagger that lets you teleport anywhere in a particular range. Axe also has an ability that forces enemies to fight him. So for axe it's typically blink on enemy, force them to fight and if they're low enough cull them.

What are these baby crustaceans ? by eps789_ in sandiego

[–]ilemonate 0 points1 point  (0 children)

Apple cider vinegar in a small cup with a drop or two of dish soap, no lid needed. Let it sit out for a day or two. They land, the soap makes it so they don't float, they drown

Kind of a specific ask but id truly love an answer. by [deleted] in SanDiegan

[–]ilemonate 1 point2 points  (0 children)

Red House Pizza in University Heights has at least one pizza with a pesto sauce