Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Networking
Reload this Page Problems (eth0) staying connected to the Internet
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Networking Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Reply
 
Thread Tools Display Modes
Old 06-16-2006   #1 (permalink)
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.
specialist125 is offline   Reply With Quote
Old 06-16-2006   #2 (permalink)
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?
SweetLou is offline   Reply With Quote
Old 06-16-2006   #3 (permalink)
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
specialist125 is offline   Reply With Quote
Old 06-16-2006   #4 (permalink)
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.
SweetLou is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 04:11 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0