Fedora XII is out
Creo que el titulo se explica a si mismo:
http://get.fedoraproject.org
En otros asuntos, proximamente migrare el software bajo el que corre este sitio (OMFGGG!!!G!G!!!), aun no decido a que, pero... meh. Los mantendre informados
http://get.fedoraproject.org
En otros asuntos, proximamente migrare el software bajo el que corre este sitio (OMFGGG!!!G!G!!!), aun no decido a que, pero... meh. Los mantendre informados
Cambio de... pues de todo
Pues he cambiado de empleo (afortunadamente), no voy a decir mucho de la anterior compañía donde estaba trabajando, solamente que mi salida fue por motivos personales (de salud mas que nada), y la verdad es que muchas ganas de regresar no me quedaron. Durante todo el tiempo que estuve ahi no tuve problemas con los pagos, excepto en la parte de viáticos, ahi siempre hubos fallos. Ah, y ahora también, se suponía que me iban a pagar el correspondiente de lo trabajado del mes de Septiembre el dia último, pero al parecer una vez que sales de ahi ya no eres tan importante. Si, me molesta porque se supone que hice varios trámites y entregué muchos documentos para que a mi salida no hubiera problemas, pero.... bueno.
Conseguí otro trabajo, de nuevo en USA en el área de la bahía de San Francisco, de hecho el trabajo es en San Francisco, estaré trabajando para digg.com, lo cual es bueno porque:
Y digo "tratando de dejarla" porque la máquina que me dieron es una macbook pro, de las cuales no soy tan fan (de su sistema operativo mas que nada, el hardware es muy decente), y pues tiene sus detalles, me he ayudado mucho de varios sitios en la red, pero principalmente estos tres, la máquina es una macbook pro 5,4 y las instrucciones en su mayoría son correctas.
Primero le puse ubuntu, y siguiendo la liga de ubuntu que puse arriba todo funciona como debiera, excepto que ubuntu se me congeló (como ya antes lo ha hecho en otras de mis máquinas) decidí quitarlo. Quería dejar una distribución .deb para tener un ambiente aproximado a lo que voy a trabajar, pero ubuntu me desanimó en este caso.
Luego le puse fedora 11 (Leónidas) y solo tuve algunos problemas:
En fin. Pasando al plano personal, corrí con mala suerte a mi llegada a San Francisco, ya que perdí mi cartera cuando llegué del aeropuerto. Debió caerse cuando me bajé del taxi porque me saqué la cartera para pagarle al chofer, pero ya después no la encontré. Eso me metió en muchos problemas porque no podia disponer de dinero por ATM, y no podia hacerlo en ventanilla porque no tenia una identificación... afortunadamente ahorita ya casi esta todo solucionado, aun faltan algunos detalles pero en su mayoría todo esta ya casi en orden.
También me puse a buscar un departamento, tenía de 2 sopas: buscar en San Francisco y pagar un poquito más de renta, o buscar fuera de San Francisco y pagar un poquito menos, pero aumentar mi tiempo de viaje cada dia. Luego de un par de semanas viviendo en San Francisco me convencí que lo mio no era vivir en una ciudad, así que próximamente (hoy y mañana) me estaré mudando a Burlingame, que está convenientemente localizada a escasos 30 minutos de donde está mi trabajo, casi lo mismo que hago en el camión
Burlingame es un pueblo muy chido, con todo lo que necesitas y muy tranquilo, asi como para mi que no me gusta el desmadre ni nada de eso, jeje.
En fin, ya me cansé de escribir, espero ya actualizar este chunche un poco más seguido.
Conseguí otro trabajo, de nuevo en USA en el área de la bahía de San Francisco, de hecho el trabajo es en San Francisco, estaré trabajando para digg.com, lo cual es bueno porque:
- Los problemas y la tecnología son interesantes
- La paga es buena
- Ya no soy un contractor, sino empleado directo de tiempo completo
- Es una compañía pequeña, asi que puedo moverme con mayor facilidad sin tanta burocracia
Y digo "tratando de dejarla" porque la máquina que me dieron es una macbook pro, de las cuales no soy tan fan (de su sistema operativo mas que nada, el hardware es muy decente), y pues tiene sus detalles, me he ayudado mucho de varios sitios en la red, pero principalmente estos tres, la máquina es una macbook pro 5,4 y las instrucciones en su mayoría son correctas.
Primero le puse ubuntu, y siguiendo la liga de ubuntu que puse arriba todo funciona como debiera, excepto que ubuntu se me congeló (como ya antes lo ha hecho en otras de mis máquinas) decidí quitarlo. Quería dejar una distribución .deb para tener un ambiente aproximado a lo que voy a trabajar, pero ubuntu me desanimó en este caso.
Luego le puse fedora 11 (Leónidas) y solo tuve algunos problemas:
- El driver de nvidia, este fue error de mi parte, en estas máquinas se instala por default el kernel PAE, asi que también hay que instalar el driver de kmod-nvidia-PAE. Luego de eso blacklistear el módulo nouveau (el cual cabe aclarar que funciona out of the box pero sin aceleración 3d) para que no choque con el de nvidia
- El sonido, pero siguiendo el consejo de la página de ubuntu en la sección Sound lo pude arreglar
- La backlight, esa lo arreglé con pommed pero dejenme decirles que la instalación es una patada en el cuello
En fin. Pasando al plano personal, corrí con mala suerte a mi llegada a San Francisco, ya que perdí mi cartera cuando llegué del aeropuerto. Debió caerse cuando me bajé del taxi porque me saqué la cartera para pagarle al chofer, pero ya después no la encontré. Eso me metió en muchos problemas porque no podia disponer de dinero por ATM, y no podia hacerlo en ventanilla porque no tenia una identificación... afortunadamente ahorita ya casi esta todo solucionado, aun faltan algunos detalles pero en su mayoría todo esta ya casi en orden.
También me puse a buscar un departamento, tenía de 2 sopas: buscar en San Francisco y pagar un poquito más de renta, o buscar fuera de San Francisco y pagar un poquito menos, pero aumentar mi tiempo de viaje cada dia. Luego de un par de semanas viviendo en San Francisco me convencí que lo mio no era vivir en una ciudad, así que próximamente (hoy y mañana) me estaré mudando a Burlingame, que está convenientemente localizada a escasos 30 minutos de donde está mi trabajo, casi lo mismo que hago en el camión
Burlingame es un pueblo muy chido, con todo lo que necesitas y muy tranquilo, asi como para mi que no me gusta el desmadre ni nada de eso, jeje.
En fin, ya me cansé de escribir, espero ya actualizar este chunche un poco más seguido.
Fedora, NetworkManager, hostname, DHCP
So after my last post I went on and started testing different configs to pinpoint where exactly the problem was. I didn't want to do that because I'm a lazy guy, but incredibly enough, google gave only vague results concerning my predicament.
The problem here is that fedora works with sysconfig parameters, that is, every tool fedora uses for its own management ends up creating/updating config files inside /etc/sysconfig. The conf files for the network cards are in /etc/sysconfig/network-scripts/ifcfg-YOURNIC, so, if you have eth0 and eth1 you should have ifcfg-eth0 and ifcfg-eth1, ifcfg-wlan0 for your first wireless card. If you check ifcfg-wlan0 after making the changes through system-config-network-gui you'll see a line like
I believe (and please, someone correct me if I'm wrong, I'm almost asleep now) NetworkManager creates a dhclient.conf file on the fly by reading the sysconfig values in fedora. After that it reads the common dhclient stuff. However, it is somehow ignoring the DHCP_HOSTNAME value, so it doesn't get translated to the "send host-name" directive in dhclient.conf lingo.
So that's it, I got to face my little pet peeve with NM, and with that, I'm off to sleep.
The Problem
... or more like "annoyance" in this case. The facts:- My main router is a wireless
- All the machines in my house connect wirelessly, all of them are linux machines
- I used to have an ubuntu machine, now all of them are fedora
- All of them can connect and use the internet just fine
- Ubuntu machines (I only tried with ubuntu, I cannot assert this happens with other distros) identify themselves with their hostnames in the router list
- Fedora machines (and I suspect any RH-based distro, again, this is just a guess) do not identify with their hostnames, the IP Address is the only record that appears in the router's client list
- All of them are stock, just-installed machines using NetworkManager
- My wireless network does not use any kind of key. This shouldn't have any impact whatsoever, but I wanted to clarify
- If I connect to the router using an ethernet cable, both ubuntu and fedora work properly
The Testing Process
As I said, both distros have the stock install. I accomplished this by using ubuntu (Jaunty) and fedora (Leonidas) live CDs. No additional packages were installed, just the stock NetworkManager stack. After each test I disabled the networking (right-click on NM's applet, uncheck "Enable Networking"), deleted the lease file from /var/lib/dhclient and powered down the router. After making the changes (and waiting something like 5 minutes) I'd power up the router and re-enable NM.The Root Cause
There were several comments in my last post explaining several theories, and I myself had a hunch where the issue could be present. Most of them pointed me to the dhclient.conf file, but that was half the issue:- Yes, it has to do with the DHCP request being sent to the DHCP server
- The magic parameter here is "send host-name"
- The tool system-config-network-gui does half the job
The problem here is that fedora works with sysconfig parameters, that is, every tool fedora uses for its own management ends up creating/updating config files inside /etc/sysconfig. The conf files for the network cards are in /etc/sysconfig/network-scripts/ifcfg-YOURNIC, so, if you have eth0 and eth1 you should have ifcfg-eth0 and ifcfg-eth1, ifcfg-wlan0 for your first wireless card. If you check ifcfg-wlan0 after making the changes through system-config-network-gui you'll see a line like
DHCP_HOSTNAME=prettyhostname
Again, check both the eth and wlan ifcfg files and you'll see your changes there, so what's causing only the wireless card to bork? Right now all evidence point to NetworkManager. NetworkManager does a damn fine job at managing your network connections, but it does it differently given the distro where it is running. So it reads the sysconfig files in fedora, and reads the /etc/default/interfaces stuff in debian-based distros. Besides that, it reads the common dhclient config. In ubuntu, we do have a file /etc/dhcp3/dhclient.conf which has a line
send host-name "";
I think gets replaced somewhere along the way with the hostname taken from hostname or /etc/hosts. Fedora does not have a default /etc/dhclient.conf and, actually, it doesn't work as straightforward as you'd like.I believe (and please, someone correct me if I'm wrong, I'm almost asleep now) NetworkManager creates a dhclient.conf file on the fly by reading the sysconfig values in fedora. After that it reads the common dhclient stuff. However, it is somehow ignoring the DHCP_HOSTNAME value, so it doesn't get translated to the "send host-name" directive in dhclient.conf lingo.
The Workaround
The simplest way would be to add a file /etc/dhclient.conf with the directive and be done with it, however, fedora somehow ignores a "common" dhclient.conf file and instead uses a "per nic" conf file. So you'll have to create a file /etc/dhclient-wlan0.conf (or ra0 or ath0 or whatever your nic is called) with the line
send host-name "prettyhostname";
Don't forget the semi-colon at the end, and of course replace prettyhostname with your actual hostname. Fedora does not work using a placeholder like ubuntu does (yes, I tried, doing so will make it appear as blank in the router's client list). Additionally, you can add any parameter you think should be superseded in this file (dns servers and whatnot)The Closing Argument
So I spent some time understanding (or more like, trying to understand) NetworkManager's innards, I hope I got it OK. I also went ahead and posted a bug to NM's bugzilla, so hopefully this will get fixed later, the bug is here http://bugzilla.gnome.org/show_bug.cgi?id=594591So that's it, I got to face my little pet peeve with NM, and with that, I'm off to sleep.
Whatever happened to the hostname?
Dear lazy web:
I have two machines working right now, one with fedora, the other with ubuntu live cd. Both machines connect wirelessly to my main router, but only the ubuntu machine displays its hostname in the router client table (in this case "ubuntu"), while the fedora machine is identified by the IP address. This is annoying because I can "ping ubuntu" and it would answer back, but I cannot "ping fedora".
If I connect the machines via ethernet, they both behave the same and I can see the hostname properly set in the router. Both machines answer OK to host lookups as well.
What's the deal? I'm guessing it has something to do with the way fedora handles the ifcfg scripts, but so far I've encountered no way for fedora to set the hostname in the router as ubuntu does.
Ideas?
UPDATE:
It must be my medication still wearing off (or so I hope that's the reason why I missed the whole point here). My main concern, or rather, my question is: What's the difference between ubuntu and fedora's implementation of NetworkManager? I am using it for both machines, what params ubuntu is reading (and from where) that fedora is not?
I have two machines working right now, one with fedora, the other with ubuntu live cd. Both machines connect wirelessly to my main router, but only the ubuntu machine displays its hostname in the router client table (in this case "ubuntu"), while the fedora machine is identified by the IP address. This is annoying because I can "ping ubuntu" and it would answer back, but I cannot "ping fedora".
If I connect the machines via ethernet, they both behave the same and I can see the hostname properly set in the router. Both machines answer OK to host lookups as well.
What's the deal? I'm guessing it has something to do with the way fedora handles the ifcfg scripts, but so far I've encountered no way for fedora to set the hostname in the router as ubuntu does.
Ideas?
UPDATE:
It must be my medication still wearing off (or so I hope that's the reason why I missed the whole point here). My main concern, or rather, my question is: What's the difference between ubuntu and fedora's implementation of NetworkManager? I am using it for both machines, what params ubuntu is reading (and from where) that fedora is not?
I have no words to say...
Literally, I have no words to say.
I've been pretty much out of the whole picture these last couple of weeks. But the main reason is that I had my tonsillectomy on the 28th. I was mostly mute for the whole week, and I survived mostly out of the huge reserves my body had stored for such a situation (yeah, I am not overweight, I am prepared
). That also meant that I could hardly focus on anything without feeling tired, and I was feeling kitty-weak for the whole week.
Having no way to swallow food sure puts things in perspective, there are certain things (not people) that I love in this world, and one of them is the food: cook and eat it. One of my dreams is to study/learn new cuisines, originated in no small part from my love of the tastes, textures and smells that different dishes can have. And being unable to even swallow a pop corn was driving me crazy. I didn't eat anything for 4 days after the surgery mostly due to the pain (and thinking on how it would hurt if I ate). Finally on the 5th day I decided I wanted a grape, and what would be my surprise when I couldn't even taste it. That's when I snapped.
I started doing all kind of exercises to recover my sense of taste and to speed up the whole recovery process, and thankfully, I am almost up to par again now. I did them even if they hurt, I thing I was honestly being a sissy, and the loss of taste was the push I needed to finally kick things into action.
I'll be 100% again soon I hope
Oh, one more thing, I'm moving back to the Bay Area on the 19th, so if you have or hear about any apartment in the area (San Francisco or south-ish San Francisco) give me a shout.
I've been pretty much out of the whole picture these last couple of weeks. But the main reason is that I had my tonsillectomy on the 28th. I was mostly mute for the whole week, and I survived mostly out of the huge reserves my body had stored for such a situation (yeah, I am not overweight, I am prepared
Having no way to swallow food sure puts things in perspective, there are certain things (not people) that I love in this world, and one of them is the food: cook and eat it. One of my dreams is to study/learn new cuisines, originated in no small part from my love of the tastes, textures and smells that different dishes can have. And being unable to even swallow a pop corn was driving me crazy. I didn't eat anything for 4 days after the surgery mostly due to the pain (and thinking on how it would hurt if I ate). Finally on the 5th day I decided I wanted a grape, and what would be my surprise when I couldn't even taste it. That's when I snapped.
I started doing all kind of exercises to recover my sense of taste and to speed up the whole recovery process, and thankfully, I am almost up to par again now. I did them even if they hurt, I thing I was honestly being a sissy, and the loss of taste was the push I needed to finally kick things into action.
I'll be 100% again soon I hope
Oh, one more thing, I'm moving back to the Bay Area on the 19th, so if you have or hear about any apartment in the area (San Francisco or south-ish San Francisco) give me a shout.








Comentarios Recientes