Results 1 to 6 of 6

Thread: Static DNS manual networking

  1. #1
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    22

    Static DNS manual networking

    Hi everyone,

    I am on a large network and i am having problems finding where i manually enter the static DNS. I am not using DHCP due to new hardware that is conflicting with my DHCP server. I just need to know how i find out my current IP address on the knoppix machine, and also how to put in a static DNS address. Also what are all the other address it wants me to put in?? Is one of them the DNS with a different name..??




    Thanks,



    P.S i am a newbie to Linux. (I am jsut starting the R&D to make many servers here)

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    ifconfig eth0 will tell you the current config of eth0 the files you want are in /etc/resolv.conf and /etc/network/interfaces.

    Examples:

    /etc/network/interfaces
    Code:
    # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
    
    # The loopback interface
    # automatically added when upgrading
    auto lo eth0
    iface lo inet loopback
    
    
    iface eth0 inet static
            address 192.168.0.2
            netmask 255.255.255.0
            network 192.168.0.0
            broadcast 192.168.0.255
            gateway 192.168.0.254
    /etc/resolv.conf
    Code:
    search wolf
    nameserver 192.168.1.10
    nameserver 192.168.1.34
    Edit the files to your settings and /etc/init.d/networking restart will restart the network with the new settings, the search in the resolv.conf is not really necessary I've had it working without it. Almost forgot the hostname is in /etc/hostname. All this as root except the ifconfig.

    Or if you want to do it quickly netcardconfig as root in a console and say no to the DHCP option you can then configure it manually.

  3. #3
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    22
    Where would I put the DNS if I do it manually through netcardconfig?

  4. #4
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    22
    Ok I have the "ifconfig eth0" down and i have the IP, Sub and of course the gateway. BUt when i run ifconfig eth0/etc/networking/interfaces

    it tell me no device found.?? why would that be if i can do the infonfig in the first place

  5. #5
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    22
    OK all i need to know now is where to put my static DNS so that i can run this puppy!

    Well at least I think that is all I need

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Your dns info goes in /etc/resolv.conf

    Check out the following page for networking info in Debian. If you scroll 3/4 the way down the page you will see a list of files relevant to networking in Debian. The site in general is a good intro to Debian:

    http://aboutdebian.com/network.htm

Similar Threads

  1. 3.7 manual install
    By Tek Guy in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 03-25-2005, 09:36 PM
  2. knoppix manual
    By plener in forum The Lounge
    Replies: 1
    Last Post: 12-23-2004, 11:06 PM
  3. Knoppix 3.6 - gprsconnect manual
    By ck76 in forum Networking
    Replies: 0
    Last Post: 09-14-2004, 04:23 PM
  4. trouble after a manual install
    By Wasteed in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 03-26-2004, 02:11 PM
  5. Manual
    By in forum General Support
    Replies: 0
    Last Post: 01-29-2003, 07:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED picture

IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED

$99.99



IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD picture

IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD

$399.99



ibm server z series picture

ibm server z series

$16000.00



IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs picture

IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs

$58.52



IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server  picture

IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server

$209.98



IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server picture

IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server

$191.99



IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES picture

IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES

$26.97



IBM System x3500 m3 Server picture

IBM System x3500 m3 Server

$100.00



IBM Power S822 8284-22A 2.5

IBM Power S822 8284-22A 2.5" 12-Bay 64GB 2X 00ND478 2X 00E2865 *READ*

$599.99



IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server picture

IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server

$319.99