in the maze.net

To content | To menu | To search

Linux › Gentoo

There's all kind of talk about operating systems. Trash talk, evangelist talk, etc. I think you're all crazy. Where would I be without you? This topic is about my adventures with my "lunix build of choice", gentoo (well, it's the only build I've ever worked with - I know it ain't the simples one)

Entries feed - Comments feed

Wednesday, March 22 2006

Remote backups & hell.

What I've been trying to do lately, is copy backups from one computer in the network to another - in a different building.

I wanted to do this through sftp.

And I wanted it to be automated.

Sftp was nice enough to work with bach files easily. Cron is cool and all of that.

But SFTP did not want to accept passwords through command line.

So I played with Authenticating by Public Key via OpenSSH, as described in the previous link. Which seemed to know about stuff. Stuff that I don't know about.

Stuff that I should've been wary about.

So I ended up destroying my ssh security - everyone from everywhere could log to any account with any password.

Not good.

And I couldn't fix it. Removing what I had done seemed to not be working.

Luckily, the fine folks at the gentoo forums managed to help me get back on my feet. Re-emerging openssh and crushing my old config files seemed to have hellped.

Then I found another fella who seemed to play with these keys (Automated backup through SSH, by Cliff Changchung Zou). Only his tutorial was using words I felt secure about.

Things such as: make a backup on computer A. get computer B to download backup from computer A.

Okay. I can deal with that.

And I did.

And it works.

And my security does not feel more compromized than it was.

(Just in case you're a worried client - That's why I'm having experts set up the security on the servers such as where this blog is being hosted :P )

Saturday, February 11 2006

Gentoo, KDE, Soundcards and Video... under VMWare

I made it. I setup KDE, I configured the video and the audio. I ran Hydrogen. All under gentoo, all under VMWare, all under Windows XP.

Thanks to BenoƮt, Patrice, Vincent and Stefan for their help!!

Continue reading...

Saturday, September 17 2005

I want mySQL 4.1 and portage does not agree.

On my dev machine (which is windows-based), I've been running mySQL 4.1.12. I like it. I like the new character encoding that 4.1 brings.

Then I went to send an updated version of the software I'm working on to the live server - which runs an older 4.0.x version. I lost all of the nice latin encodings in there.

So I said, ok. Maybe its time to upgrade to 4.1.

Being a cautious guy, I do it on my non-live gentoo machine. Just to see how it goes.

Turns out portage (the nice easy to use software distribution engine for gentoo) has 4.1 masked. All of it.

Continue reading...

Wednesday, August 3 2005

Can Linux and Windows be friends?

I made them dance together yesterday. They danced Samba.

Essentially, it allowed my gentoo box to share a few directories over microsoft networks and to mount windows network drives onto the gentoo box.

It also allowed a very happy me to log into the gentoo box remotely, mount a drive from a computer in the remote LAN and download a photoshop file I had forgottent to take with me.

This is cool. Computers on the LAN are now accessible remote.

EEEK!

What's that saying about security?

Basically, I think I'm no less secure than I was before - if I someone could've hacked themselves into the root account, they could've easily installed samba and most likely gain access to the other computers on the lan.

Well, as long as I remember to unmount the drives when I'm finished, it's as safe as it was - you'd need the usernames and password of the other machines to mount drives.

Sheesh. How paranoid must you be in order to be a security expert? I'm merely dabbling in the stuff and I already suspect my grandmother to be working with the ennemy...

Friday, June 3 2005

CSV it is

I must be insane.

I'm about to go to bed. Its 3am. I just finised to setup my CVS server on Anakin.

What can possess a guy to do that? To stay that late? I should've gone to bet at 10pm. Yesterday.

What took me so long? Well, many things. Understanding how CVS worked. Setting rights and groups "properly". Figuring out how "Eclipse" connects to CSV using SSH.

After much labor, I finally succeeded. I'm uploading a few pieces of code right now. Just because I can.

Now, working remote'll be much more cool.

I just need to get used to these tools... then try to make the rest of my friends use it too :P

I love this shit. It makes me feel like a young hacker again. When DOS was around and I was the only one on the block who knew what he was doing.

I feel like that kind of magician again.

Like how I felt when I built a small set of functions that allowed me to use the video card in "mode X". I was cool, some kinda genious kid. I was unique. I was all powerful. Nobody understood what I was doing - but they knew I knew what I was doing... I had results! They stood in awe at my might. Perplexed and amazed by what phenomenal abstractions my brains was able to harness.

Then progress came along and.. well... priorities shifted.

It's cool to reconnect with these feelings again :P

- page 2 of 3 -