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

Re: Solving the bootup issue

$
0
0
Hello,

It works! Many thanks for your efforts.

Interestingly though, I moved the SD card and wifi dongle, complete with the formatted usb memory stick to my raspberry pi B+ system and it stops working. Initial indications are that the usb ports are not functioning. I cannot make a usb keyboard plugged into the B+ unit respond in order to log in and edit files on the system. I can of course do this on my Model B. My B+ systems is fine with another card containing a debian image. Quite possibly I am overlooking something obvious.

Regards

Peter

Re: Solving the bootup issue

$
0
0
Hi Peter,
the RPi+ is currently not supported by our image :(

I'll create a new image after testing for 1.0.1 is finished.

Matthias

Re: Bootup Issues/SSH Issues

$
0
0
I tried that login and it failed.

How would you like me to verify that I'm connected to it?

--

Re: Rasberry PiRate box with TOR proxy?

$
0
0
Hey folks,

Did anyone ever make any progress on this?

I'm going to be looking into the same idea over the next few weeks/days (as work allows) so I'll post whatever I come up with.

Unable to get Wifi to work.

$
0
0
I'm using a Ralink RT5370 chipset device which is listed as compatible. This is the exact adapter I'm using.

On boot, the blue light turns on briefly, but stays off after it fully boots. The SSID is undetectable.

Using ifconfig gives:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.88.188  netmask 255.255.255.0  broadcast 192.168.88.255
        ether b8:27:eb:ee:b9:76  txqueuelen 1000  (Ethernet)
        RX packets 2569  bytes 303529 (296.4 KiB)
        RX errors 0  dropped 16  overruns 0  frame 0
        TX packets 2161  bytes 366681 (358.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 0  (Local Loopback)
        RX packets 6  bytes 397 (397.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6  bytes 397 (397.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.77.1  netmask 255.255.255.0  broadcast 192.168.77.255
        ether 00:13:ef:40:09:79  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lsusb:

[root@alarmpi ~]# lsusb
Bus 001 Device 005: ID 154b:005b PNY 
Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. SMC9512/9514 USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Anything else you need, I'll be happy to try and provide.

I haven't been able to find anything that could get it to work and I'm lost in what to do.. :/

ANY help would be wonderful, thanks!

Edit 1: Tried to explain how it wasn't working.
Edit 2: Added link to exact wifi adapter.

Re: Unable to get Wifi to work.

$
0
0
Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
suggests that your device uses the RTL8188CUS and not the RT5370 chipset. The default hostapd doesn't work with most of the Realtek chipsets. But there is a modified version for Realtek devices. Here is a tutorial on how to replace the default hostapd: [forum.piratebox.cc]

Everything seemingly works- except my browser doesn't get redirected.

$
0
0
Everything seems to work- I can see and connect to the Piratebox SSID (Windows says it has no internet, I assume this is normal), I can ssh into the box when on it's network, etc. But when I open a browser tab, I do not get redirected to Piratebox services like I thought I would. Any help would be much appreciated!

Re: Everything seemingly works- except my browser doesn't get redirected.

$
0
0
It's just a wild guess, but did you set a static DNS in your Windows settings?

Re: Rasberry PiRate box with TOR proxy?

$
0
0
absolutelty love the idea!
I'll be monitoring.. as I am not a big help developing..

Re: Everything seemingly works- except my browser doesn't get redirected.

$
0
0
I reset my custom DNS settings, still no dice.

Re: Everything seemingly works- except my browser doesn't get redirected.

$
0
0
Browser and general OS settings?

Rpi Mods: Customizing UI, Adding New Applications, Etc.

$
0
0
Hello,

I'm new to the Pirate Box, but have been tinkering with the rPi for almost a year now. I have a few questions:

1. What's the best way to go about customizing the UI? I'm proficient in front-end web development, I just need to be pointed in the write direction so I don't break anything.

2. I'd like to add a new application to the server. Preferably a python + flask program. This question is similar to the first one in terms of outlining the general process.

Bonus questions:

Recommend external hard drive (preferably == 1tb) and best way to configure it with Pirate Box rPi.

Recommend way to extend range. I have a small wifi dongle for the rPi, but I'd like to dramatically increase the range. I'm guessing to either connect it to an external router or get a larger wireless antenna. I know a lot of hardware is incompatible so any recommendations would be greatly appreciated.

Thank you so much for any help! I apologize for dumping so many questions in this one post, but I'm attending a hackathon in two weeks and I want to build off of the Pirate Box. I plan on making it off grid/solar powered, but have that covered : )

Thanks again!

Re: Rpi Mods: Customizing UI, Adding New Applications, Etc.

Re: Everything seemingly works- except my browser doesn't get redirected.

Re: Rpi Mods: Customizing UI, Adding New Applications, Etc.

$
0
0
Hi,

Quote

1. What's the best way to go about customizing the UI? I'm proficient in front-end web development, I just need to be pointed in the write direction so I don't break anything.

Leave the redirect.html , library folder and the cgi-bin folder. Everything else can be customized. The webstuff you find in /opt/piratebox/www
The files for customizing the directory listing are copied the the Shared (Sub-)folder during bootup, if they doesn't already exists. So you can modify these in /opt/piratebox/share/Shared first and after making a backup, you should copy HEADER.txt and FOOTER.txt (or so) to /opt/piratebox/src, that it will be distributed to the subdirectories directly later.

Quote

2. I'd like to add a new application to the server. Preferably a python + flask program. This question is similar to the first one in terms of outlining the general process.
Do you have to run it on a different port, like running a server?

Quote

Recommend external hard drive (preferably == 1tb) and best way to configure it with Pirate Box rPi.
check out the other threads about using external disks on the RPi Piratebox.
Even, all other howtos apply. .. take care of the correct permissions. You can do that with running
/opt/piratebox/bin/install_piratebox.sh /opt/piratebox/conf/piratebox.conf part2

Quote

Recommend way to extend range.
Having a good alfa usb wifi with an exchangeable dongle is a good way to go, in my mind. BUT BUT BUT remember:
1. More power output requires an Powered usb hub
2. Violating law about maximum Xmit-Power can cause you bad troubles
3. If you have a strenght signal, is like having a megaphone but you might not be able to hear the others answering, because the don't have one.

hope that helps,
Matthias

Re: Rpi Mods: Customizing UI, Adding New Applications, Etc.

$
0
0
Matt,

Thanks a lot for the info, greatly appreciated. So after a little more digging around, I'm thinking of going this route: [www.starlifterdigital.com] by connecting the Pi to a WDR3600 http://www.amazon.com/TP-LINK-TL-WDR3600-Wireless-Gigabit-300Mbps/dp/B008RV51EE

Quote

Do you have to run it on a different port, like running a server?

We'll be developing the python app at the hackathon so it's a bit up in the air. Could the process be similar to installing the small python forum?
/opt/piratebox/bin/install_piratebox.sh /opt/piratebox/conf/piratebox.conf pyForum

Thanks again for your help, this community is awesome.

lighttpd gives 404 for created file.

$
0
0
I recently created a test file which I named abc.php and put the following in:
Language: PHP
<?php echo "test"; ?>

When I save it to www it gives me the 404 page I created. In the access logs it has error code 304. I tried just putting html in it and that didnt work either.

Re: lighttpd gives 404 for created file.

$
0
0
Figured it out, I had to install php :P

Re: Rpi Mods: Customizing UI, Adding New Applications, Etc.

$
0
0
Hi,
if you use a router to provide the wifi access in a PirateBox-alike-style. You should do some reconfigurations, that you have this always redirect stuff running. For that you have to setup a static IP to the ethernet port of the PI, reconfigure interface names on /opt/piratebox/conf/piratebox.conf and disable the IP distribution on the wifi-router. That is the short summary.

To install a python app?
As you see here [github.com]
The install_piratebox.sh script does nothing more then copy around a few things. I'm not sure that will help you...

PirateBox runs a special configured lighttpd-webserver, which configuration file is /opt/piratebox/conf/lighttpd/lighttpd.conf

Maybe that helps.

Matthias

Re: Rasberry PiRate box with TOR proxy?

$
0
0
Sadly not me - I have just about enough knowledge to install Piratebox, not nearly enough to work out how to do half the things I want.

Now there's a few of us interested, maybe we can get something happening?
Viewing all 1863 articles
Browse latest View live