Welcome to the Linux Foundation Forum!

Cant find any wireless networks

I installed Ubuntu today itself.

Although internet and wifi is running absolutely fine on other OS,

but cant find any wireless networks on Linux.

Pls help

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In
«1

Comments

  • Posts: 157
    Can you try opening a terminal (in the menu, Applications -> Accessories -> Terminal) and enter the following commands:
    1. ifconfig -a
    2. iwconfig
    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 :)
  • Posts: 158
    The output of
    1. dmesg
    and
    1. lshw | grep -A12 '\-network'
    would be a big help, too.
  • Posts: 17
    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:
    1. david@david-laptop:~$ ifconfig -a
    2. eth0 Link encap:Ethernet HWaddr 00:1d:60:ec:47:75
    3. BROADCAST MULTICAST MTU:1500 Metric:1
    4. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    5. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    6. collisions:0 txqueuelen:1000
    7. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    8. Interrupt:20 Base address:0xdead
    9.  
    10. lo Link encap:Local Loopback
    11. inet addr:127.0.0.1 Mask:255.0.0.0
    12. inet6 addr: ::1/128 Scope:Host
    13. UP LOOPBACK RUNNING MTU:16436 Metric:1
    14. RX packets:2530 errors:0 dropped:0 overruns:0 frame:0
    15. TX packets:2530 errors:0 dropped:0 overruns:0 carrier:0
    16. collisions:0 txqueuelen:0
    17. RX bytes:126500 (123.5 KB) TX bytes:126500 (123.5 KB)
    18.  
    19. david@david-laptop:~$ iwconfig
    20. lo no wireless extensions.
    21. eth0 no wireless extensions.
    22.  
    23. david@david-laptop:~$ lshw | grep -A12 '-network'
    24. WARNING: you should run this program as super-user.
    25. 137: *-network DISABLED
    26. 138- description: Ethernet interface
    27. 139- product: 191 Gigabit Ethernet Adapter
    28. 140- vendor: Silicon Integrated Systems [SiS]
    29. 141- physical id: 4
    30. 142- bus info: pci@0000:00:04.0
    31. 143- logical name: eth0
    32. 144- version: 02
    33. 145- serial: 00:1d:60:ec:47:75
    34. 146- width: 32 bits
    35. 147- clock: 33MHz
    36. 148- capabilities: bus_master cap_list ethernet physical
    37. 149- configuration: broadcast=yes driver=sis190 driverversion=1.2 latency=0 module=sis190 multicast=yes
    38. --
    39. 172: *-network UNCLAIMED
    40. 173- description: Ethernet controller
    41. 174- product: AR242x 802.11abg Wireless PCI Express Adapter
    42. 175- vendor: Atheros Communications Inc.
    43. 176- physical id: 0
    44. 177- bus info: pci@0000:02:00.0
    45. 178- version: 01
    46. 179- width: 64 bits
    47. 180- clock: 33MHz
    48. 181- capabilities: cap_list
    49. 182- configuration: latency=0
    50. 183- *-pci:2
    51. 184- description: PCI bridge
    52.  
    53. david@david-laptop:~$ sudo lshw | grep -A12 '-network'
    54. 209: *-network DISABLED
    55. 210- description: Ethernet interface
    56. 211- product: 191 Gigabit Ethernet Adapter
    57. 212- vendor: Silicon Integrated Systems [SiS]
    58. 213- physical id: 4
    59. 214- bus info: pci@0000:00:04.0
    60. 215- logical name: eth0
    61. 216- version: 02
    62. 217- serial: 00:1d:60:ec:47:75
    63. 218- size: 10MB/s
    64. 219- capacity: 100MB/s
    65. 220- width: 32 bits
    66. 221- clock: 33MHz
    67. --
    68. 283: *-network UNCLAIMED
    69. 284- description: Ethernet controller
    70. 285- product: AR242x 802.11abg Wireless PCI Express Adapter
    71. 286- vendor: Atheros Communications Inc.
    72. 287- physical id: 0
    73. 288- bus info: pci@0000:02:00.0
    74. 289- version: 01
    75. 290- width: 64 bits
    76. 291- clock: 33MHz
    77. 292- capabilities: pm msi pciexpress msix cap_list
    78. 293- configuration: latency=0
    79. 294- *-pci:2
    80. 295- description: PCI bridge
  • Posts: 17
    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 2.6.24.18-27.5. This seems like a mixed message, to my untrained eyes. (Is the version number 2.6.24-27-generic or 2.6.24.18-27.5?) And there are also a few more versions installed:
    - linux-restricted-modules-2.6.24-16-generic, version 2.6.24.12-16.34
    - linux-restricted-modules-2.6.24-21-generic, version 2.6.24.14-21.51
    - linux-restricted-modules-2.6.24-26-generic, version 2.6.24.18-26.3
    - linux-restricted-modules-common, version 2.6.24.18-27.5
    - linux-restricted-modules-generic, version 2.6.24.27.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?
  • Posts: 2,177
    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?
  • Posts: 17
    1. david@david-laptop:~$ sudo lsmod|grep ath
    2. [sudo] password for david:
    3. ath_pci 101024 0
    4. wlan 207856 1 ath_pci
    5. ath_hal 192592 1 ath_pci
  • Posts: 2,177
    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.
  • Posts: 17
    It still doesn't work:
    1. david@david-laptop:~$ sudo modprobe ath9k
    2. [sudo] password for davidknipe:
    3. FATAL: Module ath9k not found.
    4. david@david-laptop:~$ sudo lspci|grep -i ath
    5. 02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
  • Posts: 2,177
    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?
  • Posts: 17
    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.
  • Posts: 2,177
    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?
  • Posts: 7
    You may need to install a newer kernel. 2.6.32.xx
  • Posts: 17
    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?
  • Posts: 2,177
    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
  • Posts: 3
    Hi,

    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:

    http://packages.ubuntu.com/dapper/wifi-radar

    Best Regards,

    Syed Muhammad Shahbaz
  • Posts: 158
    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?
  • Posts: 158
    Actually, David, I take that back. I suspect that Madwifi is still the best option for you. Try the following if you would:
    1. sudo apt-get install linux-headers-generic build-essential subversion
    2.  
    3. svn co http://svn.madwifi-project.org/madwifi/branches/madwifi-0.9.4/
    4.  
    5. cd madwifi-0.9.4/
    6.  
    7. make
    8.  
    9. sudo make install

    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....
  • Posts: 17
    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?
  • Posts: 158
    can you include the outpu of both of these commands:
    ifconfig -a
    sudo iwlist scan
  • Posts: 17
    1. david@david-laptop:~$ ifconfig -a
    2. eth0 Link encap:Ethernet HWaddr 00:1d:60:ec:47:75
    3. inet addr:192.168.1.72 Bcast:192.168.1.255 Mask:255.255.255.0
    4. inet6 addr: fe80::21d:60ff:feec:4775/64 Scope:Link
    5. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    6. RX packets:591 errors:0 dropped:0 overruns:0 frame:0
    7. TX packets:565 errors:0 dropped:0 overruns:0 carrier:0
    8. collisions:0 txqueuelen:1000
    9. RX bytes:646666 (631.5 KB) TX bytes:115766 (113.0 KB)
    10. Interrupt:20 Base address:0xdead
    11.  
    12. lo Link encap:Local Loopback
    13. inet addr:127.0.0.1 Mask:255.0.0.0
    14. inet6 addr: ::1/128 Scope:Host
    15. UP LOOPBACK RUNNING MTU:16436 Metric:1
    16. RX packets:1866 errors:0 dropped:0 overruns:0 frame:0
    17. TX packets:1866 errors:0 dropped:0 overruns:0 carrier:0
    18. collisions:0 txqueuelen:0
    19. RX bytes:78372 (76.5 KB) TX bytes:78372 (76.5 KB)
    20.  
    21. david@david-laptop:~$ sudo iwlist scan
    22. [sudo] password for david:
    23. lo Interface doesn't support scanning.
    24.  
    25. eth0 Interface doesn't support scanning.
    26.  
  • Posts: 158
    David1729 wrote:
    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.
  • Posts: 17
    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.
    1. david@david-laptop:~$ lsmod
    2. Module Size Used by
    3. xt_limit 3584 8
    4. xt_tcpudp 4096 7
    5. ipt_LOG 7296 8
    6. ipt_MASQUERADE 4608 0
    7. ipt_TOS 3200 0
    8. ipt_REJECT 5632 1
    9. nf_conntrack_irc 7576 0
    10. nf_conntrack_ftp 10144 0
    11. xt_state 3328 6
    12. rfcomm 41872 2
    13. l2cap 25728 13 rfcomm
    14. bluetooth 61028 4 rfcomm,l2cap
    15. ppdev 10372 0
    16. acpi_cpufreq 10796 1
    17. cpufreq_stats 7104 0
    18. cpufreq_ondemand 9740 1
    19. freq_table 5536 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
    20. cpufreq_userspace 5284 0
    21. cpufreq_powersave 2688 0
    22. cpufreq_conservative 8712 0
    23. container 5632 0
    24. dock 11280 0
    25. sbs 15112 0
    26. sbshc 7680 1 sbs
    27. ipv6 268036 10
    28. af_packet 23812 2
    29. ppp_generic 29588 0
    30. slhc 7040 1 ppp_generic
    31. parport_pc 36260 0
    32. lp 12324 0
    33. parport 37832 3 ppdev,parport_pc,lp
    34. joydev 13120 0
    35. evdev 13056 7
    36. psmouse 40336 0
    37. pcspkr 4224 0
    38. serio_raw 7940 0
    39. snd_hda_intel 346264 3
    40. snd_pcm_oss 42144 0
    41. snd_mixer_oss 17920 1 snd_pcm_oss
    42. ath_pci 101152 0
    43. wlan 207216 1 ath_pci
    44. ath_hal 194256 1 ath_pci
    45. snd_pcm 78724 2 snd_hda_intel,snd_pcm_oss
    46. snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
    47. snd_hwdep 10500 1 snd_hda_intel
    48. video 19856 0
    49. output 4736 1 video
    50. snd_seq_dummy 4868 0
    51. ac 6916 0
    52. battery 14212 0
    53. snd_seq_oss 35584 0
    54. snd_seq_midi 9376 0
    55. snd_rawmidi 25760 1 snd_seq_midi
    56. snd_seq_midi_event 8320 2 snd_seq_oss,snd_seq_midi
    57. asus_laptop 19064 0
    58. snd_seq 54224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
    59. led_class 6020 1 asus_laptop
    60. snd_timer 24836 2 snd_pcm,snd_seq
    61. snd_seq_device 9612 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
    62. button 9232 0
    63. snd 56996 17 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    64. soundcore 8800 1 snd
    65. sis190 22020 0
    66. mii 6400 1 sis190
    67. shpchp 34452 0
    68. pci_hotplug 30880 1 shpchp
    69. iptable_nat 8324 0
    70. nf_nat 20396 2 ipt_MASQUERADE,iptable_nat
    71. nf_conntrack_ipv4 19208 8 iptable_nat
    72. nf_conntrack 66752 7 ipt_MASQUERADE,nf_conntrack_irc,nf_conntrack_ftp,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
    73. iptable_mangle 3712 0
    74. iptable_filter 3840 1
    75. ip_tables 14820 3 iptable_nat,iptable_mangle,iptable_filter
    76. x_tables 16132 9 xt_limit,xt_tcpudp,ipt_LOG,ipt_MASQUERADE,ipt_TOS,ipt_REJECT,xt_state,iptable_nat,ip_tables
    77. ext3 136968 1
    78. jbd 48404 1 ext3
    79. mbcache 9600 1 ext3
    80. loop 18948 2
    81. sd_mod 30720 2
    82. sg 36880 0
    83. sr_mod 17956 0
    84. cdrom 37408 1 sr_mod
    85. ata_generic 8324 0
    86. pata_acpi 8320 0
    87. sata_sis 9732 1
    88. ehci_hcd 37900 0
    89. pata_sis 15236 1 sata_sis
    90. libata 159728 4 ata_generic,pata_acpi,sata_sis,pata_sis
    91. scsi_mod 151692 4 sd_mod,sg,sr_mod,libata
    92. ohci_hcd 26640 0
    93. usbcore 146412 3 ehci_hcd,ohci_hcd
    94. thermal 16796 0
    95. processor 36616 4 acpi_cpufreq,thermal
    96. fan 5636 0
    97. fbcon 42912 0
    98. tileblit 3584 1 fbcon
    99. font 9472 1 fbcon
    100. bitblit 6784 1 fbcon
    101. softcursor 3072 1 bitblit
    102. fuse 50708 5
  • Posts: 2,177
    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.. ?
  • Posts: 17
    I downloaded it and burned it onto a CD. (Or do I mean DVD?)
  • Posts: 2,177
    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?
  • Posts: 17
    I don't remember.
  • Posts: 2,177
    David1729 wrote:
    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.
  • Posts: 17
    Will I lose stuff I've installed?
  • Posts: 2,177
    Yes you will, as with any reinstall you should write down all apps you installed and back up your files first.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training