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


<CUT here...>


[ 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


<CUT here...>


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:~#

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to