wifi dropped /on after CLI query,mintWifi.py file problem? [solved]

Hope you folks don’t mind me repeating this here, having a struggle to get an answer on the LM forums, seems quiet the last couple of days and I’d like to find out what’s causing this:

I was setting up SSH to network last night on the laptop, (done it before but the upstairs PC is new, so wasn’t set up on that one) and it seemed to go fine. Today wireless wouldn’t work, my wireless network kept coming up in network manager as a hotspot promting me to ‘turn it off to connect to a wireless network’, didn’t work, tried ‘forgetting’ the network, it wouldn’t. All the time it was telling me I was connected. . . … . looked at the top of the wireless forum, tried this - and it’s now connected??? What hapened please, I don’t know as yet if the connection will last but if there’s anything I need to do I’d like to know?

dave@dave-ThinkPad-T61 ~ $ sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
-------------------------
* I. scanning WIFI PCI devices...
  -- Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
      ==> PCI ID = 8086:4230 (rev 61)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"unsecured-wireless-network" 
          Mode:Managed  Frequency:2.462 GHz  Access Point: 20:E5:2A:FC:FD:C4   
          Bit Rate=1 Mb/s   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=50/70  Signal level=-60 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:1  Invalid misc:6   Missed beacon:0

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr 00:1e:37:90:cd:a8 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:20 Memory:fe200000-fe220000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2152 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2152 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:164648 (164.6 KB)  TX bytes:164648 (164.6 KB)

wlan0     Link encap:Ethernet  HWaddr 00:1d:e0:cc:67:ed 
          inet addr:10.42.0.1  Bcast:10.42.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21d:e0ff:fecc:67ed/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:621 errors:0 dropped:0 overruns:0 frame:0
          TX packets:356 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:174500 (174.5 KB)  TX bytes:70762 (70.7 KB)

-------------------------
* V. querying DHCP...
-------------------------
* VI. querying nslookup google.com...
Server:      194.168.4.100
Address:   194.168.4.100#53

Non-authoritative answer:
Name:   google.com
Address: 173.194.41.136
Name:   google.com
Address: 173.194.41.137
Name:   google.com
Address: 173.194.41.134
Name:   google.com
Address: 173.194.41.129
Name:   google.com
Address: 173.194.41.133
Name:   google.com
Address: 173.194.41.131
Name:   google.com
Address: 173.194.41.130
Name:   google.com
Address: 173.194.41.128
Name:   google.com
Address: 173.194.41.132
Name:   google.com
Address: 173.194.41.135
Name:   google.com
Address: 173.194.41.142

dave@dave-ThinkPad-T61 ~ $ 

Also adding in my mintWifi.py file contents in the hope someone can have a look and see the glaring omission that I can’t, this is from the laptop sitting there now in a - not connected - state, I assume if I run the command above again I will connect again but that’s not solving my problem or telling me why.

Thanks in advance…

#!/usr/bin/env python

# MintWifi
#   No Copyright (What for?) Clem <root@linuxmint.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; Version 2
# of the License.

try:
   import os
   import commands
   import sys
   import string
except Exception, detail:
   print detail
   pass

# checking the card type
print("-------------------------")
print("* I. scanning WIFI PCI devices...")
os.system("lspci | grep \"Network controller\" > /tmp/detected_wireless_devices")
devices_file = open("/tmp/detected_wireless_devices")
for device_item in devices_file.readlines():
   deviceArray = device_item.split()
   device = ' '.join(deviceArray[3:])
   pci_id_line = commands.getoutput("lspci -n | grep " + deviceArray[0])
   pci_id_array = pci_id_line.split()
   pci_id = ' '.join(pci_id_array[2:])   
   print "  -- " + device
   print "      ==> PCI ID = " + pci_id   
print("-------------------------")
print("* II. querying ndiswrapper...")
os.system("ndiswrapper -l")   
print("-------------------------")
print("* III. querying iwconfig...")
os.system("iwconfig")
print("-------------------------")
print("* IV. querying ifconfig...")
os.system("ifconfig")
print("-------------------------")
print("* V. querying DHCP...")
os.system("sudo dhclient")
print("-------------------------")
print("* VI. querying nslookup google.com...")
os.system("nslookup google.com")

Which command did you run to get it working ?

Hi mark, I’ve just been searching around and trying all sorts restarting the network manager and everything else I can find, the python file on my toshiba laptop appears to be identical to the T61 when I’ve checked, the only way to get it to connect is to apply the command

sudo /usr/lib/linuxmint/mintWifi/mintWifi.py

Trouble is it doesn’t keep after a restart, no idea why this has happened or whether it was just a coincidence I was networking it the other day but it all seemed fine at the time.

That’s just a diagnostic tool which prints output to commonly use diagnostic commands in one go … so quite how that’s bringing your network up is beyond me.

Can you reboot, then whilst wifi won’t connect, can you bung the output from these commands into a text file:

ping -c 5 173.194.34.128

and

ping -c 5 google.com

and

sudo lshw -C network

and

rfkill list

and

sudo iwlist scanning

and

ifconfig

and

iwconfig

then do whatever you need to do to reconnect, and post the output here.

Hello Mark,

my outputs as requested:

Just for the record, my networks name is "unsecured wireless network" ;) I have inserted some x's here and there to avoid broadcasting my info to the world :)

dave@dave-ThinkPad-T61 ~ $ ping -c 5 173.194.34.128
connect: Network is unreachable
dave@dave-ThinkPad-T61 ~ $ ping -c 5 google.com
ping: unknown host google.com
dave@dave-ThinkPad-T61 ~ $ sudo lshw -C network
[sudo] password for dave: 
  *-network               
       description: Ethernet interface
       product: 82566MM Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eth0
       version: 03
       serial: 00:1e:37:90:cd:a8
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k firmware=0.3-0 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:46 memory:fe200000-fe21ffff memory:fe225000-fe225fff ioport:1840(size=32)
  *-network
       description: Wireless interface
       product: PRO/Wireless 4965 AG or AGN [Kedron] Network Connection
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlan0
       version: 61
       serial: 00:1d:e0:cc:xxxx
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwl4965 driverversion=3.11.0-12-generic firmware=228.61.2.24 ip=xxxxxxxx latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
       resources: irq:47 memory:df2fe000-df2fffff
dave@dave-ThinkPad-T61 ~ $ rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: yes
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
dave@dave-ThinkPad-T61 ~ $ sudo iwlist scanning
eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 20:E5:2A:FC:FD:C4
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=25/70  Signal level=-85 dBm  
                    Encryption key:on
                    ESSID:"unsecured-wireless-network"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=00000908aa4dc06f
                    Extra: Last beacon: 12ms ago
                    IE: Unknown: 001A756E736563757265642D776972656C6573732D6E6574776F726B
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1AFC181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D160B001F00000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F0101
                    IE: Unknown: DD7E0050F204104A0001101044000102103B000103104700101E93643A6EB4989C81FFAC1C59D426F2102100074E657467656172102300074E6574676561721024000631323334353610420007303030303030311054000800060050F204000110110007564D4447343835100800022008103C0001011049000600372A000120
                    IE: Unknown: DD090010180203F02C0000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 02 - Address: 7C:4C:A5:4A:BB:59
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=54/70  Signal level=-56 dBm  
                    Encryption key:on
                    ESSID:"SKY6537D"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=00000240625206b7
                    Extra: Last beacon: 12ms ago
                    IE: Unknown: 0008534B593635333744
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1AEC181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1601080400000000000000000000000000000000000000
                    IE: Unknown: DD800050F204104A0001101044000102103B00010310470010EA81259BFCA83B883CD893F105E4AE981021000842726F6164636F6D1023000842726F6164636F6D1024000631323334353610420004313233341054000800060050F20400011011000A42726F6164636F6D415010080002200C103C0001011049000600372A000120
                    IE: Unknown: DD090010180207F02C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 03 - Address: C0:3F:0E:BF:3E:B1
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=27/70  Signal level=-83 dBm  
                    Encryption key:on
                    ESSID:"virginmedia3481569"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000003e08f1b83f
                    Extra: Last beacon: 12ms ago
                    IE: Unknown: 001276697267696E6D6564696133343831353639
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1A7E181BFFFF000001000000000000000000000000000000000000
                    IE: Unknown: 3D160B0F1600000000000000000000000000000000000000
                    IE: Unknown: DD710050F204104A0001101044000102103B000103104700104D73C5C27E6B5243D6440AAB1719670B102100074E657467656172102300074E6574676561721024000631323334353610420007303030303030311054000800060050F2040001101100094E6574676561724150100800020088
                    IE: Unknown: DD090010180203F0050000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C337E181BFFFF000001000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C340B0F1600000000000000000000000000000000000000

dave@dave-ThinkPad-T61 ~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:20 Memory:fe200000-fe220000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1072 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1072 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:83800 (83.8 KB)  TX bytes:83800 (83.8 KB)

wlan0     Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          inet addr:10.42.0.1  Bcast:10.42.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21d:e0ff:fecc:67ed/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:53 errors:0 dropped:0 overruns:0 frame:0
          TX packets:100 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:16746 (16.7 KB)  TX bytes:18475 (18.4 KB)

dave@dave-ThinkPad-T61 ~ $ iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"unsecured-wireless-network"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: xx:xx:xx:xx:xx:xx   
          Bit Rate=39 Mb/s   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=40/70  Signal level=-70 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:96   Missed beacon:0

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
at this point i still can't connect so I run 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


dave@dave-ThinkPad-T61 ~ $ sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
-------------------------
* I. scanning WIFI PCI devices...
  -- Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
      ==> PCI ID = 8086:4230 (rev 61)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"unsecured-wireless-network"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: xx:xx:xx:xx:xx:xx   
          Bit Rate=1 Mb/s   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=46/70  Signal level=-64 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:98   Missed beacon:0

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:20 Memory:fe200000-fe220000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1240 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1240 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:96672 (96.6 KB)  TX bytes:96672 (96.6 KB)

wlan0     Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          inet addr:xx:xx:xx:xx:xx:xx  Bcast:xx.xx.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21d:e0ff:fecc:67ed/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:101 errors:0 dropped:0 overruns:0 frame:0
          TX packets:104 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:32705 (32.7 KB)  TX bytes:19296 (19.2 KB)

-------------------------
* V. querying DHCP...
-------------------------
* VI. querying nslookup google.com...
Server:		194.168.4.100
Address:	194.168.4.100#53

Non-authoritative answer:
Name:	google.com
Address: 173.194.41.129
Name:	google.com
Address: 173.194.41.142
Name:	google.com
Address: 173.194.41.133
Name:	google.com
Address: 173.194.41.135
Name:	google.com
Address: 173.194.41.128
Name:	google.com
Address: 173.194.41.131
Name:	google.com
Address: 173.194.41.132
Name:	google.com
Address: 173.194.41.136
Name:	google.com
Address: 173.194.41.137
Name:	google.com
Address: 173.194.41.130
Name:	google.com
Address: 173.194.41.134

dave@dave-ThinkPad-T61 ~ $ 

Can you do that without removing the network addresses … there’s nothing in the output that would be of any use to anyone.

Force of habit, always see people recommending others not to post IP addresses etc . . . . .

dave@dave-ThinkPad-T61 ~ $ ping -c 5 173.194.34.128
connect: Network is unreachable
dave@dave-ThinkPad-T61 ~ $ ping -c 5 google.com
ping: unknown host google.com
dave@dave-ThinkPad-T61 ~ $ sudo lshw -C network
[sudo] password for dave: 
  *-network               
       description: Ethernet interface
       product: 82566MM Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eth0
       version: 03
       serial: 00:1e:37:90:cd:a8
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k firmware=0.3-0 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:46 memory:fe200000-fe21ffff memory:fe225000-fe225fff ioport:1840(size=32)
  *-network
       description: Wireless interface
       product: PRO/Wireless 4965 AG or AGN [Kedron] Network Connection
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlan0
       version: 61
       serial: 00:1d:e0:cc:67:ed
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwl4965 driverversion=3.11.0-12-generic firmware=228.61.2.24 ip=10.42.0.1 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
       resources: irq:48 memory:df2fe000-df2fffff
dave@dave-ThinkPad-T61 ~ $ rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: yes
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
dave@dave-ThinkPad-T61 ~ $ sudo iwlist scanning
eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 20:E5:2A:FC:FD:C4
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=44/70  Signal level=-66 dBm  
                    Encryption key:on
                    ESSID:"unsecured-wireless-network"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000090b9923ee42
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 001A756E736563757265642D776972656C6573732D6E6574776F726B
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1AFC181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D160B001F00000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F0101
                    IE: Unknown: DD7E0050F204104A0001101044000102103B000103104700101E93643A6EB4989C81FFAC1C59D426F2102100074E657467656172102300074E6574676561721024000631323334353610420007303030303030311054000800060050F204000110110007564D4447343835100800022008103C0001011049000600372A000120
                    IE: Unknown: DD090010180203F02C0000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 02 - Address: 7C:4C:A5:4A:BB:59
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=61/70  Signal level=-49 dBm  
                    Encryption key:on
                    ESSID:"SKY6537D"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000002435124dfe9
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 0008534B593635333744
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1AEC181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1601080400000000000000000000000000000000000000
                    IE: Unknown: DD800050F204104A0001101044000102103B00010310470010EA81259BFCA83B883CD893F105E4AE981021000842726F6164636F6D1023000842726F6164636F6D1024000631323334353610420004313233341054000800060050F20400011011000A42726F6164636F6D415010080002200C103C0001011049000600372A000120
                    IE: Unknown: DD090010180205F02C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 03 - Address: 7C:4C:A5:85:C3:41
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=26/70  Signal level=-84 dBm  
                    Encryption key:on
                    ESSID:"Huntingdale"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000011c2ffc0ba9
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 000B48756E74696E6764616C65
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1AEC181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1601080400000000000000000000000000000000000000
                    IE: Unknown: DD800050F204104A0001101044000102103B00010310470010F7D009E6E41FBD2DFC66CFD788D405BA1021000842726F6164636F6D1023000842726F6164636F6D1024000631323334353610420004313233341054000800060050F20400011011000A42726F6164636F6D415010080002200C103C0001011049000600372A000120
                    IE: Unknown: DD090010180202F02C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 04 - Address: C0:3F:0E:BF:3E:B1
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=32/70  Signal level=-78 dBm  
                    Encryption key:on
                    ESSID:"virginmedia3481569"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=00000040f7c748b2
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 001276697267696E6D6564696133343831353639
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1A7E181BFFFF000001000000000000000000000000000000000000
                    IE: Unknown: 3D160B0F1600000000000000000000000000000000000000
                    IE: Unknown: DD710050F204104A0001101044000102103B000103104700104D73C5C27E6B5243D6440AAB1719670B102100074E657467656172102300074E6574676561721024000631323334353610420007303030303030311054000800060050F2040001101100094E6574676561724150100800020088
                    IE: Unknown: DD090010180203F0050000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C337E181BFFFF000001000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C340B0F1600000000000000000000000000000000000000

dave@dave-ThinkPad-T61 ~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1e:37:90:cd:a8  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:20 Memory:fe200000-fe220000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:932 errors:0 dropped:0 overruns:0 frame:0
          TX packets:932 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:73808 (73.8 KB)  TX bytes:73808 (73.8 KB)

wlan0     Link encap:Ethernet  HWaddr 00:1d:e0:cc:67:ed  
          inet addr:10.42.0.1  Bcast:10.42.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21d:e0ff:fecc:67ed/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:33 errors:0 dropped:0 overruns:0 frame:0
          TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:10236 (10.2 KB)  TX bytes:17965 (17.9 KB)

dave@dave-ThinkPad-T61 ~ $ iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"unsecured-wireless-network"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 20:E5:2A:FC:FD:C4   
          Bit Rate=1 Mb/s   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=37/70  Signal level=-73 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:86   Missed beacon:0

dave@dave-ThinkPad-T61 ~ $ sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
-------------------------
* I. scanning WIFI PCI devices...
  -- Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
      ==> PCI ID = 8086:4230 (rev 61)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"unsecured-wireless-network"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 20:E5:2A:FC:FD:C4   
          Bit Rate=1 Mb/s   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=36/70  Signal level=-74 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:86   Missed beacon:0

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr 00:1e:37:90:cd:a8  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:20 Memory:fe200000-fe220000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:932 errors:0 dropped:0 overruns:0 frame:0
          TX packets:932 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:73808 (73.8 KB)  TX bytes:73808 (73.8 KB)

wlan0     Link encap:Ethernet  HWaddr 00:1d:e0:cc:67:ed  
          inet addr:10.42.0.1  Bcast:10.42.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21d:e0ff:fecc:67ed/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:43 errors:0 dropped:0 overruns:0 frame:0
          TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:12059 (12.0 KB)  TX bytes:17965 (17.9 KB)

-------------------------
* V. querying DHCP...
-------------------------
* VI. querying nslookup google.com...
Server:		194.168.4.100
Address:	194.168.4.100#53

Non-authoritative answer:
Name:	google.com
Address: 173.194.41.132
Name:	google.com
Address: 173.194.41.136
Name:	google.com
Address: 173.194.41.129
Name:	google.com
Address: 173.194.41.128
Name:	google.com
Address: 173.194.41.131
Name:	google.com
Address: 173.194.41.130
Name:	google.com
Address: 173.194.41.133
Name:	google.com
Address: 173.194.41.135
Name:	google.com
Address: 173.194.41.142
Name:	google.com
Address: 173.194.41.134
Name:	google.com
Address: 173.194.41.137

dave@dave-ThinkPad-T61 ~ $ 

Can you do whatever you need to do to have an active connection, then post the output from:

ifconfig

and

iwconfig

So we can compare the working output with the non working output.


Also, whilst the connection is broken, are you able to ping the routers IP address
ping -c 5

example
ping -c 5 192.168.0.1

Here’s the output:

working: 

dave@dave-ThinkPad-T61 ~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1e:37:90:cd:a8  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:20 Memory:fe200000-fe220000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1537 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1537 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:104088 (104.0 KB)  TX bytes:104088 (104.0 KB)

wlan0     Link encap:Ethernet  HWaddr 00:1d:e0:cc:67:ed  
          inet addr:10.42.0.1  Bcast:10.42.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21d:e0ff:fecc:67ed/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9762 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8792 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6779341 (6.7 MB)  TX bytes:1574716 (1.5 MB)

dave@dave-ThinkPad-T61 ~ $ 

dave@dave-ThinkPad-T61 ~ $ ping -c 5 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=3.41 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=12.3 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=2.25 ms

--- 192.168.0.1 ping statistics ---
5 packets transmitted, 3 received, 40% packet loss, time 4004ms
rtt min/avg/max/mdev = 2.259/6.005/12.343/4.506 ms
dave@dave-ThinkPad-T61 ~ $ 

.>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Not working: 

dave@dave-ThinkPad-T61 ~ $ iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"unsecured-wireless-network"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 20:E5:2A:FC:FD:C4   
          Bit Rate=26 Mb/s   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=37/70  Signal level=-73 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:84   Missed beacon:0

dave@dave-ThinkPad-T61 ~ $ 



dave@dave-ThinkPad-T61 ~ $ ping -c 5 192.168.0.1
connect: Network is unreachable
dave@dave-ThinkPad-T61 ~ $ 

Thank you

Dave

Packet loss whilst pinging the router is very worrying - are you a long way from it?

What is your routers IP address ?

You seem to have 2 access points on the same channel (11) with similar signal strengths:

Cell 01 - Address: 20:E5:2A:FC:FD:C4 Channel:[b]11[/b] Frequency:2.462 GHz (Channel 11) Quality=25/70 Signal level=-85 dBm Encryption key:on ESSID:"unsecured-wireless-network"
and
Cell 04 - Address: C0:3F:0E:BF:3E:B1 Channel:[b]11[/b] Frequency:2.462 GHz (Channel 11) Quality=32/70 Signal level=-78 dBm Encryption key:on ESSID:"virginmedia3481569"

Try changing yours to a different channell and try again.

The laptop’s in the front room of the house, the router’s at the back of the house upstairs, it’s not exactly a sprawling mansion, just a semi detached :wink:
there’s maybe 30/40 feet distance in a straight line, but a couple of walls ceilings to bear in mind… it’s always been about 50-odd % reading on network manager, my toshiba laptops always about 50–60%, if I move into the kitchen below the router, signal gets better(nearer), as it would, never looked for packet loss before so I don’t know if it was always there or not. . . . router address is bog standard 192.168.0.1

I’ve changed the channel to No6, it still didn’t connect when I took the laptop down and booted up…

I don’t know if this will help but thought it might be an idea to include it FWIW…

This is what I can see when connected, it’s gone from being a normal connection to hotspot,

http://i.imgur.com/BGNrZHk.png?1

It then changes to wireless, and shows i’m connected, only I’m not !

http://i.imgur.com/vk3Rlm8.png?1

If I click on the black arrow to get to the other setings, it then tells me wireless is out of range and I can’t get any joy clicking ‘settings’ at the bottom as it does not respond, I can click and the button depresses as normal, but nothing happens. . . . .

http://i.imgur.com/EN5VOfh.png?1

Hope this helps…

OK, for some strange reason your wireless IP address is being set to

10.42.0.1

Which is clearly wrong

Have you given the wireless connection a static IP address for some reason … or is it getting its IP via the routers DHCP server ?

Have you tried simply restarting thee router (unplug, wait 10 seconds and replug) ?

Hello Mark, I haven’t tried a reset on the router yet, I’ll do that shortly - I did think it odd myself about my IP and the only thing I attempted recently was installing ssh and connecting/browsing my home network - I had it successfully set up on my LM15 laptop/LM13 desktop, then reinstalled 16 on the laptop, bought a new desktop and put LM16 on that too and only did exactly the same, i.e install ssh on both, the one and only thing I noticed was the different IP it was coming up with but I didn’t see that as something that could have affected my connectivity . . . . . . I’ll report back after a couple of minutes restart of the router . . . . .

Full restart but still no cigar . . . . . ??? I even went through both machines making sure they only had the openssh-server installed as I’d mistakenly installed some other packages a bit back so to count them out for interfering I’ve got rid so both machines are the same. My IP has changed though . . . . . some joy at least, it now reads 86.5.159.114

That IP address on your router is the public one (WAN)
What you need to find out is the private address off the router (LAN)
This could be in the range:
10.0.0.0 through 10.255.255.255
192.168.0.0 through 192.168.255.255

Are you using Virgin NotSo-Superhub by any chance?

Is your wireless network connection set to -

Method: Automatic (DHCP)

for IPv4

and

Method: Ignore

for IPv6

?

Hi again, yes it’s a virgin superhub, logging into it tells me this much:

LAN IP Address 192.168.0.1
WAN IP Address 86.5.xxx.xxx

And the problem now, which is why i posted those screen cap’s, was to illustrate that I can’t get to the settings now as my network manager’s telling me I’m a hotspot on the laptop, so I have to turn that off to enable wireless, when I do that, it them says wireless out of range, even 4 feet away, and the ‘settings’ button to get into the IP4V/6 settings doesn’t let me in any more . . . . . .

I’m getting the feeling I need to reinstall network manager?? Is this worth a shot, as I’ve mentioned prior to this, I have networked, I’ve took the laptop out and used my mobile as a hotspot through it, but to the best of my knowledge I didn’t ‘break’ anything 'cos it’s all worked . . . . . up to now . . . . .

Edit: FWIW- don’t know if this helps but on my toshiba laptop running mint 16 MATE IPv4 is automatic DHCP and automatic on IPv6