Choose style:

Author Topic: SOLVED: Where do I report a bug in the Network Manager?  (Read 499 times)

0 Members and 1 Guest are viewing this topic.

Offline Ulysses_

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 0
  • New Forum User
    • View Profile
SOLVED: Where do I report a bug in the Network Manager?
« on: June 07, 2019, 03:10:59 am »
The "Shared to other computers" feature in Network Manager connections does not work. Could show details but is this the right place for such bug reporting if it is not peppermint's fault?
« Last Edit: June 16, 2019, 06:35:22 am by Ulysses_ »

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 2997
  • Karma: 560
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: Where do I report a bug in the Network Manager?
« Reply #1 on: June 07, 2019, 08:08:05 am »
It's as good a place as any to start

The techy guys can then look at it and advise if it needs reporting elsewhere

Regards Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25288
  • Karma: 2793
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Where do I report a bug in the Network Manager?
« Reply #2 on: June 07, 2019, 09:07:39 am »
For Ubuntu (and its derivatives) here:
https://bugs.launchpad.net/ubuntu/+source/network-manager

It's usually best to google <packagename> launchpad .. or search for the packagename on launchpad itself.

That said, can you first explain what the issue you're having is here .. then we might be in a better position to say if it's a Peppermint specific issue, or whether it should be reported upstream.
« Last Edit: June 07, 2019, 09:10:46 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ulysses_

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 0
  • New Forum User
    • View Profile
Re: Where do I report a bug in the Network Manager?
« Reply #3 on: June 08, 2019, 07:24:38 am »
How to reproduce with VM's and a USB WIFI device:
Download Peppermint-10-20190514-amd64.iso.
Create 2 vmware VM's called "gateway" and "browser", both with ubuntu-64 as the o/s and the above iso image connected.
On both VM's set the Network Adapter to Custom, VMnet4.

Boot the gateway VM and wait until it shows the Network Manager icon.
Connect a USB WIFI device to the VM.
A list of WIFI networks appears in the Network Manager. Choose yours and log on to it.
In the Network Manager, Edit Connections and change Wired Connection 1 as follows:
IPv4 Settings set to Shared to other computers,
IPv6 Settings set to Shared to other computers.
Click on "Enable Networking" to disable networking, then again to enable it.
May need to unplug and plug the USB WIFI device (mine powers off when networking is disabled).
The USB WIFI automatically logs on to the WIFI network previously chosen.
Now the output of ifconfig is this:

ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.42.0.1  netmask 255.255.255.0  broadcast 10.42.0.255
        inet6 fe80::3370:925a:10eb:284b  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:ee:90:b5  txqueuelen 1000  (Ethernet)
        RX packets 25  bytes 6463 (6.4 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 165  bytes 29170 (29.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 242  bytes 20654 (20.6 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 242  bytes 20654 (20.6 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlx000000000001 [edited]: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.3.102  netmask 255.255.255.0  broadcast 192.168.3.255
        inet6 fe80::b1e8:c7a8:f2e:1fc5  prefixlen 64  scopeid 0x20<link>
        ether 00:00:00:00:00:01  txqueuelen 1000  (Ethernet)
        RX packets 84  bytes 7777 (7.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 131  bytes 19107 (19.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Now boot the browser VM and wait until it shows the Network Manager icon.
It fails to get an IP from the gateway by DHCP.
The output of ifconfig:

ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::5a4e:8790:64bd:17ba  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:ad:d0:8e  txqueuelen 1000  (Ethernet)
        RX packets 11027  bytes 1566059 (1.5 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 11540  bytes 1110980 (1.1 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 6683  bytes 564335 (564.3 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6683  bytes 564335 (564.3 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

The above problem occurs with all previous versions of peppermint too, except one version where it works alright: Peppermint-8-20180203-i386.iso. In this version the IPv6 Settings in the gateway's VMnet4 nic are left set to their default value of "Automatic" - there is no "Shared to other computers" option for IPv6, only for IPv4.
« Last Edit: June 08, 2019, 11:05:48 am by Ulysses_ »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25288
  • Karma: 2793
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Where do I report a bug in the Network Manager?
« Reply #4 on: June 08, 2019, 07:38:22 am »
Does it work the other way around .. ie. if 'ubuntu-64' is the gateway ?

And which version of Ubuntu ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ulysses_

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 0
  • New Forum User
    • View Profile
Re: Where do I report a bug in the Network Manager?
« Reply #5 on: June 08, 2019, 07:55:12 am »
The same live CD is used for both the gateway VM and the browser VM, both have "ubuntu-64" set as the guest when you create them.

I've seen the problem occur with no USB WIFI at all, just 2 regular nic's for the gateway. But to demonstrate that you'd need vmware's "Bridged networking" option for the one nic. Which is less secure than the USB WIFI option.
« Last Edit: June 08, 2019, 10:57:26 am by Ulysses_ »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25288
  • Karma: 2793
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Where do I report a bug in the Network Manager?
« Reply #6 on: June 08, 2019, 05:43:41 pm »
If the problem is occurring where only Ubuntu is involved, then yeah report it upstream .. but don't be surprised if they push you towards VMWare because this is a bit of a weird fringe case.

Have you tried using say WiCD instead of network-manager ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ulysses_

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 0
  • New Forum User
    • View Profile
Re: Where do I report a bug in the Network Manager?
« Reply #7 on: June 09, 2019, 03:23:14 am »
There's nothing like "Shared to other computers" in wicd as far as I can see. Comparing the version where this feature of the network manager works with the current version where it does not work, there's dnsmasq running in the version that works but not in the current version. That acts as both a DNS forwarder and a DHCP server to give IP's to clients so no wonder the client gets no IP in the current version. Tried installing dnsmasq but it fails to start because port 53 is in use.
« Last Edit: June 09, 2019, 09:28:12 am by Ulysses_ »

Offline Ulysses_

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 0
  • New Forum User
    • View Profile
Re: Where do I report a bug in the Network Manager?
« Reply #8 on: June 09, 2019, 09:27:34 am »
Tried the current version of ubuntu but the way it is configured there is no "Shared to other computers" option shown.

EDIT: Ditto for lubuntu.
« Last Edit: June 09, 2019, 01:12:26 pm by Ulysses_ »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25288
  • Karma: 2793
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Where do I report a bug in the Network Manager?
« Reply #9 on: June 09, 2019, 11:25:53 am »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ulysses_

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 0
  • New Forum User
    • View Profile
Re: Where do I report a bug in the Network Manager?
« Reply #10 on: June 16, 2019, 05:48:43 am »
Found what the problem is. Peppermint needs to have the dnsmasq package added but configured to only act as a DHCP server, which is done by adding the lines

port=0
dhcp-option=option:dns-server,10.42.0.1

to /etc/dnsmasq.conf.

Then "Shared with other computers" works. Other computers get IP's and 10.42.0.1 as the DNS server which is provided by systemd.resolved.
« Last Edit: June 16, 2019, 08:33:18 am by Ulysses_ »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25288
  • Karma: 2793
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: SOLVED: Where do I report a bug in the Network Manager?
« Reply #11 on: June 16, 2019, 07:56:59 am »
Always great when people post a discovered solution that could help others, so many thanks for the update Ulysses_, much appreciated :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ulysses_

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 0
  • New Forum User
    • View Profile
Re: SOLVED: Where do I report a bug in the Network Manager?
« Reply #12 on: June 16, 2019, 08:37:19 am »
Thanks. Let's not forget, the whole point of the "Share to other computers" feature is so users don't have to type anything. Will the fix be coming in future updates?

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25288
  • Karma: 2793
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: SOLVED: Where do I report a bug in the Network Manager?
« Reply #13 on: June 16, 2019, 08:43:50 am »
I'll look into whether it's feasible for us to fix.

Do you know if any of the *buntu 18.04's are pre-configured in this way ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ulysses_

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 0
  • New Forum User
    • View Profile
Re: SOLVED: Where do I report a bug in the Network Manager?
« Reply #14 on: June 16, 2019, 08:58:17 am »
I don't know, sorry.