**** BEGIN LOGGING AT Mon Jul 14 02:59:56 2008 Jul 14 03:06:19 how does slugosbe partition things between flash and disk? Jul 14 03:06:48 for instance, i want my nslu2 to run dnsmasq whether the disk is connected or not Jul 14 03:07:10 i installed dnsmasq after turnup disk Jul 14 03:07:33 then a few days later, i installed dnsmasq again without any disk connected Jul 14 03:07:58 will i hose anything, or is slugosbe smart enough to do the right thing? Jul 14 03:14:46 chrisb: it's hosed. Jul 14 03:16:55 mwester: start with a reinstall, followed by dnsmasq install, followed by turnup disk to fix all of this? Jul 14 03:17:10 hello, i need sun java on nslu2 Jul 14 03:17:15 how can i do it? Jul 14 03:18:46 docmax, I don't think there's a Sun JRE available, but I think if you search the wiki perhaps you'll find some other JRE that would work. Jul 14 03:19:23 chrisb: You can't really do what you're trying to do. Jul 14 03:20:19 It's like drive 0 in your desktop system -- you can swap it around, but you can't have both at the same time. Jul 14 03:21:06 mwester, i need the one from sun Jul 14 03:21:44 You're SOL. Jul 14 03:22:14 Sun doesn't port to optware :( Jul 14 03:22:33 (isn't part of Sun's JRE still closed-source?) Jul 14 03:24:26 Sun's Java finally was all open-sourced recently Jul 14 03:24:54 but the open sourced version only covers limited platforms Jul 14 03:25:38 there might be a separate Sun java 1.4 for ARM, but it's not free Jul 14 03:26:04 (may have evaluation version you can download) Jul 14 03:26:39 Sun also has phoneme-advanced CVM, which is equivalent of 1.2 Jul 14 03:27:09 that's GPL, i've ported it to optware Jul 14 03:27:40 CVM performance is pretty good Jul 14 03:28:11 much better than jamvm or sablevm Jul 14 03:52:45 docmax: maybe there is an emulator which runs an environment which can run Sunjava JRE... Jul 14 03:59:44 how can i do this? Jul 14 03:59:56 i found java SE for embedded 1.4 Jul 14 04:00:08 it works... but i need > 1.5 Jul 14 04:04:09 eno, i need java se 1.5 on nslu2 Jul 14 04:04:14 how can i do it? Jul 14 04:06:41 i don't think it's available Jul 14 04:08:02 can i somehow emulate it? Jul 14 04:08:11 running in i386 mode? Jul 14 04:08:16 somehow? Jul 14 04:09:42 you better use an x86 machine instead Jul 14 04:10:28 java in i386 emulator on arm, that's going to be slooooooooooooow Jul 14 04:31:43 i dont have an x86 machine Jul 14 04:32:36 wine would also be a solution to me Jul 14 04:32:52 is wine compileable under ARM(EL)? Jul 14 04:34:20 docmax: IMHO, demanding java SE >= 1.5 would be a waste of time Jul 14 04:35:07 what kind of program that requires java 1.5, yet you want to run on nslu2? Jul 14 06:04:51 eno, JDdownloader Jul 14 06:04:55 eno, JDownloader Jul 14 14:09:58 hi Jul 14 14:11:30 how can I use my nslu2 without any hdd/sticks attached to it? I want to use a hdd with NFS on another server. Jul 14 14:13:36 is there any possibility to get icedtea or sun java 1.5/1.6 under nslu2 to work??? Jul 14 16:28:48 i have an extremely silly question Jul 14 16:29:03 what do i have to install to get './configure' to work? Jul 14 16:40:18 autoconf Jul 14 16:40:24 gcc Jul 14 16:40:30 various libraries Jul 14 16:41:32 The .configure script for a set of source code is a script that tries to figure out what compiler(s) you have, what libraries you have and where they are, etc, to see if it is possible to build the software, and if it is possible, what flags and settings might be required to do so. Jul 14 16:45:06 Platypen: if you're on optware targets like unslung, "ipkg install optware-devel" will install essential packages for development Jul 14 17:07:28 hmm, i must be missing something extremely elementary Jul 14 17:07:42 i have installed autoconf, gcc as well as optware-devel Jul 14 17:07:52 i have 'make' Jul 14 17:07:54 What is the message you are getting? Jul 14 17:08:00 but i can't seem to locate configure Jul 14 17:08:18 -sh: ./configure: not found Jul 14 17:10:07 Ah. What's the first line in the configure script? Jul 14 17:10:22 as in, the script i want to configure? Jul 14 17:10:38 No, the script itself Jul 14 17:10:46 The one you are attempting to run. Jul 14 17:10:54 oone sec Jul 14 17:11:33 its C code Jul 14 17:11:41 * mwester is confused now Jul 14 17:11:42 the usual #includes Jul 14 17:12:08 riiiiight Jul 14 17:12:10 ok Jul 14 17:12:12 i see the problem. Jul 14 17:12:26 No configure script? Jul 14 17:12:47 let me poke about a bit Jul 14 17:13:00 background - im trying to get transmissioncli to work with torrentflux Jul 14 17:13:37 On what firmware/device? Jul 14 17:13:47 unslung 6.8 Jul 14 17:14:00 Ok. Jul 14 17:14:30 That's good; as eno pointed out, the full set of development tools are easily available for that. Jul 14 17:14:31 im getting somewhere Jul 14 17:14:37 now my error message is Jul 14 17:14:42 Could not find a working compiler Jul 14 17:14:58 i think i was running ./configure on the wrong file Jul 14 17:15:02 Did you install the package that eno mentioned? Jul 14 17:15:15 yes, i did Jul 14 17:15:18 optware-devel Jul 14 17:15:23 If so, do you have gcc in your path? Jul 14 17:15:35 hm, prob not Jul 14 17:15:58 gcc is in /opt/bin right? Jul 14 17:23:07 still 'Could not find a working compiler' Jul 14 17:23:29 my echo $PATH returns /opt/bin:/sbin:/bin:/usr/sbin:/usr/bin Jul 14 17:23:39 so gcc should be in my path Jul 14 17:25:04 Platypen: /opt/bin/gcc -> /opt/armeb/bin/armv5b-softfloat-linux-gcc ? Jul 14 17:25:16 do you have that symlink? Jul 14 17:26:10 um, what is a symlink? Jul 14 17:26:40 symbolic link, kind of like windows shortcut Jul 14 17:26:55 pardon me for asking, but how do i add one? Jul 14 17:28:34 if you installed crosstool-native (which is a dependency of optware-devel), the symlinks should be there Jul 14 17:28:52 yes, crosstool-native is installed. Jul 14 17:29:35 ipkg files crosstool-native Jul 14 17:30:06 Package crosstool-native (0.28-rc37-8) is installed on root and has the following files: Jul 14 17:30:24 i have /opt/bin/gcc Jul 14 17:30:31 but not /opt/armeb; etc. Jul 14 17:31:12 this is strange, since crosstool-native should install crosstool-native-bin etc automatically Jul 14 17:31:22 ipkg list_installed | grep crosstool Jul 14 17:32:00 yep Jul 14 17:32:01 you should have 7 ipk's Jul 14 17:32:03 crosstool-native-bin - 0.28-rc37-8 - Bootstrap toolchain including GCC 3.3.5, GLIBC 2.2.5, BINUTILS and LINUX headers. Jul 14 17:32:10 i have 7 Jul 14 17:32:35 "/opt/bin/gcc --version" ? Jul 14 17:33:05 gcc (GCC) 3.3.5 Jul 14 17:33:28 then you have gcc Jul 14 17:33:39 yep, i do... Jul 14 17:34:19 you can test gcc/g++ with a simple hello world program Jul 14 17:34:39 how configure finds the compiler is specific to the package Jul 14 17:35:12 would the contents of the configure script be useful? Jul 14 17:36:34 the first line is #! /bin/sh Jul 14 17:36:35 if the configure script is generated by autoconf, you can specify CC=/opt/bin/gcc Jul 14 17:36:58 no, i won't troubleshoot your configure script Jul 14 17:37:04 heh, okay. Jul 14 17:37:10 thanks for the help so far though. Jul 14 17:39:07 you're welcome, good luck Jul 14 17:55:03 hi Jul 14 17:55:28 do you know LoadRootfsFromNFS is possible with debian? Jul 14 17:55:48 You mean the wiki page? Jul 14 17:56:25 yes, I use debian and try to use the nslu2 without a hdd or stick Jul 14 17:57:41 h Jul 14 17:58:02 hi Jul 14 17:58:06 how do I change the nick? Jul 14 17:59:01 cheef-daniel: You would need to ask in the debian-arm channel (not on freenode, somewhere else - I forget where but the wiki mentions it). I'm certain the debian can do it, but it would not be done in the same way as that wiki page describes. Jul 14 17:59:19 NSLU2-IRC: use the "/nick " command Jul 14 17:59:40 nice Jul 14 17:59:41 hello Jul 14 17:59:51 I have a freking noob question Jul 14 17:59:54 ;-( Jul 14 17:59:58 I LOVE the slug Jul 14 18:00:03 but Im such a rookie Jul 14 18:00:13 both in linux and in hardware-hack Jul 14 18:01:16 mwester: do you know what "switchbox" is? is this in the nslu2's debian too? Jul 14 18:01:36 dunno? Jul 14 18:01:41 switchbox? Jul 14 18:02:25 krelle: you are not mwester ;) Jul 14 18:02:38 switchbox is an old (obsolete) version of busybox that was so named because Unslung needed extra busybox functionality but Linksys did not provide the source code to the busybox version they provided. That has since been rectified. Nobody should be using switchbox for anything! Jul 14 18:02:40 no Jul 14 18:02:57 I am krelle Jul 14 18:03:19 are you guys janking my chain? Jul 14 18:03:33 arrhh now I get it Jul 14 18:03:44 fair enough i am not nwester Jul 14 18:03:48 krelle: cheef-daniel did not address the original question to you; that's all he's saying. Jul 14 18:03:56 I am also new to chatting Jul 14 18:03:57 ;-) Jul 14 18:04:28 Do you think you could help me? Jul 14 18:04:31 krelle: just ask your question or state your problem, and be patient; if someone can help or offer suggestions, they will do so when they happen to look into this channel throughout the day. Jul 14 18:04:34 it is probably a lame question Jul 14 18:04:41 nice Jul 14 18:04:42 oki Jul 14 18:04:51 it regards installation of packages Jul 14 18:05:03 somewhere along the line I have fucked something up Jul 14 18:05:18 and now when I want to install new packages apt-get issues errors Jul 14 18:05:30 I have tried: sudo apt-get -f install Jul 14 18:05:40 and sudo apt-get upgrade Jul 14 18:05:48 but I keep getting the same errors Jul 14 18:06:10 I think it has to do with some upgrading that didn't turn out right Jul 14 18:06:21 or som packages I tried to install using dpkg Jul 14 18:06:40 but I am not sure how to revert to before I mixed things up Jul 14 18:07:43 thank you mwester, one last question: do you have some search terms for me, what do I have to look for? Maybe netboot? Jul 14 18:08:55 cheef-daniel: I don't do debian :( Sorry... Jul 14 18:09:34 damn... Jul 14 18:09:41 do you know anyone? Jul 14 18:09:49 ups Jul 14 18:09:55 not for me agian ehh? Jul 14 18:09:57 what error are you getting? Jul 14 18:10:02 two sec Jul 14 18:10:50 when I issue apt-get -f install Jul 14 18:10:52 I get Jul 14 18:10:52 : Jul 14 18:11:33 perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "iso_8859_1", LANG = "C" are supported and installed on your system. Jul 14 18:11:35 and some Jul 14 18:11:37 : Jul 14 18:11:53 E: Sub-process /usr/bin/dpkg returned an error code (1) Jul 14 18:12:12 I tried google but didn't understand anything Jul 14 18:12:19 perl isnt happy Jul 14 18:12:20 lets see Jul 14 18:12:46 I tried: export LC_ALL="" Jul 14 18:12:57 and: export LC_CTYPE="" Jul 14 18:13:08 and then again apt-get -f install Jul 14 18:13:14 but then I still got the other message Jul 14 18:13:25 the E: Sub-pr.... Jul 14 18:13:26 one Jul 14 18:13:58 hmm Jul 14 18:14:04 seemingly a lot of french sites pointing to teh error Jul 14 18:15:21 I once installed alpine (email-client) and tried to use some iso-8859-1 language to make use of odd letters in my native language Jul 14 18:15:29 but it didn't really work Jul 14 18:15:36 and I just left it at that Jul 14 18:15:54 http://perldoc.perl.org/perllocale.html Jul 14 18:16:08 hello, i need java se 1.5/1.6 or icedtea installed on my nslu2. any ideas how to do that? Jul 14 18:16:17 (temporary fix) Jul 14 18:16:18 LC_ALL=en_US.ISO8859-1 Jul 14 18:16:18 export LC_ALL Jul 14 18:17:45 seems just your language config has got messed up Jul 14 18:18:10 hmm Jul 14 18:18:11 ;-) Jul 14 18:18:34 perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = "en_US.ISO8859-1", LC_CTYPE = "iso_8859_1", LANG = "C" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ Jul 14 18:18:38 is what I get now Jul 14 18:19:11 sudo dpkg-reconfigure locales Jul 14 18:21:58 nice Jul 14 18:22:13 It gets me into a "pick some wierd-stuff" mode Jul 14 18:26:11 hello, i need java se 1.5/1.6 or icedtea installed on my nslu2. any ideas how to do that? Jul 14 18:26:26 someone will answer you if they know Jul 14 18:27:30 ohh my god, I love the NSLU2 Jul 14 18:27:34 I LOVE IT Jul 14 18:28:03 sorted? Jul 14 18:28:08 no yet Jul 14 18:28:10 it is working Jul 14 18:28:18 I think there will be more to it Jul 14 18:28:23 but still Jul 14 18:28:27 I love it ;-) Jul 14 18:28:36 http://perldoc.perl.org/perllocale.html - seems to do a good job at explaining what to do to fix it Jul 14 18:29:04 probably just have a read through that Jul 14 18:29:33 thx Jul 14 18:31:26 Its just Jul 14 18:31:32 I really don't get any of that Jul 14 18:37:03 hello, i need java se 1.5/1.6 or icedtea installed on my nslu2. any ideas how to do that? Jul 14 18:42:04 who has a Ph.d? Jul 14 18:42:30 I would like one as soon as I finish my master Jul 14 18:45:59 in what? Jul 14 18:50:27 applied physics Jul 14 18:51:00 e=mc˛ Jul 14 18:52:47 well Jul 14 18:53:00 thats probably more theoretical than applied physics Jul 14 18:55:41 what is 'env'? Jul 14 18:55:52 environment presumably Jul 14 18:56:30 oki Jul 14 18:56:40 when I press that alls orts of info is displayed Jul 14 18:56:42 sorts Jul 14 18:56:48 what is that? Jul 14 18:57:40 information Jul 14 18:57:48 about the current login and such Jul 14 18:58:10 thx Jul 14 18:58:13 fairly self explanitory i would've thought Jul 14 18:58:21 hmm Jul 14 18:58:23 maybe so Jul 14 18:59:41 but not to me Jul 14 19:09:49 ive got a problem with samba i think, i keep getting permission denied when trying to write to the disk. as far as i can tell, the folder has read/write permissions, and ive changed the smb.conf to not be read only, but it doesn't seem to make any difference, im kinda new to this linux stuff, so im not sure what else to try Jul 14 19:12:23 [Print] comment = Share for pdf_printer path = /home/chr/pdf_print valid users = chr public = no writable = yes printable = no create mask = 0765 Jul 14 19:12:41 [somethine_else_of_your_own_making] Jul 14 19:12:50 valid user: put yourself instead of me Jul 14 19:13:02 and change the comment Jul 14 19:13:10 and the path Jul 14 19:13:11 ;-) Jul 14 19:13:33 the mask is not very safe as far as I know Jul 14 19:14:51 thi s is to be written in /etc/samba/smb.conf Jul 14 19:16:12 i thought i had.. just went back in, and it seems to have reset back Jul 14 19:18:19 I also have some : Jul 14 19:18:20 [global] workgroup = server string = %h server obey pam restrictions = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No panic action = /usr/share/samba/panic-action %d Jul 14 19:18:27 too Jul 14 19:19:53 in the beginning of smb.conf Jul 14 19:20:03 hmm Jul 14 19:20:06 this means I have to log in though Jul 14 19:22:22 why would it reset the smb.conf back to being read only when i reboot the slug? Jul 14 19:28:25 dunno? Jul 14 19:28:41 but instead use sudo /etc/init.d/sambda restart Jul 14 19:28:45 I think it is called Jul 14 19:28:47 easier Jul 14 19:29:17 but smb.conf is for root to read only? Jul 14 19:30:00 sudo: not found Jul 14 19:30:39 ohh Jul 14 19:30:42 su Jul 14 19:30:43 then Jul 14 19:30:45 login as root Jul 14 19:30:50 smb.conf is read only Jul 14 19:30:56 for regular users Jul 14 19:31:19 sudo is a smart tool that oets you execute 'one-liners' as root Jul 14 19:31:28 without actually loging in as root Jul 14 19:31:31 apt-get install sudo Jul 14 19:31:43 oets = lets Jul 14 19:32:33 reedy: when I dpkg- reconfigure locales and install da_DK ISO-8859-1 Jul 14 19:33:39 what do I do to the Jul 14 19:36:52 ... I have no clue what I am doing Jul 14 21:02:11 kl' Jul 14 21:20:19 caplink811_log: hey how are you ? Jul 14 21:48:46 i just copy the scripts rc.bootbin and rc.local to my unslung dir i then did mount this is # mount Jul 14 21:48:46 /dev/root on /initrd type jffs2 (rw) Jul 14 21:48:46 /dev/sdb1 on / type ext3 (rw) Jul 14 21:48:46 proc on /proc type proc (rw) Jul 14 21:48:46 usbdevfs on /proc/bus/usb type usbdevfs (rw) Jul 14 21:48:49 /dev/sdb1 on /dev.state type ext3 (rw) Jul 14 21:48:51 ramfs on /dev type ramfs (rw) Jul 14 21:48:53 /dev/sdb1 on /var.state type ext3 (rw) Jul 14 21:48:55 ramfs on /var type ramfs (rw) Jul 14 21:48:57 /dev/sdb1 on /share/hdd/data type ext3 (rw) Jul 14 21:48:59 /dev/sdb2 on /share/hdd/conf type ext3 (rw,sync) Jul 14 21:49:01 /dev/sda1 on /share/flash/data/HDD_2_1_1 type vfat (rw) Jul 14 21:50:38 look like my var and dev now reside on ram ,but i cant get my wd 500 to spin down any idea Jul 14 21:58:04 any help Jul 14 23:09:35 can someone help me with samba config on unslung... my smb.conf keeps resetting itself to be read only Jul 14 23:21:12 DrunkDwarf: that's what it's supposed to be doing. See the wiki section on diversion scripts Jul 15 00:20:05 perfect, mwester, thank you, got it sorted Jul 15 00:20:35 will diversion scripts have to be used for everything then? to maintain settings? Jul 15 00:44:11 openssh seems to have stopped working, ive been forced to use telnet to get in... **** ENDING LOGGING AT Tue Jul 15 02:59:56 2008