Author Message

<  Setup Discussion  ~  Huawei K4203 doesnt connect

PostPosted: Fri Mar 24, 2017 7:59 pm Reply with quote
Posts: 2 Joined: Fri Mar 24, 2017 7:44 pm
Hi . I try to connect beaglebone black with Vodafone Huawei K4203 USB Modem. when i try the connect with sakis3g i got a "failed the connection"
Code:
$uname -a
Linux beaglebone 3.8.13-bone70 #1 SMP Fri Jan 23 02:15:42 UTC 2015 armv7l GNU/Linux


Code:
$lsusb -v -d 12d1:1f1c
Bus 001 Device 002: ID 12d1:1f1c Huawei Technologies Co., Ltd.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol       255
  bMaxPacketSize0        64
  idVendor           0x12d1 Huawei Technologies Co., Ltd.
  idProduct          0x1f1c
  bcdDevice            1.02
  iManufacturer           1 Vodafone(Huawei)
  iProduct                2 HUAWEI Mobile
  iSerial                 3 FFFFFFFFFFFFFFFF
  bNumConfigurations      2
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      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     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               1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           87
    bNumInterfaces          2
    bConfigurationValue     2
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass          2 Communications
      bFunctionSubClass      14
      bFunctionProtocol       0
      iFunction               8 K4203
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass     14
      bInterfaceProtocol      0
      iInterface              5 CDC Network Control Model (NCM)
      CDC Header:
        bcdCDC               1.10
      UNRECOGNIZED CDC:  0c 24 1b 00 01 00 04 10 14 dc 05 20
      CDC Union:
        bMasterInterface        0
        bSlaveInterface         1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               9
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2
      iInterface              6 CDC Network Data
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2
      iInterface              6 CDC Network 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
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol       255
  bMaxPacketSize0        64
  bNumConfigurations      2
Device Status:     0x0001
  Self Powered



my /etc/sakis3g.conf file is
APN=live.vodafone.com
APN_USER=VF Mobile Broadband
APN_PASS=""
MODEM="OTHER"
OTHER="USBMODEM"
USBMODEM="12d1:1f1c"

Code:
$./sakis3g connect -debug
-------------------------------------------
Sakis3G 0.2.0e running on DEBUG mode.
-------------------------------------------
Fri Mar 24 12:17:14 UTC 2017
-------------------------------------------
Command line was: /tmp/sakis3gz.22423.sakis3g "connect" "-debug"
Running with PID: 22453
-------------------------------------------
Environment is:
DEBUG='on'
DESKTOP=''
DISPLAY=''
EXTRACTED='/tmp/sakis3gz.22423.sakis3g'
HOME='/root'
IFS='    
'
LANG='en_US.UTF-8'
LANGUAGE='tr_TR.UTF-8'
LC_ADDRESS='tr_TR.UTF-8'
LC_ALL='tr_TR.UTF-8'
LC_IDENTIFICATION='tr_TR.UTF-8'
LC_MEASUREMENT='tr_TR.UTF-8'
LC_MONETARY='tr_TR.UTF-8'
LC_NAME='tr_TR.UTF-8'
LC_NUMERIC='tr_TR.UTF-8'
LC_PAPER='tr_TR.UTF-8'
LC_TELEPHONE='tr_TR.UTF-8'
LC_TIME='tr_TR.UTF-8'
LOGNAME='root'
MAIL='/var/mail/root'
MEGZ='./sakis3g'
MYVERSION='0.2.0e'
NODE_PATH='/usr/local/lib/node_modules'
NOFUNCNAME='1'
OLDPWD='/root/incele/sakis3g-0.2.0e'
OPTIND='1'
PATH='/bin:/sbin:/usr/bin:/usr/sbin'
PPID='22423'
PROVIDER='./sakis3g'
PRU_C_DIR='/usr/share/ti/cgt-pru/include;/usr/share/ti/cgt-pru/lib'
PS1='# '
PS2='> '
PS4='+ '
PWD='/root'
SHELL='/bin/bash'
SHLVL='1'
SSH_CLIENT='192.168.7.1 52648 22'
SSH_CONNECTION='192.168.7.1 52648 192.168.7.2 22'
SSH_TTY='/dev/pts/0'
TERM='xterm-256color'
TRAPS='cleanscreen '
USER='root'
USERNAME=''
XAUTHORITY=''
_='./sakis3g'
allargs='"connect" "-debug"'
binaryvariable='grep'
cutbin='/usr/bin/cut'
grepbin='/bin/grep'
lastverbosetext='Starting up'
me='/tmp/sakis3gz.22423.sakis3g'
printfbin='/usr/bin/printf'
sedbin='/bin/sed'
trbin='/usr/bin/tr'
verbosecurrentcount='7'
whichbin='/bin/which'
-------------------------------------------
Will now proceed with Sakis3G execution.
-------------------------------------------
[22453] [12:17:14] Located "echo" within PATH (/bin/echo).
[22453] [12:17:14] Level 1 dependencies met.
[22453] [12:17:14] Dir "/bin" exists in PATH.
[22453] [12:17:14] Dir "/usr/bin" exists in PATH.
[22453] [12:17:14] Dir "/sbin" exists in PATH.
[22453] [12:17:15] Dir "/usr/sbin" exists in PATH.
[22453] [12:17:15] Done setting up PATH.
[22453] [12:17:15] Located "readlink" within PATH (/bin/readlink).
[22453] [12:17:15] My location is "/root/sakis3g".
[22453] [12:17:15] Located "wc" within PATH (/usr/bin/wc).
[22453] [12:17:15] Located "cat" within PATH (/bin/cat).
[22453] [12:17:15] Located "tail" within PATH (/usr/bin/tail).
[22453] [12:17:15] Located "head" within PATH (/usr/bin/head).
[22453] [12:17:15] Located "sort" within PATH (/usr/bin/sort).
[22453] [12:17:15] Located "uniq" within PATH (/usr/bin/uniq).
[22453] [12:17:15] Located "ls" within PATH (/bin/ls).
[22453] [12:17:15] Located "setsid" within PATH (/usr/bin/setsid).
[22453] [12:17:15] Located "getent" within PATH (/usr/bin/getent).
[22453] [12:17:15] Located "ps" within PATH (/bin/ps).
[22453] [12:17:15] Located "chmod" within PATH (/bin/chmod).
[22453] [12:17:15] Located "chown" within PATH (/bin/chown).
[22453] [12:17:15] Located "touch" within PATH (/bin/touch).
[22453] [12:17:15] Located "expr" within PATH (/usr/bin/expr).
[22453] [12:17:15] Located "seq" within PATH (/usr/bin/seq).
[22453] [12:17:15] Located "cp" within PATH (/bin/cp).
[22453] [12:17:15] Located "rm" within PATH (/bin/rm).
[22453] [12:17:15] Located "who" within PATH (/usr/bin/who).
[22453] [12:17:15] Located "mv" within PATH (/bin/mv).
[22453] [12:17:15] Located "basename" within PATH (/usr/bin/basename).
[22453] [12:17:15] Located "dirname" within PATH (/usr/bin/dirname).
[22453] [12:17:16] Level 2 dependencies met.
[22453] [12:17:16] Basic binaries are resolved.
[22453] [12:17:16] Parent process is: bash
[22453] [12:17:16] Running by user request.
[22453] [12:17:16] Person behind screen is root.
[22453] [12:17:16] Configuration file /etc/default/sakis3g does not exist or is not readable.
[22453] [12:17:16] Configuration file /etc/sysconfig/sakis3g does not exist or is not readable.
[22453] [12:17:16] Loading system-wide configuration file /etc/sakis3g.conf.
/-------------------------------------------------------------------------------
[22453] [12:17:16] Will now display contents of: \'/etc/sakis3g.conf\'
/-------------------------------------------------------------------------------

APN=live.vodafone.com
APN_USER=VF Mobile Broadband
APN_PASS=""
MODEM="OTHER"
OTHER="USBMODEM"
USBMODEM="12d1:1f1c"

\-------------------------------------------------------------------------------
-rw-r--r-- 1 root root 117 Mar 24 12:06 /etc/sakis3g.conf
\-------------------------------------------------------------------------------
[22453] [12:17:16] Configuration arguments are: "APN=live.vodafone.com" "APN_USER=VF Mobile Broadband" "APN_PASS=" "MODEM=OTHER" "OTHER=USBMODEM" "USBMODEM=12d1:1f1c"
[22453] [12:17:16] Parsing configuration value: APN=live.vodafone.com.
[22453] [12:17:16] Command line set variable APN to "live.vodafone.com".
[22453] [12:17:16] Parsing configuration value: APN_USER=VF Mobile Broadband.
[22453] [12:17:16] Command line set variable APN_USER to "VF Mobile Broadband".
[22453] [12:17:16] Parsing configuration value: APN_PASS=.
[22453] [12:17:16] Parsing configuration value: MODEM=OTHER.
[22453] [12:17:17] Command line set variable MODEM to "OTHER".
[22453] [12:17:17] Parsing configuration value: OTHER=USBMODEM.
[22453] [12:17:17] Command line set variable OTHER to "USBMODEM".
[22453] [12:17:17] Parsing configuration value: USBMODEM=12d1:1f1c.
[22453] [12:17:17] Command line set variable USBMODEM to "12d1:1f1c".
[22453] [12:17:17] Finished loading file /etc/sakis3g.conf.
[22453] [12:17:17] Configuration file(s) loaded.
[22453] [12:17:17] Unable to find a local X display, will stick to terminal.
[22453] [12:17:17] Selecting GUI.
[22453] [12:17:17] terminal selected as GUI.
[22453] [12:17:17] Selecting GUI.
[22453] [12:17:17] Validating pre-selected GUI: terminal
[22453] [12:17:17] terminal selected as GUI.
[22453] [12:17:17] Locale tr_TR.UTF-8 found in environment.
[22453] [12:17:17] Will attempt to get translation file from package: messages/tr_TR.UTF-8.
[22453] [12:17:17] Loaded default value for foldwrapping: 60
[22453] [12:17:17] No translations retrieved from file. Will not be using translations.
[22453] [12:17:17] Loaded default value for foldwrapping: 60
[22453] [12:17:17] Located "ifconfig" within PATH (/sbin/ifconfig).
[22453] [12:17:17] Root level dependencies met.
[22453] [12:17:17] Loading Usb-ModeSwitch device database.
[22453] [12:17:18] Embedded device database loaded.
[22453] [12:17:18] Switchable devices within embedded device database:
0421:0610 0471:1210 0471:1237 0482:024d 04e8:f000 057c:84ff 05c6:1000 05c6:2001 05c6:f000 072f:100d 0930:0d46 0ace:2011 0ace:20ff 0af0:6711 0af0:6731 0af0:6751 0af0:6771 0af0:6791 0af0:6811 0af0:6911 0af0:6951 0af0:6971 0af0:7011 0af0:7031 0af0:7051 0af0:7071 0af0:7111 0af0:7211 0af0:7251 0af0:7271 0af0:7301 0af0:7311 0af0:7361 0af0:7381 0af0:7401 0af0:7501 0af0:7601 0af0:7701 0af0:7801 0af0:7901 0af0:8200 0af0:8201 0af0:8300 0af0:8302 0af0:8304 0af0:8400 0af0:c031 0af0:c100 0af0:d013 0af0:d031 0af0:d033 0af0:d035 0af0:d055 0af0:d057 0af0:d058 0af0:d155 0af0:d157 0af0:d255 0af0:d257 0af0:d357 0b3c:c700 0fce:d0cf 0fce:d0e1 0fce:d103 1004:1000 1004:607f 1004:613a 1004:613f 1033:0035 106c:3b03 106c:3b06 1076:7f40 1199:0fff 1266:1000 12d1:1001 12d1:1003 12d1:101e 12d1:1414 12d1:1446 12d1:1520 12d1:1521 12d1:1557 1410:5010 1410:5020 1410:5030 1410:5031 1410:5041 148f:2578 16d8:6803 16d8:700a 16d8:f000 198f:bccd 19d2:0003 19d2:0026 19d2:0040 19d2:0053 19d2:0083 19d2:0101 19d2:0103 19d2:0115 19d2:1001 19d2:1007 19d2:1009 19d2:2000 19d2:fff5 19d2:fff6 1a8d:1000 1ab7:5700 1b7d:0700 1bbb:f000 1c9e:1001 1c9e:9200 1c9e:f000 1dd6:1000 1e0e:f000 1f28:0021 1fac:0130
[22453] [12:17:18] Switched devices within embedded device database:
0421:0612 0471:1206 0471:1234 04e8:6601 057c:8401 05c6:9000 072f:90cc 0930:0d45 0af0:6600 0af0:6701 0af0:6901 0b3c:c000 0b3c:c001 0b3c:c002 1004:6114 1004:6124 1004:6141 106c:3715 106c:3717 1076:7f00 1199:0017 1199:0018 1199:0019 1199:0020 1199:0021 1199:0022 1199:0024 1199:0026 1199:0027 1199:0028 1199:0029 1199:0112 1199:0120 1199:0218 1199:0220 1199:0224 1199:6802 1199:6803 1199:6804 1199:6805 1199:6808 1199:6809 1199:6812 1199:6813 1199:6815 1199:6816 1199:6820 1199:6821 1199:6822 1199:6832 1199:6833 1199:6834 1199:6835 1199:6838 1199:6839 1199:683a 1199:683b 1199:683c 1199:683d 1199:683e 1199:6850 1199:6851 1199:6852 1199:6853 1199:6855 1199:6856 1199:6859 1199:685a 1266:1002 1266:1003 1266:1004 1266:1005 1266:1006 1266:1007 1266:1008 1266:1009 1266:100a 1266:100b 1266:100c 1266:100d 1266:100e 1266:100f 1266:1011 1266:1012 12d1:1001 12d1:1003 12d1:1406 12d1:140c 12d1:141b 12d1:1464 12d1:1465 12d1:14a5 12d1:14ac 1410:4100 1410:4400 1410:6000 1410:6002 1410:7001 1410:7003 148f:9021 16d5:6502 16d8:6006 16d8:680a 198f:0220 19d2:0001 19d2:0002 19d2:0015 19d2:0016 19d2:0017 19d2:0022 19d2:0031 19d2:0037 19d2:0052 19d2:0055 19d2:0063 19d2:0064 19d2:0094 19d2:0104 19d2:0116 19d2:0124 19d2:0128 19d2:1003 19d2:1008 19d2:1010 19d2:fff1 19d2:ffff 1a8d:1002 1a8d:1009 1ab7:5731 1b7d:0001 1bbb:0000 1c9e:6061 1c9e:9000 1c9e:9063 1c9e:9202 1c9e:9603 1dbc:0005 1dd6:1002 1e0e:9000 1e0e:9200 1e0e:ce16 1e0e:cefe 1f28:0020 1fac:0131 1fe7:0100
[22453] [12:17:18] Embedded Usb-ModeSwitch device database contains 260 entries.
[22453] [12:17:18] Folder "/etc/usb_modeswitch.d" exists. Will check if it contains configuration files.
[22453] [12:17:18] Loading system supplied device database.
[22453] [12:17:18] Switchable devices within system device database:

[22453] [12:17:18] Switched devices within system device database:

[22453] [12:17:18] Finished starting up.
[22453] [12:17:18] Loaded default value for pppint: ppp0
[22453] [12:17:18] Verbosing: 7% Locating device
[22453] [12:17:18] Fetching connected USB devices by using "/sys/bus/usb/devices".
[22453] [12:17:19] Connected USB devices are:
12d1:1f1c:HUAWEI Mobile
1d6b:0002:MUSB HDRC host driver
[22453] [12:17:19] Connected USB modems are:
12d1:1f1c:HUAWEI Mobile
[22453] [12:17:19] Asking user to select: MODEM Please select modem Select modem that will be used for establishing 3G connection. Select Cancel 12d1:1f1c HUAWEI Mobile OTHER Other...
[22453] [12:17:19] Asking user to select: MODEM Please select modem Select modem that will be used for establishing 3G connection. Select Cancel 12d1:1f1c HUAWEI Mobile OTHER Other...
[22453] [12:17:19] MODEM=OTHER
[22453] [12:17:19] 12d1:1f1c!=OTHER
[22453] [12:17:19] OTHER==OTHER.
[22453] [12:17:19] User has already selected MODEM="OTHER". Returning 2.
[22453] [12:17:19] Asking user to select: OTHER Please select modem type Select modem category that best fits your 3G modem. Select Cancel USBMODEM USB device BLUETOOTH Bluetooth modem CUSTOM_TTY Custom tty...
[22453] [12:17:19] Asking user to select: OTHER Please select modem type Select modem category that best fits your 3G modem. Select Cancel USBMODEM USB device BLUETOOTH Bluetooth modem CUSTOM_TTY Custom tty...
[22453] [12:17:19] OTHER=USBMODEM
[22453] [12:17:19] USBMODEM==USBMODEM.
[22453] [12:17:19] User has already selected OTHER="USBMODEM". Returning 1.
[22453] [12:17:19] Fetching connected USB devices by using "/sys/bus/usb/devices".
[22453] [12:17:19] Connected USB devices are:
12d1:1f1c:HUAWEI Mobile
1d6b:0002:MUSB HDRC host driver
[22453] [12:17:20] Asking user to select: USBMODEM Please select USB modem Select USB device that provides modem capabilities. Select Cancel 12d1:1f1c HUAWEI Mobile 1d6b:0002 MUSB HDRC host driver
[22453] [12:17:20] Asking user to select: USBMODEM Please select USB modem Select USB device that provides modem capabilities. Select Cancel 12d1:1f1c HUAWEI Mobile 1d6b:0002 MUSB HDRC host driver
[22453] [12:17:20] USBMODEM=12d1:1f1c
[22453] [12:17:20] 12d1:1f1c==12d1:1f1c.
[22453] [12:17:20] User has already selected USBMODEM="12d1:1f1c". Returning 1.
[22453] [12:17:20] Fetching connected USB devices by using "/sys/bus/usb/devices".
[22453] [12:17:20] Connected USB devices are:
12d1:1f1c:HUAWEI Mobile
1d6b:0002:MUSB HDRC host driver
[22453] [12:17:20] User selected USB modem "12d1:1f1c".
[22453] [12:17:20] Setting up modem.
[22453] [12:17:20] We are root already. Proceeding.
[22453] [12:17:20] Setting up USB modem 12d1:1f1c.
[22453] [12:17:20] Fetching connected USB devices by using "/sys/bus/usb/devices".
[22453] [12:17:20] Connected USB devices are:
12d1:1f1c:HUAWEI Mobile
1d6b:0002:MUSB HDRC host driver
[22453] [12:17:20] Located "lsusb" within PATH (/usr/bin/lsusb).
[22453] [12:17:20] Using information of lsusb to determine usable interfaces.
[22453] [12:17:21] USB Device 12d1:1f1c provides 1 interruptable endpoint(s).
[22453] [12:17:21] Interfaces collected from lsusb are: 0
[22453] [12:17:21] Collected 1 interface(s): 0
[22453] [12:17:21] Only one interface available. Will use that one unconditionally.
[22453] [12:17:21] Got valid USB interface 0 of USB modem "12d1:1f1c".
[22453] [12:17:21] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:21] Kernel provides AVOID_RESET_QUIRK for device 12d1:1f1c.
[22453] [12:17:21] Succesfully enabled AVOID_RESET_QUIRK for device 12d1:1f1c.
[22453] [12:17:21] Failed to enable AVOID_RESET_QUIRK for device 12d1:1f1c.
[22453] [12:17:22] Device has storage part on interface #0.
[22453] [12:17:22] Device 12d1:1f1c, provides storage interface #0.
[22453] [12:17:22] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:22] Storage interface #0 is binded by usb_storage driver.
[22453] [12:17:22] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:22] Information from sysfs:
USB Manufacturer: Vodafone(Huawei)
USB Product:      HUAWEI_Mobile
USB Serial:       FFFFFFFFFFFFFFFF
[22453] [12:17:22] Checking interface #0 of device 12d1:1f1c.
[22453] [12:17:22] SCSI device is settled:
SCSI Vendor:      HUAWEI__
SCSI Model:       Mass_Storage____
SCSI Revision:    2.31
[22453] [12:17:22] No storage device(s) with inserted media exist. Safe to unlock HAL.
[22453] [12:17:23] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:23] Found already loaded driver "usb_storage".
[22453] [12:17:23] Driver "usb_storage" already attached to interface #0 of device "12d1:1f1c".
[22453] [12:17:23] Verbosing: 14% Locating tty
[22453] [12:17:23] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:23] Interface #0 sysfs dir is: .
[22453] [12:17:23] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:23] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [1 second(s) will have pass]
[22453] [12:17:24] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:24] Interface #0 sysfs dir is: .
[22453] [12:17:24] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:25] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [2 second(s) will have pass]
[22453] [12:17:26] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:26] Interface #0 sysfs dir is: .
[22453] [12:17:26] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:26] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [3 second(s) will have pass]
[22453] [12:17:27] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:27] Interface #0 sysfs dir is: .
[22453] [12:17:27] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:27] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [4 second(s) will have pass]
[22453] [12:17:29] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:29] Interface #0 sysfs dir is: .
[22453] [12:17:29] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:29] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [5 second(s) will have pass]
[22453] [12:17:30] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:30] Interface #0 sysfs dir is: .
[22453] [12:17:30] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:30] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [6 second(s) will have pass]
[22453] [12:17:32] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:32] Interface #0 sysfs dir is: .
[22453] [12:17:32] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:32] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [7 second(s) will have pass]
[22453] [12:17:33] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:33] Interface #0 sysfs dir is: .
[22453] [12:17:33] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:33] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [8 second(s) will have pass]
[22453] [12:17:35] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:35] Interface #0 sysfs dir is: .
[22453] [12:17:35] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:35] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [9 second(s) will have pass]
[22453] [12:17:36] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:36] Interface #0 sysfs dir is: .
[22453] [12:17:36] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:36] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [10 second(s) will have pass]
[22453] [12:17:38] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:38] Interface #0 sysfs dir is: .
[22453] [12:17:38] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:38] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [11 second(s) will have pass]
[22453] [12:17:39] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:39] Interface #0 sysfs dir is: .
[22453] [12:17:39] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:39] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [12 second(s) will have pass]
[22453] [12:17:41] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:41] Interface #0 sysfs dir is: .
[22453] [12:17:41] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:41] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [13 second(s) will have pass]
[22453] [12:17:42] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:42] Interface #0 sysfs dir is: .
[22453] [12:17:42] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:42] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [14 second(s) will have pass]
[22453] [12:17:43] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:43] Interface #0 sysfs dir is: .
[22453] [12:17:43] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:43] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [15 second(s) will have pass]
[22453] [12:17:45] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:45] Interface #0 sysfs dir is: .
[22453] [12:17:45] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:45] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [16 second(s) will have pass]
[22453] [12:17:46] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:46] Interface #0 sysfs dir is: .
[22453] [12:17:46] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:46] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [17 second(s) will have pass]
[22453] [12:17:48] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:48] Interface #0 sysfs dir is: .
[22453] [12:17:48] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:48] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [18 second(s) will have pass]
[22453] [12:17:49] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:49] Interface #0 sysfs dir is: .
[22453] [12:17:49] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:49] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [19 second(s) will have pass]
[22453] [12:17:50] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:51] Interface #0 sysfs dir is: .
[22453] [12:17:51] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:51] Waiting for driver usb_storage to create tty of device 12d1:1f1c (interface #0). [20 second(s) will have pass]
[22453] [12:17:52] Device 12d1:1f1c sysfs dir found: /sys/bus/usb/devices/usb1/1-1
[22453] [12:17:52] Interface #0 sysfs dir is: .
[22453] [12:17:52] Failed to retrieve sysfs tty for interface #0.
[22453] [12:17:52] Driver usb_storage failed to create a tty node for interface #0 of device 12d1:1f1c.
[22453] [12:17:52] Failed to locate tty device of interface #0 from device "12d1:1f1c".
[22453] [12:17:52] Error: Failed to connect.
Failed to connect.
[22453] [12:17:52] Aborting execution chain due to actor "connect" returning 8.
[22453] [12:17:52] Following actors executed: connect
[22453] [12:17:52] Verbosing: 21% Cleaning
[22453] [12:17:52] Stopping operation with return status: 8
[22453] [12:17:52] Now executing traps.
[22453] [12:17:52] Executing trap "cleanscreen".



what i need to do ?


Offline
PostPosted: Fri Mar 24, 2017 9:10 pm Reply with quote
Site Admin Posts: 6440 Joined: Sat Nov 03, 2007 12:30 am
Sakis3g is for serial port modems only.

Your's has an ethernet-type port (NCM). It will not work with Sakis3g.


Offline
PostPosted: Sat Mar 25, 2017 2:03 am Reply with quote
Posts: 2 Joined: Fri Mar 24, 2017 7:44 pm
Josh wrote:
Sakis3g is for serial port modems only.

Your's has an ethernet-type port (NCM). It will not work with Sakis3g.


Thanks for reply

Hımm.i guess it may be related to my old configuration if im not mistaken
Beagleboneblack have a 2 USB port.And 1 Ethernet port.

Normaly i connected beagleboneblack's microUSB to my PC. Until now im connected the internet my beagleboneblack via internet over usb(without ethernet cable connection ) .

my old configuration

l added beaglebone's .profile files ifconfig usb0 192.168.7.2 && route add default gw 192.168.7.1

on my pc side i entered (enx544a16bdd780 ->beagleboneblack enp0s20u2 -> my internet interface )
$sudo su
$ifconfig enx544a16bdd780 192.168.7.1
$iptables --table nat --append POSTROUTING --out-interface enp0s20u2 -j MASQUERADE
$iptables --append FORWARD --in-interface enx544a16bdd780 -j ACCEPT
$echo 1 > /proc/sys/net/ipv4/ip_forward

is there a any way connect the K4203 USB 3G Modem with Beaglebone black USB ?


Offline
PostPosted: Sat Mar 25, 2017 3:27 am Reply with quote
Posts: 1175 Joined: Wed Jul 11, 2012 3:14 pm Location: Koh Samui, TH
skipjack wrote:
Josh wrote:
Sakis3g is for serial port modems only.

Your's has an ethernet-type port (NCM). It will not work with Sakis3g.


Thanks for reply

Hımm.i guess it may be related to my old configuration if im not mistaken
Beagleboneblack have a 2 USB port.And 1 Ethernet port.



K4203 is not a ppp serial dialup modem, you can not use Sakis3G for connecting to your mobile provider as Josh already has pointed out for you.
K4203 is a direct ethernet device which is handled by the cdc_mbim driver and linux NetworkManager.


Offline

Display posts from previous:  Sort by:

All times are UTC+02:00
Page 1 of 1
4 posts
Users browsing this forum: No registered users and 1 guest
Search for:
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum