logs archiveIRC Archive / Freenode / #centos / 2006 / August / 13 / 1
tuxford
does anyone know of rpms for this program: http://dar.linux.free.fr/ ?
so_
tuxford, perhaps go to the original author's RPM site :) http://dag.wieers.com/home-made/apt/
tuxford, ah, different dar :)
tuxford
=)
yes
i've seen that dar ;)
mykilx
hello all, having a bit of trouble setting up pub/private key ssh on centos 4.3
Evolution
mykilx: check permissions of .ssh and of the key files inside. 90% of the time, that's the problem.
mykilx
when i try to connect, i get Not a "RSA1 key file /home/mykilx/.ssh/id_rsa."
Evolution
mykilx: how did you create that file?
mykilx
Evolution: .ssh is drwx------ and the private key is -rw-------
ssh-keygen -t rsa
i have pub/priv keys setup on my laptop to connect to a different server, and the id_rsa.pub is different has a bit more header info
i was thinking it may be because centos uses OpenSSH_3.9p1, but i've tried adding the pub key to authorized_keys2 instead of authorized_keys to no avail
Evolution
that should work fine. I've got a nearly identical setup and it works like a champ.
ssh -vvv and see if you get any extra detail.
         

mykilx
that was form -vvv ;) the RSA1 key file /home/mykilx/.ssh/id_rsa. line is debug level 3
it's not working trying from itself either :/
grrrr
Evolution: do you use authorized_keys2 or authorized_keys ?
Evolution
authorized_keys
mykilx
also what do you have in the file? i tried copying the pubkey into the file, and also "Key pubkey"
Evolution
although authorized_keys2 works as well
mykilx
ok
Evolution
are you sure you formatted it correctly?
mykilx
formatted what?
Evolution
cat id.rsa.pub > authorized_keys2
mykilx
let me try that, sec
tinjaw
anybody familiar with the Highpoint IDE driver included with v 4.3
Evolution
tinjaw: possibly.
tinjaw
I am trying to get an onboard IDE RAID working
I am almost there
Evolution
tinjaw: it's fake raid.
tinjaw
I know
my first question is
mykilx
Evolution: no go :/
tinjaw
does the default hpt driver support raid or only standard ide drives
mykilx
i forgot to paste this part too
debug2: key_type_from_name: unknown key type '-----BEGIN'
Evolution
tinjaw: it's fake raid. there is no raid support on it. it farms out to the cpu.
tinjaw: you're better off using it as extra ide channels and doing software raid.
tinjaw
evolution: why?
I downloaded the driver from highpoint
mykilx
so for some reason ssh-keygen seems to be creating an invalid rsa key :/
         

tinjaw
I compiled it
it works
I have raid
so why stop using it?
Evolution
tinjaw: no. you don't.
it's fake raid.
it does software raid. only it hides it from you.
and it does it poorly compared to software raid built into the system already.
tinjaw
Evolution: can you point me to something to back that up?
Evolution
mykilx: I'm questioning your id.rsa.pub file. it should not start out with -----BEGIN.
it should start off ssh-rsa and then have the public key, and then the user/system info.
zcat
tinjaw, only use the fakeraid if you're multibooting an OS that can't handle software raid. (likewise linux can't handle window's "dynamic drives")
Evolution
tinjaw: google for highpoint fake raid, and you'll see.
mykilx
Evolution: my pub key does
id_rsa.pub: ssh-rsa AAAAB3Nz...
i thought it was talking about my priv key
Evolution
id.rsa should start off with -----BEGIN RSA PRIVATE KEY-----
and then end in similar fashion.
mykilx: what you're describing sounds like the key file is corrupt
mykilx
and it does
ok, let me gen noew keys and try it again
same results :/
let me check the perms on the server
what should perms of authorized_keys be? they were 664 i changed it to 644 and now i don't even get a password prompt :/
Evolution
600 or 611 should work fine.
mykilx
lemme try
nm i logged in lol
i didn't set a passphrase just for testing, and I logged in straight away lol
thanks for the help Evolution
Evolution
sure.
tessier__
Anyone know if there is any difference between the i386 kickstart and the x86_64 kickstart when PXE booting? My i386 kickstart works fine. But if I take the same setup and point it at x86_64 kernel, initrd, and x86_64 repo, and it is like it does not know how to get the initrd or something...But I know it is getting it because tethereal shows it being tftp'd
If I replace x86_64 with i386 in three places in my pxeboot config it works perfectly. Maybe my kernel or initrd are corrupt somehow
Nope. Just downloaded fresh copies and they md5sum the same.
Dysk
Dumbass question, but you've got an x86_64 CPU, right?
(Had someone two days ago download an x86 64 ISO by accident and wonder why it wasn't working...)
tessier__
Yes. I do have an x86_64 cpu. :)
But thanks. I could be doing something else equally stupid.
donavan
what is the URL that you downloaded the pxe files from?
tessier__
http://mirror.centos.org/centos/4/os/x86_64/images/pxeboot/
donavan
*full url
thats not a problem then
tessier__
If I could just get this kickstart install working I get finally get my xen/aoe cluster up.
I have tried copying a regular non-kickstart fedora install into it and it works. But I need to get our standard kickstart install onto it for production use.
Number55
hi need update kernel 2.6.15-1 what is commander prompt linux
donavan
why?
Evolution
Number55: we tend to discourage such things, as it deviates from the point of the distro.
donavan
I asked why first
Number55
root@asterisk1 ~]# uname -a
Linux asterisk1.local 2.6.9-34.0.2.EL #1 Fri Jul 7 19:24:57 CDT 2006 i686 i686 i
have linux centos
Evolution
correct. but why do you need 2.6.15?
Number55
need upgrade kernel install new drivers
yes
Evolution
donavan: all yours.
(Action) wanders off for brew and postgis hackery
donavan
Number55: you likely need a different distro then, perhaps Fedora Core
Number55
ok
centos
install centos trixbox groups asterisk
donavan
centos 4 will have the 2.6.9 kernel until 2012
Number55
ok
ok thank you understands already
Hobbes`
how can I prevent yum from updating certain packages ?
Evolution
Hobbes`: read the manpage and look for exclude
it may be in the man page for the config, so you may need to man yum.conf
z00dax
(Action) drifts in
Hobbes`
exclude=php* <-- this line under the [main] section of yum.conf is the right way ?
morning z00dax
z00dax
Hobbes`: kiddan ?
Hobbes`
z00dax I got the php rpms built... had to rebuild sablotron without readline support and I got it going
z00dax
did'nt you use the ones I built ?
and btw, stopping php updates is stupid and dumb
Evolution
z00dax: tell us what you really think about it
Hobbes`
this is my box at home... firewalled out only for my use
Evolution
:-P
z00dax
considering php exploits are used, more than anything else, to break into Linux machines... it sounds kinda dumb locking out whatever updates you get even
Hobbes`: why do you need to lock out updates anyway ?
Hobbes`
because my custom rpms ended up showing up as older than those from centos
and I'm not in the mood to recompile them right now
z00dax
interestingly the 4.4 kernel is going to have sata_mv support .... nice, i can now finally buy some cheap-ass sata cards, next step - AHCI support
Hobbes`: do you have a patch for the sub packages you needed ? talk to the guys at phprpms.sf.net
Hobbes`
there are some AM2 boards which have a whole lot of sata slots
z00dax
they are quite happy to add more subpackages, and they follow the CentOS release very closely
we have a weird_guy in the room.
hide the pony
pony
(Action) fidgets
range
We could make pony glue
pony
(Action) grimaces
z00dax
looking at the phprpms site. they seem to be lagging a bit. at the moment
weird_guy
z00dax: I'm weird.. but not a freak... ;)
range
That's what you say.
tessier__
Well, I guess I'll just have to give up on getting the 64 bit centos to kickstart and run the 32 bit stuff on my opteron for now.
z00dax
tessier__: ??
why ?
tessier__
z00dax: because the 64 bit pxe booted kickstart won't mount its ramdisk for some reason
z00dax: Are you on the centos mailing list?
z00dax: I have posted a few things there about the problem. i386 kickstart installs perfectly. x86_64 can't mount the root device (which should be the ramdisk I gave it).
z00dax
tessier__: run it against mirror.centos.org ?
tessier__
The setups are identical except for what kernel/initrd I give it.
z00dax
are you sure its getting the right
tessier__
z00dax: Run it against? What do you mean?
z00dax
initrd
tessier__
Yes, I am. I ran tethereal and watched it tftp the correct one
2.487047 192.168.0.201 -> 192.168.0.7 TFTP Read Request, File:
linux-install/CentOS4.3/x86_64/initrd.img, Transfer type: octet
Like so
I copied that into my tftp tree from disc1/images/pxeboot
« prev 1 2 3 4 5 6 7 next »