**** BEGIN LOGGING AT Sun Mar 12 10:59:56 2006 Mar 12 14:51:23 hi all Mar 12 14:51:38 maybe somebody could help me with a strange problem Mar 12 14:52:05 I'm running XMLTV (a perl script) through a shell script Mar 12 14:52:19 everything works fine so far Mar 12 14:52:40 also when I run the script through a cron job it works Mar 12 14:52:58 but ONLY when I restart the cron deamon with /etc/init.d/rc.crond after each reboot Mar 12 14:53:29 also I'm not able to connect to vsftpd unless I restart xinetd with /etc/init.d/xinetd after each reboot Mar 12 14:53:36 what could be wrong? Mar 12 15:58:46 anybody? Mar 12 16:06:29 MJFox: could be something related to environment variables... Mar 12 16:07:11 can you adcise about installing openslug here? Mar 12 16:08:08 @pahartik: I put all enviroment variables from root into crontab Mar 12 16:08:34 did anyone have trouble logging in after flashing the slug? it doesn't accept the password of 'opeNSLUg' Mar 12 16:11:20 @eqqnq: did you boot without disc attached? Mar 12 16:11:34 @eqqnq: what user do you try to log in? Mar 12 16:12:39 i have just flashed the device, and i am typing "ssh root@192.168.0.77" from my shell. it just doesnt accept the password. there's no disk attached. Mar 12 16:15:01 baffled Mar 12 16:22:05 tried resetting it, still no luck Mar 12 16:23:32 isn't it 192.168.1.77 by default Mar 12 16:23:42 but well, if you get a prompt it works heh Mar 12 16:24:19 dunno about openslug though Mar 12 16:29:43 yeah i wonder why it's on 0.77 Mar 12 16:37:56 back later Mar 12 16:47:42 hi Mar 12 17:00:00 I am having trouble (under opendebianslug) getting an NFS server to work, as only nfs-kernel-server is available via apt but nfsd is not compiled into the kernel or as a module and nfs-user-server is not available Mar 12 17:00:11 what do you suggest that I do to get it working Mar 12 17:06:03 EvilGuru: if you use kernel provided by OpenSlug, "kernel-module-nfsd" "ipkg" package is available... Mar 12 17:14:00 EvilGuru: or not... package is available for Linux 2.6.11.2, while image OpenSlug provided Linux 2.6.12.2 Mar 12 17:15:36 ok, so I need to boot back into open-slug, do a ipkg install kernel-module-nfsd and then copy all of my modules over? Mar 12 17:15:59 as on the wiki there is a guide for nfs under open slug Mar 12 17:21:47 EvilGuru: yes, but I am not sure if module from older kernel will refuse to work anyway... Mar 12 17:35:07 annoying, as it means that getting nfs server on there is a near impossible task Mar 12 17:44:12 EvilGuru, nfs-user-server is avaiable and it works Mar 12 17:46:23 pigpen:~# apt-cache search nfs-user Mar 12 17:46:23 nfs-kernel-server - Kernel NFS server support Mar 12 17:46:23 nfs-user-server - User space NFS server Mar 12 17:46:23 pigpen:~# uname -a Mar 12 17:46:23 Linux pigpen 2.6.12.2 #1 Tue Sep 27 20:21:18 CDT 2005 armv5teb GNU/Linux Mar 12 17:47:56 * EvilGuru checks Mar 12 17:48:29 nope, can not seem to find it Mar 12 17:48:42 I am on: deb http://armeb.debian.net/debian-armeb sid main contrib override Mar 12 17:49:45 pigpen:/etc/apt# cat sources.list Mar 12 17:49:45 deb http://ftp.debonaras.org/sarge/debian sarge main Mar 12 17:49:53 that is my Mar 12 17:50:19 * EvilGuru thinks about having two repositories Mar 12 17:50:23 k, sid<->sarge Mar 12 17:51:52 on the debionaras wiki they suggest to use armeb.debian.net repositories Mar 12 17:55:14 they suggest sarge too, as mentioned in http://www.nslu2-linux.org/wiki/DebianSlug/OpenDebianSlug Mar 12 17:59:41 what a country! Mar 12 18:01:22 hi i have a question Mar 12 18:02:04 with unslung 5.5beta: how come everytime I reboot the .htpasswd file gets overwritten in /home/httpd/html/Management/.htpasswd Mar 12 18:04:29 'cause that's the way Linksys wants it to work! ;) Mar 12 18:05:05 What are you trying to change? Mar 12 18:05:16 well, i don't know the encrypted passwd in that file Mar 12 18:05:32 so i replaced it by an encrypted one that i do know Mar 12 18:05:39 For which id? Mar 12 18:05:54 but on every reboot, when i want to access the web admin pages i need to re-copy it again Mar 12 18:05:58 admin Mar 12 18:06:24 the line contains one line: admin:xxxx Mar 12 18:06:46 (well something else than xxx of course) Mar 12 18:07:18 i lookad for all .htpasswd files on my system, and all are the same, and correct Mar 12 18:07:21 It should be ID admin Password admin, and the way to change it is via the Linksys web GUI - that will change it in the password file as well as tht htpasswd file in the "master" locations whereever that might be on your NSLU2. Mar 12 18:07:29 yet upon a reboot, one is always changed Mar 12 18:07:41 hmm Mar 12 18:07:43 ok hang on Mar 12 18:11:41 it seems to work Mar 12 18:11:47 thanks Mar 12 18:18:38 one other thing: when a nslu2 boots, and there is one hd attached to it, what is the status of the /initrd directory and the files below it? Mar 12 18:19:50 it looks like that is the part that gets 'executed' when there is no hd attached Mar 12 18:21:25 When the NSLU2 boots, it boots the kernel from it's own internal flash memory. The boot requires a minimal root filesystem (or the NSLU couldn't function at all without disks attached; the /initrd directory is where that initial filesystem from the internal flash ends up when the system switches the boot to the external disk. You can do some "cool" thinks if you mess with that, but it's... Mar 12 18:21:26 ...kinda like experimenting with your parachute design without a reserve 'chute -- one mistake and it's time to reflash. :) Mar 12 18:21:54 ok Mar 12 18:21:58 i won't do that Mar 12 18:22:15 i just wanted to know the boot order and where to change/add things Mar 12 18:23:24 like /etc/rc.d and /opt/etc/init.d Mar 12 18:23:34 It sure would be nice to have a wiki article that would detail the boot sequence for the current Unslung release - it's different enough from any normal Linux system that standard texts on the topic are of little help. Mar 12 18:23:50 indeed :-) Mar 12 18:24:05 I ended up reverse-engineering much of it, perhaps someday I'll write it down.... Mar 12 18:24:08 well, i just put echo statements here and there Mar 12 18:24:44 That will work best if you have a serial console, but early in the boot that output just gets lost. Mar 12 18:26:44 IMO, the most "fragile" part of the Unslung boot is the switch from the initrd to the disk root filesystem -- I haven't figured out any way to instrument that without a serial console. (I have high hopes for netconsole, but no time to work on it) Mar 12 18:28:17 so now i formatted a second hd and it gets a conf and data directory as well Mar 12 18:28:29 with a lot of files stored in the conf/ folder Mar 12 18:28:52 but not always the proper content Mar 12 18:30:55 well never mind, i figure it out Mar 12 18:30:58 thanks Mar 12 18:32:39 Yep. You aren't supposed to mess with the /conf stuff according to Linksys, but it's a mess. And they really made it miserable with the R63 firmware (Unslung 6.x) -- check the wiki for some articles. In a nutshell, you an get into a situation where just by plugging a second natively-formatted ext3 drive into the system, it becomes dependent upon both (switches from the original conf... Mar 12 18:32:40 ...partition to the new one without warning)... Mar 12 18:39:27 brrr Mar 12 18:39:32 that's weird Mar 12 18:39:48 since you want your second disk to be able to take offline or so Mar 12 19:13:07 hello Mar 12 21:34:21 How long should it take to boot into debian? Mar 12 21:34:35 that can take a while Mar 12 21:34:44 a fair bit longer than slugos-* Mar 12 21:34:57 note that the led doesn't stop flashing Mar 12 21:35:07 Ok, because it seems that the hard drive is doing something Mar 12 21:35:26 How long does slugos take? Mar 12 21:37:11 The LED is not flashing :( its the light orange color. Mar 12 21:37:19 hmm Mar 12 21:38:20 See, the steps I read wern't quite clear. Mar 12 21:38:37 which ones? Mar 12 21:39:10 You have to unplug all hard drives to get it into maintenance mode, then you flash to debian-sda ... and when it restarts its suppost to boot from SDA1, but I wasn't sure when to plug the hard disk back in Mar 12 21:39:31 these ones: http://www.cyrius.com/debian/nslu2/ Mar 12 21:39:40 ah, you're using the d-i... Mar 12 21:39:46 I don't know then actually Mar 12 21:39:50 I haven't tested that Mar 12 21:40:24 Yea, the hard drive LED doesn't light up either... which is strange Mar 12 21:40:40 that isn't strange ;) Mar 12 21:40:54 the leds-support is kinda... halfway there Mar 12 21:41:05 hehe Mar 12 21:41:32 Well, I'm not sure if its booting or not, just seems like I would be able to ping the IP I assigned it, unless it gets another IP Mar 12 21:41:50 It will get better in time, but it's currently under development ;) Mar 12 21:42:06 understandable Mar 12 21:43:26 How long is a reasonable time for it to boot Mar 12 21:43:35 Its not turbo yet Mar 12 21:44:12 I dunno. I don't know the initial boot process of the d-i'ed image Mar 12 21:44:31 eg, if it is generating openssh keys, it might be finished booting after like... 10 mins Mar 12 21:45:41 Yes, maybe even longer Mar 12 21:45:46 since it has no crypto Mar 12 21:46:19 and no FPU (and debian uses hard-float, so all FP ops are handled by exceptions in the kernel which is *sloooooow*) Mar 12 21:46:50 Yea, I will give it 30 more minutes Mar 12 21:49:30 maybe its not using my static IP anymore, its possible it could have grabbed its own DHCP Mar 12 21:50:01 yeah Mar 12 21:51:05 nope... I have 6 hosts, counted 5 but forgot about the stupid wireless AP Mar 12 22:02:13 ... possibly still booting Mar 12 22:03:37 I think it's time to retry now Mar 12 22:03:44 It should never take this long Mar 12 22:04:05 I don't know what to try Mar 12 22:04:41 unplug the power and power it up with the drive attached Mar 12 22:05:04 Guess its worth a try Mar 12 22:05:08 I could try the full install again Mar 12 22:05:22 Doesn't take that long since all of the install files are cached on the proxy Mar 12 22:11:20 Its possible it could have a kernel panic Mar 12 22:11:35 or that the network isn't set up because I don't remember telling the debian installer to set up the network Mar 12 22:11:38 hmm Mar 12 22:16:57 but if its panicing the hard drive wouldn't keep doing stuff .. its possible that the filesystem was not unmounted cleanly & its trying to check that Mar 12 22:20:01 I'm thinking its network related because it turned off after pressing power button once Mar 12 22:30:52 sounds like network then Mar 12 22:37:47 does upgrading to R63 improve a V2.3R29 unslung 5.5 beta nslu2? Mar 12 22:37:57 or is it advisable not to do yet? Mar 12 22:52:00 unslung 6.x is soon out AFAIK, and IIRC it's based on R63 Mar 12 22:54:00 yes Mar 12 22:54:11 i probably should wait Mar 12 22:54:21 That's not a bad idea ;) Mar 12 23:41:10 confusion.. i've made some partitions on my usb drive, that worked okay. however, before i did turnup disk to move the root filesystem. something went wrong later, and so i reformatted and ran turnup again. now it's complaining about no space left on device. should i start the whole process again? Mar 13 05:03:56 So, I can get debian installed and get to choose a kernel, then flush the initramfs but it fails to boot every time. When I chroot into the directory it puts all the files everything looks fine... Is there something I'm missing? **** ENDING LOGGING AT Mon Mar 13 10:59:57 2006