Protect with password? October 07, 2014 11:44PM |
Registered: 9 years ago Posts: 19 |
Re: Protect with password? October 08, 2014 02:45PM |
Admin Registered: 13 years ago Posts: 4,680 |
Which message? When you login via ssh?Quote
1.) How do I remove the "Thanks" message that comes up every time I connect to the box?
Would be a wifi password ok?Quote
2.) Is there a way to password protect the connection, so If i connect to the box, I have to enter a password.
only while logged in via ssh - or you simply take your usb stick to your computer, after you turned the box offQuote
3.) How can I rename files that are uploaded to the Box? Is there a way to do this?
Re: Protect with password? October 10, 2014 01:05AM |
Registered: 9 years ago Posts: 19 |
Re: Protect with password? October 10, 2014 08:26AM |
Admin Registered: 13 years ago Posts: 4,680 |
ssh root@piratebox.lan
vi /opt/piratebox/www/index.htmland remove that block
<div id="welcome" class="card"> <h2>Welcome</h2> <p>Now, first of all, there is nothing illegal or scary going on here. This is a social place where you can chat and share files with people around you, <strong>anonymously</strong>! This is an off-line network, specially designed and developed for file-sharing and chat services. Staying off the grid is a precaution to maintain your full anonymity. Please have fun, chat with people, and feel free to share any files you may like.</p> <input id="thanks" class="button" type="submit" value="Thanks"> </div>.
uci set wireless.@wifi-iface[0].encryption=psk2 uci set wireless.@wifi-iface[0].key="your_password" uci commit wireless wifi
Re: Protect with password? October 11, 2014 12:16AM |
Registered: 9 years ago Posts: 19 |
Re: Protect with password? October 11, 2014 07:39AM |
Admin Registered: 13 years ago Posts: 4,680 |
uci set wireless.@wifi-iface[0].key="your_password" uci commit wireless wifiand that's it.
/opt/piratebox/www/index.html /opt/piratebox/src/README.txtThe last file contains the footer for the directory listing. After you modified the README.txt you have to run:
/opt/piratebox/bin/distribute_files.sh /opt/piratebox/share/Shared true
Re: Protect with password? October 12, 2014 02:10AM |
Registered: 9 years ago Posts: 19 |
Re: Protect with password? October 12, 2014 08:39AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: Protect with password? October 12, 2014 05:24PM |
Registered: 9 years ago Posts: 19 |
Re: Protect with password? October 12, 2014 05:55PM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: Protect with password? June 20, 2016 06:35AM |
Re: Protect with password? July 01, 2016 12:01PM |
Re: Protect with password? July 18, 2016 04:41PM |
Re: Protect with password? July 27, 2016 04:48PM |
Admin Registered: 13 years ago Posts: 4,680 |