Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 39

Thread: wifi unable to connect

  1. #11
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,001
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: wifi unable to connect

    All right, let's do some housekeeping. Please do:
    Code:
    sudo mv /etc/modprobe.d/ath9k.conf.save /etc/modprobe.d/ath9k.conf
    sudo chmod +r /etc/modprobe.d/*
    sudo rm /etc/modprobe.d/blacklist
    Now reboot so we have a clean slate and tell me what the wireless is doing. Include:
    Code:
    sudo iwlist wlan0 scan
    Thanks.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  2. #12
    Join Date
    Aug 2012
    Beans
    21

    Re: wifi unable to connect

    Code:
    bravo@Roy-PC:~$ sudo iwlist wlan0 scan
    [sudo] password for bravo: 
    wlan0     Interface doesn't support scanning.
    hope we have another problem!!

  3. #13
    Join Date
    Aug 2012
    Beans
    21

    Re: wifi unable to connect

    and moreover, i just noticed this after 3 or 4 days that, the enable wireless option is not there anymore in the network settings!!!

  4. #14
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,001
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: wifi unable to connect

    Quote Originally Posted by dyneshqmar View Post
    and moreover, i just noticed this after 3 or 4 days that, the enable wireless option is not there anymore in the network settings!!!
    Please post:
    Code:
    sudo modprobe ath9k
    iwconfig
    dmesg | grep ath9
    Thanks.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  5. #15
    Join Date
    Aug 2012
    Beans
    21

    Re: wifi unable to connect

    Code:
    bravo@Roy-PC:~$ sudo modprobe ath9k
    [sudo] password for bravo: 
    bravo@Roy-PC:~$ iwconfig
    lo        no wireless extensions.
    
    wlan0     IEEE 802.11bgn  ESSID:off/any  
              Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Power Management:on
              
    eth0      no wireless extensions.
    
    bravo@Roy-PC:~$ dmesg | grep ath9
    [  216.157124] ath9k 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    [  216.157139] ath9k 0000:0c:00.0: setting latency timer to 64
    [  216.267074] ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'
    [  216.268076] Registered led device: ath9k-phy0

  6. #16
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,001
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: wifi unable to connect

    We see the timestamp tells us that the driver ath9k didn't load on boot. It probably only loaded it when you just now loaded it. That suggests it's still, in some way, blacklisted. Let's see:
    Code:
    ls /etc/modprobe.d
    cat /etc/modprobe.d/blacklist.conf
    cat /etc/modules
    Does it scan?
    Code:
    sudo modprobe ath9k
    sudo iwlist wlan0 scan
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  7. #17
    Join Date
    Aug 2012
    Beans
    21

    Re: wifi unable to connect

    Code:
    bravo@Roy-PC:~$ ls /etc/modprobe.d
    alsa-base.conf               blacklist-firewire.conf      dkms.conf
    ath9k.conf                   blacklist-framebuffer.conf   libpisock9.conf
    blacklist-ath_pci.conf       blacklist-modem.conf         ndiswrapper.conf
    blacklist-bcm43.conf         blacklist-oss.conf           oss-compat.conf
    blacklist-berry_charge.conf  blacklist-rare-network.conf  vmwgfx-fbdev.conf
    blacklist.conf               blacklist-watchdog.conf
    bravo@Roy-PC:~$ cat /etc/modprobe.d/blacklist.conf
    # This file lists those modules which we don't want to be loaded by
    # alias expansion, usually so some other driver will be loaded for the
    # device instead.
    
    # evbug is a debug tool that should be loaded explicitly
    blacklist evbug
    
    # these drivers are very simple, the HID drivers are usually preferred
    blacklist usbmouse
    blacklist usbkbd
    
    # replaced by e100
    blacklist eepro100
    
    # replaced by tulip
    blacklist de4x5
    
    # causes no end of confusion by creating unexpected network interfaces
    blacklist eth1394
    
    # snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
    # hardware on its own (Ubuntu bug #2011, #6810)
    blacklist snd_intel8x0m
    
    # Conflicts with dvb driver (which is better for handling this device)
    blacklist snd_aw2
    
    # causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
    blacklist i2c_i801
    
    # replaced by p54pci
    blacklist prism54
    
    # replaced by b43 and ssb.
    blacklist bcm43xx
    
    # most apps now use garmin usb driver directly (Ubuntu: #114565)
    blacklist garmin_gps
    
    # replaced by asus-laptop (Ubuntu: #184721)
    blacklist asus_acpi
    
    # low-quality, just noise when being used for sound playback, causes
    # hangs at desktop session start (Ubuntu: #246969)
    blacklist snd_pcsp
    
    # ugly and loud noise, getting on everyone's nerves; this should be done by a
    # nice pulseaudio bing (Ubuntu: #77010)
    blacklist pcspkr
    
    # EDAC driver for amd76x clashes with the agp driver preventing the aperture
    # from being initialised (Ubuntu: #297750). Blacklist so that the driver
    # continues to build and is installable for the few cases where its
    # really needed.
    blacklist amd76x_edac
    bravo@Roy-PC:~$ cat /etc/modules
    # /etc/modules: kernel modules to load at boot time.
    #
    # This file contains the names of kernel modules that should be loaded
    # at boot time, one per line. Lines beginning with "#" are ignored.
    
    lp
    ath_pci
    ath_pci
    bravo@Roy-PC:~$ sudo modprobe ath9k
    [sudo] password for bravo: 
    bravo@Roy-PC:~$ sudo iwlist wlan0 scan
    wlan0     Interface doesn't support scanning : Network is down
    it still doesnt scan.

  8. #18
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,001
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: wifi unable to connect

    bravo@Roy-PC:~$ cat /etc/modules
    # /etc/modules: kernel modules to load at boot time.
    #
    # This file contains the names of kernel modules that should be loaded
    # at boot time, one per line. Lines beginning with "#" are ignored.

    lp
    ath_pci
    ath_pci
    Your /etc/modules asks that the module ath_pci be loaded on boot...twice. However, in 12.04,
    $ modinfo ath_pci
    ERROR: modinfo: could not find module ath_pci
    Is that something you built as part of the Madwifi suite? You may as well do:
    Code:
    sudo gedit /etc/modules
    Remove both the ath_pci lines; proofread, save and close gedit.

    Let's also take a look at this:
    Code:
    cat /etc/modprobe.d/blacklist-ath_pci.conf
    And this:
    Code:
    lsmod
    Thanks.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  9. #19
    Join Date
    Aug 2012
    Beans
    21

    Re: wifi unable to connect

    Code:
    bravo@Roy-PC:~$ cat /etc/modprobe.d/blacklist-ath_pci.conf
    # For some Atheros 5K RF MACs, the madwifi driver loads buts fails to
    # correctly initialize the hardware, leaving it in a state from
    # which ath5k cannot recover. To prevent this condition, stop
    # madwifi from loading by default. Use Jockey to select one driver
    # or the other. (Ubuntu: #315056, #323830)
    blacklist ath_pci
    
    bravo@Roy-PC:~$ lsmod
    Module                  Size  Used by
    arc4                   12473  2 
    ath9k                 117425  0 
    mac80211              436455  1 ath9k
    ath9k_common           13781  1 ath9k
    ath9k_hw              391554  2 ath9k,ath9k_common
    ath                    19387  3 ath9k,ath9k_common,ath9k_hw
    cfg80211              178679  3 ath9k,mac80211,ath
    rfcomm                 38139  12 
    bnep                   17830  2 
    joydev                 17393  0 
    parport_pc             32114  0 
    ppdev                  12849  0 
    binfmt_misc            17292  1 
    snd_hda_codec_conexant    52554  1 
    dell_wmi               12601  0 
    sparse_keymap          13658  1 dell_wmi
    dell_laptop            17767  0 
    dcdbas                 14098  1 dell_laptop
    snd_hda_intel          32765  4 
    snd_hda_codec         109562  2 snd_hda_codec_conexant,snd_hda_intel
    snd_hwdep              13276  1 snd_hda_codec
    snd_pcm                80845  3 snd_hda_intel,snd_hda_codec
    snd_seq_midi           13132  0 
    snd_rawmidi            25424  1 snd_seq_midi
    snd_seq_midi_event     14475  1 snd_seq_midi
    snd_seq                51567  2 snd_seq_midi,snd_seq_midi_event
    mac_hid                13077  0 
    snd_timer              28931  2 snd_pcm,snd_seq
    i915                  414939  3 
    snd_seq_device         14172  3 snd_seq_midi,snd_rawmidi,snd_seq
    drm_kms_helper         45466  1 i915
    uvcvideo               67203  0 
    ath3k                  12825  0 
    psmouse                96619  0 
    wmi                    18744  1 dell_wmi
    drm                   197692  4 i915,drm_kms_helper
    videodev               86588  1 uvcvideo
    snd                    62064  16 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    i2c_algo_bit           13199  1 i915
    video                  19068  1 i915
    btusb                  17912  2 
    bluetooth             158438  24 rfcomm,bnep,ath3k,btusb
    soundcore              14635  1 snd
    snd_page_alloc         14115  2 snd_hda_intel,snd_pcm
    serio_raw              13027  0 
    lp                     17455  0 
    parport                40930  3 parport_pc,ppdev,lp
    firewire_ohci          40180  0 
    r8169                  56321  0 
    firewire_core          56906  1 firewire_ohci
    crc_itu_t              12627  1 firewire_core
    sdhci_pci              18324  0 
    sdhci                  28241  1 sdhci_pci
    Thanks.

  10. #20
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,001
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: wifi unable to connect

    bravo@Roy-PC:~$ cat /etc/modprobe.d/blacklist-ath_pci.conf
    # For some Atheros 5K RF MACs, the madwifi driver loads buts fails to
    # correctly initialize the hardware, leaving it in a state from
    # which ath5k cannot recover. To prevent this condition, stop
    # madwifi from loading by default. Use Jockey to select one driver
    # or the other. (Ubuntu: #315056, #323830)
    blacklist ath_pci
    So, the non-existent module we loaded twice is also blacklisted! Please do:
    Code:
    sudo rm /etc/modprobe.d/blacklist-ath_pci.conf
    Also, please do:
    Code:
    sudo gedit /etc/modprobe.d/ath9k.conf
    Change the file from this:
    Code:
    options ath9k nohwcrypt=1
    ...to this:
    Code:
    options ath9k btcoex_enable=1
    Proofread, save and close gedit. Reboot and show us:
    Code:
    sudo iwlist wlan0 scan
    iwconfig
    sudo cat /var/log/syslog | grep etwork |tail -n15
    Thanks.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •