Activation Codes and Methods, Hardware Details, Sniffing
-
julio
- Posts: 3
- Joined: 20 Mar 2014, 11:47
Post
by julio » 17 Apr 2014, 09:16
Hello All,
With support of Bjørn Mork I was able to use the 4G modem Olicard500 - Olivetti in my Ubuntu 12.04.
Please refer to below files for the needed changes:
Insert in the file /lib/udev/rules.d/40-usb_modeswitch.rules the follow information:
Code: Select all
# Olivetti Olicard 500
ATTR{idVendor}=="0b3c", ATTR{idProduct}=="f017", RUN+="usb_modeswitch '%b/%k'"
and then
Include in the file /usr/share/usb_modeswitch/configPack.tar.gz
The file name: 0b3c:f017
With the follow information:
Code: Select all
# Olivetti Olicard 500
DefaultVendor= 0x0b3c
DefaultProduct= 0xf017
TargetVendor= 0x0b3c
TargetProduct= 0xc00b
MessageContent="5553424312345678000000000000061b000000020000000000000000000000"
NeedResponse=1
I would like to ask you if it is possible to update those files.
My best regards,
Julio Araujo
-
LOM
- Posts: 1404
- Joined: 11 Jul 2012, 15:14
- Location: Koh Samui, TH
Post
by LOM » 18 Apr 2014, 03:55
Hi Julio and thanks for the report, it will be included in next update of the usb_modeswitch data package.
can you please paste the output from lsusb v -d 0b3c:c00b so I can see what kind of interface the dongle has.
I assume that there are serial interfaces for ppp dialup as well as a qmi interface for a direct ethernet connection.
Do you have access to some other Olicards which are still unsupported by usb_modeswitch and linux ?
I am looking for info about the 310, the 315, the 300, and the 700
-
julio
- Posts: 3
- Joined: 20 Mar 2014, 11:47
Post
by julio » 18 Apr 2014, 06:51
Hi LOM,
Unfortunately I only have the model Olicard500, anyway I can try asking for some friends if they are using one of Ollivet model, but I'm not able to promise if I will be able to have those models.
I'm not a programmer and also I'm not familiar with the terminology of QMI, but after I made the configuration that I reported in the post my Ubuntu 12.04 automatically asked to me to create a new ppp connection in order to use this modem so I did that and everything works fine.
If there is anything else that I can do please let me know.
Follow the printout that you requested:
Code: Select all
julio@mynote:/etc/udev/rules.d$ sudo lsusb -v -d 0b3c:c00b
[sudo] password for julio:
Bus 001 Device 014: ID 0b3c:c00b Olivetti Techcenter
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0b3c Olivetti Techcenter
idProduct 0xc00b
bcdDevice 0.00
iManufacturer 3 USBModem
iProduct 2 Olicard 500
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 138
bNumInterfaces 5
bConfigurationValue 1
iConfiguration 1 USBModem Configuration
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
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 32
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 32
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
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 32
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
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 0x83 EP 3 IN
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 3
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 5
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 5
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
julio@mynote:/etc/udev/rules.d$
-
LOM
- Posts: 1404
- Joined: 11 Jul 2012, 15:14
- Location: Koh Samui, TH
Post
by LOM » 18 Apr 2014, 08:00
Thanks for the lsusb listing, I guess your ppp connection is on ttyUSB2, right?
I'd say that interface #4 in your listing is a net type interface which makes sense since this is an LTE CAT3 dongle (100/50 Mbps) and you can not reach those speeds on ppp dial-up.
Did Bjorn ask you for the MS Windows .inf files? If not, can you please provide them?
They are copied from the dongles install cd-rom together with the Connection Manager software when you plug the stick for the first time into a computer running MS Windows.
Usually to be found under a drivers folder in the folder under Program Files where the connection manager gets installed. The .inf files will tell what each interface is intended for.
-
julio
- Posts: 3
- Joined: 20 Mar 2014, 11:47
Post
by julio » 18 Apr 2014, 08:49
Yes I think so my ppp connection is on ttyUSB2.
I'm attaching a file with all .inf file that I found in the folder inside program files at connection manager.
Also I used the usbpcap tool that Bjørn recommended in order to get the communication between Win7 and the modem, so I'm also attaching the .pcap files in the file modem.tar.gz.
File: modem-01.pcap => only plug and un-plug the modem in the USB.
File: modem-03.pcap => after plug the modem I started the application for to connect in the network then I connect and at end I disconnect and un-plug the modem.
I hope this can also help.
BR/
Julio
-
Attachments
-
- modem.tar.gz
- pcaps files
- (1.38 MiB) Downloaded 468 times
-
- olivetti.rar
- All .inf in folder under Program Files related to the connection manager.
- (897.05 KiB) Downloaded 478 times
-
LOM
- Posts: 1404
- Joined: 11 Jul 2012, 15:14
- Location: Koh Samui, TH
Post
by LOM » 18 Apr 2014, 12:13
Thanks for the .inf files, they sorted out the interface usage question.