Find the answer to your Linux question:
Results 1 to 4 of 4
Ok I recently installed etch and eveything was working fine for the past 3 days. Yesterday I rebooted the computer to do some work in windows. When I started debian ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    33

    Problems (eth0) staying connected to the Internet


    Ok I recently installed etch and eveything was working fine for the past 3 days. Yesterday I rebooted the computer to do some work in windows. When I started debian again my internet connection wasn't found. So, I figured out that my eth0 connection was disable. I went to kde control center
    1. Internet & Network
    2.Network setting
    3 Enable etho
    Everything was working fine again. Today after rebooting from windows I seem to have the same problem. I tried doing what I did yesterday but that did not work. When I try to enable eth0 it switches back thus not allowing me to change the setting. I decided to restart the computer agaian and during bootup I saw that some things where failing in startup. I think it said /etc/network/???? I didnt catch this last part. After trying to reset the eth0 once again and having no luck I restart the computer so I could come to the forum. During the shutdown process their were also errors/fail processes which I belive is "up-down"(this could be wrong). I recall seeing something similar in the /etc/network/??? directory. I dont know what is wrong with it. Everything else seems to work fine. I have to use Window to connect to the internet now. Oh I am not on a network.

  2. #2
    Just Joined! SweetLou's Avatar
    Join Date
    Nov 2004
    Posts
    68
    Do you lose connection only when booting after Windows or after any reboot?
    Try:
    ifconfig eth0 up
    see if that will get your connection. Also, can you display what your /etc/network/interfaces here?

    Edit: What does:
    ifconfig
    give you?

  3. #3
    Just Joined!
    Join Date
    Mar 2006
    Posts
    33
    this is what I got

    the-cage:/home/specialist125# ifup eth0
    /etc/network/interfaces:20: too few parameters for iface line
    ifup: couldn't read interfaces file "/etc/network/interfaces"



    This is the /etc/network/interfaces file.

    # 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
    address 127.0.0.1
    netmask 255.0.0.0

    # This is a list of hotpluggable network interfaces.
    # They will be activated automatically by the hotplug subsystem.
    mapping eth0
    script grep
    map eth0

    # The primary network interface
    allow-hotplug eth0
    iface eth0 inet dhcp

    iface eth1 inet



    auto eth0

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! SweetLou's Avatar
    Join Date
    Nov 2004
    Posts
    68
    That file looks ok,
    What does

    ifconfig

    give you?

    I'll try to reply, but I am in the process of moving right now, so I might not be back for some time.

Posting Permissions

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