Re: Wake on LAN question
On Monday July 30 2001 09:24, Robert Kerr wrote: Hi all, I am setting up a machine to do firewalling/IP masquerading. I'd like to be able to leave this machine on all the time, but perhaps in a powered-down mode, so it's not using as much electricity, and not so noisy at night. I envision it in standby or suspend mode, but waking up whenever someone on my internal LAN wants to access the internet. 1) Is this possible? 2) What would be the steps to go about setting linux up for wake-on-lan access? thanks I haven't done this myself, but you might want to look at the APM support in the Linux kernel. I think there is either a power howto or an APM howto. I remember reading about this when I was researching ways to enable suspend on my laptop. I think it's doable. HTH, Andy
Re: Wake on LAN question
On Mon Jul 30 07:24:38 2001, [EMAIL PROTECTED] wrote: Hi all, I am setting up a machine to do firewalling/IP masquerading. I'd like to be able to leave this machine on all the time, but perhaps in a powered-down mode, so it's not using as much electricity, and not so noisy at night. I envision it in standby or suspend mode, but waking up whenever someone on my internal LAN wants to access the internet. 1) Is this possible? 2) What would be the steps to go about setting linux up for wake-on-lan access? 1. Get the right combination of hardware. You need a NIC that can do it, a motherboard/power-supply that can do it, and a wire from a couple of pins on the NIC to a couple of pins on the motherboard. 2. Get a driver that supports it. 3. Enable WoL support in the driver 4. Shut down the machine softly enough 5. Get a program that can send the magic ethernet frames to trigger WoL In my case, the things are 1. 3Com 3c905C Tornado 2. standard 3c59x.o 3. options 3c59x enable_wol=1 4. APM enabled, so 'shutdown -h now' shuts down properly 5. etherwake.c by Donald Becker 'etherwake' needs to be run explicitly, as root - thus, I only answered part of your question. I imagine doing WoL automagically would be difficult. Still, WoL is a nifty thing, even if you have to do it manually. /Jörgen -- // Jörgen Grahn ...idols of gold, and silver, and brass, [...] \X/ [EMAIL PROTECTED] which neither can see, nor hear, nor walk. -- Revelation, 9:20
Re: Wake on LAN question
Robert == Robert Kerr [EMAIL PROTECTED] writes: Robert What would be the steps to go about setting linux up for Robert wake-on-lan access? Disclaimer: I never used wake-on-lan, but I can make a few educated guesses about how it might work. YMMV. To get the machine to suspend, you should only need to install the APM package, and boot the kernel with `apm=on'. The BIOS will alert the machine when something happens on the network. Next step: getting the client machines to awaken the firewall. You probably need to set up an ARP entry for the firewall. (See man arp for more info.) Hopefully, this is enough to get the server out of sleep mode. If you have a dynamically assigned IP address on the external network, you might need to restart the DHCP client (and reinstall firewall rules) on APM resume. -- G. ``Iggy'' Geens - ICQ: #64109250 Home: [EMAIL PROTECTED] - Work: [EMAIL PROTECTED] WWW: http://users.pandora.be/guy.geens/ `I want quality, not quantity. But I want lots of it!'
Wake on LAN question
Hi all, I am setting up a machine to do firewalling/IP masquerading. I'd like to be able to leave this machine on all the time, but perhaps in a powered-down mode, so it's not using as much electricity, and not so noisy at night. I envision it in standby or suspend mode, but waking up whenever someone on my internal LAN wants to access the internet. 1) Is this possible? 2) What would be the steps to go about setting linux up for wake-on-lan access? thanks -- -bob Remember the... the... uhh. ** * Robert Kerr, The morphing guy. *MS 0847 Sandia National Labs * * [EMAIL PROTECTED] *Albuquerque NM 87185-0847 * * [EMAIL PROTECTED] * Phone: (505) 844-8606 * * http://www.et.byu.edu/~kerrr* Fax: (505) 844-9297 * **