Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
ok I dont know if I should but I dont think eth1 is doing anything but I know I need eth0 oh.when Im in kde control center I try to change eth1 but kde crashes. It is set to manual I dont know if it should be this way. I dont know netmask, network and broadcast address.
forget the kde control center.
is your network configured with dhcp?
look up the netmask in your windows command prompt. (type ipconfig)
also, check the ip address there and post it.
my interfaces file looks like this:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.