Fixing a networking bug in Ubuntu 8.04

| | Comments (0) |

You may have read about my networking problems with the Ubuntu 8.04 beta. Today I decided to drill down a bit and figure out whether or not I could fix the problem myself.

I'm sure that the Ubuntu team will get around to fixing this ... eventually. But since I want to use Ubuntu 8.04 with as little pain as possible right now, 22 days before the official release, here's the fix I made so my network interface is properly configured when I boot into the Hardy beta release:

Here's the problem. I'm using a static IP, which I configured with the Network Settings application when I first installed Ubuntu 8.04. But every time I reboot, the network is not configured, and I can't get to the Internet or my local network. My static IP information is right there in the Network Settings boxes, but when I do:

$ ifconfig

... the interface is up, but the static IP numbers are not there. And that means no networking.

I checked the relevant Ubuntu 8.04 configuration file, /etc/network/interfaces, and here's what I found:

auto lo
iface lo inet loopback

iface eth0 inet static
address 192.9.200.24
netmask 255.255.255.0
gateway 192.9.200.254

Something was missing, To be sure, I booted into Ubuntu 6.06 and checked the same config file.

Here's what I found in Ubuntu 6.06 (I've put the missing line in bold so you won't miss it):

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.9.200.24
netmask 255.255.255.0
gateway 192.9.200.254

I booted back into Ubuntu 8.04, opened a terminal (Appications -- Accessories -- Terminal) and did the following:

$ sudo gedit /etc/network/interfaces

I added this line in the proper place (so it looks like the Ubuntu 6.06 example above):

auto eth0

And then I saved and closed the file.

I didn't even have to reboot to see whether or not it worked. I just brought the network down, then up again:

$ sudo ifdown eth0
$ sudo ifup eth0

I then had networking via my static IP. I rebooted Ubuntu 8.04, and networking continued to work.

Problem solved.

It's an easy fix; I'm really not much of a hacker/mucker-around, and the majority of Ubuntu users are probably less so, especially when they're just starting out.

This is a minor bug with major consequences: It definitely needs to be resolved before the release date. It may have escaped notice because it has to do with a static IP, and most people use DHCP, but hopefully they're on it over in Ubuntu land.


Leave a comment

Tech Talk column

Steven Rosenberg's weekly Tech Talk column, which appeared Saturdays in the Los Angeles Daily News through about October 2009, is available on the Daily News Technology page.

About this blog






Steven Rosenberg aims to learn what he does not know. He writes about it here.



About this Entry

This page contains a single entry by Steven Rosenberg published on April 2, 2008 12:00 PM.

Updated: This new small Linux distro could be huge (but maybe not for me) was the previous entry in this blog.

I've got links is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Recent Comments

Powered by Movable Type 4.25

Search this blog

Loading

LXer

Links

Life, the Universe and Debian
Simplify
Daily News technology
LXer
Distrowatch
Linus' Blog
David Pogue
BoingBoing
Linux Today
TuxRadar
Linux.com
Linux Planet
The Open Road
Linux Outlaws podcast
Dan Lynch
Fabian Scherschel
The VAR Guy
Larry the Free Software Guy
Chess Griffin
Linux Reality podcast
Desktop Linux
Practical Technology
Linux Devices
ZDNet
ZDNet's Storage Bits
ZDNet U.K.
iTWire
CNet News
Webware
Beyond Binary
TechCrunch
The Register
Ars Technica
Reg Developer
Computerworld
Computerworld blogs
Steven J. Vaughan-Nichols at Computerworld
Debian
Planet Debian
Debian Forums
Debian News
debianHELP
debiantutorials.org
The Debian User
Wolfgang Lonien
Debian-News.net
Debian Administration
Debian Admin
Debian Weather
Aaron Toponce
Ubuntu
Xubuntu
Kubuntu
Edubuntu
Planet Ubuntu
Ubuntu Forums
Ubuntu Geek
Works With U
OMG! Ubuntu!
I' Been to Ubuntu
Tanner Helland
Dustin Kirkland
Ubuntu UK Podcast
Ubuntu Linux Help
Popey
Linux Mint
CrunchBang Linux
OpenBSD
OpenBSD Journal
OpenBSD Ports
OpenBSD 101
Planet.OpenBSD.nu
jggimi's OpenBSD live CD
DaemonForums
BSDanywhere
Marc Balmer
Denny's OpenBSD blog
Polarwave's OpenBSD Tips and Tricks
Binary Updates for OpenBSD
Puppy Linux
Damn Small Linux
Tiny Core Linux
Lucky 13's Linux blog (lots of Tiny Core)
Lucky 13's BSD blog
PCLinuxOS
Mandriva
Red Hat
Red Hat News
Red Hat Blogs
Red Hat: Truth Happens
Red Hat Magazine
CentOS
Planet CentOS
Fedora
Planet Fedora
Fedora Forums
Fedora Docs
Join Fedora
Paul Frields
Slackware
Slackbuilds
Robby's Slackware Packages
Slackblogs
dropline GNOME for Slackware
GNOME Slackbuild
GWARE - GNOME for Slackware
Wolvix
Zenwalk Linux
Vector Linux
Slax
Splack Linux — Slackware for Sparc
Nonux
How to Forge
marc.info BSD and Linux mailing list archive
FreeBSD
FreeBSD, the Unknown Giant
A Year in the Life of a BSD Guru
NetBSD
hubertf's NetBSD Blog
PC-BSD
Daemon Forums
FreeBSD Forums
Planet FreeBSD
Evilcoder.org
miwi's Privat Blog
DragonFlyBSD
DragonFlyBSD Digest
DesktopBSD
BSD Talk podcast
BSD Magazine
Rhyous
OpenSolaris
MilaX
BeleniX
DeLi Linux
Linux Loop
Electronista
The Tech Report
Engadget
Gizmodo
Phoronix
xkcd – A webcomic of romance, sarcasm, math and language
Nixie Pixel
Technology for Mortals
Thoughts on Technology
ZaReason
System 76
Tiger Direct
NewEgg
DealExtreme

Advertisement