I can't access wifi since upgrading to Ubuntu 16.04 and have accidentally deleted network manager and now can't reinstall it

Asked by Colin Ball

Since I upgraded to Ubuntu 16.04, the Internet connection through wifi has been crashing. In order to try to fix this, I searched for suggestions and one was to purge network manager and reinstall. I managed to purge network manager, but can't reinstall. I have tried various ideas from forum, using terminal, but none work. I have followed some instructions and managed to get my wifi essid associated and access an Internet connection, but still won't access Firefox or any other web page. Also, ping not successful to google.com. Any suggestions, please? Nothing complicated, please, as pretty much a novice with Ubuntu. Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Do you have the possibility to (temporarily) connect your system to a wired internet?

What is the output of the commands

uname -a
lsb_release -crid
sudo lshw -C network

Revision history for this message
Colin Ball (colinb1950) said :
#2

Thanks for the prompt reply, Manfred. Very difficult to connect to wired Internet, as router is downstairs at the front of the house and computer upstairs at the back!

Away for a few days now, but will get back to you with answers to outputs question, when I get back on Thursday.

Cheers. Colin.

Sent from my iPad

> On 29 Aug 2016, at 15:08, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Do you have the possibility to (temporarily) connect your system to a
> wired internet?
>
> What is the output of the commands
>
> uname -a
> lsb_release -crid
> sudo lshw -C network
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#3

Hi, Manfred.

Here are the outputs from the three commands:

uname -a:

Linux colin-pc 4.4.0-34-generic #53 - Ubuntu SMP Wed Jul 27 16:06:28 UTC 2016 i686 i686 i686 GNU/Linux

lsb_release -crid:

Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

sudo lshw -C network:

* -network DISABLED
description: Ethernet interface
product: 82573E Gigabit Ethernet Controller (Copper)
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: etho0
version: 03
serial: 00:16:ec:a2:f5:dd
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=1.0-7 latency=0 link=no multicast=yes port=twisted pair
resources: irq:26 memory:fdbc0000-fdbdffff memory: fdb00000-fdb7ffff ioport: ef00(size=32)

* -network DISABLED
description: Wireless interface
product: RT2561/RT61 802.11g PCI
vendor: Ralink corp.
physical id: 2
bus info: pci@0000:03:02.0
logical name: wlan0
version: 00
serial: 00:13:d3:7b:c1:86
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt61pci driverversion=4.4.0-34-generic firmware:N/A latency=32 link=no multicast=yes wireless=IEEE 802.11bg
resources: irq:19 memory:fcff0000-fcff7ffff

Hope this helps and that you can assist me to get back online. I tried earlier to bring router upstairs, but LAN link cable way too short. Also, DSL link from BT line to white BT Openreach box even shorter - and no way to lengthen that! Only thing that I can think of is to get hold of an extra long LAN link cable from BT White Openreach box to router and then from there another LAN link cable to computer. Do you think that would work, please?

I do hope you can help me.

Cheers. Colin.

Sent from my iPad

> On 29 Aug 2016, at 15:08, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Do you have the possibility to (temporarily) connect your system to a
> wired internet?
>
> What is the output of the commands
>
> uname -a
> lsb_release -crid
> sudo lshw -C network
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

What do you get for the following commands:

sudo ifconfig wlan0 up
sudo ifconfig eth0 up
sudo lshw -C network

Revision history for this message
Colin Ball (colinb1950) said :
#5

Nothing for first two commands, but now, on third command, same information in my reply above, but now both etho0 and wlan0 no longer show DISABLED.

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

Does network already work, what output do you get for

ping 8.8.8.8

Revision history for this message
Colin Ball (colinb1950) said :
#7

Network is unreachable

Revision history for this message
Colin Ball (colinb1950) said :
#8

I used sudo iwconfig and dhclient instructions from another post and tried ping 8.8.8.8 and output is now:

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data
From 169.254.9.205 icmp_seq1= Destination Host Unreachable
Then, same information as above for now over 345 sequences!

Revision history for this message
Colin Ball (colinb1950) said :
#9

Now over 870 sequences! Should I close terminal to stop the sequences, please?

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

Sorry, I did not tell: ping runs forever, until it is interrupted by ctrl-c.
But it does not do any harm.

Revision history for this message
Colin Ball (colinb1950) said :
#11

No worries. Now stopped sequences. Any ideas, please, now on how I might connect to wifi from terminal?

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

Back to your original question, you wrote "have accidentally deleted network manager". What exactly have you done?
Did you uninstall the network-manager package, or is just the icon in the top right corner missing?

If just the icon is missing, you should be able to get it by starting "nm-applet" or eventually "dbus-launch nm-applet" in a terminal window.
A right click on the top panel should also allow re-adding "Manage Networks" from "Panel Applets".

And finally there is a nmcli program that should allow connecting to WLAN networks using thethe command line only.

Revision history for this message
Colin Ball (colinb1950) said :
#13

I deleted the network manager programme and purged it, as suggested in one of the posts on the Ububtu Forum, but then it won't install now, when I use sudo apt-get install network-manager-gnome. I don't have time just now to try what you suggest and will do that later on today.

However, can you suggest how to connect to WLAN network through command line, please, in case your other suggestions don't work?

Cheers. Colin.

Sent from my iPad

> On 2 Sep 2016, at 09:22, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Back to your original question, you wrote "have accidentally deleted network manager". What exactly have you done?
> Did you uninstall the network-manager package, or is just the icon in the top right corner missing?
>
> If just the icon is missing, you should be able to get it by starting "nm-applet" or eventually "dbus-launch nm-applet" in a terminal window.
> A right click on the top panel should also allow re-adding "Manage Networks" from "Panel Applets".
>
> And finally there is a nmcli program that should allow connecting to
> WLAN networks using thethe command line only.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=11
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#14

Hi, Manfred. I have tried the suggestions that you made in your last post.

The outputs that I get are, for the first one, "nm-applet", after a few other commands, suggested in the terminal (sudo apt install network-manager-gnome) is Package network-manager-gnome is missing, has been obliterated or is only available from another source and for the second one, "dbus-launch nm-applet", is Package "network-manager-gnome" has no installation candidate and Couldn't exec nam-applet: no such file or directory.

I do hope that you can suggest something else to try now that will get my wifi working again, please.

Cheers. Colin.

Sent from my iPad

> On 2 Sep 2016, at 09:22, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Back to your original question, you wrote "have accidentally deleted network manager". What exactly have you done?
> Did you uninstall the network-manager package, or is just the icon in the top right corner missing?
>
> If just the icon is missing, you should be able to get it by starting "nm-applet" or eventually "dbus-launch nm-applet" in a terminal window.
> A right click on the top panel should also allow re-adding "Manage Networks" from "Panel Applets".
>
> And finally there is a nmcli program that should allow connecting to
> WLAN networks using thethe command line only.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=11
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#15

Which package did you deinstall, network-manager-gnome or network-manager?

What is the output of the command

apt-cache policy network-manager network-manager-gnome

A possible solution should be to download the package file to an USB stick, transfer it to your broken system and install it manually.

Revision history for this message
Colin Ball (colinb1950) said :
#16

It seems to be both, Manfred, as neither seems to be accessible, when I use sudo apt-install network-manager and also network-manager-gnome! I will try your suggested command and let you know output soon.

Cheers. Colin.

Sent from my iPad

> On 3 Sep 2016, at 17:37, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Which package did you deinstall, network-manager-gnome or network-
> manager?
>
> What is the output of the command
>
> apt-cache policy network-manager network-manager-gnome
>
> A possible solution should be to download the package file to an USB
> stick, transfer it to your broken system and install it manually.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#17

Output to the commands that you suggested are:

network-manager:
Installed: (none)
Candidate: (none)
Version table:
network-manager-gnome:
Installed: (none)
Candidate: (none)
Version table:

So, certainly looks as if both deleted! Could I download to USB stick on a Windows computer, do you know, please? If so, can you, please, let me know how to do it?

Alternatively, what about me getting hold of an extra long LAN cable to bring router nearer to my computer and then use another LAN cable from router to my computer?

Which option do you think is easier/safer, please?

Cheers. Colin.

Sent from my iPad

> On 3 Sep 2016, at 17:37, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Which package did you deinstall, network-manager-gnome or network-
> manager?
>
> What is the output of the command
>
> apt-cache policy network-manager network-manager-gnome
>
> A possible solution should be to download the package file to an USB
> stick, transfer it to your broken system and install it manually.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#18

Not only networking, but also your package management system seems to be currently in a broken state.
There is not even a candidate version number shown (should probably be 1.2.0-0ubuntu0.16.04.3).
I do not know what you did to your system to reach this status.

Yes, it is possible to download the Ubuntu .deb packages on any operating system including Windows. The only problem is that I currently do not get the information which package you need.

Revision history for this message
Colin Ball (colinb1950) said :
#19

What if I can connect my router with LAN cable directly to computer? Would that work, please?

-----Original Message-----
From: "Manfred Hampl" <email address hidden>
Sent: ‎03/‎09/‎2016 21:32
To: "<email address hidden>" <email address hidden>
Subject: Re: [Question #370118]: I can't access wifi since upgrading to Ubuntu16.04 and have accidentally deleted network manager and now can't reinstallit

Your question #370118 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/370118

    Status: Open => Answered

Manfred Hampl proposed the following answer:
Not only networking, but also your package management system seems to be currently in a broken state.
There is not even a candidate version number shown (should probably be 1.2.0-0ubuntu0.16.04.3).
I do not know what you did to your system to reach this status.

Yes, it is possible to download the Ubuntu .deb packages on any
operating system including Windows. The only problem is that I currently
do not get the information which package you need.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=17

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/370118

You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#20

I cannot predict whether connecting the PC with a LAN cable to the router will immediately provide a working network connection. You have deleted some network programs, and I do not know if everything is still there what is needed for a cable connection.

Revision history for this message
Colin Ball (colinb1950) said :
#21

OK, thanks, Manfred. I will probably try your other idea first about using the memory stick to download the appropriate software, if possible, from my son's Windows computer, then transfer it onto mine. If you can, please, let me know what the software package should be from Ubuntu and how to install that manually onto my computer, that would be really helpful.

Cheers. Colin.

Sent from my iPad

> On 4 Sep 2016, at 16:22, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> I cannot predict whether connecting the PC with a LAN cable to the
> router will immediately provide a working network connection. You have
> deleted some network programs, and I do not know if everything is still
> there what is needed for a cable connection.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=19
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#22

Also, please, what size of memory stick do you think I will need?

Cheers. Colin.

Sent from my iPad

> On 4 Sep 2016, at 16:22, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> I cannot predict whether connecting the PC with a LAN cable to the
> router will immediately provide a working network connection. You have
> deleted some network programs, and I do not know if everything is still
> there what is needed for a cable connection.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=19
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#23

.deb packages usually are quite small, and for transferring them to the broken system you do not need anything special. Whatever USB stick you have will be fine. (If you want to use the USB stick also for other purposes later, then you should base you sizing decision on that. For the transfer of the packages anything with 1 GB or larger is sufficient.)

Revision history for this message
Colin Ball (colinb1950) said :
#24

Great, thanks, Manfred. Can you suggest, please, what .deb package(s) I will need to download?

Revision history for this message
Manfred Hampl (m-hampl) said :
#25

The command "apt-cache policy network-manager network-manager-gnome" should have listed the details of the packages to install manually, but - for whatever reason - that command did show only empty output. So I cannot guarantee for anything and you do everything on your own risk.

I recommend to try with the following two packages:
https://launchpad.net/ubuntu/+archive/primary/+files/network-manager_1.2.0-0ubuntu0.16.04.3_i386.deb
https://launchpad.net/ubuntu/+archive/primary/+files/network-manager-gnome_1.2.0-0ubuntu0.16.04.3_i386.deb

Download then to the USB stick
plug the USB stick into the broken computer
open the file explorer program and click on the icon for the USB stick
copy the files to your desktop and finally issue the command

sudo dpkg -i Desktop/network-manager-gnome_1.2.0-0ubuntu0.16.04.3_i386.deb Desktop/network-manager_1.2.0-0ubuntu0.16.04.3_i386.deb

Revision history for this message
Colin Ball (colinb1950) said :
#26

O.K., Manfred, thanks. Will think about this overnight and probably take the risk on it tomorrow.

Cheers. Colin.

Sent from my iPad

> On 5 Sep 2016, at 14:43, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> The command "apt-cache policy network-manager network-manager-gnome"
> should have listed the details of the packages to install manually, but
> - for whatever reason - that command did show only empty output. So I
> cannot guarantee for anything and you do everything on your own risk.
>
> I recommend to try with the following two packages:
> https://launchpad.net/ubuntu/+archive/primary/+files/network-manager_1.2.0-0ubuntu0.16.04.3_i386.deb
> https://launchpad.net/ubuntu/+archive/primary/+files/network-manager-gnome_1.2.0-0ubuntu0.16.04.3_i386.deb
>
> Download then to the USB stick
> plug the USB stick into the broken computer
> open the file explorer program and click on the icon for the USB stick
> copy the files to your desktop and finally issue the command
>
> sudo dpkg -i Desktop/network-manager-
> gnome_1.2.0-0ubuntu0.16.04.3_i386.deb Desktop/network-
> manager_1.2.0-0ubuntu0.16.04.3_i386.deb
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=24
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#27

I have tried this, Manfred, and get the following output, after the computer starts unpacking the package:

dpkg: error processing archive Desktop/network-manager_1.2.0-0ubuntu0.16.04.3_i386.deb (--install):
cannot access archive: No such file or directory
dpkg: dependency problems prevent configuration of network-manager-gnome:
network-manager-gnome depends on network-manager (>= 1.1); however:
Package network-manager is not installed.

dpkg: error processing package network-manager-gnome (--install):
dependency problems - leaving unconfigured
Processing triggers for man-dub (2.7.5-1 ...
Processing triggers for gconf2 (3.2.6-3ubuntu6) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for bamfdeamon (0.5.3~bzr0+16.04.20160701-0ubuntu1) ...
Rebuilding/usr/share/applications/bamf-2.index...
Processing triggers for libglib2.0-0:i386 (2.48.1~ubuntu16.04.01) ...
Errors were encountered while processing:
Desktop/network-manager_1.2.0-0ubuntu0.16.04.3_i386.deb network-manager-gnome

Any suggestions as to what I might try now, please? You did say in an earlier email that there was a Command Line method for connecting to wifi. Do you think that might work, please? If so, can you tell me the commands to use?

Otherwise, I may well have to take the computer to specialist repair company to sort it, I think.

Cheers. Colin.

Sent from my iPad

> On 5 Sep 2016, at 14:43, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> The command "apt-cache policy network-manager network-manager-gnome"
> should have listed the details of the packages to install manually, but
> - for whatever reason - that command did show only empty output. So I
> cannot guarantee for anything and you do everything on your own risk.
>
> I recommend to try with the following two packages:
> https://launchpad.net/ubuntu/+archive/primary/+files/network-manager_1.2.0-0ubuntu0.16.04.3_i386.deb
> https://launchpad.net/ubuntu/+archive/primary/+files/network-manager-gnome_1.2.0-0ubuntu0.16.04.3_i386.deb
>
> Download then to the USB stick
> plug the USB stick into the broken computer
> open the file explorer program and click on the icon for the USB stick
> copy the files to your desktop and finally issue the command
>
> sudo dpkg -i Desktop/network-manager-
> gnome_1.2.0-0ubuntu0.16.04.3_i386.deb Desktop/network-
> manager_1.2.0-0ubuntu0.16.04.3_i386.deb
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=24
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#28

Also, Manfred. I'm have just noticed there is now stop sign where the network manager icon is usually. When I click on it, I get the message:

An error occurred, please run Package Manager from the right-click menu or apt-get in a terminal to see what is wrong. The error message was 'Error: BrokenCount >0'. This usually means that your installed packages have unmet dependencies.

Does this help you suggest a solution at all, please?

Cheers. Colin.

Sent from my iPad

> On 5 Sep 2016, at 14:43, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> The command "apt-cache policy network-manager network-manager-gnome"
> should have listed the details of the packages to install manually, but
> - for whatever reason - that command did show only empty output. So I
> cannot guarantee for anything and you do everything on your own risk.
>
> I recommend to try with the following two packages:
> https://launchpad.net/ubuntu/+archive/primary/+files/network-manager_1.2.0-0ubuntu0.16.04.3_i386.deb
> https://launchpad.net/ubuntu/+archive/primary/+files/network-manager-gnome_1.2.0-0ubuntu0.16.04.3_i386.deb
>
> Download then to the USB stick
> plug the USB stick into the broken computer
> open the file explorer program and click on the icon for the USB stick
> copy the files to your desktop and finally issue the command
>
> sudo dpkg -i Desktop/network-manager-
> gnome_1.2.0-0ubuntu0.16.04.3_i386.deb Desktop/network-
> manager_1.2.0-0ubuntu0.16.04.3_i386.deb
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=24
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#29

The error message is

"dpkg: error processing archive Desktop/network-manager_1.2.0-0ubuntu0.16.04.3_i386.deb (--install):
 cannot access archive: No such file or directory"

Apparently you have mistyped the name of one of the .deb files or have put it into the wrong directory.

Do you have both files on the USB stick?
Have you copied both to your Desktop directory?

Try again.

Revision history for this message
Colin Ball (colinb1950) said :
#30

I will check, Manfred, but pretty sure that I have both files on memory stick and on desktop. I will try again later and get back to you.

Cheers. Colin.

Sent from my iPad

> On 13 Sep 2016, at 13:37, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> The error message is
>
> "dpkg: error processing archive Desktop/network-manager_1.2.0-0ubuntu0.16.04.3_i386.deb (--install):
> cannot access archive: No such file or directory"
>
> Apparently you have mistyped the name of one of the .deb files or have
> put it into the wrong directory.
>
> Do you have both files on the USB stick?
> Have you copied both to your Desktop directory?
>
> Try again.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=28
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#31

I've double checked that both files are on the system, Manfred, and checked again that I have typed commands correctly. I get same output as before with this. However, I now have ❗️showing is a triangle where the network manager icon is usually on the top bar. When I click on it, the message is "The update information is outdated. This may be caused by network problems or by a repository that is no longer available. Please update manually by selecting 'Show updates' from the indicator menu and watching for any failing repositories.'

I tried to do this, but all that happens is that Software Updater appears and asks me to update and then it fails, as I have no wifi connection.

Any more suggestions, please?

Cheers. Colin.

Sent from my iPad

> On 13 Sep 2016, at 13:37, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> The error message is
>
> "dpkg: error processing archive Desktop/network-manager_1.2.0-0ubuntu0.16.04.3_i386.deb (--install):
> cannot access archive: No such file or directory"
>
> Apparently you have mistyped the name of one of the .deb files or have
> put it into the wrong directory.
>
> Do you have both files on the USB stick?
> Have you copied both to your Desktop directory?
>
> Try again.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=28
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#32

Also, Manfred, I have noticed that the network-manager file has the number 2 in brackets (2) between i386 and .deb. Could this be the problems, perhaps, and his w do I correct that, please?

Cheers. Colin.

Sent from my iPad

> On 13 Sep 2016, at 13:37, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> The error message is
>
> "dpkg: error processing archive Desktop/network-manager_1.2.0-0ubuntu0.16.04.3_i386.deb (--install):
> cannot access archive: No such file or directory"
>
> Apparently you have mistyped the name of one of the .deb files or have
> put it into the wrong directory.
>
> Do you have both files on the USB stick?
> Have you copied both to your Desktop directory?
>
> Try again.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=28
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#33

If the file has got a different name, then this explains the "file not found" error message.

Can you delete all network-manager*.deb files from the Ubuntu Desktop and from the USB stick and (if applicable) also from the other computer and restart downloading on the other computer. Then check whether the file names are as expected (without any (2) extension), copy them to the Ubuntu computer and re-try the dpkg command.

(The exclamation mark or do not enter sign is a warning that package updates currently are not possible. You can ignore that for the time being as we are working on it.)

Revision history for this message
Colin Ball (colinb1950) said :
#34

I've just deleted all the files from both computers and the memory stick, downloaded them again, checked that correct name on files, copied them to desktop and tried sudo command again - and end up with the same output that I emailed you earlier!

Silly naive question from me - does it matter wether network-manager-gnome is the first command line or not, please?

Cheers. Colin.

Sent from my iPad

> On 13 Sep 2016, at 17:13, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> If the file has got a different name, then this explains the "file not
> found" error message.
>
> Can you delete all network-manager*.deb files from the Ubuntu Desktop
> and from the USB stick and (if applicable) also from the other computer
> and restart downloading on the other computer. Then check whether the
> file names are as expected (without any (2) extension), copy them to the
> Ubuntu computer and re-try the dpkg command.
>
> (The exclamation mark or do not enter sign is a warning that package
> updates currently are not possible. You can ignore that for the time
> being as we are working on it.)
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=32
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#35

If both .deb files are in one dpkg --install command, then the sequence should not matter.
Maybe splitting into two commands works better.

Try

sudo dpkg -i Desktop/network-manager_1.2.0-0ubuntu0.16.04.3_i386.deb
sudo dpkg -i Desktop/network-manager-gnome_1.2.0-0ubuntu0.16.04.3_i386.deb

If you get an error message, please provide the full command that you have given and the full results. Furthermore in case of error please provide also the result of the command

ls -l Desktop/network-manager*

Revision history for this message
Colin Ball (colinb1950) said :
#36

I still have problems, Manfred.

For the command line: sudo dpkg -i Desktop/network-manager_1.2.0-0ubuntu0.16.04.3_i386.deb

The output is as follows:

(Reading database ... 204804 files and directories currently installed.)
Preparing to unpack .../network-manager_1.2.0-0ubuntu0.16.04.3_i386.deb ...
Unpacking network-manager (1.2.0-0ubuntu0.16.04.3) over (1.2.0-0ubuntu0.16.04.3) ...
dpkg: dependency problems prevent configuration of network-manager:
network-manager depends on libndp0 (>= 1.2); however:
Package libndp0 is not installed.

dpkg: error processing package network-manager (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (229-4ubuntu7) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for dbus (1.10.6-1ubuntu3) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
network-manager

For the command line: sudo dpkg -i Desktop/network-manager-gnome_1.2.0-0ubuntu0.16.04.3_i386.deb

The output is as follows:

(Reading database ... 204804 files and directories currently installed.)
Preparing to unpack .../network-manager-gnome_1.2.0-0ubuntu0.16.04.3_i386.deb ...
Unpacking network-manager-gnome (1.2.0-0ubuntu0.16.04.3) over (1.2.0-0ubuntu0.16.04.3)
dpkg: dependency problems prevent configuration of network-manager-gnome:
network-manager-gnome depends on network-manager (>= 1.1); however:
Package network-manager is not configured yet.

dpkg: error processing package network-manager-gnome (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for gconf2 (3.2.6-3ubuntu6) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for bamfdeamon (0.5.3~bzr0+16.04.20160701-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for libglib2.0-0:i386 (2.48.1-1~ubuntu16.04.1) ...
Errors were encountered while processing:
network-manager-gnome

For command line: ls -l Desktop/network-manager*

The output is as follows:

-rw-r--r-- 1 colinball colinball 2119624 Sep 13 20:35 Desktop/network-manager_1.2.0-0ubuntu0.16.04.3_i386.deb
-rw-r--r-- 1 colinball colinball 309778 Sep 13 20:35 Desktop/network-manager-gnome_1.2.0-0ubuntu0.16.04.3_i386.deb

The parts from Desktop to .deb are all in red, by the way, in both cases.

Cheers. Colin.

Sent from my iPad

> On 13 Sep 2016, at 20:22, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> If both .deb files are in one dpkg --install command, then the sequence should not matter.
> Maybe splitting into two commands works better.
>
> Try
>
> sudo dpkg -i Desktop/network-manager_1.2.0-0ubuntu0.16.04.3_i386.deb
> sudo dpkg -i Desktop/network-manager-gnome_1.2.0-0ubuntu0.16.04.3_i386.deb
>
> If you get an error message, please provide the full command that you
> have given and the full results. Furthermore in case of error please
> provide also the result of the command
>
> ls -l Desktop/network-manager*
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#37

Ok, this is looks reasonable. Apparently there is also another package that has been removed and needs to be transferred to the broken computer and installed again.

download https://launchpad.net/ubuntu/+archive/primary/+files/libndp0_1.4-2ubuntu0.16.04.1_i386.deb and transfer it via USB stick to the broken computer's desktop and install it with the command

sudo dpkg -i Desktop/libndp0_1.4-2ubuntu0.16.04.1_i386.deb

then issue the command

sudo dpkg --configure -a

and report the results.

Revision history for this message
Colin Ball (colinb1950) said :
#38

I've just done that, Manfred.

The output for command line: sudo dpkg -i Desktop/libndp0_1.4-2ubuntu0.16.04.1_i386.deb is as follows:

Selecting previously unselected package libdnp0:i386
(Reading database ... 204804 files and directories currently installed.)
Preparing to unpack .../libdnp0_1.4-2ubuntu0.16.04.1_i386.deb ...
Unpacking libdnp0:i386 (1.4-2ubuntu0.16.04.1) ...
Setting up libdnp0:i386 (1.4-2ubuntu0.16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...

Output for command line: sudo dpkg --configure -a is as follows:

Setting up network-manager (1.2.0-0ubuntu0.16.04.3) ...
Setting up network-manager-gnome (1.2.0-0ubuntu0.16.04.3) ...
Processing triggers for dbus (1.10.6-1ubuntu3) ...
Processing triggers for systemd ((229-4ubuntu7) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot

I then had a message from Software Updater to restart the computer, which I did, and the network manager icon is back on the top right of the screen. However, it does not seem to want to connect to the wifi, which is the problem that I had at the very beginning. It also will disconnect randomly from time to time.

Do you have any suggestions, please, to remedy this?

Thanks so much for helping me get network manager back. I really do appreciate your patience and perseverance!

Cheers. Colin.

Sent from my iPad

> On 14 Sep 2016, at 19:22, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Ok, this is looks reasonable. Apparently there is also another package
> that has been removed and needs to be transferred to the broken computer
> and installed again.
>
> download
> https://launchpad.net/ubuntu/+archive/primary/+files/libndp0_1.4-2ubuntu0.16.04.1_i386.deb
> and transfer it via USB stick to the broken computer's desktop and
> install it with the command
>
> sudo dpkg -i Desktop/libndp0_1.4-2ubuntu0.16.04.1_i386.deb
>
> then issue the command
>
> sudo dpkg --configure -a
>
> and report the results.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=36
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#39

Ok, network-manager packages are installed again.

What is now the exact status with respect to network-manager and WLAN?
Do you have the menu entries for wireless networking?
Are you able to activate wireless?
Can you search for available hotspots etc.?

What is the output of the commands
rfkill list
sudo iwlist scan | grep -Ei 'chan|ssid'

Revision history for this message
Colin Ball (colinb1950) said :
#40

I have the network-manager/wifi icon at the top right had corner now, Manfred, but unable to scan for wifi networks nor connect to wifi nor search for hotspots. When I click on the icon the only items that I can use are: Connect to hidden Wi-Fi Network, Create new Wi-Fi Network, VPN Connections and Edit Connections. Both Enable Networking and Enable Wi-Fi are ticked.

Output for rfkill list is as follows:

0: phy0: Wireless LAN
Soft blocked: no
Hard blocked:no

I cannot tell you the output for sudo iwlist scan | grep -Ei 'chan|ssid', as I cannot work out how to type | on my Philips keyboard. The symbol | is on the same key as two other symbols at the top left of the keyboard under the Esc key!

However, I did try the command sudo iwlist scan on its own and it identified the following as Cell 02 my home wifi network:

Address: 00:33:BB:E7::D2:5D
Channel: 1
Frequency:2.412 GHz (Channel 1)
Quality:=58/70 Signal level=-52 dBm
Encryption key: on
ESSID: "BTHub5-PGWJ"
It then lists a range of Bit rates no also a long list of IE: Unknown: with a whole list of numbers and letters after them - far too many for me reasonably to type into this email!

Is there another way to type in the sudo iwlist scan | grep -Ei 'chan|ssid' command, please?

Cheers. Colin.

Sent from my iPad

> On 15 Sep 2016, at 12:47, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Ok, network-manager packages are installed again.
>
> What is now the exact status with respect to network-manager and WLAN?
> Do you have the menu entries for wireless networking?
> Are you able to activate wireless?
> Can you search for available hotspots etc.?
>
> What is the output of the commands
> rfkill list
> sudo iwlist scan | grep -Ei 'chan|ssid'
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#41

That information is already enough. It proves that your system is already able to identify your WLAN.
Now you just have to register to that network, and you should finally be online again.

What results do you get for the command

nmcli d wifi list

Revision history for this message
Colin Ball (colinb1950) said :
#42

For the command nmcli d wifi list the output is as follows:

* SSID. MODE CHAN RATE SIGNAL BARS SECURITY
   BTWifi-X Infra 1 54 Mbit/s 84 4 WPA1 WPA2 802.1X
   BTWifi-with-FON Infra 1 54 Mbit/s 74 3
* BTHub5-PGWJ Infra 1 54 Mbit/s 68 3 WPA2
   VM627934-2G Infra 6 54 Mbit/s 44 2 WPA1 WPA2

BTHub5-PGWJ is my home wifi network.

I have put numbers to show the strength of the bars, as I can't put down the graphics!

Cheers. Colin.

Sent from my iPad

> On 15 Sep 2016, at 21:27, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> That information is already enough. It proves that your system is already able to identify your WLAN.
> Now you just have to register to that network, and you should finally be online again.
>
> What results do you get for the command
>
> nmcli d wifi list
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#43

What output do you get for

ping -c 1 8.8.8.8

Revision history for this message
Colin Ball (colinb1950) said :
#44

The output for ping -c 1 8.8.8.8 is as follows:

Network is unreachable

Cheers. Colin.

Sent from my iPad

> On 16 Sep 2016, at 07:37, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> What output do you get for
>
> ping -c 1 8.8.8.8
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#45

What response do you get if you try connecting with

nmcli d wifi connect BTHub5-PGWJ password yourWLANpassword

Revision history for this message
Colin Ball (colinb1950) said :
#46

Output for nmcli d wifi connect BTHub5-PGWJ password yourWLANpassword, with my wifi/WLAN password, where you have put yourWLANpassword is as follows:

Error: No network with SSID 'BTHub-PGWJ' found.

Cheers. Colin.

Sent from my iPad

> On 16 Sep 2016, at 10:23, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> What response do you get if you try connecting with
>
> nmcli d wifi connect BTHub5-PGWJ password yourWLANpassword
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#47

What is the SSID of your WLAN router? 'BTHub5-PGWJ' or 'BTHub-PGWJ'?
Are you sure that you typed it correctly?

Revision history for this message
Colin Ball (colinb1950) said :
#48

Sorry, Manfred. I must have typed it incorrectly. My SSID for my WLAN router is BTHub5-PGWJ.

However, when I use the command nmcli d wifi connect BTHub5-PGWJ password with my password after password the output is as follows:

Error: Connection activation failed: (53) The Wi-Fi network could not be found.

Cheers. Colin.

Sent from my iPad

> On 16 Sep 2016, at 11:13, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> What is the SSID of your WLAN router? 'BTHub5-PGWJ' or 'BTHub-PGWJ'?
> Are you sure that you typed it correctly?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#49

I think we are almost there, but the last message puzzles me a bit.

Please try a bit more diagnostics:
What is the output of

nmcli d wifi connect BTHub5-PGWJ password wrongpassword
nmcli d wifi connect BTHub5-PGWJ password rightpassword
iwconfig
ifconfig -a

Revision history for this message
Colin Ball (colinb1950) said :
#50

Output for the commands are follows:

> nmcli d wifi connect BTHub5-PGWJ password wrongpassword:

Error: No network with SSID 'BTHub5-PGWJ' found.

> nmcli d wifi connect BTHub5-PGWJ password rightpassword:

Error: Connection activation failed: (53) The Wi-Fi network could not be found.

> iwconfig

wlan0 IEEE 802.11g ESSID: off/any
           Mode: Managed Access Point: Not-Associated. Tx-Power=20 dBm
           Retry short limit: 7 RTS thr: off Fragment thr: off
           Power Management: on
lo no wireless extensions
etho0 no wireless extensions

> ifconfig -a

wlan0 Link encap: Ethernet HWaddr 00:13:d3:7b:c1:86
              UP BROADCAST MULTICAST MTU:1500 Metric:1
              RX packets:19 errors:0 dropped:0 overruns:0 frame:0
              TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1
               RX bytes:2248 (2.2 KB) TX bytes:8573 (8.5 KB).

For the last command I have only typed out the results for wlan0, not for etho0 or l0. If you need these too, I will type them out, but trying to save time, as I thought it was only wlan0 we are interested in.

Cheers. Colin.

Sent from my iPad

> On 16 Sep 2016, at 12:18, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> I think we are almost there, but the last message puzzles me a bit.
>
> Please try a bit more diagnostics:
> What is the output of
>
> nmcli d wifi connect BTHub5-PGWJ password wrongpassword
> nmcli d wifi connect BTHub5-PGWJ password rightpassword
> iwconfig
> ifconfig -a
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#51

Correctly guessed, wlan0 was sufficient.

The weird thing now is that the WLAN device has already sent and received some data ("RX bytes:2248 (2.2 KB) TX bytes:8573 (8.5 KB)."), but still does not connect. I do not know what the reason is and currently do not have more ideas how to tackle that.

I am currently considering to switch to a different approach.
Do you have an Ubuntu installer kit available (in form of a DVD or bootable USB stick)?

Revision history for this message
Colin Ball (colinb1950) said :
#52

That was what I though too, Manfred. It did look as if it was trying to connect from the flashing on the wifi icon. Also, when I click on it, sometimes I see a range of wifi networks, sometimes not! There is also a problem that I can connect through the wifi icon for network manager, then the signal disconnects.

I do not have an Ubuntu installer DVD - only the USB memory stick (8 gigabytes) that I have been using to download the files to and from. Would that work, please?

Cheers. Colin.

Sent from my iPad

> On 16 Sep 2016, at 13:37, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Correctly guessed, wlan0 was sufficient.
>
> The weird thing now is that the WLAN device has already sent and
> received some data ("RX bytes:2248 (2.2 KB) TX bytes:8573 (8.5 KB)."),
> but still does not connect. I do not know what the reason is and
> currently do not have more ideas how to tackle that.
>
> I am currently considering to switch to a different approach.
> Do you have an Ubuntu installer kit available (in form of a DVD or bootable USB stick)?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#53

I suggest to try a different approach with booting into a live system and using chroot for attempting repair and I hope that this will enable activating the network on that system to ease further repair steps.

Your 8GB USB stick will be suitable for this.
Please note that all data on that stick will be deleted. So if you have data on the stick that you want to keep, please copy them elsewhere.

Please look at http://www.ubuntu.com/download/desktop for instructions how to create a bootable USB stick on Ubuntu, Windows or OSX
I suggest that you download http://www.ubuntu.com/download/desktop/thank-you/?version=16.04.1&architecture=i386 because that is the versions you have installed on your hard disk.

Revision history for this message
Colin Ball (colinb1950) said :
#54

I've created the bootable USB at I on my son's Windows computer, Manfred. What do I need to do now, please?

Cheers. Colin.

Sent from my iPad

> On 16 Sep 2016, at 20:13, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> I suggest to try a different approach with booting into a live system
> and using chroot for attempting repair and I hope that this will enable
> activating the network on that system to ease further repair steps.
>
> Your 8GB USB stick will be suitable for this.
> Please note that all data on that stick will be deleted. So if you have data on the stick that you want to keep, please copy them elsewhere.
>
> Please look at http://www.ubuntu.com/download/desktop for instructions how to create a bootable USB stick on Ubuntu, Windows or OSX
> I suggest that you download http://www.ubuntu.com/download/desktop/thank-you/?version=16.04.1&architecture=i386 because that is the versions you have installed on your hard disk.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=52
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#55

Now please try whether the live system is working.
Insert the USB stick into the broken computer, switch it on, and very early during the boot process you should see some note on the screen like "press F12 for BIOS configuration", or "press F10 for boot selection" or something like that.
Using one of these possibilities (details depend on make and model of the computer) you have to select that the computer boots from the USB stick and not from the hard disk.

If the system is booting from the USB stick, you will see questions from the Ubuntu installer (language selection, keyboard layout etc.).
Answer these questions as appropriate, and finally select "Try Ubuntu without installing". This should end up with an Ubuntu desktop being shown. (Note, do not select "Install Ubuntu"; If you see questions like "there is already another operating system installed on the hard disk, do you want to overwrite it or install Ubuntu alongside", then you have made a wrong selection - do not continue).

Finally check whether you can access the WLAN network in that mode.

Revision history for this message
Colin Ball (colinb1950) said :
#56

Sorry, Manfred, but booting up is very quick and I don't see the options that you mention. Any way to slow down booting up process at all, please?

Cheers. Colin.

Sent from my iPad

> On 17 Sep 2016, at 14:22, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Now please try whether the live system is working.
> Insert the USB stick into the broken computer, switch it on, and very early during the boot process you should see some note on the screen like "press F12 for BIOS configuration", or "press F10 for boot selection" or something like that.
> Using one of these possibilities (details depend on make and model of the computer) you have to select that the computer boots from the USB stick and not from the hard disk.
>
> If the system is booting from the USB stick, you will see questions from the Ubuntu installer (language selection, keyboard layout etc.).
> Answer these questions as appropriate, and finally select "Try Ubuntu without installing". This should end up with an Ubuntu desktop being shown. (Note, do not select "Install Ubuntu"; If you see questions like "there is already another operating system installed on the hard disk, do you want to overwrite it or install Ubuntu alongside", then you have made a wrong selection - do not continue).
>
> Finally check whether you can access the WLAN network in that mode.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=54
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#57

I have noticed now, Manfred, that, when I boot up the computer, the wifi icon is there and shows BTHub5-PGWJ. However, when I try to open the Firefox browser, it takes a very long time to try to do that, then disconnects the wifi connection.

I will keep trying to load from bootable USB memory stick.

Cheers. Colin.

Sent from my iPad

> On 17 Sep 2016, at 14:22, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Now please try whether the live system is working.
> Insert the USB stick into the broken computer, switch it on, and very early during the boot process you should see some note on the screen like "press F12 for BIOS configuration", or "press F10 for boot selection" or something like that.
> Using one of these possibilities (details depend on make and model of the computer) you have to select that the computer boots from the USB stick and not from the hard disk.
>
> If the system is booting from the USB stick, you will see questions from the Ubuntu installer (language selection, keyboard layout etc.).
> Answer these questions as appropriate, and finally select "Try Ubuntu without installing". This should end up with an Ubuntu desktop being shown. (Note, do not select "Install Ubuntu"; If you see questions like "there is already another operating system installed on the hard disk, do you want to overwrite it or install Ubuntu alongside", then you have made a wrong selection - do not continue).
>
> Finally check whether you can access the WLAN network in that mode.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=54
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#58

As an experiment, I have just logged on as a guest and (bizarrely!) the wifi connection seems to be working fine. Is there anything that we can do from here that might help (e.g. Perhaps running Software Updater)?

Cheers. Colin.

Sent from my iPad

> On 17 Sep 2016, at 14:22, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Now please try whether the live system is working.
> Insert the USB stick into the broken computer, switch it on, and very early during the boot process you should see some note on the screen like "press F12 for BIOS configuration", or "press F10 for boot selection" or something like that.
> Using one of these possibilities (details depend on make and model of the computer) you have to select that the computer boots from the USB stick and not from the hard disk.
>
> If the system is booting from the USB stick, you will see questions from the Ubuntu installer (language selection, keyboard layout etc.).
> Answer these questions as appropriate, and finally select "Try Ubuntu without installing". This should end up with an Ubuntu desktop being shown. (Note, do not select "Install Ubuntu"; If you see questions like "there is already another operating system installed on the hard disk, do you want to overwrite it or install Ubuntu alongside", then you have made a wrong selection - do not continue).
>
> Finally check whether you can access the WLAN network in that mode.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=54
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#59

I am now getting BTHub5-PGWJ coming up automatically, when I log in as myself. However, it quickly disconnects after a few minutes. That was what was happening really right at the start of all this and why, reading something on the Ubuntu forum pages, I deleted network manager in the first place.

I am really having trouble, trying to boot up from the USB memory stick. I'm t just seems to go straight to initialising and booking up from the hard disk (C drive) with no possibility of stopping that.

Cheers. Colin.

Sent from my iPad

> On 17 Sep 2016, at 14:22, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Now please try whether the live system is working.
> Insert the USB stick into the broken computer, switch it on, and very early during the boot process you should see some note on the screen like "press F12 for BIOS configuration", or "press F10 for boot selection" or something like that.
> Using one of these possibilities (details depend on make and model of the computer) you have to select that the computer boots from the USB stick and not from the hard disk.
>
> If the system is booting from the USB stick, you will see questions from the Ubuntu installer (language selection, keyboard layout etc.).
> Answer these questions as appropriate, and finally select "Try Ubuntu without installing". This should end up with an Ubuntu desktop being shown. (Note, do not select "Install Ubuntu"; If you see questions like "there is already another operating system installed on the hard disk, do you want to overwrite it or install Ubuntu alongside", then you have made a wrong selection - do not continue).
>
> Finally check whether you can access the WLAN network in that mode.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=54
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#60

Ok, I understand:

You have trouble booting form the USB stick. so you boot normally.
(Hint: What make and model is your computer? What is the very first thing that you see on the screen when booting? Some kind of Logo of the computer?)

WHen booted from the hard disk, do you have network connection in the first few minutes of being logged in?
Can you use a web browser for internet until the connection aborts?
If you log in as guest, how stable is the connection?

Revision history for this message
Colin Ball (colinb1950) said :
#61

The computer is a Philips Freevents 5545URF Version 1.0. The very first thing that I see, when booting, is the Philips logo screen, then it very quickly moves to initialising and booting up - so quickly that I cannot see the text really before it boots up with Ubuntu from the hard drive!

I do have network connection for the first few minutes after logging in, but not stable, whether logged in as myself or as guest. I have tried to use the web browser, but the wifi disconnects before I get a page up. I have also tried Software Updater and it has been able to check for updates, tell me there are some, but then disconnect, when I try to install.

I now also have BTHub5-PGWJ showing, when I click on the wifi icon on the top bar towards the right of the Ubuntu desktop screen. I can also now access all the items in the drop down menu there.

 I do hope that you have some suggestions for me, please.

Cheers. Colin.

Sent from my iPad

> On 17 Sep 2016, at 16:08, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Ok, I understand:
>
> You have trouble booting form the USB stick. so you boot normally.
> (Hint: What make and model is your computer? What is the very first thing that you see on the screen when booting? Some kind of Logo of the computer?)
>
> WHen booted from the hard disk, do you have network connection in the first few minutes of being logged in?
> Can you use a web browser for internet until the connection aborts?
> If you log in as guest, how stable is the connection?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#62

1. a web search indicates that you may have to hit the DEL key during boot to enter the BIOS setup that you could select booting from the USB stick.

2. What is the output of dmesg | tail ?
(if there are lots of numbers you need not retype them, just give the gist of it)

Revision history for this message
Colin Ball (colinb1950) said :
#63

By DEL key, do you mean delete key, please? Should I try that during the booting sequence, please?

Also, I can't input command dmesg | tail, as I can't work out how to type in | symbol from my keyboard. It shares a key with two other symbols, both of those on the left of the key and the | symbol is on the right of the key. I can type the symbols on the left of the key, but not the right. This key is just below the Esc key at the far left of the keyboard.

Cheers. Colin.

Sent from my iPad

> On 17 Sep 2016, at 16:47, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> 1. a web search indicates that you may have to hit the DEL key during
> boot to enter the BIOS setup that you could select booting from the USB
> stick.
>
> 2. What is the output of dmesg | tail ?
> (if there are lots of numbers you need not retype them, just give the gist of it)
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#64

What kind of keyboard do you have?

The key to press for BIOS setup might be labeled as Del, or DEL or Delete

And I assume that you have to press the right alt key (maybe labeled AltGr or Alt Gr) together with the top left key for the "|" character.

If you are unable to get "dmesg | tail", please just issue the command "dmesg", wait for the output to complete, and tell me about the last 20 lines.

Revision history for this message
Colin Ball (colinb1950) said :
#65

Output for dmesg | tail is as follows:

[ 171.980024] ieee80211 phy0: rt2x00queue_flush_queue:Warning - Queue 0 failed to flush
[ 171.140063] ieee80211 phy0: rt2x00queue_flush_queue:Warning - Queue 2 failed to flush

Then a similar line for 8 lines or so, with slightly different numbers in the square brackets, alternating between Queue 0 and Queue 2 at the end of each line.

Do you want me to try using Del key during boot up, please?

Cheers. Colin.

Sent from my iPad

> On 17 Sep 2016, at 19:32, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> What kind of keyboard do you have?
>
> The key to press for BIOS setup might be labeled as Del, or DEL or
> Delete
>
> And I assume that you have to press the right alt key (maybe labeled
> AltGr or Alt Gr) together with the top left key for the "|" character.
>
> If you are unable to get "dmesg | tail", please just issue the command
> "dmesg", wait for the output to complete, and tell me about the last 20
> lines.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#66

Maybe this is gives already the hint to the root cause.

Please execute the command

sudo lshw -C network

and search for "driver=..." in the output for the wireless device. What driver is it? Might be something like rt2800pci ?

If the name of the driver is rt2800pci please issue the commands

sudo modprobe -rv rt2800pci
sudo modprobe -v rt2800pci nohwcrypt=Y

and verify the availability and stability of network access.

Revision history for this message
Colin Ball (colinb1950) said :
#67

Driver for wireless interface is rt61pci

Output for command sudo modprobe -rv rt2800pci is as follows:

rmod rt61pci
rmod eeprom_93cx6
rmod rt2x00mmio
rmod rt2x00pci
rmod rt2x00lib
rmod rtmac80211
rmod cfg80211

Output for command sudo modprobe -v rt2800pci nohwcrypt=Y is as follows:

insmod /lib/modules/4.4.0-34-generic/kernel/drivers/misc/eeprom/eeprom_93cx6.ko
insmod /lib/modules/4.4.0-34-generic/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/4.4.0-34-generic/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/4.4.0-34-generic/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
insmod/lib/modules/4.4.0-34-generic/kernel/drivers/net/wireless/rt2x00/rt2x00mmio.ko
insmod /lib/modules/4.4.0-34-generic/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
insmod /lib/modules/4.4.0-34-generic/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
nohwcrypt =Y

Does this help?

Cheers. Colin.

Sent from my iPad

> On 17 Sep 2016, at 20:52, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Maybe this is gives already the hint to the root cause.
>
> Please execute the command
>
> sudo lshw -C network
>
> and search for "driver=..." in the output for the wireless device. What
> driver is it? Might be something like rt2800pci ?
>
> If the name of the driver is rt2800pci please issue the commands
>
> sudo modprobe -rv rt2800pci
> sudo modprobe -v rt2800pci nohwcrypt=Y
>
> and verify the availability and stability of network access.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=65
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#68

Ok, good guess, but I assume not fully correct.

Try again as follows:

sudo modprobe -rv rt2800pci
dmesg | tail

note down the time code (the numbers in the square brackets) of the last rt2x00queue_flush_queue... message

sudo modprobe -v rt61pci nohwcrypt=Y

Wait two minutes an re-issue

dmesg | tail

did additional rt2x00queue_flush_queue messages appear (higher time code than the one noted down)?
Is WLAN working or still dropping the same ways as before?

Revision history for this message
Colin Ball (colinb1950) said :
#69

For sudo modprobe -rv rt2800pci and dmesg | tail output is as follows for last two lines:

[ 3192.424072] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
[ 3192.008205] IPv6: ADDRCONF (NETDEV_UP): wlan0: link is not ready

Many more rt2x00queue_flash_queue lines this time for commands sudo modprobe -v rt61pci nohwcrypt=Y and dmesg | tail. However, last two lines exactly the same as for for earlier commands.

WLAN link is still dropping.

Cheers. Colin.

Sent from my iPad

> On 17 Sep 2016, at 21:37, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Ok, good guess, but I assume not fully correct.
>
> Try again as follows:
>
> sudo modprobe -rv rt2800pci
> dmesg | tail
>
> note down the time code (the numbers in the square brackets) of the last
> rt2x00queue_flush_queue... message
>
> sudo modprobe -v rt61pci nohwcrypt=Y
>
> Wait two minutes an re-issue
>
> dmesg | tail
>
> did additional rt2x00queue_flush_queue messages appear (higher time code than the one noted down)?
> Is WLAN working or still dropping the same ways as before?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=67
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#70

Earlier you provided the output of
iwconfig

wlan0 IEEE 802.11g ESSID: off/any
            Mode: Managed Access Point: Not-Associated. Tx-Power=20 dBm
            Retry short limit: 7 RTS thr: off Fragment thr: off
            Power Management: on

Try the command

sudo iwconfig wlan0 power off

and then re-issue
iwconfig
There should now be "Power Management: off"

Again test wireless.

Revision history for this message
Colin Ball (colinb1950) said :
#71

I have done that, Manfred, and power management now off.

However, although wifi icon for WLAN was showing a good connection for a few minutes, it switched itself off again. I can see and use all the items in the drop down menu from wifi icon. Also, my BTHub5-PGWJ WLAN network is showing clearly now in that drop down menu.

Cheers. Colin.

Sent from my iPad

> On 18 Sep 2016, at 17:47, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Earlier you provided the output of
> iwconfig
>
> wlan0 IEEE 802.11g ESSID: off/any
> Mode: Managed Access Point: Not-Associated. Tx-Power=20 dBm
> Retry short limit: 7 RTS thr: off Fragment thr: off
> Power Management: on
>
> Try the command
>
> sudo iwconfig wlan0 power off
>
> and then re-issue
> iwconfig
> There should now be "Power Management: off"
>
> Again test wireless.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=69
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#72

Is the network connection stable enough that you can try updating your system?
Can you try opening a web browser, and does this work long enough that you can open web pages?

Revision history for this message
Colin Ball (colinb1950) said :
#73

Unfortunately, network connection is not stable enough to update system, Manfred. I have tried that several times! Now I cannot see any wifi networks in the drop down menu from the wifi icon and it has disconnected again.

Cheers. Colin.

Sent from my iPad

> On 18 Sep 2016, at 18:47, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Is the network connection stable enough that you can try updating your system?
> Can you try opening a web browser, and does this work long enough that you can open web pages?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#74

If you issue the commands

sudo modprobe -r rt61pci
sudo modprobe -v rt61pci nohwcrypt=Y

does the wlan network come up again (for a short period)?

Revision history for this message
Colin Ball (colinb1950) said :
#75

No, it doesn't, Manfred. When I used the first command that you suggested, nothing seems to happen. However, when I used the second command, I got the insmod list that I emailed to you yesterday. I also noticed that the wifi icon has now changed to two large wide arrows, one pointing up and one pointing down.

Also, when I first switch on, I can see all the available wireless networks and the system tries to connect to BTHub5-PGWJ automatically and then it disconnects. That is what has been happening ever since I upgraded to Ubuntu 16.04.

I can't see any wireless networks now.

Cheers. Colin.

Sent from my iPad

> On 18 Sep 2016, at 19:17, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> If you issue the commands
>
> sudo modprobe -r rt61pci
> sudo modprobe -v rt61pci nohwcrypt=Y
>
> does the wlan network come up again (for a short period)?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#76

I have just tried again, Manfred, and it worked this time. I can also now see all the available wifi networks again.

However, I have not been able to use Software Updater. I have the following messages in the details box:

systemd-sysv
failed
libpam-systemd
failed
libsystemd0
failed
systemd
failed
udev
failed
libudev1
failed
libapparmor1
failed
plus one other that I didn't have time to see.

I also can't access any web pages through the browser, although the wifi icon is showing 4 bars out of five for a strong signal and BTHub5-PGWJ is shown as connected.

Cheers. Colin.

Sent from my iPad

> On 18 Sep 2016, at 19:17, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> If you issue the commands
>
> sudo modprobe -r rt61pci
> sudo modprobe -v rt61pci nohwcrypt=Y
>
> does the wlan network come up again (for a short period)?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#77

Ok.

Please try some further diagnostics:

Check in

dmesg | tail

for the newest message and make a not of the time code (in square brackets).
Issue the commands

sudo modprobe -r rt61pci
sudo modprobe rt61pci nohwcrypt=Y

(will probably not give any output).
Then try using the network for a few minutes.
Finally re-check
dmesg | tail

Are there new messages added after the time code that you noted down?

Revision history for this message
Colin Ball (colinb1950) said :
#78

No output, Manfred, for either the of the sudo commands.

For the first dmesg | tail command the numbers range from 1885.526170 (first one) to 1218.006579 (last one).

For the second dmesg | tail the numbers range from 2134.957082 to 2134.973406.

I also had a wifi connection again for a short period to BTHub5-PGWJ, but not long enough to use Software Updater to update the system.

Cheers. Colin.

Sent from my iPad

> On 19 Sep 2016, at 09:52, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Ok.
>
> Please try some further diagnostics:
>
> Check in
>
> dmesg | tail
>
> for the newest message and make a not of the time code (in square brackets).
> Issue the commands
>
> sudo modprobe -r rt61pci
> sudo modprobe rt61pci nohwcrypt=Y
>
> (will probably not give any output).
> Then try using the network for a few minutes.
> Finally re-check
> dmesg | tail
>
> Are there new messages added after the time code that you noted down?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#79

What kind of additional error messages are there in the second execution of dmesg?

Can you please execute the command

dmesg | grep -i firmware

and tell me whether there is any output that might be related to the wireless device?

Revision history for this message
Colin Ball (colinb1950) said :
#80

Here is the output from the second dmesg command:

[2134.957082] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[2134.957087] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[2134.957091] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[2134.957094] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[2134.957098] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO) (N/A, 2000 mBm), (N/A)
[2134.957102] cfg80211: (525000 KHz - 5330000 KHz @ 40000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[2134.957106] cfg80211: (5490000 KHz - 573000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[2134.957109] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[2134.957113] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[2134.973406] IPv6: ADDRCONF (NETDEV UP): wlan0: link is not ready

Here is the output for command dmesg | grep -i firmware:

[49.664129] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt22561s.bin'
[50.232795] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected- version 0.8
[2134.855083] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt22561s.bin'
[2134.855137] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected- version 0.8

Hope this helps.

Cheers. Colin.

Sent from my iPad

> On 19 Sep 2016, at 13:57, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> What kind of additional error messages are there in the second execution
> of dmesg?
>
> Can you please execute the command
>
> dmesg | grep -i firmware
>
> and tell me whether there is any output that might be related to the
> wireless device?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#81

I do not see anything wrong.

Maybe we should next try the live system.

Insert the USB stick with the live system, restart the computer and press the Delete key very early during the boot process.
Maybe you have to experiment a bit, and/or repeatedly press the key etc.
Finally you should see a BIOS setup screen that allows you to select 'boot from USB devices' or something like that.
If you have success with that and you see the messages from the installer, then enter language and keyboard as appropriate and select 'Try Ubuntu without installing'.
You should end up on an Ubuntu desktop, where you can try using the WLAN to access the internet.

Revision history for this message
Colin Ball (colinb1950) said :
#82

I've managed to get to the BIOS set up screen, Manfred. There are 3 USB options:

USB-FDD
USB-ZIP
USB-CD-ROM.

Which would you suggest that I try, please?

Cheers. Colin.

Sent from my iPad

> On 19 Sep 2016, at 18:57, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> I do not see anything wrong.
>
> Maybe we should next try the live system.
>
> Insert the USB stick with the live system, restart the computer and press the Delete key very early during the boot process.
> Maybe you have to experiment a bit, and/or repeatedly press the key etc.
> Finally you should see a BIOS setup screen that allows you to select 'boot from USB devices' or something like that.
> If you have success with that and you see the messages from the installer, then enter language and keyboard as appropriate and select 'Try Ubuntu without installing'.
> You should end up on an Ubuntu desktop, where you can try using the WLAN to access the internet.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=80
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#83

Also, when I have selected the correct USB option, how do I get it to boot up from there, please?

Cheers. Colin.

Sent from my iPad

> On 19 Sep 2016, at 18:57, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> I do not see anything wrong.
>
> Maybe we should next try the live system.
>
> Insert the USB stick with the live system, restart the computer and press the Delete key very early during the boot process.
> Maybe you have to experiment a bit, and/or repeatedly press the key etc.
> Finally you should see a BIOS setup screen that allows you to select 'boot from USB devices' or something like that.
> If you have success with that and you see the messages from the installer, then enter language and keyboard as appropriate and select 'Try Ubuntu without installing'.
> You should end up on an Ubuntu desktop, where you can try using the WLAN to access the internet.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=80
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#84

I have just rebooted from the hard drive, Manfred, as I was unable to figure out how to boot up from bootable USB stick. However, once I did that, I had a fairly stable wifi connection and have been able to use Software Updater to download updates. Unfortunately, download failed, as wifi connection dropped during the process. So, flashplugin-installer did not download. Not sure how big a problem that is.

However, if you can advise me how to set up the bootable USB stick, so that I can out from that, I will try that for a better wifi connection. I am very anxious about damaging the software process on the computer, if I get anything wrong in the BIOS mode.

Cheers. Colin.

Sent from my iPad

> On 19 Sep 2016, at 18:57, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> I do not see anything wrong.
>
> Maybe we should next try the live system.
>
> Insert the USB stick with the live system, restart the computer and press the Delete key very early during the boot process.
> Maybe you have to experiment a bit, and/or repeatedly press the key etc.
> Finally you should see a BIOS setup screen that allows you to select 'boot from USB devices' or something like that.
> If you have success with that and you see the messages from the installer, then enter language and keyboard as appropriate and select 'Try Ubuntu without installing'.
> You should end up on an Ubuntu desktop, where you can try using the WLAN to access the internet.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=80
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#85

1. If booted from the hard disk, how long does it usually take until the WLAN aborts?
Is there anything noticeable happening when the connection aborts?

2. If the connection has dropped, can you revive it with the commands
sudo modprobe -r rt61pci
sudo modprobe rt61pci nohwcrypt=Y
?
If you have done that and issue the command
iwconfig
is power management shown as on or off?

Revision history for this message
Colin Ball (colinb1950) said :
#86

1. I get a wifi connection automatically on start up to BTHub5-PGWJ, but it only lasts for five minutes or so. I have not been able to access the web through the Firefox browser, even though the wifi signal is clearly present and I have been able to download software updates with Software Updater. This problem has been happening ever since I moved to Ubuntu 16.04 from the earlier versions, when there was never any difficulty before with the earlier versions.

2. I was able to revive the wifi connection with the commands sudo modprobe -r rt61pci and sudo modprobe rt61pci nohwcrypt=Y. However, I was still not able to access the web through the Firefox browser and the connection dropped soon after I tried to do that. From command iwconfig power management is shown as on.

Cheers. Colin.

Sent from my iPad

> On 20 Sep 2016, at 07:57, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> 1. If booted from the hard disk, how long does it usually take until the WLAN aborts?
> Is there anything noticeable happening when the connection aborts?
>
> 2. If the connection has dropped, can you revive it with the commands
> sudo modprobe -r rt61pci
> sudo modprobe rt61pci nohwcrypt=Y
> ?
> If you have done that and issue the command
> iwconfig
> is power management shown as on or off?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#87

Ok. Try the following:

boot the system normally and issue the three commands

sudo modprobe -r rt61pci
sudo modprobe rt61pci nohwcrypt=Y
sudo iwconfig wlan0 power off

Check with iwconfig whether power management is shown as off.
and then try opening a web browser.

Revision history for this message
Colin Ball (colinb1950) said :
#88

Yes, Manfred. That worked, not sure how long the connection will stay up, though.

Also, what can I do, please, to ensure this happens every time I boot up the system and it doesn't switch the wifi off again?

Cheers. Colin.

Sent from my iPad

> On 20 Sep 2016, at 20:02, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Ok. Try the following:
>
> boot the system normally and issue the three commands
>
> sudo modprobe -r rt61pci
> sudo modprobe rt61pci nohwcrypt=Y
> sudo iwconfig wlan0 power off
>
> Check with iwconfig whether power management is shown as off.
> and then try opening a web browser.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=86
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#89

Sorry, Manfred. I tried loading another web page and it failed to do that, even though wifi signal is still showing as strong. Any ideas, please, on how to fix that?

Cheers. Colin.

Sent from my iPad

> On 20 Sep 2016, at 20:02, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Ok. Try the following:
>
> boot the system normally and issue the three commands
>
> sudo modprobe -r rt61pci
> sudo modprobe rt61pci nohwcrypt=Y
> sudo iwconfig wlan0 power off
>
> Check with iwconfig whether power management is shown as off.
> and then try opening a web browser.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=86
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#90

If you now re-issue the commands

sudo modprobe -r rt61pci
sudo modprobe rt61pci nohwcrypt=Y

What info about power management to you then get with iwconfig?

Revision history for this message
Colin Ball (colinb1950) said :
#91

I've done that, Manfred, and power management shown as off. I've also been able to get the BTHub5-PGWJ back, which had disappeared. However, still not able to open the web browser again, even though wifi signal icon is showing a strong connected signal!

Cheers. Colin.

Sent from my iPad

> On 20 Sep 2016, at 20:27, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> If you now re-issue the commands
>
> sudo modprobe -r rt61pci
> sudo modprobe rt61pci nohwcrypt=Y
>
> What info about power management to you then get with iwconfig?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#92

Wifi connection just dropped again, Manfred!

Cheers. Colin.

Sent from my iPad

> On 19 Sep 2016, at 18:57, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> I do not see anything wrong.
>
> Maybe we should next try the live system.
>
> Insert the USB stick with the live system, restart the computer and press the Delete key very early during the boot process.
> Maybe you have to experiment a bit, and/or repeatedly press the key etc.
> Finally you should see a BIOS setup screen that allows you to select 'boot from USB devices' or something like that.
> If you have success with that and you see the messages from the installer, then enter language and keyboard as appropriate and select 'Try Ubuntu without installing'.
> You should end up on an Ubuntu desktop, where you can try using the WLAN to access the internet.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=80
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#93

I just tried iwconfig command again, Manfred, and power management is now shown as on! I certainly did nothing to switch it on. Perhaps this is the problem, as when power management is off, the wifi connection seems to be good, but how can it switch itself back on automatically, when I have just switched it off?

Cheers. Colin.

Sent from my iPad

> On 19 Sep 2016, at 18:57, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> I do not see anything wrong.
>
> Maybe we should next try the live system.
>
> Insert the USB stick with the live system, restart the computer and press the Delete key very early during the boot process.
> Maybe you have to experiment a bit, and/or repeatedly press the key etc.
> Finally you should see a BIOS setup screen that allows you to select 'boot from USB devices' or something like that.
> If you have success with that and you see the messages from the installer, then enter language and keyboard as appropriate and select 'Try Ubuntu without installing'.
> You should end up on an Ubuntu desktop, where you can try using the WLAN to access the internet.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=80
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#94

What is now the exact status of your system?

If the WLAN connection drops, can you revive it with the commands

sudo modprobe -r rt61pci
sudo modprobe rt61pci nohwcrypt=Y
sudo iwconfig wlan0 power off

?
Does this give another five minutes of WLAN network, but then fails again?
Or, if this is not the case, what is happening when you try that?

Revision history for this message
Colin Ball (colinb1950) said :
#95

Yes, Manfred. I can revive the wifi network for five minutes or so, with the three commands that you suggest. I cannot connect to web, though, through my web browser. I get a message that there is no wifi connection, when the wifi icon clearly shows that there is a strong connected signal, as it does in the drop down menu from that. Then, the wifi signal drops again.

I also get a dialogue box, saying that flashplugin-installer failed to download, as Software Updater was trying to download that. However, when I next get a wifi connection and try to download flashplugin-installer through the command line sudo apt-get install flashplugin-installer, I get a message to say that I already have the most up to date version downloaded.

Then, when I use the command line iwconfig, power management shows as on again. Is this the problem, perhaps? Do I need somehow to switch off power management permanently? If so, can you, please, suggest you I might do that?

Cheers. Colin.

Sent from my iPad

> On 21 Sep 2016, at 08:43, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> What is now the exact status of your system?
>
> If the WLAN connection drops, can you revive it with the commands
>
> sudo modprobe -r rt61pci
> sudo modprobe rt61pci nohwcrypt=Y
> sudo iwconfig wlan0 power off
>
> ?
> Does this give another five minutes of WLAN network, but then fails again?
> Or, if this is not the case, what is happening when you try that?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#96

I would not trust the Wifi icon too much.

What you write is somewhat contradictory. How can you identify that WLAN is working again after the three commands, if web access does not work?

If you use the three commands to revive the network connection and quickly open a web browser, do you have internet access? Or if not, what kind of error messages do you get?

Revision history for this message
Colin Ball (colinb1950) said :
#97

I am clearly putting too much confidence in the wifi icon! When I use the three commands, the wifi icon indicates that I have wifi access, but I am not able to open any web pages through my web browser.

The only messages that I get are

1. Via the web page on the browser to check the web address, which I know is correct, check the network connection and make sure firewall is not blocking pages and

2. via the wifi icon that wifi is disconnected.

Having said all that, I now do have wifi access and have used a few webpages and sent an email - first time that I have been able to do that for weeks!

Hope it lasts, but not entirely confident. I will email you again, if it disconnects.

Cheers. Colin.

Sent from my iPad

> On 21 Sep 2016, at 11:13, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> I would not trust the Wifi icon too much.
>
> What you write is somewhat contradictory. How can you identify that WLAN
> is working again after the three commands, if web access does not work?
>
> If you use the three commands to revive the network connection and
> quickly open a web browser, do you have internet access? Or if not, what
> kind of error messages do you get?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#98

Wifi just dropped again, Manfred. I did get it back again, using the three commands that you suggested. However, it seems to me that power management is switching itself back on again, which is why the wifi connection drops - or am I wrong in this assumption?

Is there some way, please, to stabilise the wifi connection, without having to issue the three commands each time it drops?

Cheers. Colin.

Sent from my iPad

> On 21 Sep 2016, at 11:13, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> I would not trust the Wifi icon too much.
>
> What you write is somewhat contradictory. How can you identify that WLAN
> is working again after the three commands, if web access does not work?
>
> If you use the three commands to revive the network connection and
> quickly open a web browser, do you have internet access? Or if not, what
> kind of error messages do you get?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#99

Power management seems really to be the culprit.

Try creating two config files:

echo "options rt61pci nohwcrypt=Y" | sudo tee /etc/modprobe.d/rt61pcifix.conf

echo 'KERNEL=="wlan*", ACTION=="add", RUN+="/sbin/iwconfig wlan0 power off"' | sudo tee /etc/udev/rules.d/10-wlan-poweroff.rules

Revision history for this message
Colin Ball (colinb1950) said :
#100

To do that, Manfred, do I simply have to type what you have set out into a terminal and not use the sudo prefix, please?

Cheers. Colin.

Sent from my iPad

> On 21 Sep 2016, at 13:28, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Power management seems really to be the culprit.
>
> Try creating two config files:
>
> echo "options rt61pci nohwcrypt=Y" | sudo tee
> /etc/modprobe.d/rt61pcifix.conf
>
> echo 'KERNEL=="wlan*", ACTION=="add", RUN+="/sbin/iwconfig wlan0 power
> off"' | sudo tee /etc/udev/rules.d/10-wlan-poweroff.rules
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=98
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#101

sudo needs to be between the pipe character and the tee command, exactly as written.
In the second command carefully check the single and double quotes (single at the beginning and at the end, and doubles in between). If possible use copy/paste.

Revision history for this message
Colin Ball (colinb1950) said :
#102

I've done that, Manfred, in a terminal and pressed enter after each for first the output is as follows: options rt61pci nohwcrypt=Y and for second KERNEL=="wlan*", ACTION=="add", RUN+="/sbin/iwconfig wlan0 power off".

Then it is back now to the normal input position. I had to type as can't cut and paste from iPad to computer, but double checked all the spelling and punctuation.

What do I need to do now, please?

Cheers. Colin.

Sent from my iPad

> On 21 Sep 2016, at 19:08, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> sudo needs to be between the pipe character and the tee command, exactly as written.
> In the second command carefully check the single and double quotes (single at the beginning and at the end, and doubles in between). If possible use copy/paste.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=100
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#103

This looks correct.
Now reboot your computer and check the behaviour of the WLAN device.

iwconfig should now show power management off.

I thought that you meanwhile can access the web at least temporarily with the broken computer, so I would have expected that you can open your question page for copy and paste.

Revision history for this message
Colin Ball (colinb1950) said :
#104

I did reboot, Manfred, but wifi connection still drops. Will try, as you suggest and copy and paste the commands to create files and reboot again. At least, as you say, I can have temporary access to Internet through your three suggested commands, if it wifi does drop again. Thanks for all your help and support - and your patience and perseverance! Hopefully, I will get it sorted permanently now.

Cheers. Colin.

Sent from my iPad

> On 21 Sep 2016, at 19:58, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> This looks correct.
> Now reboot your computer and check the behaviour of the WLAN device.
>
> iwconfig should now show power management off.
>
> I thought that you meanwhile can access the web at least temporarily
> with the broken computer, so I would have expected that you can open
> your question page for copy and paste.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=102
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#105

If the Wifi connection drops again, dies iwconfig show power management off or on?

The udev change should care for automatically turning it off, this might reduce the number of commands needed to revive the connection to the first two. (Still not the status as it should be.)

Revision history for this message
Colin Ball (colinb1950) said :
#106

I did as you suggested, Manfred, and copied and pasted the commands to make the files, restarted the computer and the WLAN connection did not start automatically as it should do. Also, here is the output from my iwconfig command, which I inputted as soon as I could after the computer switched on:

colinball@colin-pc:~$ iwconfig
wlan0 IEEE 802.11bg ESSID:off/any
          Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
          Retry short limit:7 RTS thr:off Fragment thr:off
          Power Management:on

lo no wireless extensions.

eth0 no wireless extensions.

I used the three earlier commands to get wifi back up, but it has now dropped again.

What do you suggest that I do now, please? At least, I can get wifi access for a while, I suppose, but something clearly is still not right.

The wifi connection keeps dropping after a few minutes now and iwconfig shows power management on even though I have switched it off!

Cheers. Colin.

----Original message----
From : <email address hidden>
Date : 21/09/2016 - 21:32 (BST)
To : <email address hidden>
Subject : Re: [Question #370118]: I can't access wifi since upgrading to Ubuntu 16.04 and have accidentally deleted network manager and now can't reinstall it

Your question #370118 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/370118

    Status: Open => Answered

Manfred Hampl proposed the following answer:
If the Wifi connection drops again, dies iwconfig show power management
off or on?

The udev change should care for automatically turning it off, this might
reduce the number of commands needed to revive the connection to the
first two. (Still not the status as it should be.)

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=104

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/370118

You received this question notification because you asked the question.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#107

Sorry that the WLAN is still dropping despite all the attempts so far.

What I recommend to do in any case:

Try getting WLAN running (with the three commands from above)
sudo modprobe -r rt61pci
sudo modprobe rt61pci
sudo iwconfig wlan0 power off
Try updating your system with the commands

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install ubuntu-desktop

If one of the commands fails because of dropping connection, revive the connection and restart the command until all packages are installed/updated.

There is one additional trick that I have heard about, which might be helping in some cases:
When the WLAN connection is up, open an additional terminal window (with ctrl-alt-t) and issue the command
ping 8.8.8.8
This will produce an endless list of network messages (hopefully confirming responses).
Just leave that terminal window open in the background and check whether WLAN connection stays up.

Revision history for this message
Colin Ball (colinb1950) said :
#108

O.K., thanks, Manfred. Will try all this and let you know.

Cheers. Colin.

Sent from my iPad

> On 22 Sep 2016, at 08:22, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Sorry that the WLAN is still dropping despite all the attempts so far.
>
> What I recommend to do in any case:
>
> Try getting WLAN running (with the three commands from above)
> sudo modprobe -r rt61pci
> sudo modprobe rt61pci
> sudo iwconfig wlan0 power off
> Try updating your system with the commands
>
> sudo apt-get update
> sudo apt-get dist-upgrade
> sudo apt-get install ubuntu-desktop
>
> If one of the commands fails because of dropping connection, revive the
> connection and restart the command until all packages are
> installed/updated.
>
> There is one additional trick that I have heard about, which might be helping in some cases:
> When the WLAN connection is up, open an additional terminal window (with ctrl-alt-t) and issue the command
> ping 8.8.8.8
> This will produce an endless list of network messages (hopefully confirming responses).
> Just leave that terminal window open in the background and check whether WLAN connection stays up.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=106
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#109

Hi, Manfred.

I've done all that now, thanks, and the WLAN network seems stable - for now, anyway! The only possible issue was one query, set out below. All other processes seemed to go well.

in response to command sudo apt-get update I had this in the last line of output:

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/chrome/deb stable InRelease' doesn't support architecture 'i386'

Thanks for all your help and support through this. I am really grateful for your patience and perseverance. I am going to close this question now, as I can't really see what else that you could do to help. You have given me a means to get access to WLAN network, if all else fails, through the commands:

sudo modprobe -r rt61pci
sudo modprobe rt61pci nohwcrypt=Y
sudo iwconfig wlan0 power off

Cheers. Colin.

----Original message----
From : <email address hidden>
Date : 22/09/2016 - 08:22 (BST)
To : <email address hidden>
Subject : Re: [Question #370118]: I can't access wifi since upgrading to Ubuntu 16.04 and have accidentally deleted network manager and now can't reinstall it

Your question #370118 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/370118

    Status: Open => Answered

Manfred Hampl proposed the following answer:
Sorry that the WLAN is still dropping despite all the attempts so far.

What I recommend to do in any case:

Try getting WLAN running (with the three commands from above)
sudo modprobe -r rt61pci
sudo modprobe rt61pci
sudo iwconfig wlan0 power off
Try updating your system with the commands

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install ubuntu-desktop

If one of the commands fails because of dropping connection, revive the
connection and restart the command until all packages are
installed/updated.

There is one additional trick that I have heard about, which might be helping in some cases:
When the WLAN connection is up, open an additional terminal window (with ctrl-alt-t) and issue the command
ping 8.8.8.8
This will produce an endless list of network messages (hopefully confirming responses).
Just leave that terminal window open in the background and check whether WLAN connection stays up.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/370118/+confirm?answer_id=106

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/370118

You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#110

I have now done this, Manfred, and all seems O.K. Thanks so much for all your help and support through this. I am really grateful for your patience, perseverance and expert knowledge.

Revision history for this message
Manfred Hampl (m-hampl) said :
#111

The warning

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/chrome/deb stable InRelease' doesn't support architecture 'i386'

is caused by the fact that google does no more provide a 32bit version of chrome on their web pages.
If you disable the google chrome repository, this last warning should also disappear.

Revision history for this message
Colin Ball (colinb1950) said :
#112

O.K., thanks, Manfred.

Cheers. Colin.

----Original message----
From : <email address hidden>
Date : 23/09/2016 - 09:48 (BST)
To : <email address hidden>
Subject : Re: [Question #370118]: I can't access wifi since upgrading to Ubuntu 16.04 and have accidentally deleted network manager and now can't reinstall it

Your question #370118 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/370118

Manfred Hampl posted a new comment:
The warning

N: Skipping acquire of configured file 'main/binary-i386/Packages' as
repository 'http://dl.google.com/linux/chrome/deb stable InRelease'
doesn't support architecture 'i386'

is caused by the fact that google does no more provide a 32bit version of chrome on their web pages.
If you disable the google chrome repository, this last warning should also disappear.

--
You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#113

O.K., thanks, Manfred.

Cheers. Colin.

----Original message----
From : <email address hidden>
Date : 23/09/2016 - 09:48 (BST)
To : <email address hidden>
Subject : Re: [Question #370118]: I can't access wifi since upgrading to Ubuntu 16.04 and have accidentally deleted network manager and now can't reinstall it

Your question #370118 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/370118

Manfred Hampl posted a new comment:
The warning

N: Skipping acquire of configured file 'main/binary-i386/Packages' as
repository 'http://dl.google.com/linux/chrome/deb stable InRelease'
doesn't support architecture 'i386'

is caused by the fact that google does no more provide a 32bit version of chrome on their web pages.
If you disable the google chrome repository, this last warning should also disappear.

--
You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#114

O.K., thanks, Manfred.

Cheers. Colin.
----Original message----
From : <email address hidden>
Date : 23/09/2016 - 09:48 (BST)
To : <email address hidden>
Subject : Re: [Question #370118]: I can't access wifi since upgrading to Ubuntu 16.04 and have accidentally deleted network manager and now can't reinstall it

Your question #370118 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/370118

Manfred Hampl posted a new comment:
The warning

N: Skipping acquire of configured file 'main/binary-i386/Packages' as
repository 'http://dl.google.com/linux/chrome/deb stable InRelease'
doesn't support architecture 'i386'

is caused by the fact that google does no more provide a 32bit version of chrome on their web pages.
If you disable the google chrome repository, this last warning should also disappear.

--
You received this question notification because you asked the question.

Revision history for this message
Colin Ball (colinb1950) said :
#115

How do I disable google chrome repository, please, Manfred?

Cheers. Colin.

Sent from my iPad

> On 23 Sep 2016, at 09:48, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Manfred Hampl posted a new comment:
> The warning
>
> N: Skipping acquire of configured file 'main/binary-i386/Packages' as
> repository 'http://dl.google.com/linux/chrome/deb stable InRelease'
> doesn't support architecture 'i386'
>
> is caused by the fact that google does no more provide a 32bit version of chrome on their web pages.
> If you disable the google chrome repository, this last warning should also disappear.
>
> --
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#116

You can either use the configuration dialogue in the package management programs, or you can delete the related config file.

The command

grep chrome /etc/apt/sources.list.d/*.list

should show the file name (probably /etc/apt/sources.list.d/google-chrome.list)
Then issue the command

sudo rm /etc/apt/sources.list.d/google-chrome.list
(Replace /etc/apt/sources.list.d/google-chrome.list by the correct filename from the previous command if it is different!)

Revision history for this message
Colin Ball (colinb1950) said :
#117

Thanks, Manfred.

Cheers. Colin.

Sent from my iPad

> On 23 Sep 2016, at 11:02, Manfred Hampl <email address hidden> wrote:
>
> Your question #370118 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/370118
>
> Manfred Hampl posted a new comment:
> You can either use the configuration dialogue in the package management
> programs, or you can delete the related config file.
>
> The command
>
> grep chrome /etc/apt/sources.list.d/*.list
>
> should show the file name (probably /etc/apt/sources.list.d/google-chrome.list)
> Then issue the command
>
> sudo rm /etc/apt/sources.list.d/google-chrome.list
> (Replace /etc/apt/sources.list.d/google-chrome.list by the correct filename from the previous command if it is different!)
>
> --
> You received this question notification because you asked the question.