Angstrom USB networking Verizon Modem

I am using the Beaglebone Black with Anstrom Distribution 3.8.13 trying to connect to a 551L Verizon modem. I have used the commands “lsusb” and “dmesg” to find out which usb port it is connected with. In my C code I am able to read and write AT commands to the modem and get a CONNECTED response. What steps do I need to take for the BBB to recognize the modem and add a new connection in “ifconfig”?

I would either like to add eth1 and connect it to “/dev/ttyUSB0”.
or modify eth0 and connect it to the same “/dev/ttyUSB0”

Is there an a good approach to either of the choices above? Or am I way off course?
Thanks in advance.

root@beaglebone:~# ifconfig
eth0 Link encap:Ethernet HWaddr 90:59:AF:67:76:64
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:56

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 B) TX bytes:560 (560.0 B)

usb0 Link encap:Ethernet HWaddr 6E:79:60:7C:A1:68
inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5950 errors:0 dropped:0 overruns:0 frame:0
TX packets:2292 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:497691 (486.0 KiB) TX bytes:1452105 (1.3 MiB)
root@beaglebone:~# lsusb
Bus 001 Device 002: ID 1410:b001 Novatel Wireless
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@beaglebone:~# dmesg

[ 2407.414249] gadget: rndis reqa1.01 v0000 i0000 l4096
[ 2408.219610] [drm:output_poll_execute], [CONNECTOR:5:HDMI-A-1] status updated from 2 to 2
[ 2410.811051] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[ 2410.811188] hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
[ 2410.811243] usb 1-1: USB disconnect, device number 2
[ 2410.811282] usb 1-1: unregistering device
[ 2410.811322] usb 1-1: unregistering interface 1-1:1.0
[ 2410.812180] option1 ttyUSB0: option_instat_callback: error -108
[ 2410.818493] musb-hdrc musb-hdrc.1.auto: shutdown urb d9b10cc0 ep1in-intr
[ 2410.828947] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 2410.829136] option 1-1:1.0: device disconnected
[ 2410.829350] usb 1-1: unregistering interface 1-1:1.1
[ 2410.833384] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 2410.833559] option 1-1:1.1: device disconnected
[ 2410.833782] usb 1-1: unregistering interface 1-1:1.2
[ 2410.837569] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 2410.837744] option 1-1:1.2: device disconnected
[ 2410.837952] usb 1-1: unregistering interface 1-1:1.4
[ 2410.841168] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[ 2410.841344] option 1-1:1.4: device disconnected
[ 2410.841551] usb 1-1: unregistering interface 1-1:1.6
[ 2410.844300] usb 1-1: unregistering interface 1-1:1.7
[ 2410.844763] usb 1-1: usb_disable_device nuking all URBs
[ 2410.953682] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
[ 2411.059046] usb 1-1: new high-speed USB device number 3 using musb-hdrc
[ 2411.179674] usb 1-1: config 1 has an invalid interface number: 6 but max is 5
[ 2411.179727] usb 1-1: config 1 has an invalid interface number: 7 but max is 5
[ 2411.179768] usb 1-1: config 1 has an invalid interface number: 7 but max is 5
[ 2411.179807] usb 1-1: config 1 has no interface number 3
[ 2411.179842] usb 1-1: config 1 has no interface number 5
[ 2411.179928] usb 1-1: skipped 1 descriptor after endpoint
[ 2411.180077] usb 1-1: skipped 3 descriptors after interface
[ 2411.180125] usb 1-1: skipped 1 descriptor after endpoint
[ 2411.180563] usb 1-1: default language 0x0409
[ 2411.181726] usb 1-1: udev 3, busnum 1, minor = 2
[ 2411.181778] usb 1-1: New USB device found, idVendor=1410, idProduct=b001
[ 2411.181820] usb 1-1: New USB device strings: Mfr=4, Product=3, SerialNumber=5
[ 2411.181858] usb 1-1: Product: Novatel Wireless 4G
[ 2411.181893] usb 1-1: Manufacturer: Novatel Wireless, Inc.
[ 2411.182021] usb 1-1: SerialNumber: 990000463466821
[ 2411.183189] usb 1-1: usb_probe_device
[ 2411.183242] usb 1-1: configuration #1 chosen from 1 choice
[ 2411.184618] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[ 2411.185267] option 1-1:1.0: usb_probe_interface
[ 2411.185337] option 1-1:1.0: usb_probe_interface - got id
[ 2411.185452] option 1-1:1.0: GSM modem (1-port) converter detected
[ 2411.188273] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 2411.189234] usb 1-1: adding 1-1:1.1 (config #1, interface 1)
[ 2411.189918] option 1-1:1.1: usb_probe_interface
[ 2411.189987] option 1-1:1.1: usb_probe_interface - got id
[ 2411.190098] option 1-1:1.1: GSM modem (1-port) converter detected
[ 2411.194151] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 2411.194877] usb 1-1: adding 1-1:1.2 (config #1, interface 2)
[ 2411.195494] option 1-1:1.2: usb_probe_interface
[ 2411.195562] option 1-1:1.2: usb_probe_interface - got id
[ 2411.197893] option 1-1:1.2: GSM modem (1-port) converter detected
[ 2411.198893] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 2411.199766] usb 1-1: adding 1-1:1.4 (config #1, interface 4)
[ 2411.200361] option 1-1:1.4: usb_probe_interface
[ 2411.200429] option 1-1:1.4: usb_probe_interface - got id
[ 2411.200537] option 1-1:1.4: GSM modem (1-port) converter detected
[ 2411.203793] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
[ 2411.204525] usb 1-1: adding 1-1:1.6 (config #1, interface 6)
[ 2411.205035] cdc_ether 1-1:1.6: usb_probe_interface
[ 2411.205080] cdc_ether 1-1:1.6: usb_probe_interface - got id
[ 2411.205824] usb 1-1: adding 1-1:1.7 (config #1, interface 7)
[ 2411.209758] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[ 2411.209861] hub 1-0:1.0: port 1 enable change, status 00000503
[ 2412.071402] gadget: rndis req21.00 v0000 i0000 l36
[ 2412.074449] gadget: rndis reqa1.01 v0000 i0000 l4096
[ 2412.074703] gadget: rndis req21.00 v0000 i0000 l36
[ 2412.074767] gen_ndis_query_resp: RNDIS_OID_GEN_RCV_NO_BUFFER

root@beaglebone:~# ifconfig
eth0 Link encap:Ethernet HWaddr 90:59:AF:67:76:64
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:56

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 B) TX bytes:560 (560.0 B)

usb0 Link encap:Ethernet HWaddr 6E:79:60:7C:A1:68
inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5950 errors:0 dropped:0 overruns:0 frame:0
TX packets:2292 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:497691 (486.0 KiB) TX bytes:1452105 (1.3 MiB)

root@beaglebone:~#

Execute to more details:

$ lsusb -vvv

ppp0 no one will be created?

I already used HUAWEY, and he recognized as ttyUSB0 but the connection is ppp.

What specific information are you looking for from “lsusb -vvv”? I posted it below. I am still not able to see the network option “ppp0” or “eth1”. I have tried Anstrom Distribution 3.8.13 and Ubuntu 14.04.

lsusb -vvv

Bus 001 Device 002: ID 1410:b001 Novatel Wireless Ovation MC551
Couldn’t open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x1410 Novatel Wireless
idProduct 0xb001 Ovation MC551
bcdDevice 0.15
iManufacturer 4
iProduct 3
iSerial 5
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 231
bNumInterfaces 6
bConfigurationValue 1
iConfiguration 2
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
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 0x81 EP 1 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 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 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 0x83 EP 3 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 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 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
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 32
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
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 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 Association:
bLength 8
bDescriptorType 11
bFirstInterface 6
bInterfaceCount 2
bFunctionClass 2 Communications
bFunctionSubClass 0
bFunctionProtocol 0
iFunction 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 6
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 6 Ethernet Networking
bInterfaceProtocol 0
iInterface 0
CDC Header:
bcdCDC 1.10
CDC Ethernet:
iMacAddress 1 (??)
bmEthernetStatistics 0x00000000
wMaxSegmentSize 1544
wNumberMCFilters 0x0001
bNumberPowerFilters 0
CDC Union:
bMasterInterface 6
bSlaveInterface 7
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
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 7
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 7
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
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
** UNRECOGNIZED: 2c ff 42 49 53 54 00 01 07 06 40 00 00 00 00 00 01 07 f4 01 02 08 f4 01 03 09 88 13 04 0a 10 27 05 0b 10 27 06 0c f4 01 07 0d f4 01

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn’t open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 3.08
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn’t open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 3.08
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
ubuntu@arm:~$