Re: Troubleshooting connection loss (continued)



On Thu, 15 Nov 2007 15:51:09 GMT, Allen Weiner wrote:
Bit Twister wrote:
On Thu, 15 Nov 2007 03:11:31 GMT, Allen Weiner wrote:
The "service network restart" hangs after eth0 is closed down.

Well, WE will not be working that problem, unless you take my
suggestions as to what config files are to look like.


I did change the hosts file.

And I know this, how?

And would you provide what you did.

My dhclient-eth0.leases has not changed in the past week. Lease expires
on 11/7. DHCP isn't being invoked.

Does not, matter, I was not troubleshooting dhclient-eth0.leases file change.
That information is one one aspect of your problem needing checking.
Glad you picked up on that tibit, Sorry you refused my suggestion on
what it is to contain.

Suppose either the leases file or the resolv.conf was causing the
problem. Should that cause "service network restart" to hang?

Told you, "WE will not be working that problem, unless you take my
suggestions as to what config files are to look like"


It's interesting

Dang, tip on how to follow a complex script gone to waste on the OP. :(

and discouraging to hear of your experience.

Sorry to hear that. It was not hard, just lots to things to look at,
man some_cmd_here to get a feel to what is cmd did. I gave me the
experience, to what to play with, when, and why, not to mention seeing
tricks and what you can do with bash scripting language.

It would be interesting to hear what troubleshooting technique you
use for this situation.

I have been giving you basic troubleshooting techniques and smart
question link to read, and for all my trouble, I was given was static
about what you believe, should not make a difference, and was not
going to change the file, go ahead and kill file me if you want.....

Instead of reading the whole document, this is the section I have in mind.
http://www.catb.org/~esr/faqs/smart-questions.html#symptoms
for the above paragraph.

Never tried it, but pretty sure trying to do a
strace /etc/init.d/network restart is not going to work. :)

Could you elaborate on why this won't work?

You have to use the proper tool for the job at hand.

Do not get me wrong, on the whole, I applaude how well you are doing
and what you have done.

I want you to keep in mind, I try to keep the lurkers in mind when I
post, and teach you how to fish. Not cut the pole, sping the line,
catch the fish, fry, cut it up and feed you.

I do try to keep in mind the poster's skill, and knowledge when making
my respones.

sevice is basically a wrapper script which runs what is found in /etc/init.d
If you were to look at the files in /etc/init.d, you would see that
they for the most part scripts.

Generally speaking, in my mind, you have program/scripts which do the work.
Scripts are what you can view with the cat command. Programs are
compiled into a binary form.

Easy way to tell, try less /bin/ls
less ~/.bashrc
See the difference.

Now instead of less, use strace and see what you can see.

Next time you go to ask about a command, you need to
Read The Fine Manual (RTFM), try the commmand to see what it does.

You never experiment when logged in as root, if possible.
You boot and play in a hot backup partition.

Always as a user, if possible. If afraid of hurting your account,
create a junk account. I do not recommend calling it test.
Log into junk and play around there. You can alwasy delete/create it again.

You would do a service network stop,
enable your tracing, then do the service network start.

Thanks very much for pointing that out.

That is a function of /etc/init.d/network, not service.

So, doing a bit of reading in /etc/init.d/network, you would find
stop, start, restart, reload, status were commands available for
service network cmd_here.

http://www.theregister.com/2007/10/22/zen_ar7_infineon_bt_fault/

Yep, saw that article on the site when they posted it.

.



Relevant Pages

  • Re: Most Prescribed Drug in U.S.: Antidepressants
    ... when they go to the doctor, as if they arent getting their money's ... is a school of thought that says one needs to treat the mind, ... feel they have been cheated if a script isnt written, ... CP related depression and regular Clinical Depression, ...
    (alt.support.chronic-pain)
  • Re: Most Prescribed Drug in U.S.: Antidepressants
    ... when they go to the doctor, as if they arent getting their money's ... is a school of thought that says one needs to treat the mind, ... feel they have been cheated if a script isnt written, ... to think a certain medication to work, ...
    (alt.support.chronic-pain)
  • Re: Ping: Nat and Cabbi
    ... Of course I want to work on the script with you!!! ... then you won't mind if I exercise my right to talk about you every ... >>>No Cabbi, I won't forgive that. ... The only reason he is here is to stalk Jite. ...
    (alt.support.chronic-pain)
  • Re: assign task field in VB.NET results in MAPI_E_NO_SUPPORT
    ... could be de difference between the execution of the sentence in a ... script and .net ... As long as you don't mind your code possibly randomly failing at some ... get the numeric property ID, then create the field by numeric ID. ...
    (microsoft.public.exchange.development)
  • Re: guessnet: controlling two interfaces
    ... > restart when I change my connection while runtime. ... You can create a init script which runs before the networking script. ... I tried Ubuntu and was not happy with it so I did not look any farther into config/init scripts. ... As for after boot changes, you can have your own script, say service network stop ...
    (alt.linux)