Can not reach 'piratebox.lan'

Posted by ribeiroz 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
Can not reach 'piratebox.lan'
September 10, 2014 11:30PM
Hello ... My name is Edson and I live in Brazil.
First of all, I want to say that the new PirateBox is spectacular! Congratulations!
I installed a PirateBox on a Raspberry Pi B following the instructions on the site "[piratebox.cc];.
All occurred apparently without problems(no error messages), except that:
1- The Raspberry PI by itself does not broadcast a wi-fi signal.So I added an external router to the Raspberry and thus had wi-fi signal. After joing the signal, I pointed my browser to "piratebox.lan".
The browser returned "address error" (no exist that server). I changed the address (piratebox.lan) by the IP assigned by the router (in my case "192.168.0.100") and entered at app PirateBox.
Everything worked except the "Upload". The home(index.html)tried to link to '[piratebox.lan]; and return 'server not found'.

As I am new to "like Linux" OS's, I wonder how to solve this and/or where did I make a mistake! Best Regards, Edson.
Re: Can not reach 'piratebox.lan'
September 11, 2014 09:30PM
ribeiroz Wrote:
-------------------------------------------------------
> Hello ... My name is Edson and I live in Brazil.
> First of all, I want to say that the new PirateBox
> is spectacular! Congratulations!
> I installed a PirateBox on a Raspberry Pi B
> following the instructions on the site
> "[piratebox.cc];.
> All occurred apparently without problems(no error
> messages), except that:
> 1- The Raspberry PI by itself does not broadcast a
> wi-fi signal.So I added an external router to the
> Raspberry and thus had wi-fi signal. After joing
> the signal, I pointed my browser to
> "piratebox.lan".
> The browser returned "address error" (no exist
> that server). I changed the address
> (piratebox.lan) by the IP assigned by the router
> (in my case "192.168.0.100") and entered at app
> PirateBox.
> Everything worked except the "Upload". The
> home(index.html)tried to link to
> '[piratebox.lan]; and return 'server not
> found'.
>
> As I am new to "like Linux" OS's, I wonder how to
> solve this and/or where did I make a mistake! Best
> Regards, Edson.

P.S. - The ifconfig do not show 'wlan0'
Re: Can not reach 'piratebox.lan'
September 16, 2014 05:43PM
I assume, you want to get the Pi running with its own Wifi-Adapter, right?

can you login to your Raspberry and post me the result of
lsusb
please?

Thank you in advance,
best regards Matthias


This is only my signature.
Re: Can not reach 'piratebox.lan'
September 19, 2014 08:30AM
Yes, Mattias! Below the "lusb":

Bus 001 Device 022: ID 03f0:5307 Hewlett-Packard (Pendrive)
Bus 001 Device 021: ID 413c:2107 Dell Computer Corp. (keyboard)
Bus 001 Device 020: ID 2001:330d D-Link Corp. (Wireless N Nano USB Adapter)
Bus 001 Device 019: ID 413c:3012 Dell Computer Corp. (keyboard)
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Best regards Edson
Re: Can not reach 'piratebox.lan'
September 20, 2014 10:29AM
Hi,
sorry, you have a model using that rtl8192cu chipset, which is not 100% supported (found here).
Try to exchange the hostapd.

If you want to try something new,
download the following file: hostapd-8192cu-0.8_rtw_r7475.20130812_beta-3-armv6h.pkg.tar.xz
I built this for the new LibraryBox image.

You have to download this on your computer and bring it somehow to the Pi. One option is to copy it over to an USB Stick, and plug this on your Pi and do

mkdir -p /mnt/usb
mount /dev/sda1 /mnt/usb
cp /mnt/usb/*pkg* /root/

Then you have to run the following commands to exchange the hostapd stuff:

pacman --noconfirm --force -U hostapd
pacman --noconfirm --force -U  /root/*.pkg.*
sed 's#driver=.*#driver=rtl871xdrv#'  -i /opt/piratebox/conf/hostapd.conf

After this run

systemctl stop piratebox
systemctl start piratebox

Ah, and keep crossing fingers.

Matthias


This is only my signature.
Can not reach 'piratebox.lan' solved!
September 27, 2014 04:49AM
Success, Matthias ... I tried the "something new" as you suggested! Downloaded the "hostapd-8192cu-0.8_rtw_r7475.20130812_beta-3-armv6h.pkg.tar.xz"and ran the five commands "mkdir-p / mnt / usb
mount / dev / sda1 / mnt / usb
cp / mnt / usb / * pkg * / root / "and then" pacman --noconfirm --force -U hostapd
pacman --noconfirm --force -U /root/*.pkg.*
sed 's # = driver. * driver = # # rtl871xdrv' /opt/piratebox/conf/hostapd.conf -i ".

The first "pacman --noconfirm --force -U hostapd" returned "unsolvable conflict". So I removed the "--noconfirm" and submitted again. Everything ran smoothly and after some time, BINGO! Gold Medal!

I now have a "PirateBox" in the air, on the Raspberry Pi.
Thank you and congratulations! Glad Tidings! You can spread this to the whole world!

Best regards, Edson



Edited 2 time(s). Last edit at 09/27/2014 08:57PM by ribeiroz.