Results 1 to 10 of 10

Thread: Macbook Air1.1 (A1237) Wifi connected but No Internet

  1. #1
    Join Date
    Nov 2013
    Beans
    8

    Macbook Air1.1 (A1237) Wifi connected but No Internet

    Hi,

    I have just installed Ubuntu 12.04 on my macbook air. After after a bit of work i got the wifi connecting but still no internet, and i am not able to ping anything on the LAN either. Hope that someone will be able to help. Here is some additional info:

    Code:
    tsb@ubuntuAir:~$ cat /etc/lsb-release; uname -a
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=12.04
    DISTRIB_CODENAME=precise
    DISTRIB_DESCRIPTION="Ubuntu 12.04.3 LTS"
    Linux ubuntuAir 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    tsb@ubuntuAir:~$ lspci -nnk | grep -iA2 net
    02:00.0 Network controller [0280]: Broadcom Corporation BCM4321 802.11a/b/g/n [14e4:4328] (rev 05)
        Subsystem: Apple Inc. Device [106b:008b]
        Kernel driver in use: wl
    tsb@ubuntuAir:~$ iwconfig
    lo        no wireless extensions.
    
    
    wlan0     IEEE 802.11abg  ESSID:"Hindevad"  
              Mode:Managed  Frequency:5.5 GHz  Access Point: <MAC address removed>   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Power Management:off
              
    tsb@ubuntuAir:~$ rfkill list all
    0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
    1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
    2: brcmwl-0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
    tsb@ubuntuAir:~$ lsmod
    Module                  Size  Used by
    bnep                   18258  2 
    rfcomm                 47864  12 
    parport_pc             28284  0 
    ppdev                  17113  0 
    lib80211_crypt_tkip    17390  0 
    wl                   4207568  0 
    snd_hda_codec_realtek    79916  1 
    snd_hda_intel          44339  3 
    snd_hda_codec         141716  2 snd_hda_codec_realtek,snd_hda_intel
    coretemp               13596  0 
    snd_hwdep              13668  1 snd_hda_codec
    kvm_intel             137899  0 
    snd_pcm               102477  2 snd_hda_intel,snd_hda_codec
    i915                  620421  3 
    uvcvideo               82214  0 
    kvm                   455932  1 kvm_intel
    hid_generic            12540  0 
    hid_apple              13382  0 
    snd_seq_midi           13324  0 
    snd_rawmidi            30417  1 snd_seq_midi
    snd_seq_midi_event     14899  1 snd_seq_midi
    btusb                  22431  0 
    snd_seq                61930  2 snd_seq_midi,snd_seq_midi_event
    videobuf2_core         40785  1 uvcvideo
    snd_timer              29989  2 snd_pcm,snd_seq
    videodev              130053  2 uvcvideo,videobuf2_core
    usbhid                 47346  0 
    drm_kms_helper         49597  1 i915
    snd_seq_device         14497  3 snd_seq_midi,snd_rawmidi,snd_seq
    bluetooth             247024  24 bnep,rfcomm,btusb
    drm                   287564  4 i915,drm_kms_helper
    videobuf2_vmalloc      13056  1 uvcvideo
    hid                   105549  3 hid_generic,hid_apple,usbhid
    videobuf2_memops       13202  1 videobuf2_vmalloc
    bcm5974                17470  0 
    cfg80211              525244  1 wl
    snd                    69533  15 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    joydev                 17613  0 
    soundcore              12680  1 snd
    microcode              23017  0 
    snd_page_alloc         18798  2 snd_hda_intel,snd_pcm
    i2c_algo_bit           13564  1 i915
    mac_hid                13253  0 
    applesmc               19564  0 
    lib80211               14352  2 lib80211_crypt_tkip,wl
    input_polldev          13896  1 applesmc
    apple_bl               13673  0 
    lpc_ich                17144  0 
    video                  19652  1 i915
    lp                     17799  0 
    parport                46562  3 parport_pc,ppdev,lp
    Last edited by ubupaul2; November 27th, 2013 at 06:57 PM. Reason: added code tags

  2. #2
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Macbook Air1.1 (A1237) Wifi connected but No Internet

    Moved to Apple Users.
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

  3. #3
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: Macbook Air1.1 (A1237) Wifi connected but No Internet

    Welcome to the forums ubupaul2 !

    Please follow the "Wireless Script" link in my signature, download and run the script as per instructions there, and post back the report it generates.

    While posting the outputs, please use 'Code' tags. It preserves the output's formatting and makes the post cleaner, compact and more readable. To see a quick 'HowTo' with screenshots, please follow the "Using Code Tags" link in my signature.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  4. #4
    Join Date
    Nov 2013
    Beans
    8

    Re: Macbook Air1.1 (A1237) Wifi connected but No Internet

    Thx Varun,

    This is the code generated by your script:

    Code:
    
    *************** info trace ***************
    
    
    ***** uname -a *****
    
    
    Linux ubuntuAir 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    
    
    ***** lsb_release *****
    
    
    Distributor ID:    Ubuntu
    Description:    Ubuntu 12.04.3 LTS
    Release:    12.04
    Codename:    precise
    
    
    ***** lspci *****
    
    
    02:00.0 Network controller [0280]: Broadcom Corporation BCM4321 802.11a/b/g/n [14e4:4328] (rev 05)
        Subsystem: Apple Inc. Device [106b:008b]
        Kernel driver in use: wl
    
    
    ***** lsusb *****
    
    
    Bus 002 Device 006: ID 0951:1600 Kingston Technology DataTraveler II Pen Drive
    Bus 002 Device 003: ID 05ac:8505 Apple, Inc. Built-in iSight
    Bus 005 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
    Bus 007 Device 002: ID 05ac:8242 Apple, Inc. IR Receiver [built-in]
    Bus 007 Device 003: ID 05ac:0223 Apple, Inc. Internal Keyboard/Trackpad (ANSI)
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 003: ID 05ac:8210 Apple, Inc. 
    
    
    ***** PCMCIA Card Info *****
    
    
    
    
    ***** iwconfig *****
    
    
    wlan0     IEEE 802.11abg  ESSID:"Hindevad"  
              Mode:Managed  Frequency:5.5 GHz  Access Point: <MAC address removed>   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Power Management:off
              
    
    
    ***** rfkill *****
    
    
    0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
    1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
    2: brcmwl-0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
    
    
    ***** lsmod *****
    
    
    wl                   4207568  0 
    cfg80211              525244  1 wl
    lib80211               14352  2 lib80211_crypt_tkip,wl
    
    
    ***** nm-tool *****
    
    
    NetworkManager Tool
    
    
    State: connected (global)
    
    
    - Device: wlan0  [Hindevad] ----------------------------------------------------
      Type:              802.11 WiFi
      Driver:            wl
      State:             connected
      Default:           yes
      HW Address:        <MAC address removed>
    
    
      Capabilities:
        Speed:           108 Mb/s
    
    
      Wireless Properties
        WEP Encryption:  yes
        WPA Encryption:  yes
        WPA2 Encryption: yes
    
    
      Wireless Access Points (* = current AP)
        Hindevad:        Infra, <MAC address removed>, Freq 2412 MHz, Rate 54 Mb/s, Strength 62 WPA2
        *Hindevad:       Infra, <MAC address removed>, Freq 5500 MHz, Rate 54 Mb/s, Strength 57 WPA2
    
    
      IPv4 Settings:
        Address:         192.168.2.100
        Prefix:          24 (255.255.255.0)
        Gateway:         192.168.2.1
    
    
        DNS:             208.67.222.222
        DNS:             208.67.220.220
    
    
    
    
    
    
    ***** NetworkManager.state *****
    
    
    [main]
    NetworkingEnabled=true
    WirelessEnabled=true
    WWANEnabled=true
    WimaxEnabled=true
    
    
    ***** NetworkManager.conf *****
    
    
    [main]
    plugins=ifupdown,keyfile
    dns=dnsmasq
    
    
    [ifupdown]
    managed=false
    
    
    ***** interfaces *****
    
    
    auto lo
    iface lo inet loopback
    
    
    
    
    ***** iwlist *****
    
    
    wlan0     Scan completed :
              Cell 01 - Address: <MAC address removed>
                        Channel:100
                        Frequency:5.5 GHz
                        Quality=47/70  Signal level=-63 dBm  
                        Encryption key:on
                        ESSID:"Hindevad"
                        Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                                  36 Mb/s; 48 Mb/s; 54 Mb/s
                        Mode:Master
                        Extra:tsf=0000000000000000
                        Extra: Last beacon: 92ms ago
                        IE: Unknown: 000848696E6465766164
                        IE: Unknown: 01088C129824B048606C
                        IE: Unknown: 030164
                        IE: Unknown: 070C444B2024081E64051E84031E
                        IE: Unknown: 200100
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 2D1AEE0117FFFFFF0000000000000000000000000000000000000000
                        IE: Unknown: 33025101
                        IE: Unknown: 3D1664050600000000000000000000000000000000000000
                        IE: Unknown: 46050200010000
                        IE: Unknown: DD180050F2020101010003A4000027A4000042435E0062322F00
                        IE: Unknown: DD0700039301720320
                        IE: Unknown: DD0E0017F20700010106109ADD85AD75
                        IE: Unknown: DD0B0017F20100010100000007
              Cell 02 - Address: <MAC address removed>
                        Channel:1
                        Frequency:2.412 GHz (Channel 1)
                        Quality=42/70  Signal level=-68 dBm  
                        Encryption key:on
                        ESSID:"Hindevad"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                                  9 Mb/s; 12 Mb/s; 18 Mb/s
                        Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                        Mode:Master
                        Extra:tsf=0000000000000000
                        Extra: Last beacon: 92ms ago
                        IE: Unknown: 000848696E6465766164
                        IE: Unknown: 010882848B960C121824
                        IE: Unknown: 030101
                        IE: Unknown: 0706444B20010D1E
                        IE: Unknown: 2A0100
                        IE: Unknown: 32043048606C
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 2D1AAC4117FFFFFF0000000000000000000000000000000000000000
                        IE: Unknown: 33027A64
                        IE: Unknown: 3D1601000400000000000000000000000000000000000000
                        IE: Unknown: 46050200010000
                        IE: Unknown: DD180050F2020101010003A4000027A4000042435E0062322F00
                        IE: Unknown: DD0700039301720320
                        IE: Unknown: DD0E0017F20700010106109ADD85AD75
                        IE: Unknown: DD0B0017F20100010100000007
    
    
    
    
    ***** resolv.conf *****
    
    
    nameserver 127.0.0.1
    search wan
    
    
    ***** blacklist *****
    
    
    [/etc/modprobe.d/blacklist-ath_pci.conf]
    blacklist ath_pci
    
    
    [/etc/modprobe.d/blacklist-bcm43.conf]
    blacklist b43
    blacklist b43legacy
    blacklist ssb
    blacklist bcm43xx
    blacklist brcm80211
    blacklist brcmfmac
    blacklist brcmsmac
    blacklist bcma
    
    
    [/etc/modprobe.d/blacklist.conf]
    blacklist evbug
    blacklist usbmouse
    blacklist usbkbd
    blacklist eepro100
    blacklist de4x5
    blacklist eth1394
    blacklist snd_intel8x0m
    blacklist snd_aw2
    blacklist i2c_i801
    blacklist prism54
    blacklist bcm43xx
    blacklist garmin_gps
    blacklist asus_acpi
    blacklist snd_pcsp
    blacklist pcspkr
    blacklist amd76x_edac
    
    
    ***** modinfo *****
    
    
    filename:       /lib/modules/3.8.0-29-generic/updates/dkms/wl.ko
    license:        MIXED/Proprietary
    srcversion:     FF25FE784DC6BDFF69DAFCB
    alias:          pci:v*d*sv*sd*bc02sc80i*
    depends:        cfg80211,lib80211
    vermagic:       3.8.0-29-generic SMP mod_unload modversions 
    parm:           wl_txq_thresh:int
    parm:           oneonly:int
    parm:           piomode:int
    parm:           instance_base:int
    parm:           nompc:int
    parm:           intf_name:string
    
    
    
    
    ***** udev rules *****
    
    
    # PCI device 0x14e4:/sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/ssb0:0 (b43-pci-bridge)
    SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address removed>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
    
    
    ***** dmesg *****
    
    
    [   16.406587] wl: module license 'MIXED/Proprietary' taints kernel.
    [   16.476976] INFO @wl_cfg80211_attach : Registered CFG80211 phy
    [   16.585650] wlan0: Broadcom BCM4328 802.11 Hybrid Wireless Controller 6.30.223.141 (r415941)
    [  233.772913] ERROR @wl_dev_intvar_get : error (-1)
    [  233.772920] ERROR @wl_cfg80211_get_tx_power : error (-1)
    
    
    ****************** done ******************

  5. #5
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: Macbook Air1.1 (A1237) Wifi connected but No Internet

    Please also post the outputs of :
    Code:
    apt-cache show bcmwl-kernel-source | grep Version
    dpkg -l | grep bcmwl
    In the meanwhile, please try -

    1) disabling N-channel in the router if it is enabled (switch to b/g or g only mode if the router has the option to change it).
    2) changing the channel to 1 or 11 @ 2.4 GHz band in the router (is it really '100' currently??).

    Also, since I have no experience with routers supporting 5.5 GHz band, please enlighten me - Are there really two different routers/access-points with same ssid or is it just one router with dual band support (2.4 and 5.5 GHz)?

    If it is just one router with dual band support, try disabling the 5.5 GHz band (which means doing the same thing as point 2 above). I'm not sure if the sta driver has the capability to support 5.5 GHz band yet.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  6. #6
    Join Date
    Nov 2013
    Beans
    8

    Re: Macbook Air1.1 (A1237) Wifi connected but No Internet

    The output:
    Code:
    tsb@ubuntuAir:~$ apt-cache show bcmwl-kernel-source | grep Version
    Version: 6.30.223.141+bdcom-0ubuntu2
    Version: 6.20.155.1+bdcom-0ubuntu0.0.2
    Version: 5.100.82.38+bdcom-0ubuntu6
    tsb@ubuntuAir:~$ dpkg -l | grep bcmwl
    ii  bcmwl-kernel-source                         6.30.223.141+bdcom-0ubuntu2             Broadcom 802.11 Linux STA wireless driver source
    The router is just one router with dual band support (Apple A1354).

    Disabling 5.5GHz (on the router they call that "802.11a - 802.11b/g Only" mode) and setting the 2.4GHz channel to 1 lets me go online etc. I ran software update, and tried putting the router back in dual band and auto channel mode. Now it will not even connect to the wifi. Putting the router back in 2.4GHz channel 1 mode it connects fine again. I have run your script again to show the changes made by software update (this is with the internet working and router in 2.4GHz mode, but is there still a 5.5GHz network there?): http://pastebin.ubuntu.com/6490364/
    Last edited by ubupaul2; November 28th, 2013 at 06:11 PM.

  7. #7
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: Macbook Air1.1 (A1237) Wifi connected but No Internet

    So you are currently using the latest version of the sta driver "6.30.223.141+bdcom-0ubuntu2", which seems to be working fine as per your description. I would have suggested to purge it and install the older version "5.100.82.38+bdcom-0ubuntu6" in case the current one caused problems.

    But as far as I know, the kind of problem you are having can't be overcome with any version of the sta driver. It simply can't handle 5.5 GHz band yet. Maybe its future versions would be able to, but that isn't going to happen anytime soon.

    So if you need the 5.5 GHz band, I'm afraid you'll have to search the forums/net to determine which card/chip works well with it on Linux. But if the 2.4 GHz band is fine for you, I think you've got your solution.

    I can't say why the scan is showing the 5.5 GHz channel even after changing it in the router. It may be a cached result, although as far as I know, the "sudo iwlist scan" shows only the live results. So may be the router is still advertising the mode, even though broadcasting/connecting only @ 2.4 GHz after the change. Probably reboot the router and the computer both after making the changes, and check it again.
    (the recommended way to reboot devices like routers is to power them off after saving the changes > wait at least 20 seconds to 4 minutes > power it on again.)
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  8. #8
    Join Date
    Nov 2013
    Beans
    8

    Re: Macbook Air1.1 (A1237) Wifi connected but No Internet

    Thanks for the help. It is great that i am able to get the laptop online

    The 2.4GHz is fine for my laptop running ubuntu, but i would prefer to leave the routers 5.5GHz option on, as quite a few other devices use it. They still connect with only 2.4GHz but with reduced transfer speed. There is also a few places I would like to bring the laptop, and they have the same router, and there i do not control the router/ will not be able to switch the 5.5GHz off.

    Is there not any way to have the driver/ my laptop only connect to the 2.4GHz and just ignore the 5.5GHz network, so i can leave both on in the router?

  9. #9
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: Macbook Air1.1 (A1237) Wifi connected but No Internet

    Quote Originally Posted by ubupaul2 View Post
    Is there not any way to have the driver/ my laptop only connect to the 2.4GHz and just ignore the 5.5GHz network, so i can leave both on in the router?
    *Some versions* of the "iwlwifi" driver (for intel cards) provides a parameter which can be used to disable the 5 ghz band on the driver itself. I don't know if any other drivers provide such a parameter, but your current driver certainly doesn't have such an option.

    And I don't know if there is another way to force one of the bands on the card itself.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  10. #10
    Join Date
    Nov 2013
    Beans
    8

    Re: Macbook Air1.1 (A1237) Wifi connected but No Internet

    Thx Varun,

    Appreciate your help! At least now i know a way to get the laptop online if/ when i need to. Much better than no connection at all

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
  •