Results 1 to 9 of 9

Thread: Server Connection Problems

Hybrid View

  1. #1
    Join Date
    May 2009
    Beans
    11
    Distro
    Ubuntu 9.10 Karmic Koala

    Server Connection Problems

    Hello all,
    I have done a great deal of searching on this issue and I cannot find a solution to my problem that works.

    my setup: my server (ubuntu 9.10 server) is directly connected to my linksys router via eth0 (and this is the exact setup this server has been in for the last year... until the hard drive crashed a week ago)

    On install when i was asked for network information I chose to manual in order to get a specific address.

    The configuration was something like this
    Code:
    address 192.168.1.10
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    gateway 192.168.1.1
    nameserver x.x.x.148 x.x.x.147 127.0.0.1 192.168.1.1
    now that it is finished installing I cannot access the internet or even ping my local network addresses.

    I have tried verifying /etc/network/interfaces and /etc/resolv.conf which provides the same information

    I have also tried to setup a default route using
    Code:
    route add default gw 192.168.1.1
    this does not return an error... but it still does not allow me to access anything on the network

    I have also tried setting up eth0 (and others) as dhcp and when I restart /etc/init.d/networking it fails to receive a DHCP response.

    Does anyone see anything I have missed?
    Last edited by kahuna0789; November 10th, 2009 at 06:21 PM. Reason: Typo on the server version

  2. #2
    Join Date
    Sep 2009
    Location
    Dallas, TX
    Beans
    121
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Server Connection Problems

    Can you post the output of:

    Code:
    cat /etc/network/interfaces
    If you can't be good, be good at it!
    -----
    Intel Core2 Duo E8400 3.0GHz, 4GB DDR2 RAM, 80GB System, 500GB RAID 1 Data, nVIDIA 9800GT

  3. #3
    Join Date
    May 2009
    Beans
    11
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Server Connection Problems

    Here is the file without all of the commented lines

    Code:
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet static
    address 192.168.1.10
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    gateway 192.168.1.1

  4. #4
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Server Connection Problems

    ifconfig -a and route -n confirm that your manual entries got applied?
    The cable is OK?
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  5. #5
    Join Date
    May 2009
    Beans
    11
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Server Connection Problems

    My cable tester says that the cable is fine

    ifconfig -a returns the expected results and route -n returns
    Code:
    Kernel IP routing table
    Destination    Gateway       genmask        Flags    Metric    Ref    Use    Iface
    192.168.1.0    0.0.0.0       255.255.255.0  U        0         0      0      eth0
    0.0.0.0        192.168.1.1   0.0.0.0        UG       100       0      0      eth0
    Note: I'm not sure if it makes a difference but there was a typo in my first post, the server version should have been 9.10 instead of 8.10
    Last edited by kahuna0789; November 10th, 2009 at 06:26 PM.

  6. #6
    Join Date
    Dec 2007
    Location
    The last place I look
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Server Connection Problems

    ok, can you do an nslookup? your problem may be dns resolution.
    I would start by dropping the network and broadcast lines from your interfaces file unless you need them (your values are generic so you don't).

    I'm worried about the loopback in your nameserver list. what is in \etc\resolv.conf?
    also can you post the ifconfig anyway?

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
  •