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 appears Saturdays in the Los Angeles Daily News, is now available on the Daily News Technology page.

About this blog

New ways to sign in to comment: I just added the ability for prospective commenters on this blog to sign in using their AOL, Yahoo! and Wordpress.com accounts (for the past 200 posts anyway ... more than that will take an extensive, middle-of-the-night rebuild). That's in addition to the other sign-in choices, which include starting a Movable Type account on this blog, Typekey, OpenID, Live Journal and Vox. If you have trouble getting your Movable Type account verified, or any of the other sign-in options are not working properly, please e-mail me. With these added ways of signing in, there's more reason than ever for you to make a comment (or several!).




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

LXer

Links

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 U.K.
iTWire
CNet News
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
Ubuntu
Xubuntu
Kubuntu
Edubuntu
Gobuntu
Planet Ubuntu
Ubuntu Forums
Ubuntu Geek
Works With U
Dustin Kirkland
Ubuntu UK Podcast
Popey
gNewSense
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
PCLinuxOS
Mandriva
Red Hat
Red Hat News
Red Hat Blogs
Red Hat: Truth Happens
Red Hat Magazine
CentOS
Planet CentOS
Fedora
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
PC-BSD
DesktopBSD
DragonFlyBSD
DragonFlyBSD Digest
DesktopBSD
BSD Talk podcast
OpenSolaris
MilaX
BeleniX
DeLi Linux
Linux Loop
Electronista
Engadget
Gizmodo

Advertisement

Other blogs

Johnson Update in Inside USC with Scott Wolf
Has Bynum outgrown Kareem? in Inside the Lakers
Can the Angels just get to the end of this thing without an injury? in Farther Off the Wall
Neuheisel On: in Inside UCLA with Jon Gold
U.S. Roster for Final Two WCQ Announced in 100 Percent Soccer