Find the answer to your Linux question:
Results 1 to 4 of 4
Hi All, what command should i be using to initialize or setup a network connection in Debian. I tried using ifup eth0, but it gives the output as: interface already ...
  1. #1
    Linux Newbie rinjo's Avatar
    Join Date
    Feb 2007
    Location
    Bangalore, India
    Posts
    224

    network connection not working

    Hi All,

    what command should i be using to initialize or setup a network connection in Debian.

    I tried using ifup eth0, but it gives the output as: interface already configured.

    But the output of ifconfig is:
    Link encap:Local loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    Linux Rocks!!!!

    Rinjo

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    what kind of ip , static or dynamic
    read man page of the interfaces file
    man interfaces

    and than edit /etc/network/interfaces

  3. #3
    Linux Newbie rinjo's Avatar
    Join Date
    Feb 2007
    Location
    Bangalore, India
    Posts
    224
    Quote Originally Posted by iwanabeguru View Post
    what kind of ip , static or dynamic
    read man page of the interfaces file
    man interfaces


    and than edit /etc/network/interfaces
    i am using a dynamic ip
    i will read the man page and try modifying the file...
    thanks
    Linux Rocks!!!!

    Rinjo

  4. #4
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    here is some help

    example : set dhcp for eth0 interface
    you will need only two line in the /etc/network/interfaces file

    iface eth0 inet dhcp
    auto dhcp

Posting Permissions

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