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


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

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

From fred flintstone <fred@server.invalid>
Newsgroups alt.os.linux.ubuntu
Subject Re: systemd was Re: nautilus not working/wireless not responding either
Date 2017-10-22 14:35 -0700
Message-ID <f54h99Ffor4U1@mid.individual.net> (permalink)
References (10 earlier) <orpfmu$gbu$1@dont-email.me> <slrnou0i41.8bc.BitTwister@wb.home.test> <orqf9g$34g$2@dont-email.me> <slrnou1is6.jir.BitTwister@wb.home.test> <6dednQH9XdaBSX3EnZ2dnUU7-W2dnZ2d@giganews.com>

Show all headers | View raw


On 10/13/2017 07:56 AM, Marek Novotny wrote:
> On 2017-10-13, Bit Twister <BitTwister@mouse-potato.com> wrote:
>> On Fri, 13 Oct 2017 09:32:29 -0400, Jonathan N. Little wrote:
>>> Bit Twister wrote:
>>>> On Fri, 13 Oct 2017 00:33:30 -0400, Jonathan N. Little wrote:
>>>>> Bit Twister wrote:
>>>>
>>>> $ journalctl --version | head -1
>>>> systemd 230
>>>
>>> $ apt-cache policy systemd
>>> systemd:
>>>     Installed: 229-4ubuntu19
>>
>> poettering released v235 Oct 6, 2017
> 
> 
> Distribution Info:
> ==============================================================
> 
>       Distribution: Fedora release 26 (Twenty Six)
>        Boot Loader: Grub Legacy
>       Grub Version: GRUB 2.02~beta3
>     Kernel Release: 4.13.5-200.fc26.x86_64
>       Taint Status: Not Tainted (0)
>    Systemd Version: systemd 233
> 

Alright, I was able to come far enough with this script to figure out 
how to proceed. There had been times when this script would fail on the 
wireless, and I would try to read the tea leaves of the output to figure 
out where the network had failed. 'ifaceinfo' and 'netinfo' are Marek 
Novotny's utilities, available on github:

$ cat 7.jctl.sh
#!/bin/bash
export PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
set -u   # Show usage of unset variables
now="$(date +"%r")"
echo "Current time : $now" >7.jctl.txt
echo greping fail >>7.jctl.txt
journalctl --since "20 minutes ago" | grep fail | head -5 >>7.jctl.txt
echo 'last 4 in tail' >>7.jctl.txt
journalctl | tail -5 >>7.jctl.txt
journalctl --version | head -1 >>7.jctl.txt
ifaceinfo >>7.jctl.txt
netinfo >>7.jctl.txt
exit
$ cat 7.jctl.txt
Current time : 07:48:28 PM
greping fail
last 4 in tail
Oct 17 19:47:39 bob-ThinkPad-SL510 dhclient[15581]: DHCPREQUEST of 
192.168.0.2 on wlp5s0 to 192.168.0.1 port 67 (xid=0x62d0bd48)
Oct 17 19:47:51 bob-ThinkPad-SL510 dhclient[15581]: DHCPREQUEST of 
192.168.0.2 on wlp5s0 to 192.168.0.1 port 67 (xid=0x62d0bd48)
Oct 17 19:48:06 bob-ThinkPad-SL510 dhclient[15581]: DHCPREQUEST of 
192.168.0.2 on wlp5s0 to 192.168.0.1 port 67 (xid=0x62d0bd48)
Oct 17 19:48:10 bob-ThinkPad-SL510 whoopsie[1187]: [19:48:10] Cannot 
reach: https://daisy.ubuntu.com
Oct 17 19:48:27 bob-ThinkPad-SL510 dhclient[15581]: DHCPREQUEST of 
192.168.0.2 on wlp5s0 to 192.168.0.1 port 67 (xid=0x62d0bd48)
systemd 229

Interface Info:
================================================================================

                     Device: wlp5s0
                      Brand: Intel Corporation PRO/Wireless 5100 AGN 
[Shiloh]
                           : Network Connection
              Kernel Driver: ifiwlwi
                       Type: Wireless LAN
                  Source IP: 192.168.0.2
                    Gateway: 192.168.0.1


Network Info:
================================================================================

                Internal IP: 192.168.0.2
                  Device ID: wlp5s0
                    Gateway: 192.168.0.1
                External IP: Not Detected
                        ISP: Not Detected
                    Country: Not Detected
                     Region: Not Detected
                       City: Not Detected
                   Hostname: bob-ThinkPad-SL510
                    Reverse: Not Detected
$

External IP not detected made me plug directly into the router with 
ethernet, where I also got nothing, while comcast's cable was proceeding 
without trouble. I factory-reset the router. For those who do not know, 
this will wipe out all the junk in the firewall, the IP addresses, and 
reset to the network name and password on the bottom of the device.

I used my 'create.sh' tool to obtain a cloned script but with 
incremented and therefore unique output: 
https://github.com/TBlazer66/perl/blob/master/create.sh . This passes 
the above tests:

$ cat 8.jctl.txt
...
Interface Info:
================================================================================

                     Device: wlp5s0
                      Brand: Intel Corporation PRO/Wireless 5100 AGN 
[Shiloh]
                           : Network Connection
              Kernel Driver: ifiwlwi
                       Type: Wireless LAN
                  Source IP: 192.168.0.3
                    Gateway: 192.168.0.1


Network Info:
================================================================================

                Internal IP: 192.168.0.3
                  Device ID: wlp5s0
                    Gateway: 192.168.0.1
                External IP: 76.105.207.102
                        ISP: AS7922 Comcast Cable Communications, LLC
                    Country: US
                     Region: Washington
                       City: Vancouver
                   Hostname: bob-ThinkPad-SL510
                    Reverse: c-76-105-207-102.hsd1.wa.comcast.net.
                     DNS IP: 8.8.8.8
                   DNS Name: google-public-dns-a.google.com.

Ping Test:
================================================================================

                192.168.0.3: pass
                192.168.0.1: pass
             76.105.207.102: pass
                    8.8.8.8: pass
                 redhat.com: pass
                 google.com: pass

$

I'd like still to get this script to run any time the wireless fails, 
but this is an excellent result in that it indicates a restored 
internet. Thanks all for comments.
-- 
fred

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