Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Access via Putty

  1. #11
    Join Date
    Feb 2008
    Beans
    49

    Re: Access via Putty

    OK I correctly set my eth0 to static and gave it the appropriate network addresses. What do I need to edit in the name server "resolv.conf" file to set up my dns server settings?

    Can you give me an example like the one for your ip settings?

  2. #12
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Access via Putty

    Your dns settings in resolv.conf should be the same as the dns seetings on your router but they should be set automagically when you're connected to the network. At least that's they way it worked with my server.

    Jim

  3. #13
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    6,074
    Distro
    Xubuntu

    Re: Access via Putty

    Oh ****!

    I missed a line from interfaces. Here is the corrected sample with the added line:
    auto eth0
    iface eth0 inet static
    address 192.168.1.101
    netmask 255.255.255.0
    gateway 192.168.1.1
    resolv.conf gives the name servers. In my case my router actes as a DNS proxy to the real DNS servers in my ISP, so it looks like this:
    nameserver 192.168.1.1

  4. #14
    Join Date
    Aug 2006
    Beans
    Hidden!

    Re: Access via Putty

    I don't know how much difference this will make to you, but I have some slightly different lines in /etc/network/interfaces

    The IPs below are just an example and should be changed to suit your network.

    auto eth0
    iface eth0 inet static
    address 192.168.0.10
    netmask 255.255.252.0
    network 192.168.0.0
    broadcast 192.168.3.255
    gateway 192.168.0.1

Page 2 of 2 FirstFirst 12

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
  •