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

Re: piratebox.lan not work

$
0
0
Fuck! The problem was just that I was losing time and thinking it was the installation! Thank you so much, I solved it!

Re: piratebox.lan not work

$
0
0
I'm glad, that's it :)

Have fun with your PirateBox
Matthias

Re: WiFi AP with Edimax EW-7811Un

$
0
0
Thanks WACOMalt and mrd0ll4r

I alredy have running the raspi piratebox

Port

$
0
0
Hello;
I just started with the Pirated Box with a raspberry pi and i had it running, but i have a problem. There is an error massage or a warning saying that saids "can't bind to port : 80 address already in use " how can i change ports and how can i get connected when i go to wifi and connected to the raspberry pi pirated box?
Thank You

Re: Port

$
0
0
Hi,
which image did you use?
How did you encounter it? (how are you connected, or did you run any additional commands?)

regards Matthias

Re: Port

$
0
0
Thank for the response i use the tutorial for the laptop. I want to run pirated box and also i want to use my raspberry pi. Right now I'm connected through wifi.I encounter it when i started the pirate box.
Thanks again

Re: Port

$
0
0
Hi,
which distribution did you use for setting your box up?

if it is raspian, you have to disable hostapd, dnsmasq & lighttpd from startup, because on raspian these are enabled through their installation.

Run the following commands on your PI
 sudo /etc/init.d/lighttpd stop
 sudo update-rc.d lighttpd remove
 sudo /etc/init.d/dnsmasq  stop
 sudo update-rc.d dnsmasq remove 
 sudo /etc/init.d/hostapd  stop
 sudo update-rc.d hostapd remove

Then restart the piratebox scripts

sudo /etc/init.d/piratebox restart

best regards Matthias

Re: [SSID] I don't see any

$
0
0
[root@alarmpi ~]# systemctl status --all piratebox
* piratebox.service - PirateBox Service
Loaded: loaded (/etc/systemd/system/piratebox.service; enabled)
Active: active (exited) since Fri 2014-11-14 10:20:26 MST; 51s ago
Process: 329 ExecStop=/opt/piratebox/init.d/piratebox_alt stop (code=exited, status=0/SUCCESS)
Process: 338 ExecStart=/opt/piratebox/init.d/piratebox_alt start (code=exited, status=0/SUCCESS)
Main PID: 338 (code=exited, status=0/SUCCESS)

Nov 14 10:20:26 alarmpi systemd[1]: Started PirateBox Service.
Nov 14 10:20:26 alarmpi piratebox_alt[338]: Starting script piratebox
Nov 14 10:20:26 alarmpi piratebox_alt[338]: Generating hosts file ....
Nov 14 10:20:26 alarmpi piratebox_alt[338]: Generating dnsmasq.conf .....
Nov 14 10:20:26 alarmpi piratebox_alt[338]: Generating Environment-config for ligttpd .....
Nov 14 10:20:27 alarmpi piratebox_alt[338]: Empty tmp folder
Nov 14 10:20:27 alarmpi piratebox_alt[338]: rm: cannot remove '/opt/piratebox/tmp/': Is a directory
Nov 14 10:20:27 alarmpi piratebox_alt[338]: Copy over design files
Nov 14 10:20:27 alarmpi piratebox_alt[338]: /opt/piratebox/bin/piratebox_setup_wlan.sh: line 101: syntax error: unexpected end of file
Nov 14 10:20:27 alarmpi piratebox_alt[338]: failed probing Interface

Re: Port

$
0
0
Hello;
Thanks i will do that, also i have another question for some reason i can't use my WiFi usb for the Raspberry pi.

Re: Port

$
0
0
what usb stick do you use?
do you use a powered USB hub as well?

Matthias

Re: [SSID] I don't see any

$
0
0
Hi,
this lines are weired

Nov 14 10:20:27 alarmpi piratebox_alt[338]: /opt/piratebox/bin/piratebox_setup_wlan.sh: line 101: syntax error: unexpected end of file

can you please post your /opt/piratebox/bin/piratebox_setup_wlan.sh file
please use the "
" tags of the forum.

regards
Matthias

Re: Port

$
0
0
hello;
No i don't have a power usb, the problems is that the WiFi usb works and but i can't get any internet access, i get internet wen i plug the internet cable. Maybe i disable it when i was installing the PiratedBox ?
thank you

Re: Port

$
0
0
Hi,
you want to have internet via the wifi broadcasted by your piratebox?

client --> piratebox-wifi -> rpi -> internet

like this?
This is not configured per default.

Matthias

Re: Alfa Awus036H (RTL8187L) not work

$
0
0
Hallo Matthias,

ich würde gerne mein Alfa WiFi Adapter in Betrieb nehmen. Leider kenne ich mich mit Linux nicht aus. Kannst du mir dabei helfen?

dmesg | tail -n 30
gibt mir folgenden Fehler aus:

[root@alarmpi ~]# dmesg | tail -n 30
[   16.960705] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[   16.960717] cfg80211: Updating information on frequency 2432 MHz with regulatory rule:
[   16.960731] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[   16.960743] cfg80211: Updating information on frequency 2437 MHz with regulatory rule:
[   16.960757] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[   16.960769] cfg80211: Updating information on frequency 2442 MHz with regulatory rule:
[   16.960783] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[   16.960796] cfg80211: Updating information on frequency 2447 MHz with regulatory rule:
[   16.960810] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[   16.960823] cfg80211: Updating information on frequency 2452 MHz with regulatory rule:
[   16.960838] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[   16.960850] cfg80211: Updating information on frequency 2457 MHz with regulatory rule:
[   16.960864] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[   16.960877] cfg80211: Updating information on frequency 2462 MHz with regulatory rule:
[   16.960891] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[   16.960903] cfg80211: Updating information on frequency 2467 MHz with regulatory rule:
[   16.960917] cfg80211: 2457000 KHz - 2482000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[   16.960930] cfg80211: Updating information on frequency 2472 MHz with regulatory rule:
[   16.960945] cfg80211: 2457000 KHz - 2482000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[   16.960957] cfg80211: Updating information on frequency 2484 MHz with regulatory rule:
[   16.960972] cfg80211: 2474000 KHz - 2494000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
[   17.091429] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   17.101819] ieee80211 phy0: hwaddr 00:c0:ca:7e:f0:72, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
[   17.223666] rtl8187: Customer ID is 0xFF
[   17.280012] rtl8187: wireless switch is on
[   17.343856] usbcore: registered new interface driver rtl8187
[   21.053053] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   23.447943] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

Re: [SSID] I don't see any

$
0
0
Ok here it is :

#!/bin/bash

# Author: Matthias Strubel   / Feb. 2011
#  Script for setting up the wlan interface
#  Parameter 1 i used for the config file providing the parameters

#   IP-Adress
#   Netmask
#   Interface

# Load configfile

if [ -z  $1 ] || [ -z $2 ]; then 
  echo "Usage piratebox_setup_wlan.sh my_config <start|stop|probe>"
  exit 1
fi


if [ !  -f $1 ] ; then 
  echo "Config-File $1 not found..." 
  exit 1 
fi

#Load config
. $1 


### Check config
if [ -z $INTERFACE ]; then 
   echo "Please define i.e.  "
   echo "   INTERFACE=wlan0 "
   exit 1
fi

if [ -z $IP ] ; then
   echo "Please define i.e.  "
   echo "   IP=192.268.46.2 "
   exit 1
fi

if [ -z $NETMASK ] ; then
   echo "Please define i.e.  "
   echo "   NETMASK=255.255.255.0 "
   exit 1
fi



###  Do the stuff

if [ $2 =  "start" ] ; then

  echo "Bringing up wifi interface $INTERFACE "
  ifconfig $INTERFACE up 

  if  [ $?  -ne 0 ] ; then 
     echo  "..failed ";
     exit 1
  fi

  echo "Setting up $INTERFACE"
  ifconfig $INTERFACE  $IP netmask $NETMASK

  if  [ $?  -ne 0 ] ; then 
     echo  "..failed ";
     exit 1
  fi

  if [ $IPV6_ENABLE = "yes" ] ; then
     echo  "Setting up IPv6 stuff"
     IPv6="$IPV6_PREFIX:$IPV6_IP"/"$IPV6_MASK"
     echo  "  $INTERFACE  -->$IPv6<--"
     ifconfig $INTERFACE  add  $IPv6
  fi

elif [ $2 = "stop" ] ; then
  echo "Stopping wifi interface $INTERFACE "
  elif [ "$2" = "probe" ] ; then


probe() {
  if [ "$PROBE_INTERFACE" = "yes" ] ; then
     echo -n "Probing interface $INTERFACE"
     ifconfig  "$INTERFACE"  >> /dev/null 2>&1
     TEST_OK=$?
     CNT=$PROBE_TIME
     while [[ "$TEST_OK" != "0" &&  "$CNT" != "0"  ]]
     do
        echo -n "."
        sleep 1
        CNT=$(( $CNT - 1 ))
        if [ "$CNT" = 0 ] ; then
          exit 99
        fi
        ifconfig  "$INTERFACE"  >> /dev/null 2>&1
        TEST_OK=$?
     done
  fi
}

So i've deleted the lasts 2 lines and now the commande systemctl returns me something good, so i reboot it without ethernet but still 0 SSID ...

Re: New Raspberry Pi(rate)Box - image is available

$
0
0
I have tried to install the image following the instructions in the 'how to' but I seem to be getting it wrong. I get "error loading Journal"

Re: Alfa Awus036H (RTL8187L) not work

$
0
0
Okey,
in der Hoffnung dem Alpha ein AP Modus beizubringen, habe ich nach folgende Anweisung ausprobiert ->r8187 Driver
Leider ohne Erfolg. :X Beim compilieren kommt zu Fehler -“RTL8187.ko konnte nicht gefunden werden “
und das wars schon. Auch weitere Versuche mit Original Realteck Treibern und allen Treibern die ich finden konnte, schlugen fehl :( Ich vermute das es keine aktuelle Treiber für den Realtek RTL8187L mehr geben wird . Komischerweise läuft Alpha im Access Pointe Mode im M$ Windows problemlos.:S
Kurz-gesagt : bin ich zum “Plan B” übergegangen und Alpha durch TP-Link TL-WN822N v.3 -> RTL8192cu
ersetzte. Dank Anleitung von WACOMalt aus >diesem Thread< läuft jetzt meine Piratenbox einigermaßen.

wlan0: link is not ready

$
0
0
Hi, fist time Raspi user, new to Linux, Can't make a PirateBox out of my Pi. I was able to install and start the PirateBox. But can't find it on WiFi. I get an error wlan0: link is not ready.

Thanks from a really new newbee.

Re: wlan0: link is not ready

$
0
0
Hi, is your wifi card confirmed to be working? Did you connect it directly to the Pi or to a powered hub?

VolvoX

Help Installing Piratebox

$
0
0
I followed the first half of the guide but i am using the EW-7811Un so i wasn't sure if there was more I needed to do. When I started the post-installation guide I could not find the SSID for my Pi. What should I do?
Also when I tried to activate my Kareha board, the file seemed to be out of order (pound signs halfway through a line).

Thank you
Viewing all 1863 articles
Browse latest View live