Re: [gentoo-user] Print to cups printer from Windows - any good instructions?
On Tuesday 16 December 2008 21:48:50 Willie Wong wrote: Basically you just need [...] What else do we need if the printer is an HP DJ4260? This seems to need net-print/hplip installed, but I haven't been able to get this working; it seems I haven't resolved a misconfiguration between hplip and cups. (Thanks for your description - it's enough to get my laser printer working. Not the inkjet, though.) -- Rgds Peter
Re: [gentoo-user] Print to cups printer from Windows - any good instructions?
Peter Humphrey wrote: On Tuesday 16 December 2008 21:48:50 Willie Wong wrote: Basically you just need [...] What else do we need if the printer is an HP DJ4260? This seems to need net-print/hplip installed, but I haven't been able to get this working; it seems I haven't resolved a misconfiguration between hplip and cups. (Thanks for your description - it's enough to get my laser printer working. Not the inkjet, though.) I use that exact printer. I set mine up with hp-setup as root. You do need a GUI or at least mine did. If you type in hp- and then hit tab twice, you will see some other interesting commands as well. The set up is pretty straight forward on mine. Cups seemed to do its thing after that as well. Hope that helps. Dale :-) :-)
Re: [gentoo-user] [WAY OT] Webmin Question - was Print to cups printer from Windows?
On Thursday 18 December 2008 01:14:23 Willie Wong wrote: We are linux using nerds, so forgive me for being pedantic. I'd have said we are nerds using Linux, so ditto. :-) -- Rgds Peter
Re: [gentoo-user] {OT} Why RAID1?
Stroller schrieb: On 17 Dec 2008, at 10:25, KH wrote: ... Also there have been articles that if one drive of a raid dies there is a chance that you cannot recover your data. This is based on the theory, that one of the other drives have hidden errors. The chances for this grow with the size of the hd. [Citation Needed] http://hardware.slashdot.org/article.pl?sid=08/10/21/2126252from=rss http://blogs.zdnet.com/storage/?p=162 kh
Re: [gentoo-user] {OT} Why RAID1?
Volker Armin Hemmann schrieb: On Mittwoch 17 Dezember 2008, Stroller wrote: On 17 Dec 2008, at 10:25, KH wrote: ... Also there have been articles that if one drive of a raid dies there is a chance that you cannot recover your data. This is based on the theory, that one of the other drives have hidden errors. The chances for this grow with the size of the hd. [Citation Needed] gentoo wiki and gentoo documentation. That is why you should check your raid regularly for errors. I do that but I also had problem with my raid when there have not been any errors. # echo check /sys/block/md1/md/sync_action Well someone once said: There are two kinds of people: Those who never had a disk failure and those who have backups. kh
Re: [gentoo-user] {OT} Why RAID1?
Iain Buchanan schrieb: On 17/12/08 19:57, KH wrote: Neil Bothwick schrieb: On Wed, 17 Dec 2008 11:18:24 +0100, KH wrote: Which is why you still need offsite backups. Best you have them with your grandparents in another town. Maybe there is a flood ;-) Mine are a thousand miles away, so unless its another Biblical flood... That scares me. Mine are only 60 miles away. Maybe I should search a friend in Australia ... no good. We're expecting a cyclone up north, and down south they're so dry it'll probably catch fire... Lets go for sure: http://rss.slashdot.org/~r/Slashdot/slashdotHardware/~3/FxV7Am-GaYk/article.pl I think there is another one in the swiss alps ... kh
Re: [gentoo-user] Cannot login with publickey on sshd
Mick wrote: On Monday 01 December 2008, Mick wrote: On Monday 01 December 2008, Eric Martin wrote: What did you use to generate the key? Also, what does the client / server say for the key fail? I used something like: ssh-keygen -v -t rsa -b 2048. I have even generated a second key pair and tried that too, with no success. The client messages are in the first message I sent to the list - basically showing this: debug1: Connection established. debug3: timeout: 14828 ms remain after connect debug3: Not a RSA1 key file /home/michael/.ssh/.ssh/id_rsa. debug2: key_type_from_name: unknown key type '-BEGIN' debug3: key_read: missing keytype debug2: key_type_from_name: unknown key type 'Proc-Type:' debug3: key_read: missing keytype debug2: key_type_from_name: unknown key type 'DEK-Info:' debug3: key_read: missing keytype debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace . . . debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug2: key_type_from_name: unknown key type '-END' debug3: key_read: missing keytype The server messages are shown here: http://pastebin.centos.org/22705 I have now also tried to generate a key pair on the server, move the private key over to the client and then try to login - still no result! :-( It has to be some sort of incompatibility between the two versions of OpenSSH. Don't know what else to assume with this problem. It definitely looks like the server doesn't like your private key. Did you remember to update(read: add) the public key on the server? Also, I generated an ssh key using the exact same syntax that you used and my key looks different that what I can glean about your key. The ---BEGIN, Proc-Type and DEK-Info lines are in an old dsa key I created, while the rsa key just says BEGIN RSA PRIVATE KEY- followed by key data. The DSA key says the same, except DSA as opposed to RSA. From the logs it looks like w formatting issue, given the whitespace errors. have you tried loading your key into an agent? try: ssh-agent /bin/bash ssh-add ~/.ssh/id_rsa This will unlock your key and let that session authenticate for you. It also has the nice side effect of checking if your private key is a real private key. The only time I have a problem w/pub/private keys is when I create them on a windows box and try to export it to ssh. The other way around always works for me. HTH -- Eric Martin Key fingerprint = D1C4 086E DBB5 C18E 6FDA B215 6A25 7174 A941 3B9F signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] {OT} Why RAID1?
On 18 Dec 2008, at 11:44, KH wrote: Stroller schrieb: On 17 Dec 2008, at 10:25, KH wrote: ... Also there have been articles that if one drive of a raid dies there is a chance that you cannot recover your data. This is based on the theory, that one of the other drives have hidden errors. The chances for this grow with the size of the hd. [Citation Needed] http://hardware.slashdot.org/article.pl?sid=08/10/21/2126252from=rss http://blogs.zdnet.com/storage/?p=162 That article is bollocks, and widely debunked. Stroller.
Re: [gentoo-user] {OT} Why RAID1?
Stroller schrieb: On 18 Dec 2008, at 11:44, KH wrote: Stroller schrieb: On 17 Dec 2008, at 10:25, KH wrote: ... Also there have been articles that if one drive of a raid dies there is a chance that you cannot recover your data. This is based on the theory, that one of the other drives have hidden errors. The chances for this grow with the size of the hd. [Citation Needed] http://hardware.slashdot.org/article.pl?sid=08/10/21/2126252from=rss http://blogs.zdnet.com/storage/?p=162 That article is bollocks, and widely debunked. Stroller. [Citation Needed] ;-) kh
Re: [gentoo-user] Print to cups printer from Windows - any good instructions?
On Wed, Dec 17, 2008 at 2:24 AM, Peter Humphrey pe...@humphrey.ukfsn.org wrote: On Tuesday 16 December 2008 21:48:50 Willie Wong wrote: Basically you just need [...] What else do we need if the printer is an HP DJ4260? This seems to need net-print/hplip installed, but I haven't been able to get this working; it seems I haven't resolved a misconfiguration between hplip and cups. (Thanks for your description - it's enough to get my laser printer working. Not the inkjet, though.) -- Rgds Peter Peter, Is the DJ4260 accessible on the cups server using the LPR -P NAME command? If so, are you attempting to print from Vista or XP? With XP installing the Adobe generic postscript driver was enough to get my HP inkjet working. (Not this model though) From Vista I had to install the specific Vista driver for my inkjet. - Mark
[gentoo-user] Raid reports wrong size
Hi, I created today a raid5 with three 1.5TB harddisks. What I did: 1. created partitions on every harddisk with type 0xfd, fdisk says: Platte /dev/sdb: 1500.3 GByte, 1500301910016 Byte 255 K?pfe, 63 Sektoren/Spuren, 182401 Zylinder Einheiten = Zylinder von 16065 ? 512 = 8225280 Bytes Disk identifier: 0x9e99f286 Ger?t boot. AnfangEnde Bl?cke Id System /dev/sdb1 1 182401 1465136001 fd Linux raid autodetect 2. Created the raid with: mdadm --create /dev/md0 --level 5 --raid-devices 3 /dev/sd[bcd]1 cat /proc/mdstat Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty] md0 : active raid5 sdd1[2] sdc1[1] sdb1[0] 2930271872 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU] Here seems everything fine. 3. Created a filesystem on the raid with: mkfs.xfs /dev/xfs 4. Mounted the filesystem with: mount /dev/md0 /video_test df -h /dev/md0 747G 5,5M 747G 1% /video_test The raid should have a nice of 3TB and not 747GB. Has anyone an idea what is wrong here? TIA. Best regards, Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook
Re: [gentoo-user] Raid reports wrong size
Am Donnerstag, 18. Dezember 2008 18:15:11 schrieb Matthias Fechner: The raid should have a nice of 3TB and not 747GB. Has anyone an idea what is wrong here? Kernel w/o CONFIG_LBD? Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Cannot login with publickey on sshd
On Thursday 18 December 2008, Eric Martin wrote: Mick wrote: I have now also tried to generate a key pair on the server, move the private key over to the client and then try to login - still no result! :-( It has to be some sort of incompatibility between the two versions of OpenSSH. Don't know what else to assume with this problem. It definitely looks like the server doesn't like your private key. Did you remember to update(read: add) the public key on the server? Oops! I forgot about this thread - sorry. I finally found out what was causing it: I had an entry for a previous server on the same IP address in the ~/.ssh/config file on the client and had disabled publickey to make the login faster. On that occasion the server was a router and it did not offer publickey authentication. After a couple of years I had forgotten all about it . . . The only time I have a problem w/pub/private keys is when I create them on a windows box and try to export it to ssh. The other way around always works for me. The MSWindows generated keys will work, either from PuTTY or Cygwin, but you have to be careful with hard returns at the end of lines (CR/LF). Use Notepad++ to paste your key in and you should find that it works fine. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Cannot login with publickey on sshd
On Thursday 18 December 2008 23:17:13 Mick wrote: The only time I have a problem w/pub/private keys is when I create them on a windows box and try to export it to ssh. The other way around always works for me. The MSWindows generated keys will work, either from PuTTY or Cygwin, but you have to be careful with hard returns at the end of lines (CR/LF). Use Notepad++ to paste your key in and you should find that it works fine. PuTTY comes with a utility to convert it's keys to openssh format. I insist my PuTTY users do this themselves before they send me the public key to be deployed on the servers. It works well for me - if they get stroppy and don't do this, they don't get access shrug -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Raid reports wrong size
Hi Dirk, Dirk Heinrichs schrieb: Kernel w/o CONFIG_LBD? thanks a lot! Best regards, Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook
Re: [gentoo-user] Cannot login with publickey on sshd
Great to hear that the problem is solved! I've used puttygen before to convert keys (both ways) but when I used it the other day to create a key on windows convert it wouldn't work. Oh well! On 12/18/08, Alan McKinnon alan.mckin...@gmail.com wrote: On Thursday 18 December 2008 23:17:13 Mick wrote: The only time I have a problem w/pub/private keys is when I create them on a windows box and try to export it to ssh. The other way around always works for me. The MSWindows generated keys will work, either from PuTTY or Cygwin, but you have to be careful with hard returns at the end of lines (CR/LF). Use Notepad++ to paste your key in and you should find that it works fine. PuTTY comes with a utility to convert it's keys to openssh format. I insist my PuTTY users do this themselves before they send me the public key to be deployed on the servers. It works well for me - if they get stroppy and don't do this, they don't get access shrug -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Cannot login with publickey on sshd
On Thursday 18 December 2008, Eric Martin wrote: Great to hear that the problem is solved! I've used puttygen before to convert keys (both ways) but when I used it the other day to create a key on windows convert it wouldn't work. Oh well! If you first paste the key in notepad++ it should work, if you just copy the generated file it won't. That's what I have found anyway when helping people with MSWindows machines. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Kernel 2.6.27-r5 soft lockup
On Tue, Dec 16, 2008 at 5:01 AM, Dave Oxley d...@daveoxley.co.uk wrote: I upgraded from gentoo-sources-2.6.27-r4 to -r5 a couple of days ago and got the below error messages in /var/log/messages. Also dovecot was using 100% CPU and could not be killed. This resulted in me having to hard reset the server. Couldn't a hard reset be avoided with the magic SysRq key? Regards, Jorge Peixoto