On 17/02/2017 18:51, stefania wrote:
> Before networkmanager starts managing connection, i have to switch from
> 
> http://ik40.home/index.html
> 
> connection on, otherwise, nm, is not able to connect disconnect, once
> switched on
> 
> and led is red without blink, then, network manager is able to set on off
> 
> using nmcli or nm-applet, if dongle is not switched form ik40.home,
> there is no way to run networkmanager, nmcli or nm-applet set up or down
> the connection but led is blinking and there is no connection.
> 
> The weird thing is that when switch is off from ik40.home if i switch on
> from nmcli or nm-applet, i can ping names, but not numbers.
> 
> ex ping 8.8.8.8 doesnt work
> 
> ping facebook.com works
> 
> 
> thanks for help
> 

I don't have an answer, just sharing my thoughts...

I think the ik40 Alcatel dongle sets itself like the default gw and dns,
and till the default bearer (data connection) on the dongle is not
activated it will redirect all dns queries and traffic on its own
embedded portal (so each dns name will be resolved to the private IP of
the dongle).

Seems the dongle is of type Remote NDIS (RNDIS), I don't know much about
the control interface of these devices...
Probably the device can be controlled from the embedded web server, so
from that, one can setup and tear down the data bearer (data connection)
via the web interface. This is what you are doing on the ik40.home site
I guess.
I'm not sure if there is any other supported method to switch this on
and off: can you control it directly via ModemManager?

Otherwise one can probably setup a custom solution (as should be
targeted on the specific web interface available in the embedded
web-server) with curl and dispatcher scripts in order to switch the
dongle connection on/off when NM activates/deactivates the connection
with the dongle: NM connection manages the IP connection from the host
to the dongle, but the "data connection" (the data bearer) from the
dongle to the Internet requires a separate management.

Francesco




> lsusb -v -d 1bbb:0195
> 
> Bus 001 Device 007: ID 1bbb:0195 T & A Mobile Phones
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass            0
>   bDeviceSubClass         0
>   bDeviceProtocol         0
>   bMaxPacketSize0        64
>   idVendor           0x1bbb T & A Mobile Phones
>   idProduct          0x0195
>   bcdDevice            2.42
>   iManufacturer           1 Alcatel
>   iProduct                2 Mobilebroadband
>   iSerial                 3 1234567890ABCDE
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           98
>     bNumInterfaces          3
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0x80
>       (Bus Powered)
>     MaxPower              500mA
>     Interface Association:
>       bLength                 8
>       bDescriptorType        11
>       bFirstInterface         0
>       bInterfaceCount         2
>       bFunctionClass        224 Wireless
>       bFunctionSubClass       1 Radio Frequency
>       bFunctionProtocol       3 RNDIS
>       iFunction               8 RNDIS
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass       224 Wireless
>       bInterfaceSubClass      1 Radio Frequency
>       bInterfaceProtocol      3 RNDIS
>       iInterface              6 RNDIS Communications Control
>       ** UNRECOGNIZED:  05 24 00 10 01
>       ** UNRECOGNIZED:  05 24 01 00 01
>       ** UNRECOGNIZED:  04 24 02 00
>       ** UNRECOGNIZED:  05 24 06 00 01
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x82  EP 2 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0008  1x 8 bytes
>         bInterval               9
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       0
>       bNumEndpoints           2
>       bInterfaceClass        10 CDC Data
>       bInterfaceSubClass      0
>       bInterfaceProtocol      0
>       iInterface              7 RNDIS Ethernet Data
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0200  1x 512 bytes
>         bInterval               0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x01  EP 1 OUT
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0200  1x 512 bytes
>         bInterval               0
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        2
>       bAlternateSetting       0
>       bNumEndpoints           2
>       bInterfaceClass         8 Mass Storage
>       bInterfaceSubClass      6 SCSI
>       bInterfaceProtocol     80 Bulk-Only
>       iInterface              4 Mass Storage
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x02  EP 2 OUT
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0200  1x 512 bytes
>         bInterval               1
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x83  EP 3 IN
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0200  1x 512 bytes
>         bInterval               0
> Device Qualifier (for other device speed):
>   bLength                10
>   bDescriptorType         6
>   bcdUSB               2.00
>   bDeviceClass            0
>   bDeviceSubClass         0
>   bDeviceProtocol         0
>   bMaxPacketSize0        64
>   bNumConfigurations      1
> Device Status:     0x0000
>   (Bus Powered)
> 
> _______________________________________________
> networkmanager-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/networkmanager-list

-- 
Francesco Giudici
Software Engineer, EMEA
RED HAT | TRIED. TESTED. TRUSTED.
_______________________________________________
networkmanager-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to