Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux.ubuntu > #197538

Re: systemd was Re: nautilus not working/wireless not responding either

From Bit Twister <BitTwister@mouse-potato.com>
Newsgroups alt.os.linux.ubuntu
Subject Re: systemd was Re: nautilus not working/wireless not responding either
Date 2017-10-26 23:54 +0000
Organization A noiseless patient Spider
Message-ID <slrnov4td9.tf7.BitTwister@wb.home.test> (permalink)
References (13 earlier) <slrnou1is6.jir.BitTwister@wb.home.test> <6dednQH9XdaBSX3EnZ2dnUU7-W2dnZ2d@giganews.com> <f54h99Ffor4U1@mid.individual.net> <slrnouqc3d.jcr.BitTwister@wb.home.test> <f5c5g4F8u30U1@mid.individual.net>

Show all headers | View raw


On Wed, 25 Oct 2017 12:03:30 -0700, fred flintstone wrote:
> On 10/22/2017 04:57 PM, Bit Twister wrote:
>> On Sun, 22 Oct 2017 14:35:35 -0700, fred flintstone wrote:
>> 
>>> I'd like still to get this script to run any time the wireless fails,
>
> My scripts begin with a number followed by a period. Ben Bararisse 
> suggested it in comp.unix.programmer, but it's entirely possible that he 
> could have pranking me. I find that it saves on typing on the command 
> line to use lower numbers first, a tab key, and a period.
>
> cd /etc/dhcp/dhclient-exit-hooks.d/
>
> Does this archictecture change between our two systems?

Well, my header showed mine is different from yours.

> Mine seems to have an intermediary dhcp directory.

The only constant I have seen with Linux is change.  :)

location and contents can/will be different depending on release of the
application, and package used by the distribution.



>
> $ chmod +x 2.env.sh
> chmod: changing permissions of '2.env.sh': Operation not permitted
>
> If I had typed
>
> sudo -i
>
> before this, would this have been permitted?

Yes. when you are working in a directory you might want to check the
owner and group to get a feel of permissions and see who is the GID/UID

For example:
$ ls -al | head -4
total 20
drwxr-xr-x   2 root root  4096 Oct 25 03:09 .
drwxr-xr-x 142 root root 12288 Oct 26 05:29 ..
-rwxr-xr-x   1 root root  1291 Oct  4  2016 static-routes.sh

Here you can see everything is owned by UID=root and GID=root


> $ sudo chmod +x 2.env.sh
> $ ls -l
> total 16
> -rwxr-xr-x 1 root root    0 Oct 24 17:48 1.env.sh

I can highly recommend not leaving junk/scraped files in .d/ directories.

> -rwxr-xr-x 1 root root  891 Oct 25 10:59 2.env.sh
> lrwxrwxrwx 1 root root    8 May 25 05:37 debug -> ../debug
>
> Is there something in particular I should grep for?

What I am trying to do is get your script to run to allow it to decide
what needs to be done. I think you will not be able make those
decisions by looking in the journal.

So far all I have done is help you make your script do what you asked
for based on what you have provided and try to point you into the
direction I think you need to go.

Having failed to get you the information needed has proven a problem
so far.

I do not have the setup to actually figure out what is going wrong.

Your release does not match my ubuntu_15_04 VirtuaBox guest contents.

> lrwxrwxrwx 1 root root    8 May 25 05:37 debug -> ../debug

It looks like debug is going to do what I wanted dump_env to do for
you.

Look in that file and you might notice that you can change a ="no" to
a ="yes". bounce the network and look a the output file. If that works
then post the output.

If that works as designed we should make some progress in making your
script help you with your original quest in this thread.

Back to alt.os.linux.ubuntu | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-09-24 12:36 -0700
  Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-09-24 15:46 -0400
    Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-09-29 14:26 -0700
    Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-04 19:40 -0700
      Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-05 05:03 +0000
        Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-07 15:49 -0700
          Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-07 23:24 +0000
        Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-10 23:22 +0000
          Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-10 20:32 -0700
            Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-11 04:52 +0000
              Re: systemd was Re: nautilus not working/wireless not responding either Melzzzzz <Melzzzzz@zzzzz.com> - 2017-10-11 05:00 +0000
              Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-12 16:09 -0700
                Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-13 03:06 +0000
                Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 00:33 -0400
                Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-13 05:00 +0000
                Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 09:31 -0400
                Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 09:32 -0400
                Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-13 14:19 +0000
                Re: systemd was Re: nautilus not working/wireless not responding either Marek Novotny <marek.novotny@marspolar.com> - 2017-10-13 09:56 -0500
                Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-22 14:35 -0700
                Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-22 23:57 +0000
                Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-25 12:03 -0700
                Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-26 12:46 -0400
                Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-26 23:54 +0000
                Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-31 17:28 -0700
                Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-11-01 01:36 +0000
                Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-11-06 12:35 -0800
                [OT] Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-27 00:23 +0000
                Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-25 16:13 -0700
                Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 11:42 -0400
                Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 11:45 -0400
                Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-13 17:03 -0700
                Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 20:25 -0400
                Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-14 01:45 +0000
        Re: systemd was Re: nautilus not working/wireless not responding either Mike Easter <MikeE@ster.invalid> - 2017-10-10 16:34 -0700
          Re: systemd was Re: nautilus not working/wireless not responding either Mike Easter <MikeE@ster.invalid> - 2017-10-10 16:41 -0700
        Re: nautilus not working/wireless not responding either Mike Easter <MikeE@ster.invalid> - 2017-10-11 10:28 -0700
          [OT] Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-11 17:50 +0000

csiph-web