epoch1970;504587 Wrote: > To simplify further, perhaps you can disable one of the 2 NICs in the > NAS ? > There is no use (I guess) in having an unplugged card on 192.168.2.0/24 > as you've shown earlier. And some software may get confused as to which > address they should be listening to, making them irresponsive if > listening to the unplugged card. > As it is a gigabit chip, perhaps disabling would save you 1 Watt or so, > as well. The NAS' interface doesn't provide an option to turn it off, but I > have root access via SSH and am all ears. It's eth1 that you'd turn off.
epoch1970;504587 Wrote: > In your router's DHCP server, surely you can specify MAC addresses, to > which the DHCP server will deliver, always, the address you specify > there. Pick an address outside the pool of floating addresses (="DHCP > range") to make sure it is always available. > Then the DHCP server will send to these devices a fixed address as you > prefer (I use that too) along with all the current info needed to get > the device up and running (gateway, DNS, etc.) Thx, this confirms that my > ADSL router will take care of the lot if I use MAC/IP binding. epoch1970;504587 Wrote: > If you're lucky your router has a caching DNS server built-in. If so you > can further add static correspondences between one of those fixed > addresses and a name. (My SB players are set like this: player > "Georgetown" (the SBS name) is mapped to "georgetown.lan". That's nice > for logs and scripts) > If you're out of luck then you can add the same mapping local to > clients, like in the /etc/hosts file of a PC. > *Beware: ubuntu 9-or-something may be using other configuration means > than the /etc/hosts file*Not sure if the attached screenshot is what you're > referring to, but it seems I can provide some sort or hostname for each of the devices I choose to bind. epoch1970;504587 Wrote: > With fixed addresses, you can clamp down the firewall of the router to > accept/reject traffic coming to or out of a specific address when > reaching the border to the internet. That should protect your NAS as > well as before (maybe better in fact, considering a router configuration > is more stable and secure than a PC's.) > Don't do that until all is working. Stray firewall rules are one of the > surest way to bring havoc to a network.To enable scrobbling (which is working > now -- seems there was a bit of lag on Last.FM yesterday) I presume the NAS needs to be able to accept incoming traffic of sorts eg for the plugin to communicate to the LFM server. It works at present but if using the firewall to clamp down beyond what the router offers by default I would need to know what ports scrobbling requires. epoch1970;504587 Wrote: > Is SBS running on the NAS or one PC (why do I have the impression you'll > reply "both ;) )? I ordinarily have it running on the NAS, and both PCs. > The NAS serves as the main playback device and i experiment with plugins etc. on the other two (depending which is booted and what I'm doing), e.g. I'm experimenting with Erland's Customscan and Custombrowse - not something I'd want to do on the NAS because it lacks the grunt. The NAS becomes the implementation point for successful experiments :-) epoch1970;504587 Wrote: > Did you look at the logs in the router ? Normally you should see > something related to the fact SBS is "not scrobbling" if the problem is > network related. It's working now, seems the LFM server was lagging > displaying what was being scrobbled. epoch1970;504587 Wrote: > PS. Now it is clear we're talking linux, and for others who may come > accross the thread, I'd like to add a word about using the "iproute2" > package when playing with dual nics. With iproute2 you can set link > priorities. For example you can have a machine fire up its wireless and > wired connections at all times, use only the wire when it is active, and > relatively gracefully fallback to using wifi otherwise. IMO, Iproute2 > works in real life (contrary to that confounded Network Manager Ubuntu > likes to use these days.) > > "Bridging" and "bonding" are other NIC teaming modes you may come > across as well, and probably won't do you any good. > > PPS. Now, everybody together say: "zeroconf/bonjour is useless". > Thanks.My laptop at work does what you describe. It's quite happy being wired and wireless to the LAN and "activates" wireless only when I unplug. It's not always seamless though, sometimes takes about a minute to figure out it's been unplugged. Got to say, Network Manager's been my single biggest gripe about Ubuntu. It's been unreliable in a number of releases. One or two releases ago I could not get 2x static IPs going no matter what I tried and how many websites I consulted discussing the same problem. It's been stable and predictable in Karmic thus far, but the UI could do with further improvement. +-------------------------------------------------------------------+ |Filename: Screenshot-ADSL Firewall Router - Mozilla Firefox.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=9027| +-------------------------------------------------------------------+ -- audiomuze *If you want continued support for Customscan and Custombrowse plugins, vote for 'Bug #6023 - New plugin hooks to implement scanning functions' (https://bugs.slimdevices.com/show_bug.cgi?id=6023) and let Plugin developers do what Logitech won't.* ------------------------------------------------------------------------ audiomuze's Profile: http://forums.slimdevices.com/member.php?userid=33613 View this thread: http://forums.slimdevices.com/showthread.php?t=73714 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix