**** BEGIN LOGGING AT Sun Feb 12 10:59:58 2006 Feb 12 12:17:44 hi Feb 12 12:26:33 .. Feb 12 12:26:39 anyone? Feb 12 12:46:11 ? Feb 12 12:48:17 Yes Feb 12 13:01:59 hi Feb 12 14:39:25 caplink811_log: i am also fine long time ago that i see you Feb 12 15:29:24 hii all Feb 12 15:29:36 Can I install OpenSlug on a brand new NSLU2 just like I could install Unslug? Feb 12 15:37:56 yes that should work using the linksys webinterface to update on a brandnew NSLU2 Feb 12 16:20:31 anyone home? Feb 12 16:21:46 Yes Feb 12 16:23:14 im trying to hook up 3 drives to the slug using a hub. im guessing the hub is compatable because the slug can read from a drive connected to it... Feb 12 16:23:51 im using unslung 5.5, i have a third drive ready that already has a ntfs on it, is there anything special i need to do to hook it up? Feb 12 16:25:16 Yes. Feb 12 16:25:41 As far as i now unslung 5.5 wont work with disks behind a hub. Feb 12 16:26:18 I don't know what works and what not. Feb 12 16:26:41 well, right now its working with a single drive through a hub Feb 12 16:26:52 i transfered files to be sure Feb 12 16:27:17 some people on the wiki have posted their efforts at adding up to three aditional usb ports to the board..... granted this involves some major hardware tweaking, but maybe as an electrical engineer, you're game for that Feb 12 16:28:00 when i have time. lol, right now, a single drives uses the hub fine, some will 2? Feb 12 16:28:09 so* Feb 12 16:28:27 depending on the actual transfer rates and whether these ports attach to the root hub, they might just be suitable for extra hds Feb 12 16:28:34 Whit unslung 5.5 you can connect one disk two every port. Feb 12 16:28:59 Probably it will see the disk through the hub as where it directly attached. Feb 12 16:29:28 With unslung 6.x alpha it is possible to have multiple disks behind a usb hub connected to port 1. Feb 12 16:29:42 ok, ill try connecting the third drive now, obviosly the web face wont see it, if its compatible, will it just be mounted to the fs? Feb 12 16:29:46 In that case you need the root disk on port 2. Feb 12 16:30:15 my root disk is port 1, is it as easy as just pluging it in two 2? Feb 12 16:30:26 moving the root disk Feb 12 16:30:43 masci, have you installed libusb and usbutils via ipkg since we spoke this morning / last night? Feb 12 16:30:44 There are some files on the flash which have to be corrected. Feb 12 16:30:54 If someone has some spare time: I would like to add my brother hl-1250 to cups but i get this error:/opt/lib/cups/filter/foomatic-rip: No such file or directory Feb 12 16:31:01 they are your friends (along with dmesg) when it comes to recognizing and debugging newly attached drives Feb 12 16:31:47 i added my printer model in the cups folder and downloaded via curl foomatic Feb 12 17:05:24 Where in the WIki is the HowTo hidden for installing images via the nerwork mode? Feb 12 17:06:13 OpenSlug, in detail. Feb 12 19:04:51 hello everyone Feb 12 19:05:53 has anyone got openslug to run apache and php together? Feb 12 19:06:20 and do you know if you can run unslug packages on openslug? Feb 12 19:06:47 I found this but it seems to be old Feb 12 19:06:49 http://www.nslu2-linux.org/wiki/OpenSlug/Packages Feb 12 19:10:26 Hi. Everybody. Im having a serious problem with my NSLU2. Ive installed unslung(and a few packages like ssh/appWeb).Everything was working, but then suddenly I can no longer access web-management Feb 12 19:12:04 Ive reset the box, but it complains "The requested %80s resolved to a file plus CGI path info, but the file is not a valid CGI file", whenever I click "Administration" in the Web-manager Feb 12 19:12:39 pere: have you installed a new webserver? Feb 12 19:14:01 Yes, I did install appWeb. However it is uninstalled now. I did also reset the box, and the front page now comes up on 192.168.1.77, but none of the mangament/admin-pages Feb 12 19:14:27 I did change the Linksys-web to 8080, but this seems to be reset now... Feb 12 19:14:48 I can access the disk through the Linksys web Feb 12 19:15:40 i had that today too, reminder: don't change the upnp port Feb 12 19:16:07 does anyone know where the NSLU/linksys webpages are located (documentRoot)? Feb 12 19:17:13 pere: /home/httpd/html Feb 12 19:18:10 neongrau.. thanks... This is strange.. Feb 12 19:18:35 Lots of files there, but Management says "0"-size Feb 12 19:18:39 pere: check /etc/thttpd.conf Feb 12 19:19:03 yes, it point there Feb 12 19:19:14 make sure its on port 80 Feb 12 19:19:18 and says port 80 as well Feb 12 19:19:47 The front page loads fine, it is just the pages under Administration that seems to be missing Feb 12 19:20:12 then kill thttpd and start it again with "/usr/sbin/thttpd -C /etc/thttpd.conf" Feb 12 19:20:13 Should there be an ordinary Directory called Management under /home/httpd/html? Feb 12 19:20:45 yes Feb 12 19:21:39 restarted. Didnt make any difference... Feb 12 19:22:19 /home/httpd/html/Management is just an empty file Feb 12 19:22:59 and it has been created yesterday... oughh Feb 12 19:24:09 Neongrau - Management is not a symlink? Feb 12 19:24:53 no Feb 12 19:24:53 andrew_redfern: still around ? Feb 12 19:25:12 Seems like the Management-directory is deleted. No idea how that could have happened.... Feb 12 19:25:32 Any ideas about how it could be restored? Feb 12 19:25:52 pere: run the unsling script again, maybe Feb 12 19:26:25 pere, copy it from /initrd Feb 12 19:27:09 exactly, /initrd/home/httpd/html/Managment Feb 12 19:27:20 GREAT!!!!! ESeems to be a lot of stuff there...:-) Feb 12 19:28:27 pere, if you changed your admin password before, it shouldn't match with the one .htpasswd in initrd's Management directory Feb 12 19:30:12 no I dont think it is changed... Feb 12 19:30:23 Im getting something wierd though... Feb 12 19:30:49 Clicking Administration now ask me if I want to open setup.cgi Feb 12 19:33:47 what permissions should the files in Mangament/ have? Feb 12 19:34:50 This is probably wrong. All is -rw------ here Feb 12 19:37:27 all cgi ugo+rx Feb 12 19:38:56 all htm ugo+r Feb 12 19:40:03 neograu: Thanks... Most seems to work fine now. Feb 12 19:40:25 However I keep getting "Error: Fail to get samba information" Feb 12 19:42:39 and whenever I try to set the settings under "System" - ie the Samba, it fails (and returns to blank) Feb 12 19:45:04 Unable to change my ip-address. It returns just blank fields. (However I can add groups) Feb 12 19:46:07 iw ould try the unsling script again Feb 12 19:50:27 neongrau: Was that the script that should be run while the disk was attached? Feb 12 19:50:38 /sbin/unsling disk1? Feb 12 19:53:38 neongrau: Was that the script you were refering to? Feb 12 19:56:15 yes Feb 12 19:56:55 Im running it... and is getting a lot of errors... Feb 12 19:57:21 hmmm.... Feb 12 19:57:30 Lots of files not found Feb 12 19:58:00 I could run it from ssh? from any directory? Feb 12 19:58:31 not sure, what does the readme say? Feb 12 19:59:22 it does not say anything about that... Feb 12 19:59:39 I think this has really messed something up... Feb 12 19:59:57 fortunatly I do not have vital data on the USB disk... Feb 12 20:00:00 the readme says, boot without a disk (so the rootfs is in ram), then log in, reattach the disk, wait, and then run unsling... you see the difference Feb 12 20:00:49 Thanks... Feb 12 20:01:05 Could I do that now... or is it messed up?? Feb 12 20:02:21 dunno, you can try it Feb 12 20:19:35 caplink811_log: Thanks. It seemed to go OK, but when I booted it after unslingining, Im not able to find it on the network Feb 12 20:19:53 It does not respond to pings on 192.168.1.77 Feb 12 20:27:34 after I unslink the box, and reboot. Should it come up on 192.168.1.77? Feb 12 20:31:27 pere_: it should come back with the same IP it had before. Feb 12 20:31:44 pere_: or the one the DHCP-server assigns it... Feb 12 20:33:59 Thanks pumpkin0. Ive had so many changes here, I really do not know what setting it has... Feb 12 20:34:27 It did come with 192.168.1.77, and I changed it to 192.168.2.50.. None of these works Feb 12 20:34:41 But the network light is there... Feb 12 20:34:54 Are you on windows or linux ? Feb 12 20:35:15 ehh.... both..:-) Feb 12 20:35:35 I have both XP and Ubuntu running here Feb 12 20:36:10 but the slug is reachable when you boot without the hd attached ? Feb 12 20:36:30 yes (or it was last time I checked) Feb 12 20:36:33 arg. the mac of the unit is writen on the underside. There are shitlots of tools how can figure what IP belongs to that MAC.... Feb 12 20:37:09 it did not get an IP from my dhcp server Feb 12 20:37:47 caplink: Can I find the IP if I reboot without the hd? Feb 12 20:39:00 yes, reboot without hd, login, plug the disk in, and look in /share/hdd/data/etc/sysconfig/network-scripts/ifcfg-ixp0 on which ip it would be Feb 12 20:39:30 thanks. Ill try... Feb 12 20:39:45 if it is 192.168.2.50 then something other is wrong Feb 12 20:41:06 pere_: run "arp -a" and search for the MAC of the slug. Feb 12 20:47:40 it is 192.168.1.77 Feb 12 20:48:08 I was pinging that from the correct subnet earlier... Feb 12 20:48:24 I think to best way to go IP-hunting under linux is: "ping -b 255.255.255.255 -c 2 ; arp -a | grep MAC-you-are-searching" Feb 12 20:49:32 pumkin0. Unfortunately my Linux is on the 192.168.2.* subnet. Will it still find something on 192.168.1.*? Feb 12 20:50:13 usually: yes. Feb 12 20:51:02 That's a christmas-tree broadcast. It should reach everything that is not behind a NAT or firewall. Feb 12 20:52:27 does anyone have apache and php set up on openSlug? Feb 12 20:52:38 yep, here. Feb 12 20:53:15 pumpkin0: you have apache and php working together? Feb 12 20:53:55 Yes. I had to get the apache from a different source. i'm search where i found it ... wait a sec. Feb 12 20:54:35 thanks Feb 12 20:55:12 seems like it disappears from the net when it is booted with the disk Feb 12 20:56:15 I also notices that the button on the front does not work now.... so I guess it is crashed even if the correct lights are lit Feb 12 20:56:38 andrew_redfern: the files i installed are "php-apache_5.0.4-1_armeb.ipk" and "apache_2.0.54-2_armeb.ipk". They should come from somewhere under http://ipkg.nslu2-linux.org/feeds ... Feb 12 20:57:08 pere_: it may be waiting for something. You have a DHCP-server online ? Can you disconnect it ? Feb 12 20:57:23 ok how do I add a feed to my ipk? Feb 12 20:58:08 andrew_redfern: i just downloaded the 2 files and installed directly with "ipkg install file.ipk". Feb 12 20:58:17 ok thanks Feb 12 20:58:50 so unslug packages do work with openslug then? Feb 12 20:59:42 pumpkin... OK. I have disabled the dhcp-server Feb 12 20:59:57 It was optware. "http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/". yes unslung works mostly on openslug. Some problems can encur if you mix too much the lib-versions. Feb 12 21:00:26 andrew_redfern: execute: wget http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/php-apache_5.0.4-1_armeb.ipk on the slug. Feb 12 21:00:32 pere_: reboot ! Feb 12 21:00:41 pumpkin0: I have rebootet Feb 12 21:00:48 No difference Feb 12 21:01:44 pere_: i think restarting by resetting the disc would be a option. But i'm no unslung-guy. You should wiat for caplink811_log to have a look. Feb 12 21:03:11 pumpkin0: Thanks a lot. Im really stuck here. Feb 12 21:03:41 Right now, I would be pleased if I just could get back to running the linksys-software Feb 12 21:03:51 andrew_redfern: and btw. if you don't need http-post thttpd-php is faster then apache-php. Feb 12 21:03:56 Is there an easy way of doing that..? Feb 12 21:04:17 pere_, i agree with pumpkin0 something went wrong at the 2nd unsling, so you should reformat your hd and start over Feb 12 21:04:24 pere_: can you connect that disc to a linux-PC ? Feb 12 21:05:29 pumpkin0: I think so.... Feb 12 21:06:03 ...or Im not sure.. Not so very good experiences with USB-disks under Linux...:-/ Feb 12 21:06:17 how come? Feb 12 21:06:18 pere_: i would wipe the disc clean of everything by destroing the partition table. Then reconnect it to the slug and start over. Feb 12 21:07:02 pere_, you can plug it on a win box too, and then destroy the 3 partitons on it, and make 1 new partition, and format it with whatever you want Feb 12 21:07:57 pumpkin0:it says that I need apache (>= 2.0.53-9) php (>= 5.0.3-8) Feb 12 21:08:13 andrew_redfern: did you get both files ? Feb 12 21:08:36 andrew_redfern: and installed both at the same time ? Feb 12 21:10:09 caplink: Could I boot from ram, plug the disk in, and use the linksys-functions to format it? Feb 12 21:10:13 sorry I must have missed a step...I installed apache yesterday and I just downloaded the package from above and tried to instal it Feb 12 21:11:59 andrew_redfern: OK, big fat warrning. You are about to install 2 apaches. remove the openslug-apache before installing the optware-apache. Afterwards you need "php-apache_5.0.4-1_armeb.ipk" and "apache_2.0.54-2_armeb.ipk", both from optware-stable. Install them in one line. Feb 12 21:12:36 ok thanks I will do that Feb 12 21:12:48 Caplink/pumpkin: Would formatting from Linksys distroy all the partitions I need to destroy? Feb 12 21:13:11 the better way is, destroy the partitions on a another machine Feb 12 21:13:39 andrew_redfern: and while you are at it, get "php_5.0.4-1_armeb.ipk" too. Feb 12 21:14:23 form the optware-stable tree as well? Feb 12 21:14:33 caplink: OK. Im having some problems with connecting it to my Linux-box. Wouldnt I need to have some special programs for deleting partitions under Windows? Feb 12 21:15:14 andrew_redfern: yes, optware. If you start with it you have to get all related stuff from it. Feb 12 21:15:44 pere_: no, just using the parition-manager should work nicely. Feb 12 21:15:53 ok cool thanks a lot...this might take me some time Feb 12 21:17:18 pere_: and you can destroy the partition with the slug. You just have to disable auto-mounting.... Feb 12 21:20:16 OK. Ill try that. Seems like it will be tomorrow though.. Feb 12 21:20:25 Thanks a lot for the help... :-) Feb 12 21:20:41 all of you.. and good night..:-) Feb 12 21:21:17 pumpkin0: I tried ipkg remove apache but it didn't seem to do any thing Feb 12 21:21:44 andrew_redfern: is apache in the list of installed packages ? Feb 12 21:22:14 using ipkg list_installed | grep apache I get Feb 12 21:22:32 andrew_redfern: if it isn't (anyd you don't mind losing a bit space), you can just remove all apache-related stuff from /etc. Feb 12 21:23:54 ok so I can just remove apache folder under /usr/share/ Feb 12 21:24:40 and the files from /etc/rc*/*apache? Feb 12 21:24:57 andrew_redfern: yes. the optware apache installs itself under /opt/... Feb 12 21:25:27 do I need to make an /opt folder for them then Feb 12 21:25:38 or would it do that by it's self? Feb 12 21:26:12 andrew_redfern: it get created all by itself. Feb 12 21:26:56 ok and well I've got you here what order do I install the packages or should I just install them all on the same line? Feb 12 21:27:32 all in one line, the order is not important. Feb 12 21:27:46 ok thanks so much Feb 12 21:28:43 and now link the stuff under /opt/etc/init.d to /etc/rc*.d so apache can auto-start. Feb 12 21:31:13 are you say that I should make links from all these files that have *apache files in the rc*.d folders to /opt/etc/init.d Feb 12 21:31:44 or just make one file and place it in one of the folders and link it to that? Feb 12 21:32:00 wait a sec.. Feb 12 21:33:08 I have one link from /etc/rc3.d/S80apache -> /opt/etc/init.d/S80apache. It starts apache at startup. Feb 12 21:34:01 ok thanks Feb 12 21:51:31 pumpkin0: it looks as though there is other dependecies for apache and php I need to figure out Feb 12 21:51:59 like apache: apr apr-util expat xlib openldap-libs Feb 12 21:52:26 and php: zlib libxslt gdbm libdb Feb 12 21:52:37 should I get these from the same place? Feb 12 21:52:44 or openSlug tree? Feb 12 21:52:54 andrew_redfern: arg. sorry. yes these should be in the optware-tree as well. Feb 12 21:53:10 ok thanks Feb 12 22:04:51 pumpkin0: I'm not seeing this openldap-libs pages there Feb 12 22:05:00 should I get it from some where else? Feb 12 22:05:02 Anybody ever added VGA via USB2VGA to a slug ? From searching on google i think it is possible. But i don't see drivers for USB2VGA in any kernel available on the nslu2. Feb 12 22:06:30 andrew_redfern: where the f**k did i get than one ... Feb 12 22:08:44 http://ipkg.nslu2-linux.org/feeds/optware/nslu2/native/stable/openldap-libs_2.2.26-5_armeb.ipk ? Feb 12 22:15:18 ok cool now that I've got all those down load in one floder can I just do ipkg install *.ipk Feb 12 22:17:16 Let's hope i didn't forget another one .. Feb 12 22:17:27 well find out Feb 12 22:17:33 thanks a lot for the help Feb 12 22:18:04 pumpkin0: I did some testing with USB2VGA Feb 12 22:18:18 how hard is it to add a how to page for the nslu2-linux? Feb 12 22:18:37 if It's not hard Feb 12 22:18:41 can I do it? Feb 12 22:19:14 marceln: how far did you get it ? As far as i see you have to compile the kernel-module for USB2VGA, USB-HID & co and setup a X11 server. Feb 12 22:19:56 andrew_redfern: just create a new page. You cannot add your page to the howto-list as that page is protected. All the other are free. Feb 12 22:20:44 cool thanks...I'll have to give that a try looks as though I need to find some more packages Feb 12 22:25:33 pumpkin0: I compiled the kernel module and displayed statical images with sisbit (see http://www.nslu2-linux.org/wiki/HowTo/AddVGAAdapter) Feb 12 22:26:51 Why didn't you install a small Xorg-server ? It should not be hard to compile Xorg for the slug, given deboras has one .. Feb 12 22:28:36 It's not only the x server but also the drivers for keyboard and mouse. Feb 12 22:29:04 hmm.. I have seen something about HID in a howto. wait a sec.. Feb 12 22:29:13 There was a remark about that on the page in i didn't want to invest the time to invent the wheel. Feb 12 22:33:00 The whole usb-hid-thing is available in the "stock" kernel: http://www.nslu2-linux.org/wiki/HowTo/LibraryTerminalSlug . i think it's shopping time for me. Feb 12 22:35:20 I used unslung 5.x to test the usb2vga adapter. I didn't test with the 2.6 kernel. Feb 12 22:40:06 If i ever get my USB-TV-card (bought 2 weeks ago, still not delivered) up and running this will be the next project. All in all it will be more costy then a normal ITX-solution but the geek-factor of running ARM... And it's damn small.... Feb 12 22:49:03 yeah that would be cool Feb 12 22:49:18 so I'm almost there with the apache php thing Feb 12 22:49:25 got a few errors Feb 12 22:49:28 Package cyrus-sasl-libs (2.1.20-8) installed in root is up to date. Feb 12 22:50:00 Configuring cyrus-sasl Feb 12 22:50:18 Configuring db3 Feb 12 22:50:33 any ideas pumpkin0? Feb 12 22:56:44 andrew_redfern: why ? that looks good to me. does httpd start ? Feb 12 22:57:07 hmmm let me check Feb 12 22:57:15 so the errors might be ok? Feb 12 22:58:00 which error ? Feb 12 22:58:39 undefined symbol xmlRelaxNGCleanupTypesSystax Feb 12 22:59:12 I think i go that one too. It worked anyway. Feb 12 22:59:27 ok remind me how to start it? Feb 12 23:00:04 "/opt/etc/init.d/S80apache* start" Feb 12 23:01:15 ok when I do that I get this Feb 12 23:01:16 Syntax error on line 6 of /opt/etc/apache2/conf.d/php.conf: Feb 12 23:04:10 replace /opt/etc/apache2/httpd.conf with /opt/etc/apache2/httpd-std.conf. The standard-config is a low-memory configuration w/o module support. Feb 12 23:08:12 ok did that and get the same error Feb 12 23:08:23 it looks like php.conf Feb 12 23:08:37 is loading that libphp5.so file Feb 12 23:09:14 and some where in it is a call to that symbol Feb 12 23:10:38 any thoughts pumpkin0? Feb 12 23:11:24 can you copy everything from /opt/lib (and /opt/usr/lib) to /lib (and /usr/lib). It's after midnight here and i cannot think straight anymore... Feb 12 23:13:37 ok so you want me to copy /opt/lib files to /lib and opt/usr/lib /usr/lib Feb 12 23:14:07 thanks again so much for your help Feb 12 23:21:43 ok looks like I don't have a opt/usr folder Feb 12 23:25:07 i don't think i'm helping much. I have to write down what i really did to install that apache-php from optware (it's really from optware, i have just redownloaded and verified the md5). Perhaps tomorrow then i'm back on my normal coffein-level. .... Just copy over every lib from /opt/XYZ to /XYZ. Feb 12 23:29:20 ok Feb 12 23:29:32 thanks sooo much for getting me started Feb 12 23:29:47 maybe if I don't get it tonight we can talk tm Feb 12 23:31:15 yepp, that's the best way. my slug and miau should keep "me" online. But i'm going to sleep now. cu Feb 12 23:31:48 ok. sleep well Feb 13 00:01:11 does anyone else know how to fix the undefined symbol erorr xmlRelaxNGCleanupTypes Feb 13 00:43:16 ok so I've started a wiki on apache and php using OpenSlug Feb 13 00:43:36 if anyone has this working and would like to edit/add to it that would be great Feb 13 00:43:48 http://www.nslu2-linux.org/wiki/OpenSlug/ApachePHP Feb 13 00:44:10 I'm still getting the xml symbol erorr Feb 13 00:44:37 from reading online it looks like other platforms are having this same problem **** ENDING LOGGING AT Mon Feb 13 10:59:56 2006