GAH! Computer techies... help please! (Wake-on-lan issues)

Want to just shoot the breeze? Forum 42 is the place!

Moderator: Moderators

Electric Rain
Senior Member
Posts: 1911
Joined: Tue Mar 29, 2005 12:39 pm
PSN Username: Denki_no_Ame
Location: What's it to you? Stalker...

GAH! Computer techies... help please! (Wake-on-lan issues)

Post by Electric Rain »

Yeah... so I just put together a "Torrent PC" out of an old Pentium II computer running at 300MHz with 32MB or RAM. The only thing I want it to do is download anime 24/7. :twisted: However, I would like to be able to completely control it from another computer. I already have it set up with VNC so I can control it once it boots, but I want to be able to actually boot it remotely. So, I've been experimenting with the WOL, and... well, failing. I've tried several programs and none of them have worked. I have an AL440LX motherboard with a CNet PRO200WL ethernet card, the 3-wire WOL cable is in place and my network card stays on when the computer is shut down. Last I checked, everything that seems like it should be enabled in my BIOS is. The activity light on my ethernet card even flashes when it receives a WOL signal from my other computer, so I know the MAC address is correct. :( Does anyone else have any tips for me, by any chance? :? Thanks.

Rain
Image
Sparkfist
Forum Administrator
Posts: 6754
Joined: Tue Apr 20, 2004 7:12 am
Location: Michigan

Post by Sparkfist »

You running Windows or or Linux distro, well likely a distro. So have you gone into the system settings and enabled that. Reason being you're talking about Waking the computer on LAN, that not really the same as boot on LAN. Wikipedia has an article about WOL and you seem to be missing an item or two to make it possible. I would suggest going with just making the system a headless server, enabling remote access (use ssh), and that's all.

So just configure the system as a server, boot it into (if Linux) runlevel 3, or a custom runlevel 4. Have it start the bittorrent as part of the login process and away you go. If you're unformiluar with remote login/access I'll tell you after setting the ssh on the remote machine up properly you can login and use "xterm" to get a gui for easy use.

Good luck.
vskid wrote:Nerd = likes school, does all their homework, dies if they don't get 100% on every assignment
Geek = likes technology, dies if the power goes out and his UPS dies too

I am a geek.
Electric Rain
Senior Member
Posts: 1911
Joined: Tue Mar 29, 2005 12:39 pm
PSN Username: Denki_no_Ame
Location: What's it to you? Stalker...

Post by Electric Rain »

Ehh... well, I must say that I'm kind of ashamed. I'm using Windows 98SE... :oops: But I did try Linux first. I tried DSL (D@mn Small Linux) since my hard drive is only 4GB. (Downloading to an networked drive.) I had that installed to my hard drive and working just great... but then when I tried to install VNC, things... didn't work out too well. I'm not very experienced with Linux, though I can follow simple (and complicated) instructions, for the most part. Anyway, I couldn't get that working, so I got fed up with it, formatted my hard drive and installed Windows 98SE, BitLord and VNC and it works great... 'cept for that whole WOL thing. :P

I will learn Linux... I must. It is my duty as a PC geek to learn how to use Linux... just... not all at once. :P Thanks a lot for your help. I'll look at that Wiki article and report back.
Image
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

If you want it to be a 100% torrent machine, I'd recommend Ubuntu Server, bittorrent, sshd, vsftpd, apache, and samba. That way you can ssh into the machine, use wget or lynx to grab a torrent file (or just load one from another pc/storage device), and download to a folder where you can then access/manage the files through http, ftp, and a windows share folder :)
Oh yeah, and the whole only download legal things spiel :P
Electric Rain
Senior Member
Posts: 1911
Joined: Tue Mar 29, 2005 12:39 pm
PSN Username: Denki_no_Ame
Location: What's it to you? Stalker...

Post by Electric Rain »

Nope, still nothing. I've taken snapshots of my BIOS. Do you see anything wrong with my settings? I have the lastest BIOS flashed in, btw.

Image
Image
Image
Image
Image
Image
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

I don't see any WoL support in them. Looks like it'll let you network boot though, but that's for things like a terminal server.
Electric Rain
Senior Member
Posts: 1911
Joined: Tue Mar 29, 2005 12:39 pm
PSN Username: Denki_no_Ame
Location: What's it to you? Stalker...

Post by Electric Rain »

gannon wrote:I don't see any WoL support in them. Looks like it'll let you network boot though, but that's for things like a terminal server.
I don't know why the BIOS don't just call it WOL, but these two settings lead me to believe it does support it and it's enabled.

Image
Image
Image
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

Ah, didn't notice that (was looking lower down the bios page there).
Well, if you have a machine with php or perl on it in your network you can try manually waking it with a script.
like in php:

Code: Select all

<?php
function WakeOnLan($mac, $network='255.255.255.255') {
	for($i=0;$i<6;$i++) $packet .= chr(255);
	$mac_byte = explode(':', $mac);
	for($i=0;$i<6;$i++) $mac_addr .= chr(hexdec($mac_byte[$i]));
	for($i=0;$i<16;$i++) $packet .= $mac_addr;
	$sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
	socket_set_option($sock, SOL_SOCKET, SO_BROADCAST, TRUE);
	socket_sendto($sock, $packet, strlen($packet), 0, $network, 9);
	socket_close($sock);
	return;
}
WakeOnLan('00:30:1B:38:6F:0C'); //replace with the target machine's MAC, defaults to the 255.255.255.255 network address.
?>
timmeh87
Senior Member
Posts: 3047
Joined: Mon Nov 14, 2005 10:19 pm
Location: Ontario, Canada

Post by timmeh87 »

your motherboard doesn't have an integrated network card or anything, right? it seems like it should be working, its really not that complicated a process.

did you check the user manual for the motherboard?
Image

"Linux is only free if your time is worthless"
Electric Rain
Senior Member
Posts: 1911
Joined: Tue Mar 29, 2005 12:39 pm
PSN Username: Denki_no_Ame
Location: What's it to you? Stalker...

Post by Electric Rain »

No integrated networking, and I don't have the manual. What confuses me is that I know my network card is recieving the magic packet because the activity light flashes when it does, yet it still doesn't boot. I heard that it won't work if your PSU can't put out 720mA @ 5V on the standby circuit... or something like that... might this be the problem? I don't think I have another PSU to test it with. Eh, I don't know what to do next... I'm very confused... :?
Image
siegeshot
Posts: 134
Joined: Fri Nov 24, 2006 8:36 pm
Contact:

Post by siegeshot »

Do you think it'd only work with an onboard NIC?

If your compy is on a network the blinky goes off all the time it seems like. :(
<a href="http://www.tbowlcomic.com"><img src="http://www.uncannyassociates.com/pics/t ... 468x60.jpg" alt="TBOWLComic" border="0"></a>
Sparkfist
Forum Administrator
Posts: 6754
Joined: Tue Apr 20, 2004 7:12 am
Location: Michigan

Post by Sparkfist »

You got the system setup the way they mention in the wikipedia article?

If you don't or can't just go with what Gannon suggested earlier, setup an Ubunutu server, and connect to it over the LAN via ssh.

And for the love of god add some ram and a bigger hard drive. 80GB hard drive wasn't enough for me when I was using my Gateway for nothing but torrents.
vskid wrote:Nerd = likes school, does all their homework, dies if they don't get 100% on every assignment
Geek = likes technology, dies if the power goes out and his UPS dies too

I am a geek.
Electric Rain
Senior Member
Posts: 1911
Joined: Tue Mar 29, 2005 12:39 pm
PSN Username: Denki_no_Ame
Location: What's it to you? Stalker...

Post by Electric Rain »

If I could afford to add more ram or a bigger hard drive, do you think I'd be using a Pentium II anyway? :lol: I download to a separate 80GB hard drive on a different computer, which is inconvenient since I don't plan to leave that computer on 24/7, but it's all I have to work with for now. 'Sides, I usually download anime in ~4.5GB torrents, so I burn them to DVD shortly afterwards.

I don't know what I'm gonna do about this whole WOL thing... but at the moment I have enough anime to hold me over for quite a while before I have to start downloading more. I'm going to try starting my other computer up (which has built-in ethernet and I think WOL capabilities) via WOL later to make sure it's not something stupid that I'm doing and that it is in fact just my Torrent PC being fussy. Now, I'm gonna get back to watching Naruto... I kinda just started watching it (currently on episode 17), so I've got to catch up. :P
Image
Meh
Posts: 185
Joined: Fri Sep 15, 2006 11:35 am

Post by Meh »

Stupid question:

Why not turn it on by hand?
vskid
Senior Member
Posts: 6314
Joined: Fri Mar 25, 2005 8:25 am
Steam ID: vskid3

Post by vskid »

Meh wrote:Stupid question:

Why not turn it on by hand?
How dare you suggest such a good idea!!!! :lol:
Image
Post Reply