Tuesday, March 13, 2007

Learning wifi with Fedora Core 6

I've to confess I feel myself a little bit older for some stuff ... but curiosity has been a strong force inside me.

Since I bought my brand new wrt54g-l for SoHo use I'm testing a couple of wi-fi cards.

A lot of people has wi-fi cards that they don't use. Nowadays laptops has wi-fi inside them so it's easy to find wi-fi cards that had fall into disuse. There's a great chance for me to experiment with them without expend a buck.

I've tryed out an atheros wi-fi (thank you Nacho) and now I'm testing a U.S. Robotics. The U.S.Robotics belongs to Pablo who is helping me further than letting me his card, he has quite deep wi-fi knowledge (and also he's a real Red Hat BOFH).

The atheros card is fairly well recognised by Fedora Core 6, you just need to insert into you pcmcia slot and type lspci then it appears. I've let it go by now 'cause even you cand find atheros wi-fi driver my first attempt shows that as far as I know a driver compilation was required for the atheros card.

I'm too lazy to compile it, keep myself worried about when a new dirvers appears, and re-compile it if needed. I want an easy to keep up to date driver, and easy to install wifi card 'cause I deeply believe Linux is mature for that I just have to search for it.

As long as Pablo is a wifi fan (and a hardware trasher) he offers me to test their U.S. Robotics. Well here I finish 'cause I'm on the task right now. By now, is a slightly different, forget lspci command. You put the card into your laptop slot and type pccard ident, Fedora shows something like that:

Socket 0:
  product info: "U.S. Robotics", "IEEE 802.11b PC-CARD", "Version 01.02", ""
  manfid: 0x0156, 0x0002
  function: 6 (network)

Here I stop. Next comming posts will talk about my succes or failure with U.S. Robotics. While I was browsing looking for some info about all that stuff I've found a pdf quite long in my opinion about wifi cards and how to identify them (look at point 6.5) and that pdf comes from a HP guy! nice stuff.

Labels: ,

Friday, March 09, 2007

Faillog in Fedora

First of all, this is just my own experience from an Red Hat magazine named How do I use the faillog program to track failed login attempts?

Let's go:

  1. Open the /etc/pam.d/system-auth file for editing.
  2. Add the following lines:
    auth required pam_tally.so no_magic_root account required pam_tally.so deny=2 no_magic_root
  3. Save the file and exit.
  4. Test the configuration by attempting to login as a root, but using a wrong password.
  5. Here're my 5 cents: type this: (my output appears in spanish)
    [root@soseck ~]$ faillog -u root User Fails Máx Last Active root 1 0 03/01/07 07:40:02 +0100 pts/0
  6. Keep in mind that if your're using the authconfig tool your changes at /etc/pam.d/system-auth will be lossed next time authconfig runs.

More from my own: as a root you should use system-config-suthentication (by typing from a console, for instance) if you want to have a look on how yor system is configured. I recommend you have a look on faillog manual page. It comes with very useful parameters that makes me feel I 'll need a next post to talk about it, such a lock-time that lock an account during a number of seconds after a failed login.

Labels: ,

Brand new router WRT54G-L

Wow! my older server was more more noisy that I thought, even with its noiseless power supply.

Now I've a brand new Linksys WRT54g-L and look carefully at that L which stands for Linux. This router with a Linux inside open a world of posibilities ... such a this firmware for WRT54G-L.

I'm using as a router, by now. Soon it may replace a small http server if have the nerve to updated it (yes, I'm a coward)

Friday, March 02, 2007

Cloverdale has writte me!!!

I thought it was a joke or it belongs to a marketing action but I was wrong. He do writte me an email, Cloverdale himself!

Dear Pere,
Good luck with your English! If you still listen to Vaughan Radio, continue doing so. In the long run (a la larga)... in the long run, it will pay handsome dividends.
Un saludo cordial

So I'm a lucky guy! I answer him immediatly ... and what had happen? He answer me again!

¿Por qué no he de escribir a gente que habla bien de mí?
De vez en cuando, cuando tengo un rato sin trabajo urgente o cuando estoy ya cansado y quiero hacer el vago, o juego al solitario o navego por los blogs. Te encontré en el ciberespacio hace una hora y quiero darte las gracias por ser buen oyente. Nada más.
Soy yo. Soy Clovy, el locutor de las mañanas (retransmitido de noche). Si me mandas un correo muy tarde la noche del domingo, lo veré en el locutorio ya en antena el lunes por la mañana. Si me gusta el mensaje ya lo mencionaré en antena el lunes mismo.

What can I say? He seems to be a nice person, hey Clovy you've made my day!

I must confess one thing ... I told my colleague Lisa that Vaughan radio start to broadcast in Valencia and them she tolds me we were Vaughan customers. It's really surprinsing and nice to receive an email from someone you hear almost every day in the mornig ... News star to bores me and I've found Vaughan radio very very useful.

A friend of mine asks me why I was writting in english in this blog, as I told time ago: keep on practising, there's no other way! Who knows, may that post was the one that Clovy founds

Cloverdale, by the way, don't be strict with my posts, I use to writte very fast, and don't review in deep my mistakes, even more, if there're I don't correct them. Keep in mind that just want to writte and writte and practise. Again, thanks for your kindly email