OpenVPN Gateway Image for raspberry pi with airplay - Raspberry Pi Development

Hey all,
I create an Image for the raspberry to use it as VPN gateway at home for every device in same network.
You can use every VPN provider that supports OpenVPN.
It's easy to use. You change only the ovpn and the interfaces offered directly on sdcard.
There are two different versions. One with airport the other without. Both for raspberry with 512MB revision b and 2gb sdcard without any other hardware.
It's tested with airvpn and ipredator.
General information about the configuration of the images:
without GUI
16MB graphic RAM
HDMI Output active
sshd, nntp, OpenVPN, IPTables, Netzwerk starts automatically
Swap file with 190MB in /etc/fstab configured but disabled
User: root Password: raspberry
Hope its helpful
links are attached or take a look on techfunbln.blogspot.de
best regards
Paul

Related

Xendesktop 5 Express for Atrix 4G

Hello all,
This was a full week of work to make functional ( this setup is considered for ADVANCED users only )
What this is about is to use a stock atrix that comes standard with a Citrix receiver, what does the receiver do is that it is an interface to the Xendesktop virtual desktop deployment and desktop delivery to any device or pc, mac, Linux smartphone except android for now (in this mode the atrix in webtop is considered linux).
Main ingredients for this cooking sesson :
==> One powerful PC with at least 6GB ram and dual core processor and really fast hard drives.
==> LOTS of patience and googling
Software needed :
-Windows 2008 server with service pack 2 at the least
-Xendesktop 5 express ISO from www.citrix.com
-Your flavor of a Hyper Visor : Vmware ESXi 4 / Xenserver / Microsoft Hyper-V
-Your flavor of OS you would like to use on your Atrix : Win XP / Vista / 7
Outline of install steps ( I am not going to go to detail here as Google is your friend )
1- Install a flavor of hyper-visor on your pc
2- Install the windows 2008 server VM on the hyper-visor
3- Install Xendesktop on the windows 2008 server ( do not use quick deploy )
4- Add active directory role to your windows 2008 server ( make sure you have Dydns domain that points to your router which is going to be your domain name for the AD )
5- Install a flavor of your favorite Desktop OS on the hyper-visor
6- Install adobe air, flash, acrobat reader and all your favorite apps you need on the run on your flavor of desktop OS.
7- Add the desktop OS to the domain you created in AD
8- Log in as administrator on the desktop OS and making sure you are logged in thru the domain THEN install Xendesktop desktop agent and configure it (do not use quick deploy).
9- Configure your router OR install a VPN server on the Hyper-visor OR install Citrix access gateway on the hyper-visor and configure it with Xendesktop (BIG monstrous headache)
By now you should be ready to jump of the roof, well you should be able to check that :
1- the desktop OS is ready under xendesktop console
2- you did make a catalog in xendesktop and added the machine and user to that catalog and all is good as you have followed the docs for xendesktop
3- you are seeing the web site of your xendesktop server locally
4- you are able to launch windows on your atrix 4G locally and remotely via which ever method you used to tunnel in to your local network.
I know there is alot of details are out, so fire up your questions and i will try my best to answer them
dude you dont know how long i've been trying to get this running.
This is by far the best quick guide out there.
If you could provide some further details as to how do we bypass certain limitations and possibly explain what drawbacks we face by having this run on our pc full time.
This is the BARE minimum as i tricked xendesktop to be running on a domain controller instead of having a DC by itself and another 08 server for the xendesktop which would mean you would need a bigger cpu or two computers like i did as i don't have much horse power.
There is no limitations the only limitation is that xendesktop express is free for 10 users licenses, you MUST keep the PC humming 24/7 for it to be available to you anywhere you go whether you are on your Atrix 4G or on another pc or mac or linux box, i can say this is the true mobile desktop, it looks very very nice on my laptop dock for the atrix, no need to hack into linux for now till sogarth gets it squared away, but in general i had fun doing this project, i will re do it with the quick deploy on my recently acquired dell poweredge server with hot scsi drives
tell me where did you fail or stop at and what did you try ???
OH by the way the pc you use for this you forget you had it cuz after you are done cooking you leave it aside and dont run anyrhing else on it !! LOL
molotof said:
This is the BARE minimum as i tricked xendesktop to be running on a domain controller instead of having a DC by itself and another 08 server for the xendesktop which would mean you would need a bigger cpu or two computers like i did as i don't have much horse power.
There is no limitations the only limitation is that xendesktop express is free for 10 users licenses, you MUST keep the PC humming 24/7 for it to be available to you anywhere you go whether you are on your Atrix 4G or on another pc or mac or linux box, i can say this is the true mobile desktop, it looks very very nice on my laptop dock for the atrix, no need to hack into linux for now till sogarth gets it squared away, but in general i had fun doing this project, i will re do it with the quick deploy on my recently acquired dell poweredge server with hot scsi drives
tell me where did you fail or stop at and what did you try ???
OH by the way the pc you use for this you forget you had it cuz after you are done cooking you leave it aside and dont run anyrhing else on it !! LOL
Click to expand...
Click to collapse
Thanks for letting me know and updating your OP
I guess I need another PC as a server :X I need to figure that part out.

VNC + VirtualBox = Full OS on your phone

I'm probably not the only one that has done this,but yesterday at work I setup a headless Windows XP VM with virtualbox on a computer,and used RealVNC Viewer on my phone to login remotely,and it worked pretty well. Our service order system does not display correctly in mobile web browsers (even the ones you can set to view in desktop mode),so this was an interesting alternative. I didnt specifically do this for my phone,but more or less to see how it would work on a bigger tablet. I used RealVNC,which is a paid app,but its definitely one of the best ones out there for this setup, more on that at the end.
Anyway,heres a few pointers if anyone wants to try this out.
1. Install virtualbox (and the extension pack),install your favorite guest OS and install your favorite VNC server (I just used TightVNC for the server as well). Also, shut down the VM and change the network type from NAT to Bridge (so it gets an IP from your network). Start it back up, get the IP address and shut it back down.
2. With the VM off,start it back up in headless mode:
My host OS was windows 7,so I created a batch file in the VB program files folder and added this:
Code:
VBoxManage startvm "VM name" --type headless
Then I made a shortcut to the batch file on the desktop.
the command is same for linux,but you can run it from any terminal directory I do believe
3. Give it a min to boot up,then adjust the resolution with:
Use this one time command,adjust the values if necessary. I created another batch file to run this command,then changed it for the next command we have to run.
Code:
VBoxManage setextradata global GUI/MaxGuestResolution 1920,1200
that will allow VirtualBox to globally use any resolution up to 1920x1200,but it wont actually change it,that is what the next one is for,this changes it on the fly:
Code:
VBoxManage controlvm "VM name" setvideomodehint 960 503 24
for best usage,disconnect and reconnect from the phone when changing it on the fly,RealVNC didnt exactly like the resolution changing while logged in.
Now with the RealVNC viewer,it keeps the notification bar at the top,so you cant exactly use it full screen,so thats why its not 960x540.
The realVNC app for 9.99 is worth it,all the other remote apps I have tried are either slower,or had dumb control schemes. This one seems to work the best. Also,I have never used the built in remote display function,so I dont know if it would work any better or not.
I had very minimal lag with 24 bit color on the phone,this method will work on any android device,you just have to figure out the maximum resolution to use without having to pan the screen. Obviously this will work great at home or at work using wifi,but not that great using 3G service.
thats pretty bad ass. For the Tegra 3 crowd, such as myself, Splashtop THD is more than just for gaming, again, it is paid like RealVNC, but the best part about it is it runs nearly lagless. Give it a shot if your hardware supports it

[Q] File browser that works over subnets?

I've been trying to set up a tablet to connect to Windows shares on the companies domain - all legitimate. I have been asked to look at their use within the company.
It's a standard Server 2008 based domain.
The main problem I am having is that the wireless is a different subnet to the main network.
The file browsers I have tried so far are not apparently capable of routing over subnets - due to smb (which the browsers use) not being a routable protocol so I am told.
The question is are there any Android apps that uses IP Routing to find shares rather than SMB.
I hope the above makes sense. I am going off what I have been told. I can connect to shares on the wireless subnet itself so this seems to all make sense to me.
Are there any such apps?
Any other solutions to this also welcome!
Thanks
Andrew
You can DO it!
SMB can route over subnets, make sure your DNS or WINS are setup properly.
Make sure the firewalls on all pertinent machines are setup to allow File & Printer Sharing both subnets. The default is local only. This matters on clients & servers.
I'm unable to post links, but search for " Enabling Samba across Subnets" on LinuxPlanet. For more Windows based solutions, search for "Share folders across different subnets" on anandatech's forums.
Any SMB app should be able to this. Sysinternals even hosts a Public File Share! It's on their "live." subdomain.
As FesterCluck says, SMB/CIFS can work over TCP just fine. I'd also like to add that FolderSync is the best network-capable file manager I have seen. You should check it out (and no, I have no relation to the company that makes it). Despite the name, it has a built-in file manager that works great for both local files and network shares. The sync capabilities are just icing on the cake.

[PROGRAMS] Networking tools from around the Web...

I've been looking to get more out of my PPC lately, and so I've rounded up some freeware I've located across the web having to do with network monitoring, and placed it in a convenient post.
CONTENTS:
MyIPConfig - This program displays your current IP Configurtion, Subnet Mask, and other useful Info
NBStatCE - This program allows you to see various devices on your local network
Ping - This is a dialogue box version of the command line Ping command
Pocket Ping - This is a somewhat more advanced version of the same concept, with definable intervals for pinging, and Local Host info
WiFiFile Sender - I've also included this wonderful program, which makes sending programs over the network MUCH easier, even if the files are very large! The author has also made PC and Android versions, which can all communicate with each other.
(Disclaimer: All programs are the property of their respective owners, I have merely collected them for your convenience)
Enjoy!
The (freeware) suite of network tools I'm using since years now: http://www.cambridgevx.com/vxutil.html
Works in portrait and landcape screen orientation.
jwoegerbauer said:
The (freeware) suite of network tools I'm using since years now: http://www.cambridgevx.com/vxutil.html
Works in portrait and landcape screen orientation.
Click to expand...
Click to collapse
Thanks for sharing.

[GUIDE] Turn your Android device into a Cloud storage server

So, today im back with another guide, today ill be teaching you how to turn your Android TV Box into a personal Cloud!
A few of you may ask, why? Well theres a few reasons
1. These devices run off a 5v power supply
2. For the price they are, its definately the cheapest alternative to purchasing cloud space
3. For the specs, they are quite impressive
4. Not only can you use wifi, but these devices have LAN aswell
So for anyone who wants to do this, simply check out my youtube video, it takes a total of less than 2 minutes to set up(Deducting all my explaining)!
https://youtu.be/D_yPGkAmtII
Step by step -
1. Download and install SSHDroid on your device from the playstore or link below
2. Open the app, if the service is not started, click start at the top right, the status should change to ready
3. Download the setup server files i created from below and open the SetupServer.bat file
4. The script will prompt you for an IP address, in the SSHDroid app besides address you will see something like [email protected]:2222 your IP address is inbetween "[email protected]" and ":2222", in this case 192.168.1.109, type it in and press enter
5. You will notice 2 scripts are generated from that and a file, you can then run the CloudFileManager.bat or the CloudTerminal.bat depending if you wanna upload/download files from your cloud or do things within terminal
If you do wanna access the server from your device, you can download ESFileExplorer, open it and open the FTP tab
Click "add" and choose SFTP, then input the details that the script generated in details.txt
You can then transfer files between your phone and cloud!
Here are the files i said i would share for this
My setup server files - https://mega.nz/#!fUVQEK5L!57B2fs7qjI0-LhAUfWk014r90KzEJ-P4902Sfa6vZr0
SSHDroid app direct DL - https://apkpure.com/sshdroid/berserker.android.apps.sshdroid/download
Be sure to like, share and subscribe for more content
I'd never even thought of that but been looking for an option of network storage. This could be perfect as I have a few spare boxes. I'll let you know how it goes
Okay got it mostly setup and can access via my desktop. Just trying to work out a way to make it network accessible to Kodi on my main android box. Same network of course
b00glez said:
Okay got it mostly setup and can access via my desktop. Just trying to work out a way to make it network accessible to Kodi on my main android box. Same network of course
Click to expand...
Click to collapse
I get home in a few hours, i will figure it and let you know
Definately a worthy solution to a cheap cloud storage
Any luck figuring that out?
I used Armbian+apache2(with PHP7.2)+Nextcloud server before but your cloud is runing on Android right? This is good idea. May be need a NAS drive like 2TB for storage. Android devices got poor wifi performance. I recomend LAN connection for cloud.
knxwille said:
I used Armbian+apache2(with PHP7.2)+Nextcloud server before but your cloud is runing on Android right? This is good idea. May be need a NAS drive like 2TB for storage. Android devices got poor wifi performance. I recomend LAN connection for cloud.
Click to expand...
Click to collapse
seems to be very minimal difference between WIFI and LAN, im guessing its using the hardware at its limit, i got 2.9mbps upload speed while the Beeting S1 was using an SSD as primary storage(apollo lake processor and 4GB RAM with Samsung evo SSD)
if i find a way to improve performance i will let you know, i just feel using TV box as a cloud server is a very efficient way of doing things for both the price, simplicity and flexibillity
My box has gigabit lan and I don't agree with you
There are good webservers for android that support php/database. I guess we can install Nextcloud. I'll try at my spare time.
knxwille said:
My box has gigabit lan and I don't agree with you
There are good webservers for android that support php/database. I guess we can install Nextcloud. I'll try at my spare time.
Click to expand...
Click to collapse
What im saying is i think its a hardware limitation, the processors and the amount of RAM your device has will surely limit speeds(Upload/Download) somewhat.
I just have no idea what the limit is, but then again my internet is actual trash so you may be right, who knows
What if i want to access to it when I'm not in the same network? How can I do so?
riccardosimo said:
What if i want to access to it when I'm not in the same network? How can I do so?
Click to expand...
Click to collapse
You need to open the port it uses in your modem or router. The use your external IP and the port to connect to it outside of your network. Password protect everything though to be safe.
P.S. can anyone reupload the files?

Categories

Resources