Results 1 to 3 of 3

Thread: 10.04.2 server networking problem

  1. #1
    Join Date
    Feb 2010
    Location
    Yorkshire, United Kingdom
    Beans
    57
    Distro
    Ubuntu 14.04 Trusty Tahr

    10.04.2 server networking problem

    Hi,

    I have been experimenting with running a webserver on my local network. It was running fine before I had to physically move the machine, and now it is not networking.

    It has occasionally worked and I think I messed up some configuration files in moving between static IP and DHCP.

    I have tried both, but cannot get the machine to network either way.

    It is currently set to get its IP address by DHCP and the DHCP server (a router) reserves it the address 192.168.1.109

    I don't think it is a DHCP problem as it has done it in the past, but it could be a configuration problem and possible a network card problem (intermittently faulty?)

    Below are what I think might be useful - any ideas?

    Code:
    cat /etc/resolv.conf
    nameserver 192.168.1.1
    Code:
    cat /etc/network/interfaces
    # This file describes the network interfaces available on your system
    # and how to activate them.  For more information see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface
    auto eth0
    iface etho0 inet dhcp

    Code:
    ifconfig -a
    eth0    Link encap:Ethernet  HWaddr 00:c0:df:0d:e6:78
            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)
            Interrupt:11 Base address:0xe400
    
    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:23 errors:0 dropped:0 overruns:0 frame:0
            TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0
            RX bytes:2192 (2.1 KB)  TX bytes:2192 (2.1 KB)
            Interrupt:11 Base address:0xe400
    Code:
    sudo client eth0
    Internet Systems Consortium DHCP Client v3.1.3
    Copyright 2004-2009 Internet Systems Consortium.
    All rights reserved.
    For info, please visit https://www.isc.org/software/dhcp/
    
    Listening on LPF/eth0/00:co:df:0d:e6:78
    Sending on LPF/eth0/00:co:df:0d:e6:78
    Sending on Socket/fallback
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
    No DHCPOFFERS received
    No working leases in persistent database - sleeping.
    --
    Running Trusty on desktop and laptop.

  2. #2
    Join Date
    Feb 2010
    Location
    Yorkshire, United Kingdom
    Beans
    57
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 10.04.2 server networking problem

    bump?
    --
    Running Trusty on desktop and laptop.

  3. #3
    Join Date
    Feb 2010
    Location
    Yorkshire, United Kingdom
    Beans
    57
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 10.04.2 server networking problem

    Well, I replaced the NIC and all worked again.

    I just had to edit /etc/udev/rules.d/70-persistent-net.rules so that my new NIC's MAC address was matched to eth0 rather than eth1, then everything was OK.

    Looks like the NIC was faulty.
    --
    Running Trusty on desktop and laptop.

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
  •