hak5 / nano-tetra-modules

The Official WiFi Pineapple Module Repository for the NANO & TETRA
https://wifipineapple.com/modules
463 stars 143 forks source link

tor module won't start from sd install #84

Open einyx opened 4 years ago

catatonicprime commented 4 years ago

Which type of device, tetra or nano? Which firmware? @Foxtrot if you'd like to assign this to me I will commit to getting in the commits ;-)

foxtrot commented 4 years ago

@catatonicprime Let me know if you need anything :)

catatonicprime commented 4 years ago

A follow-up on this.

Looks like opkg install tor, when run on a nano with SD, does not install the tor user/group. I'm experimenting with shimming these users into passwd, group, and shadow to mirror how opkg manages to install it on a tetra.

I believe that change by itself lets me start the tor binary manually as it can properly drop privileges to the tor user (this is the first reason it doesn't start).

After that executing tor as a daemon was tricky due to something else I'm still working on figuring out. I just wanted to follow-up so that people know that I am definitely still working on this.