Quantcast
Channel: PirateBox Forum - Raspberry Pi(rate)Box
Viewing all articles
Browse latest Browse all 1863

Re: A few questions, Pi 3/1.1/webserver

$
0
0
> 1:Changing Domain
> How do I change the priatebox.lan to
> somethingelse.something.

Since 1.0 there is a command in install_piratebox.sh ; this is the only thing needed.

/opt/piratebox/bin/install_piratebox.sh /opt/piratebox/conf/piratebox.conf hostname <new hostname>



>
> 2:Taking fill owner shop over the webserver
> How do I take full control over the webserver
> and maybe add other custom urls like that.this.
> another domain.lan, soemthing.olan

You need to change lighttpd.conf in /opt/piratebox/conf/lighttpd and add hostname depending sections.

>
> 3: Stop it redircting to /content
> It keeps going to the /content fold all the
> time even if I want to go to another folder I give
> me permissions to the shared folder and added
> /test/ with a index/php but from what I can see it
> really fast shows hello I think two fast to catch
> it and then loads /content/ no matter what I do.

If you done everything right: You have browser cache issues
If not, then you have issues like wrong persmissions or not accessible folders (wrong url). The redirect only happens on a 404 - file not found error.

>
> 4:is it possible?
> Is it possible to add a ftp server if 2 is
> possible, I want to set this up in my local area
> where a few of us own a little text based php
> blog/site but we all need access to the right
> folders.

yes. Checkout proftpd or pureftp: [wiki.archlinux.org]
You can also use sftp (via ssh protocoll).

>
> 5:Hide SSID
> Is it possible to hide SSID, also what would
> be the best way to stop outside access from
> someone stealing them hardware or accessing it
> from wifi if they bypass wifi means, I don't want
> anyone to find it and just have access only the
> groups that know how to access it should be able
> to access it.

Add the following two lines to /opt/piratebox/conf/hostapd.conf

# Hide SSID: 0 (don't), 1 (use emtpy), 2 (use ASCII 0)
ignore_broadcast_ssid=0
But hiding SSID does not really hide the hotspot.. it is just not visible via beacons, but wiretapping is still possible.


Hope that helps,
best regards
Matthias

Viewing all articles
Browse latest Browse all 1863

Trending Articles