Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33

Thread: Asus NX1001 card

  1. #21
    Join Date
    Nov 2012
    Beans
    18

    Re: Asus NX1001 card

    Okay I removed the Asus card. I renamed the r8168 file, removed it from blacklist, put in the ethernet cable to realtek card (light started flashing) and rebooted.

    However, here's the stuff from the terminal:
    Code:
    oscar@ubuntu:~$ nm-tool
    
    NetworkManager Tool
    
    State: disconnected
    
    oscar@ubuntu:~$ sudo cat /var/log/syslog | grep -e r816 -e etwork | tail -n20
    Nov 17 12:22:19 ubuntu avahi-daemon[746]: Network interface enumeration completed.
    Nov 17 12:22:19 ubuntu kernel: [   11.102752] type=1400 audit(1353154939.846:9): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=775 comm="apparmor_parser"
    Nov 17 12:22:19 ubuntu NetworkManager[721]:    SCPlugin-Ifupdown: init!
    Nov 17 12:22:19 ubuntu NetworkManager[721]:    SCPlugin-Ifupdown: update_system_hostname
    Nov 17 12:22:19 ubuntu NetworkManager[721]:    SCPluginIfupdown: management mode: unmanaged
    Nov 17 12:22:19 ubuntu NetworkManager[721]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/lo, iface: lo)
    Nov 17 12:22:19 ubuntu NetworkManager[721]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
    Nov 17 12:22:19 ubuntu NetworkManager[721]:    SCPlugin-Ifupdown: end _init.
    Nov 17 12:22:19 ubuntu NetworkManager[721]: <info> Loaded plugin ifupdown: (C) 2008 Canonical Ltd.  To report bugs please use the NetworkManager mailing list.
    Nov 17 12:22:19 ubuntu NetworkManager[721]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
    Nov 17 12:22:19 ubuntu NetworkManager[721]:    Ifupdown: get unmanaged devices count: 0
    Nov 17 12:22:19 ubuntu NetworkManager[721]:    SCPlugin-Ifupdown: (11559072) ... get_connections.
    Nov 17 12:22:19 ubuntu NetworkManager[721]:    SCPlugin-Ifupdown: (11559072) ... get_connections (managed=false): return empty list.
    Nov 17 12:22:19 ubuntu NetworkManager[721]:    Ifupdown: get unmanaged devices count: 0
    Nov 17 12:22:19 ubuntu NetworkManager[721]: <info> modem-manager is now available
    Nov 17 12:22:19 ubuntu NetworkManager[721]: <info> monitoring kernel firmware directory '/lib/firmware'.
    Nov 17 12:22:19 ubuntu NetworkManager[721]: <info> WiFi enabled by radio killswitch; enabled by state file
    Nov 17 12:22:19 ubuntu NetworkManager[721]: <info> WWAN enabled by radio killswitch; enabled by state file
    Nov 17 12:22:19 ubuntu NetworkManager[721]: <info> WiMAX enabled by radio killswitch; enabled by state file
    Nov 17 12:22:19 ubuntu NetworkManager[721]: <info> Networking is enabled by state file
    I am usually reading it as well just to learn what those messages mean.

  2. #22
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    21,171
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: Asus NX1001 card

    Do you have an interface eth0?
    Code:
    ifconfig
    Is eth0 listed in /etc/network/interfaces? We hope not.
    Code:
    cat /etc/network/interfaces
    Any informative messages here?
    Code:
    dmesg | grep r816
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #23
    Join Date
    Nov 2012
    Beans
    18

    Re: Asus NX1001 card

    No eth0 in ifconfig:
    Code:
    oscar@ubuntu:~$ ifconfig
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    No eth0 here neither:
    Code:
    oscar@ubuntu:~$ cat /etc/network/interfaces 
    auto lo
    iface lo inet loopback
    And dmesg:
    Code:
    oscar@ubuntu:~$ dmesg | grep 816
    [    0.248831] pci 0000:04:00.0: [10ec:8168] type 0 class 0x000200
    [    0.248909] pci 0000:04:00.0: reg 20: [mem 0x816810e0-0x816810ff 64bit pref]
    [    0.262836] pci 0000:04:00.0: no compatible bridge window for [mem 0x816810e0-0x816810ff 64bit pref]
    [    0.284250] pci 0000:04:00.0: BAR 4: error updating (0xf000000c != 0x816810ec)
    [    1.014816] ata1: SATA link down (SStatus 0 SControl 300)
    [    1.323816] scsi8 : pata_jmicron
    [    1.331214] r8168 Gigabit Ethernet driver 8.034.00-NAPI loaded
    [    1.331246] r8168 0000:04:00.0: enabling device (0000 -> 0003)
    [    1.331257] r8168 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    [    1.331270] r8168 0000:04:00.0: PowerManagement capability not found.
    [    1.331287] r8168 0000:04:00.0: setting latency timer to 64
    [    1.331369] Modules linked in: r8168(O+) pata_jmicron usb_storage
    [    1.331476]  [<ffffffffa0026df2>] rtl8168_init_one+0x673/0x2c6ff [r8168]
    [    1.331557]  [<ffffffffa005901e>] rtl8168_init_module+0x1e/0x1000 [r8168]
    [    1.331572]  [<ffffffff81661ec2>] system_call_fastpath+0x16/0x1b
    Also, Realtek doesn't work on Windows, but if we manage to get it working on Ubuntu, then I don't think that will matter too much. However, is there a way to have ASUS physically installed in my PC, so I can use it with Windows, but sort of blacklisted for Ubuntu?
    Last edited by Oskarm; November 17th, 2012 at 03:09 PM.

  4. #24
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    21,171
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: Asus NX1001 card

    I think I am starting to get the bigger picture. The Realtek doesn't work because it's probably defective. I reluctantly hang my head and concede.

    Our next problem is to find r8168 and disable it. I downloaded and installed the package and looked for the method to uninstall it. It eludes me. All I know to do is search for and rename each and every instance of r8168.ko. Please do:
    Code:
    sudo updatedb
    locate r8168.ko
    updatedb takes a few moments, please be patient.

    When you find them all, rename them .bak.
    Code:
    sudo mv /lib/modules/`uname -r`/kernel/drivers/net/ethernet/realtek/r8168.ko /lib/modules/`uname -r`/kernel/drivers/net/ethernet/realtek/r8168.bak
    `uname -r` is shorthand for your running kernel version. If you locate other instances, rename them to .bak similarly.

    Remove sundance from the blacklist. Move the ethernet cable and reboot.

    Now do:
    Code:
    ifconfig
    Is there an interface, perhaps eth1? Then do:
    Code:
    sudo ifconfig eth1 up
    sudo dhclient eth1
    With Network Manager running, I'm not confident it will connect, but it may produce some interesting messages:
    Code:
    dmesg | grep -e eth -e sundance
    Fingers crossed.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  5. #25
    Join Date
    Nov 2012
    Beans
    18

    Re: Asus NX1001 card

    Okay I did all as said, found all the .ko files, renamed them. Sundance wasn't on blacklist. Anyway, I rebooted with cable plugged. Here is ifconfig:
    Code:
    oscar@ubuntu:~$ ifconfig
    eth1      Link encap:Ethernet  HWaddr 00:26:18:eb:8f:9e  
              inet6 addr: fe80::226:18ff:feeb:8f9e/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:395 errors:0 dropped:0 overruns:0 frame:0
              TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:64162 (64.1 KB)  TX bytes:3842 (3.8 KB)
              Interrupt:16 Base address:0xec00 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    And dmesg:
    Code:
    oscar@ubuntu:~$ sudo ifconfig eth1 up
    oscar@ubuntu:~$ sudo dhclient eth1
    oscar@ubuntu:~$ dmesg | grep -e eth -e sundance
    [    0.251731] i2c-core: driver [aat2870] using legacy suspend method
    [    0.251734] i2c-core: driver [aat2870] using legacy resume method
    [    1.375832] sundance.c:v1.2 11-Sep-2006 Written by Donald Becker
    [    1.375877] sundance 0000:05:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    [    1.376734] eth0: IC Plus Corporation IP100A FAST Ethernet Adapter at 000000000001ec00, 00:26:18:eb:8f:9e, IRQ 16.
    [    1.377368] eth0: MII PHY found at address 0, status 0x7849 advertising 01e1.
    [    8.665530] ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    9.256581] udevd[372]: renamed network interface eth0 to eth1
    [   10.636816] eth1: Link up
    [   10.637137] eth1: Link changed: 100Mbps, full duplex

  6. #26
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    21,171
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: Asus NX1001 card

    [ 10.636816] eth1: Link up
    [ 10.637137] eth1: Link changed: 100Mbps, full duplex
    A good sign! When you click the Network Manager icon, is there any sign of an available wired connection? How about:
    Code:
    nm-tool
    sudo cat /var/log/syslog | grep -e eth1 -e etwork | tail -n20
    cat /etc/network/interfaces
    I'm encouraged.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  7. #27
    Join Date
    Nov 2012
    Beans
    18

    Re: Asus NX1001 card

    As again, it says Wired Connection device not ready.

    It still shows up the same error as before: unable to read permanent MAC address:
    Code:
    oscar@ubuntu:~$ nm-tool
    
    NetworkManager Tool
    
    State: disconnected
    
    - Device: eth1 -----------------------------------------------------------------
      Type:              Wired
      Driver:            sundance
      State:             unavailable
      Default:           no
      HW Address:        00:26:18:EB:8F:9E
    
      Capabilities:
    
      Wired Properties
        Carrier:         off
    Code:
    oscar@ubuntu:~$ sudo cat /var/log/syslog | grep -e eth1 -e etwork | tail -n20
    Nov 19 08:47:48 ubuntu NetworkManager[796]: <info> WWAN enabled by radio killswitch; enabled by state file
    Nov 19 08:47:48 ubuntu NetworkManager[796]: <info> WiMAX enabled by radio killswitch; enabled by state file
    Nov 19 08:47:48 ubuntu NetworkManager[796]: <info> Networking is enabled by state file
    Nov 19 08:47:48 ubuntu NetworkManager[796]: <warn> failed to allocate link cache: (-10) Operation not supported
    Nov 19 08:47:48 ubuntu NetworkManager[796]: <info> (eth1): driver 'sundance' does not support carrier detection.
    Nov 19 08:47:48 ubuntu NetworkManager[796]: <error> [1353314868.959841] [nm-device-ethernet.c:456] real_update_permanent_hw_address(): (eth1): unable to read permanent MAC address (error 22)
    Nov 19 08:47:48 ubuntu NetworkManager[796]: <info> (eth1): new Ethernet device (driver: 'sundance' ifindex: 2)
    Nov 19 08:47:48 ubuntu NetworkManager[796]: <info> (eth1): exported as /org/freedesktop/NetworkManager/Devices/0
    Nov 19 08:47:48 ubuntu NetworkManager[796]: <info> (eth1): now managed
    Nov 19 08:47:48 ubuntu NetworkManager[796]: <info> (eth1): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
    Nov 19 08:47:48 ubuntu NetworkManager[796]: <info> (eth1): bringing up device.
    Nov 19 08:47:48 ubuntu NetworkManager[796]: nm_netlink_monitor_get_flags_sync: assertion `self != NULL' failed
    Nov 19 08:47:48 ubuntu NetworkManager[796]: <warn> (eth1): couldn't get carrier state: (-1) unknown
    Nov 19 08:47:48 ubuntu NetworkManager[796]: <info> (eth1): carrier now OFF (device state 20, deferring action for 4 seconds)
    Nov 19 08:47:48 ubuntu NetworkManager[796]: <info> (eth1): preparing device.
    Nov 19 08:47:48 ubuntu NetworkManager[796]: <info> (eth1): deactivating device (reason 'managed') [2]
    Nov 19 08:47:48 ubuntu kernel: [   11.228759] type=1400 audit(1353314868.982:8): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=856 comm="apparmor_parser"
    Nov 19 08:47:50 ubuntu avahi-daemon[821]: Joining mDNS multicast group on interface eth1.IPv6 with address fe80::226:18ff:feeb:8f9e.
    Nov 19 08:47:50 ubuntu avahi-daemon[821]: New relevant interface eth1.IPv6 for mDNS.
    Nov 19 08:47:50 ubuntu avahi-daemon[821]: Registering new address record for fe80::226:18ff:feeb:8f9e on eth1.*.
    Code:
    oscar@ubuntu:~$ cat /etc/network/interfaces
    auto lo
    iface lo inet loopback

  8. #28
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    21,171
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: Asus NX1001 card

    It still shows up the same error as before: unable to read permanent MAC address:
    Weird, because we know the MAC address:
    eth1 Link encap:Ethernet HWaddr 00:26:18:eb:8f:9e
    inet6 addr: fe80::226:18ff:feeb:8f9e/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:395 errors:0 dropped:0 overruns:0 frame:0
    You might right-click the Network Manager icon and select 'Edit Connections,' edit eth1 and try to place the MAC address in the appropriate slot. Save and close. Then try to connect.

    Please see attached. Please note, yours will be in the form 00:26:18:EB:8F:9E. Also, the leading characters are zeros.
    Attached Images Attached Images
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  9. #29
    Join Date
    Nov 2012
    Beans
    18

    Re: Asus NX1001 card

    Network manager even find eth1 device in a drop down list with correct MAC address. It creates a wired connection entry, but doesn't connect. It still displays as device not ready.
    All the information still look the same.

  10. #30
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    21,171
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: Asus NX1001 card

    I am getting pretty low on ideas. Let's try a driver parameter temporarily:
    Code:
    sudo modprobe -r sundance
    sudo modprobe sundance media=autosense
    Now let's see if it has made an improvement. Try to connect and then do:
    Code:
    sudo cat /var/log/syslog | grep -e eth1 -e etwork -e sundance | tail -n20
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

Page 3 of 4 FirstFirst 1234 LastLast

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
  •