Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Wired Connection is not detecting.

  1. #11
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    5,535
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Wired Connection is not detecting.

    Do you get a MAC address with Windows? The Windows terminal command is

    ipconfig /all

  2. #12

    Re: Wired Connection is not detecting.

    Hmmm... Actually. Nope...
    It was 00:00:00:00:00. Then I checked on internet, and tweaked using Freeware tool called Technitium. Now my NIC got the MAC address in windows.

  3. #13
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    5,535
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Wired Connection is not detecting.

    Try to:

    Code:
    gksu gedit /etc/udev/rules.d/70-persistent-net.rules
    Add the lines in green with your MAC-address:
    Code:
    # This file was automatically generated by the /lib/udev/write_net_rules
        # program, run by the persistent-net-generator.rules rules file.
        #
        # You can modify it, as long as you keep each rule on a single
        # line, and change only the value of the NAME= key.
    #PCi device 0x10ec:0x8136 (r8169)
    SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
       
      # PCI device 0x168c:0x001c (ath5k)
        SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:24:2c:18:8d:81", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
        hackerinside@HackerInside:~$
    save, close the editor and
    Code:
    sudo service udev reload
    sudo /etc/init.d/networking restart
    sudo dhclient eth0
    Check:
    Code:
    ifconfig -a

  4. #14

    Re: Wired Connection is not detecting.

    So, I straightened the windows problem. How can I change the MAC address of my NIC in Ubuntu?
    I think that would solve my whole problem.

    Thanks in advance & Take Care

  5. #15
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    5,535
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Wired Connection is not detecting.

    Try the one from #13. Also check the BIOS and Windows settings, if one of these shut down the card pe default...

  6. #16

    Re: Wired Connection is not detecting.

    That session too end in errors.
    I used the MAC address which I used with Windows. Still the Ubuntu shows invalid MAC address(00:00:00:00:00).

    Terminal Log:

    Code:
    hackerinside@HackerInside:~$ gksu gedit /etc/udev/rules.d/70-persistent-net.rules
    (gksu:2278): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
    
    (gksu:2278): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
    
    (gksu:2278): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
    
    (gksu:2278): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
    
    (gedit:2280): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recentlyused.
    xbel', but failed: No such file or directory
    (gedit:2280): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recentlyused.
    xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.HB856V': No such
    file or directory
    (gedit:2280): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recentlyused.
    xbel', but failed: No such file or directory
    (gedit:2280): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recentlyused.
    xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.FE316V': No such
    file or directory
    (gedit:2280): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recentlyused.
    xbel', but failed: No such file or directory
    
    hackerinside@HackerInside:~$ sudo service udev reload
    
    hackerinside@HackerInside:~$ sudo /etc/init.d/networking restart
    * Running /etc/init.d/networking restart is deprecated because it may not enable again some
    interfaces
    * Reconfiguring network interfaces... [ OK ]
    
    hackerinside@HackerInside:~$ sudo dhclient eth0
    RTNETLINK answers: Cannot assign requested address
    
    ^Chackerinside@HackerInside:~$ 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:672 errors:0 dropped:0 overruns:0 frame:0
    TX packets:672 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:51632 (51.6 KB) TX bytes:51632 (51.6 KB)
    
    wlan0 Link encap:Ethernet HWaddr 00:24:2c:18:8d:81
    UP BROADCAST MULTICAST MTU:1500 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:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    
    hackerinside@HackerInside:~$ ifconfig -a
    
    eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
    BROADCAST MULTICAST MTU:1500 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:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:43 Base address:0xa000
    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:672 errors:0 dropped:0 overruns:0 frame:0
    TX packets:672 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:51632 (51.6 KB) TX bytes:51632 (51.6 KB)
    
    wlan0 Link encap:Ethernet HWaddr 00:24:2c:18:8d:81
    UP BROADCAST MULTICAST MTU:1500 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:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    hackerinside@HackerInside:~$
    Last edited by ๖ۣۜStorm ๖ۣۜShadow; December 25th, 2011 at 09:04 PM.

  7. #17
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    5,535
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Wired Connection is not detecting.

    Ok, try this:

    Code:
    sudo mv /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistent-net.bak
    sudo udevadm trigger
    sudo service udev reload
    Check the new file "70-" again and "ifconfig"

  8. #18

    Re: Wired Connection is not detecting.

    No change. The problem still exist. ifconfig doesn't shown any changes & the file too.

  9. #19
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    5,535
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Wired Connection is not detecting.

    Ok, reset the BIOS to manufacturer settings, reboot, and check again

  10. #20

    Re: Wired Connection is not detecting.

    No change at all. Facing same problems. In windows, my NIC is working perfectly. Its only with Ubuntu.
    Last edited by ๖ۣۜStorm ๖ۣۜShadow; December 26th, 2011 at 12:18 AM.

Page 2 of 3 FirstFirst 123 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
  •