**** BEGIN LOGGING AT Fri May 20 23:59:56 2005 May 21 03:07:00 hello May 21 03:07:21 someone here? May 21 03:11:36 someone here? May 21 09:34:06 Has anyone ever ran into a slug that shows all signs of working but you cant access it in anyway? May 21 09:34:46 it boots normal, if I connect disks to it the lights come on...but nothing I do will let me access it. web browser, telnet..nothing May 21 09:35:08 even tried the bios upgrade utility and it doesnt see it May 21 09:39:35 any help would be great May 21 14:22:25 hello May 21 14:22:29 hi May 21 14:23:12 i installed openslug 1.7beta and i get "no space left on device" when i enter "touch .sda1root" May 21 14:23:36 why Openslug 1.7? May 21 14:23:54 it is the default setting May 21 14:24:13 OpenSlug 1.12 is available in a binary May 21 14:24:30 yes, i saw it today May 21 14:24:52 or should i use upslug -U istead of -u to upload the image? May 21 14:25:25 I've never used upslug - but everything in linux is case sensitive May 21 14:26:41 sry, my mistake. -U deletes redboot also. i will try the binary image May 21 14:28:01 and #openslug is where openslug questions can be asked (non-general type questions...) May 21 14:28:08 :) May 21 14:28:46 thx , openslug is new to me, too May 21 14:36:22 thanks, caplink: May 21 14:36:29 hi, so what's uop with the slug May 21 14:36:40 can you ping the slug? May 21 14:36:43 I was running Openslug, and couldn't get samba running... May 21 14:36:54 I can ping it May 21 14:37:48 at the standard adress, or at least at the adress which you've assigned to the slug? May 21 14:37:55 yes. May 21 14:38:08 any web requests gets an error: May 21 14:38:27 yes 1 or yes 2 ;-) May 21 14:38:42 the address I assigned. May 21 14:38:45 k May 21 14:39:26 web request gives which error? May 21 14:39:53 connection refused. May 21 14:40:44 hm, but the operation led shows a green light? May 21 14:41:07 yeah... steady green on ready/status and ethernet (blinks with traffic) May 21 14:42:11 so i haven't use upslug to flash, but just this afternoon i've flash 4.20 and everything works fine for me May 21 14:43:04 okay.. I'll try flashing again... May 21 14:43:16 so i think, it's worth to give redboot a try May 21 14:45:36 think I might reset the sysconf and see if that helps. May 21 14:46:13 if i've understand the readme's and the wiki right, than openslug leave sysconf area alone May 21 14:46:14 jstueve: Openslug does not include samba. May 21 14:47:30 hello all May 21 14:47:42 are there any *-devel packages available for the nslu2? May 21 14:47:47 morning May 21 14:48:04 i'm trying to compile vim myself to see if it solves the problems i've been having with it May 21 14:48:05 define devel packages pls May 21 14:48:16 but i need ncurses headers May 21 14:48:34 well, the header files for the libraries that are available, basically May 21 14:48:46 cross or native? May 21 14:48:52 native May 21 14:48:59 if possible May 21 14:49:08 so you could make an ipkg install mom, search for the package May 21 14:49:51 ipkg install crosstool-native May 21 14:50:13 that is the completly development environment May 21 14:50:29 hmm May 21 14:50:32 i have that installed May 21 14:50:38 but it doesn't include the ncurses headers May 21 14:51:15 if you have checkout the cvs, and then do a make vim, this should work May 21 14:51:40 s/the cvs/the complete cvs May 21 14:51:58 i'll have to check the vim makefile that is in cvs then to see how they solved it there May 21 14:52:06 vim doesn't work correctly for me May 21 14:52:27 that's why i was trying to build it from source as distributed from vim.org May 21 14:52:45 if vim needs ncurses so the vim.mk should stage the ncurses lib and headers May 21 14:53:08 yeah May 21 14:53:26 running vim.mk, now make ncurses-stage is running May 21 14:53:33 i was just hoping that the headers would be available in some other repository or something May 21 14:53:40 thanks, i'll try it May 21 14:54:48 roel_san: if you've not staged ncurses yet, than the main makefile will do it for you, and download and make ncurses May 21 14:55:36 oh i see, and from there on i can compile my own vim with those staged ncurses header files as well? May 21 14:55:52 and those staged header files will match with the installed libs from the ncurses package? May 21 14:55:56 yeah, so i think May 21 14:56:18 if you modifiy the vim.mk in unslung/make May 21 15:03:26 hmm, i get an access denied for cvs access to cvs.digium.com May 21 15:03:54 oh no nevermind May 21 15:04:04 what you've tried? May 21 15:04:05 that's for compiling asterisk May 21 15:04:14 just did 'make' in the root directory May 21 15:04:26 of the cvs checkout May 21 15:04:40 if i remember right, then make will build all May 21 15:05:02 yeah i think so too May 21 15:05:14 time for control+c ;-) May 21 15:05:16 but that's not what i need May 21 15:05:27 well it stopped already after the cvs access error :) May 21 15:05:41 i think, you would run a make vim May 21 15:05:57 in the unslung directory May 21 15:06:18 yeah i'm running it now May 21 15:06:28 seems to work ok now May 21 15:06:42 quite a nifty system this whole ipkg thing May 21 15:06:44 let it build all what is needed, and then you can modify the make7vim.mk May 21 15:06:51 still have to get used to it though :) May 21 15:07:16 s/make7vim.mk/make/vim.mk May 21 15:25:41 roel_san: so, at my native build slug, vim builds fine, so this should happens at your system too May 21 15:30:13 caplink811: it's still running, downloading of zlib from sourceforge seems to fail but it keeps trying May 21 15:30:21 i'll just let it run overnight May 21 15:30:42 it's half past midnight here, i'll see how it works out tomorrow May 21 15:30:47 thanks for your help May 21 15:30:53 i think i'll get it figured out May 21 15:30:56 so, your in my timezone, its time for me to leave the channel, good night May 21 15:31:08 my problem seems to be more termcap related anyway May 21 15:31:28 if i set my TERM to vt220 it works ok May 21 15:31:33 hm, i'm not a developer, more a supporter May 21 15:31:40 goodnight May 21 15:31:51 see you tomorrow probably ;) May 21 16:02:12 hi May 21 16:02:19 morning May 21 16:03:12 can i ask something May 21 16:03:27 sure, but dunno if i've an answer May 21 16:04:11 communication is the sense of this channel May 21 16:05:20 i need to write a script to /opt/etc/init.d/Sxx... to start something but i must use the command cd to change to home dir May 21 16:05:36 but everytime i do restart it doesnt work May 21 16:06:23 but if you do a ./Sxxbla everything works well? May 21 16:06:32 yes May 21 16:06:51 well. what's in the script May 21 16:06:54 ? May 21 16:07:10 i need to start mldonkey May 21 16:07:29 :-) May 21 16:07:38 that's all May 21 16:07:43 should be something like /opt/bin/blaprog & May 21 16:08:22 could you c+p your script pls May 21 16:08:24 yes but before this i do cd /home/user/mldonkey/mlnet May 21 16:08:50 do you run with an hard disk attached? i think so May 21 16:09:40 AND have you disk quotas disabled? May 21 16:10:11 yes May 21 16:10:14 cd /home/user/mldonkey May 21 16:10:41 yes - hard disk, or yes - quotas disabled May 21 16:10:49 yes hard disk May 21 16:10:58 quatas disable May 21 16:11:05 shouldn't this script be linked from /etc/rcX.d/ to start automatically? May 21 16:11:38 only from /opt/etc/init.d/ May 21 16:12:33 AND have you a script like rc.quota with something like #!/bin/sh return 0 in your /unslung directory May 21 16:13:38 if you want to start a daemon, then /opt/etc/init.d/Sxxbla is the right place May 21 16:14:07 this i have done May 21 16:14:19 if you want overide a linksys rc.script than you should use /unslung/rc.script to divert the original script May 21 16:14:30 but when i put the command cd ...... it doesnt work May 21 16:14:42 maybe it doesn t find the cd May 21 16:14:44 k, so your disk should be writable if your Sxxscript start up May 21 16:15:19 the cd command where is it link May 21 16:15:36 i check busybox but it doent May 21 16:16:39 the script it works fine when i started while i am logging to the nslu2 May 21 16:16:40 so myself runs a script at startup May 21 16:16:42 [root@linus init.d]$ cat S99musicserver May 21 16:16:42 #! /bin/sh May 21 16:16:42 # May 21 16:16:42 cd /share/hdd/data/mp3 May 21 16:16:42 #./musicserver & May 21 16:16:44 ./mediaserver & May 21 16:16:49 and this works well for me May 21 16:17:18 so i think, it's time to post your script, to let us see what went wrong May 21 16:17:40 the executable ./mediaserver where it be May 21 16:17:52 is it to ....../mp3 May 21 16:17:59 it's in /share/hdd/data/mp3 May 21 16:20:17 it might be helpful, that you imliment something like pwd > /opt/tmp/whereiam in your script just to control where the problem could be May 21 16:20:38 s/imliment/implement May 21 16:21:44 after the cd command, so you can look after the startup, to which place your cd goes May 21 16:22:14 i try this now May 21 16:22:32 let the slug fly ;-) May 21 16:25:13 what firmware do you have May 21 16:25:45 unslung4.20 May 21 16:25:53 ok the same May 21 16:27:25 so, what' s the result of your last test? May 21 16:28:10 something is wrong May 21 16:28:46 i put at the end of the command >/tmp/file to see the errors but nothing May 21 16:29:18 but i forgot the pwd May 21 16:29:45 but > is equal to touch, and so the /tmp/file should exist May 21 16:31:32 it exist May 21 16:31:42 but nothing inside May 21 16:33:22 thats right, cause you only touch the file May 21 16:33:44 the command pwd after the cd gives me a / May 21 16:34:04 no change directory May 21 16:34:50 cd /home/user/mldonkey/mlnet May 21 16:35:03 pwd should give /home/user/mldonkey/mlnet May 21 16:35:13 yes May 21 16:35:28 without mlnet May 21 16:35:36 the mlnet is the executable May 21 16:35:43 ahja May 21 16:36:03 so in your script you would have a line with May 21 16:36:09 cd /home/user/mldonkey May 21 16:36:12 yes May 21 16:36:20 ./mlnet & May 21 16:36:31 after the cd May 21 16:36:45 in a new line after the cd line May 21 16:37:11 yes May 21 16:37:36 if mlnet have the possibillity to run detached from a terminal May 21 16:37:55 may be that you must use screen May 21 16:38:38 i know that May 21 16:39:42 so, we have to make sure, that the cd command work, May 21 16:39:49 can you check something to your nlsu2 May 21 16:40:02 when you put something like that in your S22file May 21 16:40:03 where is the path of cd May 21 16:40:11 #!/bin/sh May 21 16:40:15 cd /home/user/mldonkey May 21 16:40:27 pwd > /opt/myflag May 21 16:40:36 ./mlnet May 21 16:41:00 the file myflag gives me / May 21 16:41:13 cd is an internal sh or bash command May 21 16:42:39 sh --help tells that it called from busybox May 21 16:43:03 busybox --help gives all the commands expect cd May 21 16:43:49 may be you have a symlink to cd --busybox to your bin May 21 16:44:10 i'm using busybox 0.6 as root May 21 16:44:20 so its the build in from linksys May 21 16:44:35 BusyBox v0.60.4 (2004.05.28-07:40+0000) multi-call binary May 21 16:44:58 but only help at the prompt gives you May 21 16:45:07 Built-in commands: May 21 16:45:07 ------------------- May 21 16:45:07 . : alias break builtin cd chdir continue eval exec exit export May 21 16:45:44 so cd is always, also at startup avaiable May 21 16:46:14 busybox cd ??? May 21 16:46:21 busybox cp May 21 16:46:22 ??? May 21 16:46:27 check it May 21 16:47:14 all the commands from busybox called: busybox command May 21 16:47:24 so cd doent work May 21 16:47:28 that are build in commands from /bin/sh which links to /bin/busybox May 21 16:47:58 nopa type only help at the command prompt May 21 16:48:03 so my problem is that my slug doent find the cd May 21 16:48:33 i use bash May 21 16:48:44 when i login May 21 16:49:03 yeah, but your startup scripts run with /bin/sh May 21 16:49:25 all of them May 21 16:49:32 all other works fine May 21 16:51:04 so pls let me see your script might be that 4 eyes see more than two May 21 16:53:44 i change the first line to #!/opt/bin/bash May 21 16:53:52 and now the cd works fine May 21 16:54:27 at startup, or just when you type Sxxbla? May 21 16:54:28 the pwd >/tmp/file gave me the correct path May 21 16:54:43 on the file Sxxbla May 21 16:55:06 so, lets verifiy this behaviour with a reboot May 21 16:55:26 this behavour is after the reboot May 21 16:56:01 with #!/bin/sh the cd it doesn't work May 21 16:56:07 for me May 21 16:57:51 thats quite curious, but if this works for you, everything went well May 21 17:01:19 quite curious May 21 17:01:29 what can i say May 21 17:01:47 but i must thank you for the help May 21 17:03:11 denada May 21 17:03:58 i think we're in the same tz and in my tz it's 2 o'clock in the morning, time to leave, so have a nice sunday May 21 17:04:14 yes May 21 17:04:29 you too May 21 17:04:45 well, just another satisfied customer ;-), gnite all May 21 17:05:01 good night May 21 17:05:05 gn May 21 18:13:07 good night **** ENDING LOGGING AT Sat May 21 23:59:57 2005