My ongoing experiences with Ubuntu, and later Mythbuntu, as a media center with MythTV. I'm also using the system for a virtual machine server, a mediawiki server and a general all around home infrastructure base.

Showing posts with label wireless. Show all posts
Showing posts with label wireless. Show all posts

Friday, April 24, 2009

Upgrading Ubuntu Desktop from 8.10 to 9.04 - wireless woes again.

Turning now to upgrading my Ubuntu laptop from 8.10 to 9.04 using the Network Upgrade method. I started by checking to make sure I'm up to date:
# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Then I ran System/Administration/Update Manager, hit Upgrade and followed the directions.

The irst time through I saw the following, which turned out to be caused by a misconfigured apt-cacher on my apt-cacher system (which I had just upgraded):
Third party sources disabled

Some third party entries in your sources.list were disabled. You can re-enable them after the upgrade with the 'software-properties' tool or your package manager.
Followed by:

Error during update

A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry.

W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/restricted/i18n/Translation-en_US.bz2 Error reading from server - read (104 Connection reset by peer)
, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/multiverse/i18n/Translation-en_US.bz2 Error reading from server - read (104 Connection reset by peer)
, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty-updates/restricted/i18n/Translation-en_US.bz2 Error reading from server - read (104 Connection reset by peer)
, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/restricted/i18n/Translation-en_US.bz2 Error reading from server - read (104 Connection reset by peer)
, E:Some index files failed to download, they have been ignored, or old ones used instead.
After fixing apt-cacher, I ran System/Administration/Update Manager again and it went much more smoothly. Questions asked during the upgrade and my answers:

Replace /etc/services? Yes
...

Could not install 'b43-fwcutter'
subprocess post-installation script returned error exit status 1
This turned out to be the sources of wireless woes (more about that later).

Then a couple scary messages I think related to the b43-fwcutter failure.

Could not install the upgrades
The upgrade is now aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a).

...

Upgrade complete

The upgrade is completed but there were errors during the upgrade process.

...

Then I went ahead and did a...

#reboot
Booting the system did a "Routine check of drives" took several minutes

And then when it came up, I had no wireless, like last time. I plugged into wired ethernet and that worked - so that's better than last time. First thing I tried was re-enabling third party sources and seeing if there was a new Network Manager. I edited /etc/apt/sources.list and uncommented the following lines:

# Latest version of Network Manager
deb http://ppa.launchpad.net/network-manager/ubuntu jaunty main # disabled on upgrade to jaunty
deb-src http://ppa.launchpad.net/network-manager/ubuntu jaunty main # disabled on upgrade to jaunty

# Dropbox
deb http://linux.getdropbox.com/ubuntu jaunty main # disabled on upgrade to jaunty
deb-src http://linux.getdropbox.com/ubuntu jaunty main # disabled on upgrade to jaunty

#WineHQ - Ubuntu 8.10 "Intrepid Ibex"
deb http://wine.budgetdedicated.com/apt jaunty main # disabled on upgrade to jaunty

# SKYPE
deb http://download.skype.com/linux/repos/debian/ stable non-free # disabled on upgrade to jaunty

And then I ran:
# apt-get update
# apt-get upgrade
But the only packages that were upraded were nautilus-dropbox and wine. So no luck there.

Ok, going back to b43-fwcutter, I tried the following:
# /usr/share/b43-fwcutter/install_bcm43xx_firmware.sh
...
# reboot
And that did the trick!

Now I just did the usual vmware re-configure:
# /usr/bin/vmware-config.pl
I accepted all the default. Afterwards, don't forget to fix /etc/vmware/config.

At this point everything seems good...

Monday, October 27, 2008

WPA on Dell Inspiron 6000: No luck

My other system is a Dell Inspiron 6000 laptop on which I also have Ubuntu 8.04 running. I tried moving my wireless to WPA today and had no luck getting the laptop working. Every time I entered the WPA passphrase, it would try to connect for 10 seconds and then prompt for the passphrase again.

I tried these directions to no avail.

I tried following the directions here and installing the latest and greatest network manager, but to no avail.

I tried disabling the Gnome Network Manager and following these directions, but no luck either.

This guy apparently just thinks I'm an idiot.

Anyone got WPA working on a Dell Inspiron 6000 with Ubuntu 8.04? Getting wireless working was a snap, but WPA is eluding me so far...

In case it maters, I have d a Broadcom BCM4318:
% lspci | grep Wireless
03:03.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

Update: Well the youtube guy was right, I'm an idiot :-) Turns out I must have had a cut'n'paste error when I set the password on my WPA network, so it worked from the machine I set it on (pasted the same password), but somehow I transcribed it wrong into my KeePass database. Once I got the right password, things work fine.