Re: [DNG] 3G modem support in devuan jessie network-manager

2018-03-03 Thread Juergen Moebius


On Friday ,  03-02-2018  at14:12   Juergen Moebius wrote:

> Only "network-manager" ignores the Modem, i think this
> is a ugly bug in devuan jessie!!!

I have spend many ours with this problem and i have a solution.
I have downloaded the jessie package from DEBIAN and unpacked it:

dpkg -x network-manager_0.9.10.0-7_amd64.deb /root/nm-debian/

Next I exchanged the Devuan Binary "/usr/sbin/NetworkManager"
with the binary from the original Debian Package.

After Reboot i plug in my GSM Modem and I do not trust my eyes:

IT WORKED PERFECT

IMHO it's an shitty ugly bug in Devuan Jessie, perhaps the maintainer
of the package "network-manager" read this here and build the
package new.

Greeting,
Juergen Moebius

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] 3G modem support in devuan jessie network-manager

2018-03-02 Thread Juergen Moebius
Hi Arnt,

Am Freitag, den 02-03-2018 um 13:07 schrieb Arnt Karlsen:
> ..e.g. dmesg will often report missing driver firmware failures.

No, this is not a firmware problem.
Thanks for your answer, but i wrote that the modem is present
in the system! I forgot to say that "modem-manager.gui"
can full handle the modem, Sending SMS, Showing Provider,
Speed, Location and so on.
Only "network-manager" ignores the Modem, i think this
is a ugly bug in devuan jessie!!!

Also in the classic Slackware worked the modem with the
network-manager,  ans Slacky is very very spartan!

Greetings,
Juergen Moebius
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] 3G modem support in devuan jessie network-manager

2018-03-02 Thread Arnt Karlsen
On Fri, 02 Mar 2018 11:09:05 +0100, Juergen wrote in message 
<49a0ea7c62f1817f00dfd58c016ea...@auk.ak-dyndns.org>:

> Hi,
> 
> have the network-manager in jessie support for 3G modems?
> 
> Wen i plugin a USB 3G modem, then should be starting the

..as a first step: "lsusb" or "lsusb -v" before and after you 
plug in anything usb, then "dmesg", to learn _whether_ your usb 
toy, indeed is known as e.g. an usb 3G modem.

..e.g. dmesg will often report missing driver firmware failures.

> modemmanager, but in devuan jessie nothing happened.
> 
> Wen imanually starts the modemmanager und then i plugin
> the modem, this output comes in daemon.log:
> 
> Mar  2 11:02:38 devuan-wkst ModemManager[3048]: 
> (tty/ttyUSB0): released by
> modem /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.3 Mar  2
> 11:02:38 devuan-wkst ModemManager[3048]:   (tty/ttyUSB1):
> released by modem /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.3
> Mar  2 11:02:38 devuan-wkst ModemManager[3048]: 
> (tty/ttyUSB2): released by
> modem /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.3 Mar  2
> 11:03:05 devuan-wkst ModemManager[3048]:   (ttyUSB1): port
> attributes not fully set Mar  2 11:03:05 devuan-wkst
> ModemManager[3048]:   (ttyUSB2): port attributes not fully set
> Mar  2 11:03:06 devuan-wkst ModemManager[3048]:   (ttyUSB0):
> port attributes not fully set Mar  2 11:03:18 devuan-wkst
> ModemManager[3048]:   Creating modem with plugin 'ZTE' and '3'
> ports Mar  2 11:03:18 devuan-wkst ModemManager[3048]: 
> (ttyUSB2): port attributes not fully set Mar  2 11:03:18 devuan-wkst
> ModemManager[3048]:   Modem for device at
> '/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.3' successfully
> created Mar  2 11:03:18 devuan-wkst ModemManager[3048]: 
> (ttyUSB2) response array is not empty when using cached reply,
> cleaning up 5 bytes Mar  2 11:03:19 devuan-wkst ModemManager[3048]:
>   Modem: state changed (unknown -> disabled)
> 
> "mmcli -L shows this:
> 
> Found 1 modems:
>   /org/freedesktop/ModemManager1/Modem/1 [ZTE CORPORATION] MF190
> 
> And wen i configure "/etc/wvdial.conf":
> 
> Dialer 3G]
> Init2 = ATZ
> Init3 = ATQ0 V1 E1 S0=0   +FCLASS=0
> Init5 = AT+CGDCONT=1,"IP"
> ISDN = 0
> Modem = /dev/ttyUSB2
> Modem Type = Analog Modem
> Baud = 460800
> 
> and type this on command line:
> 
> root@devuan-wkst:~# wvdial 3G
> --> WvDial: Internet dialer version 1.61
> --> Initializing modem.
> --> Sending: ATZ  
> OK
> --> Sending: ATZ  
> OK
> --> Sending: ATQ0 V1 E1 S0=0   +FCLASS=0  
> OK
> --> Sending: AT+CGDCONT=1,"IP"  
> AT+CGDCONT=1,"IP"
> OK
> --> Modem initialized.  
> 
> The modem should be worked, but the network-manager ignores the modem!
> 
> Have the network-manager no support for 3G Modems?
> 
> In an Debian Jessie installation the modem works with
> network-manager, also in Slackware 14.2!
> 
> Thanks,
> Juergen Moebius
> 
> 
> 
> 
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] 3G modem support in devuan jessie network-manager

2018-03-02 Thread Juergen Moebius
Hi,

have the network-manager in jessie support for 3G modems?

Wen i plugin a USB 3G modem, then should be starting the
modemmanager, but in devuan jessie nothing happened.

Wen imanually starts the modemmanager und then i plugin
the modem, this output comes in daemon.log:

Mar  2 11:02:38 devuan-wkst ModemManager[3048]:   (tty/ttyUSB0): released 
by modem /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.3
Mar  2 11:02:38 devuan-wkst ModemManager[3048]:   (tty/ttyUSB1): released 
by modem /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.3
Mar  2 11:02:38 devuan-wkst ModemManager[3048]:   (tty/ttyUSB2): released 
by modem /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.3
Mar  2 11:03:05 devuan-wkst ModemManager[3048]:   (ttyUSB1): port 
attributes not fully set
Mar  2 11:03:05 devuan-wkst ModemManager[3048]:   (ttyUSB2): port 
attributes not fully set
Mar  2 11:03:06 devuan-wkst ModemManager[3048]:   (ttyUSB0): port 
attributes not fully set
Mar  2 11:03:18 devuan-wkst ModemManager[3048]:   Creating modem with 
plugin 'ZTE' and '3' ports
Mar  2 11:03:18 devuan-wkst ModemManager[3048]:   (ttyUSB2): port 
attributes not fully set
Mar  2 11:03:18 devuan-wkst ModemManager[3048]:   Modem for device at 
'/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.3' successfully created
Mar  2 11:03:18 devuan-wkst ModemManager[3048]:   (ttyUSB2) response 
array is not empty when using cached reply, cleaning up 5 bytes
Mar  2 11:03:19 devuan-wkst ModemManager[3048]:   Modem: state changed 
(unknown -> disabled)

"mmcli -L shows this:

Found 1 modems:
/org/freedesktop/ModemManager1/Modem/1 [ZTE CORPORATION] MF190

And wen i configure "/etc/wvdial.conf":

Dialer 3G]
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0   +FCLASS=0
Init5 = AT+CGDCONT=1,"IP"
ISDN = 0
Modem = /dev/ttyUSB2
Modem Type = Analog Modem
Baud = 460800

and type this on command line:

root@devuan-wkst:~# wvdial 3G
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0   +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP"
AT+CGDCONT=1,"IP"
OK
--> Modem initialized.

The modem should be worked, but the network-manager ignores the modem!

Have the network-manager no support for 3G Modems?

In an Debian Jessie installation the modem works with network-manager, also
in Slackware 14.2!

Thanks,
Juergen Moebius




___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng