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.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Other Distributions > MEPIS Help > my internet does not start at boot

Forgot Password?
 MEPIS Help   For help and discussions related to MEPIS

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-18-2007   #1 (permalink)
Just Joined!
 
Join Date: Nov 2007
Posts: 2
my internet does not start at boot

Hello,
I have been having problem with my linux connecting to a network with static ip. Everytime I boot my system into linux I get this message at start up screen, "SIOCADDRT: File Exists." something like that. Does anyone know what might be wrong with my internet settings. I tried ifconfig and it shows the static ip that I had set but it does not actually connects to my router. When I try ifdown eth0, it says "eth0 not configured." And when try to ifconfig eth0 I get the error message, "SIOCADDRT: file exists." But here is the trick that I figured to get my linux box connected. I boot my system in XP and then I reboot my system in Linux (Mepis) and it works. I don't know why.

Any help would be appreciated.

Thank you.
viral is offline  


Reply With Quote
Old 11-18-2007   #2 (permalink)
Linux Newbie
 
Join Date: Sep 2005
Posts: 141
I'll start the ball rolling with a bunch of questions. With any luck a networking guru will come along to clean up the wreckage

Is this a new install or an older install that's suddenly misbehaving? Some updates can effect network settings.

The fact that a quick reboot from windows solves the problem isn't completely surprising. The hardware holds some settings for a short period of time.

Do you have control of the local network or is there another administrator? Describe the setup as best you can.

Does a gateway show up with the route command? Can you ping that address?

Whats the output of <lspci | grep Ethernet> ? Some cards don't work that well with linux.

It looks like the system is trying to establish a route that has already been established. Recheck the settings in the network assistant.
__________________
WARNING: I may be telling you more than I know !
googled first is offline   Reply With Quote
Old 11-18-2007   #3 (permalink)
Just Joined!
 
Join Date: Nov 2007
Posts: 2
Thanks for the quick response, googled first.

This is an older install that is suddenly misbehaving. I am using this system as my personal webserver so it goes down everytime I have power failure. I have set up my bios to start my pc as soon as power comes on but somehow my system fails to bring up the eth0 until I boot my system in XP once and then back into mepis. Yes, I have the complete control over the network. Actually, this is my home network and I have set up everything myself. I have one linux and two xp running on this network. I tried to ping my linux box's ip but I get no response. I also tried to ssh via putty but with no network connection, I cannot connect from another pc.

here is what I get by route command.

me@1[~]$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
me@1[~]$


me@1[~]$ lspci | grep Ethernet
0000:01:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
me@1[~]$

I checked the settings in network assistant and all the settings seems to be ok there. But even the network assistant fails to bring up the eth0. I doesn't give me any errors but I click on start eth0 it looks like that it is trying to bring up the eth0.

Thanks,
Viral
viral is offline   Reply With Quote
Old 11-19-2007   #4 (permalink)
Linux Newbie
 
Join Date: Sep 2005
Posts: 141
I'm guessing that route command was run with eth0 up. My router is assigning by DHCP so playing along step for step ia bit tricky. According to route you have a gateway device with an address of 192.168.1.1.

Maybe those unplanned reboots have corrupted some files? Those SIOCADDRT messages suggest the same route command is being issued more than once.

Next time Mepis networking is down you could try running;
/etc/init.d/networking stop
/etc/init.d/networking start
Even if it doesn't bring up eth0 the errors might give some clue.
__________________
WARNING: I may be telling you more than I know !
googled first is offline   Reply With Quote
Old 11-24-2007   #5 (permalink)
Just Joined!
 
Join Date: Jul 2007
Posts: 13
Slowly but surely....

OK
Open a root terminal session and type

ifconfig
and check to see if possibly both eth0 and eth1 are both shown as being
established...

if so

type ifconfig eth0 down
type ifconfig eth1 down
then
to to network manager and select the ethx that you wanted with
the static ip and check the box start on apply.....

then click apply

come back and tell us what you found

tnx for asking

burdicda
burdicda 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
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:33 AM.






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

Content Relevant URLs by vBSEO 3.3.0 RC2