**** BEGIN LOGGING AT Sat Aug 06 23:59:57 2005 Aug 07 02:12:38 newbie Q: If I unsling, then remove the external drive, does the device boot like I never unslung? Aug 07 02:13:00 I just unslung to flash and it didn't work correctly. I want to know what to do to revert everything! Aug 07 11:09:54 hello, I'm trying to use a memory stick as a main drive, and am following the wiki guidance from http://www.nslu2-linux.org/wiki/HowTo/UseAMemoryStickAsMainDrive Aug 07 11:10:55 however whenever i format the stick with the instructions from that page the drive does come up as formatted after formatting, but after a reboot it comes up as not formatted Aug 07 11:12:14 anyone have any idea what i might be doing wrong? i have tried unslinging the stick, but after that the nslu2 does not boot completely (can't verify 'how well' it boots though, because i don't have a serial port) Aug 07 12:59:04 why does unslung have the >256Mb minimum for memory sticks as root devices? Aug 07 12:59:30 cause linksys firmware divide the hd to three partitions.. Aug 07 13:00:05 .. /dev/sd[a|b]2 -> /share/[hdd|flash]/conf -> ~110MByte Aug 07 13:00:25 .. /dev/sd[a|b]3 -> swap -> ~60MByte Aug 07 13:00:53 but you can fdisk the flash stick externally and temporarily replace /sbin/fdisk on the slug with an empty script Aug 07 13:00:54 .. /dev/sd[a|b]1 -> /share/[hdd|flash]/data -> remaining size of data media Aug 07 13:01:10 you can try this Aug 07 13:01:20 e.g. the thing stated on http://www.nslu2-linux.org/wiki/HowTo/UseAMemoryStickAsMainDrive Aug 07 13:02:10 and if you got success, you could leave a message at the wiki, or write a howto about your experience ;-) Aug 07 13:02:53 well it is succesful... until i reboot :-( Aug 07 13:05:30 have you tried to mount the stick manually e.g mount -t ext3 /dev/sda1 /mnt/tmpmnt? Aug 07 13:05:45 yeah, that works fine Aug 07 13:06:03 also manually fsck'ing the partitions does not give errors Aug 07 13:06:30 there is also a /proc/hd_conn Aug 07 13:06:39 so it does recognize it as a harddrive Aug 07 13:07:03 so, the stick is formatted, and it seems to be a flaw, in the linksys webif Aug 07 13:07:57 well not just in the webif, it is also not auto-mounted Aug 07 13:08:17 thus it also fails if i unsling the stick and want to use it as root stick Aug 07 13:09:37 hey! but if i try to mount /dev/sda2 on /mnt/tmpmnt i get a failure.. Aug 07 13:09:47 # mount -t ext3 /dev/sda2 /mnt/tmpmnt Aug 07 13:09:47 mount: Mounting /dev/sda2 on /mnt/tmpmnt failed: Invalid argument Aug 07 13:09:57 any ideas on this? Aug 07 13:11:42 nope :-( Aug 07 13:20:24 bas, but make sure, that the file .dongle is on /share/hdd/conf Aug 07 13:20:47 if it isn't then the drive is recognized as not formatted Aug 07 13:22:25 heading off to tv now, gnite all Aug 07 13:26:44 Hello everyone. I have just purchased a nslu2. I want, of course, to install the unslung firmware. I have for the last two days tried to telnet to the redboot without success. I have attempted to telnet both from a Windows machine and a FreeBSD machine, but I get no response from redboot. I get the pings when arping, but never get a response from the telnet server. Any suggestions_ Aug 07 13:29:27 assuming, that your machine is in the same segment as the nslu.. try it, try it , try it... there's a small window, around 1-2 seconds to catch the redboot prompt Aug 07 13:29:51 same segment -> 192.168.0.x Aug 07 13:30:21 Hi, thanks for answering. My subnet as reported from ifconfig is 255.255.2555.0. Is it wrong? Aug 07 13:30:46 I mean 255.255.255.0 :-) Aug 07 13:31:01 that's the mask, but what does ifconfig reports about your ip? Aug 07 13:31:28 the ip of my linus machine is 192.168.1.(something) Aug 07 13:31:48 Hmm, maybe thats the problem ? Aug 07 13:32:02 but should be 192.168.0.something, cause redboot have 192.168.0.1 port 9000 Aug 07 13:32:34 or change your subnet mask to 255.255.0.0 may help you Aug 07 13:33:27 hmm, I am not good at networking. How am I supposed to change that? I guess I can find out by googling, but any help appreciated. Aug 07 13:33:51 dunno anything about bsd :-( Aug 07 13:34:24 and haven't any *x machine online at this time Aug 07 13:34:31 btw, if the problem was the subnet wouldnt it hinder the arping from functioning too? I get the pings from the arping. Aug 07 13:35:04 pinging 192.168.0.1 or 192.168.1.77 ? Aug 07 13:35:22 I am pinging 192.168.0.1 Aug 07 13:35:27 and I get response Aug 07 13:35:39 I get like 3 pings from the redboot. Aug 07 13:35:52 then it disappears (changes ip) Aug 07 13:36:40 dunno what arping does, but, if your machine is in 192.168.1.x with subnet 255.255.255.0 you couldn't reach 192.168.0.x within telnet Aug 07 13:37:25 ok. I will try to find out how to change the subnet. Thank you very much indeed! Aug 07 13:37:32 np Aug 07 13:37:44 you should add a dub interface, e.g. Aug 07 13:39:24 does anybody have time to answer a question about /unslung/rc.xinetd Aug 07 13:39:55 just ask Aug 07 13:40:27 i currently have a script in that file that enables telnet. and the script ends return 1 Aug 07 13:40:51 can i change that to return 0 and add another script to start something else also? Aug 07 13:40:59 no Aug 07 13:41:18 that was quick Aug 07 13:41:25 if the script ends with return 1 it also executes the default xinet startup script Aug 07 13:41:54 if it exit with 0 it does not execute the default xinet startup script Aug 07 13:42:16 so return 0 is for overriding a script, return 1 is for adding things Aug 07 13:42:47 you usually don't want to override things, just add things (e.g. enabling telnet by default) Aug 07 13:43:58 are you saying that i can start multiple services in this rc.xinetd as long as they all end with a "1" Aug 07 13:47:53 do you see what i mean the first diversion ends with a "0" and then the second ends with a "1" Aug 07 13:51:05 rc scripts can start whatever you want Aug 07 13:52:52 excuse my ignorance please... just make another rc.vsftpd for example, put it in /unslung and it will start? Aug 07 13:53:00 no! Aug 07 13:53:39 you should try to get familiar with rc scripts in general Aug 07 13:54:02 each script is run in a certain 'runlevel' of the system (as with for example redhat and netbsd systems) Aug 07 13:55:00 rc scripts are program that are executed at certain run levels, thus for example when the system is booting Aug 07 13:56:07 ok i thought i understood the order of things, i just thought "return 0" means go to the next script, and return "1" meant go to the rest of regular startup Aug 07 13:56:30 the rc.xinetd you are talking about concerns xinetd, which is the internet services daemon that the slug uses Aug 07 13:57:33 /unslung/rc.xinetd is actually just called by /etc/rc.d/rc.xinetd Aug 07 13:59:08 i see it start rc.unslung-stop rc.xinetd Aug 07 14:06:01 hi, would any body be able to help me install hplip so that I can get my printer working? Aug 07 15:21:55 anyone awake? Aug 07 15:22:08 Hello. How can I change the password in passed file? Aug 07 15:22:37 I meant passwd file :-) Aug 07 15:22:49 just type passwd Aug 07 15:22:56 ?no Aug 07 15:23:17 oh hehe Aug 07 15:23:42 obviously, if you are root, then you'll be changing root's password **** ENDING LOGGING AT Sun Aug 07 17:30:52 2005 **** BEGIN LOGGING AT Sun Aug 07 18:12:11 2005 Aug 07 22:59:57 ehci_hcd 00:03.2: illegal capability! Aug 07 23:04:12 i get illegal capability when insert the ehci-hcd module **** ENDING LOGGING AT Sun Aug 07 23:59:56 2005