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