Re: Developing for NetworkManager on Ubuntu

2021-06-14 Thread Sasa Ostrouska via networkmanager-list
On Mon, Jun 14, 2021 at 11:38 AM Grumbach, Emmanuel via networkmanager-list wrote: > Hi, > > Are there any BKMs on how to hack on the code in Ubuntu? > I compiled my code, replaced the binary but then, when I try to start the > service with: > > sudo service NetworkManager start > > I get > >

Developing for NetworkManager on Ubuntu

2021-06-14 Thread Grumbach, Emmanuel via networkmanager-list
Hi, Are there any BKMs on how to hack on the code in Ubuntu? I compiled my code, replaced the binary but then, when I try to start the service with: sudo service NetworkManager start I get Jun 14 09:55:16 tglu226 NetworkManager[13711]: Cannot create '/usr/local/var/run/NetworkManager':

Re: Developing for NetworkManager on Ubuntu

2021-06-14 Thread Emmanuel Grumbach via networkmanager-list
On Mon, Jun 14, 2021 at 10:36 AM Emmanuel Grumbach wrote: > > Hi, > > Are there any BKMs on how to hack on the code in Ubuntu? > I compiled my code, replaced the binary but then, when I try to start > the service with: > > sudo service NetworkManager start I invoked the NetworkManager binary

Developing for NetworkManager on Ubuntu

2021-06-14 Thread Emmanuel Grumbach via networkmanager-list
Hi, Are there any BKMs on how to hack on the code in Ubuntu? I compiled my code, replaced the binary but then, when I try to start the service with: sudo service NetworkManager start I get Jun 14 09:55:16 tglu226 NetworkManager[13711]: Cannot create '/usr/local/var/run/NetworkManager':

Re: Preserve MAC address for a specific device

2021-06-08 Thread Thomas Haller via networkmanager-list
On Tue, 2021-06-08 at 19:03 +0700, Pedro Ribeiro wrote: > On Tue, 2021-06-08 at 12:37 +0200, Thomas Haller wrote: > > That means the effectively used > >    value can first always be configured for each profile, and > > these > >    default values only matter if the per-profile values > >

Re: Preserve MAC address for a specific device

2021-06-08 Thread Pedro Ribeiro via networkmanager-list
On Tue, 2021-06-08 at 12:37 +0200, Thomas Haller wrote: > That means the effectively used >    value can first always be configured for each profile, and > these >    default values only matter if the per-profile values > explicitly >    indicates to use the default from

Re: Preserve MAC address for a specific device

2021-06-08 Thread Thomas Haller via networkmanager-list
On Tue, 2021-06-08 at 15:17 +0700, Pedro Ribeiro via networkmanager- list wrote: > Hi, > > I have the following configuration in spoof.conf in order to anonymise > MAC addresses when connecting to a network: > > [device-mac-randomization] > wifi.scan-rand-mac-address=yes > >

Preserve MAC address for a specific device

2021-06-08 Thread Pedro Ribeiro via networkmanager-list
Hi, I have the following configuration in spoof.conf in order to anonymise MAC addresses when connecting to a network: [device-mac-randomization] wifi.scan-rand-mac-address=yes [connection-mac-randomization] ethernet.cloned-mac-address=stable wifi.cloned-mac-address=stable However, this

modem disconnects after a minute

2021-06-06 Thread Juan A. Rubio via networkmanager-list
Hi, I have an embedded system (buildroot-based) and I'm using NM 1.20.4 and MM 1.16.4. I have two NM connections configured and I want them active at startup. One is an ethernet with DHCP and the other is a gsm connection. Both connections get activated correctly when the system comes up but the

Re: openvpn.conf working on the CLI and with systemd but not with NM: wrong IPv6 setting when configuring the tun interface?

2021-06-04 Thread Samuel Le Thiec via networkmanager-list
On Thu, 2021-06-03 at 17:44 +0200, Beniamino Galvani wrote: > On Thu, Jun 03, 2021 at 07:17:31AM +, Samuel Le Thiec via > networkmanager-list wrote: > > Hi, > > > For a moment I thought that Network Manager may be assuming a > > point-to-point topology > > for > > the VPN instead of the

Bonding using nmcli for OVS

2021-06-03 Thread Abu Rasheda via networkmanager-list
I have created an active-backup bond using nmcli under OVS. nmcli conn add type ovs-bridge conn.interface Bridge0 nmcli conn add type ovs-port conn.interface Bond0 master Bridge0 ovs-port.bond-mode active-backup nmcli conn add type ethernet conn.interface enp0s9 master Bond0 nmcli conn add type

Re: openvpn.conf working on the CLI and with systemd but not with NM: wrong IPv6 setting when configuring the tun interface?

2021-06-03 Thread Beniamino Galvani via networkmanager-list
On Thu, Jun 03, 2021 at 07:17:31AM +, Samuel Le Thiec via networkmanager-list wrote: Hi, > For a moment I thought that Network Manager may be assuming a point-to-point > topology for > the VPN instead of the "topology subnet" as specified in the server.conf, so > I did try to > 'push

Re: openvpn.conf working on the CLI and with systemd but not with NM: wrong IPv6 setting when configuring the tun interface?

2021-06-03 Thread Samuel Le Thiec via networkmanager-list
On Tue, 2021-06-01 at 21:52 +, Samuel Le Thiec via networkmanager-list wrote: > > On Tue, 2021-06-01 at 13:27 +, Samuel Le Thiec via networkmanager-list > wrote: > > Note: sorry for the potential duplicate email, I sent it before & after > > having > > registered to the list! > > > >

Re: openvpn.conf working on the CLI and with systemd but not with NM: wrong IPv6 setting when configuring the tun interface?

2021-06-01 Thread Samuel Le Thiec via networkmanager-list
Hello again:) I don't know why this would be needed, but I noticed this can be worked around by pushing the route towards the server-ipv6 subnet from the openvpn server, with the directive: push "route-ipv6 2001:bc8:3d1d:1337::/64" I can totally live with that, but is it the expected

Re: Support for Intel Active Management Technology over wireless in Linux

2021-06-01 Thread Emmanuel Grumbach via networkmanager-list
On Tue, Jun 1, 2021 at 8:26 PM Thomas Haller wrote: > > On Thu, 2021-05-27 at 21:40 +0300, Emmanuel Grumbach via > networkmanager-list wrote: > > > > Disclaimer: This feature is available only on vPRO Platforms. > > > > Question to the NM maintainers: > > Would you consider merging patches that

Re: Support for Intel Active Management Technology over wireless in Linux

2021-06-01 Thread Thomas Haller via networkmanager-list
On Thu, 2021-05-27 at 21:40 +0300, Emmanuel Grumbach via networkmanager-list wrote: > > Disclaimer: This feature is available only on vPRO Platforms. > > Question to the NM maintainers: > Would you consider merging patches that would implement this? Definitely. The most important property for

Re: dhclient-${IFNAME}.conf stopped working after upgrade FC32 -> FC34

2021-06-01 Thread Thomas Haller via networkmanager-list
Hi, First of all, as always: enable level=TRACE logging and look at the logs and have them ready for inspection. Read [1] for hints about logging. [1]

openvpn.conf working on the CLI and with systemd but not with NM: wrong IPv6 setting when configuring the tun interface?

2021-06-01 Thread Samuel Le Thiec via networkmanager-list
Note: sorry for the potential duplicate email, I sent it before & after having registered to the list! Hello all, I have a working openvpn config (see below) which I can't get to fully work with Network Manager: the private IPv6 network is not accessible when connecting to the VPN with NM(*).

openvpn.conf working on the CLI and with systemd but not with NM: wrong IPv6 setting when configuring the tun interface?

2021-06-01 Thread Samuel Le Thiec via networkmanager-list
Hello all, Please, make sure to CC me in your replies so I'm sure to get them! I have a working openvpn config (see below) which I can't get to fully work with Network Manager: the private IPv6 network is not accessible when connecting to the VPN with NM(*). Here is what I get for tun0 when

Re: dhclient-${IFNAME}.conf stopped working after upgrade FC32 -> FC34

2021-05-31 Thread Jason Vas Dias via networkmanager-list
I did try : 'set ipv4.dns 127.0.0.1 save persistant ' in 'nmcli c e $uuid', but this did not work either after an up / down - /etc/resolv.conf was not updated to contain only '127.0.0.1' - it did ALSO contain '127.0.0.1', but as a suffix, not a prefix - this is not what I want . This did

dhclient-${IFNAME}.conf stopped working after upgrade FC32 -> FC34

2021-05-31 Thread Jason Vas Dias via networkmanager-list
Good day - On an FC32 x86_64 box, which I just successfully upgraded to FC34 , now running NM 1.30.4-1.fc34.x86_64 : I had some custom dhclient configuration files, which used to be honored by NM - ie. they took effect before upgrade, but not after:

Support for Intel Active Management Technology over wireless in Linux

2021-05-27 Thread Emmanuel Grumbach via networkmanager-list
Hello, I am Emmanuel Grumbach from the wireless group at Intel. We added support for Intel Active Management Technology over wireless in Linux and wanted to touch base with the NetworkManager's community because this feature needs integration with the NetworkManager. Let me first explain what

Support for Intel Active Management Technology over wireless in Linux

2021-05-27 Thread Emmanuel Grumbach via networkmanager-list
Hello, I am Emmanuel Grumbach from the wireless group at Intel. We added support for Intel Active Management Technology over wireless in Linux and wanted to touch base with the NetworkManager's community because this feature needs integration with the NetworkManager. Let me first explain what

Re: Network Manager + ovsdb issues

2021-05-25 Thread Abu Rasheda via networkmanager-list
see inline On Tue, May 25, 2021 at 12:24 AM Thomas Haller wrote: > Hi, > > > On Mon, 2021-05-24 at 14:35 -0700, Abu Rasheda via networkmanager-list > wrote: > > Hello, > > > > I am seeing two issues with NM and ovsdb. Issue # 2 is more critical. > > > > In my configuration, I have two bridges

Re: Network Manager + ovsdb issues

2021-05-25 Thread Thomas Haller via networkmanager-list
Hi, On Mon, 2021-05-24 at 14:35 -0700, Abu Rasheda via networkmanager-list wrote: > Hello, > > I am seeing two issues with NM and ovsdb. Issue # 2 is more critical. > > In my configuration, I have two bridges in OVS. On one of the bridge, > the interface needs to be under Network Manager, so I

Network Manager + ovsdb issues

2021-05-24 Thread Abu Rasheda via networkmanager-list
Hello, I am seeing two issues with NM and ovsdb. Issue # 2 is more critical. In my configuration, I have two bridges in OVS. On one of the bridge, the interface needs to be under Network Manager, so I have changed commands to: nmcli conn add type ovs-bridge conn.interface nmcli conn add type

Re: NM 1.20.4 and wpa_supplicant v2.9

2021-05-20 Thread Beniamino Galvani via networkmanager-list
On Thu, May 20, 2021 at 02:07:08PM +0200, Juan A. Rubio via networkmanager-list wrote: > Hello, > > I'm using NetworkManager version 1.20.4 on a device with a > Buildroot-based custom Linux distribution. The version of > wpa_supplicant is 2.9 and I've noticed that this version of supplicant >

Re: NM 1.20.4 and wpa_supplicant v2.9

2021-05-20 Thread Thomas Haller via networkmanager-list
On Thu, 2021-05-20 at 14:07 +0200, Juan A. Rubio via networkmanager- list wrote: > Hello, > > I'm using NetworkManager version 1.20.4 on a device with a > Buildroot-based custom Linux distribution. The version of > wpa_supplicant is 2.9 and I've noticed that this version of > supplicant > has

NM 1.20.4 and wpa_supplicant v2.9

2021-05-20 Thread Juan A. Rubio via networkmanager-list
Hello, I'm using NetworkManager version 1.20.4 on a device with a Buildroot-based custom Linux distribution. The version of wpa_supplicant is 2.9 and I've noticed that this version of supplicant has lost the -u flag E.g. from wpa_supplicant v2.6's help message " -u = enable DBus control

Re: NetworkManager CAN Support

2021-05-11 Thread Thomas Haller via networkmanager-list
Hi, On Tue, 2021-05-11 at 13:23 +, Kraxner, Josef AVL/AT via networkmanager-list wrote: > Hello, >   > I have one question regarding CAN support in NetworkManager. I tried > to set up CAN within NetworkManager, but it doesn’t work. > Then I noticed that there is anyway no CAN connection type

How to Setup a “Split Tunnel” with VPN

2021-05-11 Thread Thomas von der Elbe via networkmanager-list
Hey there! I would like to ask you guys, if it is possible with the NetworkManager to setup a “Split Tunnel”? I recently set up a VPN (openvpn) connection and now everything goes through it. But I would like to visit some websites etc. without going through the VPN-connection. ... Is that

NetworkManager CAN Support

2021-05-11 Thread Kraxner, Josef AVL/AT via networkmanager-list
Hello, I have one question regarding CAN support in NetworkManager. I tried to set up CAN within NetworkManager, but it doesn't work. Then I noticed that there is anyway no CAN connection type available (nmcli connection add type can ifname can0 -> bad connection type: can) Did I something

Re: Mac andom does not work with wl driver

2021-05-10 Thread Bhasker C V via networkmanager-list
Hi, I am wondering why the cloned mac is not working. As such this is for sure not a driver issue, since I am able to setup a random mac and able to easiy successfully connect manually using wpa_supplicant. So it is network manager doing something which wl does not like. Could that be unset so

Re: Mac andom does not work with wl driver

2021-05-10 Thread Bhasker C V via networkmanager-list
Thank you very much Beniamino Galvani, I tried b43 driver and the performance was very poort for my BCM4331 (macbook pro) wifi. Hence I moved to wl. I give it another try On Mon, May 10, 2021 at 8:07 AM Beniamino Galvani wrote: > On Mon, May 10, 2021 at 01:32:59AM +0100, Bhasker C V via >

AW: AccessPoint 5GHz DFS Channel Radar Detection Failure

2021-05-10 Thread Stärk Nadja
Hello, thanks for your answer. I'm creating the connection on band wifi band a using this command: nmcli con add type wifi ifname wlan0 autoconnect yes ssid $(hostname) 802-11-wireless.mode ap 802-11-wireless.band a 802-11-wireless.channel 100 ipv4.addresses 192.168.201.1/24 ipv4.method

Re: Mac andom does not work with wl driver

2021-05-10 Thread Beniamino Galvani via networkmanager-list
On Mon, May 10, 2021 at 01:32:59AM +0100, Bhasker C V via networkmanager-list wrote: > Hi, > > My wifi works (thanks for bwtnguy who pointed me to the issue) > However when I turn on > wifi.cloned-mac-address=stable > The NM does not connect to wifi anymore. > > My driver is wl. I use it with

Re: AccessPoint 5GHz DFS Channel Radar Detection Failure

2021-05-10 Thread Beniamino Galvani via networkmanager-list
On Wed, May 05, 2021 at 09:16:44AM +, Stärk Nadja wrote: > Hello, > > I'm working with NetworkManager v1.22.8 and face some issues with my 5 GHz > access point. > > I need to create it on DFS channel 100 and when a radar event is detected the > channel should be switched. > > Debug output

Mac andom does not work with wl driver

2021-05-09 Thread Bhasker C V via networkmanager-list
Hi, My wifi works (thanks for bwtnguy who pointed me to the issue) However when I turn on wifi.cloned-mac-address=stable The NM does not connect to wifi anymore. My driver is wl. I use it with BCM4331 chip wifi card. debian bullseye (NetworkManager==1.30.0 wpa_supplicant==v2.9) Is this a known

AccessPoint 5GHz DFS Channel Radar Detection Failure

2021-05-05 Thread Stärk Nadja
Hello, I'm working with NetworkManager v1.22.8 and face some issues with my 5 GHz access point. I need to create it on DFS channel 100 and when a radar event is detected the channel should be switched. Debug output of wpa_supplicant is enabled. If I send a radar event through the debugfs to

Re: link-local fallback

2021-04-27 Thread Thomas Haller via networkmanager-list
Hi, On Tue, 2021-04-27 at 12:04 +, Michel, Matthias via networkmanager- list wrote: > Hi > I'm using the dhcp=systemd setting in the networkmanager v1.30.2. Btw, dhcp=systemd is an (intentionally) undocumented option. Eventually it will be replaced and behave the same as dhcp=internal. In

link-local fallback

2021-04-27 Thread Michel, Matthias via networkmanager-list
Hi I'm using the dhcp=systemd setting in the networkmanager v1.30.2. I have a requirement to switch to a fallback link-local when the dhcp is not available and to return from link-local to dhcp when it is back. What I was able to configure was the fallback to link-local. But switching to dhcp

Telefonica Germany / o2 enabled dualstack

2021-04-25 Thread Thomas Schäfer
Hi, Recently Telefonica Germany started to enable ipv6 in its mobile network for all customers. For me a reason to retest my LTE-modems/sticks. 1und1-xsstick-W1208. 1und1-zte-mf79 alcatel-ik40 quectel-ec25 em7565-mbim em7565-qmi mc7304-mbim mc7304-qmi mc7455-mbim mc7455-qmi me909s-120

Re: Erroneous "mismatching interface name" error?

2021-04-19 Thread Lars Kellogg-Stedman via networkmanager-list
On Mon, Apr 19, 2021 at 04:29:55PM +0200, Thomas Haller wrote: > On Mon, 2021-04-19 at 09:59 -0400, Lars Kellogg-Stedman via > networkmanager-list wrote: > > Why was this connection trying to use eno1 instead of eno2? > > Because NetworkManager is looking for a suitable device, but it > couldn't

Re: multiple profiles

2021-04-19 Thread Thomas Haller via networkmanager-list
On Mon, 2021-04-19 at 10:32 -0700, Abu Rasheda wrote: > Thanks, for the reply! > > So I have to check manually? no way nmcli saying file exits and quit. > (because it will still make a file with name ifcfg-xxx-1 if ifcfg-xxx > exist). Hi, not sure why you ask so much about the filename. If you

Re: multiple profiles

2021-04-19 Thread Abu Rasheda via networkmanager-list
Thanks, for the reply! So I have to check manually? no way nmcli saying file exits and quit. (because it will still make a file with name ifcfg-xxx-1 if ifcfg-xxx exist). On Fri, Apr 16, 2021 at 11:27 PM Thomas Haller wrote: > On Fri, 2021-04-16 at 17:57 -0700, Abu Rasheda via

Re: Erroneous "mismatching interface name" error?

2021-04-19 Thread Thomas Haller via networkmanager-list
On Mon, 2021-04-19 at 09:59 -0400, Lars Kellogg-Stedman via networkmanager-list wrote: > I have a system (an OpenShift bare metal node running RHCOS > 47.83.202103051045-0) with NetworkManager 1.26.0. The system recently > lost its public ip address. When I logged into the system, I saw: > >    

Erroneous "mismatching interface name" error?

2021-04-19 Thread Lars Kellogg-Stedman via networkmanager-list
I have a system (an OpenShift bare metal node running RHCOS 47.83.202103051045-0) with NetworkManager 1.26.0. The system recently lost its public ip address. When I logged into the system, I saw: # nmcli c show NAMEUUID TYPE DEVICE

Re: multiple profiles

2021-04-17 Thread Thomas Haller via networkmanager-list
On Fri, 2021-04-16 at 17:57 -0700, Abu Rasheda via networkmanager-list wrote: > E.g. running the following command multiple times > > nmcli conn add type ethernet > > will create multiple files > > -rw-r--r--. 1 root root 270 Apr 16 20:53 ifcfg-ethernet > -rw-r--r--. 1 root root 272 Apr 16

Re: Output silence!

2021-04-17 Thread Thomas Haller via networkmanager-list
Hi, On Fri, 2021-04-16 at 17:52 -0700, Abu Rasheda via networkmanager-list wrote: > When a command is executed using nmcli, on the success a line like the > following is printed. > > Connection 'eth0-ethernet' (a24480cb-f5d6-40a6-a716-dba09ab53d07) > successfully added. > > Is it possible to

multiple profiles

2021-04-16 Thread Abu Rasheda via networkmanager-list
E.g. running the following command multiple times nmcli conn add type ethernet will create multiple files -rw-r--r--. 1 root root 270 Apr 16 20:53 ifcfg-ethernet -rw-r--r--. 1 root root 272 Apr 16 20:54 ifcfg-ethernet-1 Is it possible for nmcli to see that ifcfg-ethernet already exist and not

Output silence!

2021-04-16 Thread Abu Rasheda via networkmanager-list
When a command is executed using nmcli, on the success a line like the following is printed. Connection 'eth0-ethernet' (a24480cb-f5d6-40a6-a716-dba09ab53d07) successfully added. Is it possible to not have this line go to standard out? without using ">" operator. May some switch can be passed to

Re: Network Manager Wifi AP without WPS Pin?

2021-04-16 Thread Florian Klein
Hello Thomas, Sorry for the late reply. Georg Müller (https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/756 ) also highlighted the approach of back porting the patch and rebuild

Re: Network Manager Wifi AP without WPS Pin?

2021-04-09 Thread Thomas Haller via networkmanager-list
On Fri, 2021-04-09 at 10:41 +0200, Florian Klein wrote: > Hello Thomas,  > > Thanks a lot for your reply. This is really helpful. > > In the meantime I found that this issue got fixed last month in > Network Manager:  >

Re: Network Manager Wifi AP without WPS Pin?

2021-04-09 Thread Florian Klein
Hello Thomas, Thanks a lot for your reply. This is really helpful. In the meantime I found that this issue got fixed last month in Network Manager: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/756 But because we do not have a way to use the latest version it

Re: Network Manager Wifi AP without WPS Pin?

2021-04-09 Thread Thomas Haller via networkmanager-list
On Wed, 2021-04-07 at 17:18 +0200, Florian Klein wrote: > Dear Network Manager Experts,  > > we are opening an Access Point with network manager (on a RPI4 with > Raspbian) and everything is working fine except that when connecting > from Windows 10 we are asked for a pin first (probably wps pin)

Network Manager Wifi AP without WPS Pin?

2021-04-07 Thread Florian Klein
Dear Network Manager Experts, we are opening an Access Point with network manager (on a RPI4 with Raspbian) and everything is working fine except that when connecting from Windows 10 we are asked for a pin first (probably wps pin) instead of getting shown directly the passphrase field to

Re: manage a modem connection

2021-03-31 Thread Édouard Debry via networkmanager-list
I went through the nm-connection-edit process and indeed, it works with "nmcli con up nameofconnection". This settles a IP address for the wwan interface as expected and, mmcli shows a bearer. Thank you very much for guiding me towards the solution Best Regards Edouard On mar., mars 30

Re: Add new apn

2021-03-31 Thread Aleksander Morgado
Hey Socrates, On Wed, Mar 31, 2021 at 7:44 PM socrates via networkmanager-list wrote: > > hello, I am very satisfied with the work being developed by the > community and its supporters, I would like to add a new APN that > belongs to a new mobile operator in my country >

Add new apn

2021-03-31 Thread socrates via networkmanager-list
hello, I am very satisfied with the work being developed by the community and its supporters, I would like to add a new APN that belongs to a new mobile operator in my country (https://pt.wikipedia.org/wiki/Mo % C3% A7ambique). The operator is called Movitel (https://movitel.co.mz). The

Re: manage a modem connection

2021-03-30 Thread edouard debry via networkmanager-list
Thanks for the piece of advice. I try that. Regards Le mar. 30 mars 2021 à 14:47, Aleksander Morgado a écrit : > Hey, > > > >> I have a "e3372h-153" Huawei 4G USB dongle. > > >> > > >> This dongle works with the "huawei_cdc_ncm" kernel driver. > > >> > > >> Once connected, two devices appear

Re: manage a modem connection

2021-03-30 Thread Aleksander Morgado
Hey, > >> I have a "e3372h-153" Huawei 4G USB dongle. > >> > >> This dongle works with the "huawei_cdc_ncm" kernel driver. > >> > >> Once connected, two devices appear : /dev/ttyUSB0 and > >> /dev/cdc-wdm1. > >> These ones are used to talk to the modem itself. > >> > >> There is also a network

Re: manage a modem connection

2021-03-29 Thread Édouard Debry via networkmanager-list
On lun., mars 29 2021, Aleksander Morgado wrote: Hey Thanks for your answeer. I have a "e3372h-153" Huawei 4G USB dongle. This dongle works with the "huawei_cdc_ncm" kernel driver. Once connected, two devices appear : /dev/ttyUSB0 and /dev/cdc-wdm1. These ones are used to talk to the

Re: manage a modem connection

2021-03-29 Thread Aleksander Morgado
Hey > > I have a "e3372h-153" Huawei 4G USB dongle. > > This dongle works with the "huawei_cdc_ncm" kernel driver. > > Once connected, two devices appear : /dev/ttyUSB0 and > /dev/cdc-wdm1. > These ones are used to talk to the modem itself. > > There is also a network interface appearing, which

manage a modem connection

2021-03-29 Thread Édouard Debry via networkmanager-list
Hello, I have a "e3372h-153" Huawei 4G USB dongle. This dongle works with the "huawei_cdc_ncm" kernel driver. Once connected, two devices appear : /dev/ttyUSB0 and /dev/cdc-wdm1. These ones are used to talk to the modem itself. There is also a network interface appearing, which is (I

Re: how to create bridge on main interface?

2021-03-24 Thread Jan Hutař via networkmanager-list
On 2021-03-23 16:42 +0100, Thomas Haller wrote: On Tue, 2021-03-23 at 15:28 +0100, Jan Hutař via networkmanager-list wrote: Hello. Hopefully this is good place to ask. If not, please suggest something else. For quite some time I'm trying to figure out how to create a bridge using main network

Re: how to create bridge on main interface?

2021-03-23 Thread Thomas Haller via networkmanager-list
On Tue, 2021-03-23 at 15:28 +0100, Jan Hutař via networkmanager-list wrote: > Hello. > > Hopefully this is good place to ask. If not, please suggest something > else. > > For quite some time I'm trying to figure out how to create a bridge > using main network interface (the only one which is

how to create bridge on main interface?

2021-03-23 Thread Jan Hutař via networkmanager-list
Hello. Hopefully this is good place to ask. If not, please suggest something else. For quite some time I'm trying to figure out how to create a bridge using main network interface (the only one which is routable to the host). I have tried these Ansible tasks: - name: "Get {{ public_nic }}

Re: Consent, maybe?

2021-03-23 Thread Adam Sherlock via networkmanager-list
You are all awesome, thank you for the projects to be confused by. On Tue, Mar 23, 2021 at 6:07 AM Gris Ge wrote: > On Fri, Mar 19, 2021 at 12:04:51PM +0100, Thomas Haller via > networkmanager-list wrote: > > On Fri, 2021-03-19 at 12:03 +0100, Thomas Haller via networkmanager- > > list wrote: >

Re: Consent, maybe?

2021-03-23 Thread Gris Ge via networkmanager-list
On Fri, Mar 19, 2021 at 12:04:51PM +0100, Thomas Haller via networkmanager-list wrote: > On Fri, 2021-03-19 at 12:03 +0100, Thomas Haller via networkmanager- > list wrote: > > On Fri, 2021-03-19 at 06:52 -0400, Adam Sherlock via networkmanager- > > list wrote: > > > > Hi, > > I forgot to say:

Re: Consent, maybe?

2021-03-19 Thread Thomas Haller via networkmanager-list
On Fri, 2021-03-19 at 12:03 +0100, Thomas Haller via networkmanager- list wrote: > On Fri, 2021-03-19 at 06:52 -0400, Adam Sherlock via networkmanager- > list wrote: > Hi, I forgot to say: Good luck!! :) Any maybe you'd like to get inspired (or contribute) to

Re: Consent, maybe?

2021-03-19 Thread Thomas Haller via networkmanager-list
On Fri, 2021-03-19 at 06:52 -0400, Adam Sherlock via networkmanager- list wrote: > Hello I'm new to programming and in the process of learning Rust. I > was looking into possibly using your code as a sort of template for > writing a similar network manager in Rust. I'm not sure if this would >

Consent, maybe?

2021-03-19 Thread Adam Sherlock via networkmanager-list
Hello I'm new to programming and in the process of learning Rust. I was looking into possibly using your code as a sort of template for writing a similar network manager in Rust. I'm not sure if this would fall under LPGL or not so I figured I'd ask first if it does and if so could I get consent

AW: GSM: MBIM: How to select authentication type PAP, CHAP etc.

2021-03-15 Thread embedded (VIVAVIS AG)
Hi Aleksander, thank you for your fast reply and clarification. Best regards Carsten ___ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list

Re: GSM: MBIM: How to select authentication type PAP, CHAP etc.

2021-03-12 Thread Aleksander Morgado
Hey > What I'm missing is a setting like 'gsm.auth-type'. > Can anyone point me in the right direction? In NetworkManager you configure what auth types you should NOT use; by default all these are "no": ppp.refuse-eap: no ppp.refuse-pap: no

GSM: MBIM: How to select authentication type PAP, CHAP etc.

2021-03-12 Thread embedded (VIVAVIS AG)
Hi, I've got a question to understand, how the authentication type of a GSM connection using MBIM protocol can be configured by NM. Found the GSM based settings here: https://developer.gnome.org/NetworkManager/stable/settings-gsm.html I'm using NM and MM on an embedded system, speaking MBIM

Re: "A 'wireless' setting is required if no AP path was given."

2021-03-02 Thread Steve Newcomb
On 3/2/21 1:38 AM, Thomas Haller wrote: I would try to solve those interruptions, instead of adding a cron job like this... again, the (trace/debug) logfile is the way to go. Good advice, many thanks! Meanwhile, the real problem turned out to be the exasperated parents of a game-addicted,

Re: "A 'wireless' setting is required if no AP path was given."

2021-03-01 Thread Thomas Haller via networkmanager-list
On Mon, 2021-03-01 at 10:54 -0500, Steve Newcomb wrote: > I have 2 hosts that experience interruptions in their > NetworkManager-managed wifi connections. > > In an attempt to force the hosts to restore their wifi connections > more promptly than they otherwise would, I have them running a cron >

"A 'wireless' setting is required if no AP path was given."

2021-03-01 Thread Steve Newcomb
I have 2 hosts that experience interruptions in their NetworkManager-managed wifi connections. In an attempt to force the hosts to restore their wifi connections more promptly than they otherwise would, I have them running a cron job called "keepWirelessAlive.py" every 3 minutes.  If wifi is

Re: ModemManager and muxed network interfaces

2021-02-23 Thread Aleksander Morgado
Hey Thomas, > > I'm working on setting up muxed network interfaces with ModemManager > > so that e.g. you can connect to multiple APNs at the same time, each > > with its own subnet on a different virtual network interface link > > created from the "master" wwan modem interface. These links can

Re: "unreachable" routes

2021-02-22 Thread Robert Vogelgesang
Hi Thomas, think of this system as a VPN Access Concentrator. "unreachable" routes are used to avoid "ping-pong-storms" between this system and the gateway for networks that currently aren't connected. That's a simpler solution than to use a dynamic routing protocol. I think we'll go with

Re: "unreachable" routes

2021-02-22 Thread Thomas Haller via networkmanager-list
On Thu, 2021-02-18 at 12:28 +0100, Robert Vogelgesang wrote: > Hello @all, > > currently I'm trying to update an old server running CentOS 6, which > doesn't use NetworkManager, to a system with Networkmanager 1.26.0. > I'm strugging to find the correct syntax to define "unreachable" > routes. >

Re: Device unavailable

2021-02-22 Thread Thomas Haller via networkmanager-list
On Mon, 2021-02-22 at 10:54 +0100, Guillaume Betous wrote: > Hi list ! > > We are producing iMX6 based products. We flash the exact same image to > all of them. The image contains Wi-Fi setting for a first connexion. > Sometimes (say one > of ten), the device is not connecting. > > On those

Error base network connection interrupted

2021-02-22 Thread Denis Ronchese via networkmanager-list
Hi! I'm currently working with a SimCom SIM7000E-based Raspberry hat, using ModemManager and NetworkManager to handle the GSM connection (and the GPS location data too). Raspberry OS version is 10 (buster), ModemManager version is 1.10.0, NetworkManager version is 1.14.6, qmicli version is

Device unavailable

2021-02-22 Thread Guillaume Betous
Hi list ! We are producing iMX6 based products. We flash the exact same image to all of them. The image contains Wi-Fi setting for a first connexion. Sometimes (say one of ten), the device is not connecting. On those devices, we see that the wlan0 is "unavailable". $ nmcli dev wlan0

ANN: NetworkManager 1.30.0 released

2021-02-18 Thread Thomas Haller via networkmanager-list
Hi everybody, On behalf of the NetworkManager community, I am happy to announce a new release of NetworkManager: 1.30.0. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/fc29a96097e0f11ab963c27036b6b8b3e1f3d42b Find the tarball at our usual location:

"unreachable" routes

2021-02-18 Thread Robert Vogelgesang
Hello @all, currently I'm trying to update an old server running CentOS 6, which doesn't use NetworkManager, to a system with Networkmanager 1.26.0. I'm strugging to find the correct syntax to define "unreachable" routes. In CentOS 6 this could be done by creating a file, e. g.

Re: ModemManager and muxed network interfaces

2021-02-16 Thread Thomas Haller via networkmanager-list
On Mon, 2021-02-15 at 21:25 +0100, Aleksander Morgado wrote: > Hey all, > > I'm working on setting up muxed network interfaces with ModemManager > so that e.g. you can connect to multiple APNs at the same time, each > with its own subnet on a different virtual network interface link > created

ModemManager and muxed network interfaces

2021-02-15 Thread Aleksander Morgado
Hey all, I'm working on setting up muxed network interfaces with ModemManager so that e.g. you can connect to multiple APNs at the same time, each with its own subnet on a different virtual network interface link created from the "master" wwan modem interface. These links can be done either

Re: Networkmanager cannot wifi scan callback after S3 or S4 resume

2021-02-07 Thread Heysion Yuan via networkmanager-list
>> Wi-Fi handling was significantly reworked. Please try the latest >> version whether it still has the issue. I was tested NM 1.28 and found it . but the problem was automatically quickly recovered normal after the nm-dispatcher service restarted . Thomas Haller 于2021年2月8日周一 下午3:03写道: > > Hi,

Re: Networkmanager cannot wifi scan callback after S3 or S4 resume

2021-02-07 Thread Heysion Yuan via networkmanager-list
Thanks for your notification and I have got that . >> Look at all the logs by enabling level=TRACE level. I used log-level=DEBUG And This debug message with add into src/devices/nm-device.c from me . ```code static void _set_state_full (NMDevice *self, NMDeviceState state, NMDeviceStateReason

Re: Networkmanager cannot wifi scan callback after S3 or S4 resume

2021-02-07 Thread Thomas Haller via networkmanager-list
Hi, On Sun, 2021-02-07 at 11:53 +0800, Heysion Yuan via networkmanager-list wrote: > > I found the NM didn't trigger scan_done probabilistically after S3 or > S4 resume . > I traced the NM do_sleep_wake  is normal and trigger scan by dbus to > wpa ,the wpa push scan result to dbus. > but NM

Networkmanager cannot wifi scan callback after S3 or S4 resume

2021-02-06 Thread Heysion Yuan via networkmanager-list
Hello all I found the NM didn't trigger scan_done probabilistically after S3 or S4 resume . I traced the NM do_sleep_wake is normal and trigger scan by dbus to wpa ,the wpa push scan result to dbus. but NM didn't trigger scan_done signal and fetch scan result on dbus. and I debug the device

ODP: NM 1.22.10 and hotspot

2021-02-06 Thread Piotr Lobacz
Ok I have managed with it myself. The problem was indeed the missing netfilter_xt_match_state, but also systemd_resolved service was broken because of wrong time in the system. BR Piotr Lobacz Od: networkmanager-list w imieniu użytkownika Piotr Lobacz

ODP: NM 1.22.10 and hotspot

2021-02-06 Thread Piotr Lobacz
Ok i've found the problem. Missing CONFIG_NETFILTER_XT_MATCH_STATE=y in the kernel. Now the rule is being applied but i still don't have internet access. Any suggestions? Od: networkmanager-list w imieniu użytkownika Piotr Lobacz Wysłane: sobota, 6 lutego

ODP: NM 1.22.10 and hotspot

2021-02-06 Thread Piotr Lobacz
BTW. i have found an error in NetworkManager during hotspot creation. This is the part of the log with the warn: 06 11:48:53 px30-64 NetworkManager[237]: [1612612133.7233] Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlan0 --protocol tcp --destination-port 53

NM 1.22.10 and hotspot

2021-02-06 Thread Piotr Lobacz
Hi all, i have successfully configured hotspot using this command: nmcli device wifi hotspot password 12345678 ssid softgent on px30 board which is using realtek wifi (out of tree driver). When i connect to my hotspot from my mobile it all works except that i have no internet access. I can log

Re: Trouble converting full OpenVPN tunnel to split tunnel

2021-02-04 Thread Chris Coutinho via networkmanager-list
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Wed, 2021-02-03 at 12:25 +0100, Thomas Haller wrote: > On Wed, 2021-02-03 at 12:08 +0100, Chris Coutinho via networkmanager- > list wrote: > > Hello NM folks, > > > > I'm running into a problem converting an OpenVPN "full" tunnel > >

Re: Trouble converting full OpenVPN tunnel to split tunnel

2021-02-04 Thread Chris Coutinho via networkmanager-list
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Wed, 2021-02-03 at 12:25 +0100, Thomas Haller wrote: > On Wed, 2021-02-03 at 12:08 +0100, Chris Coutinho via networkmanager- > list wrote: > > Hello NM folks, > > > > I'm running into a problem converting an OpenVPN "full" tunnel > >

Re: Trouble converting full OpenVPN tunnel to split tunnel

2021-02-03 Thread Chris Coutinho via networkmanager-list
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Wed, 2021-02-03 at 12:25 +0100, Thomas Haller wrote: > On Wed, 2021-02-03 at 12:08 +0100, Chris Coutinho via networkmanager- > list wrote: > > Hello NM folks, > > > > I'm running into a problem converting an OpenVPN "full" tunnel > >

Re: Trouble converting full OpenVPN tunnel to split tunnel

2021-02-03 Thread Thomas Haller via networkmanager-list
On Wed, 2021-02-03 at 12:08 +0100, Chris Coutinho via networkmanager- list wrote: > Hello NM folks, > > I'm running into a problem converting an OpenVPN "full" tunnel > configuration to > a split tunnel configuration. I've received an .ovpn file from a > client which, > by default, routes all my

<    1   2   3   4   5   6   7   8   9   10   >