**** BEGIN LOGGING AT Sun Jul 09 02:59:57 2006 Jul 09 08:04:28 Hello Slug people Jul 09 09:07:26 caplink811 :) Jul 09 12:14:46 hello sluggish friends Jul 09 12:17:55 no offence intended Jul 09 12:37:58 :-) Jul 09 12:40:18 hi Eiffel Jul 09 13:24:25 hm. seem to have lost all connection to my slug. no clue what it's ip address is. Jul 09 13:24:29 any tips anyone? Jul 09 13:27:27 Status LED green ? Jul 09 13:27:35 192.168.1.77 is default Jul 09 13:27:59 if flashing green red its in upgrade mode IP is 192.168.0.1 then Jul 09 13:28:02 can always portscan your ip range as well if the LED's look ok Jul 09 13:36:02 yes, it is gree, Jul 09 13:36:14 n and 192.168.1.77 does nog reply Jul 09 13:36:47 I went into redboot, to reset sysconf, but still no use Jul 09 13:37:31 I upgraded to openslug 3.10, but now can't find it's ip anymore Jul 09 13:37:53 I think I'll have to portscan all kinds of ipranges now Jul 09 14:40:41 anyone around? I just wanted to ask if this thing runs any faster when you use a different Unslung (I assume SlugOS doesn't make it faster)? Jul 09 14:40:58 I bought this dog yesterday and it is WAY too slow for file sharing Jul 09 14:41:23 http://www.nslu2-linux.org/wiki/HowTo/OverClockTheSlug Jul 09 14:41:34 Clip one resistor, and instant 266Mhz. Jul 09 14:43:06 Note: Stock slugs are underclocked from 266Mhz to 133Mhz, all this is doing is returning the core to it's proper speed. Jul 09 14:44:04 filetransfer speed is limited by the usb chipset used i guess you will never get the same speed as with a normal PC Jul 09 14:44:29 its about 4 to 6 MB/S max i think Jul 09 14:45:04 Which is usually more than enough for any normal cable/DSL modem at up to 6mbit downstream, 1mbit upstream. Jul 09 14:45:23 Does it make that big of a difference, though? And wouldn't I have one that runs full speed, given that it's brand new? Jul 09 14:45:53 mine was brand new, 4 days ago. Hadda clip it. Jul 09 14:45:59 But check your dmesg. Jul 09 14:46:21 and yes, it can make a difference, 3MB/sec transfer to 5.5MB/sec transfer for me. Jul 09 14:46:53 my problem is I'm not trying to use it as a web server. I'm actually trying to use it for a file server. So I would expect it to at least be as fast as a Linux box server up samba shares. It takes forever even to open folders on my wife's windows box. Jul 09 14:47:28 I knew it wouldn't be as fast as the USB drive connected directly, but I thought it should be like as fast as a dedicated file server Jul 09 14:48:26 5.5 is better, still not 54mb/s (going by what would be the theoretical limit as the laptop is on an 802.11g connection) Jul 09 14:50:02 Um, that rating is in megabits. Jul 09 14:50:13 Divide by 8 to get megabytes/sec Jul 09 14:50:19 for 6.75MB/sec Jul 09 14:51:26 okay :) Jul 09 14:51:32 you're right Jul 09 14:51:36 with the USB and TCP/IP overhead, that's usually dropped down to about 6.0MB/sec or 5.8MB/sec Jul 09 14:51:58 So the 5.5MB/sec I get is pretty good, although it doesn't come close to my linux box's near 11MB/sec over wired ethernet Jul 09 14:52:24 I'm using samba 3.0.5 on openslug, with root over NFS, BTW. Jul 09 14:53:12 the laptop seemed way faster accessing samba shares on the Linux box I own directly, but then that version of Samba wasn't running reliably so I bought this little guy. Jul 09 14:53:55 And so now I'm torn about whether I should do that clip you pointed out or just try to get my Linux box running reliably Jul 09 14:53:56 Openslug and it's derivatives also use kernel 2.6.16 Jul 09 14:54:05 Both? ;) Jul 09 14:54:25 yeah. I don't have time for both. :) Jul 09 14:54:38 the slug's a lil linux box; it has more uses than just a fileserver as well. Jul 09 14:54:42 If I get one running then that's all I need, back to programming/relaxing Jul 09 14:56:00 I know it does. Problem is I already have a Linux box running Centos (RHEL rebuild) that's been running stable and capable for quite some time. Serving up a web email interface against a Dovecot imap server (amongst other things). So I dont' really need duplicity. Jul 09 14:56:08 I was just trying to get reliable file serving. Jul 09 14:56:23 But the slug has at least one advantage (and wife-acceptance factor) over a normal linux box.... It's silent. :D Jul 09 14:56:45 Nice setup. Jul 09 14:57:12 Samba's always been a whore to set up for me, personally. Ended up to be quite easy on the slug for me. Jul 09 14:57:19 Yeah, I can see that. Jul 09 14:57:24 the wife factor Jul 09 14:57:31 So now I've got my P2-400 running gentoo, and my slug. Jul 09 14:57:32 my wife is kind of a geek, though. Jul 09 14:57:40 Lucky man. Jul 09 14:57:47 she ponies up to Gnome happily Jul 09 14:58:01 Very lucky then. *laughs* Jul 09 14:58:14 even though her laptop runs Windows Jul 09 14:58:16 I'll stick with fluxbox. I need my ram more than I need pretty desktops :) Jul 09 14:58:38 and my main system still runs a stripped down version of XP ( http://www.nliteos.com ) Jul 09 14:59:15 running colinux (http://www.colinux.org ) and putty, xming, and winscp. Jul 09 14:59:23 yeah, my linux box has enough memory for pretty desktops Jul 09 14:59:40 1GB plus a 3.4ghz P4 HT, blah blah blah Jul 09 14:59:44 Linux makes windows usable :) Jul 09 15:00:12 with a zalman and a silent Antec case Jul 09 15:00:16 Also, I repair windows machines for a living, so I've gotta break my own in order to fix it *laughs* Jul 09 15:01:01 so there are no noice issues with my box, just that I can't get samba to run on it and networkwith XP well. Jul 09 15:01:20 well, depends on how you have networking set up in XP Jul 09 15:01:27 :) you sound like you have an an interesting setup Jul 09 15:01:31 what do you mean? Jul 09 15:01:32 Turning on Simple File sharing usually works. Jul 09 15:01:47 With it off, you usually need to assign usernames and passwords and all that jazz Jul 09 15:02:04 plus most people forget about the guest account on samba, which windows needs to access shares without a password. Jul 09 15:03:09 well, I happen to keep my windows box quite neat and clean using Altiris SVS. Jul 09 15:03:11 http://www.svsdownloads.com/svs_tutorial.php Jul 09 15:03:25 Consider it like RPM/APT/portage for windows Jul 09 15:03:25 lots of interesting projects Jul 09 15:03:44 merge and unmerge whole program packages in a flash, and segregates everything Jul 09 15:03:58 I'm usuaully so heads down these days into having my linux box just do it's job and being a java dev that I don't monkey around with stuff like that any more. Jul 09 15:04:16 * Kamilion nods Jul 09 15:04:41 yeah, I have a lot of time to screw around with linux and windows so I've kinda managed to put together quite a nice collection of programs. Jul 09 15:04:51 I'm not running much that isn't open source or free on my windows system anyway Jul 09 15:05:14 Think WinRAR and a couple games are all I have left of pay-for commercial software, heh. Jul 09 15:05:34 In fact, if Simple File sharing were my only problem (should probably look at that, I guess) I'd probably return the NSLU2. It would be too tempting to turn it into my web server and dovecot imap server with getmail, etc. Jul 09 15:05:54 yeah, the laptop we have is my wife's so she can do business stuff Jul 09 15:05:56 it can definitely handle all that, as long as you give it a swap partition. Jul 09 15:06:23 and if ya copped it for less than $80, keep it and play with it. There's a lot of fun little things you can do with this lil summabitch. Jul 09 15:06:32 and as a side benefit I've gotten into using Rhapsody, the music service with my palm so I don't mind having a windows box around the house as much any more. Jul 09 15:06:36 I've got a USB audio adapter, so I've hooked the slug up to my stereo Jul 09 15:06:55 and use it as a nice little terminal server with my Playstation Portable as the display Jul 09 15:07:14 Just too fun to mess with this tiny little embedded PC ^_^ Jul 09 15:07:23 we'll see. If the fastest I can get it to run is about half the speed of a typical samba install, that doesn't bode well. Jul 09 15:07:36 plus it's a heck of a lot more portable than my linux box. Jul 09 15:07:54 is only the reponse time bad while opening a samba share ? or are the downloads real slow too ? Jul 09 15:08:10 oh, I used to run a Zaurus for a while. So I had my day monkeying around with an embedded linux toy Jul 09 15:08:48 For some reason, I end up getting faster write speeds to my slug than I get read speeds. *shrugs* Jul 09 15:09:02 it's just bad in general. Slow when opening up a share. Slow drawing thumbnails for an directory with images. Slow transferring files to it. Jul 09 15:09:22 Oh, that's something I didn't notice; I shut thumbnail generation off years ago Jul 09 15:09:30 horrible performance eater Jul 09 15:09:31 I've run file servers in the past with previous versions of windows on my network that were much faster. Jul 09 15:09:47 yeah, well, the wife wants to see the thumbnails Jul 09 15:09:52 which usually isn't a problem Jul 09 15:09:53 * Kamilion nods Jul 09 15:10:20 I mean at that point I could probably find some sftp explorer extension, right? Jul 09 15:10:25 well, my slug's more of a toy than a workhorse as yet, but I just picked it up 4 days ago. Jul 09 15:10:26 and ditch samba completely Jul 09 15:10:36 Actually, that's what I use -- winscp from www.winscp.net Jul 09 15:10:44 exactly Jul 09 15:10:52 I get much faster speeds that way due to the SSH compression. Jul 09 15:11:02 hm winscp is slower for me Jul 09 15:11:35 I'd imagine. But we're shooting for that transparancy of being able to have a central repository for music, pictures, etc. Jul 09 15:11:41 Only real problem is I end up with too much choice... So much to do, and at least 7 ways of doing it. Jul 09 15:12:03 so previews of files and speed are important user interface concerns. Jul 09 15:12:28 brb Jul 09 15:12:43 For something like that, I'd build a cheapie linux box.... Like a P3-733, with a SATA drive on a PCI SATA controller, and a nice PCI NIC like a 3com 3c95x Jul 09 15:13:03 Toss it in a closet somewhere Jul 09 15:13:32 But still, the wireless on your wife's laptop is going to be the bottleneck. Jul 09 15:14:08 My poor little 400Mhz Pentium 2 can still push 12MB/sec over switched 100baseTX network quite easally; I havn't tried gigabit ethernet yet. Jul 09 15:15:19 However: Most laptops now have their wireless NIC on a minipci card; you could consider replacing it with a 802.11N minipci card and swap out your AP with a 802.11N version. That would speed you up quite fairly. Jul 09 15:15:35 But as always, just depends how much money you have to throw at a fast network. Jul 09 15:16:24 Yeah, I know the wireless is going to be a bottleneck. But I've run wireless at companies with file servers and the file servers were still semi-transparent. I mean, there was a time where personally I had an older Red Hat box (like in 1999) running as my file server/firewall/router. It was triple homed with cable modem coming in and then delivering access to a wired network and then to a Homelan 1mbp/s network. Jul 09 15:16:34 And we could do decent file sharing even on that. Jul 09 15:16:38 So something else is wrong with the slug Jul 09 15:16:47 do connect via ip or hostname to the slug ? Jul 09 15:16:51 +you Jul 09 15:16:59 both Jul 09 15:17:08 I haven't noticed a difference Jul 09 15:17:47 well, right now, it's somewhat CPU bound at 133Mhz, and the USB2.0 controller is definitely a slight bottleneck, but with the proper configurations, it should be just as transparent as a normal samba server... The only problem being it's ethernet interface not being as high speed as it could be. Jul 09 15:18:31 if you remember Homelan, it wasn't very fast either. But I never remember problems with it as a samba server. Jul 09 15:18:48 homelan was like old school wireless before everyone did wireless Jul 09 15:18:49 Rest of my network runs nforce2s and 3com parallel tasking cards, and they tend to max out my 100mbit switched network. The slug, even pumping data from /dev/zero out, has never managed to even hit 6MB/sec over it's onchip PHY Jul 09 15:19:12 did you try disabling uPNP ? Jul 09 15:19:21 no Jul 09 15:19:32 will that help much? Jul 09 15:19:35 That might alleviate some of the speed problems. Jul 09 15:20:01 When I was reading the yahoo groups, somehow it managed to fix certain people's problems, and others it didn't make a difference on. Jul 09 15:20:39 Give it a shot, couldn't hurt. And if that won't cure ya, try flashing over to openslug and 'ipkg install samba'. Jul 09 15:21:05 :) Jul 09 15:21:23 if I do the latter I can't return it if I never get it to run satisfactorally Jul 09 15:21:29 Sure ya can Jul 09 15:21:34 are the laptop und slug on the same Workgroup ? Jul 09 15:21:39 just reflash the original linksys firmware. Jul 09 15:21:50 ah, so you can go back Jul 09 15:21:52 that's good Jul 09 15:21:55 the only thing that'll keep ya from returning it is doing the de-underclocking mod. Jul 09 15:22:11 And even then, there's no warranty void sticker Jul 09 15:22:31 But if it sits on your concience, don't do it ;) Jul 09 15:23:14 that's a toughie Jul 09 15:23:36 linksys has hosed me so many times my concience might have a tough time with that one Jul 09 15:23:53 http://www.nslu2-linux.org/wiki/OpenSlug/GettingStartedWithSamba Jul 09 15:24:01 I'm one of those people that accidentally bought a Version 5 wired/wireless router Jul 09 15:24:12 Y'know they finally hacked those to run linux? Jul 09 15:24:25 just recently too Jul 09 15:24:45 yeah Jul 09 15:25:02 too late Jul 09 15:25:24 I gave it to my brother and bought a D-Link router that is much more reliable Jul 09 15:25:25 yep. Jul 09 15:25:52 yeah, I've still got my WRT54G 1.1 -- ended up trying to flash alchemy on it, and torched the CPE. Jul 09 15:26:05 I'm gonna have to jtag it to get it unbricked Jul 09 15:26:28 Feel foolish about it too, cause Satori was running quite well on it. Jul 09 15:27:08 But I completely dumped running a seperate machine after I got a decent torrent client for all the linux distros I try Jul 09 15:27:43 after all that yelling and screaming about crappy consumer routers not being able to do P2P very well Jul 09 15:28:05 now I've got a real linux box doing the routing, and havn't had a *single* problem with it at all. Jul 09 15:28:23 yeah Jul 09 15:28:30 you could try deleting the DNS entry Jul 09 15:28:30 I used to run that in the afforementioned setup Jul 09 15:28:34 thats all i found Jul 09 15:28:57 okay, so I just turned off UPNP and it doesn't seem to make much difference Jul 09 15:29:10 Well, one of the biggest performance eaters I've found has been turning Simple File Sharing off on XP Pro Jul 09 15:29:12 how do I turn on Simple network sharing in XP again Jul 09 15:29:17 just a tick Jul 09 15:29:20 open explorer Jul 09 15:29:32 Tools: Folder Options Jul 09 15:29:47 View tab, scroll down to the bottom Jul 09 15:29:51 Last option on thel ist Jul 09 15:30:07 not there Jul 09 15:30:11 we use XP Home Jul 09 15:30:12 hi all, i got a question: my USB 160GB HD is ext3 and corrupted so icheck it with e2fsck -y /dev/sda1 Jul 09 15:30:18 so maybe it's always simple file sharing for us Jul 09 15:30:19 Ah! That's your problem, sorry. Jul 09 15:30:21 halfway it is exited with errorcode e2fsck 1.38 (30-Jun-2005) Jul 09 15:30:38 XP Home *SUCKS* with samba Jul 09 15:30:43 Pass 1: Checking inodes, blocks, and sizes Jul 09 15:30:48 why? Jul 09 15:30:49 Pass 2: Checking directory structure Jul 09 15:30:56 Killed Jul 09 15:31:03 [1] + Killed e2fsck -p /dev/sda1 Jul 09 15:31:09 I have no idea, actually. Jul 09 15:31:09 what do i do wrong? Jul 09 15:31:22 punani: looks like the kernel out of memory killer ate you fsck. Jul 09 15:31:33 try running swapon first Jul 09 15:31:40 under windows there is an lmhosts file Jul 09 15:31:48 try adding the slug there Jul 09 15:31:53 aha so i should check it with a bootable distro or? Jul 09 15:32:05 ok thnx Kamilion Jul 09 15:32:09 that for me, Eiffel? Jul 09 15:32:12 jep Jul 09 15:32:24 TrekCycling: Something about the configuration in XP home is vastly different than XP Pro; I have WAY too many problems getting XP home just talking to XP Pro, honestly. Jul 09 15:32:28 ill try that! Jul 09 15:33:02 check http://www.winsupersite.com/ Jul 09 15:33:19 I remember an article there telling why XP Home was a poor SMB/CIFS client Jul 09 15:34:25 And they had some fixes you might try, but there was registry editing involved Jul 09 15:34:39 I'm pretty sure it had to do with the buffers being set abysmally low in XP home Jul 09 15:34:43 interesting Jul 09 15:35:08 Also Jul 09 15:35:16 you could try setting this in your [global] on samba Jul 09 15:35:17 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=65535 SO_RCVBUF=65535 Jul 09 15:36:03 that made a huge difference for me Jul 09 15:36:13 http://www.nslu2-linux.org/wiki/OpenSlug/GettingStartedWithSamba <-- found it here when I was messing with samba Jul 09 15:37:19 IIRC the buffers are set to 2048 on XP home, and 16384 on XP pro Jul 09 15:37:23 what does simple sharing do in XP? Doesn't negate the need to set permissions on the Samba server, does it? Jul 09 15:37:32 or do most people not worry about permissions Jul 09 15:37:42 on home networks Jul 09 15:38:06 If I remember correctly, it doesn't enforce corperate-style rules Jul 09 15:38:22 so it automatically fails over to the guest account if it doesn't have a password and such things like that Jul 09 15:38:29 @Kamilion this article tells what are the differences between both http://www.winsupersite.com/showcase/windowsxp_home_pro.asp Jul 09 15:38:32 XP home should have it set already Jul 09 15:39:32 @Kamilion at the bottom it tells the differences between the "Networking Features" Jul 09 15:40:05 yeah, I remember reading that article back in 2001 Jul 09 15:40:57 but there was another article later on about the differences in the network engines between the two Jul 09 15:41:25 http://www.annoyances.org/exec/show/category04 Jul 09 15:41:29 Something in there might help as well Jul 09 15:43:40 maybe that's my problem Jul 09 15:43:45 the XP Home vs. Pro thing Jul 09 15:44:35 Well, here's the thing. A friend of mine bought a Fujitsu Lifebook last year, and it came with XP home Jul 09 15:44:56 We tried for 3 weeks to get it to talk to his XP pro desktop and samba server Jul 09 15:45:03 *nothing* worked. Jul 09 15:45:24 we installed Pro on the laptop, and it magically autodetected every share on the network and worked perfectly. Jul 09 15:45:48 hmm strange story ... Jul 09 15:46:18 Workgroup settings, domain settings, we checked everything. Jul 09 15:46:51 And the problem comes back every time we use the "Master Restore DVD" that came with the laptop. Jul 09 15:46:59 that's an interesting article. Although it doesn't mention buffer differences, etc. Jul 09 15:47:08 since it didn't come with a XP home CD seperately. Jul 09 15:47:17 @Kamilion the process e2fsck still gets killed i boot from flash and later on i connect usb device because of unmounted state when checking partition Jul 09 15:47:41 punani: did you set it up with the linksys webpages? Jul 09 15:47:48 lol this restore cds are realy annoying Jul 09 15:47:55 sorry i run openslug Jul 09 15:48:02 forgot 2 mention that Jul 09 15:48:10 spank me Jul 09 15:48:14 so did you partition the drive yourself? Or did you do it with linksys/unslung? Jul 09 15:48:19 and whats most annoying even if you use an not oem cd the key want work Jul 09 15:48:21 ... Jul 09 15:48:55 Eiffel: yeah, I've got a MSDN license for windows, 10 seats, corp CDs... Key won't work anywhere else, even on other corp CDs Jul 09 15:49:10 i thought i did it manually through command line when booted from flash Jul 09 15:49:19 anyone know where the release notes for openslug 3.10 beta are? Jul 09 15:49:27 punani: Ah, cause I was gonna tell ya to swapon /dev/sda3 ;) Jul 09 15:49:40 www.unslung.org Jul 09 15:49:46 ow no ... openslug has a tool which does the job and copies the complete filesytem to usb drive Jul 09 15:49:54 ok thnx! Jul 09 15:49:58 ill try that! Jul 09 15:50:00 the release notes are empty Jul 09 15:50:02 kamilion. msdn and corp medias require different keys. your msdn keys will work for msdn medias. Jul 09 15:50:11 Eiffel: no release notes for 3.10 bet there Jul 09 15:50:14 jr--: I'm aware. :) Jul 09 15:50:23 *beta Jul 09 15:51:12 TrekCycling: I'm sure there's a way to get home to work, but unfortunately, I don't know it. Jul 09 15:51:26 oh http://www.nslu2-linux.org/wiki/SlugOS/ReleaseNotes3x10 Jul 09 15:51:35 guess nobody did write them yet Jul 09 15:51:37 lol Jul 09 15:51:48 right :) Jul 09 15:52:33 yeah, this is interesting Jul 09 15:52:51 throwing some of those tuning options into my Linux box's samba setup and now it's running much better Jul 09 15:53:02 maybe I should return the slug and get XP Pro Jul 09 15:53:08 as much as I hate to do that Jul 09 15:53:27 Well, do some research first, I'm no guru. Jul 09 15:53:43 just an enthusiast. :) Jul 09 15:54:40 (and I've got a bad memory, I could be wrong on a bunch of this stuff, but that's how I remember it *shrugs* ) Jul 09 15:54:44 I mean, on my Linux box where I also have a samba share to the slug it gets hungup just typing umount /sh.... Jul 09 15:55:01 so either way the slug doesn't appear to be the panacea that I'd hoped for Jul 09 15:56:00 Nah. But there's plenty of cool things to do with it *heh* Jul 09 15:56:22 http://www.nslu2-linux.org/wiki/OpenSlug/InstallWinTVPVRUSB2 Jul 09 15:56:27 I was thinking of doing that myself Jul 09 15:57:48 I'm not sure how much the slug would like being a mythtv backend though Jul 09 16:00:21 But I've had mine for 4 days (got it at walmart for $50), and I've consistantly been impressed by this lil slug. Jul 09 16:00:37 It's definitely going into my Bag Of Tools. Jul 09 16:02:12 and the helpfulness of the community has been quite nice as well :) Jul 09 16:03:03 seems cool Jul 09 16:03:16 and the helpfulness of the community is indeed nice Jul 09 16:03:27 so much so that I think my normal samba share is working better Jul 09 16:03:39 so I might try the XP Pro route you mentioned Jul 09 16:03:40 Well, glad ya fixed it up :) Jul 09 16:03:55 I didn't have that global setting you mentioned Jul 09 16:04:27 plus thinking of the security perspective of the XP Home laptop I turned on guest access to the samba share and it got better immediately. Jul 09 16:05:02 well, my problem with the slug is that my old USB 1.1 enclosure wouldn't work on it (old buslink with a PL2307-B chip, poorly supported even under 2.4.x) Jul 09 16:05:23 so I ended up having to use root over NFS and playing with other stuff on mine. Jul 09 16:05:53 Right now I'm trying to get it to work as a USB filesystem host for my Playstation Portable, to act as a virtual memory card over a NFS share. Jul 09 16:06:55 ah Jul 09 16:07:08 libusb is causing problems... So I've got a complete rebuild in progress, moving over to little endian. Jul 09 16:08:11 But even if that doesn't work, it'll still be a nice PXE boot server for my old I-Opener. Jul 09 16:09:12 Linux is a simply amazing little OS, and I've been using it since slackware 1.5 and kernel 1.3.2x. Jul 09 16:10:44 any of you set up nfs on openslug? Jul 09 16:10:44 And if I get too bored, I can always turn my slug into an Automated Ramen Cooker with http://chezphil.org/slugpower/ *laughs* Jul 09 16:10:49 yep. Jul 09 16:10:57 nfs root, or nfs server? Jul 09 16:11:14 uhm, server I guess? Whats nfs root? Jul 09 16:11:20 running / over NFS Jul 09 16:11:25 oh, no Jul 09 16:12:01 I didn't have any working USB drives ;) Jul 09 16:12:14 just a server.. I thought it was as simple as installing the server and configuring /etc/exports correctly, however I get this error: 10.0.0.0:/home/balh/foo: No such device Jul 09 16:12:36 did you install portmap and nfs-utils? Jul 09 16:12:49 yes Jul 09 16:13:09 Hm... 10.0.0.0? Jul 09 16:13:18 Shouldn't that be 10.0.0.1 or something? Jul 09 16:13:42 hmm, maybe. .0 means the subnet right? I'll try .255 Jul 09 16:13:51 what's the slug's IP? Jul 09 16:14:06 not any of those.. Jul 09 16:14:17 the line is as such.. Jul 09 16:14:52 /home/foo/bar 10.0.0.255(rw,no_root_squash,sync) Jul 09 16:15:27 ./remote/slugroot 192.168.0.0/24(rw,no_root_squash,async) Jul 09 16:15:39 the server it's running on is 192.168.0.254 Jul 09 16:15:55 I access it via the slug with 192.168.0.254:/remote/slugroot Jul 09 16:17:02 So you might try changing your line to /home/foo/bar 10.0.0.0/24(rw,no_root_squash,sync) Jul 09 16:17:09 yes, but I want to export the stuff *on* the slug :\ Maybe I'll add the mask as well Jul 09 16:17:12 * Toman- tries Jul 09 16:17:24 well, what's the slug's IP address? Jul 09 16:17:40 does it matter? :P Jul 09 16:17:41 thanks, guys, off I go to get this working Jul 09 16:17:43 yes. Jul 09 16:17:50 Kamilion: it is on the same network of course Jul 09 16:18:04 yeah, but it matters when you're trying to mount it Jul 09 16:18:05 10.0.0.6 Jul 09 16:18:27 then on the system you're trying to mount the slug with, you'd use 10.0.0.6:/home/foo/bar Jul 09 16:18:41 It is the slug itself that errs on exportfs Jul 09 16:18:46 Ahh. Jul 09 16:19:08 This should work then: /home/foo/bar 10.0.0.0/24(rw,no_root_squash,sync) Jul 09 16:19:12 tada, seems like the /24 helped Jul 09 16:19:14 (at least, it works on mine. Jul 09 16:19:22 Good. :) Jul 09 16:19:28 I'll try mounting it now... Jul 09 16:19:29 I needed help to get my export running as well. Jul 09 16:21:01 now, if you want to lock the security down to a single machine accessing it Jul 09 16:21:10 here's the commented line from my /etc/exports Jul 09 16:21:23 # Example 2: Exporting /home/dbox/record to host 192.168.1.3 for reading and writing Jul 09 16:21:23 #/home/dbox/record 192.168.1.3(rw,no_root_squash,async) Jul 09 16:21:43 hmf, I get a "Program not registered error" Jul 09 16:22:00 Hm, lemme google that. Jul 09 16:22:08 make that "program not registered" error :P Jul 09 16:23:50 NFS Portmap: RPC: Program not registered Jul 09 16:23:53 that one? Jul 09 16:24:04 yes Jul 09 16:24:58 Looks like it's a NFS version error Jul 09 16:25:22 Both of mine are running NFSv4 Jul 09 16:25:52 which I can see in my dmesg from Jul 09 16:25:53 NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory Jul 09 16:26:02 maybe you're missing a kernel module? sunrpc or somthing like that Jul 09 16:26:22 I don't seem to have that kernel module on either of mine Jul 09 16:26:45 wait, scratch that Jul 09 16:26:55 root@SLUG:~# lsmod Jul 09 16:26:55 Module Size Used by Jul 09 16:26:55 nfs 179316 1 Jul 09 16:26:55 lockd 49460 1 nfs Jul 09 16:26:55 sunrpc 118208 3 nfs,lockd Jul 09 16:26:55 ixp400_eth 24156 0 Jul 09 16:26:57 ixp400 949188 1 ixp400_eth Jul 09 16:27:07 Running latest openslug Jul 09 16:27:19 hm Jul 09 16:27:30 perhaps your missing the modules on your client. Jul 09 16:27:33 lockd 49460 0 Jul 09 16:27:33 sunrpc 118208 1 lockd Jul 09 16:27:39 exportfs 2752 1 nfsd Jul 09 16:27:47 ah, looks like you may be missing the nfs module, perhaps Jul 09 16:27:56 or nfsd isn't properly running on the slug Jul 09 16:28:06 I'm sure I installed it :P I'll try modprobe nfs Jul 09 16:28:18 nfs is the client Jul 09 16:28:21 nfsd is the server Jul 09 16:28:29 modprobe nfsd Jul 09 16:28:29 well there was a module nfs Jul 09 16:28:37 your module is called nfs as well :) Jul 09 16:28:51 mine's running on the slug as a client, not a server Jul 09 16:28:54 my gentoo box is the server Jul 09 16:28:55 oha Jul 09 16:29:09 modprobe nfsd Jul 09 16:29:09 FATAL: Error inserting nfsd (/lib/modules/2.6.16/kernel/fs/nfsd/nfsd.ko): Unknown symbol in module, or unknown parameter (see dmesg) Jul 09 16:29:19 check your dmesg then Jul 09 16:29:28 (flood coming) Jul 09 16:29:33 nooo Jul 09 16:29:33 nfsd: Unknown symbol find_exported_dentry Jul 09 16:29:33 nfsd: Unknown symbol export_op_default Jul 09 16:29:33 nfsd: Unknown symbol find_exported_dentry Jul 09 16:29:33 nfsd: Unknown symbol export_op_default Jul 09 16:29:33 nfsd: Unknown symbol find_exported_dentry Jul 09 16:29:35 nfsd: Unknown symbol export_op_default Jul 09 16:29:38 nfsd: Unknown symbol find_exported_dentry Jul 09 16:29:40 nfsd: Unknown symbol export_op_default Jul 09 16:29:45 Ouuuuch. Jul 09 16:30:04 maybe I need to update it Jul 09 16:30:04 just a sec, lemme attempt to fire up the server on my slug Jul 09 16:30:47 yeah, my slug's missing the kernel module Jul 09 16:30:50 just a second Jul 09 16:32:17 get these with ipkg Jul 09 16:32:19 * kernel-module-nfsd Jul 09 16:32:19 * kernel-module-sunrpc Jul 09 16:32:19 * kernel-module-lockd Jul 09 16:32:19 * kernel-module-exportfs Jul 09 16:33:39 then depmod -a Jul 09 16:34:26 Currently with nfs-utils version 1.0.6-r2, these additional steps must be taken: Jul 09 16:34:27 Jul 09 16:34:27 * mkdir /var/lib/nfs Jul 09 16:34:27 * touch /var/lib/rmtab Jul 09 16:34:38 Yes I read that, seems not needed Jul 09 16:34:56 I updated the Howto on the wiki with information on the neccessary kernel-modules on the server and the client Jul 09 16:35:34 which page on the wiki? Jul 09 16:35:48 hm, seems like I had a non-working nfsd for some reason. I had all you listed, but removed and reinstalled the nfsd module Jul 09 16:35:52 http://www.nslu2-linux.org/wiki/DebianSlug/SetupNFSServer Jul 09 16:36:46 yeah, that's the howto I used to set it up on my gentoo box *G* Jul 09 16:37:20 used that /etc/exports, and ran 'emerge portmap nfs-utils' Jul 09 16:37:25 Now mount is trying to mount the slug, no errors but it seems to take ages Jul 09 16:38:30 Kamilion, I kept it very distribution-independent ;) It's a pretty easy thing to do anyway Jul 09 16:39:22 Toman-, maybe you're using some unsupported mount-options or root_squash in /etc/exports Jul 09 16:40:09 I'm just happy I ended up with NFSv4 on both ends Jul 09 16:40:49 I set up a new export today and at the first attempt it took a while to mount it. i had to add anonuid= and anongid= to the exports file to match the exported directory's access rights Jul 09 16:47:17 hm, seems my nfsclient doesn't support version 4 Jul 09 16:48:10 Toman-, you can explicitely use ver 3 Jul 09 16:48:25 how? Jul 09 16:48:48 mount -o ver=3 or something like that.. see man mount Jul 09 16:49:25 right, but if the server runs version 4 and the client doesn't support it :) Jul 09 16:50:04 It is mountvers=3 btw. Just tried forcing 4 Jul 09 16:52:23 Kamilion: How can I check what version it is using? Jul 09 16:55:11 Toman-, /proc/net/rpc ? Jul 09 17:00:09 hmm, seems to work Jul 09 17:00:22 at least it says its mounted Jul 09 18:59:11 hi Jul 09 19:01:03 hi dr nick! Jul 09 19:06:18 so.. finally i'm close to getting my debianslug disk to spin down. i gave up on that a long time ago, but now i just found a german forum suggesting the sg3-utils package Jul 09 19:06:53 where scsi-idle and sdparm didn't work at all, sg_start --pc=3 0 /dev/sda instantly spins down my disk Jul 09 19:38:25 dr_nick, is the disk (after spinning down) spinning up frequently ? Jul 09 19:39:17 EvilDevil: yes, it will spin up just after spinning down. mounting my partitions with noatime makes it spin down for a few seconds... Jul 09 19:39:55 EvilDevil: but i'm just working on it. i'm planning to mount /var/run and /var/lock on tmpfs and put /var/log on a 512mb usb flash stick Jul 09 19:40:35 dr_nick, i think you can set the log-flushing intervall for the syslog Jul 09 19:41:28 see http://www.nslu2-info.de/showthread.php?t=3713 Jul 09 19:41:44 (if you did not read that thread yet ;) ) Jul 09 19:42:16 dankeschön :-) Jul 09 19:42:39 bitteschön ;) Jul 09 19:43:15 i don't mind putting some stuff (like mrtg, var/log) on a flashdisk Jul 09 19:44:05 although the usb-stick could wear out. Jul 09 19:46:36 yeah. but who cares if i don't have critical data on it. maybe i'll rsync it to my disk every night. i'm so much more concerned about my hdd's health Jul 09 19:48:14 as rod whitby said on the mailing list: make sure you buy a flash stick with lifetime warranty, so you could get it replaced everytime it wears out :) Jul 09 19:49:08 considered root over NFS for the OS? That should let everything spin down. Jul 09 19:50:19 except the disk that's carrying the NFS-export ;) Jul 09 19:52:12 exacly, evildevil. my slug is working as a standalone server. yes, i've got some hosts i could put the root on, but i don't want to run my rootfs through the internet for some strange reasons ;-) Jul 09 19:53:56 * Kamilion chuckles Jul 09 19:58:23 would be somehow insecure too. ;) Jul 09 20:05:21 i wonder if noatime on a tmpfs makes any sense... some howtos make use of it Jul 09 20:10:12 this should significantly increase the lifetime of your sd-ram ;) Jul 09 20:13:52 nfs + vpn :) Jul 09 22:24:47 hi Jul 09 22:24:56 hi Jul 09 22:26:15 so... i just moved everything that changes regularily from my disk to a memstick, and still my drive keeps spinning up after a few minutes... Jul 09 22:26:41 i wonder if that's a swap issue. Jul 09 22:27:49 if the swap is on the disk, this might be true **** ENDING LOGGING AT Mon Jul 10 02:59:56 2006