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

Re: PHP on a Pi(rate)Box?

$
0
0
So first thanks a thousand to you Matthias for replying that quickly. But I´ve got still one question, I didn't really figured out where to put the "GetSimple CMS"-files I tried to put the hole files in to the php folder but it just kept saying error 500.

Thanks for Answers, MrLetsPeter

Re: Raspberry Pi PirateBox

$
0
0
Ok, your device is able to...
It is the ALFA AWUS036NH correct?

If yes, I'm going to buy me one....

Re: PHP on a Pi(rate)Box?

$
0
0
just reproduce the problem and then have a look at /opt/piratebox/tmp/error.log & /opt/piratebox/tmp/break.log

maybe post it. These files are the only logfiles wirtten in case of a broken script or whatever.

Re: Raspberry Pi PirateBox

$
0
0
Yes its an AWUS036NH - but it isn't the only wifi adapter I'm having probs with. The IP failure on bootup happens in about 80% of boots on the ALFA compared with about 20% on the WIPI adapter

Re: Raspberry Pi PirateBox

$
0
0
Because the alfa is cause the most trouble, I'll use this one.

Thanks
Matthias

Re: Raspberry Pi PirateBox over ethernet port

$
0
0
Matthias Wrote:
-------------------------------------------------------
> splitted the topic.
>
> Yes it is possible.
>
> Have a look PirateBox on RaspberryPI without Wifi
> here and test it.
> Theoretical this should work. The piratebox
> configuration is designed to enable running in
> such contexts
>
> Matthias

Hi Matthias,

I got worried when i could no longer see my comment. Thank you for splittling the topic.

I'm currently trying this as is on my pi via the TPlink wifi.

I will then try the ooption above

Thanks

PPP

Re: Raspberry Pi PirateBox

$
0
0
I want to use WINSCP to SSH into the PI, dump lots of DATA on the SD card. I can then also control some of the content.

Where the location of the folder for the data than can be shared, i've seen nothing

Re: Raspberry Pi PirateBox


Re: Raspberry Pi PirateBox over ethernet port

$
0
0
Ok, let me know how it goes.

@splitting: yes, I try to tidy the things a bit up

Re: Installations HowTo - Raspberry

$
0
0
anon Wrote:
-------------------------------------------------------
> Your custom image works at mine with a TL-WN722N.
> Even after an apt-get update && apt-get upgrade.
> Thank you very much.


I got it working after i did

# sudo /etc/init.d/piratebox start

Re: Raspberry Pi PirateBox over ethernet port

$
0
0
Matthias Wrote:
-------------------------------------------------------
> Ok, let me know how it goes.
>
> @splitting: yes, I try to tidy the things a bit up


Nothing wrong with a good clean.

I hope to test tomorrow so will update then

Re: Raspberry Pi PirateBox

$
0
0
Matthias Wrote:
-------------------------------------------------------
> /opt/piratebox/shared


Thank you

Transfer speeds

$
0
0
Okay so huge thank you for the support so far and making this out there.

Have mine all set up

Pi V2 512MB built by Sony in Pencode Wales
32GB SD CLASS 10
9000mAh Portable Power Bank [www.maplin.co.uk]

Have a 1.4GB file on there.

The transfer start off around 1.5Mb/s then drops to a slow 233kb/s

Any ideas?

Is it faster to transfer to a USB HDD or decent USB FLASH stick than a class 10 SD card?

Re: Raspberry Pi PirateBox

$
0
0
Matthias Wrote:
-------------------------------------------------------

> this works and is double tested.
>
> edit: If you give me the feedback that it works,
> I'll upload a new RPi image containing the new
> sources

Sorry, been out for a bit....

I installed the patches give above, and did some testing.

When running with the patched piratebox_setup_wlan.sh file, it seemed that I was getting about a 50-50
chance of the wlan0 interface being configured after full bootup. Pulling the power (which is forcing an fsck),
seems to be the most likely way for it to fail.

I never entered the wait loop in the patched code after the ifconfig "$INTERFACE". There was never a "."
printed out after "Probing interface". This includes failures of the interface to be configured, as well as when
the interface was configured properly.

I threw in some debug statements to see what was going on. I was outputting "ifconfig $INTERFACE" after the
assignment of the IP and NETMASK (ifconfig $INTERFACE $IP netmask $NETMASK), and saw that everything
was OK with the wlan0 interface (IP and netmask assigned). Then I login to the system, and run ifconfig wlan0,
and find that wlan0 has no IP or netmask!

My conclusion is that the configuration of the interface in piratebox_setup_wlan0.sh script is fine (without the
checking delay loops), and that something else after this script is causing a problem. I'll keep digging as I get
time.

Re: Raspberry Pi PirateBox

$
0
0
OK, it appears that we are losing the wlan0 configuration when hostapd is being started from /etc/init.d/piratebox.

Also note that killing hostapd on a system with a configured wlan0, will cause wlan0 to be de-configured.

Re: Raspberry Pi PirateBox

$
0
0
that can be. my first idea was to change the order of the steps done during bootup.
but this would take some testing.

maybe you can try it for yourself and give feedback? I'm a bit out of time.

in fact I can't understand why it only causes trouble on startup and not during manual start. :(

btw: I did the same test like you (ifconfig at every step) and this reduced the effect :(

a debug output out hostapd into a logfile should be useful too.

Re: Transfer speeds

$
0
0
you did but clearly said all out your test configuration.
is it attached via wired ethernet?
wireless wise?

did you perform an upload or a download?
how did you perform it?

Re: Transfer speeds

$
0
0
Matthias Wrote:
-------------------------------------------------------
> you did but clearly said all out your test
> configuration.
> is it attached via wired ethernet?
> wireless wise?
>
> did you perform an upload or a download?
> how did you perform it?


Wirelss, 150mbps both ends

Re: Raspberry Pi PirateBox

$
0
0
How do i change it to share via USB? I have a 250GB drive thats screaming for this

Re: Transfer speeds

$
0
0
did you perform an upload or a download?
how did you perform it? how did you do your measurement?
Viewing all 1863 articles
Browse latest View live