=== RobotCow is now known as MadCousinBucky === MadCousinBucky is now known as RobotCow [03:02] hey anyone can help? === RobotCow is now known as nanomachine === nanomachine is now known as RobotCow === RobotCow is now known as nanomachine === nanomachine is now known as aaaaaaaaaaaaaaaa [18:36] looking for someone who knows network ARP & ICMP issues to assist w/ a small script I want to write... [18:39] checking to see if a host is up davygravy ? [18:40] I've got an NAS device that has a netconsole-enabled bootloader. Device needs to be able to ping a host @ IP aaa.bbb.ccc.ddd for the bootloader to autoload the kernel. [18:40] that sounds like a pain [18:40] the IP is reserved, and the machine that it belongs to needs to be off frequently [18:40] hrm [18:41] I was going to suggest just pinging the default gateway and leaving it at that [18:41] Is the ip it needs to ping hard coded? [18:42] yes, the IP is hardcoded in the bootloader [18:42] figures lol [18:42] cant be gateway [18:42] so I want to script that I can run on my router to listen for the request, and then spoof back response [18:43] I know the ip of the bootloader, 192.168.11.150 [18:44] I can just listen for that, and when the router hears it, ping back w/ a spoofed ip. [18:44] btw this is LAN only, not WAN [18:45] which util should I use? arping? [18:45] That's a bit out of my area of expertise. =/ I'd probably just be lazy and use wake on lan from the router to wake up the target PC so the NAS loads, but that's a nasty hack [18:46] * davygravy wonders if there is a utility that can __listen___ for a packet from a specific IP addy [18:48] might be. [18:48] hmm... the WOL is not a bad idea, though. The original idea of ping from the bootloader was to signal a tftp server to send the NAS an initrd, in case of hard drive failure [18:49] That makes sense in case of hard drive failure, but I really have no idea how hard/easy it would be to implement [18:50] CharlesA, is there a network-centric channel for Ubuntu? [18:51] davygravy: Not that I know of [18:51] Are you a member of the forums? [18:51] yup! [18:51] Might try posting in Server platforms or programming talk [18:52] yes, good idea, thank you, that'll do.... [18:52] :) [18:52] just verbalizing it has crystallized the requirements a bit better for me ... [18:52] That's a good thing. [18:53] Sometimes it's hard to explain what you want to accomplish [18:53] I could even set the tftp server on the router, that might be easiest... can change the server addy on the NAS by going into its NVRAM [18:53] Something like that. [18:54] Figure it would be easier to deal with if it was set to ping a machine that was always on [18:55] yes, it was set up to ping the "dev box", my powerhungry quadcore tower... [18:55] mmmm power [18:55] not very green when it come to electrical consumption [18:55] I bet. I've got a dual core server set up that's set up as my NAS, probably not that green either, but it isn't as bad as a quad core [18:56] the NAS only draws about 20Watts, the quadcore has a 700W PSU [18:57] Not bad at all. [18:57] I'm guessing the router will only draw 10 or 15 [18:57] Probably. [18:57] What router are you running? [18:57] RT-N16, Asus, TomatoUSB 2.6 kernel, with optware [18:58] sounds.. beefy [18:58] I'm running a Dlink DIR-615 with DD-WRT [18:59] 615, need to look that up... dd-wrt is very good [18:59] I'm running a Soekris 4501 with OpenBSD <3 [18:59] it's a crappy Wireless N router, 10/100 switch on it, cheap :P [19:00] Bachstelze: Standalone box? [19:01] CharlesA: aye [19:01] Sounds like a nice set up [19:01] http://soekris.com/net4501.htm [19:01] those boxes are lovely [19:02] I have another one that I use to experiment with embedded stuff [19:02] wow. those are nice [19:03] would make a great low power router, that's for sure. [19:04] * davygravy hears "embedded", smiles [19:04] yes, build your own is alway the most fun [19:05] Yep. [19:06] * davygravy used OpenEmbedded, Buildroot, various other toolchain... [19:06] foonas.org, too [19:09] * davygravy extends a "thank you" handshake toward CharlesA, waves goodbye to him & Bachstelze ... off the the Ubuntu Server irc channel [19:09] good luck [19:10] ;) [19:10] you know, you don't have to leave a channel to join another one ; [20:29] ttfn