Jump to navigation
Brought to you by
I installed Ubuntu today itself.
Although internet and wifi is running absolutely fine on other OS,
but cant find any wireless networks on Linux.
Can you try opening a terminal (in the menu, Applications -> Accessories -> Terminal) and enter the following commands:
If you post the output of those commands here, that should help us determine whether or not Linux has loaded the correct network drivers yet :)
The output of dmesg and lshw | grep -A12 '\-network' would be a big help, too.
lshw | grep -A12 '\-network'
I have exactly the same problem: WiFi works in Windows, ethernet cable works in Ubuntu (Hardy Heron), but WiFi doesn't work in Ubuntu. Since the original poster seems to have abandoned this thread, I'm taking over the position of n00b :huh:
When I boot up in Windows, the light that says "WIFI" usually comes on. But in Linux it doesn't come on even if I press the button, and if I go back to Windows I have to press the button to turn it on again.
The output from "dmesg" was 28K, so I've tried to attach it as a separate file, but I'm not sure if it's worked: [file name=dmesg_output.txt size=28714]http://www.linux.com/media/kunena/attachments/legacy/files/dmesg_output.txt[/file]
The output from the other 3 commands was as follows:
Maybe this helps:
OK, I looked at the other post. When I type "uname -r" it says "2.6.24-27-generic". I looked on Synaptic Package Manager. It lists a package named linux-restricted-modules-2.6.24-27-generic, and it says my installed version (of linux-restricted-modules-2.6.24-27-generic) is 18.104.22.168-27.5. This seems like a mixed message, to my untrained eyes. (Is the version number 2.6.24-27-generic or 22.214.171.124-27.5?) And there are also a few more versions installed:
- linux-restricted-modules-2.6.24-16-generic, version 126.96.36.199-16.34
- linux-restricted-modules-2.6.24-21-generic, version 188.8.131.52-21.51
- linux-restricted-modules-2.6.24-26-generic, version 184.108.40.206-26.3
- linux-restricted-modules-common, version 220.127.116.11-27.5
- linux-restricted-modules-generic, version 18.104.22.168.29
I tried following the link to the madwifi page, but the link was broken and their main page says they've delegated their software distribution to sourceforge, and I couldn't find madwifi-ng on sourceforge.
What do I do now?
madwifi is outdated now because the atheros kernel drivers are built right into the kernel with names such as ath5k, ath7k or ath9k. Can you please run "sudo lsmod|grep ath" and tell me if you see any of the module names I listed above or anything that starts with ath?
That is odd, I am seeing that your wifi card is supported by the ath9k driver, but it does not appear to be loaded. Go into the terminal and enter "sudo modprobe ath9k" to load the driver, if that does not fix the issue then I would like you to post the output of "sudo lspci|grep -i ath" to this site.
It still doesn't work:
It looks like it may not be setup as a module in your kernel, have you tried going to the Hardware Drivers option in the administration menu to see if it detects the card and recommends drivers?
It lists 2 device drivers: "Atheros Hardware Access Layer (HAL)" and "Support for Atheros 802.11 wireless LAN cards". They both have ticks beside them to say they are both enabled and in use. I don't see any error messages.
If they are both installed according to the hardware driver tool then the device support is available. What exactly is the current issue that you are having with interacting with your wireless card?
You may need to install a newer kernel. 2.6.32.xx
mfillpot, I don't know what the issue is, only that WiFi doesn't work at all from Linux, even though it works in Windows and ethernet works in Linux.
How do I install a new kernel? Is this liable to be a troublesome process, and will I lose compatibility with already-installed software?
By checking for updates and installing all updates it should give you the newest versions of everything including the kernel.
I think the problem has to do with how ubuntu links hardware, it should work, but doesn't. You should report this to the ubuntu developers so they can troubleshoot their processes. The instructions for reporting problems are at https://help.ubuntu.com/community/ReportingBugs
Try using " wifi-radar ". If its not available in your repository, download it from some where. It will allow you to select your wireless network, enter WEP key, and switching to network available. More details can be found here:
Syed Muhammad Shahbaz
David, sorry I've been terribly busy and wasn't able to get back to you. Matt is probably right, you probably just need a kernel upgrade. What version of Ubuntu are you running?
Actually, David, I take that back. I suspect that Madwifi is still the best option for you. Try the following if you would:
And then test it with modprobe ath_pci
If the module works for you, then go ahead and update your initrd with the following command:
sudo update-initramfs -u
Let me know how that turns out for you....
OK, I did all that and it seemed to install things (albeit not on the first attempt, as I had to do some routine updates first). And it created the madwifi folder. But I still can't see how to actually access the internet wirelessly.
When I go to "edit wireless networks" there are no wireless networks on the list. At the bit where you type in the Properties, everything is greyed out except "Name" and "bssids", and I can't type in bssids. (It was exactly like this before.) I've tried some of the commands from earlier in this conversation and the outputs are nearly the same, although the output of "ifconfig -a" has a few nonzero numbers where before they were 0.
What do you think? Is it worth pursuing this line of enquiry, or do I need a new kernel?
can you include the outpu of both of these commands:
sudo iwlist scan
OK, I did all that and it seemed to install things (albeit not on the first attempt, as I had to do some routine updates first). And it created the madwifi folder.
Actually it seems to either not have installed the madwifi driver, or you may have other / more issues. Can you also provide the output of "lsmod | grep 802". I want to see if the driver is installed and active in your kernel.
I get no output whatsoever. But when I type just "lsmod" I get the output listed below.
You mention other issues. I do have other issues with Ubuntu, but I hadn't said anything about them because I thought you had enough to deal with. But if they might be connected to this, then I might as well tell you:
- I have no sound at all.
- The screen resolution is 800x600, and the only other option is 640x480 which is even worse. (So, for instance, I can't see all of this webpage without scrolling horizontally.)
- I have trouble installing things from source, it looks like part of the gcc package is missing or something.
Based upon the type of issues you are having it sounds like your installation medium was corrupt, which resulting in incomplete packages.
What did you use to install Ubuntu, a home written disk, a flash driver, a purchased disk, etc.. ?
I downloaded it and burned it onto a CD. (Or do I mean DVD?)
Did you verify the checksum of the iso file prior to burning it and also use the disk verify utility in your disk burning software to confirm the integrity of the file?
I don't remember.
I highly recommend re-installing the OS, which includes re-downloading the iso, doing a md5sum integrity check, on the iso and verifying the disk when it is burned.
Will I lose stuff I've installed?
Yes you will, as with any reinstall you should write down all apps you installed and back up your files first.
Hmmm ... I've always had luck with the madwifi driver for the atheros chipsets. Try this:
sudo rmmod ath_pci
sudo modprobe ath5k
sudo iwlist scan
See if that gives you any more luck.
I also may have asked this already, but what version of Ubuntu are you running, and version of the kernel ? ( uname -r )
I believe it's Hardy Heron (8.04).
Would you be willing to consider upgrading to a more recent version? I'm assuming you stuck w/ Hardy all this time because it was an LTS release. Ludic is an LTS release, too, and ships with a more modern version of the kernel, and better hardware support. You may find that the upgrade may fix your problem. If you're afraid that Lucid will look too different, might I also suggest that you consider Karmic, as it still has that Ubuntu "human" theme w/ the Orange and brown that you are probably comfortable with. I'm pretty sure that your hardware will work in Karmic, too
"stuck w/ Hardy"? I didn't see any reason to change. Are you implying that I was supposed to upgrade every time they released a new version?
Not necessarily. There's no reason to upgrade, I guess, if everything works fine for you. But clearly, that's not the case.
You're running Kernel 2.6.24, which still relied on madwifi to run the Atheros chipset. That also means that some of the code that runs the software dirven radio in those cards is closed source. Drivers that require cutting a binary from the chip, the downloading of closed source firmware and plugging into the kernel have a lousy track record.
In 2.6.25, the ath5k driver was included in the kernel, which is a completely FOSS driver native to the kernel for the Atheros chipset.
If you absolutely want / need to stick with Hardy, then you may end up needing to patch the madwifi source and re-compiling and re-installing it. Or, you may need to consider rolling your kernel / kpkg to get to the ath5k driver. But frankly, I tihnk in your case upgrading Ubuntu is going to be much easier.
OK, I wasn't sure how to verify the download, so instead of a clean install I just upgraded to Lucid. WiFi and sound now work, but the screen size is still wrong and some other things haven't gone smoothly either. So I'd like to do a clean install. This begs some questions: How do I check that I've downloaded the iso file correctly? (I.e. how do I check the checksum and where does it say what the checksum should be?) How do I check that it's burned on the CD correctly? And how do I uninstall the current installation?
There's really no need to uninstall. you can install right over the current installation, and just be sure to chose to format the drive during the install process.
It's funny that the MD5 sums are not on the site. Interesting. None-the-less you can get the sums from one of the mirrors. For example, look here: http://mirrors.rit.edu/ubuntu-releases/10.04/
To check the sum, after the download, pick whether you want to do an md5sum or a sha1sum. They have both posted on the mirrors. Then on the CLI, it's as simple as "mdsum " or "sha1sum ". Then compare the the value it outputs with the value form the mirror to make sure it's a match.
Frankly, I'm not sure how you would check the burn. Maybe someone else has some advice for that?
How do I check that I've downloaded the iso file correctly?
Download this file to the same directory as the .iso file, and open Applications -> Accessories -> Terminal. Assuming that the .iso file and the MD5SUMS file is saved on your desktop, enter these commands in the terminal:
If your file is not corrupt, that command should return something like this:
How do I check that it's burned on the CD correctly?
Many CD burning applications will allow you to check whether or not the disk was burned correctly. I'm not sure if Brasero, the default burning application in Ubuntu, supports this though. If not, there is also an option in the boot menu of the Ubuntu installation disk to check the integrity of the disk.
And how do I uninstall the current installation?
You don't. You backup your important data, and format/overwrite the existing Ubuntu partition. If you haven't already, I suggest creating a separate partition for /home to make future system upgrades/reinstalls smoother (since your personal data won't be lost during a reinstall as long as you don't reformat the /home partition).
OK, that didn't work so well...
I still couldn't work out how to check that the CD was burned properly, but I burned it anyway. Maybe I should try doing another copy.
One hardware question: Is it OK to label the CD using a permanent marker? (I don't mean on the side where the laser beam is.) I've always thought it was, but maybe not.
I use markers on my CD/DVD's without having a problem. Small words on the outer edge.
In some cases the iso's don't have MD5SUM files to download with them, in those cases you need the MD5SUM key from the website that directed you to the download. In your cas you can find the appropriate md5sum for your iso in the left column of http://mirrors.rit.edu/ubuntu-releases/10.04/MD5SUMS next to the iso name.
You can verify it by running "md5sum IsoFile.iso" (replace isofile.iso with your iso name) then compare the resulting sum against the one output by md5sum. In my case I usually only verify the last 6 characters by eye since the string is quite long.
As for writing on the disks, a permanent felt tip marker is acceptable for writing on the disks, unless you press really hard it should not effect the foil.
The iso file is intact. (And I downloaded it on Windows and checked the checksum on Linux, so it doesn't look like a character mapping problem.) But someone said something about checking whether the file had burned to the DVD correctly. This was the bit I couldn't work out how to do.
Someone said I could run a check from the CD's boot menu. But I can't find the boot menu. I don't even know what the filename extension for batch files in Linux is. It said that running from boot doesn't work on my computer, and offered the option (which I accepted) of modifying the hard disk's boot sector so that there's a menu at startup where I choose between Windows and Ubuntu-from-CD. Anyway, the upshot is if someone can help me find the boot file then maybe I can run it (or part of it) to check the integrity of the CD.
The file was ubuntu-10.04-desktop-i386.iso . How do I know if this is the right file? How badly would I expect it to go wrong if I got the wrong iso file? At the moment, Linux sort of works, it's lost most of the previous bugs but picked up some new ones, and it crashes quite a lot.