simeononsecurity / simeononsecurity.com-comments

Just here to use as a serverless comment host for simeononsecurity.ch
https://simeononsecurity.com
1 stars 0 forks source link

https://simeononsecurity.com/other/effortless-dual-mining-wingbits-defli-guide/ #8

Open utterances-bot opened 11 months ago

utterances-bot commented 11 months ago

Effortless Dual Mining Guide: WingBits and DeFli Setup

Learn how to set up dual mining with WingBits and DeFli in this comprehensive guide. Maximize your crypto mining potential effortlessly.

https://simeononsecurity.com/other/effortless-dual-mining-wingbits-defli-guide/

gristlekinginc commented 11 months ago

Thanks for the write up on this! Am I getting that right that the SAWbird+ is a one stop shop for saw band pass & LNA?

simeononsecurity commented 11 months ago

Thanks for the write up on this! Am I getting that right that the SAWbird+ is a one stop shop for saw band pass & LNA?

Correct yes, however I don't think you really need it unless you go with the non specific ADSB Receiver.

Come to think of it, I should add some clarification to the article.

gristlekinginc commented 11 months ago

Cool. I've got an RTL-SDR V3 I was going to use, so it sounds like a filter & LNA might be useful.

simeononsecurity commented 11 months ago

Cool. I've got an RTL-SDR V3 I was going to use, so it sounds like a filter & LNA might be useful.

Yeah for that it would be advisable. I'd have to recommend upgrading from the basic antennas that come with the RTLSDR packages though. I've done some light testing and LORA antennas, while not perfectly tuned to ADSB's 1090Mhz, should be close enough at 915Mhz and better than a generalized antenna. Though that will still never beat a tuned 1090Mhz antenna.

One more thing, the SDRs can get somewhat hot, for maximum performance, I recommend adding some heatsyncs to keep them cool.

Give it a shot. I'm eager to hear your results as well.

gristlekinginc commented 11 months ago

Super, setting it all up now. Will get some fancier antennas later...you know the deal. :)

Hey, on Step 3 it's not clear to me if I first follow all the directions on the DeFli site on my Pi and THEN come back and run your curl command, or if those directions are just referenced the curl handles everything?

gristlekinginc commented 11 months ago

Also, hit this on Step 4: $ sudo pip3 install aiohttp motor pymongo python-dateutil dnspython error: externally-managed-environment

× This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

For more information visit http://rptl.io/venv
simeononsecurity commented 11 months ago

Super, setting it all up now. Will get some fancier antennas later...you know the deal. :)

Hey, on Step 3 it's not clear to me if I first follow all the directions on the DeFli site on my Pi and THEN come back and run your curl command, or if those directions are just referenced the curl handles everything?

Yeah that's a good point. I've updated that for clarification in https://github.com/simeononsecurity/simeononsecurity.ch/commit/3ee33b6554d0a3be1325cb5819a07a09f5dd8920. After a few minutes with the wingbits software running and or the defli software, you can run that autogain script at any time.

Also, hit this on Step 4: $ sudo pip3 install aiohttp motor pymongo python-dateutil dnspython error: externally-managed-environment

× This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

For more information visit http://rptl.io/venv

This complicates this a bit. I assume you're trying to run this on a helium miner. I didn't test this before hand. But you should be able to follow these steps to resolve it.

Try this one first.

sudo apt update && sudo apt install -y python3-aiohttp python3-motor python3-pymongo python3-dateutil python3-dnspython

If that doesn't work, you'll have to do the more advanced way.

Go to the defli folder that was created when you ran sudo git clone https://github.com/dbsoft42/adsb-data-collector-mongodb.git

Create a python virtual environment called defli python3 -m venv defli

Activate the virtual env. source defli/bin/activate Your terminal prompt should change to indicate that the "defli" virtual environment is active.

Install the pip packages like in the guide.

When you get to the service creation step, things change a little bit for you. Modify the following so that the path is wherever you have the folder.

[Unit]
Description=adsb_collector
After=multi-user.target
After=network.target
After=readsb.service
Wants=network.target
Requires=readsb.service

[Service]
Type=simple
ExecStart=/path/to/your/venv/defli/bin/python /home/adsb-data-collector-mongodb/adsb-data-collector.py
WorkingDirectory=/home/adsb-data-collector-mongodb/  # Set the working directory
Restart=on-abort
RestartSec=5

[Install]
WantedBy=multi-user.target
gristlekinginc commented 11 months ago

Rog. Nope, just running on a regular RPi4 I had. The sudo apt update seems like it worked.
Had to sudo the cp config_template.py config.py Now I'm just sorting out the correct path to the adsb collector service.

gristlekinginc commented 11 months ago

Got it, just needed a reboot after I changed that. I think I'm up and running! Ordered an antenna and filter, will make do with what I have for now.

gristlekinginc commented 11 months ago

Thanks a ton!

gristlekinginc commented 11 months ago

Ooh, might need an LNA. I picked up this filter https://shop.sysmocom.de/1090-MHz-cavity-filter-for-Mode-S-ADS-B/cf1090-kt30 and this antenna https://dpdproductions.com/products/ads-b-vertical-outdoor-base-antenna

simeononsecurity commented 11 months ago

Rog. Nope, just running on a regular RPi4 I had. The sudo apt update seems like it worked. Had to sudo the cp config_template.py config.py Now I'm just sorting out the correct path to the adsb collector service.

Yeah then that doesn't make a lot of sense. I can't tell you why you got that error. But I have tested this on raspian and ubuntu for the raspberry pi. I didn't see that myself. But at least it wasn't a issue to solve.

Ooh, might need an LNA. I picked up this filter https://shop.sysmocom.de/1090-MHz-cavity-filter-for-Mode-S-ADS-B/cf1090-kt30 and this antenna https://dpdproductions.com/products/ads-b-vertical-outdoor-base-antenna

A bit overkill, but that is your style lol. I will say that the standard RTLSDRs have pretty poor update frequency and resolution. If you're going that hard, you really need one of the dedicated ADSB SDR's. My setup wasn't too dissimilar to yours. You'll find the v3 and v5 sdr's are pretty disappointing. Try this one eventually. AirNav Radarbox Flightstick. Pretty much everyone agrees that sub $150 that is the best one. It has an LNA and a filter built in as well.

gristlekinginc commented 11 months ago

Badass, ordered. Thanks mug, appreciate your help!

garfpt commented 8 months ago

I've sucessfuly setup defli instalation on helium rak v2 with crankk firmware, using dealcraker's scripts and the support from him on defli discord channel.

So, for the section 4 on the defli You can use the scripts from his github resository on https://github.com/dealcracker/DefliInfluxDB

Just my contribution for the comunity