**** BEGIN LOGGING AT Sat Sep 23 02:59:56 2006 Sep 23 07:39:38 Can anyone confirm that "ipkg files coreutils | grep df" only gives the man-page, and not the actual program? Sep 23 07:50:01 .nick rcobon Sep 23 07:50:56 hello. i have installed enhanced-ctorrent. i was wondering. 1 - Do downloads continue when I close putty (as I would expect) and 2 - How can I see the progress of those downloads? Sep 23 07:51:09 hello. i have installed enhanced-ctorrent. i was wondering. 1 - Do downloads continue when I close putty (as I would expect) and 2 - How can I see the progress of those downloads? Sep 23 08:01:49 can anyone answer my question please? Sep 23 08:24:19 rcobon: I don't think they will continue Sep 23 08:24:38 You will need to use screen for that Sep 23 08:25:36 so I the session closes, there is no way for me to find out the progress? Sep 23 08:25:42 *so if Sep 23 08:26:13 not if you aren't using screen Sep 23 08:27:22 http://www.slac.stanford.edu/comp/unix/package/epics/extensions/iocConsole/screen.1.html Sep 23 08:34:49 ah right, do you think rtorrent is a better solution? Sep 23 08:37:36 you'd need screen for that as well Sep 23 08:38:31 and I've heard that enhanced-ctorrent is much better than rtorrent (I haven't tried either of them...) Sep 23 08:42:29 ok cheers Sep 23 08:48:44 I've closed the putty session when downloadign via enhanced-ctorrent, and now there doesn't seem to be a process running?? Sep 23 08:49:27 that's what I've been trying to tell you. You need screen Sep 23 08:50:05 so I use the command screen, execute enhanced-ctorrent, then when I close, reopen, the screen is still running? Sep 23 08:50:30 rcobon: in case you close with shortcut ctrl+a+d Sep 23 08:50:46 detach the session so to speak Sep 23 08:51:52 ah ha, done it, thanks Sep 23 08:51:58 hey, drif, have you installed coreutils on your slug? Sep 23 08:52:19 yup Sep 23 08:52:27 how come? Sep 23 08:52:41 can you run "ipkg files coreutils | grep df" and tell me what that gives you? Sep 23 08:53:16 /opt/man/man1/df.1 Sep 23 08:53:53 isn't that weird? It installs the manpage, but not the program itself. Sep 23 08:54:18 it's already included? Sep 23 08:54:50 it resides at /bin/ Sep 23 08:54:58 yes, but only a crippled version of it Sep 23 08:55:10 I want support for -h Sep 23 08:55:27 well, then you need to look for it elsewhere Sep 23 08:55:31 than coreutils package Sep 23 08:56:16 not sure if such exists though Sep 23 08:56:49 the df we've got is from BusyBox, if I could get the df from coreutils I think I would get the -h option Sep 23 08:57:06 atleast the man-pages give you that impression Sep 23 08:58:56 I'm reading the makefile for coreutils, but can't see that it excludes df anywhere Sep 23 09:01:08 rcobon: rtorrent is an excellent solution. im loving it Sep 23 09:01:29 of course running with screen Sep 23 09:01:44 tobbe: you'd need fileutils I guess Sep 23 09:03:00 tobbe: http://www.gnu.org/software/fileutils/fileutils.html Sep 23 09:03:14 thanks :) Sep 23 09:03:24 but ofcourse there is no package for that :p Sep 23 09:04:08 "Fileutils, Shellutils, and Textutils have been combined into the GNU Coreutils package. All further development and discussion is now taking place as Coreutils." Sep 23 09:18:34 barnseenio - rtorrent just doesn't download anything for me, it attempts to connect to a number of peers, but nothing, even with ports opened on router, whereas enhanced-ctorrent seems to be ok (not very quick but ok) Sep 23 09:22:22 here's an easy question for someone (i hope), how do I get unslung to autocomplete filenames when pressing tab? Sep 23 09:22:42 you change your shell Sep 23 09:22:48 to something like bash Sep 23 09:22:57 do i do that in putty? Sep 23 09:23:36 you install it using ipkg and then you configure it Sep 23 09:24:42 I take it I configure it in /bin/bash? Sep 23 09:24:59 or opt/bin/bash Sep 23 09:25:15 http://www.nslu2-linux.org/wiki/Unslung/Bash Sep 23 09:32:42 at the moment the line reads:- root:AWucfm1um3Q.c:0:0:root:/root:/bin/sh so i take it i change the last /bin/sh to /opt/bin/bash ?? Sep 23 09:33:17 yes Sep 23 09:47:26 woohoo, that works. DOesn't execute the bashrc details as stated, but tab works Sep 23 09:48:40 did you remember to create the .bash_profile file? Sep 23 09:49:52 no, it didn't tell me anywhere to create this file, just the /opt/etc/bashrc and /root/.bashrc Sep 23 09:50:49 it even gives you an example of what it could look like... Sep 23 09:52:06 so it does, missed that bit. Adn it works a treat now, cheers for the infomation Sep 23 09:52:32 np :) Sep 23 10:22:24 got enhanced-ctorrent downloading at 150kB/s, quite impressed Sep 23 10:25:51 i'm looking for libsasl2.so.2 to run php, can only seem to find rpm's. We can't install these can we? (on unslung) Sep 23 10:26:12 i had that problem too rcobon Sep 23 10:26:57 i had utorrent running on a pc on my lan with upnp enabled, and it was screwing the router. unlikely its your problem .. but it made rtorrent stop Sep 23 10:27:49 im jealous of the 150kb, my isp traffic shapes, so rtorrent and ctorrent dont support encryption, and aare restricted to about 30kb Sep 23 10:28:05 damn...it seems debianslug have problems with nfs-streaming.....with deboras the streaming runs correctly Sep 23 10:39:19 how do i change the password for the web interface? Sep 23 10:39:31 atm it's "admin/admin" but i dont like that from a security perspective Sep 23 10:39:35 or is it not possible Sep 23 10:39:38 (using unslung) Sep 23 10:43:02 there's the user password -section Sep 23 10:43:12 type the user 'admin' and change it Sep 23 10:43:35 hmm Sep 23 10:43:38 i obviously missed that Sep 23 10:44:08 yes, i did, lol Sep 23 10:47:08 heh, well me too actually, didn't cross my mind until now to change it :) it's been admin/admin since I bought the slug 9 months ago or so Sep 23 10:47:52 hehe Sep 23 10:48:13 well, i opened up my router to forward http traffic to my slug to see what would happen Sep 23 10:48:25 then realised that if i left it open anyone would guess "admin/admin" and scrwe it up Sep 23 10:52:19 why would you allow access to the slug management interface from outside in the first place? Sep 23 10:53:12 well, i wasn't wanting to Sep 23 10:53:18 i was going to use it for an apache server Sep 23 10:53:25 just wanted to know what happened before i served any pages Sep 23 10:53:42 and saw that it was the web magagement pages obviously Sep 23 10:54:21 but it's also useful if the slug goes down or something, i can get someone on the network to open the port temporarily so i can access web management remotely if needed Sep 23 10:56:16 anybody there ? Sep 23 10:56:39 yup Sep 23 11:14:25 hmm Sep 23 11:14:30 how do i add a new user from the web interface? Sep 23 11:14:36 i can't find the section Sep 23 11:14:46 is it possible there is a bug in the web management? Sep 23 11:16:58 go to Administration, then Users, then see below Sep 23 11:17:09 that's what i thought :-d Sep 23 11:17:13 the web interface is a bit unintuitive imo Sep 23 11:17:15 :-s even Sep 23 11:17:46 the interface isn't right Sep 23 11:17:55 "below" i only have "name" and "comment" fields Sep 23 11:17:59 no password field Sep 23 11:19:35 also Sep 23 11:19:40 no "submit" kind of button Sep 23 11:23:31 are you using ffox ? Sep 23 11:24:09 opera Sep 23 11:24:17 reckon it should work better with IE? Sep 23 11:24:30 opera is quite buggy Sep 23 11:24:44 give it a try Sep 23 11:27:05 same :-s Sep 23 11:28:35 mine works with opera Sep 23 11:28:44 what version of unslung? Sep 23 11:28:48 i'm on 6.8 Sep 23 11:29:01 any ideas, every file I'm downloading via enhanced-ctorrent is showing as corrupt when running on xbox or windows pc. Am I doing something wrong? Sep 23 11:29:02 6.8 IIRC Sep 23 11:29:29 rcobon the files you're downloadING or the files you've downloaDED? :) Sep 23 11:30:37 downloaded, says file complete, then begins to seed. So I cancel out of the seeding, then try to open Sep 23 11:31:41 Jassovissovik I get such a screen with opera http://joga.daug.net/nslu.png Sep 23 11:31:48 files I've copied over appear on Sep 23 11:32:05 i don't get the bottom bit joga Sep 23 11:32:16 i only have the "name" and "comment field" Sep 23 11:32:18 nothing below Sep 23 11:37:51 does anyone had experience with synology here ? Sep 23 12:09:30 would "adduser" from the command line of the slug do the same thing as adding the user via web interface? Sep 23 12:11:28 (providing i set the home dir as /share/hdd/data/USER) Sep 23 12:19:28 is there any experimented user here ? Sep 23 12:20:16 Flubby: Why do you want to know? Sep 23 12:20:22 depends on the topic Sep 23 12:21:12 i got a syno rs406 (runs on some 'unkown' ppc busybox) Sep 23 12:21:27 cat /proc/cpu info says it's a ds101g+ Sep 23 12:21:43 i've managed to telnet, ssh, ipkg Sep 23 12:22:18 but; i'm trying to manage all users, groups from the command line, not from the synology's web interface Sep 23 12:22:55 unfortunatly i'm not able to install samba, becoz it requires some other libs that are not available thru ipgk Sep 23 12:23:08 tried to dl src, no cc present on the system Sep 23 12:24:16 Flubby: how much space (HD-size) does that thing have ? And do you have a link ? Sep 23 12:24:55 what do you call a 'link' ? Sep 23 12:25:09 A description from the manufactorer.. Sep 23 12:25:13 it has 4x SATA2 disks, Sep 23 12:25:19 yep, hold on Sep 23 12:25:57 http://www.synology.com/enu/products/RS406/index.php Sep 23 12:26:38 http://www.nslu2-linux.org/wiki/DS101/HardwareList (RS406 at the bottom) Sep 23 12:28:38 and you are still running the stockHW, right ? Sep 23 12:28:53 ... stockfirmware ... Sep 23 12:29:03 the one delivered with the box ? yep Sep 23 12:29:21 i don't know if i can install some other distro Sep 23 12:31:08 You can install debian. But you donīt have to. Which feed did you use to download the additional packages ? Sep 23 12:32:26 http://ipkg.nslu2-linux.org/feeds/optware/ds101g/cross/stable/ Sep 23 12:34:10 And which lib is missing ... ? Sep 23 12:34:53 for example, ipkg install samba requires 'openldap' Sep 23 12:36:57 hi guys Sep 23 12:37:16 hi Sep 23 12:37:18 I have a question about the embedded thttp server.. Sep 23 12:38:04 Flubby: you are right, that one is missing. go to the ds101-channel (#ds101-linux) and ask where they have put it. Sep 23 12:38:23 oki pumpkin Sep 23 12:38:29 mileuh: on which device and firmware. Sep 23 12:38:51 and for debian; can i just install it straight ? would it work with my box ? Sep 23 12:38:57 does it support ppc ? Sep 23 12:39:20 is it possible to change the default port for the management interface (80) to another one (i.e. 81)? Sep 23 12:39:20 firmware is V2.3R63-uNSLUng-6.8-beta Sep 23 12:39:47 flubby: the safe way: http://www.nslu2-linux.org/wiki/DS101/Debian Sep 23 12:41:04 when I change the website port from 80 to 81 in /etc/thttpd.conf, it returns to 80 every time I reboot Sep 23 12:42:29 pumpk: just read thru, it's kinda 'jail' (like on bsd) but is it permanent ? Sep 23 12:44:10 mileu: don't know unslug but there may be some init script that copies the original thttpd.conf back at boot time Sep 23 12:44:19 flubby: that does not change the firmware. If something goes wrong you just remove the disc debian is installed on and everythings back to normal. It is possible to tell the firmware: "always boot that disc" and make the chroot-jail look like a normal install. Sep 23 12:44:37 flubby: ok I'll investigate that - thx! Sep 23 12:45:38 pumpk: yop, hackin' firmware is kinda hard to me ... will try to put some init scripts that will run the jail at boot Sep 23 12:46:05 anyone knows if thttp support CSS ? Sep 23 12:46:11 but the thing is that i want to be able to access my raid array that's on the 'original' system Sep 23 12:46:34 css is not server specific ;) Sep 23 12:46:39 u mean ssi ? Sep 23 12:48:33 flubby: that is possible with a chrooted system. The firmware will provide the kernel (including all drivers you need for the raid). And you can mount the raid under /mountpoint-of-debian-disk/mnt/data => debian will see and use the disc. Sep 23 12:49:04 hm no no CSS :) my css stylesheets aren't applied when I launch my webpage from the slug -- it runs fine though if I launch it from somewhere else ... Sep 23 12:49:54 pumk: ok, thx dude, will try it now. Sep 23 12:49:56 mileuh: rename the files. thttpd has a nasty habit of blocking all extensions but ".html". Sep 23 12:52:40 pumpk: do you know any live cd based on debian that I can grab in order to compile the debian chroot ? Sep 23 12:53:17 for some reason the web interface to my slug won't allow me to add a user (the options are not present) - is it possible to add users from a ssh into the slug using "adduser" that will have the same effect? Sep 23 12:53:23 ubuntu should work... Sep 23 12:53:35 (i;m following: http://www.nslu2-linux.org/wiki/HowTo/SimpleHomeWebsite) Sep 23 12:54:06 do i need to specify a home folder at /share/hdd/data Sep 23 12:54:07 ? Sep 23 13:01:54 hmm Sep 23 13:01:58 i did "adduser" Sep 23 13:02:06 but it hasn't created the share folder Sep 23 13:02:51 \\192.168.2.6/website fails Sep 23 13:02:57 sharing folders is in smb.conf Sep 23 13:03:17 is that what i need to edit though? Sep 23 13:04:19 yep plus you need to create a smbpassword for that user Sep 23 13:04:39 but be sure to not give shell access to the user you just created Sep 23 13:04:45 smbpasswd 'username' Sep 23 13:05:30 where is smb.conf? Sep 23 13:06:29 # find / -name smb.conf Sep 23 13:06:30 find: Filesystem loop detected; `/share/flash/data' has the same device number and inode as a directory which is 3 levels higher in the filesystem hierarchy. Sep 23 13:06:42 ignore that Sep 23 13:07:25 but there are many smb.conf files Sep 23 13:07:58 is /etc/samba/smb.conf the one i want to edit? Sep 23 13:10:07 try to find which one is loaded at boot; usually in /etc/init.d/ or /etc/rc.d/ Sep 23 13:11:08 whereabouts in rc.d? Sep 23 13:11:15 er Sep 23 13:11:16 ignore that Sep 23 13:11:20 i missed rc.samba Sep 23 13:12:17 there is no smb.conf mentioned in there Sep 23 13:14:05 try : smbd -b | grep smb Sep 23 13:14:13 you should see the CONFIGFILE parameter Sep 23 13:14:38 ah Sep 23 13:14:39 thanks! Sep 23 13:15:13 though i have no idea how to edit it :-s Sep 23 13:15:44 vi, nano, joe Sep 23 13:16:05 lol Sep 23 13:16:07 i know how to use nano Sep 23 13:16:18 what i meant was, i don't know the conig syntax etc for the file Sep 23 13:16:29 do i just create a new user in the exact same way as other users are in there? Sep 23 13:16:37 [DISK 2] Sep 23 13:16:38 valid users=@"administrators",@"everyone" Sep 23 13:16:38 comment=For everyone Sep 23 13:16:38 path=/share/flash/data/public/ Sep 23 13:16:38 read only=yes Sep 23 13:16:38 write list=@"administrators",@"everyone" Sep 23 13:17:02 i.e. change that to "[WEBSITE]" and change the path? Sep 23 13:19:52 yep Sep 23 13:20:10 you can check at samba.org for millions of examples about shares Sep 23 13:21:03 and, following the guide at http://www.nslu2-linux.org/wiki/HowTo/SimpleHomeWebsite the path is going to be /share/hdd/data/website Sep 23 13:21:04 ? Sep 23 13:22:01 you have to know this; where is your website located Sep 23 13:22:25 i was going to be using my dyndns url to make it work Sep 23 13:22:33 and the website would just be in "a folder" Sep 23 13:22:44 and that folder would be the one specified in the guide Sep 23 13:59:05 hi, it seems that my slug has lost his ip address Sep 23 13:59:29 i'm working with debianslug since a few weeks Sep 23 13:59:46 the slug worked but now i cannot reach the box Sep 23 14:00:11 the disk is working while the boot process and if i start in upgrade mode the upgrade-tool can find the MAC address Sep 23 14:00:19 but the ip address seems to be changed Sep 23 14:01:00 mr_claus__ can you log into your router to find out what clients are attached to it? Sep 23 14:01:06 that;s how i find my slugs ip when it changes Sep 23 14:01:39 Jassovissovik: how i should login without the IP address? Sep 23 14:02:44 mr_claus__: the slug gets his IP-address from the DHCP-Server. The DHCP is usually inside your internet-router. Sep 23 14:03:20 pumpkin0: the dhcp-server is a linux-box inside of my network, the slug did not get an ip address, i checked the logfiles Sep 23 14:03:37 pumpkin0: i have set the ip address with the linksys tool before i changed to debianslug Sep 23 14:03:52 mr_claus__: plug all discs into another linux PC and fsck them. Sep 23 14:04:05 pumpkin0: ok Sep 23 14:04:46 mr_claus__: the slug does not have enough RAM to fsck a large disc. But it will try every X reboots or Y weeks if you donīt use tune2fs to switch that check off. Sep 23 14:05:10 pumpkin0: ohhhh Sep 23 14:05:15 pumpkin0: thats a hint, ty Sep 23 14:05:28 tune2fs? Sep 23 14:05:40 is that why it cane take a long time to boot up the slug? Sep 23 14:05:47 Jassovissovik: a tool to setup/manage ext3 partitions. Sep 23 14:05:53 Jassovissovik: oh, yes. Sep 23 14:06:35 is it not installed by default on unslung? Sep 23 14:07:11 Jassovissovik: fscking a full 200GB partition on a USB-drive takes 15 min on a 2 GHz desktop with 1 GB RAM. I guess on the slug it would take ... years. I have no idea what is installed on unslung... Sep 23 14:07:27 i.e. do i need to run tune2fs to keep the files system healthy then? Sep 23 14:07:39 pumpkin0: the best way is to switch it off and use ext3 Sep 23 14:08:06 Jassovissovik: no. you run fsck to keep it healthy and tune2fs to tell fsck how often it should check the disc. Sep 23 14:08:26 mr_claus__: erm... ext3 is fscked too. Sep 23 14:08:37 right Sep 23 14:08:49 pumpkin0: but it takes a short time Sep 23 14:08:58 mr_claus__: fsck -f ? Sep 23 14:09:00 but, as you said, fskc just isn't practical on the slug... so how do you keep the file system healthy? Sep 23 14:09:11 pumpkin0: with ext3 i have only to recover the journal Sep 23 14:09:21 pumpkin0: i don't have to fsck the disks Sep 23 14:09:43 mr_claus__: even that can be too much for the slug. Itīs a 32 MB RAM system... Sep 23 14:10:19 pumpkin0: a 200gb partition takes a few seconds with ext3 on a pc Sep 23 14:10:28 pumpkin0: it should be possible on the slug Sep 23 14:10:32 pumpk: jails just works fine ! is there a way to set up another ip address inside the jail that's different of the main one ? Sep 23 14:11:06 Jassovissovik: in normal operation (no power loss, no crashs, no defects on the HD) fsck is not needed. fsck is run every 30 reboots (mounts) to clean up leftovers from crashs. Sep 23 14:11:19 indeed Sep 23 14:12:07 mr_claus__: Do you know for sure how much RAM it takes to rerun the journal ? I know my slug cannot take it ... run fsck -f. It takes ages because the journal is rebuild in that case. Sep 23 14:12:48 pumpkin0: but the filesystems need some checks, how this could be handled? Sep 23 14:12:50 flubby: no, but you can tell the firmware to create 2 IP on the NIC. Sep 23 14:13:39 mr_claus__: ext3 only needs checks after several crashs. In that case: unplug and check on a normal linux box. Sep 23 14:13:49 pumpk: with ifconfig alias ? then givin' the jail the other ip ? Sep 23 14:14:30 flubby: yes. Sep 23 14:17:28 How can you see with hdparm your harddisk speed..i forget it Sep 23 14:17:57 hdparm -t /dev/sda Sep 23 14:18:29 Thx blaster8 Sep 23 14:20:27 hmm, i think there was a manual how to increase the memory up to 64mb Sep 23 14:27:10 mr_claus__: you can get 128MB RAM ... if you can solder SMD-DRAMs and modify APEX. Sep 23 14:28:38 hi I'm back - sorry I have been disconnected last time.. what was the tip already to make the css stylesheets to be applied with thttp? Sep 23 14:29:38 pumpkin0: is there a manual available? Sep 23 14:47:05 mr_claus__: http://www.nslu2-linux.org/wiki/HowTo/FattenYourSlug Sep 23 14:47:40 pumpk: jail just works fine ! managed to access the raid (after creating dev/md) Sep 23 14:48:00 pumpk: thanks a lot, and one last question; how to start the jail at boot time ? Sep 23 15:02:18 flubby: look at the scripts in /etc/init.d/ and /etc/rcX.d . These controll the startup. Wirte one for you jail, making sure it fails gracfuly if the jail is not ready. Sep 23 15:03:31 the question is : how to start the jail ? something like : nohup chroot chroottarget 2> /dev/null 1> /dev/null ? Sep 23 15:07:08 Re: fsck and small memory -- one possible solution is multiple swap devices. You may find you can fsck a very large partition if you permit the NSLU2 to swap temporarily on another device. Ideally another disk, but since it would only be infrequently, perhaps a USB flash device would suffice for the duration of the fsck. Sep 23 15:07:23 flubby: "nohup chroot /chroot -c /bin/init &" should boot the debian. But i wouldnīt use that. use "nohup chroot /chroot -c /bin/service-you-want &" (like sshd). That way the debian startup will not try something silly like installing new kernel modules or reconfiguering the network. Sep 23 15:07:42 pumpk: gotcha Sep 23 15:08:17 uhoh Sep 23 15:08:28 i can't get onto the web admin interface Sep 23 15:08:46 was playing around with this: http://www.nslu2-linux.org/wiki/HowTo/SimpleHomeWebsite Sep 23 15:08:54 Jassovissovik: can you ping the slug ? Sep 23 15:08:59 i can ssh into the slug Sep 23 15:09:15 Jassovissovik: is thttpd still running ? Sep 23 15:09:51 how do i check? Sep 23 15:09:59 ps aux Sep 23 15:10:09 root 338 0.0 2.9 2132 888 ? Ss 16:03 0:00 /usr/sbin/thttpd -C /etc/thttpd.conf Sep 23 15:10:09 ed 571 0.0 1.4 2668 448 ttyp0 S+ 16:15 0:00 grep thttp Sep 23 15:10:29 OK. now run "netstat -tnlp" Sep 23 15:10:43 i removed the files i created during the simple website guide btw when it didnt work; no fix Sep 23 15:11:22 # netstat -tnlp Sep 23 15:11:22 netstat: No such file or directory Sep 23 15:11:28 do i need to install it? Sep 23 15:11:53 do you have alinux-PC on that network (other then the slug ? Sep 23 15:12:08 no, but i can hook one up fairly quickly if needed Sep 23 15:12:28 ... do you have a windows box with putty ? Sep 23 15:12:48 yes Sep 23 15:13:01 i'm using it to ssh into the slug atm Sep 23 15:13:09 Or try: http://ip-of-your-slug:80 and http://ip-of-your-slug:81 . Any answers ? Sep 23 15:13:44 nothing Sep 23 15:13:45 just sits there Sep 23 15:15:29 What parts of the SimeplHomeWebSite-guide have you already done ? Sep 23 15:16:21 i did all of it Sep 23 15:16:25 but it didnt work Sep 23 15:16:51 and when i tried to access the web interface, i get nothing Sep 23 15:17:01 so i removed the thttpd-website.conf file Sep 23 15:17:04 and the S90 file Sep 23 15:17:10 and still not cigar Sep 23 15:17:12 You did reboot ? Sep 23 15:17:33 yeah Sep 23 15:17:41 i can try that again though Sep 23 15:18:11 ... try Sep 23 15:24:00 nope Sep 23 15:24:06 can ssh in thriugh Sep 23 15:27:18 the thttpd is still started ? And you did restore the original thhtpd.conf-file ? Sep 23 15:34:02 restore the original? Sep 23 15:34:04 it;s still there Sep 23 15:36:02 i have a linux box on the network now though Sep 23 15:36:29 Jassovissovik: run "nmap ip-of-the-slug" Any output ? Sep 23 15:37:27 nmap: command not found, so i'll have to install it on here Sep 23 15:37:36 install nmap. Sep 23 15:38:27 And add the parameter "-p1-65536" => "nmap -p1-65536 ip-your-slug-uses". That scan will take some time... Sep 23 15:38:56 i can ping the slug btw Sep 23 15:39:09 both through it's dyndns address and through it's network ip Sep 23 15:39:29 sorry, where do i add that parameter? Sep 23 15:39:34 oh Sep 23 15:39:37 i get you Sep 23 15:40:49 it tells me i cant scan ports about 65535 Sep 23 15:41:02 so should i just change to "-p1-65535"? Sep 23 15:41:56 ok Sep 23 15:42:00 done that with 65535 Sep 23 15:42:00 ups, typo. Sep 23 15:42:10 1 host scanned in 8.111 seconds Sep 23 15:42:10 and Sep 23 15:42:13 ports: Sep 23 15:42:32 22, 80, 139, 445, 631, 6667, and 6789 are open Sep 23 15:43:42 and IE doesnīt show something ? (80 is the web-server) Sep 23 15:44:08 :-o Sep 23 15:44:09 it does now Sep 23 15:44:22 but opera doesn't... Sep 23 15:44:29 i was using opera to browse there Sep 23 15:44:49 did you configure opera to block popup ? Sep 23 15:44:57 opera on my laptop (linux box) does go there Sep 23 15:45:00 opera on this windows doesn't Sep 23 15:45:07 i've gone there bfore on opera just fine Sep 23 15:45:39 empty the cache. opera has some strange caching policy if the server is not answering. Sep 23 15:47:05 hmm, still doesn't work... Sep 23 15:47:09 but well Sep 23 15:47:13 at least i know it's not been killed Sep 23 15:47:18 it;s a problem with windows opera Sep 23 15:49:29 restarted opera and it works Sep 23 15:49:38 annoying thing is, the website was probably working Sep 23 15:49:38 grr Sep 23 15:49:39 lol Sep 23 16:09:34 pumpkin0: ty Sep 23 16:26:06 hmm Sep 23 16:26:11 i can't get the website congif to wor Sep 23 16:26:38 i think it's to do with port 81 being closed Sep 23 16:26:45 despite the guide showing to point to there Sep 23 16:26:52 http://www.nslu2-linux.org/wiki/HowTo/SimpleHomeWebsite Sep 23 16:27:14 "nmap -p81 SLUGIP" from a linux box on the same network tells me the port is closed Sep 23 16:27:16 Jassovissovik: you need to tell thttp via itīs config file to use that port. Sep 23 16:29:02 i configd it exactly as per the guide Sep 23 16:30:02 Jassovissovik: run psaux. Are there 2 thttp-server now ? Sep 23 16:30:54 no Sep 23 16:31:17 start it with thttp -c /...your-config-file Sep 23 16:31:32 just "/usr/sbin/thttpd -C /etc/thttpd.conf Sep 23 16:31:39 or does that mean 2 are started? Sep 23 16:33:22 no, let it point to YOUR config file. Sep 23 16:34:09 sorry Sep 23 16:34:14 what i said was from ps aux Sep 23 16:35:25 run /usr/sbin/thttpd -C /...your-conf . if that does not start => bad config. Sep 23 16:35:51 it said "unknown user: website" Sep 23 16:35:59 but i set up the website user in the web interface Sep 23 16:36:26 can you upload that config somewhere soi can have a look ? Sep 23 16:36:57 :-o Sep 23 16:37:01 the website user has vanished Sep 23 16:37:33 so i;m recreating it Sep 23 16:43:05 http://pastebin.com/792678 Sep 23 16:45:42 Change that pidfile=/var/run/thttpd-website.pid into pidfile=/var/run/thttpd-website_2.pid Sep 23 16:46:08 and that user=website into user=nobody Sep 23 16:46:42 and then reboot the slug? Sep 23 16:47:02 retry to start your copy of thttp Sep 23 16:47:14 no error this time Sep 23 16:47:26 and 2 entries! Sep 23 16:47:28 \o/ Sep 23 16:47:55 and nmap shows a open port 81 ? Sep 23 16:48:14 There was an unusual problem serving the requested URL. Sep 23 16:48:33 yes, nmap shows open port Sep 23 16:48:55 So, the rest is setting the filerights and creating html... Sep 23 16:49:23 ok, just a question, if i reboot the slug now, will it come back to the same state it's currently in? Sep 23 16:49:39 i.e. startup script doesn't need altering to indicate the _2 Sep 23 16:49:41 ? Sep 23 16:51:49 Jassovissovik: you do need a startscript for your copy. Sep 23 16:51:57 S90website? Sep 23 16:52:14 yepp. Sep 23 16:53:44 S90website is JUST this, nothing else: Sep 23 16:54:05 /usr/bin/thttpd -C /etc/thttpd-website.conf Sep 23 16:56:19 What was the fsck option ? Sep 23 16:56:23 the website files i belive should be in "/share/hdd/data/website" but i have to be root (not even sudo) to get into /share/hdd/data Sep 23 17:06:15 I mean how can i fix a ext3 parition .. Sep 23 17:06:26 caplink811_log: i know you do know it Sep 23 17:12:37 http://www.nslu2-linux.org/wiki/FAQ/RepairingDiskErrors Sep 23 17:19:57 thx Sep 23 18:13:31 Jassovissovik: "chmod -R 0777 /share" <= BIG FAT WARNING: that enables everyone to do everything. Sep 23 18:14:38 pumpkin0, yes Sep 23 18:15:06 is that a good idea then? Sep 23 18:15:27 Jassovissovik: IMHO: no. But if will get your server online in no time. Sep 23 18:15:42 lol Sep 23 18:15:47 well, it can be used for testing i guess Sep 23 18:17:37 well, you were correct, it works Sep 23 18:19:47 has somebody in here ever used the antenna input of a pvrusb2 suscessfully ? Sep 23 18:20:24 pumpkin0, is there a way i can scale back those permissions to make things more secure? Sep 23 18:22:30 Jassovissovik: nope Sep 23 18:22:40 right Sep 23 18:22:50 so, er, what are the securty implications? Sep 23 18:23:16 i presume they'd need to get ssh access to do anything? Sep 23 18:23:54 Well,... all loged-in users can read write and execute these files. Sep 23 18:24:20 well, that's ok Sep 23 18:24:24 hmm Sep 23 18:24:25 i think Sep 23 18:24:53 i'll just have to make sure only the users i want can gain ssh access by using AllowUser of DenyUser settings in the sshconf Sep 23 18:25:13 ehm ... that includes users loged in via samba. Sep 23 18:25:25 or NFS.. or ftp. Sep 23 18:25:47 right Sep 23 18:25:55 but they have to be on the same network as the slug? Sep 23 18:26:01 yes. Sep 23 18:26:06 ok, that's something Sep 23 18:27:01 how would you alter the security setup then? Sep 23 18:27:05 if you were doing it? Sep 23 18:28:39 i would start with "chmod -R 0000 /share". Then find out in which group the user nobody is in. Sep 23 18:29:34 then call "chmod +x +r" on all directories. Sep 23 18:30:28 then set the group to a group is in nobody and enable r-access for that group. Sep 23 18:36:05 how do i fuind out which group nobody is in? Sep 24 00:06:49 Hi Sep 24 00:07:34 I'm having some problems with adding packages to my nslu2 which I installed unslung on it Sep 24 00:08:08 what;s the problem? Sep 24 00:08:55 cI can enable telnet on it but I can't get the package program to work to add packages Sep 24 00:09:33 ipkg I can't get to access Sep 24 00:10:34 are you logged in as root? Sep 24 00:10:54 and what do you mean "can't get to access"? Sep 24 00:10:54 I couldn't get into telnet with windows Sep 24 00:10:57 what's the error message? Sep 24 00:11:01 oh right Sep 24 00:11:07 you can't telnet in, but you've enabled telnet Sep 24 00:11:09 ? Sep 24 00:11:13 yes Sep 24 00:11:25 have you enabled telnet since you laste rebooted the slig? Sep 24 00:11:30 it resets each time you reboot Sep 24 00:11:48 just did that before going back to the yahoo group to read up more on it Sep 24 00:11:50 also, what error do you get? Sep 24 00:12:07 it times out and can't be reached Sep 24 00:12:45 ok Sep 24 00:12:52 are you using Putty? Sep 24 00:12:56 or the command line? Sep 24 00:13:03 and if the command line, what command are you using? Sep 24 00:13:12 command line from windows Sep 24 00:13:40 and I tried the telnet program that was included with windows Sep 24 00:14:21 you certain you have the correct ip address? Sep 24 00:14:27 have you tried checking with your router? Sep 24 00:14:46 yes I set the ip adress myself and the router shows it as well Sep 24 00:15:25 ok Sep 24 00:15:28 I can access my files on the external drive and I can access the left over part of the 512 mb usb flash drive Sep 24 00:15:34 and which port are you using? Sep 24 00:15:40 (for telnet) Sep 24 00:16:09 I was trying the port that was list for new install on the yahoo group Sep 24 00:16:24 20 i think? Sep 24 00:16:33 no, 23 Sep 24 00:16:41 the best place is prob not the yahoo group, but here: Sep 24 00:16:48 http://www.nslu2-linux.org/ Sep 24 00:16:48 aren't those ftp ports? Sep 24 00:17:12 that's the site I've been looking at for unslung Sep 24 00:17:26 got the firmware from there as well Sep 24 00:17:42 ah good good Sep 24 00:17:52 i'm pretty sure 23 is the default telnet port Sep 24 00:17:55 have you tried it? Sep 24 00:17:59 as i know that it worked for me Sep 24 00:18:01 maybe I should just save up and buy a mac Sep 24 00:18:24 lol Sep 24 00:18:26 nah Sep 24 00:18:34 ok, let me think Sep 24 00:18:41 sorry, i'm not exactly an expert Sep 24 00:18:57 it worked Sep 24 00:19:10 port 23 worked? Sep 24 00:19:12 :-D Sep 24 00:19:29 gues the other info on telnet was for before getting unslung installed Sep 24 00:19:37 yeah, probably Sep 24 00:19:49 23 is default telnet port i think Sep 24 00:20:02 probably the linksys engioneers did it on a non standard port dlivereyte Sep 24 00:20:08 er, "deliberately" Sep 24 00:20:59 well the root password I didn't change but can't log into root though Sep 24 00:21:22 root uNSLUng Sep 24 00:22:03 (both pre- and post-unsling, the telnet port remains the standard telnet port number...) Sep 24 00:23:53 lol it's not taking the password. is it cap sensitive? Sep 24 00:24:11 wildcat44g, yes Sep 24 00:24:12 or is hyper terminal a bad program to be using? Sep 24 00:24:38 it should be uNSLUng not UNSLUNG or unslung Sep 24 00:25:26 What do you mean by "the root password I didn't change" -- were you not prompted for a new root password when you performed the "unsling" step, or have you not yet gotten to that step? Sep 24 00:27:02 I changed the admin loging in the interface Sep 24 00:28:20 should I reset the entire slug to default settings and try again with the firmware? Sep 24 00:29:01 wildcat44g: I don't know what that means; if you are referring to the Linksys web gui, that is not the root password. What steps have you performed to date? Perhaps we can help figure out where it went wrong and provide a solution. Which firmware did you install? Sep 24 00:30:26 just installed unslung 6 firmware and that's it so far Sep 24 00:31:03 Ok. So you are booting up (without disks or USB devices of any sort), and trying to telnet into the NSLU2? Sep 24 00:31:55 I have a 200 GB HDD and a 512 mb flash drive on it so far Sep 24 00:32:10 Do you have the README that came with the firmware download? Sep 24 00:32:28 I should have it somewhere Sep 24 00:35:09 You MUST follow the steps in the readme - they are convoluted to some degree, but the complexity is driven by the fact that it is necessary to "side-step" around Linksys' design for the device in order to login to it. One very fundamental point is that the passwords (along with other info) is stored by Linksys on the disk(s) when they are formatted, and the passwords that Linksys writes are... Sep 24 00:35:11 ...known only to Linksys. Hence, in order to complete the "unsling" process, you need to follow a specific procedure in order to be able to telnet into the device using the passwords that were installed with the Unslung firmware... Sep 24 00:35:42 So, here's the outline of the process (the readme provides the specifics): Sep 24 00:35:52 a) flash the firmware (which you've already done) Sep 24 00:36:03 b) ensure the device is working Sep 24 00:36:37 c) reboot the device WITHOUT disks of any sort -- this ensures that the passwords in use are the known ones: uNSLUng Sep 24 00:36:47 d) telnet to the device, and login Sep 24 00:37:14 ok I'll reboot it and enable telnet again with nothing on it Sep 24 00:37:19 e) attach the disk to which you will be unslinging (after readiing the wiki article on how to select the proper port to use with Unslung 6.8) Sep 24 00:37:57 f) perform the unsling operation, which will prompt for the password you wish to use for the root account, and among other things, replace the Linksys passwords. Sep 24 00:38:26 (Note that you must remain logged into the device between steps d and f, or you must reboot without disks and try again) Sep 24 00:38:41 g) Once unslung, reboot (with the disk attached). Sep 24 00:38:57 h) telnet to the device, and login - this time using the password you have selected. Sep 24 00:39:10 i) Done - the basic unslung sequence is completed. Sep 24 00:39:45 As I said - somewhat convoluted, but necessary as we cannot (will not) crack the Linksys password. Sep 24 00:39:53 Good luck! :) Sep 24 00:42:20 I guess I might need to read up more on linux as well since it might help out a little Sep 24 00:42:31 I'm in with no drives attached Sep 24 00:44:36 would using the flash drive be the best drive to unsling to? Sep 24 00:46:09 check the readme Sep 24 00:46:14 on the wiki pages Sep 24 00:46:17 it goes through the details Sep 24 00:48:56 There are many considerations involved in choosing which device to unsling to, and which port to plug the chosen device into... http://www.nslu2-linux.org/wiki/Unslung/WhichUSBPortforUnslung6 and just in case: http://www.nslu2-linux.org/wiki/Unslung/KnownProblems Sep 24 00:51:22 Hi, I'm trying to compile ixp400 on a debian installation for nslu2 with kernel 2.6.17 Sep 24 00:51:48 I'm running into trouble with the compilation process Sep 24 00:52:53 It seems I need a patch to adapt from Montavista Sep 24 00:53:03 where can I get it? Sep 24 00:53:59 Is there some documentation on how to do this? Sep 24 00:58:09 i'm afraid i don't know how to help laluco Sep 24 00:58:17 sorry Sep 24 00:58:31 it's ok, Sep 24 00:58:46 wait a second Sep 24 00:58:54 are you running 2.6.17 on the nslu2? Sep 24 00:59:10 I'm trying to upgrade from standard 2.6.15 to 2.6.17 Sep 24 00:59:27 i kind of need it for my wifi card Sep 24 00:59:30 any particular reason, or just for kicks and thrills? Sep 24 00:59:31 ah right Sep 24 00:59:59 It's funny, cause debian has a 2.6.17 kernel for nslu2 Sep 24 01:00:55 but... I'm afraid that ixp400 won't be not compiled in Sep 24 01:01:21 or is it? Sep 24 01:01:45 can't you check the modules list for the kernel? Sep 24 01:02:13 have you tried the vanilla kernel? Sep 24 01:02:33 find /lib/modules/2.6.17-2-nslu2/ -name ixp* Sep 24 01:02:35 reports nothing Sep 24 01:02:46 I flashed it already Sep 24 01:03:02 but I'm afraid that if I reboot, I will lose access to the nslu2 Sep 24 01:03:03 lol, ok Sep 24 01:03:13 why? Sep 24 01:03:21 you need wireless to get access? Sep 24 01:03:36 I doubt that debian distributes the Intel driver for the ethernet thing Sep 24 01:03:54 with all the license issues Sep 24 01:04:19 or am I wrong? Sep 24 01:04:48 i'm not sure Sep 24 01:04:55 i dont know much about them if i'm honest Sep 24 01:04:59 but it's feasible Sep 24 01:05:10 Hmm... Sep 24 01:05:13 is it possible to keep the slug up till you can get an answer from someone in the know? Sep 24 01:05:15 I'll have to check Sep 24 01:05:20 I guess so Sep 24 01:05:32 It's not too bad, I can always reflash it :) Sep 24 01:05:36 true Sep 24 01:05:51 i thought you were worrying about bricking it somehow Sep 24 01:06:00 :) Sep 24 01:06:06 (i;ve only put unslung onto it, and not investigated too much elsewhere) Sep 24 01:06:34 it's really a nice thingy to play with Sep 24 01:06:50 though buying an access point would be much faster :S Sep 24 01:07:42 hahaah Sep 24 01:08:07 true Sep 24 01:08:08 AFAIK, the Intel ethernet code is not redistributed with debian. So you may lose connectivity to the booted NSLU2 if you've already reflashed, but only when it boots. You can get back to redboot mode at any time to reflash again. Sep 24 01:08:10 but that's no fun Sep 24 01:08:52 I was afraid that would be the case Sep 24 01:08:57 The debian / openslug experts might be hanging out in #nslu2-linux or #openslug - it's unlikely that they'll be here... Sep 24 01:09:05 okido Sep 24 01:09:17 thanks for the pointer Sep 24 01:09:25 np - good luck! Sep 24 01:09:34 BTW, which wireless device? Sep 24 01:10:30 rt2xxx Sep 24 01:11:16 Ah - ok... just curious, as I've been struggling with the zd1211 and am looking around for a viable option. Sep 24 01:11:17 I think master mode is supported in the last versions of the driver Sep 24 01:11:40 But it's not really the most straight forward one I think Sep 24 01:29:50 ty for the help in getting started with unslung **** ENDING LOGGING AT Sun Sep 24 02:59:56 2006