Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-27-2006, 06:35 PM   #1
Registered: Jul 2005
Distribution: Debian Etch
Posts: 48

Rep: Reputation: 17
Boot up (wake on lan) and shut down PC over internet - how?

I want to be able to, from ANY internet-connected computer with a web browser, be able to:
1) Turn on my home computer (wake on lan)
2) Access its webserver (apache)
3) Turn it off

I got Wake on Lan working from the internet. I can successfully boot my computer from the web WOL form at as well as from computers on my local network.

Apache is configured the way I want it, of course.

The problem I'm experiencing, really, is turning it off again when I'm done. I'd also welcome any tips about how to make the whole operation more secure.

ALEX:/home/alex/Music# uname -a
Linux ALEX 2.6.15-1-k7 #2 Mon Mar 6 15:42:39 UTC 2006 i686 GNU/Linux

Machine is AMD64 but I can't run a 64-bit kernel because of flashplugin, openoffice, etc. and I don't want to bother with a chroot.

Running a vanilla install of Debian Etch, 6.9

Server is Apache/2.0.55 (Debian) PHP/5.1.2-1 Server Port 80

NIC: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+

Internet running through DI-604 configured to allow UDP packets on port 9 to my computer for Wake-on-Lan to work.

Could anyone help me? Please remember the only thing the accessing computer can have is a web browser (So no SHH or anything that won't work on Windows!) Thanks bunches.
Old 03-27-2006, 06:37 PM   #2
Registered: Jul 2005
Distribution: Debian Etch
Posts: 48

Original Poster
Rep: Reputation: 17
Oh, DI-604 is a router; I should have specified.
Old 03-27-2006, 07:22 PM   #3
Senior Member
Registered: Dec 2005
Distribution: Slackware -current, 14.2
Posts: 1,084

Rep: Reputation: 195Reputation: 195
You can install tightvnc or any other vnc package and access your server via web browser using the java feature, normally available via port 5800, but you can set that yourself.

If you need any more help with regards to vnc, you know where to find us........

Edit - I glanced through your post and noticed that you asked about making it more secure, etc. One of the issues with free vnc is that security is weak in that you're limited to a challenge/response setup ie, username + 8 letter pw. The windows' UltraVnc package (and, perhaps others) can utilize a dsm encryption plugin which enhances security, but I haven't seen something similar for Linux.

So without ssh, there's only so much you can do with vnc from a security standpoint.

That being said, I'm sure with all the intelligence in the *nix community, there are some heavy duty security solutions. The first thing that comes to mind is ensuring that your Apache server is in a chroot jail. This protects everything outside of the essential Apache filesystem and is *virtually* impenetrable.


Last edited by mrclisdue; 03-27-2006 at 07:40 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
wake on lan upload-3 Linux - Networking 2 06-12-2006 01:00 PM
wake on lan?? alaios Linux - Hardware 2 08-10-2004 01:04 PM
Wake-on-LAN dARkHunTEr Linux - Hardware 0 11-04-2003 04:17 PM
wake on lan Stex Linux - Networking 7 06-25-2003 11:38 PM
wake-on-lan PlatinumRik Linux - Hardware 1 04-09-2003 03:52 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration