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

Re: Noobish question, RPi with External Router

$
0
0
Hi,
using RPi together with a normal router shouldn't be a big deal at all and you already are on the correct way for that.

In the default configuration, PirateBox is using the wifi-network device only for providing wifi. To achieve that, I already tried to sum up a few points here: [piratebox.aod-rpg.de]

it is currently unfinished, but it shows the important part: the configuration within piratebox.conf.
Change the router's IP to 192.168.1.2 and disable dhcp/dnsmasq services. Set the ethernet port of PirateBox to 192.168.1.1 and change the network configuration, then you should be done.

sorry, only a short answer. If you have any further questions, don't be shy and ask
Matthias

Re: Installations HowTo - Raspberry

$
0
0
Why does the custom image seem broken? Will it be fixed?

Re: Installations HowTo - Raspberry

$
0
0
Because a lot of people reported that the system won't boot with the recent image.

When will it be fixed? I'll create a new image, after PirateBox 1.0 is released... and that is waiting for finishing the community page.

Re: Installations HowTo - Raspberry

$
0
0
To run the PirateBox on RaspberryPI without Wifi:

Is it crutial to do the modifications before starting it the first time? If yes, why?

Re: Installations HowTo - Raspberry

$
0
0
Which modifications are you talking about?

Re: Installations HowTo - Raspberry

$
0
0
About those modifications:

piratebox.conf:

DO_IFCONFIG="yes"
DO_IW="no"
USE_APN="no"
# The following can be set to no, too. Depends if the device shouldn't be a DHCP & DNS Server (no redirect to piratebox.lan)
USE_DNSMASQ="yes"
INTERFACE="eth0"
DNSMASQ_INTERFACE="eth0"

/etc/network/interfaces:

auto lo

iface lo inet loopback
iface eth0 inet **manual**


iface wlan0 inet manual
### disalbed for PirateBox
#allow-hotplug wlan0
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
#iface default inet dhcp

Re: Installations HowTo - Raspberry

$
0
0
Yes it is cruital to change the piratebox.conf , because if you don't have a wifi card attached, the setup of the interface will fail and no webserver and other things are started beyond that point.

So you need to change at least the piratebox.conf file, that it doesn't try to start an hotspot. If you want to run the webserver and the upload-tool droopy only- you can switch the config like that:

DO_IFCONFIG="no" 
 DO_IW="no" 
 USE_APN="no"
..
USE_DNSMASQ="no" 
INTERFACE="eth0" 
DNSMASQ_INTERFACE="eth0"

Then only droopy and lighttpd will start.

Re: Installations HowTo - Raspberry

$
0
0
So, this works even with a Raspberry Piratebox, that has been used with a USB-Wifi adapter before.

"Before starting the piratebox first time…" sounds to me like the piratebox has to be virgin for this to work.

Thank you very much for doing all this!

Re: Installations HowTo - Raspberry

$
0
0
You are welcome.

No, it only points out, if you don't change the settings before you boot it up first, you may get a not properly running system. That's all :)

Have fun!

regards Matthias

Re: Raspberry Pi PirateBox over ethernet port

$
0
0
Got a few btomehubs and played with them instead. I made free home phones for people instead.

Sorry people. No progress.

Re: Installations HowTo - Raspberry

$
0
0
Will the Kareha-forum, the Fix for IOS 7 (http://forum.daviddarts.com/read.php?9,8927) and this frontend (https://github.com/dsbrooks/PirateBox-FrontEnd) work on the Raspberry Piratebox?

And do you have a guess if and when there will be a new PiRate-box image?

Re: Installations HowTo - Raspberry

$
0
0
Yes, yes, and yes.

@time , no not yet.

Sorry... I'm quite busy.

If you are familiar with working on linux command line, you can create an image using my small written howto:

[github.com]

regards Matthias

Chatbox not refreshing

$
0
0
Finally got pi-ratebox mostly working. Upload works, download works, but chat only updates on refresh. If I try /chat.html, the box displays
ok
and nothing else. It only prints the proper chatlog if I refresh.

break.log shows this error after each post:
Traceback (most recent call last):
  File "/opt/piratebox/www/cgi-bin/psowrte.py", line 23, in <module>
    color = values["color"].value
  File "/usr/lib/python2.7/cgi.py", line 541, in __getitem__
    raise KeyError, key
KeyError: 'color'
I saw here that user lobalt had a similar problem, but it looks like no one found a solution. Any ideas?

Update: I got chat.html working by replacing /opt/piratebox/www/cgi-bin/psowrte.py with the one I found here. I'm working on getting the chatbox on index.html working too, I'll leave this post here in case someone else gets this problem.

Re: Chatbox not refreshing

$
0
0
Hi fiftypoints,

we provide a updated version with PirateBox 1.0

regards Matthias

Fix for Alfa external WiFi antenna? Alternative: TR-702N mini router (?)

$
0
0
Hey there,

I tried to make a PirateBox out of my Raspberry Pi, but I encountered a problem: The network doesn't show up although the Raspberry tells me that he did setup everything fine for wlan0 (the antenna I use).
I used this tutorial: [piratebox.aod-rpg.de]
I have the Alfa AWUS0306H, and I hoped that maybe there is a working fix now for this antenna. The only fix I was able to find was this: [forum.daviddarts.com] (I didn't use 0.6E beta, I used current.tar.gz because that's what I was able to find at downloads.piratebox.de)

Another idea I had was using the TR-702N mini router as a WiFi adapter thing. I had no success.

Can someone help me please?

Re: Fix for Alfa external WiFi antenna? Alternative: TR-702N mini router (?)

$
0
0
Hi,

Quote

Another idea I had was using the TR-702N mini router as a WiFi adapter thing. I had no success.

This is possible. You have to change in piratebox.conf on your RPi the following lines:

DO_IFCONFIG="yes"
DO_IW="no"
USE_APN="no"
# The following can be set to no, too. Depends if the device shouldn't be a DHCP & DNS Server (no redirect to piratebox.lan)
USE_DNSMASQ="yes"
INTERFACE="eth0"
DNSMASQ_INTERFACE="eth0"

/etc/network/interfaces
auto lo

iface lo inet loopback
iface eth0 inet manual


iface wlan0 inet manual
### disalbed for PirateBox
#allow-hotplug wlan0
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
#iface default inet dhcp

Dont forget this
 sudo ln -s /opt/piratebox/init.d/piratebox /etc/init.d/piratebox
 sudo update-rc.d piratebox  defaults 
 sudo /etc/init.d/piratebox start

PirateBox is available at 192.168.77.1

change the config of your WR702N to:

1. disable dhcp (do not server IPs)
2. Change IP to 192.168.77.2

(If it has a mode switch, use 3g or AP mode)

Then it should work

regards Matthias

Re: Fix for Alfa external WiFi antenna? Alternative: TR-702N mini router (?)

$
0
0
Thank you!

But I already gave up the idea of using my Raspberry Pi for the PirateBox. It's simply too annoying.

On the other hand I managed to get the PirateBox working on my MR3020 only some minutes ago! I thought I bricked the router, but I got it working somehow. No clue what I did wrong first. The next thing I will do is change the website of the PirateBox and build a sexy case.

Thanks again! This is an awesome project. Do you know a way to increase the range of the router?

Re: Fix for Alfa external WiFi antenna? Alternative: TR-702N mini router (?)

$
0
0
nope, beside soldering an antenna , the mr3020 is very limited.

Why is it anoying? Well, if you had used a recommended wifi-adapter from my list, you would have had no problems....

Re: Fix for Alfa external WiFi antenna? Alternative: TR-702N mini router (?)

$
0
0
It was quite annoying because it didn't really work with the Raspberry Pi.

I had that antenna lieing around, so I thought I give it a try. I wanted to build it with the things I have because I already killed my budget for tech stuff for the next months.

Re: Fix for Alfa external WiFi antenna? Alternative: TR-702N mini router (?)

$
0
0
Personally, I think the only point was the network-configuration, which is shipped on wifi only.
PirateBox runs well on RPi, if this hard point is done.

my 2 cents about that :)

I'm glad, you got the MR3020 working :)
Viewing all 1863 articles
Browse latest View live