Debian ETH0 problems

Posted on 2005-04-07
Last Modified: 2013-12-06
i've  just got a new router and i installed it, it's workin fine on my windows machine, so i went on i configure my DEBIAN server.
I went to /etc/network
and VI interfaces like this

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        # dns-* options are implemented by the resolvconf package, if installed
#       dns-nameservers

now i can ping my router wich is but when i try to ping i'll get the error "ping: unknown host"

What is wrong. I'm running debian. Ohw yeah how do i stop / restart /start my network device ? I know its if-down.d under red hat but how is it done under DEBIAN

thnx in advance
Question by:Mr-sark
    LVL 1

    Assisted Solution

    Try changing:
    #       dns-nameservers

    (if your router is running dns proxy)

    Otherwise put a real dns ip in there.

    Can you ping anything outside your network?
    LVL 1

    Author Comment

    if i changed the setting, do i need to restart my networcard? if so how
    LVL 1

    Author Comment

    if i try to ping for example

    Lexiun:/etc/network# ping
    connect: Network is unreachable

    i'll get this error

    my router is a VIGOR 2600
    LVL 16

    Accepted Solution

    Also, post your /etc/resolv.conf file
    LVL 1

    Author Comment

    you said the magic words RESOLV.CONF

    i think you guys helped me both out so i will split the points

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
    In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now