Xaoxinn
Posts: 1
Joined: Fri Apr 18, 2014 8:22 am

Using Raspberry Pi as a WoL source for remote login

Fri Apr 18, 2014 8:41 am

So I'm a complete newbie with Raspberry Pi and I haven't bought one just yet, I wanted to ask a hypothetical question to decide on if what I want one for is possible.

So I use Logmein on my main windows pc to remotely access my desktop, what I was hoping to do is have a Pi permanently powered on and connected to my network to enable me to power on my main machine from my mobile device from anywhere over the internet.

One of the conditions for this to work is "Is there at least one other computer on the same network that is both powered on and running LogMeIn?"

However non of the Pi OS are listed as compatible on logmein system requirements.

Could anyone help guide me on,

a) if this is possible to set this system up

b) how to make it work if it is possible


Thanks :)

Tarcas
Posts: 741
Joined: Thu Jan 09, 2014 5:38 am
Location: USA

Re: Using Raspberry Pi as a WoL source for remote login

Sat Apr 19, 2014 5:09 am

If it has source code for Debian, you can probably recompile it (if necessary) for the ARM architecture. Source for other OSes will likely work, but I would expect that if it works on Debian, they'd list it in the compatibility list. If it has binary BLOBs without source code, you're probably out of luck because the Pi uses an ARM architecture, whereas most PCs use an i386 or AMD64 architecture. Neither of these is compatible with ARM, so any executable binaries need to be recompiled from source.

Crabhawk
Posts: 3
Joined: Sat Apr 19, 2014 10:59 pm

Re: Using Raspberry Pi as a WoL source for remote login

Tue Apr 22, 2014 2:29 am

There's a build of LogMeIn that runs on Android. And I've heard of people trying to get Android running on the Raspberry Pi: http://androidpi.wikia.com/wiki/Android_Pi_Wiki

I really don't think there's any hope getting LogMeIn to run on the Raspberry Pi. I'm in the same boat where I want to turn on my computers at home for remote access. Why leave my computer(s) on all day if I might go six months without wanting to log into one of them?

I'm putting together my own solution.

I'm most comfortable programming in C# so I was ecstatic when I found out the Mono framework would run on the Raspberry Pi. My solution is a little web server with Dynamic DNS, so that when I'm at another computer I want to access my home machine from, I can run a little program off of my flash drive that will send a command to the Raspberry Pi to send a WoL packet to the specified machine.

I can't guarantee I'll finish it, but if I make any headway I'd let you know.

User avatar
DougieLawson
Posts: 39303
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Using Raspberry Pi as a WoL source for remote login

Tue Apr 22, 2014 9:42 am

Crabhawk wrote:I'm putting together my own solution.
Hopefully based around OpenVPN or are you re-inventing a wheel?
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Crabhawk
Posts: 3
Joined: Sat Apr 19, 2014 10:59 pm

Re: Using Raspberry Pi as a WoL source for remote login

Tue Apr 22, 2014 9:08 pm

I'm not making a VPN or a remote desktop application (LogMeIn does both in case you aren't familiar). It's just a WakeUpOnLAN server.

User avatar
DougieLawson
Posts: 39303
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Using Raspberry Pi as a WoL source for remote login

Tue Apr 22, 2014 10:56 pm

sudo apt-get install wakeonlan
wakeonlan mm:mm:mm:mm:mm:mm # using the MAC address of the WoL target
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Crabhawk
Posts: 3
Joined: Sat Apr 19, 2014 10:59 pm

Re: Using Raspberry Pi as a WoL source for remote login

Wed Apr 23, 2014 10:54 pm

That looks pretty nifty and all, but it probably doesn't fit the spec here. The key requirement is to be able to wake a PC from outside of your home's network. I appreciate your interest though. I haven't had time the last few days to work on this at all, but it's coming.

Return to “Beginners”