Help a noob out with Pi3? September 20, 2017 06:36AM |
Registered: 7 years ago Posts: 3 |
ip address
ssh 10.0.1.37which seemed to work. It let me log in and I got the normal piratebox first time instructions. However using Chrome browser and trying to navigate to piratebox.lan/content I got a DNS error. I was only able to get to the home page by typing in the IP address [10.0.1.37]. Also, the file sharing upload didn't seem to work because there was no upload selector.
sudo /opt/piratebox/rpi/bin/usb_share.shand it gave me some message about UUID, like it thought there was 2 USB drives plugged in or something. How do you tell it which one to use?
Re: Help a noob out with Pi3? September 23, 2017 07:17AM |
Admin Registered: 13 years ago Posts: 4,680 |
No, everything is ok. Your home network is in the 10.0.1.x range. You will get a 192.168.77.1 address when you connect your computer to the PirateBox wifi network. The howto starts from the point, where you start working based on your home network, where you need to find the RPi's IP.Quote
For some reason the IP address assigned to it was completely different than the 192.168.77.1 address in the documentation... not sure why. It assigned something like 10.0.1.37 I think? I was only able to find the PI's IP by logging in as alarm and typing
Quote
and it gave me some message about UUID, like it thought there was 2 USB drives plugged in or something. How do you tell it which one to use?
?Quote
You seem to have more than one valid ${FS} partition for a USB share:
"${UUIDS}\n"
Please make sure you have a USB thumb drive attached with a single ${FS} partition.
Re: Help a noob out with Pi3? September 28, 2017 05:24AM |
Registered: 7 years ago Posts: 3 |
user@debian:~$ ssh alarm@alarmpissh: Could not resolve hostname alarmpi: No address associated with hostname
user@debian:~$ ssh alarm@192.168.77.1
user@debian:~$ ssh alarm@10.0.1.37The authenticity of host '10.0.1.37 (10.0.1.37)' can't be established.
[alarm@alarmpi ~]$ sudo timedatectl set-ntp false
[alarm@alarmpi ~]$ sudo date -s "20170927 0000"Thu Sep 27 00:00:00 UTC 2017
[alarm@alarmpi ~]$ cd /opt/piratebox && sudo ./bin/timesave.sh ./conf/piratebox.conf install[sudo] password for alarm:
[alarm@alarmpi piratebox]$ sudo systemctl enable timesaveCreated symlink /etc/systemd/system/multi-user.target.wants/timesave.service -> /etc/systemd/system/timesave.service.
[alarm@alarmpi piratebox]$ sudo /opt/piratebox/rpi/bin/sdcard_share.shCreating partitions..
[alarm@alarmpi piratebox]$ sudo /opt/piratebox/rpi/bin/sdcard_share.shERROR: SWAP already exists
[alarm@alarmpi piratebox]$ sudo cp /etc/minidlna.conf /etc/minidlna.conf.bkp [alarm@alarmpi piratebox]$ sudo cp /opt/piratebox/src/linux.example.minidlna.conf /etc/minidlna.conf [alarm@alarmpi piratebox]$ sudo systemctl start minidlna [alarm@alarmpi piratebox]$ sudo systemctl enable minidlnaCreated symlink /etc/systemd/system/multi-user.target.wants/minidlna.service -> /usr/lib/systemd/system/minidlna.service.
[alarm@alarmpi piratebox]$ sudo systemctl enable rpi_hwclockCreated symlink /etc/systemd/system/multi-user.target.wants/rpi_hwclock.service -> /etc/systemd/system/rpi_hwclock.service.
Re: Help a noob out with Pi3? September 28, 2017 02:40PM |
Registered: 7 years ago Posts: 3 |
Re: Help a noob out with Pi3? October 01, 2017 09:59AM |
Admin Registered: 13 years ago Posts: 4,680 |
1. yes, it seems ok.Quote
The setup script seemed to give me some partition errors, because in the terminal several lines were highlighted in red.
Is my box set up correctly and ready to use?
PirateBox hotspot is independent from using the ethernet port, you should already see "PirateBox: share freely" on your open wifi list.Quote
I assume if I unplug it from my ethernet port, then just plug it in somewhere else, it will make it's own wifi hospot which you can connect to at piratebox.lan, correct?
this depends on your infrastructure. Some router do automatically translate new hostnames to IP, some do not. It can also be helpful to have a mdns resolver installed on your client computer, but not necessarily needed.Quote
Also, why cannot I connect via ssh to alarm@alarmpi, but I must use the IP?
nope. This is bound to the OS dependent captive portal feature and PirateBox is circumventing this (for several reasons). On a plain os (without a captive portal function) you can not open a browser or something based on establishing a wifi connection.Quote
One other question Mathias... is it possible to show a popup / alert window [at the new client] when someone connects to my Piratebox's wifi hotspot?
TheExpertNoob (mobile)
Re: Help a noob out with Pi3? October 04, 2017 12:10AM |
Re: Help a noob out with Pi3? October 11, 2017 01:38PM |
Admin Registered: 13 years ago Posts: 4,680 |