Can't connect to my ubuntu server anymore

Page 2 of 2 FirstFirst 12

  1. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #11

    on ubuntu (as root):
    Code:
    hostname  -f
    hostname  -a
    post output
      My Computer


  2. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #12

    Also
    Code:
     
    cat  /etc/network/interfaces
    cat  /etc/resolv.conf
      My Computer


  3. Posts : 6
    w7ux64
    Thread Starter
       #13

    This is the ethernet info from the my pc:
    Code:
    Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Realtek RTL8168D/8111D Family PCI-E Gigab
    it Ethernet NIC (NDIS 6.20)
       Physical Address. . . . . . . . . : -----
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       Link-local IPv6 Address . . . . . : fe80::1842:1a3c:252c:3d54%10(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : Friday, October 11, 2013 11:38:52 AM
       Lease Expires . . . . . . . . . . : Saturday, October 12, 2013 11:38:52 AM
       Default Gateway . . . . . . . . . : 192.168.1.1
       DHCP Server . . . . . . . . . . . : 192.168.1.1
       DHCPv6 IAID . . . . . . . . . . . : 239622969
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-40-7E-DD-48-5B-39-36-1B-A8
    
       DNS Servers . . . . . . . . . . . : 192.168.1.1
       NetBIOS over Tcpip. . . . . . . . : Enabled
    hostname -f returns my server's name, hostname -a doesn't return anything.

    cat /etc/network/inferfaces gets:
    Code:
    auto lo
    iface lo inet loopback
    the resolv.conf files says "nameserver 127.0.0.1


    My server doesn't really do anything besides host files, it does no routing functions or actual server processes.
      My Computer


  4. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #14

    So linux has to have dns 192.168.1.1 as well!
    Can linux ping 74.125.136.94?
    can linux ping www.google.nl
    ?
      My Computer


  5. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #15

    bavman said:
    This is the ethernet info from the my pc:
    Code:
    Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Realtek RTL8168D/8111D Family PCI-E Gigab
    it Ethernet NIC (NDIS 6.20)
       Physical Address. . . . . . . . . : -----
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       Link-local IPv6 Address . . . . . : fe80::1842:1a3c:252c:3d54%10(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : Friday, October 11, 2013 11:38:52 AM
       Lease Expires . . . . . . . . . . : Saturday, October 12, 2013 11:38:52 AM
       Default Gateway . . . . . . . . . : 192.168.1.1
       DHCP Server . . . . . . . . . . . : 192.168.1.1
       DHCPv6 IAID . . . . . . . . . . . : 239622969
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-40-7E-DD-48-5B-39-36-1B-A8
     
       DNS Servers . . . . . . . . . . . : 192.168.1.1
       NetBIOS over Tcpip. . . . . . . . : Enabled
    hostname -f returns my server's name, hostname -a doesn't return anything.

    cat /etc/network/inferfaces gets:
    Code:
    auto lo
    iface lo inet loopback
    the resolv.conf files says "nameserver 127.0.0.1


    My server doesn't really do anything besides host files, it does no routing functions or actual server processes.
    Is that really all there is in /etc/network/inferfaces?
      My Computer


  6. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #16

    Add these lines to /etc/network/inferfaces and reboot. After reboot post resolv.conf

    Code:
     
    auto eth0
    iface eth0 inet dhcp
      My Computer


  7. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #17

    resolv.conf should have only this:

    nameserver 192.168.1.1
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:24.
Find Us