NetworkManager

Direcciones IP estaticas en Ubuntu 8.10

Parece que no soy el único que ha tenido broncas con NetworkManager 0.7 en Ubuntu Intrepid Ibex.

Yo acabe por quitar NetworkManager por dos razones:

  • Necesitaba que mis maquinas virtuales tuvieran acceso a la red local (con Host Networking) en VirtualBox.
  • Los servidores DNS de mi ISP valen pa’ pura madre. Les gusta apuntarse el trafico entre si en un circulo vicioso a cada rato, dejando a todos sin una conexión al internet funcional.

Para configurar Host Networking me encontré un bonito tutorial en el wiki de Documentación de la Comunidad Ubuntu. Los conflictos comenzaron después, ya que note que mi conexión al internet se torno inestable y solamente reiniciando el sistema podía recuperar la conexión.

De ahí esta la situación con los nameservers de mi ISP(Telnor). Fallan por lo menos una vez a la semana y son lentos como la chingada, así que quería configurar mis alternos preferidos de OpenDNS. Lo malo fue que a NetworkManager no le parecía la idea y rehusaba aceptar una configuracion manual. Al tratar de declarar los nameservers manualmente, sobre-escribe el archivo /etc/resolv.conf cada vez que el sistema inicia.

Así que después de lidiar con estas patrañas por un par de días desinstale NetworkManager y puse mi solución en launchpad.

Tengo una configuración de red rara en la cual el módem DSL actúa como el servidor DHCP principal para computadoras conectadas con Ethernet y WiFi. Dado que alkhemy no tiene tarjeta WiFi, estoy usando mi router WRT54G(DD-WRT) como un puente inalambrico; conecto alkhemy al router via Ethernet, el router se conecta al módem DSL via WiFi, por lo cual no hay necesidad de que el sistema “mantenga viva una conexión a toda costa” (tomado del man page de NetworkManager). También tenia la duda de si las maquinas virtuales podrían conectarse a la red sin problemas y si el router podría lidiar con ellas sin darse un tiro; Me puedo saber satisfecho ya que no he tenido problemas después de tener esta configuración por una semana.

Ojala y se arreglen los problemas con NetworkManager mas pronto que tarde. No estoy seguro si otras distribuciones de Linux estan siendo afectadas por esto, pero si lo estan puede que el problema empeore. Ya esta llegando la hora en que Ubuntu tenga una edicion concentrandose en arreglar bichos en lugar de agregarle cosas nuevas. Pero yo que se.

Direcciones IP estaticas en Ubuntu 8.10 Read More »

Ubuntu 8.10 Static IP addresses

It looks like I’m not the only one to have run into difficulties with NetworkManager 0.7 in Ubuntu Intrepid Ibex.

Myself I was forced to get rid of NetworkManager for two reasons:

  • I needed my virtual machine instances to have Real Networking (better known as Host Networking) in VirtualBox.
  • My ISP’s DNS servers suck. They like to point traffic to each other in an endless loop from time to time, leaving everyone without an internet connection.

To setup Host Networking I found a nice tutorial in the Community Ubuntu Documentation wiki. However, after that I noticed some strange stuff happening with my Internet connection, as all access would be lost and only a reboot would get the machine to go back online.

Then there’s the question of my ISP (Telnor) nameservers. They fail at least once a week and are slow as hell, so I wanted to configure my preferred alternates from OpenDNS. Problem was NetworkManager was having none of that, as it will rewrite /etc/resolv.conf on every single boot.

So after dealing with this nonsense for a couple of days I got rid of NetworkManager and posted my solution to launchpad.

I have a weird network setup, in which the DSL modem acts as the main DHCP server for both wired and wireless hosts. However, since alkhemy has no wireless card, I’m using my WRT54G(DD-WRT) router to act as a wireless bridge; I connect alkhemy to it via Ethernet, the router connects to the DSL modem via WiFi, so there’s no need for my computer to actively work on “keeping a connection alive at all costs” (from the NetworkManager man page) There was the question whether the virtual machines would be able to network and whether client router would be able to deal with them without barfing; I’m happy to say I haven’t encountered any issues after running everything for a week.

Hopefully someone will get around to fix these problems with NetworkManager sooner rather than later. I’m not sure if other Linux distributions are being affected by this, but if they are it’s going to get messy. It’s getting to be time Ubuntu had a release concentrating on bug-fixes rather than adding on features. But what do I know.

Ubuntu 8.10 Static IP addresses Read More »