Unix Technical Forum

eth0 doesn't always com up

This is a discussion on eth0 doesn't always com up within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Cut me some slack jack. -No pun intended Josh Beck "Dan C" <youmustbejoking@invalid.lan> wrote in message news an.2005.08.15.11.43.54.565493@invalid.lan... > ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-20-2008, 10:21 AM
Josh
 
Posts: n/a
Default Re: eth0 doesn't always com up

Cut me some slack jack. -No pun intended

Josh Beck
"Dan C" <youmustbejoking@invalid.lan> wrote in message
newsan.2005.08.15.11.43.54.565493@invalid.lan...
> On Mon, 15 Aug 2005 04:24:13 +0000, Josh wrote:
>
>> The reason I like slack is because rc.local can do just about anything
>> for
>> you. I would put something like this in:

>
> Just to clarify something, rc.local is not unique to Slackware. Any other
> distro that I've ever seen also has this...
>
> I guess you'll need to find another reason to like Slack.
>
> --
> If you're not on the edge, you're taking up too much space.
> Linux Registered User #327951
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-20-2008, 10:21 AM
Dan C
 
Posts: n/a
Default Re: eth0 doesn't always com up

On Tue, 16 Aug 2005 02:47:30 +0000, Josh wrote:

< silly top-posting corrected >

>>> The reason I like slack is because rc.local can do just about anything
>>> for you. I would put something like this in:


>> Just to clarify something, rc.local is not unique to Slackware. Any other
>> distro that I've ever seen also has this...


> Cut me some slack jack. -No pun intended


I wasn't giving you a hard time. Just making sure you understand that
rc.local is not specific to Slackware. The way you wrote your comment
above makes it sound like you think it is a Slackware-only feature...

> X-Newsreader: Microsoft Outlook Express 6.00.2900.2180


Now all you've got to do is actually start using it (Slackware)...

--
If you're not on the edge, you're taking up too much space.
Linux Registered User #327951

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 02-20-2008, 10:21 AM
ab
 
Posts: n/a
Default Re: eth0 doesn't always com up

On 2005-08-16, Dan C <youmustbejoking@invalid.lan> wrote:
>> X-Newsreader: Microsoft Outlook Express 6.00.2900.2180

>
> Now all you've got to do is actually start using it (Slackware)...


Interesting logic fallacy.

I use FreeBSD, Slackware, OSX and XP. Does using one exclude me from
using the others?

ab
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 02-20-2008, 10:21 AM
Dan C
 
Posts: n/a
Default Re: eth0 doesn't always com up

On Tue, 16 Aug 2005 11:29:33 +0000, ab wrote:

>>> X-Newsreader: Microsoft Outlook Express 6.00.2900.2180


>> Now all you've got to do is actually start using it (Slackware)...


> I use FreeBSD, Slackware, OSX and XP. Does using one exclude me from
> using the others?


No, but it's quite clear from the OP's question(s) and knowledge level
that he is using Windoze (only). Do you disagree with that little piece
of detective work?

--
If you're not on the edge, you're taking up too much space.
Linux Registered User #327951

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 02-20-2008, 10:21 AM
Edwin Johnson
 
Posts: n/a
Default Re: eth0 doesn't always com up

> "jevb" <jevb@bluebottle.com> wrote in message
> news:1123996014.db0b4510eced859f0ed095452e2a98ab@t eranews...
>> Running Slackware 10.1, SOYO KT-880 Dragon2 V2.0 motherboard, using the
>> onboard ethernet device, connected to a Linksys BEFW1154 router, then to a
>> Westell DSL modem. Sometimes, but not always, after a fresh boot up, eth0
>> is not always up. But then, if I run "# /etc/rc.d/rc.inet1 start" eth0
>> comes up okay. Currently, rc.inet1 is called from the rc.M startup script.


In case the IP is pausing or hesitating and you're using DHCP, change all the
time out values from 10 to 20 seconds (-t 20) in the rc.inet1 script file. I
had this problem with Road Runner and it solved the problem.

....Edwin
--
__________________________________________________ _____
"Once you have flown, you will walk the earth with your
eyes turned skyward, for there you have been, there you
long to return."-- da Vinci ... www.shreve.net/~elj
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 02-20-2008, 10:22 AM
jevb
 
Posts: n/a
Default Re: eth0 doesn't always com up

+Alan Hicks+ wrote:

> In alt.os.linux.slackware, jevb dared to utter,
>> Do you mean do I have a static IP, or a dynamic IP? If
>> that's the question, then I *think* it's dynamic. I use DHCP in my router
>> (see above), and the router assigns the IP to my computer.

>
> In this case it's a dynamic IP. If you look in /etc/rc.d/rc.inet1.conf
> you will see something like this:
>
> # Primary network interface card (eth0)
> IPADDR[0]=""
> NETMASK[0]=""
> USE_DHCP[0]=""
> DHCP_HOSTNAME[0]=""
>
> If USE_DHCP[0]="yes" you're using dhcp. If not, then you should see an
> ip address and netmask listed for IPADDR[0] and NETMASK[0].


I checked that file, yes I'm using DHCP.

>
>> I always do a soft shutdown, so
>> that I only have to do a Left_Click on the mouse to start it up.

>
> Ok, I'm having trouble resolving this statement with:
>
>>>> Sometimes, but not always, after a fresh boot up,
>>>> eth0 is not always up.

>
> Do you mean you are using software suspend and the interface doesn't
> come back up after a software resume, or are you talking about a cold
> boot, such as power off to power on.


Sorry for the confusion. What I mean is, I use APM and let Slackware power
down the machine. I don't physically shut off the power to the box. I have
the BIOS set so that all I have to do is click the left mouse button and
the machine will power up. So yes, I guess you could call that a cold boot.
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 02-20-2008, 10:22 AM
jevb
 
Posts: n/a
Default Re: eth0 doesn't always com up

notbob wrote:

> On 2005-08-15, +Alan Hicks+ <alan@lizella.netWORK> wrote:
>
>
>> come back up after a software resume, or are you talking about a cold
>> boot, such as power off to power on.

>
> I suspect a cold boot.
>
> I've noticed this happens to me occasionally, also. But, I shut down
> so seldom I usually forget all about it till it happens again. I
> increased the -t setting in rc.inet1 as suggested in another post and
> it seems to have solved the problem.
>
> nb


Thanks for this tip. I'm going to try it. I found four "-t" settings in the
"eth_up()" part of the script (rc.inet1). I changed all four from "10" to
"20". We'll see what happens.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 02-20-2008, 10:22 AM
+Alan Hicks+
 
Posts: n/a
Default Re: eth0 doesn't always com up

In alt.os.linux.slackware, jevb dared to utter,
> I'm using DHCP.
>
> I use APM and let Slackware power
> down the machine. I don't physically shut off the power to the box. I have
> the BIOS set so that all I have to do is click the left mouse button and
> the machine will power up. So yes, I guess you could call that a cold boot.


Ok, in this case simply incrementing the timeout option in
/etc/rc.d/rc.inet1 should do the trick. Just follow the instructions
others have given and all should be good.

--
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 02-20-2008, 10:23 AM
jevb
 
Posts: n/a
Default Re: eth0 doesn't always com up

+Alan Hicks+ wrote:

>
> Ok, in this case simply incrementing the timeout option in
> /etc/rc.d/rc.inet1 should do the trick. Just follow the instructions
> others have given and all should be good.
>


Well, I changed all of the timeouts in rc.inet1 to 20 seconds, and the last
two days every time I started up my machine (three start ups), eth0 has
come up, so maybe that did the trick. I'll keep watching. :-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 02-20-2008, 10:24 AM
jevb
 
Posts: n/a
Default Re: eth0 doesn't always com up

jevb wrote:

> +Alan Hicks+ wrote:
>
>>
>> Ok, in this case simply incrementing the timeout option in
>> /etc/rc.d/rc.inet1 should do the trick. Just follow the instructions
>> others have given and all should be good.
>>

>
> Well, I changed all of the timeouts in rc.inet1 to 20 seconds, and the
> last two days every time I started up my machine (three start ups), eth0
> has come up, so maybe that did the trick. I'll keep watching. :-)


Well, so far eth0 has come up every time since I changed the timeouts to 20
seconds. :-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


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


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com