Find the answer to your Linux question:
Results 1 to 4 of 4
Hi I have installed debian Lenny minimal version in my PC which is currently running XP tooo. My problem is that after installation I just configured the network address with ...
  1. #1
    Just Joined! sam619's Avatar
    Join Date
    Nov 2009
    Posts
    16

    Problem in Internet access

    Hi
    I have installed debian Lenny minimal version in my PC which is currently running XP tooo.
    My problem is that after installation I just configured the network address with DHCP . I accessed the server with this DHCP configuration but after rebooting I cant access the server as well as internet. It shows that DHCP configuration failed, then I configured it manually but that too not worked........

  2. #2
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    Hi Sam

    Can you give us a better description of what your problem is? What have you tried so far?
    Linux User #453176

  3. #3
    Linux Newbie lugoteehalt's Avatar
    Join Date
    Jan 2004
    Posts
    231
    Put my Lenny on internet recently, not an expert.

    A Ubuntu live CD gave the internet so copied its /etc/resolv.conf and /etc/network/interfaces files to Lenny, although cut a little stuff. This put Lenny on the internet, have no idea if it is a safe way of going about things.
    Code:
    lugo@fido:~$ cat /etc/resolv.conf
    nameserver 192.168.1.1
    lugo@fido:~$ cat /etc/network/interfaces
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet dhcp
    
    #auto eth1
    #iface eth1 inet dhcp
    
    lugo@fido:~$
    All power is violence; all power is evil.
    Money As Debt

  4. #4
    Just Joined!
    Join Date
    Jan 2008
    Posts
    53

    Yes no problem!

    Quote Originally Posted by lugoteehalt View Post
    Put my Lenny on internet recently, not an expert.

    A Ubuntu live CD gave the internet so copied its /etc/resolv.conf and /etc/network/interfaces files to Lenny, although cut a little stuff. This put Lenny on the internet, have no idea if it is a safe way of going about things.
    Code:
    lugo@fido:~$ cat /etc/resolv.conf
    nameserver 192.168.1.1
    lugo@fido:~$ cat /etc/network/interfaces
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet dhcp
    
    #auto eth1
    #iface eth1 inet dhcp
    
    lugo@fido:~$
    Since Ubuntu seems to come from Debian, they work with the same files. In the file /etc/network/interfaces you are telling to your system how it is going to work with the network card, static or dhcp. The /etc/resolv.conf you are telling to your system the dns server who it is going to ask for delivering answer to your system.

    Also you did not need to run Ubuntu, but anyway is the same. than doing it manually.

Posting Permissions

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