**** BEGIN LOGGING AT Tue Dec 27 03:00:00 2005 Dec 27 05:19:56 Very quiet here, still celebrating Christmas maybe. **** BEGIN LOGGING AT Tue Dec 27 06:05:15 2005 Dec 27 07:58:35 can someone help me with a problem i am having with ipkg on a fresh install of the latest unslung Dec 27 07:59:16 when i attempt to run "ipkg update" it downloads the first few, then gives me an error Dec 27 08:05:29 Updated list of available packages in /usr/lib/ipkg/lists/oe Dec 27 08:05:29 An error ocurred, return value: 2. Dec 27 08:05:29 Collected errors: Dec 27 08:05:29 ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-cQWnAA http://ipkg.nslu2-linux.org.feeds/unslung/cross/Packages/Packages.gz' Dec 27 08:05:29 ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-cQWnAA http://ipkg.nslu2-linux.org/feeds/unslung/native/Packages/Packages.gz' Dec 27 08:05:38 that's the error, sorry for spam Dec 27 08:39:18 Lunar_Lamp, seems that there is something wrong with your conf files in /etc/ipkg Dec 27 08:39:55 hmm Dec 27 08:40:01 do you want me to copy and paste them in here? Dec 27 08:40:05 i seem to remember they are pretty short Dec 27 08:40:40 # cat cross-feed.conf Dec 27 08:40:40 src/gz cross http://ipkg.nslu2-linux.org.feeds/unslung/cross/Packages Dec 27 08:40:41 that should be cross-feed.conf native.conf and oe-feed.conf Dec 27 08:40:54 ugh, i just installed miau on my nslu2 and rebooted it, waiting for it to come here :p Dec 27 08:41:17 there's also an arch.conf in there caplink811_log Dec 27 08:41:18 but the ready/status light has been blinking for a while..hoping it's not going wrong Dec 27 08:41:34 littlewhitey` it takes a while - i had the same nervous wait the first couple of times Dec 27 08:41:46 Lunar_Lamp, that is ok, but the path you posted above is to long, remove /Packages at the end Dec 27 08:41:59 no Packages at the end? Dec 27 08:42:04 i'll give it a bit longer then :) Dec 27 08:42:04 that could be the problem! Dec 27 08:42:34 you can verify that by browsing ipkg.nslu2-linux.org Dec 27 08:43:17 http://ipkg.nslu2-linux.org/feeds/unslung/cross/ Dec 27 08:43:44 # cat native-feed.conf Dec 27 08:43:44 src/gz native http://ipkg.nslu2-linux.org/feeds/unslung/native/Packages Dec 27 08:43:49 i presume it's the same with that? Dec 27 08:43:52 yes Dec 27 08:44:36 # cat oe-feed.conf Dec 27 08:44:36 src/gz oe http://ipkg.nslu2-linux.org/feeds/unslung/oe Dec 27 08:44:39 that's ok? Dec 27 08:45:17 seems so Dec 27 08:45:52 * Lunar_Lamp crosses fingers and hopes ipkg update works :-D Dec 27 08:46:09 Updated list of available packages in /usr/lib/ipkg/lists/oe Dec 27 08:46:09 An error ocurred, return value: 1. Dec 27 08:46:09 Collected errors: Dec 27 08:46:09 ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-djp57h http://ipkg.nslu2-linux.org.feeds/unslung/cross/Packages.gz' Dec 27 08:46:13 different error this time Dec 27 08:47:19 there is a write fault in your conf file linux.org.feeds is wrong, should be linux.org/feeds Dec 27 08:47:51 which conf file? Dec 27 08:48:00 cross.conf Dec 27 08:48:35 thanks for that :-) Dec 27 08:48:41 let's try again Dec 27 08:48:49 completed! :-D Dec 27 08:51:20 hmm - caplink811_log - installing mt-daapd. i think it has worked, but there were some errors in the process: http://pastebin.com/480276 Dec 27 08:51:26 are there no gcc compilers ready made for unslung? :/ Dec 27 08:51:44 my nslu2 finally decided to boot, btw :p Dec 27 08:52:10 littlewhitey`, if you want to compile native, just ipkg install unslung-devel Dec 27 08:53:11 ah, thanks Dec 27 08:58:57 Lunar_Lamp, seems that isn't a relevant error, dunno what libipk0 is, it isn't in the repository .. Dec 27 08:59:09 ok Dec 27 08:59:45 http://pastebin.com/480286 Dec 27 08:59:50 that seems just as problematic Dec 27 09:00:57 caplink811_log when i do "ipkg list_installed" i get libipkg0 as one of my installed packages Dec 27 09:01:34 what does "ipkg --version" says? Dec 27 09:01:56 ipkg version 0.99.148 Dec 27 09:04:18 same version here, and it works like a charme, are there any directories und /tmp which begins with ipkg- ? Dec 27 09:04:36 yes Dec 27 09:04:47 # cd /tmp Dec 27 09:04:47 # ls Dec 27 09:04:47 ipkg-CZwB5B ipkg-YkiXzZ ipkg.4cJM0I ipkg.6AsszF ipkg.7JDggF ipkg.QACuxa ipkg.WnWJfC ipkg.WoKVMn ipkg.xQ5jbE Dec 27 09:05:22 imho, it is a good thing, to delete anything which starts with ipkg.. Dec 27 09:05:51 so you reckon rm *? Dec 27 09:06:21 make sure that you are in /tmp Dec 27 09:06:35 i am Dec 27 09:06:38 and then run rm -r * if there isn't anything else in it Dec 27 09:06:49 i pasted the entire contents to you Dec 27 09:08:23 # ipkg install dropbear Dec 27 09:08:23 Package dropbear (0.47-1) installed in root is up to date. Dec 27 09:08:23 Configuring libipkg0 Dec 27 09:08:23 ldconfig: No such file or directory Dec 27 09:08:23 postinst script returned status 127 Dec 27 09:08:26 ERROR: libipkg0.postinst returned 127 Dec 27 09:08:28 Nothing to be done Dec 27 09:11:44 well, try to install ldconfig, maybe that this satisfy the ipkg Dec 27 09:13:48 quite possibly... Dec 27 09:13:51 i shall try that i think Dec 27 09:14:11 right - i need to nip into the shops before they close Dec 27 11:25:48 morning Dec 27 11:26:28 evening Dec 27 11:26:56 ;o) Dec 27 11:27:41 * Lunar_Lamp shakes his fist in the general direction of his slug, his computer, and the internet Dec 27 11:27:49 all of them are rebelling against me Dec 27 11:28:13 lol Dec 27 11:29:52 no, really :-/ Dec 27 11:29:59 mmmmm Dec 27 11:30:10 i can't work out how to get mt-daapd working Dec 27 11:30:17 i get an error when i try to instal lit on my slug Dec 27 11:30:52 though, now, retrying to install it - it says my mt-daapd is up to date Dec 27 11:30:57 Boomcar: morning! mmmmm == coffee ? :-) Dec 27 11:31:08 And I am a rather newbie,,, Dec 27 11:31:10 hmm, so perhaps it downloads things fine, but just gives me error messages to make me think it;s screwed up Dec 27 11:31:31 and did you read teh wiki? Dec 27 11:31:40 makes sense really - if my computer can't manage to scsrew up, it can at least pretend to have screwed up Dec 27 11:31:40 the* Dec 27 11:31:55 yes - im working slowly towards completeion Dec 27 11:32:19 k Dec 27 11:32:45 I almost had my slug (server) running whem my daughter pulled the plug (power) Dec 27 11:33:01 and now the drive seems not to be formatted ;o( Dec 27 11:33:01 oops Dec 27 11:33:23 how the .....do I get it running again? Dec 27 11:33:40 without reformatting the 100GB of data! Dec 27 11:34:30 first thing i would suggest is back up that data if at all possible Dec 27 11:34:39 how? Dec 27 11:36:06 boot without hdd attached, telnet in, attach hdd, fsck the disk, and then reboot, you should be ok Dec 27 11:36:53 tried that bit after pass 1: killed Dec 27 11:37:14 at what point was the "death" Dec 27 11:37:23 ? Dec 27 11:37:29 after the first pass Dec 27 11:37:31 after fsck'ing, after rebooting? Dec 27 11:37:39 fsck Dec 27 11:38:01 and what exactly did fsck indicate the problem was? Dec 27 11:38:09 mmmm Dec 27 11:38:16 something about the groups Dec 27 11:38:22 I guess user groups Dec 27 11:38:47 now I attached it to a suse box...hoping fsck could help me more Dec 27 11:39:05 Caplink told me that the fsck of the slug is a bit buggy Dec 27 11:39:21 but I don't know the command lines anymore Dec 27 11:39:22 maybe so, maybe not, but if so on the suse box you should at least be able to copy data Dec 27 11:39:52 how do I "get"to the slug? Dec 27 11:39:56 cd.....? Dec 27 11:40:09 no, just attach the hdd to the suse box Dec 27 11:40:31 I am walking to the box right now.. ;o) Dec 27 11:41:02 http://man.linuxquestions.org/sections.php Dec 27 11:41:18 Boomcar - when you get back and have a chance - could you talk a total n00b through accessing the slug (other than by telnet) from his suse box? Dec 27 11:41:48 put in fsck in the search box and the man page for it will pop up Dec 27 11:41:49 i.e. browsing files etc like you do from windows Dec 27 11:42:18 k Dec 27 11:42:26 I used winscp Dec 27 11:42:37 course, I think you really want to use e2fsck Dec 27 11:47:23 back again Dec 27 11:47:26 e2fsck -p -y /bin/sda1 ?? Dec 27 11:47:37 or something else? Dec 27 11:48:18 not sure about suse designations for drives Dec 27 11:48:35 mmm how can I tell? Dec 27 11:48:52 with others it would be /dev/sda1 Dec 27 11:48:57 k Dec 27 11:49:01 trying Dec 27 11:50:30 bad magic number in superblock!! Dec 27 11:52:04 not a correct ext2 filesystem?!! Dec 27 11:56:05 nobody? Dec 27 11:56:55 sorry - i don't know anything about e2fsck Dec 27 11:58:21 k Dec 27 11:58:23 ;o( Dec 27 11:58:38 did u find winscp? Dec 27 11:58:59 yeah - it's a windows thing Dec 27 11:59:05 i didn't explain myself well Dec 27 11:59:05 hehe Dec 27 11:59:13 i wanted to get samba connection to slug from suse Dec 27 11:59:21 worked it out thanks to the guys in #suse Dec 27 11:59:21 ic Dec 27 11:59:28 I am a windows man Dec 27 11:59:32 so far Dec 27 11:59:56 well i am really Dec 27 12:00:00 My linux-knowledge has grown the past few weeks (since I own a slug) Dec 27 12:00:05 only been using linux for a couple of months Dec 27 12:00:17 and most of that has been spent messing around with getting music to play how i like it - hehe Dec 27 12:00:24 can't u ssh into the slug Dec 27 12:00:32 so since christmas eve when i started playing with the slug - i have learnt a lot Dec 27 12:00:39 yes Dec 27 12:00:39 well - telnet is all i have tried so far Dec 27 12:00:43 m too Dec 27 12:00:45 i think i have dropbear installed Dec 27 12:00:47 too much ;P Dec 27 12:00:49 i got my slug on christmas day :p Dec 27 12:00:54 nice Dec 27 12:01:05 nice santa ;o) Dec 27 12:01:10 waiting on a 3.5 usb caddy though Dec 27 12:01:14 indeed, very nice santa :D Dec 27 12:01:15 :-( Dec 27 12:01:21 I think I am buying myself a ups Dec 27 12:01:24 ! Dec 27 12:01:28 i bought a ups with my caddy :P Dec 27 12:01:31 coming on thursday Dec 27 12:01:39 i need a lead to connect my tv to my pc Dec 27 12:01:43 which brand? Dec 27 12:01:45 apc Dec 27 12:01:46 ? Dec 27 12:01:50 i got some el cheapo one Dec 27 12:01:56 off ebuyer.co.uk :p Dec 27 12:02:05 i know someone else who has one though and it's pretty good Dec 27 12:02:05 yay for ebuyer Dec 27 12:02:05 heh Dec 27 12:02:07 that's what I was thinking of myseld Dec 27 12:02:20 a cheapo Dec 27 12:02:44 after 2 years the bat will be dead and its pretty expensive Dec 27 12:02:50 Caplink...finally ;o)) Dec 27 12:03:06 I got Suse running and the hd attached Dec 27 12:03:16 what's my first step Dec 27 12:03:21 i really can't believe how stupid i just was - i now have about 1700 music files with the id3 tags saying the artist is "now writing..." Dec 27 12:03:30 or do you need a beer first ;O) Dec 27 12:03:31 lol Dec 27 12:03:41 huh? Dec 27 12:03:44 i'm getting this: http://www.ebuyer.com/customer/products/index.html?action=c2hvd19wcm9kdWN0X292ZXJ2aWV3&product_uid=62751 Dec 27 12:03:53 it does look pretty tacky, but hey :p should be alright Dec 27 12:04:24 can u attach the slug? Dec 27 12:04:30 yeah Dec 27 12:04:34 I mean the cable does it fit in? Dec 27 12:04:35 i've bought some adapter too Dec 27 12:04:43 ic Dec 27 12:04:51 which goes into one of the kettle style plug sockets, and makes 4 normal sockets Dec 27 12:04:59 ic Dec 27 12:05:09 is it on this site too? Dec 27 12:05:10 ah - i was wondering how you were going to do that Dec 27 12:05:17 i couldn't find one on that site Dec 27 12:05:23 i got one from microwarehouse.co.uk Dec 27 12:05:46 Caplink?? Dec 27 12:05:53 caplink? Dec 27 12:06:03 www.microwarehouse.co.uk/catologue/item/BELUPS15 Dec 27 12:06:27 site not found? Dec 27 12:06:29 ! Dec 27 12:06:29 404 Dec 27 12:06:33 ugh Dec 27 12:06:38 oh Dec 27 12:06:40 i can't spell Dec 27 12:06:49 www.microwarehouse.co.uk/catalogue/item/BELUPS15 Dec 27 12:07:20 nice Dec 27 12:07:36 i'd need to find some way to make the slug shut down when the UPS power is low though, if a power failure happens Dec 27 12:07:47 i don't think the UPS i'm getting natively supports linux Dec 27 12:07:47 ic Dec 27 12:07:54 interest me too Dec 27 12:08:29 but the slug consumes so less that I think the bat will last a day? Dec 27 12:08:34 heh, yeah Dec 27 12:09:13 this is what I was thinking of: http://www.alternate.nl/html/shop/productDetails.html?artno=TWIA12& Dec 27 12:09:15 there was something on the nslu2-linux site about making a battery powered slug Dec 27 12:09:23 its only a little bit expensive Dec 27 12:09:30 ah, that would be useful Dec 27 12:09:40 doesn't need the seperate plug -> normal plug thing too Dec 27 12:09:48 yes Dec 27 12:10:12 littlr expensive though Dec 27 12:10:16 yeah Dec 27 12:10:33 or a cheaper trust Dec 27 12:10:42 hehe - google for "battery powered slug" and the #1 link is about the nslu2, but the blurb below it, to someone who didn't know, would be quite disturbing Dec 27 12:11:05 haha Dec 27 12:11:46 ;o) Dec 27 12:12:27 oh, i overclocked mine today Dec 27 12:12:58 yup Dec 27 12:13:11 not that thats anything amazing nowadays, but still, i'm pretty pleased with it :) Dec 27 12:13:15 just as fast as my laptop now :x Dec 27 12:13:18 I bought it and b4 running the slug I cut the resistor Dec 27 12:13:31 i had to pluck up the courage to cut it Dec 27 12:13:38 yup Dec 27 12:13:41 i didn't want to break my new slug :P Dec 27 12:13:44 Me too Dec 27 12:13:57 The wires are so small Dec 27 12:14:00 yeah Dec 27 12:14:08 http://home.littlewhitey.com:8000/phpsysinfo :) Dec 27 12:14:34 nice Dec 27 12:14:46 what are u using to get the stats in a website? Dec 27 12:15:07 phpsysinfo Dec 27 12:15:09 ? Dec 27 12:15:17 yeah Dec 27 12:15:25 and i'm using thttpd as the web server :) Dec 27 12:15:45 when I installed apache /php/mysql I installed Land Down Under Dec 27 12:15:59 It's a cms and it was running like a charm! Dec 27 12:16:04 nice :) Dec 27 12:16:39 i need to do something about the ram on my slug, 96% in use Dec 27 12:16:48 yup Dec 27 12:16:48 and i'm not going to risk soldering on more ram Dec 27 12:16:59 I wanted to install xmail Dec 27 12:17:06 but never came to it Dec 27 12:17:16 why didn't you? Dec 27 12:17:23 now I think I have to start all over Dec 27 12:17:35 because my little girl pulled the powercord Dec 27 12:17:47 and now my hd is seen as not formatted Dec 27 12:17:49 :( Dec 27 12:18:09 adn I have to backup about a 100 GB first Dec 27 12:18:24 Caplink?? Dec 27 12:18:29 at last ;o) Dec 27 12:18:40 i pulled the power on mine earlier :x Dec 27 12:18:49 and without probs? Dec 27 12:19:10 the hard drive adapter kinda fell off the drive, there was still power going to it Dec 27 12:19:14 but the hard drive span down Dec 27 12:19:19 it seems to be working though Dec 27 12:19:33 lucky! Dec 27 12:19:42 yeah :p Dec 27 12:19:48 Caplink ...still not around? Dec 27 12:19:54 why does the nslu2 say that anyway? Dec 27 12:20:02 if you lose power Dec 27 12:20:13 say? Dec 27 12:20:16 what? Dec 27 12:20:29 when it says 'not formatted' Dec 27 12:20:37 if it loses power Dec 27 12:20:46 dunno Dec 27 12:21:03 The filesystem is corrupt Dec 27 12:21:17 :/ Dec 27 12:21:26 u could say that! Dec 27 12:21:38 I am having big troubles here Dec 27 12:22:01 and my linux knowledge is too ....... Dec 27 12:22:03 bad Dec 27 12:22:08 is the word Dec 27 13:10:02 morning Dec 27 13:10:12 evening Dec 27 13:10:18 ~ugt Dec 27 13:10:19 rumour has it, ugt is Universial Greeting Time. Created in #mipslinux, it is a rule that states that whenever somebody enters an IRC channel it is always morning, and it is always late when the person leaves. The local time of any other people in the channel, including the greeter, is irrelevant. Dec 27 13:10:39 Boomcar, ping ? Dec 27 13:10:48 me irrelevant? pft Dec 27 13:10:53 ;-) Dec 27 13:11:09 one customer after the other, and one at each time ;) Dec 27 13:11:11 but i shall remember that caplink811 Dec 27 13:11:34 next one please... Dec 27 13:11:49 Lunar_Lamp, why do you hate the slug? Dec 27 13:11:55 i don't Dec 27 13:11:58 he hates me Dec 27 13:12:34 (or she, or it, depending on your penchent for gender designation) Dec 27 13:12:39 * Lunar_Lamp shakes his fist in the general direction of his slug, his computer, and the internet <- negative feedback, that it is Dec 27 13:13:03 do you installed ldconfig package? Dec 27 13:13:44 # ipkg install ldconfig Dec 27 13:13:44 Package ldconfig (2.2.5-1) installed in root is up to date. Dec 27 13:13:44 Configuring libipkg0 Dec 27 13:13:44 ldconfig: No such file or directory Dec 27 13:13:44 postinst script returned status 127 Dec 27 13:13:45 ERROR: libipkg0.postinst returned 127 Dec 27 13:13:47 Nothing to be done Dec 27 13:15:20 Lunar_Lamp, what is in your PATH Variable, enter ->echo $PATH pls, and regard the lower/uppercase Dec 27 13:16:00 # echo $PATH Dec 27 13:16:00 # Dec 27 13:16:03 bah Dec 27 13:16:24 the result is: /sbin:/bin:/usr/sbin:/usr/bin Dec 27 13:16:26 a little less Dec 27 13:16:43 didn't let me paste it as it began with a / Dec 27 13:17:05 hm, try -> export PATH=:/opt/bin:/opt/sbin:$PATH Dec 27 13:17:22 ok Dec 27 13:17:24 done that Dec 27 13:17:27 use a double slash at the beginning of the line, that works Dec 27 13:17:40 yeah - i know Dec 27 13:17:48 i haven't used irc for ages - been 3months without the net Dec 27 13:17:49 Lunar_Lamp, enter ->echo $PATH pls,and post the output once more time Dec 27 13:18:08 :/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin Dec 27 13:18:23 (note, preceding colon is in place, whereas it was not previously) Dec 27 13:18:28 looks better now, maybe that ipkg install ldconfig now runs without errors Dec 27 13:18:51 :-o Dec 27 13:18:52 it did Dec 27 13:18:56 what did you just do there?! Dec 27 13:20:12 the PATH variable described the directories where the system search executables, all optware packages are installed under /opt, which is normally not in the PATH variable, so we extended the variable, or the search path Dec 27 13:20:31 now,m we should make then changes persistent Dec 27 13:20:44 yes, that would be nice :-) Dec 27 13:20:54 id like my slug to be very persisten Dec 27 13:20:56 t Dec 27 13:21:18 1st, all systemwide preferences are stored in a file /etc/profile Dec 27 13:21:50 2nd, all userwide preferences are stored in the homedir of that user in a file .profile Dec 27 13:22:13 erm Dec 27 13:22:22 i don't have a "profile" in /etc Dec 27 13:22:38 that makes it easier Dec 27 13:22:58 a you familar with vi ? Dec 27 13:23:08 s/a/are/g Dec 27 13:23:09 yeah - not 100% fluent - but i can do basic editing Dec 27 13:24:20 morning Dec 27 13:24:27 then you should add this http://pastebin.com/480653 to /etc/profile Dec 27 13:24:47 and logout and login Dec 27 13:24:56 Boomcar, morning Dec 27 13:25:01 logout and login of the telnet session? Dec 27 13:25:25 also - is it possible to use that same file to default telnet to on? Dec 27 13:25:39 I patiently wait until you are done helping LunarLamp Dec 27 13:25:43 ;o) Dec 27 13:25:48 sorry Boomcar! Dec 27 13:25:58 np Dec 27 13:26:21 Got time enough ;o) Dec 27 13:27:00 /etc/profile is read every time a user login, and after this, the shell searches for homedir/.profile and read this too (if exist) Dec 27 13:27:24 ah ok Dec 27 13:27:53 and if you have bash as shell installed homedir/.bashrc is read as 3rd file Dec 27 13:28:22 Boomcar, do you have a running linux system? Dec 27 13:29:08 root Dec 27 13:29:11 gah Dec 27 13:30:56 suse live Dec 27 13:31:03 good enough? Dec 27 13:31:08 maybe Dec 27 13:31:12 oops Dec 27 13:31:20 Trying 192.168.2.77... Dec 27 13:31:20 Connected to 192.168.2.77. Dec 27 13:31:20 Escape character is '^]'. Dec 27 13:31:20 Slug login: root Dec 27 13:31:20 Password: Dec 27 13:31:20 BusyBox v0.60.4 (2004.07.01-03:05+0000) Built-in shell (ash) Dec 27 13:31:22 I am walking to the box now Dec 27 13:31:23 Enter 'help' for a list of built-in commands. Dec 27 13:31:24 [\u@\h \W]$ echo $PATH Dec 27 13:31:26 do you have the slug dik connected to your box? Dec 27 13:31:27 /opt/sbin:/opt/bin:/opt/local/bin:/sbin:/bin:/usr/sbin:/usr/bin Dec 27 13:31:33 it works caplink811, in case you were curious :-) Dec 27 13:31:38 nope Dec 27 13:31:45 just the hd Dec 27 13:32:12 should be "slug disk connected.." Dec 27 13:32:33 can't that be from a windows box? Dec 27 13:32:39 ah Dec 27 13:32:40 np Dec 27 13:32:51 I will fire up the slug Dec 27 13:32:58 stop Dec 27 13:33:18 stop? Dec 27 13:33:26 just came back ;o) Dec 27 13:33:28 what i mean is/was please connect the disk (which is damaged) to your running suse pc Dec 27 13:33:40 It was....is Dec 27 13:33:44 still is Dec 27 13:34:15 open a command shell as user root, pls Dec 27 13:34:43 how can I tell I am root Dec 27 13:34:52 It just booted into this shell Dec 27 13:34:56 :DD Dec 27 13:35:11 don't know suse live, but usual, open a shell window and enter su - Dec 27 13:35:12 Boomcar: type whoami Dec 27 13:35:26 and it should say what user you are Dec 27 13:35:32 root Dec 27 13:35:34 ! Dec 27 13:35:36 :) Dec 27 13:35:44 k whitey Dec 27 13:36:02 1 down ....a 100 to go ;o( Dec 27 13:36:19 [20:36:43] [whitey|nslu2 VERSION reply]: BitchX-1.1-final+ by panasync - Linux 2.4.22-xfs : Keep it to yourself! Dec 27 13:36:22 heh Dec 27 13:36:41 hehe Dec 27 13:36:54 Alright Caplink... Dec 27 13:37:38 Boomcar, so you're root, then use -> fdisk -l (small L) /dev/sda which should show you the 3 partitions of your slug disk Dec 27 13:38:11 sda 1, 2 and 5 Dec 27 13:38:29 fat32??????????? Dec 27 13:38:34 they're fat32? Dec 27 13:38:34 wrong disk Dec 27 13:38:39 ah Dec 27 13:38:59 its sda1 Dec 27 13:39:13 its 30 gb Dec 27 13:39:17 wrong disk Dec 27 13:39:55 afair, i ask you about scsi devices in your pc. Dec 27 13:40:06 nope Dec 27 13:40:19 just sata Dec 27 13:40:30 sh*, thats nearly equal Dec 27 13:40:39 mmm Dec 27 13:40:40 how much of them? Dec 27 13:40:43 1 Dec 27 13:40:48 2 partitions Dec 27 13:41:08 so, try fdisk -l /dev/sdb pls Dec 27 13:41:21 nothing Dec 27 13:41:26 so, try fdisk -l /dev/sdc pls Dec 27 13:41:27 just a blank line Dec 27 13:41:34 same Dec 27 13:41:38 I did mount Dec 27 13:41:42 and I see Dec 27 13:41:45 last line: Dec 27 13:41:54 (caplink811 - the directory that is now my default directory when i log in - is that the one i should install files to be served into?) Dec 27 13:42:21 usbfs on /proc/bus/usb type usbfs (RW) Dec 27 13:44:40 Boomcar, try ->cat /proc/partitions Dec 27 13:45:36 only my hd in the pc Dec 27 13:45:42 Lunar_Lamp, have you changed the passwd file before, to define your login directory? Dec 27 13:45:58 nope Dec 27 13:46:07 Boomcar, ok, then we must search -> fdisk -l /dev/sdd Dec 27 13:46:18 the file you told me to update - those changes have altered my login directory Dec 27 13:46:32 blank line Dec 27 13:46:38 i'm not really bothered - providing it's a useful directory (contains zilch atm) Dec 27 13:47:15 Boomcar, try sde to sdh please Dec 27 13:48:07 blanks Dec 27 13:48:27 Should I boot ubuntu? Dec 27 13:49:50 nope, just unplug the disk, and then plug it in once more, and then use -> dmesg and post the last 20 lines or so to www.pastebin.com Dec 27 13:50:13 ow no Dec 27 13:50:17 Big mistake Dec 27 13:50:26 I daren't tell u Dec 27 13:50:31 use the power, Boomcar Dec 27 13:50:32 the disk was off Dec 27 13:50:38 ;PPP Dec 27 13:50:46 its booting now Dec 27 13:50:50 sorry Dec 27 13:50:51 * Lunar_Lamp cheers Dec 27 13:51:09 Boomcar - that made me feel much less out of my depth! Dec 27 13:51:34 you set me on the wrong foot by telling me to boot the slug Dec 27 13:51:44 I instanly shut down the hd Dec 27 13:52:01 now fdsisk -l what sda1? Dec 27 13:52:39 Did that: Dec 27 13:52:45 at least fdisk -l /dev/sdb because /dev/sda is your sata hd Dec 27 13:53:07 4 partitions are not ending on a cilinder boundary?!?! Dec 27 13:53:31 sdb1 Dec 27 13:53:37 it is! Dec 27 13:53:41 190 GB Dec 27 13:53:43 ;o) Dec 27 13:53:49 3 parts Dec 27 13:53:54 1,2,3 Dec 27 13:53:58 k Dec 27 13:53:59 3 is swap Dec 27 13:54:14 and 1 and 2 should type linux Dec 27 13:54:23 I really am ashamed that the hd was off Dec 27 13:54:31 1,2 are linux Dec 27 13:54:39 we are all human beings Dec 27 13:54:46 thnx Dec 27 13:54:51 at least most of us Dec 27 13:54:58 hehe Dec 27 13:55:00 capbot , hi Dec 27 13:55:01 hello, caplink811 Dec 27 13:55:01 ok Dec 27 13:55:09 ~botsnack Dec 27 13:55:09 thanks, caplink811 Dec 27 13:55:13 now? Dec 27 13:55:53 fsck? Dec 27 13:56:12 Boomcar, now, enter -> fsck.ext3 -f -p /dev/sdb2 Dec 27 13:56:48 ready Dec 27 13:57:06 hello human people Dec 27 13:57:10 and capbot :D Dec 27 13:57:11 0.0% continiguous Dec 27 13:57:16 lol Dec 27 13:57:40 Boomcar, now, enter -> fsck.ext3 -f -p /dev/sdb1 Dec 27 13:57:58 Mika_, :) Dec 27 13:58:39 block bitmsp for group 384 is not in group Dec 27 13:58:45 * caplink811 is back in 3 minutes, running out of drugs Dec 27 13:58:59 unexpected inconsistence: run fsck manually Dec 27 13:59:30 bitmap* Dec 27 14:03:38 Boomcar, now, enter -> fsck.ext3 -y /dev/sdb1 Dec 27 14:04:04 can work, or can't, dunno Dec 27 14:04:15 its running Dec 27 14:04:44 I see something coming up: fixed Dec 27 14:04:44 somebody a hint for telnet on the slug ? Dec 27 14:04:57 Mika_ - what you want to know? Dec 27 14:05:01 don't I need to manually enter Y? Dec 27 14:05:21 -y Assume "yes" to all questions Dec 27 14:05:29 Thought so Dec 27 14:05:31 if it is porsble to do telnet from the slug to a other pc Dec 27 14:05:50 Mika_, it is just install inetutils Dec 27 14:06:13 I guess this is going to take a while?! Dec 27 14:06:13 interesting idea Mika_ , though i must ask why you would want to Dec 27 14:07:06 Lunar_Lamp, because i have a pc with no ssh only telnet so then is it easy to do ssh over te internet to the slug and from there telnet to that pc Dec 27 14:07:10 Caplink, when this has finished what do I do? Dec 27 14:07:16 thx caplink811 :D Dec 27 14:07:26 connect the hd to the slug and boot? Dec 27 14:07:29 hehe - nice work around! :-) Dec 27 14:07:37 pray to the lord ?!? Dec 27 14:07:49 hehe Dec 27 14:07:52 serious Dec 27 14:08:08 and find something to do for the 5mins whist it's booting other than stare at the lights and seriously believe they are going much slower than usual Dec 27 14:08:10 Attach the disk and reboot? Dec 27 14:08:32 Boomcar, yes Dec 27 14:08:41 bb in 5 minutes Dec 27 14:08:42 First the slug? Dec 27 14:09:24 caplink811, did u see a lot of updates for the slug (miau ssh) Dec 27 14:16:12 in the case of ssh, this seems a mirror of the upstream version change, but miau is still 0.53, -12 may contain some little changes Dec 27 14:17:08 mmmmmm about 1 milion messages are flowing by.... Dec 27 14:17:33 stay cool.. Dec 27 14:17:51 tremblin' Dec 27 14:17:55 when the messages stop is when you start to worry Dec 27 14:17:59 Mika_, if you want to know what changed en detail, then you can take a look at http://cvs.sourceforge.net/viewcvs.py/nslu/unslung/make/ Dec 27 14:18:27 ok thx... su upgrade was not need ? Dec 27 14:18:34 hi all Dec 27 14:18:48 hi bazz-_ Dec 27 14:18:53 hi bazz-_ Dec 27 14:19:14 stay Dec 27 14:19:28 stay ?? Dec 27 14:20:06 stay = wait?? Dec 27 14:20:08 i think he's talking to his dog ;) Dec 27 14:20:18 or girl Dec 27 14:20:29 has anyone tried lighttpd? Dec 27 14:20:44 nope just apache Dec 27 14:21:03 it's meant to be really light on resources, hence the name :p Dec 27 14:21:17 at the moment i'm using thttpd Dec 27 14:21:54 Caplink: finished Dec 27 14:21:54 thttpd is nice i think Dec 27 14:22:14 should I check something first or just reattach it to the slug? Dec 27 14:22:24 in my eyes it is beter on the slug then apache what i try before Dec 27 14:22:28 But I wanted php/mysql Dec 27 14:22:46 and for what I've heard apche is the best thing for that combo Dec 27 14:23:07 and it ran like a charm! Dec 27 14:23:14 fast and reliable Dec 27 14:23:29 php is working with thttpd but mysql i have no idea Dec 27 14:24:07 when it is...I would try it Dec 27 14:24:41 the httpd has nothing to do with the sql server Dec 27 14:24:44 I had Land Down Under running (a cms) and it was fast Dec 27 14:24:54 php has Dec 27 14:24:58 if php is compiled with (my)sql support, it will work Dec 27 14:25:05 atm you wish you have land down under running Dec 27 14:25:21 I had Dec 27 14:25:22 k, lets try to boot slug with disk Dec 27 14:25:28 wwwwwwwww Dec 27 14:25:32 exiting Dec 27 14:25:48 ic Dec 27 14:25:48 exciting or exiting as in taking an exit :p Dec 27 14:26:14 c Dec 27 14:26:18 slug first? Dec 27 14:26:35 no, the whole fun Dec 27 14:26:51 booting with disk attached Dec 27 14:26:58 and we'll see Dec 27 14:27:13 or doesnpraying Dec 27 14:27:17 praying Dec 27 14:27:20 still Dec 27 14:27:24 .. Dec 27 14:28:00 still no beep Dec 27 14:28:54 Boomcar, as Lunar_Lamp mentioned above, make something other for the next 5 minutes ;) Dec 27 14:29:22 no beep Dec 27 14:29:49 Boomcar - trust me - whenever you do something that has any significance, it takes an age longer to boot Dec 27 14:29:49 not beeping' Dec 27 14:29:50 wait Boomcar Dec 27 14:29:56 i installed miau and rebooted Dec 27 14:30:00 and it took aaaages to beep :p Dec 27 14:30:20 ok Dec 27 14:30:25 sweating then Dec 27 14:31:24 you should change your deo, if it screwed up .) Dec 27 14:31:29 is it hot in here? Dec 27 14:31:47 * Lunar_Lamp starts singing "it's getting hot in here" Dec 27 14:31:55 so take off all your clothes? :X Dec 27 14:32:01 wow Dec 27 14:32:02 i wasn't going to... Dec 27 14:32:04 lol Dec 27 14:32:05 my wife has Dec 27 14:32:09 don't complain Dec 27 14:32:12 well don't start complaining Dec 27 14:32:15 :D Dec 27 14:32:29 should I choose the slug or my wife? Dec 27 14:33:44 on that question you should consult your wife Dec 27 14:34:21 Boomcar - if your wife is standing there naked and you are thinking of the slug - leave now - or you will be never redemable in the geekness stakes Dec 27 14:34:25 Hangon darling....hold that thought ;) Dec 27 14:34:32 ok, back on topic, Boomcar what is the status of the hd led in the slug, stable green or flickering? Dec 27 14:34:48 flickering Dec 27 14:35:57 Isn't this very long? Dec 27 14:35:59 very very? Dec 27 14:36:27 mine took about 15 minutes earlier Dec 27 14:36:31 k Dec 27 14:36:39 and i was panicing too :p Dec 27 14:36:41 that's a relief Dec 27 14:36:51 I understand nwo... Dec 27 14:36:52 if the slug run its own fscheck, then it isn't (on a 180 GByte Partition) Dec 27 14:36:55 now* Dec 27 14:37:11 ic Dec 27 14:38:09 ok Dec 27 14:38:14 have to go Dec 27 14:38:20 leave it on overnight Dec 27 14:38:26 and then you can wake up to find it working :D Dec 27 14:38:28 or a divorce is not out of the Dec 27 14:38:32 question Dec 27 14:38:41 tomorrow I will let u know Dec 27 14:38:43 c ya Dec 27 14:38:44 bye Dec 27 14:39:04 * littlewhitey` compiles lighttpd Dec 27 14:39:20 * Lunar_Lamp sits down to read documentation on mt-daapd Dec 27 14:39:26 whats that? Dec 27 14:39:39 itunes server for the slug Dec 27 14:39:44 ooh, cool Dec 27 14:39:53 i want to know if i want to use itunes server, or one of the others Dec 27 14:40:07 there seems to be about 4 options Dec 27 14:40:14 and i can't work out what's the difference between them all Dec 27 14:41:17 * caplink811 thinks, that Boomcar prefers his wife, but was this the right choice? Dec 27 14:41:51 wife > computers everytime, or the wife refuses to bootup after a while Dec 27 14:43:42 then it is time for an upgrade to gf1.1 Dec 27 14:56:32 hey caplink811, is there something that changes my passwd file back when I restart the slug? Dec 27 14:56:42 I restarted it and my changes were gone Dec 27 14:57:02 depends on which file you have changed Dec 27 14:57:10 I used the passwd command in ssh Dec 27 14:57:19 that is sh* Dec 27 14:57:32 ? Dec 27 14:57:49 change /share/hdd/data/etc/passwd Dec 27 14:57:58 hmm, where is it written where make install installs to? Dec 27 14:58:02 nearly Dec 27 14:58:06 I also added some users Dec 27 14:58:09 I think they got removed also Dec 27 14:58:12 i want to change where lighttpd installs to :p Dec 27 14:58:21 change /share/hdd/conf/passwd Dec 27 14:58:30 or use the howto on the wiki Dec 27 14:58:54 k Dec 27 14:59:06 http://www.nslu2-linux.org/wiki/HowTo/ChangePasswordsFromTheCommandLine Dec 27 15:01:07 #!/bin/sh Dec 27 15:01:07 # Dec 27 15:01:07 # slugpasswd - change password on NSLU2 after an unslung disk is attached Dec 27 15:01:07 # Dec 27 15:01:07 # change password Dec 27 15:01:07 passwd $1 Dec 27 15:01:09 # Dec 27 15:01:11 # copy to unslung disk in port 1 Dec 27 15:01:13 cp /etc/passwd /share/hdd/conf/passwd Dec 27 15:01:15 # Dec 27 15:01:17 # Optionally change the /usr/local copy (not recommended for inexperienced users) Dec 27 15:01:19 cp /etc/passwd /usr/local/passwd Dec 27 15:01:21 so I use that script Dec 27 15:01:22 spam Dec 27 15:01:32 that is much better Dec 27 15:01:52 umm, it doesn't say where to put that script Dec 27 15:02:24 put it in /opt/sbin if /opt/sbin is in your PATH, or /sbin Dec 27 15:03:08 in what file Dec 27 15:06:29 may be my_passwd (don't forget to chmod 755) Dec 27 15:07:24 how exactly do you find pages like that in the wiki Dec 27 15:07:26 littlewhitey`, every optware package is installed under /opt (by definition and by makefile parameters) Dec 27 15:08:07 well, faq and howto index is a good starting point for muck questions Dec 27 15:08:15 nvm Dec 27 15:08:31 ~wtf nvm Dec 27 15:08:34 Gee... I don't know what nvm means... Dec 27 15:08:41 ~thanks Dec 27 15:08:41 pas de quoi, caplink811 Dec 27 15:08:53 caplink811: it isn't an optware package :p Dec 27 15:09:03 is it safe to let it install in the normal way? Dec 27 15:09:07 nvm = nevermind Dec 27 15:09:11 as it would on a desktop Dec 27 15:09:39 [\u@\h \W]$ ipkg install openssh Dec 27 15:09:39 Installing openssh (4.2p1-2) to root... Dec 27 15:09:39 Downloading http://ipkg.nslu2-linux.org/feeds/unslung/cr oss/openssh_4.2p1-2_armeb.ipk Dec 27 15:09:39 Installing openssl (0.9.7d-4) to root... Dec 27 15:09:39 Downloading http://ipkg.nslu2-linux.org/feeds/unslung/cr oss/openssl_0.9.7d-4_armeb.ipk Dec 27 15:09:41 Configuring openssl Dec 27 15:09:43 An error ocurred, return value: 2. Dec 27 15:09:47 Collected errors: Dec 27 15:09:49 Package openssh wants to install file /opt/bin/ssh Dec 27 15:09:52 But that file is already provided by package dro pbear Dec 27 15:09:54 Package openssh wants to install file /opt/bin/scp Dec 27 15:09:56 But that file is already provided by package dro pbear Dec 27 15:09:57 lol Dec 27 15:09:59 argh Dec 27 15:10:00 uninstall dropbear Dec 27 15:10:02 sorry Dec 27 15:10:04 that was meant for pastebucket Dec 27 15:10:04 ipkg remove dropbear Dec 27 15:11:17 also, if it takes AGES whilst generating the ssh keys, just wait :p Dec 27 15:11:17 it did for me Dec 27 15:12:41 thanks for that warning - it is taking ages Dec 27 15:18:34 http://www.nslu2-linux.org/wiki/HowTo/UseOpenSSHForRemoteAccess Dec 27 15:18:35 ok Dec 27 15:18:44 it talks about putty client key generation Dec 27 15:18:53 is that despite it generating keys during the ssh install Dec 27 15:18:54 ? Dec 27 15:19:53 it generate the hostkeys Dec 27 15:20:11 sorry - i know nothing about ssh, except i should use it over telnet Dec 27 15:20:24 instead of telnet Dec 27 15:20:49 sorry, yes, in that context i meant "instead of", "over" was ambiguoys Dec 27 15:20:50 encrypted, that is the benefit Dec 27 15:24:40 Lunar_Lamp, one things, it seems, isn't in the howto, 1st you have to point to your new homedir e.g. /root in /etc/passwd (aka /share/hdd/conf/passwd) Dec 27 15:25:48 when it says i need an ssh client for windows - do i need to set that up now? i don't have easy access to a windows pc atm Dec 27 15:26:36 and caplink811 - can you edit the wiki to reflect that ;-) Dec 27 15:27:07 you can do that later, but you must have a chance to copy your pub key to /root/.ssh/authorized_keys (or so) Dec 27 15:27:26 caplink811, that script has these two lines Dec 27 15:27:27 # Optionally change the /usr/local copy (not recommended for inexperienced users) Dec 27 15:27:27 cp /etc/passwd /usr/local/passwd Dec 27 15:27:34 should I put a # before that last line Dec 27 15:27:53 you can use ssh with name / pw just like telnet @lunar Dec 27 15:28:07 /usr/local/passwd is a backup file, what make sense to me Dec 27 15:29:00 I'm still not sure where to put this script, I checked my PATH, it is /opt/sbin Dec 27 15:29:06 but I don't know what file to put it in Dec 27 15:29:07 Lunar_Lamp, on the other hand, you can reflect your experience in the wiki by add something or change something ;) Dec 27 15:30:57 caplink811, the new miau is not working anymore so dont upgrade :) Dec 27 15:31:49 myself uses 0.54 (selfmade) for around a half year, so there is no reason for me, to do that, but thanks anyway Dec 27 15:32:14 selfmade ?? how ? :) Dec 27 15:32:27 native build on the slug Dec 27 15:32:44 did u make a ipkg from it ? Dec 27 15:33:03 moment i'll look at it Dec 27 15:33:18 ke Dec 27 15:34:28 Nimmit, make a new file, use your favourite editor, fill the content in, save it as e.g. /opt/sbin/my_passwd leave the editor, and at last, chmod 755 /opt/sbin/my_passwd, thats all Dec 27 15:34:46 k Dec 27 15:36:00 now I'll try it Dec 27 15:36:47 Mika_, receive my query? Dec 27 15:36:57 so it really didn't matter what file name I saved it to? Dec 27 15:37:19 yes Dec 27 15:37:27 Nimmit, as far as you can remember the name Dec 27 15:37:46 oh, so I use the command my_passwd now instead of passwd? Dec 27 15:38:26 ah Dec 27 15:38:28 I get it now Dec 27 15:39:54 that's pretty cool Dec 27 15:40:53 should I create a script like this for adduser also Dec 27 15:41:51 * Lunar_Lamp sighs - i think it might be time to suck it up and try and get ssh working Dec 27 15:42:03 but i'm not liking my chances Dec 27 15:45:54 hmm Dec 27 15:46:16 would you recommend i follow the instructions exactly? which requires me waiting for windows pc to free up? Dec 27 15:46:24 (for ssh) Dec 27 15:51:14 Lunar_Lamp, as Eiffel|afk mentioned above, you can run sshd with the possibility to accept user/password combinations too, or you can visit the openssh site, where is somewhere a howto "how to install ssh on a linux machine" with an example how to generate your private/public key pair, myself didn't know that anymore (just doing one time, month ago) Dec 27 15:52:06 right - well i'll try i guess Dec 27 15:54:38 hello. i'm new here to this channel. have had my nslu2 for about half a year. went unslung first but swapped to openslug two days ago. i have question though if anybody would be nice to maye help me... Dec 27 15:55:17 marceln, just ask, maybe someone have an answer Dec 27 15:55:36 marceln, sorry, wrong nick Dec 27 15:55:50 Masarin, just ask, maybe someone have an answer Dec 27 15:55:57 :P Dec 27 15:56:14 is anybody here running php loaded into apache as an module on openslug? i installed it via ipkg and i can run php from the command line. i can't find any apache-ready module though..hm. please? :-) Dec 27 15:57:46 install php-apache Dec 27 15:59:44 there's only two packages with php that i can download via ipkg and they are 'php' and 'php-dev'. installed the 'php' but alas, no module anywhere... Dec 27 16:00:31 :o Dec 27 16:00:57 http://ipkgfind.nslu2-linux.org/details.php?package=php-apache&official=&format= Dec 27 16:02:04 it's the unslung feed. i got openslug. Dec 27 16:02:12 worked like a charm on unslung before. :-) Dec 27 16:02:17 thanks anyway Dec 27 16:02:28 ah Dec 27 16:02:40 didn't see that you said that Dec 27 16:03:11 you could compile your own i guess Dec 27 16:03:34 yeah, guess i have to... Dec 27 16:03:54 Masarin, but before you could ask at äopenslug Dec 27 16:04:04 sorry, #openslug Dec 27 16:07:19 yeah, guessed the guys over there would maybe become be mad at me since the title on the channel says 'Developer (not end-user) discussion group...'. but it's worth a try. :-) Dec 27 16:08:31 Masarin, another way is - install debian on openslug Dec 27 16:12:58 ok. yeah, may consider it in the future. right now i'm trying to get a Hauppauge WinTV PVR USB2 to work in openslug but hit some problems on the way. i'll look into it. Dec 27 16:13:12 are you running any of the debian variants? Dec 27 16:17:22 Does anyone have some experience with iptables on the openslug? I'm having trouble with commands similar to: "iptables -A INPUT -p tcp --dport 515 -j REJECT" Dec 27 16:17:48 * Lunar_Lamp scratches head Dec 27 16:18:04 is it possible that installing ssh would stop me being able to use samba workgroup? Dec 27 16:18:20 i.e. i could browse to smb:/slug previously Dec 27 16:18:23 now i get an error Dec 27 16:18:59 going to "smb:/" tells me unale to find any workgroups - maybe due to firewall Dec 27 16:24:09 night all Dec 27 16:24:53 Masarin, pigpen:~# uname -a Dec 27 16:24:53 Linux pigpen 2.6.12.2 #1 Tue Sep 27 20:21:18 CDT 2005 armv5teb GNU/Linux Dec 27 16:25:59 Lunar_Lamp, imho, no Dec 27 16:26:04 ok Dec 27 16:26:08 that's what i thought too Dec 27 16:26:25 is smbd and nmbd running on the slug Dec 27 16:26:30 ok Dec 27 16:27:15 night, Lunar_Lamp... Dec 27 16:33:12 Based on what I see, I'm guessing I need a ./lib/modules/2.6.15/kernel/net/ipv4/netfilter/ipt_REJECT.ko file. No package provides that though. Dec 27 16:34:50 actually wait... kernel-module-ipt-reject does on the unslung Dec 27 16:46:37 wb Dec 27 16:46:51 grr Dec 27 16:46:55 right Dec 27 16:47:13 did you get me pasting the smdb and nmdb stuff showing it was running? Dec 27 16:48:10 in the output of ps -ef|grep mbd you should see smbd and nmbd Dec 27 16:48:57 i do Dec 27 16:50:55 did you restart the slug after the install of ssh? Dec 27 16:51:40 yes, i think so Dec 27 16:52:50 have you tried smb://slug in the last 5 minutes? Dec 27 16:53:03 yes Dec 27 16:53:10 and no success Dec 27 16:53:29 ? Dec 27 16:53:37 could not connect to host Dec 27 16:54:17 which samba do you use? linksys or smaba3.0 Dec 27 16:54:21 samba, grr Dec 27 16:54:34 er - how do i know? Dec 27 16:54:42 i haven't done anything with it Dec 27 16:54:46 it's just in suse Dec 27 16:55:02 on the nslu i mean Dec 27 16:55:02 i put files on with another xp pc on the network Dec 27 16:55:11 i don't know Dec 27 16:55:17 i didn't do anything with samba Dec 27 16:55:25 i don't remember enabling it at all or anything Dec 27 16:56:04 so the logfiles should be in /var/log/samba Dec 27 16:56:13 ls Dec 27 16:56:37 yep, log.smbd and log.nmbd Dec 27 16:57:06 ok Dec 27 16:57:07 weird Dec 27 16:57:12 ls Dec 27 16:57:14 gah Dec 27 16:57:24 [\u@\h \W]$ ls Dec 27 16:57:24 log.nmbd log.smbd log.smbd.old Dec 27 16:57:26 but Dec 27 16:57:41 [\u@\h \W]$ cat log.smdb Dec 27 16:57:41 cat: log.smdb: No such file or directory Dec 27 16:58:11 bah Dec 27 16:58:12 typo Dec 27 16:59:42 [2005/12/27 22:22:52, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404) Dec 27 16:59:42 ***** Dec 27 16:59:42 Samba name server SLUG is now a local master browser for workgroup WORKGROUP on subnet 192.168.2.77 Dec 27 16:59:55 thats at the end of the log.nmbd Dec 27 17:00:18 your local time is around 11:00 pm? Dec 27 17:00:25 midnight Dec 27 17:00:32 hmm Dec 27 17:00:33 wait a second Dec 27 17:00:37 how do i check uptime of the slug? Dec 27 17:00:49 with uptime :) Dec 27 17:00:53 or at least, when it was last booted Dec 27 17:01:04 [\u@\h \W]$ uptime Dec 27 17:01:04 uptime: No such file or directory Dec 27 17:01:06 :-p Dec 27 17:01:25 hmm Dec 27 17:01:27 well Dec 27 17:01:32 i'm bemused Dec 27 17:02:03 no, imho, you're in europe Dec 27 17:02:15 :-p Dec 27 17:02:18 i am, i am indeed Dec 27 17:02:54 one hour behind me, france, spain, Dec 27 17:03:11 im in UK :-) Dec 27 17:03:26 greenwich time, ok Dec 27 17:03:50 what is the slug time ? Dec 27 17:04:14 i believe it is gmt also Dec 27 17:04:16 but i shall check Dec 27 17:04:34 yep, the slug drifts heavy Dec 27 17:04:48 it's within a couple of minutes Dec 27 17:04:52 is that good enough? Dec 27 17:04:52 k Dec 27 17:05:24 yes, maybe it is a good thing to reboot the slug and wait for at least 12 minutes Dec 27 17:05:39 but Dec 27 17:05:56 before, can you ping the slug by name? Dec 27 17:05:59 12 minutes? Dec 27 17:06:04 you mean "ping slug"? Dec 27 17:06:08 yes Dec 27 17:06:46 no, i can't Dec 27 17:06:49 i can ping the ip Dec 27 17:06:53 not the "slug" Dec 27 17:07:25 hm, how should smb:/slug works ? if you don't have any nameresolution.. Dec 27 17:07:38 i don't know :-p Dec 27 17:07:41 or, a functional nameresolution Dec 27 17:07:50 how do i set it? Dec 27 17:08:11 what is your dns, your router, or your provider? Dec 27 17:08:23 my provider is plusnet Dec 27 17:08:44 thing is - samba worked earlier... Dec 27 17:08:53 at least - i was able to view folders on slug Dec 27 17:08:55 but, anything changed Dec 27 17:09:10 since then i think all i've done is uninstall dropbear and install sssh Dec 27 17:09:50 on your desktop you use linux, what kind, or brand? Dec 27 17:09:58 suse Dec 27 17:10:06 (10.0) Dec 27 17:10:42 there should be a file /etc/resolv.conf, if this exist, what is in it? Dec 27 17:11:15 search Belkin Dec 27 17:11:15 nameserver 192.168.2.1 Dec 27 17:11:23 (plus lots of commented stuff) Dec 27 17:11:43 so, i assume, your router is branded by belkin, with ip 192.168.2.1 Dec 27 17:11:48 yes Dec 27 17:12:41 in your router config there should be a page where you can assign ip adresses to names, or vice versa, where you should add 192.168.2.77 with name slug Dec 27 17:13:02 ok Dec 27 17:13:24 AHA Dec 27 17:13:45 192.168.2.3 Slug 00-13-10-CC-D2-26 Dec 27 17:13:51 the slug is on 77 now Dec 27 17:15:13 but i can;t find a place to edit that Dec 27 17:16:07 would a router restart work you think? Dec 27 17:17:31 irewall > Virtual Servers Dec 27 17:17:31 Dec 27 17:17:31 Dec 27 17:17:31 This function will allow you to route external (Internet) calls for services such as a web server (port 80), FTP server (Port 21), or other applications through your Router to your internal network. More Info Dec 27 17:17:38 is that of any relevance? Dec 27 17:17:53 nope, that isn't the right page Dec 27 17:18:32 This feature lets you set up a list of allowed clients. When you enable this feature, you must enter the MAC address of each client on your network to allow network access to each. More Info Dec 27 17:18:35 that's the one right? Dec 27 17:18:37 that is for inbound traffic Dec 27 17:19:06 if i is disabled, no Dec 27 17:19:30 seriously - i can't see an option Dec 27 17:20:15 would restarting the router reassign ips? Dec 27 17:20:20 on my router it is tcp/ip -> dns -> stations Dec 27 17:20:35 hm, your slug has a static or dynamic ip ? Dec 27 17:20:42 static iirc Dec 27 17:20:56 yes Dec 27 17:20:57 static Dec 27 17:21:18 if i click to obtain - it would resync with router i guess... Dec 27 17:21:38 what is the type of your router? Dec 27 17:22:13 wireless adsl router Dec 27 17:22:34 what?! Dec 27 17:22:41 my routers timezone is in US now Dec 27 17:22:45 that might be the issue? Dec 27 17:22:59 no, i don't think so Dec 27 17:24:06 on that page http://catalog.belkin.com/IWCatSectionView.process?IWAction=Load&Merchant_Id=&Section_Id=201576 which is it? Dec 27 17:25:15 no manuals on this page, forget it Dec 27 17:26:53 splitted personality Dec 27 17:27:05 bah Dec 27 17:27:06 heh Dec 27 17:27:40 well Dec 27 17:27:41 worryingly Dec 27 17:27:49 the dhcp client list doesn't show this computer Dec 27 17:27:55 after i reset Dec 27 17:29:08 this is weird Dec 27 17:29:17 i can ping 192.168.2.77 Dec 27 17:29:21 and i am connected to the net Dec 27 17:29:28 but my router doesn't know either exists Dec 27 17:29:30 btw, what happens, if you enter smb:/192.168.2.77 instead of smb:/slug ? Dec 27 17:29:57 :-o Dec 27 17:29:59 it works! Dec 27 17:30:02 so it's a name thing! Dec 27 17:30:11 bad name resolution Dec 27 17:30:23 (though i still don't like the fact that my router doesn't believe i exist) Dec 27 17:30:35 3 things Dec 27 17:31:33 1st your router is your name server (make sure that it is in the webinterface of the slug, 1st or 2nd admin page imho) Dec 27 17:32:04 Server Name Dec 27 17:32:11 at the moment i have "Slug" in there Dec 27 17:32:16 is that supposed to be the router ip? Dec 27 17:32:28 no, 1st dns Dec 27 17:32:47 sorry Dec 27 17:32:50 i don't understand Dec 27 17:33:21 http://192.168.2.77/Management/setup.cgi?next_file=lan.htm -> dns server primary Dec 27 17:33:37 ok Dec 27 17:33:38 found it? Dec 27 17:33:40 that's my routers ip in there Dec 27 17:33:44 ok Dec 27 17:35:06 2nd, there should be a possibility to assign machine names to ip adresses (or vice versa) in the config of your router (didn't found any manual at belkin.com, so i couldn't tell you) Dec 27 17:35:28 maybe a page dns or name server or name services Dec 27 17:36:43 3rd after each restart of your network, or of the slug you have to wait at least 12 minutes before the slug is visible (smb) in your network by name (this is the min, election time) Dec 27 17:37:04 ok Dec 27 17:37:05 why 12mins? Dec 27 17:37:15 defined by ms Dec 27 17:37:43 visible by ip-adress works before Dec 27 17:38:37 immediaetly Dec 27 17:39:59 so, you should be able to ping every machine in your home network by name from every machine to every machine, and then smb should work too Dec 27 17:41:05 there really appears to be nowhere to change ip-name Dec 27 17:41:19 well, i'm one our in front, its time to heading to bed now, have to work tomorrow, no, today Dec 27 17:41:35 ok, thanks for the help Dec 27 17:41:43 hopefully in 12mins it will all be working :-/ Dec 27 17:42:31 np, if your router couldn't do that there are other possibilities, which can make a functional name resolution.. Dec 27 17:42:46 what are they? Dec 27 17:42:48 where can i get them? Dec 27 17:44:02 you can enter all ip - hostnames on each machine in a file /etc/hosts or %systemroot%/system32/drivers/etc/hosts in the format ip-adress name Dec 27 17:44:35 the %systemroot% is for windows i suspect? Dec 27 17:44:44 yes Dec 27 17:45:03 on *x it is /etc/hosts Dec 27 17:45:21 so, in windows, i create a text file that says "192.168.2.x NAME" Dec 27 17:45:36 and in linux, i just use vi /etc/hosts Dec 27 17:45:37 on my slug it is something like that Dec 27 17:45:39 [root@linus etc]$ cat hosts Dec 27 17:45:39 127.0.0.1 localhost localhost.localdomain Dec 27 17:45:39 192.168.1.19 linus 192.168.1.19 Dec 27 17:46:00 on win it is equal, with the path/filename above Dec 27 17:46:03 do i need the localhost info? Dec 27 17:46:08 yes Dec 27 17:46:40 so i can copy and paste those settings, editing "linus" and the 192* ips to what i want? Dec 27 17:46:55 yes Dec 27 17:46:57 same file format in both windows and linux? Dec 27 17:47:07 on win Dec 27 17:47:09 sorry - i want to be clear before i mess around in windows Dec 27 17:47:22 192.168.1.19 linus LINUS Dec 27 17:47:26 works well Dec 27 17:47:35 that's all i need in windows? Dec 27 17:47:42 don't ask about the format Dec 27 17:47:43 and the file will be hosts.txt ? Dec 27 17:47:58 only hosts on all kind of machines Dec 27 17:48:08 ? Dec 27 17:48:18 filename is hosts Dec 27 17:48:38 how can i create a "file" on windows that is not any kind of file? Dec 27 17:49:13 use a real editor, e.g. textpad Dec 27 17:49:43 but when i save that - it will save as a text file won't it? Dec 27 17:50:14 just rename it Dec 27 17:50:19 ok Dec 27 17:50:20 thanks Dec 27 17:50:45 but, make sure, that you enter all machine ip's - names on all machines Dec 27 17:51:13 why on all machines? Dec 27 17:51:30 oh - you mean on each machine i have to list all other machines? Dec 27 17:51:37 yes Dec 27 17:52:02 so that your name resolutions works on the whole network Dec 27 17:52:04 hmm Dec 27 17:52:05 ok Dec 27 17:52:11 this is sounding slightly complicated now Dec 27 17:52:14 but fair enough Dec 27 17:52:15 however Dec 27 17:52:24 i don't understand why i could get smb from this pc earlier? Dec 27 17:52:26 and not now Dec 27 17:52:32 i'm off now, gnite all Dec 27 17:55:00 maybe, that is enough, when you try it on the slug first **** ENDING LOGGING AT Wed Dec 28 02:59:58 2005