Quantcast
Channel: PirateBox Forum - PirateBox OpenWrt
Viewing all articles
Browse latest Browse all 3254

Re: New Guy Needs Help Please

$
0
0
Z

In your case (based on the pics you linked),
192.168.1.1 is your home router (option gateway ! )
192.168.1.x any device connected to your home network

192.168.2.111 is the address of the PirateBox (hence you have to ssh to this address for login)
192.168.2.x any address the PirateBox gives in the network
___________________________________________________

It is advised to change the address of your PB to 192.168.1.x (where X is not 1, else it would collide with your home router!). Otherwise the IP should be changed to 192.168.2.111 in piratebox.conf as well. This is complicated, so lets change the address of your PB to 192.168.1.254 for instance.

With the current setup you need to login to your PirateBox via
ssh root@192.168.2.111
Now to log in to your box :
Connect your computer to the PB via ethernet cable. Enter above command

(If you can't manage to get a login, try setting a fixed IP to your etherenet connection for the time being. But as you wrote earlier you can get a login, so this shouldn't be a problem)

In
/etc/config/network
change the line
option ipaddr '192.168.1.254'

Also, to get internet access to your PB when it is connected to your home router change in
option gateway '192.168.1.1'

Note: after rebooting the router it's IP address will be 192.168.1.254 so from this point on you will need this address to ssh during login.

Also, you should be able to connect to your piratebox via wifi as well.
Do you see a "PirateBox - Share Freely" wifi network?
Can you make a successful connection to it?

Viewing all articles
Browse latest Browse all 3254

Trending Articles