**** BEGIN LOGGING AT Sun Feb 20 23:59:56 2005 Feb 21 11:55:04 hello Feb 21 11:55:38 hey got an NSLU2 and want to add a printer Feb 21 11:55:49 am a total noob with linux and how to compile and all that can you help me? Feb 21 11:56:14 unslung firmware 3.18 + cups works great for me Feb 21 11:56:44 you got the cups compiled package? Feb 21 11:56:47 http://www.nslu2-linux.org/wiki/HowTo/AddPrinter Feb 21 11:57:00 there are the instructions for getting it working Feb 21 11:57:23 when you flash firmware make sure you follow the directions COMPLETELY Feb 21 11:57:35 have done Feb 21 11:57:40 and then just follow the instructions on the page I just listed Feb 21 11:58:00 I've got an HP DeskJet 975Cse shared to my home network Feb 21 11:58:31 I didn't have to follow the samba portion of that page since Windows XP allows the IPP protocol Feb 21 11:58:37 oh, ok Feb 21 11:58:40 ta Feb 21 11:58:45 you got msn messenger, btw? Feb 21 11:59:06 I just stay here in channel Feb 21 11:59:14 as do most of these guys Feb 21 11:59:25 right Feb 21 11:59:30 ive seen this page b4 Feb 21 11:59:49 but dont know what it means Feb 21 11:59:57 i mean you can download cups....where from? Feb 21 12:00:03 and how do I compile it, etc? Feb 21 12:00:13 you don't have to complie Feb 21 12:00:28 do you know where you can download it from? Feb 21 12:00:40 all you have to do is gain telnet or ssh access to your unslung NSLU2 Feb 21 12:00:54 done Feb 21 12:00:54 and then from the prompt type ipkg install cups Feb 21 12:01:04 that it? Feb 21 12:01:12 but you need to update list of packages first Feb 21 12:01:19 (if you haven't done that before) Feb 21 12:01:23 ipkg update Feb 21 12:01:25 how do you do that Feb 21 12:01:40 k Feb 21 12:01:47 ipkg install unslung-feeds Feb 21 12:01:53 ipkg update Feb 21 12:01:58 ipkg install cups Feb 21 12:02:17 ipkg install cups-[whatever language] you need Feb 21 12:02:51 and you do that with the drive in? Feb 21 12:03:00 cp /opt/doc/cups/S88cups /opt/etc/init.d Feb 21 12:03:12 yes, with your unslung drive plugged in Feb 21 12:03:23 unslung drive Feb 21 12:03:48 you did unsling to a drive after installind the firmware? Feb 21 12:03:51 that the one that remebers the root password as 'uNSLUng'? Feb 21 12:05:00 well, that would only happen if you booted your slug without a drive - and never changed your root password otherwise Feb 21 12:05:22 how do you change your root pass/ Feb 21 12:06:06 http://www.nslu2-linux.org/wiki/HowTo/ChangePasswordsFromTheCommandLine Feb 21 12:07:51 Gorx, you might want to print out that NOTES file and read through it... it can't teach you everything about linux, but it would probably help you a bunch Feb 21 12:10:17 right changed the pass now onto this cups business Feb 21 12:10:26 http://www.nslu2-linux.org/wiki/Unslung/SuggestedChangesToTheReadme Feb 21 12:10:42 there are links to the .txt versions of those doco files Feb 21 12:11:06 right done the ipkg update Feb 21 12:11:10 and it says Feb 21 12:11:31 downloading http://(nslu2 site) Feb 21 12:11:59 ipkg_download: ERROR: Command failed with return value 1 Feb 21 12:11:59 : Feb 21 12:12:34 btw, all this stuff is at www.nslu2-linux.org Feb 21 12:12:51 'wget --passive-ftp -q -P /tmp/ipkg-1pyx7I http://ipkg.nslu2-linuxAn error occured, return value 1 Feb 21 12:13:45 http://www.nslu2-linux.org/wiki/Main/FAQ Feb 21 12:13:50 check that page... Feb 21 12:13:53 kk Feb 21 12:14:07 #20 in particular Feb 21 12:14:39 which boils down to you need to use the web interface and set the DNS and gateway settings for the NSLU2 Feb 21 12:14:59 yus Feb 21 12:15:07 are the dns settings just the router/ Feb 21 12:15:10 wrt54g? Feb 21 12:15:31 I set mine to match my windows xp computer on the network Feb 21 12:15:47 and you have a router/ Feb 21 12:15:57 and checked by looking at the status of the network connection Feb 21 12:16:44 if your router can handle dns-forward, then yes, else the dns from your provider Feb 21 12:16:53 ByronT: sorry for interupt ;-) Feb 21 12:17:33 woot its just worked Feb 21 12:18:01 how big are the packages? Feb 21 12:18:37 from 15 k to 5-7 M Feb 21 12:18:43 o Feb 21 12:19:19 caplink811-away, thanks for the assist... Feb 21 12:19:33 np Feb 21 12:19:33 I'm in the middle of trying to get out sales tax remittance... (fun) Feb 21 12:20:07 ;-) in german we have something equal Feb 21 12:21:04 you sell stuff/ Feb 21 12:21:18 in fact, I've got to go track down some paperwork.... Feb 21 12:33:46 any1 there? Feb 21 12:34:08 sort of Feb 21 12:35:34 cant get it to work Feb 21 12:37:30 explain? Feb 21 12:38:04 ive installed cups ok but i cant get onto the web interface with port 631 or whatever it is Feb 21 12:39:06 did you follow the instruction for copying the cups startup file to the /opt/etc/init.d directory Feb 21 12:39:11 no Feb 21 12:39:53 is it cp /opt/doc/cups/s88cups /opt/etc/init.d Feb 21 12:40:07 S888cups Feb 21 12:40:23 S88cups.. caps matter in linux Feb 21 12:40:34 ok did that but still cant connect on that port on the web interface Feb 21 12:40:59 did you execute the startup file? Feb 21 12:41:11 how do you do that Feb 21 12:41:15 ./opt/etc/init.d/S88cups Feb 21 12:42:37 the dir doesnt exist Feb 21 12:42:52 remove that beginning dot... Feb 21 12:42:57 k Feb 21 12:43:11 not a directory Feb 21 12:43:42 cd /opt/etc/init.d Feb 21 12:43:55 and then do "ls -al" to see if the S88cups is there Feb 21 12:44:03 cant cd to /opt/etc/init.d Feb 21 12:45:12 cd /opt/etc Feb 21 12:45:19 and ls -al Feb 21 12:45:50 kk Feb 21 12:46:02 see if there is a init.d line Feb 21 12:46:10 and give the line here Feb 21 12:46:12 yes there is Feb 21 12:46:14 and a cups line Feb 21 12:47:19 what does the init.d line look like "drwxr xr x 534"? soemthing like that... just type it in here Feb 21 12:47:50 -rwxr-xr-x 1root root Feb 21 12:47:53 460 Feb 21 12:48:08 ok Feb 21 12:48:32 do this mv init.d S88cups Feb 21 12:48:43 then mkdir init.d Feb 21 12:48:56 done Feb 21 12:49:31 checking something... Feb 21 12:50:09 ok... also chmod 755 init.d Feb 21 12:50:51 done Feb 21 12:51:17 now cp S88cups init.d/S88cups Feb 21 12:51:38 yup Feb 21 12:51:45 cd init.d Feb 21 12:51:55 yup Feb 21 12:52:11 ls -al and tell me what the line for S88cups looks like Feb 21 12:52:36 -rwxr-xr-x 1root root 460 Feb 21 12:52:59 type in ./S88cups Feb 21 12:53:25 error while loading shared libraries Feb 21 12:53:31 ....and it goes on Feb 21 12:53:41 okee... that's a slugbug Feb 21 12:53:49 ipkg install openssl Feb 21 12:53:51 which means? Feb 21 12:54:09 already installed Feb 21 12:54:46 you better type in the full error message then Feb 21 12:56:10 it is :/opt/sbin/cupsd: error while loading shared libraries: libz.so: cannot open shared object file: no such file / directory Feb 21 12:56:50 ipkg install zlib Feb 21 12:57:52 done Feb 21 12:58:25 try the ./S88cups again Feb 21 12:59:13 goes onto another line Feb 21 12:59:16 and says # Feb 21 12:59:30 now try the web interface Feb 21 12:59:51 erver: CUPS/1.1 Feb 21 13:00:47 just another satisfied customer ;-) Feb 21 13:00:53 thanks mate Feb 21 13:01:19 now you're into CUPS... any further issues with CUPS, you'll probably want to check their site Feb 21 13:23:14 god going through the cups web server is so slow Feb 21 13:35:14 any1 know thedefault username and password for cups? Feb 21 13:38:56 looking in the docs, or searching for a FAQ at http://www.cups.org/ may be usefull Feb 21 13:46:55 in CUPS, what do I put in the location field? Feb 21 13:47:14 when adding a printer in the web interface Feb 21 13:49:41 Gorx, location is just a text field, usage is not determined by what is in that field Feb 21 13:50:35 as for how to get it to work, you'll either need to go through CUPS documentation, or edit the appropriate files on the slug, or do as I did, just use the existing printer setup Feb 21 13:54:43 well ive modified the hp990c to my specs just confised about Device Feb 21 13:54:53 at the mo its got USB printer #1 Feb 21 14:48:49 any1? Feb 21 14:58:22 have you plugged in your USB printer? Feb 21 15:02:18 yes Feb 21 15:14:37 if you go look at the S88cups startup script, you should be able to see what it looks for Feb 21 15:15:25 that plus using the information on that HowTo.AddPrinter page - should be able to get you running... Feb 21 15:16:26 all the information is there (or on the wiki - that Search link on the left hand side is real handy Feb 21 15:34:45 be back later **** BEGIN LOGGING AT Mon Feb 21 17:46:19 2005 **** ENDING LOGGING AT Mon Feb 21 23:59:56 2005