Go to advanced search

by NightHawk
Wed Feb 11, 2015 3:20 am
Forum: Beginners
Topic: Sharing WiFi connect from Raspberry Pi to switch
Replies: 2
Views: 847

Sharing WiFi connect from Raspberry Pi to switch

I have my Linux PC connected to the internet via WiFi, and I have an ethernet cable going from it to a 5 port switch that has other local devices wired in. This is great, but I have to keep my loud, power heavy PC on 24/7 for other devices in the house that are plugged into the switch to work. (xBox...
by NightHawk
Fri Aug 09, 2013 6:41 am
Forum: Beginners
Topic: How to use a Raspberry Pi for internet privacy?
Replies: 5
Views: 1798

Re: How to use a Raspberry Pi for internet privacy?

Nah, not really trusting anything Tor related nowadays. I was thinking I may just setup my Pi with a bash script that will rotate between connecting to different VPSes I own. Then I can just setup a ssh tunnel to tunnel either all my traffic or just a specific port (for like a seperate browser windo...
by NightHawk
Fri Aug 09, 2013 5:17 am
Forum: Beginners
Topic: How to use a Raspberry Pi for internet privacy?
Replies: 5
Views: 1798

How to use a Raspberry Pi for internet privacy?

And good guides or tutorials on how to utilize a Rasperry Pi for increased internet privacy / security?


Nothing in particular I am asking, just curious if there are any random guides / projects that would be interesting to look into.
by NightHawk
Fri Aug 09, 2013 5:14 am
Forum: Networking and servers
Topic: .local domains / assigning more than one per server / vhosts
Replies: 2
Views: 774

Re: .local domains / assigning more than one per server / vh

Hmm, I wasn't for sure if I could (for example) setup a single raspberry pi with several project sites and create a seperate virtual host for each one like you would typically do on a regular webserver. Project1 SomeProject OtherProject And then just assign an IP from the router so project1.local go...
by NightHawk
Fri Aug 09, 2013 4:30 am
Forum: General discussion
Topic: Stackable Pi cases?
Replies: 5
Views: 4131

Stackable Pi cases?

I mean, I know you could just stack any ol' Raspberry Pi case ontop of another if you wanted. But are there any that are -designed- to be 'snapped' together / stacked?

Looking for some cases as I may order 1 or 2 more RPIs. Then I'll have a 'Pi Rack' :P
by NightHawk
Wed Aug 07, 2013 6:04 am
Forum: Networking and servers
Topic: .local domains / assigning more than one per server / vhosts
Replies: 2
Views: 774

.local domains / assigning more than one per server / vhosts

My Raspberry Pi is only Nginx, PHP5-fpm, and MySQL. I treat it as I would a dedicated server or VPS and just SSH into it and fiddle around. Right now, I can connect to my Raspberry Pi via my web browser by going to http://myraspberrypi.local , where I've got a custom index page with different sites/...
by NightHawk
Tue Aug 06, 2013 8:33 am
Forum: Beginners
Topic: Best practice for local (non public facing) webserver?
Replies: 4
Views: 2373

Re: Best practice for local (non public facing) webserver?

Well, that was easy. Just did a headless install and it was a breeze. SSHed into the Pi and updated it. Running Nginx, php-fpm, and MySQL from the start. Stock install right now is 50MB of RAM used, which is about what I'd expect. Seems everything is pre-optimized for low memory use as I was looking...
by NightHawk
Tue Aug 06, 2013 7:26 am
Forum: Beginners
Topic: Best practice for local (non public facing) webserver?
Replies: 4
Views: 2373

Re: Best practice for local (non public facing) webserver?

Going to use this: http://www.raspberrypi.org/phpBB3/viewt ... 36&t=47719 and give it a go.

Just need a minimal web-server install and I'll just do a basic Nginx, MySQL, PHP-fpm stack.

I'll report back.
by NightHawk
Tue Aug 06, 2013 6:53 am
Forum: Beginners
Topic: Best practice for local (non public facing) webserver?
Replies: 4
Views: 2373

Best practice for local (non public facing) webserver?

I've had a Raspberry Pi sitting around for a while now, haven't done much with it. Initially had a lot of trouble trying to bridge my PC connection with it via eth0 so I could have the Pi connect to the net for updates and what not. Making some changes, I reboot and the Pi won't start back up. Oh we...
by NightHawk
Mon Jun 03, 2013 1:31 am
Forum: Beginners
Topic: Strange occurrences with my Pi.
Replies: 23
Views: 2386

Re: Strange occurrences with my Pi.

All I can suggest is you post the result of sudo route on your laptop. My network knowledge is limited to my immediate needs so I know just enough to talk between my machines. ~$ sudo route [sudo] password for nighthawk: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface...
by NightHawk
Sun Jun 02, 2013 1:21 am
Forum: Beginners
Topic: Strange occurrences with my Pi.
Replies: 23
Views: 2386

Re: Strange occurrences with my Pi.

If your laptop has a wireless connection to the outside world you could also add (on your laptop) Where router is the hostname or the ip address of your router. sudo route del router sudo route del default sudo route add -net router netmask 255.255.255.255 dev wlan0 sudo route add default gw router...
by NightHawk
Fri May 31, 2013 6:03 pm
Forum: Beginners
Topic: Strange occurrences with my Pi.
Replies: 23
Views: 2386

Re: Strange occurrences with my Pi.

You shouldn't need a crossover cable to connect a Pi to a PC, the interface on the Pi is auto-sensing and will handle the cross-over if needed. Standard Cat5 (or better) cable is ok. It looks to me like eth0 on the Pi (or is that the PC?) is losing its config at some point. This is strange if you h...
by NightHawk
Fri May 31, 2013 8:40 am
Forum: Beginners
Topic: Strange occurrences with my Pi.
Replies: 23
Views: 2386

Re: Strange occurrences with my Pi.

FML.

Tonight I learned that standard CAT5 cable =/= Crossover cable. They're completely different things. Probably why things are fudging up between the PC and the PI?

SIGHS

I'll order one :)
by NightHawk
Fri May 31, 2013 8:05 am
Forum: Beginners
Topic: Strange occurrences with my Pi.
Replies: 23
Views: 2386

Re: Strange occurrences with my Pi.

... EDIT: Spoke too soon. I was able to connect via SSH to the Pi, was able to issue a single command but now I can't issue any more commands. Furthermore I can't ping my PC again from my Pi as it says 'Destination Host Unreachable'. Only way to fix this is to continually re-enter the 'ifconfig' co...
by NightHawk
Fri May 31, 2013 7:55 am
Forum: Beginners
Topic: Strange occurrences with my Pi.
Replies: 23
Views: 2386

Re: Strange occurrences with my Pi.

I should know, but I don't. Try cat /etc/resolv.conf If there is a nameserver entry that's probably your router's IP address. ~$ cat /etc/resolv.conf # Generated by NetworkManager domain XXXXX.XXXXXXXX.net search XXXXX.XXXXXXXX.net nameserver 208.38.XXX.X nameserver 184.170.XXX.XXX nameserver 192.1...
by NightHawk
Fri May 31, 2013 7:44 am
Forum: Beginners
Topic: Strange occurrences with my Pi.
Replies: 23
Views: 2386

Re: Strange occurrences with my Pi.

... Opening a terminal on the Pi and issuing the 'who' command shows I'm connected. Just strange that I can't type in the terminal on my PC to issue commands to the Pi. ... Bizarre, I have no idea what's happening to cause that. Even stranger now is I can't connect via SSH or ping back and forth an...
by NightHawk
Fri May 31, 2013 7:35 am
Forum: Beginners
Topic: Strange occurrences with my Pi.
Replies: 23
Views: 2386

Re: Strange occurrences with my Pi.

If your laptop has a wireless connection to the outside world you could also add (on your laptop) Where router is the hostname or the ip address of your router. Since I have no physical access to the router, and only know the name of the network I connect to, the password to connect, and the mac ad...
by NightHawk
Fri May 31, 2013 7:30 am
Forum: Beginners
Topic: Strange occurrences with my Pi.
Replies: 23
Views: 2386

Re: Strange occurrences with my Pi.

You could give the Pi and your (Linux?) laptop dedicated IP addresses so that they can talk to each other. On your laptop do sudo ifconfig eth0 192.168.4.1 On your Pi do sudo ifconfig eth0 192.168.4.2 You should then be able to ping and ssh between them. Great! I can now ping my PC from the Pi and ...
by NightHawk
Fri May 31, 2013 6:31 am
Forum: Beginners
Topic: Strange occurrences with my Pi.
Replies: 23
Views: 2386

Re: Strange occurrences with my Pi.

RaTTuS wrote:connect it direct to your router,
you need no mouse anyway
Is this the only way? I have no direct access to my router, and if I did, I'd not know any information for it.

I simply have a USB wifi adapater for my PC, and I know the network name/password. That's all.

Am I SOL?
by NightHawk
Fri May 31, 2013 6:06 am
Forum: Beginners
Topic: Strange occurrences with my Pi.
Replies: 23
Views: 2386

Strange occurrences with my Pi.

For starters, my Pi is a 100% stock install. I've yet to get the thing networked to anything, so there have been no updates to it. Frustrated that I still can't figure out how to network my Pi to my other Linux desktop I start trying some new things. I've got my Pi connected to my Debian desktop via...
by NightHawk
Thu May 30, 2013 4:33 am
Forum: Beginners
Topic: Networking Raspberry Pi to another local Linux desktop?
Replies: 2
Views: 651

Networking Raspberry Pi to another local Linux desktop?

Howdy folks, Is there any good guides available on how to make the Raspberry Pi networked to another local Linux machine? What I want to do: Raspberry Pi --> Debian based Desktop PC --> Internet I've got the Pi connected to the desktop via ethernet, I don't have a spare USB wi-fi adapter available s...

Go to advanced search