I just installed Ubuntu 12.04 on my 5-yr-old Dell Netbook in hopes of replacing Win XP. I know diddly about Linux, but I used to be able to get through DOS instructions, so I can type in a terminal.
The system shows a wifi wedge, but won't connect to anything. I've been reading about wireless here, and have downloaded, via XP, the 32-bit driver file from Broadcom. I'm reading their instructions, but I don't understand. I have to compile this file?
Broadcom's instructions say:
On Ubuntu, you will need headers and tools. Try these commands:
apt-get install build-essential linux-headers-generic
I opened a terminal and typed that in. I got
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory /var/lib/dpkg/), are you root?
What's all that mean?
apt-get build-dep linux
I typed that in and got the same two lines.
To check to see if you have this directory do this:
ls /lib/modules/*uname* -r/build
That gave me 7 columns of words (folder names?), some in blue, some cyan, and one white.
1. Setup the directory by untarring the proper tarball:
For 64 bit: hybrid-v35_64-nodebug-pcoem-portsrc.tar.gz
I managed to make the directory and to change directory (DOS commands!). I also managed with the desktop file manager to move the tarball to the hybrid_wl folder so it would be easy to get at. But I stopped there as the earlier command responses seem to mean that something's missing.
tar xzf <path>/hybrid-v35-nodebug-pcoem-portsrc.tar.gz or
2. Build the driver as a Linux loadable kernel module (LKM):
make clean (optional)
When the build completes, it will produce a wl.ko file in the top level directory.
If your driver does not build, check to make sure you have installed the kernel package described in the requirements above.
I thought root was like Win admin. I'm the only user. I must be root, right? What's up with root and permission denied? How do I get past or fix that?
Also, when I was using the folder app to move the tarball, I right-clicked it out of habit, and discovered there are both an Archive Manager and an Archive Mounter with which I could open it. If I use one of those can I skip all the rest of this?
I'm sorry if this is hard to read. Your formatting controls are none I've encountered on a website before. Linux, perhaps? And I've no clue why some text is wrapping and some isn't.