**** BEGIN LOGGING AT Thu Mar 01 02:59:57 2007 Mar 01 19:56:10 what is the official name of the current official debian distribution on the slug? Mar 01 20:46:41 hi Mar 01 20:46:56 how can i use bash as default shell for ssh connections? Mar 01 20:47:53 oh just reboot after installation, right? Mar 01 20:51:19 aaah nice Mar 01 20:51:28 setting a link to /bin/sh Mar 01 20:58:19 I'm trying to diagnose a printer problem. Printing works on Ubuntu but with the same printer connected to unslung printing does not work. Do you know how to print a file without using CUPS so I can determine if CUPS is the problem? Mar 01 21:01:39 shit i hate shell Mar 01 21:02:36 just like any other Linux system you will have to edit the password database to select bash as your account's shell. Don't do that for the root user, though. Mar 01 21:03:53 lol i already set a /bin/sh link Mar 01 21:04:08 now i learned bash doesnt seems to be sh compatible Mar 01 21:04:10 I hope you didn't replace /bin/sh with a link! Mar 01 21:04:24 If you did, you best put it back before you try to reboot. Mar 01 21:04:51 haha i already did Mar 01 21:05:05 what, reboot? or fix it? Mar 01 21:06:52 i rebooted Mar 01 21:07:03 i have a ping reply but nothing more Mar 01 21:07:27 is there a way to set up ssh login commands? Mar 01 21:09:31 check the docs on openssh, dunno. Mar 01 21:10:18 how can i mount a hdd if i boted without a hdd? Mar 01 21:11:09 * caplink811-log thinks about a malfunction on aunt google Mar 01 21:12:50 mount /dev/sd[a|b]1 /mnt/tmpmnt Mar 01 21:13:42 ah hdd is always available under /share/flash/data Mar 01 21:16:39 "reboot" doesnt work really Mar 01 21:16:50 faster is to switch off and on Mar 01 21:20:31 What firmware? Mar 01 21:21:45 unslung 6.8 Mar 01 21:22:11 ok i copied sh again Mar 01 21:22:26 but how can i add ssh login defaults? Mar 01 21:22:45 Try to avoid "halt" and "reboot" and powering it on and off -- do it via the GUI, or use the "DO_Reboot" and "DO_Shutdown" commands. The latter techniques permit a small amount of order in the shutdown. Mar 01 21:23:34 jr: the ssh server is a standard package -- check the man page for it, or google for info -- there's nothing specific to the NSLU2 in the ssh software. Mar 01 21:23:36 ah nice info Mar 01 21:23:53 i use openssh Mar 01 21:26:01 where is DO_reboot located= Mar 01 21:26:02 ? Mar 01 21:27:15 Careful with the capital letters: it's DO_Reboot Mar 01 21:27:24 I think it's in /usr/sbin, IIRC Mar 01 21:27:46 oh yes i will create link on reboot Mar 01 21:27:59 what link would that be? Mar 01 21:29:15 ln /usr/sbin/DO_Reboot /sbin/reboot Mar 01 21:29:25 Why would you do such a thing? Mar 01 21:29:35 That'll break things, in all probability! Mar 01 21:29:51 ok hehe Mar 01 21:33:10 hi! Mar 01 21:33:43 any1 here? Mar 01 21:33:45 morning :) Mar 01 21:34:10 ok good evening here it's 2308 pm ;) Mar 01 21:34:21 aaaaaaaaaaaaaaaaaarg Mar 01 21:35:13 23 implies pm ;) Mar 01 21:35:40 ah... damn it :D *gg* ok 11 pm ;) Mar 01 21:36:31 hey, can someone of you help me solving a problem with compiling a package or at least answer some questions? Mar 01 21:36:40 ~ask Mar 01 21:36:40 If you have a question, just ask, maybe someone have an answer... sometimes. Mar 01 21:37:03 i am trying to compile kannel for unslung on the nslu2 Mar 01 21:37:30 installed the cross native tool anf the libxml2 Mar 01 21:37:53 does someone know the right chmod for /opt/etc/openssh* Mar 01 21:37:57 but the configure checks for libxml2 and fails because it can't find it Mar 01 21:39:28 az_707, you try that in optware build environment? Mar 01 21:39:50 no directly on the nslu2 Mar 01 21:40:56 assuming, that libxml2 is in /opt/lib and the headers are in /opt/include, then you should tell your compiler/linker to use these paths Mar 01 21:42:00 jr, if this directory is owned by root, 755 should work Mar 01 21:42:19 hmm ok, but how do i do that? i just call the ./configure script Mar 01 21:43:18 then you could patch the configure (so it looks in /opt/lib or /opt/include too) Mar 01 21:43:26 hm it doesnt boot without drives attached anymore Mar 01 21:43:29 wtf Mar 01 21:44:37 jr, if it doesn't, then it seems time to reflash Mar 01 21:45:10 wtf Mar 01 21:45:16 why it doent boot Mar 01 21:45:58 dunno, my crystal ball needs maintenance Mar 01 21:46:12 now i got ping!!! Mar 01 21:46:21 maybe it just needs 10 minutes Mar 01 21:46:25 ah booted Mar 01 21:47:41 i think about to switch to debianslug Mar 01 21:47:52 would apache / mysql run faster on debian? Mar 01 21:47:56 btw, jr and az_707 there is native language support available at #nslu2-german too Mar 01 21:48:04 oh nice Mar 01 21:48:17 thx, i am fine with english :D Mar 01 21:48:21 jr, no i don't think so Mar 01 21:49:31 az_707, specific development questions are also on topic at #nslu2-linux (expert audience) Mar 01 21:49:41 does anybody installed openssh on unslung? Mar 01 21:49:56 i need the exact chmod of "/opt/etc/openssh" Mar 01 21:50:02 please Mar 01 21:50:27 ??? What problem are you solving with a chmod? Mar 01 21:50:42 i changed this dir to change configs Mar 01 21:50:50 but now i cannot ssh login anymore Mar 01 21:50:58 i did chmod 777 -R Mar 01 21:51:01 on openssh Mar 01 21:51:23 i need the default chmod Mar 01 21:53:12 THere's a lot of files in there. Not so easy as a single chmod. Mar 01 21:53:31 Most of them are 644 Mar 01 21:54:16 THe three ending in "_key" are 600 Mar 01 21:54:34 the directory iteself is 755 Mar 01 21:55:07 * mwester thinks jr needs to be a bit more careful with chmod and ln commands! :-) Mar 01 21:55:26 hehe thanks Mar 01 21:55:52 erm can i use "ls" so it shows chmods in numbers? Mar 01 21:56:49 Maybe. ls --help might tell you (the default ls command is a busybox utility, very small but doesn't have all the options). Mar 01 21:59:04 would it be possible if I install debian on the nslu2 that I could use a kannel rpm package without modifying anything? Mar 01 22:16:33 oh shit Mar 01 22:17:03 there are 600 processes "opt/sbin/httpd" Mar 01 22:18:34 * joshin mourns for jr 's slug Mar 01 22:19:12 strange stuff Mar 02 02:09:18 hello Mar 02 02:09:54 hello Mar 02 02:10:17 I'm trying to follow the instructions here: http://www.nslu2-linux.org/wiki/FAQ/RootOnAUSBFlash Mar 02 02:10:28 but the flash drive keeps getting formatted by the web interface as fat Mar 02 02:10:37 not as ext3 Mar 02 02:10:48 and no matter how many times I power down and format again like it says Mar 02 02:10:54 it doesn't seem to be formatting ext3 Mar 02 02:11:03 does anyone know what I can do to force it to? Mar 02 02:32:32 okay I've been missing with this more, and discovered the disk log feature in the web interface Mar 02 02:32:58 turns out I'm getting a format failed error when formatting from the web interface for some reason Mar 02 02:33:25 the flash drive is 512 MB, can anyone help me on this, have any ideas what's going on? Mar 02 02:36:43 manekineko: what firmware are you running? Mar 02 02:37:46 unslung 68 Mar 02 02:40:07 What type of flash drive is it? Mfr, model, other markings? Mar 02 02:40:34 simpletech Mar 02 02:40:37 lemme check on the details Mar 02 02:40:50 Simpletech BonzaiXpress 512MB Mar 02 02:44:09 can you telnet into the machine, and provide the output from the command: "tail /var/log/messages" Mar 02 02:44:43 ok, gimme a sec to run those Mar 02 02:48:41 <44>Mar 1 22:20:33 klogd: ASC=11 ASCQ= 0 Mar 02 02:48:41 <44>Mar 1 22:20:33 klogd: Raw sense data:0x70 0x00 0x03 0x00 0x0 Mar 02 02:48:41 a 0x00 0x00 0x00 0x00 0x11 0x00 0x00 0x00 0x00 0x00 Mar 02 02:48:41 <44>Mar 1 22:20:33 klogd: I/O error: dev 08:03, sector 0 Mar 02 02:48:41 <44>Mar 1 22:20:33 klogd: Unable to find swap-space signature Mar 02 02:48:41 <44>Mar 1 22:20:33 klogd: scsi0: ERROR on channel 0, id 0, lun 0 Mar 02 02:48:43 2e 61 69 66 00 00 02 00 Mar 02 02:48:45 <44>Mar 1 22:20:33 klogd: Current sd08:01: sns = 70 3 Mar 02 02:48:47 <44>Mar 1 22:20:33 klogd: ASC=11 ASCQ= 0 Mar 02 02:48:49 <44>Mar 1 22:20:33 klogd: Raw sense data:0x70 0x00 0x03 0x00 0x0 Mar 02 02:48:51 a 0x00 0x00 0x00 0x00 0x11 0x00 0x00 0x00 0x00 0x00 Mar 02 02:48:53 <44>Mar 1 22:20:33 klogd: I/O error: dev 08:01, sector 2 Mar 02 02:48:55 <43>Mar 1 22:20:33 klogd: EXT3-fs: unable to read superblock Mar 02 02:48:57 that's what I get as output Mar 02 02:49:25 It sure doesn't like that usb device, does it! Mar 02 02:49:58 yeah no kidding Mar 02 02:50:10 I just picked it up, seems to work ok on my windows pc Mar 02 02:50:19 can copy files and do regular flash drive stuff Mar 02 02:50:21 Ok, that's the tail end of the log. Unplug the device, repeat the tail command and note the final entries in the log (I don't need to see those, just note them so we know the new lines for the next step) Mar 02 02:50:43 pull out the usb flash drive while the slug is on? Mar 02 02:50:59 Wait 10 seconds or so for things to stabilize, then plug the device in. Wait 5 seconds, then repeat the "tail" command once again, and let's see what new log entries we get... Mar 02 02:51:06 Yep, pull it out... Mar 02 02:53:13 ok pasting in what I got Mar 02 02:53:13 <44>Mar 1 22:25:07 klogd: *** 50 Mar 02 02:53:13 <44>Mar 1 22:25:07 klogd: Vendor: Simple Model: Bonzai Xpress Rev: 2.2 Mar 02 02:53:13 0 Mar 02 02:53:13 <44>Mar 1 22:25:07 klogd: Type: Direct-Access ANSI SCS Mar 02 02:53:13 I revision: 02 Mar 02 02:53:15 <44>Mar 1 22:25:07 klogd: Attached scsi removable disk sda at scsi0, channel 0, Mar 02 02:53:17 id 0, lun 0 Mar 02 02:53:19 <44>Mar 1 22:25:07 klogd: SCSI device sda: 1022972 512-byte hdwr sectors (524 M Mar 02 02:53:21 B) Mar 02 02:53:23 <44>Mar 1 22:25:07 klogd: 32 port connect!!!!! Mar 02 02:53:25 <44>Mar 1 22:25:07 klogd: sda: Write Protect is off Mar 02 02:53:27 <46>Mar 1 22:25:07 klogd: p1 p2 p3 p4 Mar 02 02:53:29 <47>Mar 1 22:25:07 klogd: WARNING: USB Mass Storage data integrity not assured Mar 02 02:53:31 <47>Mar 1 22:25:07 klogd: USB Mass Storage device found at 4 Mar 02 02:54:24 The "p1 p2 p3 p4" implies that its already been partitioned and formatted, possibly by unslung at some earlier date? Mar 02 02:54:48 yeah possible, but unslung still identifies it as fat16/32 Mar 02 02:55:15 Maybe, but it doesn't match what the Linksys format utility is expecting. Mar 02 02:55:46 so it was succesfully formated already and can't be formatted again by the web interface? Mar 02 02:55:57 You should return it to the factory default -- one partition, formatted as a FAT filesystem. Then try again, and see if Linksys' utility is happy. Mar 02 02:56:34 as in format the flash drive on a computer? Mar 02 02:56:49 the problem is often that it is successful, or partially so, then someone takes it to a PC and formats it again -- but the pc doesn't understand partitioning on a device that small, so it only formats partition 1. Mar 02 02:57:22 so how do I format the flash drive back to factory default? Mar 02 02:57:24 You need to use the storage management tools, and make sure you completely delete any partitions on the device. Mar 02 02:57:33 ok I'll give it a try Mar 02 02:58:27 oddly enough it isn't showing any partitions on my pc Mar 02 02:58:35 it's just one full partition Mar 02 02:58:37 of 499 MB Mar 02 02:58:57 Does it perhaps have some "launcher" software that came preinstalled? Mar 02 02:59:03 the flash drive? it came empty **** ENDING LOGGING AT Fri Mar 02 03:00:00 2007