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

problems Installing piratebox with a headless Pi, no keyboard/screen, just ethernet cable/ wifi adapter/ flash drive?

$
0
0
just installed the piratebox image on my SD card, put it in my PI, alond with wireless adapter and fat32 flash drive, and plugged it into my router via ethernet (which my laptop is also connected too obviously)

Then when i booted it up and tried to ssh into it (it was assigned to 192.168.0.9) and when trying root@192.168.0.9 with putty, i just get a connection refused error, the activity light on the Pi was going crazy for about 5 minutes, but no success with the ssh, any help here?

Re: Change Pi(rate)box file share directory?

$
0
0
Thank you mrd0ll4r,
the trick worked fine, but now there is another problem: the USB is not automatically mounted (every time I have to do it via Telnet), so next time I reboot Piratebox it doesn't start, because it cannot find the Shared directory (being it on te USB).
I guess everything would be perfect it there was a way to automount the USB...I search this forum and in this topic Rahulmahale says he installed usbmount with "apt-get install usbmount": I tried to do the same, but he says "apt-get install: command not found".
Suggestions?
Thanks again

Re: error with systemctl status --all piratebox

$
0
0
Hey,

what kind of wifi dongle are you using? Seems like it tries to set up wlan0, maybe your device is wlan1?

Rasberry PiRate box with TOR proxy?

$
0
0
Hi folks. I've got PB up and running on my RPi, and it's great.

I've been thinking though, wouldn't it be great to have a TOR proxy (https://learn.adafruit.com/onion-pi?view=all) built in, so you and your friends could surf safely/anonymously (delete as appropriate).

Is there any way to do this? The Adafruit guide is based on Raspbian (which AIUI, PB used to use) and not Arch.

Would the access point settings for the PB interfere with the settings for the TOR proxy?

Is there any way to make the RPi board act like a PB when there's no ethernet, and a TOR proxy when the ethernet cable is connected?

Is this a stupid idea that would be more hassle than it's worth?

Cheers, FriDave.

Re: Rasberry PiRate box with TOR proxy?

$
0
0
Quote

Would the access point settings for the PB interfere with the settings for the TOR proxy?
Yes i think so. It is not a classical captive portal like in hotels. It fakes all dns answers pointing them to the PirateBox

Quote

Is there any way to make the RPi board act like a PB when there's no ethernet, and a TOR proxy when the ethernet cable is connected?
Sure. There is always a way ;)
You maybe can use hotplug to start/stop the required arch-service definitions/scripts
or maybe can define different states within netctl.

But I think hotplug is the way to go... but at this point, I would need to google the solution as well-

Re: Solving the bootup issue

$
0
0
unsatisfying, I need the f*** output of hostapd to see what happens...

Re: Solving the bootup issue

$
0
0
I am sorry that my response is unsatisfactory. Please state the exact command that you wish me to enter, and I will post the output by return.

Regards

Petef

Re: Solving the bootup issue

$
0
0
Hi,
yes I know. I didn't want to offensive you... I am only very unsatisfied that I can't solve it.

Matthias

Re: Solving the bootup issue

$
0
0
So how can I help you with this?

Regards

Peter

Re: Solving the bootup issue

$
0
0
You need to find a way to bring debug output of hostapd from the bootup time to a logfile.
It seems that for some reason hostpapd stops working, which is the reason that wlan0 is not available.

The current output above seems to be a limited output, that should be more, too.

but how? no real idea now.

Raspberry Pi Model B+

$
0
0
Hello lille
Do you have a new image for the Raspberry Pi Model B +?:)-D

Re: USB storage, How on current image (8/6/14)

$
0
0
How did you create the symbolic link? If I use "ln -s /opt/piratebox/share/Shared /mnt/usbdrive" I only get "operation not permitted"

EDIT:
Instead of creating a symbolic link I changed the variable UPLOADFOLDER in the piratebox.conf file to UPLOADFOLDER="mnt/usbdrive/Shared".

EDIT 2:
Ok, that also doesn't work, it still uses the /opt/piratebox/share/Shared folder.

Re: WiFi AP with Edimax EW-7811Un

$
0
0
if you guys want a image for just the hot-spot and install priratebox yourself i have a torrent download. Sorry its 8gb thats how large my card was. torrent link :
magnet:?xt=urn:btih:1171107872C60D1E18415EAE87D57431FB9CB9AA
just copy and paste into magnet uri input in torrent client

Re: Raspberry Pi Model B+

$
0
0
Hey,
I thought the B+ is binary compatible. Do you need an separate image for the RPi-B+ ?

Matthias

Re: USB storage, How on current image (8/6/14)

$
0
0
Hi Tobias,
the command should be with switched arguments:

mv  /opt/piratebox/share/Shared   /opt/piratebox/share/Shared_old
ln -s /mnt/usbdrive /opt/piratebox/share/Shared

Matthias

Re: USB storage, How on current image (8/6/14)

$
0
0
i got a bit lost in between
can u pl. post a step by step method of enabling usb storage?
thnx

Re: Raspberry Pi Model B+

$
0
0
Again thank you for your reply, If you have a separate RPI-B image + I'm interested because I have compiled a wheezy image of his works except the cat part!;)

Re: USB storage, How on current image (8/6/14)

$
0
0
So, as soon as I add a new entry to /etc/fstab and reboot, the piratebox service fails to start, and my wifi adapter goes dark.

I assume that I am pasting in

"UUID=xxxx-xxxx /mnt/usbdrive vfat user,exec,uid=0,gid=0,rw,umask=000 0 0"

and then replacing xxxx-xxxx with the value I get for my USB flash drive when I run "lsusb"? What I'm seeing there is "0781:5571"

Forgive me if I'm missing something obvious, still very much a linux novice. I appreciate all the contributions on here so far!

Re: USB storage, How on current image (8/6/14)

$
0
0
I got it working!

See full process below:

[root@alarmpi ~]# lsblk -p
NAME             MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
/dev/sda           8:0    1 14.9G  0 disk 
`-/dev/sda1        8:1    1 14.9G  0 part 
/dev/mmcblk0     179:0    0 14.9G  0 disk 
|-/dev/mmcblk0p1 179:1    0   90M  0 part /boot
|-/dev/mmcblk0p2 179:2    0    1K  0 part 
`-/dev/mmcblk0p5 179:5    0  1.7G  0 part /
[root@alarmpi ~]# mkdir /mnt/usbdrive
[root@alarmpi ~]# mount /dev/sda1 /mnt/usbdrive
[root@alarmpi ~]# ln -s /mnt/usbdrive /opt/piratebox/share/Shared

Did not require a reboot to take effect. Not sure if I'll need to repeat this process each time I start up; I'm sure that, if so, there's a way to automate it.

Webfiles on PirateBox

$
0
0
Hi,

I'm just new to PirateBox and was doing some reading. Tomorrow i'm going to buy myself a wireless usb dongle and try it out!
I got this great idea for a mod (sorry can't share yet), so I was wondering: How does the PirateBox web-interface work? Is it based on PHP? Or are those plane HTML files?

Thanks in advance,
M2xpow3r
Viewing all 1863 articles
Browse latest View live