I just bought a wireless card, installed Kubuntu Dapper Drake, and imagine my delight when it just worked, out of the box, no problems at all! Glory be. So I ran a complete update, crowed publically, and went to bed. The next time I started up, the wireless card had apparently evaporated.
The solution is actually pretty simple, but Google is apparently having trouble indexing the Kubuntu forums. Here’s the thread that explained it: “After update no wifi“, and here’s my version of the fix-it-up steps.
First, the symptoms: on a fresh Dapper install the wireless PCI card (mine is an SMC, but it seems the problem is more general) is auto-detected and works. But after running updates and restarting, the Wireless Assistant quits after informing you that you have no wireless devices, and Network Settings doesn’t list a network interface for the card.
Next, the solution: First off, restart the machine but choose an older kernel version. You should have wireless again, and now we’re going to do the upgrade properly, so that you get your updated kernel back.
What’s happened is that the update includes a new kernel version, and the updated kernel module for the wireless card is not in the main repository (presumably it’s non-free or has problematic licensing or something). You need to add the restricted repository to the security updates in /etc/apt/sources.list:
deb http://security.ubuntu.com/ubuntu dapper-security main restricted
(If anyone can tell me the difference between restricted and universe/multiverse I’d be delighted.) Now when you run updates again, you’ll get the module you need. And this is why we started by booting up the older kernel: without wireless you can’t run the update, if (like me) you live on a boat without a cable connection to anywhere. Now restart, and choose the newer kernel, and everything should be golden.
(Incidentally, a tip for the terminally asleep: if you’re living in the Netherlands and getting atrocious download speeds on your updates, it’s worth checking that your repositories begin with nl, not for example au. And if you’ve been downloading from Australia and complaining about the speed of the wireless connection, give yourself a good slapping. I did.
Even better, with the Dapper install CD you could forestall the problem: before starting the install, set up networking. Yes, that means you’ll have to do it twice, but it also means that during installation you’ll have access to the repositories so –presumably– it will choose something sensible. Which is yet another reason for being delighted with the way they’ve handled installation: first run Kubuntu from the CD, then within a working system give you the install app. I guess you’ll probably still have to add the restricted repos by hand though.)
7 Comments
AIUI, the difference between restricted and universe/multiverse is the nature of the packages. Restricted contains things that are supported by Ubuntu, but are non-free (e.g. nvidia video drivers, a lot of wireless drivers). Universe contains unsupported free software, and multiverse contains unsupported non-free software.
PS: You know that Ubuntu has a help thing, right? And that if you were to open up, say…’System documentation’ and go to ‘desktop guide’ you’d find a link to an explanation under there. The Ubuntu help system is quite complete, it’s worth checking out just to see what stuff you didn’t know about there is. It also provides access to man pages and so forth. It’s quite a hard habit to break though, not looking in the help. I was surprised when I found that it wasn’t totally useless.
Ahum, you’re quite right, the obvious place to look was ‘System documentation -> desktop guide’ (?!). No but seriously, it is a habit not to look in the help. I got desperate and tried it for this wireless stuff (since I didn’t have teh internets) and it turned up what I guess was a text document formatted in html, which is bloody horrible to read (the nicely formatted table of contents runs into a single line, &c.) and doesn’t really inspire much confidence.
Thanks for the explanation though, it hadn’t occurred to me that there are two parameters here (supportedness and freeness), which makes three non-standard repository types make sense.
Well, it is a desktop guide if you compare it to say, the server guide, and the wanting to install applications bit. The help is HTML formatted…that’s why it displays it in an HTML viewer :) It displays fine for me.
Well, this particular help was a text file displayed in an html viewer, which is why it looked so bloody awful.
Oh, right. Yeah, that’ll screw it up alright. File a bug :)
Wtf?! Spam Karma decided that last comment needed moderating! “Screw” is too strong for it?