NotACook
Posts: 1
Joined: Tue Dec 02, 2014 1:31 am

Raspberry Pi as Wake On Lan Ethernet Bridge

Tue Dec 02, 2014 1:49 am

Hey folks,

So I've had my Raspberry Pi for some time now and have tinkered around with a fair share of different distros and projects. My current predicament however has left met stumped. I have a laptop I use currently that's very thin and fast but has a solid state drive and thus can't hold much, and an older computer which stays in my bedroom that's stationary and holds all my movies, music, games, etc. I wanted to set that computer up to wake on lan, however the router itself is located in the living room and seeing as how my landlord generally frowns upon me introducing new holes in the wall, I have no way of connecting that computer to the network via Ethernet. HOWEVER! Recently I've been thinking about potentially using my RPi as the middleman to solve my problem. I know it's possible to connect to the internet via a wifi adapter on the RPi and then use a cable to connect the ethernet port of the RPi to the ethernet port of the computer and connect the computer to the network the RPi is on w/ it's wireless dongle. Seeing as how that is possible, I was wondering if it was feasible to set up the RPi to wirelessly receive WoL packets and pass them along through the ethernet cable to the computer and thus set up a wireless WoL rig on my raspberry pi to wake my computer, and if so if anyone had any links that could help me out in figuring this out.

TLDR: Computer too far to connect to router via ethernet; want to use RPi to connect to network wirelessly & connect to computer via ethernet, receive WoL packets & pass them to ethernet adapter on computer. Device --> magic packet --> router --> RPi (wirelessly) --> Computer (ethernet) --> Wakes Up

Hope that wasn't too confusing!

User avatar
default_user8
Posts: 680
Joined: Mon Nov 18, 2013 3:11 am

Re: Raspberry Pi as Wake On Lan Ethernet Bridge

Tue Dec 02, 2014 6:45 am

This should help get you started:
http://www.cyberciti.biz/tips/linux-sen ... ckets.html
http://www.glennklockwood.com/sa/rpi-wifi-bridge.php

Or you could go this route:
http://wiki.openwrt.org/toh/raspberry_pi?s

BTW, you will have to generate the WOL packets from the raspberry pi.
Two heads are better than one, unless one's a goat head.

grimesey
Posts: 11
Joined: Mon Dec 01, 2014 12:14 pm

Re: Raspberry Pi as Wake On Lan Ethernet Bridge

Tue Dec 02, 2014 12:29 pm

Could you connect to the rpi from the laptop remotely and generate WOL packets from there?

User avatar
default_user8
Posts: 680
Joined: Mon Nov 18, 2013 3:11 am

Re: Raspberry Pi as Wake On Lan Ethernet Bridge

Tue Dec 02, 2014 8:02 pm

That's exactly what he'll be doing and what the first link i posted is about.
Two heads are better than one, unless one's a goat head.

Return to “Networking and servers”