Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Hello - I've just installed Ubuntu on a new netbook, getting rid of windows in the process. I had tried it on another computer, installing it alongside Windows, and liked ...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    11

    new user - problems

    Hello -

    I've just installed Ubuntu on a new netbook, getting rid of windows in the process. I had tried it on another computer, installing it alongside Windows, and liked it enough to want to install it fully on my new netbook. I followed instructions, downloaded it to a USB stick, and then installed it as per the instructions on the Ubuntu website. All seemed fine until I tried to connect to my wireless network, when it appears there is no wireless driver. I tried plugging in the ethernet cable, but it just disconnects me every time I try to go online. Can anyone help?

    Many thanks

    Chris

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Hello, open a terminal and post the output of the following commands
    Code:
    lshw -C network
    lsmod
    dmesg | grep firmware
    Can you describe more what happens when you plug in the ethernet cable? It connects and then immediately disconnects? Can you plug in the ethernet and post the output of
    Code:
    dmesg | tail
    What happens if you plug in the ethernet and do
    Code:
    sudo ifconfig eth0 down
    sudo ifconfig eth0 up
    sudo dhclient eth0

  3. #3
    Just Joined!
    Join Date
    Aug 2010
    Posts
    11
    Thanks for your reply.

    Those commands give the following:

    lshw -C network:

    WARNING: you should run this program as super-user.
    *-network
    description: Ethernet interface
    product: Atheros AR8132 / L1c Gigabit Ethernet Adapter
    vendor: Atheros Communications
    physical id: 0
    bus info: pci@0000:01:00.0
    logical name: eth0
    version: c0
    serial: 88:ae:1d:06:40:6f
    width: 64 bits
    clock: 33MHz
    capabilities: bus_master cap_list ethernet physical
    configuration: broadcast=yes driver=atl1c driverversion=1.0.0.1-NAPI firmware=N/A latency=0 multicast=yes
    resources: irq:28 memory:57000000-5703ffff ioport:5000(size=12
    *-network UNCLAIMED
    description: Network controller
    product: Broadcom Corporation
    vendor: Broadcom Corporation
    physical id: 0
    bus info: pci@0000:02:00.0
    version: 01
    width: 64 bits
    clock: 33MHz
    capabilities: bus_master cap_list
    configuration: latency=0
    resources: memory:56000000-56003fff


    lsmod:

    Module Size Used by
    nls_iso8859_1 3249 1
    nls_cp437 4919 1
    vfat 8901 1
    fat 47767 1 vfat
    usb_storage 39425 1
    binfmt_misc 6587 1
    ppdev 5259 0
    snd_hda_codec_realtek 203168 1
    fbcon 35102 71
    tileblit 2031 1 fbcon
    font 7557 1 fbcon
    bitblit 4707 1 fbcon
    softcursor 1189 1 bitblit
    vga16fb 11385 0
    vgastate 8961 1 vga16fb
    joydev 8708 0
    snd_hda_intel 21877 2
    snd_hda_codec 74201 2 snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep 5412 1 snd_hda_codec
    snd_pcm_oss 35308 0
    snd_mixer_oss 13746 1 snd_pcm_oss
    snd_pcm 70662 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
    snd_seq_dummy 1338 0
    snd_seq_oss 26726 0
    snd_seq_midi 4557 0
    snd_rawmidi 19056 1 snd_seq_midi
    snd_seq_midi_event 6003 2 snd_seq_oss,snd_seq_midi
    snd_seq 47263 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
    snd_timer 19098 2 snd_pcm,snd_seq
    snd_seq_device 5700 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
    i915 282354 4
    drm_kms_helper 29297 1 i915
    snd 54148 16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec, snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_se q_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    uvcvideo 56990 0
    psmouse 63245 0
    intel_agp 24177 2 i915
    led_class 2864 0
    videodev 34361 1 uvcvideo
    v4l1_compat 13251 2 uvcvideo,videodev
    drm 162471 5 i915,drm_kms_helper
    serio_raw 3978 0
    atl1c 28083 0
    agpgart 31724 2 intel_agp,drm
    soundcore 6620 1 snd
    i2c_algo_bit 5028 1 i915
    snd_page_alloc 7076 2 snd_hda_intel,snd_pcm
    video 17375 1 i915
    output 1871 1 video
    lp 7028 0
    parport 32635 2 ppdev,lp
    ahci 32008 2


    dmesg | grep firmware: - went straight back to command prompt


    dmesg | tail:

    [ 916.066240] sd 4:0:0:0: [sdb] Write Protect is off
    [ 916.066258] sd 4:0:0:0: [sdb] Mode Sense: 45 00 00 08
    [ 916.066270] sd 4:0:0:0: [sdb] Assuming drive cache: write through
    [ 916.071494] sd 4:0:0:0: [sdb] Assuming drive cache: write through
    [ 916.071510] sdb: sdb1
    [ 916.079585] sd 4:0:0:0: [sdb] Assuming drive cache: write through
    [ 916.079600] sd 4:0:0:0: [sdb] Attached SCSI removable disk
    [ 1202.945907] atl1c 0000:01:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
    [ 1202.946554] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 1213.340057] eth0: no IPv6 routers present

    iconfig eth0 down:

    [sudo] password for chris:
    sudo: iconfig: command not found

    iconfig eth0 up: - straight back to command prompt


    sudo dhclient eth0:

    Internet Systems Consortium DHCP Client V3.1.3
    Copyright 2004-2009 Internet Systems Consortium.


    Listening on LPF/eth0/88:ae:1d:06:40:6f
    Sending on LPF/eth0/88:ae:1d:06:40:6f
    Sending on Socket/fallback
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.




    Thanks

    Chris

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Well, your wireless card is showing only as a Broadcom chipset, but no details, which is a little odd. Can you do
    Code:
    lspci -vnn
    Find the section with the Broadcom card, and post that?

    Which version of Ubuntu are you using?

    I'm not sure what's up with the ethernet card. Google suggests it may in fact use the atl1e driver, and you have atl1c loading, but I couldn't really confirm that. Still, worth a try

    Do
    Code:
    sudo ifconfig eth0 down
    sudo modprobe -r atl1c
    sudo modprobe atl1e
    sudo depmod -a
    sudo ifconfig eth0 up
    sudo dhclient eth0
    FYI, in many cases linux only prints messages if there is an error, so when you do a command and it just returns to the prompt, that's ok, it generally means the command successfully executed.
    Last edited by reed9; 08-05-2010 at 05:51 PM.

  5. #5
    Just Joined!
    Join Date
    Aug 2010
    Posts
    11
    Hi -

    Thanks for your reply again.

    I'm using the netbook version of 10.04.

    Those various commands came up with:

    lspci -vnn
    00:00.0 Host bridge [0600]: Intel Corporation N10 Family DMI Bridge [8086:a010]
    Subsystem: Acer Incorporated [ALI] Device [1025:0349]
    Flags: bus master, fast devsel, latency 0
    Capabilities: <access denied>
    Kernel driver in use: agpgart-intel
    Kernel modules: intel-agp

    00:02.0 VGA compatible controller [0300]: Intel Corporation N10 Family Integrated Graphics Controller [8086:a011]
    Subsystem: Acer Incorporated [ALI] Device [1025:0349]
    Flags: bus master, fast devsel, latency 0, IRQ 27
    Memory at 58180000 (32-bit, non-prefetchable) [size=512K]
    I/O ports at 60c0 [size=8]
    Memory at 40000000 (32-bit, prefetchable) [size=256M]
    Memory at 58000000 (32-bit, non-prefetchable) [size=1M]
    Capabilities: <access denied>
    Kernel driver in use: i915
    Kernel modules: i915

    00:02.1 Display controller [0380]: Intel Corporation N10 Family Integrated Graphics Controller [8086:a012]
    Subsystem: Acer Incorporated [ALI] Device [1025:0349]
    Flags: bus master, fast devsel, latency 0
    Memory at 58100000 (32-bit, non-prefetchable) [size=512K]
    Capabilities: <access denied>

    00:1b.0 Audio device [0403]: Intel Corporation N10/ICH 7 Family High Definition Audio Controller [8086:27d8] (rev 02)
    Subsystem: Acer Incorporated [ALI] Device [1025:0349]
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at 58200000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: HDA Intel
    Kernel modules: snd-hda-intel

    00:1c.0 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 1 [8086:27d0] (rev 02)
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    I/O behind bridge: 00005000-00005fff
    Memory behind bridge: 57000000-57ffffff
    Prefetchable memory behind bridge: 0000000050000000-0000000050ffffff
    Capabilities: <access denied>
    Kernel driver in use: pcieport
    Kernel modules: shpchp

    00:1c.1 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 2 [8086:27d2] (rev 02)
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
    I/O behind bridge: 00004000-00004fff
    Memory behind bridge: 56000000-56ffffff
    Prefetchable memory behind bridge: 0000000051000000-0000000051ffffff
    Capabilities: <access denied>
    Kernel driver in use: pcieport
    Kernel modules: shpchp

    00:1d.0 USB Controller [0c03]: Intel Corporation N10/ICH7 Family USB UHCI Controller #1 [8086:27c8] (rev 02)
    Subsystem: Acer Incorporated [ALI] Device [1025:0349]
    Flags: bus master, medium devsel, latency 0, IRQ 16
    I/O ports at 6080 [size=32]
    Kernel driver in use: uhci_hcd

    00:1d.1 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 [8086:27c9] (rev 02)
    Subsystem: Acer Incorporated [ALI] Device [1025:0349]
    Flags: bus master, medium devsel, latency 0, IRQ 17
    I/O ports at 6060 [size=32]
    Kernel driver in use: uhci_hcd

    00:1d.2 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 [8086:27ca] (rev 02)
    Subsystem: Acer Incorporated [ALI] Device [1025:0349]
    Flags: bus master, medium devsel, latency 0, IRQ 18
    I/O ports at 6040 [size=32]
    Kernel driver in use: uhci_hcd

    00:1d.3 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 [8086:27cb] (rev 02)
    Subsystem: Acer Incorporated [ALI] Device [1025:0349]
    Flags: bus master, medium devsel, latency 0, IRQ 19
    I/O ports at 6020 [size=32]
    Kernel driver in use: uhci_hcd

    00:1d.7 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller [8086:27cc] (rev 02) (prog-if 20)
    Subsystem: Acer Incorporated [ALI] Device [1025:0349]
    Flags: bus master, medium devsel, latency 0, IRQ 16
    Memory at 58204400 (32-bit, non-prefetchable) [size=1K]
    Capabilities: <access denied>
    Kernel driver in use: ehci_hcd

    00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2) (prog-if 01)
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
    Capabilities: <access denied>

    00:1f.0 ISA bridge [0601]: Intel Corporation NM10 Family LPC Controller [8086:27bc] (rev 02)
    Subsystem: Acer Incorporated [ALI] Device [1025:0349]
    Flags: bus master, medium devsel, latency 0
    Capabilities: <access denied>

    00:1f.2 SATA controller [0106]: Intel Corporation N10/ICH7 Family SATA AHCI Controller [8086:27c1] (rev 02) (prog-if 01)
    Subsystem: Acer Incorporated [ALI] Device [1025:0349]
    Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 26
    I/O ports at 60b8 [size=8]
    I/O ports at 60cc [size=4]
    I/O ports at 60b0 [size=8]
    I/O ports at 60c8 [size=4]
    I/O ports at 60a0 [size=16]
    Memory at 58204000 (32-bit, non-prefetchable) [size=1K]
    Capabilities: <access denied>
    Kernel driver in use: ahci
    Kernel modules: ahci

    00:1f.3 SMBus [0c05]: Intel Corporation N10/ICH 7 Family SMBus Controller [8086:27da] (rev 02)
    Subsystem: Acer Incorporated [ALI] Device [1025:0349]
    Flags: medium devsel, IRQ 10
    I/O ports at 6000 [size=32]
    Kernel modules: i2c-i801

    01:00.0 Ethernet controller [0200]: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter [1969:1062] (rev c0)
    Subsystem: Acer Incorporated [ALI] Device [1025:0349]
    Flags: bus master, fast devsel, latency 0, IRQ 28
    Memory at 57000000 (64-bit, non-prefetchable) [size=256K]
    I/O ports at 5000 [size=128]
    Capabilities: <access denied>
    Kernel driver in use: atl1c
    Kernel modules: atl1c

    02:00.0 Network controller [0280]: Broadcom Corporation Device [14e4:4727] (rev 01)
    Subsystem: Broadcom Corporation Device [14e4:0510]
    Flags: bus master, fast devsel, latency 0, IRQ 10
    Memory at 56000000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>



    sudo ifconfig eth1 down
    [sudo] password for chris:
    eth1: ERROR while getting interface flags: No such device


    sudo modprobe ath1e
    FATAL: Module ath1e not found.


    sudo dhclient eth0
    There is already a pid file /var/run/dhclient.pid with pid 1490
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.1.3
    Copyright 2004-2009 Internet Systems Consortium.
    All rights reserved.
    For info, please visit

    SIOCSIFADDR: No such device
    eth0: ERROR while getting interface flags: No such device
    eth0: ERROR while getting interface flags: No such device
    Bind socket to interface: No such device

  6. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Well, the wireless is easy enough once we get the wired working. You'll just need to do
    Code:
    sudo apt-get install bcmwl-kernel-source bcmwl-modaliases
    Sorry, eth1 should have been eth0 in the above. Doesn't matter, though since atl1e doesn't exist.

    Let's start from here again, since I don't think we did this successfully, since the first time the interface wasn't actually put down and the second, I mistyped eth1, should be eth0...

    If we're at the above, did you successfully remove the atl1c module?

    Code:
    sudo ifconfig eth0 down
    sudo modprobe -r atl1c
    Now we're just going to kill dhclient and reload the module, see if that helps.

    Code:
    killall dhclient
    sudo modprobe atl1c
    sudo ifconfig eth0 up
    sudo dhclient eth0
    Failing that, we can try installing linux-backports-modules-wireless-lucid-generic, which despite the name also includes an updated atl1c driver.

    Can you post the output of
    Code:
    uname -a
    EDIT: I just noticed and fixed another typo of mine above. Sheesh, bad day for typing. It should be atl1e not ath1e. So you can try that again, though I'm pretty sure it should be the atl1c driver.

  7. #7
    Just Joined!
    Join Date
    Aug 2010
    Posts
    11
    Hi -

    This is what came up from those various commands (I'm sure you already realise that I'm sort of working blind, in that I don't understand any of what the computer is throwing back):

    chris@chris-laptop:~$ sudo apt-get install bcmwl-kernel-source bcmwl-modaliases
    [sudo] password for chris:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package bcmwl-kernel-source
    chris@chris-laptop:~$ sudo ifconfig eth0 down
    chris@chris-laptop:~$ sudo modprobe -r atl1c
    chris@chris-laptop:~$ killall dhclient
    dhclient: no process found
    chris@chris-laptop:~$ sudo modprobe atl1c
    chris@chris-laptop:~$ sudo ifconfig eth0 up
    chris@chris-laptop:~$ sudo dhclient eth0
    Internet Systems Consortium DHCP Client V3.1.3
    Copyright 2004-2009 Internet Systems Consortium.
    All rights reserved.
    For info, please visit

    Listening on LPF/eth0/88:ae:1d:06:40:6f
    Sending on LPF/eth0/88:ae:1d:06:40:6f
    Sending on Socket/fallback
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    chris@chris-laptop:~$ uname -a
    Linux chris-laptop 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux


    Many thanks

    Chris

  8. #8
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    The apt-get command is to get the wirelesss going once you have internet...however, I'm a little at a loss why your ethernet is failing. I'm hoping it's a bug in the driver and an updated driver might help.

    So, go here, pick a mirror to download the linux-backports-modules-wireless-2.6.32-21-generic package. You should just be able to double click the downloaded file to install, reboot, and see if the ethernet works.

    EDIT: Since you don't have internet on the Ubuntu box, you'll need to download to a USB stick or other external drive and transfer the file over.

  9. #9
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Well, I just discovered something new. The driver you need for your wireless is on the installation CD.

    Insert the CD, and go to pool > main > f > fakeroot and double click on the fakeroot package to install.

    Then go to pool > main > p > patch and double click that package to install.

    Last go to pool > restricted > b > bcmwl and double click that to install.

    Then do
    Code:
    sudo modprobe wl
    And you should be up and running.

  10. #10
    Just Joined!
    Join Date
    Aug 2010
    Posts
    11
    thanks so much for that it all worked until the the last bit, when it won't let me install bcmwl - it comes up with an error message - "dependency is not satisfiable: dkms"

Page 1 of 2 1 2 LastLast

Posting Permissions

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