**** BEGIN LOGGING AT Sun Mar 16 02:59:56 2008 Mar 16 04:03:46 hi, I'm trying to mount a nfs share on my slug, I'm using slug os/be, is it possible? Mar 16 04:05:03 Yep. Mar 16 04:07:59 yup, found the kernel module, don't know how I missed it Mar 16 04:08:47 :) Mar 16 04:09:16 autofs even works... but it takes a lot of memory so it isn't really practical. Mar 16 04:11:09 I only have one mount :-D Mar 16 04:11:17 I'm doing the slug as an audio player Mar 16 04:13:31 mpd is importing the music a lot slower than it did on my dual core server Mar 16 04:13:32 haha Mar 16 04:13:52 Well, did you at least "de-underclock" the poor little NSLU2? Mar 16 04:16:15 I was going to wait to see how mpd performed before I tried that Mar 16 04:16:17 how hard is it? Mar 16 04:17:57 Probably the easiest hardware mod you'll ever do. The hardest part is getting the case open. Mar 16 04:18:22 The next hardest part is selecting which of the dozen techniques to use. Mar 16 04:18:49 It will invalidate your warantee, though. :D Mar 16 04:20:06 yeah, I played an electrical engineer for my senior design project in college, I don't know that I want to go back to that Mar 16 04:20:17 * shenson crosses his fingers that mpd doesn't need the extra power Mar 16 11:25:40 hello Mar 16 11:25:52 hi Mar 16 11:46:34 did any of you try to install python Convert::bencode on a slug? Mar 16 11:47:01 for me it causes a cpan update which is already running an hour :/ Mar 16 11:47:17 s/python/perl/ Mar 16 11:47:32 heh, looks like i like python more :P Mar 16 12:12:00 bencode ? Mar 16 12:12:06 isn't that bittorrents encoding ? Mar 16 14:02:11 Hi, I just had to refalsh my old nslu2 Mar 16 14:02:39 one question, how do I access the stuff on my "old" nslu2 disks Mar 16 14:02:53 the was not atached when I reflashed it Mar 16 14:03:06 is there a way to assess the files on them? Mar 16 14:04:52 f Mar 16 14:05:26 I dont remember my yahoo id (I will check it up) Mar 16 14:18:34 hmm cant change to my yahoo id Mar 16 14:21:17 any one knows how I can access my disks (formated on the nslu2) I want them back on my new flashed nslu2 , not read them in windows or something Mar 16 14:21:25 is that possible? Mar 16 14:32:02 no one knows? Mar 16 14:32:03 plz Mar 16 16:11:36 svenssonfredrik ssh or telnet in and type mount and see of you see the disk there. sometimes the disk dont show up at webinterface but if you go to adminstration/disk they show up. Mar 16 16:11:48 Hi, I'm trying to get sluos-4.8 to boot from an external HD where I've installed gentoo (based on http://gentoo-wiki.com/HARDWARE_Linksys_NSLU2), and get activity on the drive when rebooting, but the Ready/Status light just flashes amber and never seems to complete the boot. Any tips on how to work out whats going wrong on the install since I can't get into it and run dmesg and stuff? Mar 16 16:11:51 wrong type df Mar 16 16:13:48 I guess if I don't turn the USB drive off then the log files in /var/log will be from the failed boot, so can look at those? Mar 16 16:17:59 hmm, seems udhcpd doesn't start as the network interface can't be found, even though I copied the modules from a slugos boot to the gentoo install, at least I've got somewhere to start troubleshooting. Mar 16 16:43:44 how do I get an ipkg recompiled with different options? I'd like mpd to be recompiled against the integer vorbis implementation? or how do I do it myself? Mar 16 16:56:48 I have opened samba up to the internet for a friend of mine ... one question ... I see someone got connected to the IPC$ share with the account guest ... are they able to do anything with this? Mar 16 17:03:21 Nimmit: YIKES! Mar 16 17:03:40 :/ Mar 16 17:04:10 Nimmit: The SMB protocol is not something one opens to the internet... Mar 16 17:04:26 (via windows directly or via Samba!) Mar 16 17:05:02 You should consider the possibility that any data on that share has been read by someone on the internet at this point. Mar 16 17:05:17 I have all the shares password protected Mar 16 17:05:18 I hope you have no passwords, or keys on that share... Mar 16 17:05:30 Passwords are easily broken, and smb does not encrypt Mar 16 17:06:08 yes, but can they access anything over IPC$ Mar 16 17:06:39 in my opinion it's an absolute NO GO to open samba shares to the internet Mar 16 17:07:40 use ftp or http to share files with extern computers Mar 16 17:07:41 Oh you spoilsports. Mar 16 17:07:43 all the shares, except my friends, are limited to local ips Mar 16 17:09:03 mwester? Mar 16 17:10:23 asa is right - smb has no place on the internet, just as nfs has no place on the internet. Mar 16 17:10:45 And yes, they can get stuff via guest based on the default Unslung config. Mar 16 17:10:54 yea, but I just want to know if they had any access to anything over IPC$ Mar 16 17:11:01 I use slugos Mar 16 17:11:20 guest is globally forbidden Mar 16 17:11:30 IPC$ is, IIRC, like the directory service. So yes, from that they get a list of the valid shares available. Mar 16 17:13:00 but they still would've only been able to see them Mar 16 17:13:14 and all the shares except my friends are limited to internal ips Mar 16 17:13:32 his share is just a place we more easily trade files with each other Mar 16 17:15:03 I don't think that matters either Mar 16 17:15:09 since all shares are not browseable Mar 16 17:18:34 why don't you use ftp? Mar 16 17:19:01 this is just easier Mar 16 17:19:14 ? Mar 16 17:19:30 the only share they should be able to access anyways ... even if they do figure out the passwords Mar 16 17:19:33 easier but more dangerous Mar 16 17:19:34 is my friends Mar 16 17:19:37 which has nothing in it Mar 16 17:19:48 that is important Mar 16 17:19:49 Nimmit: you are the classic Internet victim -- you have argued to convince yourself that what you do is safe. Nobody can convince you otherwise. Mar 16 17:19:52 :p Mar 16 17:20:05 I know its risky Mar 16 17:20:18 but someone could break into ftp also Mar 16 17:20:20 so why you do this? Mar 16 17:20:38 not so easy as in samba or nfs Mar 16 17:26:30 besides, as its already happened it too late Mar 16 17:35:18 Nimmit, you should look into webdavs, IE can connect to them and use them as regular folders, I think they are called web folders or web shares or something like that Mar 16 17:59:31 so, enough serverworks for today Mar 16 17:59:47 going to El Alamein for a wile :) Mar 16 17:59:53 bye@all Mar 16 18:00:09 hi all, looking for advice on a serial-port problem. Mar 16 18:00:55 i soldered a 4-pin header onto the slug. using a USB-to-TTL-serial adapter on the host. Running minicom on host, getty on slug. Receiving works great -- I get a login prompt. But sending seems to be zero -- cat /dev/ttyS0 on the device gets nothing no matter what i do. Mar 16 18:01:50 have triple-checked that TXD, RXD, and GND are connected through ... do I need to match the 3.3V between the slug and the adapter? Mar 16 18:02:35 generally not; your USB adaptor should take the necessary power from the host. Mar 16 18:03:30 I'm not sure why you are running a getty or doing a cat -- what firmware are you running? Mar 16 18:05:38 SlugOS/BE Mar 16 18:05:54 getty was already being run on ttyS0 ... Mar 16 18:06:01 i also get kernel messages during boot, just fine Mar 16 18:06:58 i also get RedBoot messages, but can't cancel the boot, which confirms my suspicion that bytes aren't getting from host to slug Mar 16 18:07:14 Ok. Should just work without any setting changes at all on SlugOS. Check your term emulator to make sure that it has correct parity and flow control settings? Mar 16 18:07:29 115200 8N1, right? Mar 16 18:07:43 Right. With no HW or xon/xoff flow control at all. Mar 16 18:08:07 yep, hardware and software flow control off Mar 16 18:08:35 Then remove the plug from the head, and jumper the TX and RX on the serial adaptor. Check to see if you get character echo. Mar 16 18:08:57 If you do, then the fault is on the slug (check for a solder short on the header) Mar 16 18:09:09 If you do not, then the cabling or the serial adaptor is suspect. Mar 16 18:09:14 yep, i get echo Mar 16 18:09:37 Ok, then check the solder joint for a possible short. Mar 16 18:14:11 seems to be okay... i just noticed though that with TX/RX jumpered, i get character echo only as long as i'm not plugged into the slug. is that normal? Mar 16 18:16:36 Shorting TX and RX on the slug and TX and RX on the adaptor is probably about as bad a short as you can subject the chips on either end to handle. Mar 16 18:16:46 Not a good thing at all... Mar 16 18:17:31 Check your wiring -- are you sure you have identified the correct pin for the Slug's RX? Mar 16 18:18:02 Also touch up the solder joint -- solder bridges can be very hard to see, esp. if they are on the other side of the board beneath the header. Mar 16 18:22:27 where do I get the source package for mpd? I'd like to build the version from openwrt, but I can't find the source for it Mar 16 18:23:14 http://www.musicpd.org/files.shtml Mar 16 18:23:59 what about the bitbake files for it? Mar 16 18:24:18 http://ipkgfind.nslu2-linux.org/details.phtml?package=mpd&official=&format= Mar 16 18:24:30 I want to build 0.13 on slugos/be Mar 16 18:31:25 mwester: is there somewhere else on the board I can pick up the slug's RXD? Mar 16 18:33:30 Dunno; you'll have to check. The wiki has photos of the bare board somewhere. Mar 16 18:43:41 hm, i retouched the joint and now host->slug seems to work fine, but slug->host is all garbled :) Mar 16 18:47:58 (actually about half-garbled, looks like 1 bit/character or so is wrong Mar 16 18:57:07 w00t, got it working fine now. thanks mwester. Mar 16 19:03:59 'lo Mar 16 19:06:28 how often does sluos/be get updated? its looking for fakeroot but its no longer on the debian mirrors Mar 16 19:06:49 Whenever problems like that are reported :) Mar 16 19:07:01 Which SlugOS release are you trying to build? Mar 16 19:09:41 slugos/be 4.8 beta Mar 16 19:09:58 its looking for fakeroot 1.8.3 but its been removed from the debian mirror system Mar 16 19:10:20 I'm trying to understand this ipkg/bitbake stuff and it really seems overly complex and too magical Mar 16 19:10:44 You'll probably have to download it from somewhere else, and just place it in the "downloads" directory manually. Create the .md5 file yourself, too. Mar 16 19:11:16 shenson: bitbake and oe build entire distributions, including toolchains from scratch. It *is* a bit of black magic. Mar 16 19:11:39 Are you trying to build for a specific reason, or just experimenting? Mar 16 19:12:04 I'd like to get mpd 0.13 with tremor support on my slug Mar 16 19:12:19 so far its been an epic fail Mar 16 19:12:34 Where did you get the binary from - optware, or the native feeds? Mar 16 19:14:00 well I tried building from source, but libtool/aclocal/automake seems broken Mar 16 19:14:20 building on the slug itself? Mar 16 19:14:24 now I'm trying to get a cross environment going, but it is failing on fakeroot, got that solved so its going now Mar 16 19:14:26 yes Mar 16 19:14:41 I also can't find the bitbake files for mpd anyway Mar 16 19:14:46 Since those tools come from the cross env, and match those, they should work... Mar 16 19:15:41 it seems someone has got mpd 0.13 for openwrt, but I can't see how I'm supposed to get the source/bitbake files so I can recompile on slugos/be Mar 16 19:16:10 openembedded/packages/musicpd/mpd-alsa_0.11.5.bb Mar 16 19:16:29 That's the bitbake mpd recipe. Mar 16 19:17:20 ahh, I was looking at oe/packages/mpd Mar 16 19:17:24 or looking for Mar 16 19:20:40 I'd suggest that you simply build "head" - the most recent version in OE. That's up-to-date (including a newer fakeroot). Mar 16 19:21:25 ugh. Mar 16 19:21:36 are you runing SLUG LE or BE ? Mar 16 19:22:01 BE Mar 16 19:22:26 arg Mar 16 19:22:39 should I be running something else? Mar 16 19:23:41 looking for one with LE so he can compile me something Mar 16 19:25:07 ahh, nope, looks like I'll have a BE env in a couple minutes here Mar 16 19:25:32 how'd you set it up ? Mar 16 19:25:42 i tried, didnt go well Mar 16 19:26:02 following the directions and tenacity Mar 16 19:26:41 directions where ? Mar 16 19:26:50 http://www.nslu2-linux.org/wiki/OpenSlug/BuildingTheTarball Mar 16 19:26:52 thats for BE Mar 16 19:28:15 Same process for LE, just substitute. Mar 16 19:28:29 i think its forboth pretty much Mar 16 19:28:40 it looks like LE is depricated? is that right? Mar 16 19:29:42 nope, not at all. Mar 16 19:29:59 whait Mar 16 19:30:07 it that for building the firmware from tarball ? Mar 16 19:30:16 Something referred to as "debianslug" is history, but SlugOS/LE and SlugOS/BE are both current and viable. Mar 16 19:30:35 I even understand that recently optware became available in LE for SlugOS. Mar 16 19:30:58 indeed it has Mar 16 19:31:34 how do i disconnect a drive ? Mar 16 19:31:36 just unmount it Mar 16 19:31:39 and thats it Mar 16 19:31:41 ? Mar 16 19:33:10 pretty much. and if it had swap space on it, disable that as well. Mar 16 19:58:05 good evening Mar 16 19:58:28 mwester: i had to rebuild my sysconf, in order to fix all my problems. The slug works again now :) Mar 16 20:01:12 whenever i try to install PHP for Debian, I get this error msg and the installation fails: E: Failed to fetch http://ftp.uk.debian.org/debian/pool/main/a/apache2/apache2.2-common_2.2.3-4+etch3_arm.deb: 404 Not Found Mar 16 20:01:19 does anyone know why? Mar 16 20:02:12 of course: this fole don't exists anymore Mar 16 20:02:15 file* Mar 16 20:02:45 pear, apt-get update Mar 16 20:03:26 http://ftp.uk.debian.org/debian/pool/main/a/apache2/apache2.2-common_2.2.3-4+etch4_arm.deb Mar 16 20:03:32 it's etch4 now Mar 16 20:03:54 you can repport this mistake to debian now :) Mar 16 20:04:28 his cache is out of date, running apt-get update will refresh the cache Mar 16 20:04:40 idd Mar 16 20:04:44 PPmarcel: aahh, ok. I'm trying shenson's "apt-get update" Mar 16 20:04:51 hopefully that will fix :) Mar 16 20:07:54 ok, i will try to reinstall. does someone know if it is best to use PHP4 or PHP5 (with apache 2.2) ?? Mar 16 20:08:13 maybe php5 Mar 16 20:08:38 pear, it depends on your application Mar 16 20:08:56 are you writing something or just using an app someone else made? Mar 16 20:10:32 shenson: I mainly want to use it with http://www.snewscms.com/ right now. it says it requites 4.3 or higher... Mar 16 20:10:40 so I guess PHP5 would be good Mar 16 20:11:29 I think php4 is a better bet but php5 will work ussually Mar 16 20:12:40 yes, you're probably right. i guess it was developed with 4.3. i'll try it with PHP4 first to start with :) Mar 16 20:13:44 y Mar 16 20:13:58 wrong window :o Mar 16 20:15:39 well the apt-get update has enbled me to install PHP. so thanks for the tip! Mar 16 20:28:22 hrm Mar 16 20:28:29 how do i setup samba permissions ? Mar 16 20:29:15 is there a way to make bitbake forget about its cache and rebuild everything? Mar 16 20:29:24 make clean ? Mar 16 20:29:26 ido-: in you /etc/samba/smb.conf Mar 16 20:29:42 yeah Mar 16 20:29:42 http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/ Mar 16 20:29:58 but the directories, what permission should they be ? Mar 16 20:30:03 shenson: Delete the "tmp" directory and contents. Mar 16 20:30:05 the ones that i want to share Mar 16 20:30:07 ido-: you can use lines like "read only = yes/no", "browsable = yes/no" Mar 16 20:30:29 mwester, won't that kill my cross compile environment? Mar 16 20:30:37 I guess everything is a bit much, I want it to rebuild mpd Mar 16 20:30:39 Yep Mar 16 20:30:41 ido-: at least reading Mar 16 20:30:57 what user Mar 16 20:31:03 /group Mar 16 20:31:08 ido-: others Mar 16 20:31:17 hum, maybe root is ok Mar 16 20:31:23 shenson: if you are doing "bitbake " then just add "-c rebuild" to the end, I think. Mar 16 20:31:26 samba is launched by root finally Mar 16 20:31:39 ido-: try and test Mar 16 20:32:32 so set all of them to root ? Mar 16 20:32:44 and samba itself will control the ACL per user ? Mar 16 20:34:30 i think yes Mar 16 20:34:32 i'm using just about the same config from my unslung Mar 16 20:34:41 and the users aren't working properly Mar 16 20:34:43 but you needn't to set your files as root owner or group Mar 16 20:34:53 root can read what he want, so don't matter Mar 16 20:34:54 although i've added the users adn smbpasswd Mar 16 20:46:28 sweet success!! finally my slug can play music Mar 16 20:50:40 shenson: can you send info on what you did, specifically the bitbake recipe changes, to the mailing list. That way it might even end up in the feeds. Mar 16 20:51:05 mwester, what mailing list? Mar 16 20:51:17 nslu2-linux would be the right one. Mar 16 20:51:24 ok Mar 16 20:51:43 I'm not sure that my stuff is going to be correct though, I had to use -force-depends to get the ipkg to install Mar 16 20:52:01 Well, it's probably a better start than nothing! Mar 16 20:52:33 ok Mar 16 20:54:27 um, I don't have a yahoo account and I don't really feel the need to make one, is there an address that I can just email and it gets to the right place? Mar 16 21:05:36 hrn Mar 16 21:05:37 weird Mar 16 21:05:44 i can login with my user with smbclient Mar 16 21:05:47 but not from xp Mar 16 21:05:56 on the unslung, from xp worked too Mar 16 21:07:53 i don't understand: does is works with xp or not? Mar 16 21:10:30 worked with unslung Mar 16 21:10:36 same config doesnt work with slugOS Mar 16 21:11:23 have you used smbpassword, for creating your users? Mar 16 21:11:28 yep Mar 16 21:11:43 when i login with smbclient to localhost it works too Mar 16 21:14:08 and xp stay blocked on login/password? Mar 16 21:14:16 yeah Mar 16 21:14:43 brb Mar 16 21:14:45 oh Mar 16 21:14:51 actually i'm just rebooting my slug Mar 16 21:18:46 ahh samba, makeing linux like windows in every way Mar 16 21:20:50 hrm. Mar 16 21:21:04 unless i make it 'guest ok = yes' it wont login from windows Mar 16 21:29:26 in your [global], try security = share Mar 16 21:32:37 hmm Mar 16 21:32:47 i dont want share based sec Mar 16 21:42:08 hrm Mar 16 21:42:09 damnit Mar 17 00:01:17 I have a problem with amule Mar 17 00:01:34 A fatal error has occurred and aMule has crashed Mar 17 00:01:47 Segmentation fault Mar 17 00:02:49 I don't know what to do... some sugestion? Mar 17 00:31:32 anybody know the simplest way to get cross-compiling to a NSLU2 from a debian box? Mar 17 00:31:50 the ftp server mentioned on the wiki which supposedly hosts cross-compiling .debs, is unreachable Mar 17 00:44:46 why is apache so damn difficult to get running with PHP!? grrrr! Mar 17 00:46:29 i think i will just return to windlows and IIS Mar 17 00:55:52 ill give it one last go first. and if no, THAT'S IT!! Mar 17 00:56:04 i will sell my nslu Mar 17 01:31:42 hi! Mar 17 01:32:09 anyone know how its possible to change the default webserver port with unslung ? Mar 17 01:46:43 you mean the linksys one? Mar 17 01:46:55 that can be done on one of the settings pages Mar 17 02:22:34 hey Mar 17 02:22:40 which ftp server is best for unslung? Mar 17 02:27:52 The built-in one. Mar 17 02:37:56 hmm Mar 17 02:38:15 how do i add new users the ftp built in ftp server? Mar 17 02:38:37 id prefer doing it by shell (adduser) but the ftp server doesnt seem to accept users added from the shell Mar 17 02:44:43 You'll probably have to edit the config file manually. It's an older version of "bftpd" -- google it to find the documentation. Mar 17 02:50:24 where does the webinterface store its user-files? Mar 17 02:51:22 all over. Mar 17 02:51:46 hmm Mar 17 02:51:50 The linksys firmware places user information in a bunch of files - several copies of the /etc/passwd file to begin with. Mar 17 02:52:10 The admin id also gets it's password encrypted and stuffed into a file for the web server to use. Mar 17 02:52:12 cause all i need to do really is upload one jpg that will be diplayed on a webpage Mar 17 02:52:33 Ids also end up associated with shares, and user/group information will end up in various samba config files. Mar 17 02:52:34 i mean i have an ip-camera that will login by ftp to my nslu2 and upload an image that will be displayed on a webpage Mar 17 02:52:45 so i guess it might be easier installing a simple ftpd Mar 17 02:53:02 This is why it is considered a bad idea to use anything other than the linksys GUI to add users to Unlung... Mar 17 02:53:14 It's never easy to install an ftpd Mar 17 02:53:37 You will be risking less if you just figure out how to do what you need with the built-in ftpd Mar 17 02:53:51 is there a way to change the homedir of a user added in the linksys interface? Mar 17 02:54:07 I cannot count how many people have come here and asked how to recover their slugs after they attempted the install of vsftpd or proftpd. Mar 17 02:54:34 Yes, you can edit the /etc/passwd file once the user is created. Mar 17 02:54:59 wont it be written over when i reboot? Mar 17 02:57:04 Perhaps. Follow the wiki instructions on changing passwords manually to find where all the copies of the passwd file might be, and adjust them all. **** ENDING LOGGING AT Mon Mar 17 02:59:56 2008