Find the answer to your Linux question:
Results 1 to 8 of 8
Hello everyone! I have installed an Ubuntu 9.10 on my Lenovo G3400. I need some help regarding wireless please? Hereunder are my outputs from "sticky" Code: jun@jun-laptop:~$ lspci -knn 00:00.0 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272

    [SOLVED] Wireless on Ubuntu 9.10 Lenovo Laptop


    Hello everyone!

    I have installed an Ubuntu 9.10 on my Lenovo G3400. I need some help regarding wireless please?

    Hereunder are my outputs from "sticky"

    Code:
    jun@jun-laptop:~$ lspci -knn
    00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 07)
    	Kernel driver in use: agpgart-intel
    	Kernel modules: intel-agp
    00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
    	Kernel driver in use: i915
    	Kernel modules: i915
    00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 07)
    00:1a.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 03)
    	Kernel driver in use: uhci_hcd
    00:1a.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 03)
    	Kernel driver in use: uhci_hcd
    00:1a.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 03)
    	Kernel driver in use: uhci_hcd
    00:1a.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 03)
    	Kernel driver in use: ehci_hcd
    00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)
    	Kernel driver in use: HDA Intel
    	Kernel modules: snd-hda-intel
    00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 03)
    	Kernel driver in use: pcieport-driver
    	Kernel modules: shpchp
    00:1c.1 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 [8086:2942] (rev 03)
    	Kernel driver in use: pcieport-driver
    	Kernel modules: shpchp
    00:1c.2 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 [8086:2944] (rev 03)
    	Kernel driver in use: pcieport-driver
    	Kernel modules: shpchp
    00:1c.3 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 [8086:2946] (rev 03)
    	Kernel driver in use: pcieport-driver
    	Kernel modules: shpchp
    00:1c.5 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 [8086:294a] (rev 03)
    	Kernel driver in use: pcieport-driver
    	Kernel modules: shpchp
    00:1d.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 03)
    	Kernel driver in use: uhci_hcd
    00:1d.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 03)
    	Kernel driver in use: uhci_hcd
    00:1d.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 03)
    	Kernel driver in use: uhci_hcd
    00:1d.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 03)
    	Kernel driver in use: ehci_hcd
    00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 93)
    00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919] (rev 03)
    	Kernel modules: iTCO_wdt
    00:1f.2 IDE interface [0101]: Intel Corporation ICH9M/M-E 2 port SATA IDE Controller [8086:2928] (rev 03)
    	Kernel driver in use: ata_piix
    00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 03)
    	Kernel modules: i2c-i801
    00:1f.5 IDE interface [0101]: Intel Corporation ICH9M/M-E 2 port SATA IDE Controller [8086:292d] (rev 03)
    	Kernel driver in use: ata_piix
    05:00.0 System peripheral [0880]: JMicron Technology Corp. SD/MMC Host Controller [197b:2382]
    	Kernel driver in use: sdhci-pci
    	Kernel modules: sdhci-pci
    05:00.2 SD Host controller [0805]: JMicron Technology Corp. Standard SD Host Controller [197b:2381]
    	Kernel modules: sdhci-pci
    05:00.3 System peripheral [0880]: JMicron Technology Corp. MS Host Controller [197b:2383]
    	Kernel driver in use: jmb38x_ms
    	Kernel modules: jmb38x_ms
    06:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)
    	Kernel driver in use: b43-pci-bridge
    	Kernel modules: ssb
    07:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express [14e4:1713] (rev 02)
    	Kernel driver in use: tg3
    	Kernel modules: tg3
    
    jun@jun-laptop:~$ lsmod
    Module                  Size  Used by
    binfmt_misc             8356  1 
    ppdev                   6688  0 
    joydev                 10272  0 
    sdhci_pci               7100  0 
    sdhci                  17472  1 sdhci_pci
    psmouse                56180  0 
    serio_raw               5280  0 
    lp                      8964  0 
    parport                35340  2 ppdev,lp
    b43                   122136  0 
    snd_hda_codec_conexant    20060  1 
    snd_hda_intel          26920  2 
    snd_hda_codec          75708  2 snd_hda_codec_conexant,snd_hda_intel
    snd_hwdep               7200  1 snd_hda_codec
    snd_pcm_oss            37920  0 
    snd_mixer_oss          16028  1 snd_pcm_oss
    snd_pcm                75296  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
    snd_seq_dummy           2656  0 
    snd_seq_oss            28576  0 
    snd_seq_midi            6432  0 
    snd_rawmidi            22208  1 snd_seq_midi
    snd_seq_midi_event      6940  2 snd_seq_oss,snd_seq_midi
    mac80211              181236  1 b43
    snd_seq                50224  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
    snd_timer              22276  2 snd_pcm,snd_seq
    cfg80211               93052  2 b43,mac80211
    jmb38x_ms               9600  0 
    memstick               10072  1 jmb38x_ms
    led_class               4096  2 sdhci,b43
    uvcvideo               59080  0 
    videodev               36736  1 uvcvideo
    v4l1_compat            14496  2 uvcvideo,videodev
    snd_seq_device          6920  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
    snd                    59204  16 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    iptable_filter          3100  0 
    soundcore               7264  1 snd
    snd_page_alloc          9156  2 snd_hda_intel,snd_pcm
    ip_tables              11692  1 iptable_filter
    x_tables               16544  1 ip_tables
    fbcon                  36640  72 
    tileblit                2460  1 fbcon
    font                    8124  1 fbcon
    bitblit                 5372  1 fbcon
    softcursor              1756  1 bitblit
    i915                  221064  3 
    drm                   159584  3 i915
    i2c_algo_bit            5760  1 i915
    tg3                   109600  0 
    ssb                    35300  1 b43
    video                  19380  1 i915
    intel_agp              27484  2 i915
    output                  2780  1 video
    agpgart                34988  2 drm,intel_agp
    
    jun@jun-laptop:~$ dmesg | grep firmware
    jun@jun-laptop:~$ uname -r
    2.6.31-14-generic
    jun@jun-laptop:~$
    I tried to search in the forums executed : sudo apt-get install b43-fwcutter but ended up with no wireless. As always, I would appreciate any help please.

    Thank you!
    nujinini
    Linux User #489667

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    You need the broadcom wl driver. Ubuntu has a hardware manager program/popup thingy and should be able to install it for you. Otherwise do
    Code:
    sudo apt-get install bcmwl-kernel-source
    You may need to blacklist the b43 driver.
    Code:
    echo "blacklist b43" | sudo tee -a /etc/modprobe.d/modprobe.conf
    Or otherwise use a text editor to add the line blacklist b43 to /etc/modprobe.d/modprobe.conf (or blacklist.conf if it's in there).

    If the wl driver does automatically load at boot (it should) add it to /etc/modules.

    Code:
    echo wl | sudo tee -a /etc/modules

  3. #3
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272
    Hello!

    I executed the three commands but still no wireless. However, I notice that I get an upgrade of a kernel that is not consistent with my kernel in use.

    Do you think this has something to do with my issue in making wireless work?

    I even get a pop up asking me to reboot in order for the new kernel to work

    Code:
    jun@jun-laptop:~$ sudo apt-get install bcmwl-kernel-source
    [sudo] password for jun: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    bcmwl-kernel-source is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
    4 not fully installed or removed.
    After this operation, 0B of additional disk space will be used.
    Setting up linux-image-2.6.31-17-generic (2.6.31-17.54) ...
    Running depmod.
    update-initramfs: Generating /boot/initrd.img-2.6.31-17-generic
    Running postinst hook script /usr/sbin/update-grub.
    /etc/default/grub: 11: nomodeset: not found
    User postinst hook script [/usr/sbin/update-grub] exited with value 127
    dpkg: error processing linux-image-2.6.31-17-generic (--configure):
     subprocess installed post-installation script returned error exit status 127
    dpkg: dependency problems prevent configuration of linux-image-generic:
     linux-image-generic depends on linux-image-2.6.31-17-generic; however:
      Package linux-image-2.6.31-17-generic is not configured yet.
    dpkg: error processing linux-image-generic (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-generic:
     linux-generic depends on linux-image-generic (= 2.6.31.17.30); however:
      Package linux-image-generic is not configured yet.
    dpkg: error processing linux-generic (--configure):
     dependency problems - leaving unconfigured
    Setting up grub-pc (1.97~beta4-1ubuntu4.1) ...
    No apport report written because the error message indicates its a followup error from a previous failure.
                              No apport report written because the error message indicates its a followup error from a previous failure.
                                                        /etc/default/grub: 11: nomodeset: not found
    dpkg: error processing grub-pc (--configure):
     subprocess installed post-installation script returned error exit status 127
    No apport report written because MaxReports is reached already
                                                                  Errors were encountered while processing:
     linux-image-2.6.31-17-generic
     linux-image-generic
     linux-generic
     grub-pc
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    
    jun@jun-laptop:~$ uname -r
    2.6.31-14-generic
    nujinini
    Linux User #489667

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Yes, the driver has to be compiled against the running kernel, so presumably what Ubuntu currently has in their repos has been built against their current kernel.

    I'm not really familiar enough with Ubuntu to say what's going on for sure though. I would make sure everything is up-to-date and then install the driver.

  6. #5
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272
    I thought its just going to be a walk in the park since I just installed the same CD in my brother's old laptop and the wireless worked right out of the box.

    I was expecting it to work as easy for my lappy.
    nujinini
    Linux User #489667

  7. #6
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    Since the process exited with this error:
    Code:
    dpkg: dependency problems prevent configuration of linux-image-generic:
     linux-image-generic depends on linux-image-2.6.31-17-generic; however:
      Package linux-image-2.6.31-17-generic is not configured yet.
    Why don't you first try installing that package.
    Code:
    sudo apt-get install linux-image-2.6.31-17-generic
    Then try installing that driver again.
    Please do not send Private Messages to me with requests for help. I will not reply.

  8. #7
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272
    Quote Originally Posted by waterhead View Post
    Since the process exited with this error:
    Code:
    dpkg: dependency problems prevent configuration of linux-image-generic:
     linux-image-generic depends on linux-image-2.6.31-17-generic; however:
      Package linux-image-2.6.31-17-generic is not configured yet.
    Why don't you first try installing that package.
    Code:
    sudo apt-get install linux-image-2.6.31-17-generic
    Then try installing that driver again.
    Hi Paul,

    I just made a fresh install and properly updated and now that kernel is installed.

    Code:
    jun@jun-laptop:~$ uname -r
    2.6.31-17-generic
    jun@jun-laptop:~$
    I would be trying again to make wireless work and follow the instructions reed9 gave. Thanks!
    nujinini
    Linux User #489667

  9. #8
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272
    It's working! I'm using my wireless now. I realize it could have been a walk in the park had I properly installed & updated the first time!

    Just in case, hereunder is my output. So much different from the previous one. Thanks a gazillion guys!



    Code:
    jun@jun-laptop:~$ sudo apt-get install bcmwl-kernel-source 
    Reading package lists... Done 
    Building dependency tree       
    Reading state information... Done 
    The following extra packages will be installed: 
      dkms fakeroot patch 
    Suggested packages: 
      diff-doc 
    The following NEW packages will be installed: 
      bcmwl-kernel-source dkms fakeroot patch 
    0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 
    Need to get 906kB of archives. 
    After this operation, 2,904kB of additional disk space will be used. 
    Do you want to continue [Y/n]? Y 
    Get:1 http://ph.archive.ubuntu.com karmic/main dkms 2.1.0.1-0ubuntu1 [62.1kB] 
    Get:2 http://ph.archive.ubuntu.com karmic/restricted bcmwl-kernel-source 5.10.91.9+bdcom-0ubuntu4 [618kB] 
    Get:3 http://ph.archive.ubuntu.com karmic/main fakeroot 1.12.4ubuntu1 [126kB]  
    Get:4 http://ph.archive.ubuntu.com karmic/main patch 2.5.9-5 [100kB]           
    Fetched 906kB in 48s (18.9kB/s)                                                
    Selecting previously deselected package dkms. 
    (Reading database ... 156415 files and directories currently installed.) 
    Unpacking dkms (from .../dkms_2.1.0.1-0ubuntu1_all.deb) ... 
    Selecting previously deselected package bcmwl-kernel-source. 
    Unpacking bcmwl-kernel-source (from .../bcmwl-kernel-source_5.10.91.9+bdcom-0ubuntu4_i386.deb) ... 
    Selecting previously deselected package fakeroot. 
    Unpacking fakeroot (from .../fakeroot_1.12.4ubuntu1_i386.deb) ... 
    Selecting previously deselected package patch. 
    Unpacking patch (from .../patch_2.5.9-5_i386.deb) ... 
    Processing triggers for man-db ... 
    Processing triggers for ureadahead ... 
    ureadahead will be reprofiled on next reboot 
    Setting up dkms (2.1.0.1-0ubuntu1) ... 
     * Running DKMS auto installation service for kernel 2.6.31-17-generic   [ OK ] 
    
    Setting up bcmwl-kernel-source (5.10.91.9+bdcom-0ubuntu4) ... 
    First Installation: checking all kernels... 
    Directory for kernel 2.6.31-17-generic found in /lib/modules 
    Adding Module to DKMS build system 
    Doing initial module build 
    Installing initial module 
    Done. 
    update-initramfs: deferring update (trigger activated) 
    
    Setting up fakeroot (1.12.4ubuntu1) ... 
    update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode. 
    
    Setting up patch (2.5.9-5) ... 
    Processing triggers for initramfs-tools ... 
    update-initramfs: Generating /boot/initrd.img-2.6.31-17-generic 
    jun@jun-laptop:~$ echo "blacklist b43" | sudo tee -a /etc/modprobe.d/modprobe.conf 
    blacklist b43 
    jun@jun-laptop:~$ echo wl | sudo tee -a /etc/modules 
    wl 
    jun@jun-laptop:~$
    nujinini
    Linux User #489667

Posting Permissions

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