**** BEGIN LOGGING AT Fri Sep 19 02:59:57 2008 Sep 19 15:29:34 I am looking to set up NTP on my nslu2 using unslung 6.10, I see a few different guides on how to do it at nslu2-linux.org. What one is the most current and correct way of doing things? Sep 19 15:30:03 Note that I just want the slug to update its own time. Sep 19 15:35:07 Why are you using Unslung? Sep 19 15:52:18 thought that was the firmware to use, is there something better? Sep 19 15:55:43 Yeah, Debian is much better, as long as you don't need the original web interface running. Sep 19 15:57:25 I am only really using the devices as a samba/NFS file server nothing more. Sep 19 15:58:02 just want some extra backup space for my 3 linux servers to rsync to, and just wanted to keep the time accurate on it Sep 19 15:59:36 Yeah, that's basically what I use it for (plus IRC). Still, I'm much more comfortable running Debian than Unslung. Sep 19 15:59:54 On Unslung everything was a hassle. It's just not a very good linux. Sep 19 16:00:48 Anyway, I don't know about the NTP thing. On Debian it works out of the box. Sep 19 16:01:35 ok thanks I will check it out, do I need to format the drive again? I already have like 80 gigs of data on it? Sep 19 16:03:33 You could use a flash key drive or something, and keep the HD as it is. Sep 19 16:03:54 But you'll need some device to but Debian on, since it won't fit on the internal flash. Sep 19 16:04:02 was eventually going to have 2 usb hard drives connected to it Sep 19 16:04:32 guess if I go that route I will have to move all the data off the dirve then reflash and then move it back Sep 19 16:04:35 flash key drive = USB stick Sep 19 16:05:04 Yeah, that's an option too. Sep 19 16:05:07 Ronny_: On Unslung, use the ntpclient solution Sep 19 16:05:20 (described in the wiki) Sep 19 16:07:24 hmm if I am gonna install debian I would rather install gentoo, since that is the os that I normally use. Sep 19 16:08:07 Don't do that. Sep 19 16:08:48 Unslung, SlugOS, and Debian are pretty well supported, the gentoo stuff has few (if any) users, and is not well supported at all. Sep 19 16:09:01 ahh ok Sep 19 16:09:40 think I will just fart around with unslung for now since I already have it running and all the data on the drive Sep 19 16:11:40 I would not personally recommend Debian; it has many very good points, but it has a major by-design difference with Unslung and SlugOS -- Debian has no recovery in-flash. Both Unslung and SlugOS will boot and run from internal flash; Debian cannot, hence any type of problem on your rootfs (from an fsck-type problem to a editor typo in a config file) will leave you with no easy way to fix it. Sep 19 16:13:35 Thanks for the input. Like I said I just want to use the devices pretty much as intended, for NAS with some added features that are all available in unslungs ipkg repo Sep 19 16:19:16 is this a good NTP guide http://www.nslu2-linux.org/wiki/HowTo/FixTheClockUsingAdjtimexAndNtpclient ? Sep 19 16:30:26 Give it a try; looks like someone updated it recently. That might be a good sign. Sep 19 16:31:16 thanks I will, I don't need ntp if I just want the nslug to update itself right? Just ntp-client? Sep 19 16:33:11 Exactly. ntpd requires that it continuously run, and it is not a small program -- so it has the problem that it will consume valuable memory on your device at all times. ntpclient just periodically checks in with an ntpd server somewhere (you tell it where), and adjusts your local clock. Simple, painless, and better for a small device. Sep 19 16:34:24 Thanks, I accidentally did an ipkg install ntp first before I realized i needed ntpclient, I then just did an ipkg remove ntp to remove it, it should be all set now right? Sep 19 16:34:37 Watch out for the "-l" problem that is mentioned; that seems to have bitten a number of users lately. So be careful about that option (don't put that switch in any scripts would be the best solution). Sep 19 16:34:49 ipkg remove should be find. Sep 19 16:34:52 er, fine. Sep 19 16:35:55 I just followed the instructions at the top of the page and copied the scripts exactly at the top. It did not look like they had any -l in them since he said he removed them Sep 19 16:37:05 after running the initial /opt/etc/init.d/S10ntpclient I get the following output: http://pastebin.com/d3bb9ee48 Sep 19 16:37:13 will have to check the time in a few hours Sep 19 16:38:28 looks like it is good, since the slug now has the same exact time to the second as my other gentoo boxes that are using ntp-client Sep 19 16:42:15 Thanks for the help ! **** ENDING LOGGING AT Sat Sep 20 02:59:57 2008