**** BEGIN LOGGING AT Sat Jul 30 23:59:56 2005 Jul 31 01:11:09 morning Jul 31 01:11:57 does the unslung only use 55MB of a swap partition, even if when it is larger? Jul 31 03:18:33 depends what you run Jul 31 03:18:54 perl cpan can easily use 128MB swap Jul 31 04:15:45 so i noticed :-) Jul 31 04:16:20 i meant: it seems to mount the /dev/sda3 partition for only 55MB even if that partition is larger Jul 31 04:16:59 but I manually created a swapfile and added it with the swapon command so I got what I wanted Jul 31 04:22:30 too bad df -i is not supported Jul 31 04:23:02 i occasionly would like to know the status of inodes Jul 31 04:26:29 hello - anyone awake? Jul 31 04:29:40 si Jul 31 04:30:02 I have a couple of NSLU2 questions Jul 31 04:30:33 what is the best way to make a perl script autorun when the unit is turned on? Jul 31 04:30:43 I'm trying to autorun the slimserver.pl script Jul 31 04:31:07 I've tried adding an entry to /etc/inittab but this didn't help Jul 31 04:32:18 you have to put it in /etc/rc.d or in /opt/etc/init.d Jul 31 04:32:40 the correct way is, add a file in /opt/etc/init.d/ with a filename which begins with a S followed by 2 digits Jul 31 04:32:58 e.g. S98slimd Jul 31 04:33:24 you can copy one of the other files and edit that Jul 31 04:33:35 like S70ntp or so Jul 31 04:34:05 the hgher the number the later in the boot process the script will be run Jul 31 04:34:08 higher Jul 31 04:34:59 ok thanks - that looks to be the solution :) Jul 31 04:35:03 I'll give it a try Jul 31 04:35:15 my basic unix knowledge didn't reach that far Jul 31 04:35:23 i've managed to get the 'locate' command and makewhatis command running by the way, that can be convenient when looking for files Jul 31 04:37:46 another question - does anyone know the max supported usb hdd size with unslung? I heard the max supported by the standard Linksys firmware was 250 Jul 31 04:38:15 I would like to attach a couple of those Lacie 1GB disks :) Jul 31 04:39:38 can anyone give me an example of how to use screen? Jul 31 04:40:28 pauld: I'm not exactly sure, but I thought that with openslug there was no limitation Jul 31 04:40:44 i only have sizes up to 250gb Jul 31 04:41:30 I'm running 250gb too at the moment Jul 31 04:41:39 I would like to run btdownloadheadless.py in the background when I exit telnet and shut down my computer Jul 31 04:43:43 burton: sorry, i don't use screen Jul 31 04:45:01 I tried to use "&" yesterday but when I checked it today it had been closed Jul 31 04:45:38 burton, http://gentoo-wiki.com/MAN_screen Jul 31 04:53:41 burton: it is relatively easy: you start with screen and then type your command, like btdownloadheadless.py Jul 31 04:53:51 then you can exit that window Jul 31 04:54:01 from another window you can pickup with screen -r Jul 31 04:54:07 in a nutshell Jul 31 04:57:36 if I exit telnet and shut down the pc, will it still run on the slug= Jul 31 05:02:13 it should be Jul 31 05:04:39 it does Jul 31 05:05:32 i closed my telnet app, running a screen command and picked up from another one Jul 31 05:11:34 when I run screen it says "please set a terminal type" Jul 31 05:11:48 export TERM=vt100 will do, I think Jul 31 05:16:51 can't get it to work, can you give me an example how how the command should look like ? Jul 31 05:17:26 ok i'll try Jul 31 05:18:23 i have two terminal windows in front of me, and on both I am logged on to the slug via telnet Jul 31 05:19:09 type in 'screen' in window 1 Jul 31 05:19:23 press space Jul 31 05:19:41 type in screen -ls in window 2 Jul 31 05:20:15 i see this: Jul 31 05:20:18 screen -ls Jul 31 05:20:18 There is a screen on: Jul 31 05:20:18 30314.ttyp5.nslu2 (Attached) Jul 31 05:20:18 1 Socket in /tmp/screens/S-hendrik. Jul 31 05:20:33 can you confirm that? Jul 31 05:22:09 No Sockets found in /tmp/screens/S-root. Jul 31 05:23:02 strange Jul 31 05:23:35 should I just type screen and a space in window 1? Jul 31 05:23:56 well yes :-) Jul 31 05:23:59 screen Jul 31 05:24:08 then you see some info stuff Jul 31 05:24:19 press space or return Jul 31 05:24:59 nope, when I run /opt/bin/screen it just says Please set a terminal type Jul 31 05:25:05 right Jul 31 05:25:25 did you install termcap package? Jul 31 05:25:53 I don't think so, should I? Jul 31 05:26:17 yes Jul 31 05:26:36 not only for screen but other packages benefit from it as well Jul 31 05:27:07 i would assume it would have been set mandatory in the ipkg file Jul 31 05:27:17 checked, and it was installed Jul 31 05:27:22 ok Jul 31 05:27:31 then type this line into both windows: Jul 31 05:27:36 export TERM=vt100 Jul 31 05:27:52 and then type in screen into window 1 again Jul 31 05:28:31 now something happened Jul 31 05:28:39 cool :-) Jul 31 05:28:48 hehe, yep Jul 31 05:28:53 press space so you see your normal prompt Jul 31 05:29:02 and then type screen -ls into window 2 Jul 31 05:30:34 4678.ttyp1.LinkSys (Attached) Jul 31 05:30:39 ok Jul 31 05:30:55 now, again in window 1 type your command to run, without an '&' Jul 31 05:31:08 so whatyoucallit.py or so Jul 31 05:32:36 btdownloadheadless.py and then you would see no new prompt Jul 31 05:34:49 now the process stared Jul 31 05:35:15 ok Jul 31 05:35:30 or shouldent I have used all the options I wanted to use with btdownloadheadless.py? Jul 31 05:35:41 yes Jul 31 05:35:46 like normal Jul 31 05:35:50 ok Jul 31 05:36:25 now first try to take it over in window 2: either with screen -r or with screen -r 4678.ttyp1.LinkSys (the 'id' of the screen session to take over) Jul 31 05:38:55 (i think you have to supply the identifier, so the latter option would work) Jul 31 05:40:09 There is no screen to be resumed matching 4678.ttyp1.LinkSys Jul 31 05:40:21 burton: if that did not work because it was attached you have to type in screen -d -r ..... Jul 31 05:40:33 sorry for the confusion, it's new to me as well Jul 31 05:41:58 the idea is that you can take over sessions, if you know how to do that it is easier once you have exited your telnet session Jul 31 05:42:05 ok, yes now the process started in that window to Jul 31 05:42:08 ah ok Jul 31 05:42:48 and it says: [remote detatched] in the first window Jul 31 05:43:07 now try to quit window 2 (the window that runs the screen program now) by clicking the X button on the window Jul 31 05:43:27 like alt-f4 or so Jul 31 05:43:33 yes Jul 31 05:43:50 and type in screen -r .... in window 1 (or screen -ls first) Jul 31 05:45:28 yes, now it started Jul 31 05:45:47 good Jul 31 05:46:11 but does it run all the time, or do it pauses then just resume? Jul 31 05:46:16 now, if you took it over again, the last thing to try is to quit this window as well and start telnet again Jul 31 05:46:24 no it runs all the time Jul 31 05:46:30 ok Jul 31 05:47:03 remember to type in export TERM=vt100 in the new telnet session first (we'll come back to that later :-) Jul 31 05:47:53 ok Jul 31 05:48:35 its still running Jul 31 05:48:40 cool Jul 31 05:48:51 so that's about what you want, isn't it? Jul 31 05:49:25 yes, a really big thanks to you Jul 31 05:50:15 now finally put these lines into /etc/profile Jul 31 05:50:26 export TERM=vt220 Jul 31 05:50:58 put them at the beginning, like on the 3rd line or so, but not in and if.. loop Jul 31 05:51:10 -d Jul 31 05:52:19 more /etc/profile Jul 31 05:52:19 export PATH=/opt/local/bin:/opt/bin:$PATH:/opt/sbin:/opt/usr/bin:/opt/usr/sbin Jul 31 05:52:19 export LD_LIBRARY_PATH=/opt/lib Jul 31 05:52:24 export TERM=vt220 Jul 31 05:52:35 that's the beginning of my /etc/profile Jul 31 05:53:13 do I have to make the /etc/profile ? Jul 31 05:53:17 no Jul 31 05:53:32 it's already there or it shoud be i thought Jul 31 05:54:01 not for me Jul 31 05:54:06 hmm if not, just make it, as user root Jul 31 05:54:17 with vi or another editor Jul 31 05:54:40 forget about the first two lines then Jul 31 05:54:42 btw, it may be a good thing, to export terminfo too, like export TERMINFO=/opt/share/terminfo Jul 31 05:54:58 yes true Jul 31 05:56:11 (actually I have some if statements around my TERM setting as well but let's forget that now) Jul 31 05:57:44 brb Jul 31 05:57:50 hmm.. do I run vi /ets/profile Jul 31 05:57:53 etc Jul 31 06:01:00 yes Jul 31 06:01:53 when I start typing I dont see the first letters I type Jul 31 06:02:02 vi has two modes Jul 31 06:02:13 1st command mode Jul 31 06:02:18 2nd edit mode Jul 31 06:02:30 when you start vi you are in the command mode Jul 31 06:02:49 enter i like insert, then you can fill in your text Jul 31 06:03:24 if you've done this enter wq -> going to command mode, write and quit Jul 31 06:03:44 verify your edit by enter the command "cat /etc/profile" Jul 31 06:04:08 ok Jul 31 06:04:44 should I start with adding the line "export PATH=/opt/local/bin:/opt/bin:$PATH:/opt/sbin:/opt/usr/bin:/opt/usr/sbin "? Jul 31 06:05:06 when in edit mode x delete the charakter under the ciursor,
deletes the whole line Jul 31 06:06:13 burton for the time being you can do this: Jul 31 06:06:19 (but not in vi) Jul 31 06:06:34 export PATH=/opt/sbin:/opt/bin:/opt/local/bin:/sbin:/bin:/usr/sbin:/usr/bin Jul 31 06:06:34 export TERMINFO=/opt/share/terminfo Jul 31 06:06:34 export TERM=xterm-pcolor Jul 31 06:06:49 may be the right choice, assuming, your a windows/putty user Jul 31 06:07:01 yes probably Jul 31 06:07:08 oops, path withput the "local" statement Jul 31 06:07:58 vt220 works in putty as well, xterm didn't work that good Jul 31 06:08:03 so I just skip the vi? Jul 31 06:08:11 well you could Jul 31 06:08:22 you could type in: Jul 31 06:08:47 cat - >/etc/profile and then paste the three lines from caplink811_log after you enter return Jul 31 06:09:05 and then press control-d Jul 31 06:09:16 but you might as well learn vi :-) Jul 31 06:10:13 * caplink811_log wonders,, that still people remembers the old school ;-) Jul 31 06:10:33 hey, i attended old school :-) Jul 31 06:11:45 burton: you can also install package 'joe' that is another editor that is slightly more comforting than vi Jul 31 06:12:16 vi is a pain for new users Jul 31 06:23:05 Klendathu, caplink811_log: thanks for your adive about auto starting slimserver - it works great :) Jul 31 06:23:11 ^advice^ Jul 31 06:23:17 np Jul 31 06:23:47 this slug is a cool piece of equipment. I've only had it 2 days but I want another one Jul 31 06:29:36 is there some way to save this IRC-session as a logfile? Jul 31 06:34:20 in the java windows, i don't think so, but in the future, you should use a real irc client Jul 31 06:36:53 burton: i saved it for you Jul 31 06:39:45 http://www.4dnet.nl/burton.txt Jul 31 06:39:57 thanks Jul 31 06:41:13 np Jul 31 06:41:45 sorry if im beeing slow now.. but how do I terminate a screen process? Jul 31 06:44:40 now I have: There are screens on: Jul 31 06:44:46 4678.ttyp1.LinkSys (Attached) Jul 31 06:44:54 4886.ttyp7.LinkSys (Detached) Jul 31 06:45:18 I want to quit them both and start a new one Jul 31 06:45:40 tried with -kill, but that did'nt work Jul 31 06:46:12 sorry Jul 31 06:46:21 worked now Jul 31 06:46:50 I tried with screen -kill.., insted of just kill .... Jul 31 06:55:06 you can also attach to them and terminate it with exit or control-d Jul 31 06:55:14 lik eyou would exit from telnet Jul 31 07:01:40 Does anyone know which ipkg's that contain libc.so and libpthread.so, or where I can find it out? (I'm on OpenSlug) Jul 31 07:02:16 ipkg find at www.nslu2-linux.org Jul 31 07:02:57 Great, thanx! Jul 31 07:02:57 ttp://ipkgfind.nslu2-linux.org/ Jul 31 14:32:51 has anyone here ever had any trouble with temps of there external HDs? Jul 31 14:33:29 hey, all Jul 31 14:33:49 does anybody know of a windows ssh client that is just an executable and doesn't need installation? Jul 31 14:33:58 something like putty but not putty Jul 31 14:34:23 the putty executables can be downloaded seperatly Jul 31 14:34:41 and used without setup if i remember correctly Jul 31 14:34:51 It does Jul 31 14:34:55 but I have a computer that can't run it Jul 31 14:34:58 because it is pre-sp2 Jul 31 14:35:24 apparently the newest version of putty needs winxp sp2 Jul 31 14:35:46 first time i hear that Jul 31 14:35:47 ?? Jul 31 14:36:23 there is always the comercial SSH client, but i'm pretty sure it comes as an installer only Jul 31 14:37:31 hmm I guess I'll just get an installing version then Jul 31 14:37:45 but perhaps you can install it, and copy the folder to a flash drive and use it, Jul 31 14:37:59 not sure however Jul 31 14:38:16 its on www.ssh.com Jul 31 14:38:38 but it's hidden well, because it's free (as in beer) Jul 31 14:38:42 anybody have time to answer a BIND question Jul 31 14:38:58 and only for personal, non-commercial use Jul 31 14:39:30 don't know BIND, sry Jul 31 14:39:52 "/nick" Jul 31 14:40:03 I'll just download putty 0.57 Jul 31 14:42:26 anyone? Jul 31 14:45:05 another alternative to putty is Tera Term SSH, but it is old and only supports SSH v1 protocol Jul 31 14:56:20 bind: yes me Jul 31 14:56:29 i run a named on my slug Jul 31 14:57:02 i can't imagine that you cannot run putty on a pre sp2 machine Jul 31 14:57:07 by the way Jul 31 14:58:08 i transferred all the bind files from my redhat machine and it ran without modification Jul 31 14:58:22 or hardly Jul 31 22:22:54 any BIND people online? Jul 31 22:23:49 any BIND people online? **** ENDING LOGGING AT Sun Jul 31 23:59:56 2005