**** BEGIN LOGGING AT Mon May 12 02:59:57 2008 May 12 11:35:02 i am new to the slug and linux I have a 4GB usb sitck running unslung and a 2nd external 250 gb hdd i have formatted the segate ok but how to i switch to that disk in putty session in other words what the linux equivlant of the dos commnand D: May 12 11:36:16 well May 12 11:36:20 you have to mount it May 12 11:36:33 then cd /path/to/mount/point May 12 11:38:24 thanks Harddisk i have found the mount command can i mount with any name i like or weil there be a name i must use May 12 11:38:38 well May 12 11:38:43 it's simple May 12 11:38:50 mkdir /media/disk May 12 11:38:59 mount /dev/DEVFILE /media/disk May 12 11:43:49 it wont let me create the /media/disk dir it says no such file or directory May 12 11:44:20 i have got a share to the the disk in windows so i know the disk is there May 12 11:45:21 run "mount" May 12 11:45:29 paste its output here May 12 11:47:12 for some reason when i paste here its not sending the info May 12 11:47:26 because it starts with / May 12 11:47:32 copy it to pastebin.ca May 12 11:47:33 sorry May 12 11:48:22 db2 on /share/hdd/conf type ext3 (defaults) May 12 11:49:11 pastebin please May 12 11:50:15 ok dumb question no 101 how to i paste to pastebin.ca May 12 11:50:33 open the site May 12 11:50:45 copy the text into the big fat textbox May 12 11:50:48 click on submit May 12 11:51:25 i see pastebin.ca is a web site dumb me blonde moment there sorry May 12 11:51:41 Lol May 12 11:53:53 done May 12 11:54:12 cliffcook, give me the URL please May 12 11:54:20 but i forgot to put me name on it doh May 12 11:55:06 http://www.pastebin.ca/1015673 May 12 11:55:39 doesnt matte May 12 11:56:06 cd /share/hdd/data May 12 11:56:10 then you should be there May 12 11:57:37 i dont know if this helps but i am doming something that should not be working according to all the info i am slung from a Memory stick in port 1 the hdd is in port 2 May 12 11:57:59 i can now ls the contents of me mem ory sick May 12 11:58:46 is this where i need to put the /media/disk dir May 12 12:00:02 no May 12 12:00:07 you dont need to now May 12 12:00:15 the slug has auto-mounted the disk May 12 12:00:18 what I didnt know May 12 12:09:36 i see when i do an LS on that disk it looks like my memory sick not my segate can i see how much free space is on the disk then i can conferm wich on its May 12 12:11:09 df -h May 12 12:17:18 thank for all your help harddisk i have pastedbind the out put from df -h http://www.pastebin.ca/1015681 does that look like 250 mb drive i have set a share called drive 2 on this drive but i cannot seem to see it, or would i not see a share on the drive only if i linked to that share say in windows May 12 12:20:18 for example if i look at the share on drive 2 \\myserver\admin2 the only folders i can see are drive2 and public sorry if i seem a little dumb here i am an IT techy but until i got me slug i have never users linux before i have orderd a linux for dummys book to help May 12 12:30:02 no idea...sorry May 12 12:30:15 i have no real experience with unslung May 12 12:32:44 i can see drive 2 on my windows box by shareing the dive with the built in share admin 2 but i want to set up a web server in the end and i want to put the files i want to share on the 2nd drive but i need to know i can see it 1st thanks for all your help hardisk May 12 13:55:29 Hi May 12 13:58:05 I'm running SlugOS/BE, is it normal that the LED sequence at startup is: amber - RED - amber - beep - blinking amber - blinking green/amber - green? May 12 13:58:21 I can't seem to SSH to the slug after startup... May 12 13:58:47 Has this got anything to do with the red led at startup? May 12 14:04:23 First: Is this your first install or did you change your installation somehow? May 12 14:04:54 Right before i restarted i altered inittab according to http://www.cyrius.com/debian/nslu2/reducing-memory.html May 12 14:05:21 I commented the line #T0:23:respawn:/sbin/getty -L ttyS0 115200 linux May 12 14:05:33 which was actually a bit different on my machine May 12 14:05:47 but still ended with ttyS0 May 12 14:06:52 hmm, I have no experience with doing that... May 12 14:06:57 you still get the serial console? May 12 14:08:18 isn't ttyS0 for a physical serial port inside the slug? (which I haven't connected) Or did i understand that wrongly? May 12 14:08:33 I always SSH to the slug over LAN May 12 14:08:56 But that doesn't work anymore May 12 14:09:29 ok, I didn't understand "but still ended with ttyS0" May 12 14:10:07 I will copy the actual line from my inittab file for you... hang on... May 12 14:11:26 The line I commented in inittab: #S:2345:respawn:/sbin/getty 115200 ttyS0 May 12 14:14:14 hi all May 12 14:14:23 isn't ttyS0 the serail port wich is discussed on http://www.nslu2-linux.org/wiki/HowTo/AddASerialPort under "pinout of the J2 serial port"? May 12 14:14:26 hi May 12 14:15:01 First, do you have any windows mobile pda/phone? May 12 14:15:25 No i haven't May 12 14:15:43 First: yes I think so May 12 14:15:47 lucky if you have May 12 14:16:18 put jS:2345:respawn:/sbin/getty 115200 ttyUSB0 May 12 14:17:06 then plug in the usb charger you can get vt100 terminal from wince device May 12 14:17:21 bizkut_: why would you need a tty at all? May 12 14:17:39 because don't have pc/eth? May 12 14:18:26 bizkut_: I don't think that is First's setup though May 12 14:18:43 No, it isn't May 12 14:19:00 at least an alternative to serial hack May 12 14:20:28 sorry i missed the earlier discussion May 12 14:21:36 summary: I can't ssh into slug. It doesn't show up on the network. I'm running SlugOS/BE, the LED sequence at startup is: amber - RED - amber - beep - blinking amber - blinking green/amber - green? I tought it might have something to do with the red led May 12 14:22:03 I did modify inittab just before restaring May 12 14:22:23 The red led isn't causing the failure to boot; almost certainly your inittab changes broke it! May 12 14:22:43 If you are running SlugOS, unplug the disks, boot it up, ssh into it, then plug in the disks. May 12 14:23:00 You will then find your disks mounted (usually) in /media/ May 12 14:23:10 Find the etc/inittab, and put it back. May 12 14:23:13 if I where to load the inittab file from the memorystick with slugOS on a windows computer an alter the file back, would that work? May 12 14:23:33 Not usually. May 12 14:23:55 would probably have to be a linux computer for compatibility of the text files? May 12 14:23:57 Windows lacks the ext2/3 driver to read the media, Windows also likes to change line terminations in text files so that Linux can't read them. May 12 14:24:08 I have the ext driver on my windows machine May 12 14:24:13 Yep, you would need to boot up a live CD or something. May 12 14:24:26 But why do that, when you have a perfectly usable SLUG that's already running Linux? May 12 14:24:50 yes, but i can't give it any commands since I can't ssh to it May 12 14:25:00 Read my comments (above) May 12 14:25:30 so I unplug all the disks, including the one with the OS? May 12 14:26:04 Exactly. May 12 14:26:17 Ok, here it goes... :-) May 12 14:26:22 Then it boots entirely from internal flash, in a recovery mode. May 12 14:26:51 OK it beeps after post and then it gives me 2 high beeps... May 12 14:27:25 probably to indicate there is no disk with OS => recovery mode? May 12 14:27:32 Yep. May 12 14:27:56 IP is 192.168.1.77? May 12 14:28:04 It should be on the network, on the IP address it originally had when you first issued the "turnup" command. May 12 14:29:22 OK, i can see it on my network... May 12 14:29:27 trying to ssh May 12 14:39:04 I can ssh into the machine, but when i connect the memorystick and it mounts on /media/sda1, it is read only... May 12 14:40:00 I tried to mount it myself and i got: "mount: block device /dev/sda1 is write-protected, mounting read only" May 12 14:40:46 does it have anything to do with the fact that I put the memorystick in port 2 of the slug (upper port)? May 12 14:42:30 No. If it is read-only, there is usually a reason for that. May 12 14:42:56 check the output from "dmesg" to see what errors might be recorded. May 12 14:43:24 You may need to umount it, and run fsck on it in order to repair any possible file-system problems. May 12 14:45:22 dmesg doesn't give an error, it only says (apart from the fact it has recognised the memorystick) : sda: write protect is on May 12 14:46:43 i will now try fsck May 12 14:50:55 fsck says the superblock could not be read or it is'nt a correct ext2 filesystem. The filesystem is actually ext3, but i presume that is OK? May 12 14:51:54 fsck suggests: running e2fsck with an alternate superblock... May 12 14:52:00 will try that now May 12 14:53:02 No, I wouldn't let it fix anything at this point; something else is wrong. May 12 14:54:38 I have to get to work; perhaps someone else can assist. You need to figure out what's going on with that device. May 12 14:54:41 bbl May 12 14:57:28 perhaps the memorystick has developed an error... It has been running since newyear... May 12 14:58:03 altough there has always been enough RAM to avoid swapping to disk May 12 14:58:23 ...except for today when i installed lighttpd May 12 15:13:00 First, i'm pretty sure your stick _has_ an hardware lock May 12 15:13:09 look for a really tiny slider May 12 15:14:03 i'm sorry, it doesn't have one May 12 15:14:57 i think it's wore May 12 15:15:08 to many writes? May 12 15:15:13 could be May 12 15:15:30 happened to my usb thumbdrive before May 12 15:15:37 after how long? May 12 15:15:46 it said read-only May 12 15:15:53 2 years May 12 15:16:04 mine is 5 months old... May 12 15:16:11 was cheap dough May 12 15:16:18 transcend May 12 15:16:23 too soon to die May 12 15:16:27 ;-) May 12 15:16:49 transcend is a good name May 12 15:17:03 but i don't know about the quality May 12 15:17:37 normally transcend is reliable... May 12 15:17:44 pastebin the whole dmesg, please May 12 15:17:47 if i where able to write to it from my windows machine, would that mean something? May 12 15:17:51 ok, willdo May 12 15:18:15 First, try it on windows May 12 15:18:46 afk, food May 12 15:19:24 medium is write protected says windows... May 12 15:20:44 died May 12 15:23:19 i find it strange it can die just like that... At least I can still read my files... Just tying to look on the bright side... May 12 15:24:09 thanks for all the help... I really appreciate it May 12 15:25:56 np May 12 16:37:00 Pinky__1, this is your first slug? May 12 16:38:12 bizkut: yup May 12 16:38:35 nice then May 12 16:39:10 i wish you have lot of fun with it May 12 16:39:27 thank you :) so do i May 12 16:40:35 ok, if it did the three beeps but i cannot connect to it with ssh, what now? the beeps came really quick btw, less than 5 min May 12 16:44:06 when? May 12 16:44:31 lol this is odd. i had it configured for 192.168.1.77, but it seems to have changed to dhcp. found it and connected now May 12 16:54:41 should the ssh connection be closed when it starts formatting the drive? May 12 16:54:48 cause it did that :) May 12 16:54:59 with wich firmware? May 12 16:55:25 debian May 12 16:55:33 have you resized the window? May 12 16:55:35 stable May 12 16:55:44 not since i connected with ssh no May 12 16:55:50 so i don't know :) May 12 16:55:57 i did while running upslug2 May 12 16:56:28 it's not a problem with uplslug May 12 16:56:56 but ssh can stop with debian if you touch the window May 12 16:57:01 ah ok May 12 16:57:12 http://www.nslu2-linux.org/wiki/Debian/TroubleShooting May 12 16:57:22 it's there May 12 16:57:40 out of memory May 12 16:57:52 that's why it needs swap badly May 12 16:58:12 oh May 12 16:59:03 better you do partitioning on pc first then May 12 16:59:21 Create the partitions on another Linux machine using (c)fdisk and mk2fs.ext3 and then start the NSLU2 debian installer, choose manual partitioning and set the ext3 partition as root (/). May 12 17:00:08 also here http://www.nslu2-linux.org/wiki/Debian/DebianInstallerDisconnectsSSH May 12 17:00:30 ty will try this May 12 17:04:51 brb May 12 17:09:45 Pinky__1, as it stands, if you set it to 1.77 as static it will take DHCP May 12 17:10:35 ok May 12 18:40:42 if i format a second hard drive with unslung, will tht effect anything? May 12 18:59:02 yesterday i had some problems with the transfer speed to my slug when connected over wireless. today i found out that the slug seems to disturb the wireless somehow, and the transfer speed got much better and more stable after moving the slug away from the router just a little bit. May 12 18:59:10 i wonder how many others had this problem without finding out :) May 12 19:01:32 skream: http://www.nslu2-linux.org/wiki/Unslung/WhichUSBPortforUnslung6' May 12 21:06:05 Pinky__1, oh, yeah, wireless routers don't like to be near other electronics :-) May 12 21:09:25 ShadowJK: never had any problems with it before, not even with my wireless phone, so i'm a bit surprised actually :) May 12 21:10:39 I've heard of it other way around too, a wireless router interfering with digital tv May 12 21:10:44 completely different frequencies... May 12 21:10:55 hehe that is odd :) May 12 21:11:01 It must be the electronics itself radiating May 12 21:11:07 probably **** ENDING LOGGING AT Tue May 13 02:59:56 2008