Temat: modem Huawei e173 - router nie łaczy z GSM

Dzień dobry posiadam takowy modem z kartą orange bez pinu.
Na linux mint modem łączy się normalnie z GSM.

Staram się podobne połączenie zrealizować na router vodafone 802 z chaos calmer 15.05 bez rezultatu.

Co do tej pory zrobiłem :

# opkg update
opkg install kmod-usb-core kmod-usb2 usb-modeswitch libusb-1.0

/etc/config/network

config interface 'g3'
    option proto '3g'
    option device '/dev/ttyUSB0'
    option apn 'internet'
    option username 'internet'
    option password 'internet'
    option pppd_options 'debug'

---------------------------------------------------------

/etc/config/firewall


config zone
    option name 'g3'
    list network 'g3'
    option input 'REJECT'
    option output 'ACCEPT'
    option forward 'REJECT'
    option masq '1'

config forwarding
    option src 'lan'
    option dest 'g3'


---------------------------------------------------------

Następnie próbuję ifup g3
konsola jest w nowej lini brak jakichkolwiek informacji no i oczywiście brak internetu po kablu.
ifconfig
Brak g3 interfejsu




inne pliki :

/etc/chatscripts/3g.chat


ABORT   BUSY
ABORT   'NO CARRIER'
ABORT   ERROR
REPORT  CONNECT
TIMEOUT 10
""      "AT&F"
OK      "ATE1"
OK      "AT^SYSCFG=14,2,3FFFFFFF,2,4"
OK      'AT+CGDCONT=1,"IP","$USE_APN"'
SAY     "Calling UMTS/GPRS"
TIMEOUT 30
OK      "ATD DIALNUMBER"
CONNECT ' '

-------------------------------------------------------------
/lib/netifd/proto/3g.sh





#!/bin/sh

[ -n "$INCLUDE_ONLY" ] || {
    NOT_INCLUDED=1
    INCLUDE_ONLY=1

    . ../netifd-proto.sh
    . ./ppp.sh
    init_proto "$@"
}

proto_3g_init_config() {
    no_device=1
    available=1
    ppp_generic_init_config
    proto_config_add_string "device:device"
    proto_config_add_string "apn"
    proto_config_add_string "service"
    proto_config_add_string "pincode"
    proto_config_add_string "dialnumber"
}

proto_3g_setup() {
    local interface="$1"
    local chat

    json_get_var device device
    json_get_var apn apn
    json_get_var service service
    json_get_var pincode pincode
    json_get_var dialnumber dialnumber

    [ -n "$dat_device" ] && device=$dat_device
    [ -e "$device" ] || {
        proto_set_available "$interface" 0
        return 1
    }

    case "$service" in
        cdma|evdo)
            chat="/etc/chatscripts/evdo.chat"
        ;;
        *)
            chat="/etc/chatscripts/3g.chat"
            cardinfo=$(gcom -d "$device" -s /etc/gcom/getcardinfo.gcom)
            if echo "$cardinfo" | grep -q Novatel; then
                case "$service" in
                    umts_only) CODE=2;;
                    gprs_only) CODE=1;;
                    *) CODE=0;;
                esac
                export MODE="AT\$NWRAT=${CODE},2"
            elif echo "$cardinfo" | grep -q Option; then
                case "$service" in
                    umts_only) CODE=1;;
                    gprs_only) CODE=0;;
                    *) CODE=3;;
                esac
                export MODE="AT_OPSYS=${CODE}"
            elif echo "$cardinfo" | grep -q "Sierra Wireless"; then
                SIERRA=1
            elif echo "$cardinfo" | grep -qi huawei; then
                case "$service" in
                    umts_only) CODE="14,2";;
                    gprs_only) CODE="13,1";;
                    *) CODE="2,2";;
                esac
                export MODE="AT^SYSCFG=${CODE},3FFFFFFF,2,4"
            fi

            if [ -n "$pincode" ]; then
                PINCODE="$pincode" gcom -d "$device" -s /etc/gcom/setpin.gcom || {
                    proto_notify_error "$interface" PIN_FAILED
                    proto_block_restart "$interface"
                    return 1
                }
            fi
            [ -n "$MODE" ] && gcom -d "$device" -s /etc/gcom/setmode.gcom

            # wait for carrier to avoid firmware stability bugs
            [ -n "$SIERRA" ] && {
                gcom -d "$device" -s /etc/gcom/getcarrier.gcom || return 1
            }

            if [ -z "$dialnumber" ]; then
                dialnumber="*99#"
            fi

        ;;
    esac

    connect="${apn:+USE_APN=$apn }DIALNUMBER=$dialnumber /usr/sbin/chat -t5 -v -E -f $chat"
    ppp_generic_setup "$interface" \
        noaccomp \
        nopcomp \
        novj \
        nobsdcomp \
        noauth \
        lock \
        crtscts \
        115200 "$device"
    return 0
}

proto_3g_teardown() {
    proto_kill_command "$interface"
}

[ -z "NOT_INCLUDED" ] || add_protocol 3g






-----------------------------------------------------------------------

a także log systemu :


Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.532000] PPP generic driver version 2.4.2
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.556000] IFX MEI Version 5.00.00
Wed Jul  4 10:55:19 2018 kern.warn kernel: [   27.572000] Infineon CPE API Driver version: DSL CPE API V3.24.4.4
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.592000] fuse init (API version 7.23)
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.616000] usbcore: registered new interface driver cdc_acm
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.620000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.636000] usbcore: registered new interface driver cdc_wdm
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.644000] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.652000] Backport generated by backports.git backports-20151218-0-g2f58d9d
Wed Jul  4 10:55:19 2018 kern.warn kernel: [   27.680000] Lantiq MIPS24KEc MPS driver, version 2.2.2.5, (c) 2006-2010 Lantiq Deutschland GmbH
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.688000] request_timer(3, 0x000001AE, 1)...successful!
Wed Jul  4 10:55:19 2018 kern.warn kernel: [   27.696000] Lantiq VMMC device driver, version 1.9.0.3, (c) 2006-2010 Lantiq Deutschland GmbH
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.712000] ATM1.0.26    ATM (A1) firmware version 0.17
Wed Jul  4 10:55:19 2018 kern.warn kernel: [   27.716000] ifxmips_atm: ATM init succeed
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.736000] nf_conntrack version 0.5.0 (942 buckets, 3768 max)
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.788000] PPP MPPE Compression module registered
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.796000] NET: Registered protocol family 24
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.800000] PPTP driver version 0.8.5
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.808000] usbcore: registered new interface driver usblp
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.836000] usbcore: registered new interface driver usbserial
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.840000] usbcore: registered new interface driver usbserial_generic
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.844000] usbserial: USB Serial support registered for generic
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.900000] xt_time: kernel timezone is -0000
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.916000] cdc_ether 1-1.1:1.1 wwan0: register 'cdc_ether' at usb-ifxusb_hcd-1.1, Mobile Broadband Network Device, 58:2c:80:13:92:63
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.928000] usbcore: registered new interface driver cdc_ether
Wed Jul  4 10:55:19 2018 kern.info kernel: [   27.940000] usbcore: registered new interface driver cdc_ncm
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.032000] usbcore: registered new interface driver huawei_cdc_ncm
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.044000] ip_tables: (C) 2000-2006 Netfilter Core Team
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.212000] usbcore: registered new interface driver qmi_wwan
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.220000] usbcore: registered new interface driver rndis_host
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.252000] usbcore: registered new interface driver sierra
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.260000] usbserial: USB Serial support registered for Sierra USB modem
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.272000] usbcore: registered new interface driver sierra_net
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.288000] usbcore: registered new interface driver cdc_mbim
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.300000] usbcore: registered new interface driver option
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.304000] usbserial: USB Serial support registered for GSM modem (1-port)
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.312000] option 1-1.1:1.0: GSM modem (1-port) converter detected
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.320000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.324000] option 1-1.1:1.2: GSM modem (1-port) converter detected
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.332000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB1
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.336000] option 1-1.1:1.3: GSM modem (1-port) converter detected
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.344000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB2
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.352000] option 1-1.1:1.6: GSM modem (1-port) converter detected
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.356000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB3
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.372000] usbcore: registered new interface driver qcserial
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.376000] usbserial: USB Serial support registered for Qualcomm USB modem
Wed Jul  4 10:55:19 2018 kern.warn kernel: [   28.424000] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
Wed Jul  4 10:55:19 2018 kern.err kernel: [   28.428000] rt2800pci 0000:00:0e.0: failed to load eeprom property
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.436000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT2860.eeprom'.
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.448000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2860, rev 0103 detected
Wed Jul  4 10:55:19 2018 kern.info kernel: [   28.456000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0001 detected
Wed Jul  4 10:55:19 2018 kern.debug kernel: [   28.464000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Wed Jul  4 10:55:31 2018 user.emerg syslog: this file has been obseleted. please call "/sbin/block mount" directly
Wed Jul  4 10:55:31 2018 daemon.err block: /dev/sdb1 is already mounted
Wed Jul  4 10:55:35 2018 lpr.err p9100d[1248]: socket: Address family not supported by protocol
Wed Jul  4 10:55:35 2018 authpriv.info dropbear[1239]: Not backgrounding
Wed Jul  4 10:55:38 2018 kern.info kernel: [   52.436000] EXT4-fs (sdb2): recovery complete
Wed Jul  4 10:55:38 2018 kern.info kernel: [   52.444000] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
Wed Jul  4 10:55:39 2018 daemon.err uhttpd[1313]: socket(): Address family not supported by protocol
Wed Jul  4 10:55:39 2018 daemon.err uhttpd[1313]: socket(): Address family not supported by protocol
Wed Jul  4 10:55:46 2018 kern.info kernel: [   60.088000] device eth0.1 entered promiscuous mode
Wed Jul  4 10:55:46 2018 kern.info kernel: [   60.088000] device eth0 entered promiscuous mode
Wed Jul  4 10:55:46 2018 daemon.notice netifd: Interface 'lan' is enabled
Wed Jul  4 10:55:46 2018 daemon.notice netifd: Interface 'lan' is setting up now
Wed Jul  4 10:55:46 2018 daemon.notice netifd: Interface 'lan' is now up
Wed Jul  4 10:55:46 2018 daemon.notice netifd: Interface 'g3' is setting up now
Wed Jul  4 10:55:46 2018 daemon.notice netifd: Interface 'loopback' is enabled
Wed Jul  4 10:55:46 2018 daemon.notice netifd: Interface 'loopback' is setting up now
Wed Jul  4 10:55:46 2018 daemon.notice netifd: Interface 'loopback' is now up
Wed Jul  4 10:55:46 2018 daemon.notice netifd: Interface 'wan' is enabled
Wed Jul  4 10:55:46 2018 daemon.notice netifd: Network device 'lo' link is up
Wed Jul  4 10:55:46 2018 daemon.notice netifd: Interface 'loopback' has link connectivity
Wed Jul  4 10:55:47 2018 kern.info kernel: [   61.172000] br-lan: port 1(eth0.1) entered forwarding state
Wed Jul  4 10:55:47 2018 kern.info kernel: [   61.176000] br-lan: port 1(eth0.1) entered forwarding state
Wed Jul  4 10:55:47 2018 daemon.notice netifd: Network device 'eth0' link is up
Wed Jul  4 10:55:47 2018 daemon.notice netifd: VLAN 'eth0.1' link is up
Wed Jul  4 10:55:47 2018 daemon.notice netifd: VLAN 'eth0.2' link is up
Wed Jul  4 10:55:47 2018 daemon.notice netifd: Interface 'wan' has link connectivity
Wed Jul  4 10:55:47 2018 daemon.notice netifd: Interface 'wan' is setting up now
Wed Jul  4 10:55:47 2018 daemon.notice netifd: Bridge 'br-lan' link is up
Wed Jul  4 10:55:47 2018 daemon.notice netifd: Interface 'lan' has link connectivity
Wed Jul  4 10:55:49 2018 daemon.notice netifd: wan (1457): udhcpc (v1.23.2) started
Wed Jul  4 10:55:49 2018 kern.info kernel: [   63.180000] br-lan: port 1(eth0.1) entered forwarding state
Wed Jul  4 10:55:50 2018 daemon.notice netifd: wan (1457): Sending discover...
Wed Jul  4 10:55:51 2018 daemon.notice netifd: radio0 (1405): command failed: Operation not supported (-122)
Wed Jul  4 10:55:53 2018 daemon.notice netifd: wan (1457): Sending discover...
Wed Jul  4 10:55:55 2018 user.emerg syslog: setting up led wifi
Wed Jul  4 10:55:55 2018 user.emerg syslog: setting up led usb
Wed Jul  4 10:55:55 2018 user.emerg syslog: setting up led internet
Wed Jul  4 10:55:55 2018 user.emerg syslog: setting up led fxo
Wed Jul  4 10:55:56 2018 user.emerg syslog: setting up led fxs1
Wed Jul  4 10:55:56 2018 user.emerg syslog: setting up led fxs2
Wed Jul  4 10:55:56 2018 daemon.notice netifd: wan (1457): Sending discover...
Wed Jul  4 10:55:56 2018 user.emerg syslog: setting up led message
Wed Jul  4 10:55:57 2018 daemon.notice netifd: radio0 (1405): Configuration file: /var/run/hostapd-phy0.conf
Wed Jul  4 10:55:57 2018 user.emerg syslog: setting up led power1
Wed Jul  4 10:55:57 2018 user.emerg syslog: setting up led voice1
Wed Jul  4 10:55:57 2018 kern.info kernel: [   71.120000] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
Wed Jul  4 10:55:57 2018 user.emerg syslog: setting up led voice2
Wed Jul  4 10:55:57 2018 kern.info kernel: [   71.312000] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.34
Wed Jul  4 10:55:57 2018 kern.info kernel: [   71.436000] device wlan0-1 entered promiscuous mode
Wed Jul  4 10:55:57 2018 daemon.notice netifd: radio0 (1405): wlan0-1: interface state UNINITIALIZED->COUNTRY_UPDATE
Wed Jul  4 10:55:57 2018 daemon.notice netifd: radio0 (1405): Using interface wlan0-1 with hwaddr 00:0c:43:28:60:01 and ssid "OpenWrt"
Wed Jul  4 10:55:57 2018 daemon.notice netifd: radio0 (1405): wlan0-1: interface state COUNTRY_UPDATE->ENABLED
Wed Jul  4 10:55:57 2018 daemon.notice netifd: radio0 (1405): wlan0-1: AP-ENABLED
Wed Jul  4 10:55:59 2018 daemon.notice netifd: radio0 (1405): Successfully initialized wpa_supplicant
Wed Jul  4 10:56:08 2018 daemon.info procd: - init complete -
Wed Jul  4 10:56:11 2018 daemon.notice netifd: Interface 'wwan' is enabled
Wed Jul  4 10:56:14 2018 daemon.info dnsmasq[1986]: started, version 2.73 cachesize 150
Wed Jul  4 10:56:14 2018 daemon.info dnsmasq[1986]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify
Wed Jul  4 10:56:14 2018 daemon.info dnsmasq[1986]: DNS service limited to local subnets
Wed Jul  4 10:56:14 2018 daemon.info dnsmasq-dhcp[1986]: DHCP, IP range 192.168.9.100 -- 192.168.9.249, lease time 12h
Wed Jul  4 10:56:14 2018 daemon.info dnsmasq[1986]: using local addresses only for domain lan
Wed Jul  4 10:56:14 2018 daemon.warn dnsmasq[1986]: no servers found in /tmp/resolv.conf.auto, will retry
Wed Jul  4 10:56:14 2018 daemon.info dnsmasq[1986]: read /etc/hosts - 1 addresses
Wed Jul  4 10:56:14 2018 daemon.info dnsmasq[1986]: read /tmp/hosts/dhcp - 1 addresses
Wed Jul  4 10:56:14 2018 daemon.info dnsmasq-dhcp[1986]: read /etc/ethers - 0 addresses
Wed Jul  4 10:56:15 2018 daemon.info dnsmasq-dhcp[1986]: DHCPREQUEST(br-lan) 192.168.9.219 68:f7:28:48:9e:43
Wed Jul  4 10:56:15 2018 daemon.info dnsmasq-dhcp[1986]: DHCPACK(br-lan) 192.168.9.219 68:f7:28:48:9e:43 magdamint18-Lenovo-Z50-75
Wed Jul  4 10:57:50 2018 authpriv.info dropbear[2298]: Child connection from 192.168.9.219:56779
Wed Jul  4 10:58:02 2018 authpriv.notice dropbear[2298]: Password auth succeeded for 'root' from 192.168.9.219:56779
Wed Jul  4 10:58:14 2018 daemon.notice netifd: Interface 'g3' is now down
Wed Jul  4 10:58:14 2018 daemon.notice netifd: Interface 'g3' is setting up now
Wed Jul  4 10:59:25 2018 kern.err kernel: [  279.568000] option1 ttyUSB0: option_instat_callback: error -150
Wed Jul  4 10:59:25 2018 kern.err kernel: [  279.572000] option1 ttyUSB0: option_instat_callback: error -150
Wed Jul  4 10:59:25 2018 kern.info kernel: [  279.576000] usb 1-1.1: USB disconnect, device number 3
Wed Jul  4 10:59:25 2018 kern.err kernel: [  279.580000] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19)
Wed Jul  4 10:59:25 2018 kern.err kernel: [  279.588000] option1 ttyUSB0: option_instat_callback: error -150
Wed Jul  4 10:59:25 2018 kern.err kernel: [  279.596000] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19)
Wed Jul  4 10:59:25 2018 kern.err kernel: [  279.604000] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19)
Wed Jul  4 10:59:25 2018 kern.err kernel: [  279.612000] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19)
Wed Jul  4 10:59:25 2018 kern.info kernel: [  279.620000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Wed Jul  4 10:59:25 2018 kern.info kernel: [  279.628000] option 1-1.1:1.0: device disconnected
Wed Jul  4 10:59:25 2018 kern.info kernel: [  279.632000] cdc_ether 1-1.1:1.1 wwan0: unregister 'cdc_ether' usb-ifxusb_hcd-1.1, Mobile Broadband Network Device
Wed Jul  4 10:59:25 2018 kern.info kernel: [  279.644000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Wed Jul  4 10:59:25 2018 kern.info kernel: [  279.652000] option 1-1.1:1.2: device disconnected
Wed Jul  4 10:59:25 2018 kern.info kernel: [  279.656000] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Wed Jul  4 10:59:25 2018 kern.info kernel: [  279.664000] option 1-1.1:1.3: device disconnected
Wed Jul  4 10:59:25 2018 kern.info kernel: [  279.688000] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
Wed Jul  4 10:59:25 2018 kern.info kernel: [  279.692000] option 1-1.1:1.6: device disconnected
Wed Jul  4 10:59:26 2018 daemon.err pppd[2880]: unrecognized option '/dev/ttyUSB0'
Wed Jul  4 10:59:26 2018 daemon.notice netifd: g3 (2880): /usr/sbin/pppd: unrecognized option '/dev/ttyUSB0'
Wed Jul  4 10:59:26 2018 daemon.notice netifd: g3 (2880): pppd version 2.4.7
Wed Jul  4 10:59:26 2018 daemon.notice netifd: g3 (2880): Usage: /usr/sbin/pppd [ options ], where options are:
Wed Jul  4 10:59:26 2018 daemon.notice netifd: g3 (2880):     <device>    Communicate over the named device
Wed Jul  4 10:59:26 2018 daemon.notice netifd: g3 (2880):     <speed>        Set the baud rate to <speed>
Wed Jul  4 10:59:26 2018 daemon.notice netifd: g3 (2880):     <loc>:<rem>    Set the local and/or remote interface IP
Wed Jul  4 10:59:26 2018 daemon.notice netifd: g3 (2880):             addresses.  Either one may be omitted.
Wed Jul  4 10:59:26 2018 daemon.notice netifd: g3 (2880):     asyncmap <n>    Set the desired async map to hex <n>
Wed Jul  4 10:59:26 2018 daemon.notice netifd: g3 (2880):     auth        Require authentication from peer
Wed Jul  4 10:59:26 2018 daemon.notice netifd: g3 (2880):         connect <p>     Invoke shell command <p> to set up the serial line
Wed Jul  4 10:59:26 2018 daemon.notice netifd: g3 (2880):     crtscts        Use hardware RTS/CTS flow control
Wed Jul  4 10:59:26 2018 daemon.notice netifd: g3 (2880):     defaultroute    Add default route through interface
Wed Jul  4 10:59:26 2018 daemon.notice netifd: g3 (2880):     file <f>    Take options from file <f>
Wed Jul  4 10:59:26 2018 daemon.notice netifd: g3 (2880):     modem        Use modem control lines
Wed Jul  4 10:59:26 2018 daemon.notice netifd: g3 (2880):     mru <n>        Set MRU value to <n> for negotiation
Wed Jul  4 10:59:26 2018 daemon.notice netifd: g3 (2880): See pppd(8) for more options.
Wed Jul  4 10:59:27 2018 daemon.notice netifd: Interface 'g3' is now down
Wed Jul  4 10:59:32 2018 kern.info kernel: [  286.928000] usb 1-1.1: new high-speed USB device number 5 using ifxusb_hcd
Wed Jul  4 10:59:33 2018 kern.info kernel: [  287.292000] usb-storage 1-1.1:1.0: USB Mass Storage device detected
Wed Jul  4 10:59:33 2018 kern.info kernel: [  287.308000] scsi host3: usb-storage 1-1.1:1.0
Wed Jul  4 10:59:33 2018 kern.info kernel: [  287.312000] usb-storage 1-1.1:1.1: USB Mass Storage device detected
Wed Jul  4 10:59:33 2018 kern.info kernel: [  287.324000] scsi host4: usb-storage 1-1.1:1.1
Wed Jul  4 10:59:33 2018 kern.info kernel: [  287.748000] usb 1-1.1: USB disconnect, device number 5
Wed Jul  4 10:59:39 2018 kern.info kernel: [  293.060000] usb 1-1.1: new high-speed USB device number 6 using ifxusb_hcd
Wed Jul  4 10:59:39 2018 kern.info kernel: [  293.452000] option 1-1.1:1.0: GSM modem (1-port) converter detected
Wed Jul  4 10:59:39 2018 kern.info kernel: [  293.460000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
Wed Jul  4 10:59:39 2018 kern.info kernel: [  293.604000] cdc_ether 1-1.1:1.1 wwan0: register 'cdc_ether' at usb-ifxusb_hcd-1.1, Mobile Broadband Network Device, 58:2c:80:13:92:63
Wed Jul  4 10:59:39 2018 kern.info kernel: [  293.616000] option 1-1.1:1.2: GSM modem (1-port) converter detected
Wed Jul  4 10:59:39 2018 kern.info kernel: [  293.620000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB1
Wed Jul  4 10:59:39 2018 kern.info kernel: [  293.628000] option 1-1.1:1.3: GSM modem (1-port) converter detected
Wed Jul  4 10:59:39 2018 kern.info kernel: [  293.636000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB2
Wed Jul  4 10:59:39 2018 kern.info kernel: [  293.640000] usb-storage 1-1.1:1.4: USB Mass Storage device detected
Wed Jul  4 10:59:39 2018 kern.info kernel: [  293.660000] scsi host5: usb-storage 1-1.1:1.4
Wed Jul  4 10:59:39 2018 kern.info kernel: [  293.664000] usb-storage 1-1.1:1.5: USB Mass Storage device detected
Wed Jul  4 10:59:39 2018 kern.info kernel: [  293.676000] scsi host6: usb-storage 1-1.1:1.5
Wed Jul  4 10:59:39 2018 kern.info kernel: [  293.684000] option 1-1.1:1.6: GSM modem (1-port) converter detected
Wed Jul  4 10:59:39 2018 kern.info kernel: [  293.688000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB3
Wed Jul  4 10:59:41 2018 daemon.notice netifd: Interface 'g3' is setting up now
Wed Jul  4 10:59:42 2018 kern.notice kernel: [  295.956000] scsi 5:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Wed Jul  4 10:59:42 2018 kern.notice kernel: [  295.968000] scsi 6:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
Wed Jul  4 10:59:42 2018 kern.notice kernel: [  295.996000] sd 6:0:0:0: [sda] Attached SCSI removable disk



-------------------------------------------------------------------------------
walczę z tym modem drugi dzień  próbując połaczyć go z siecią na routerze czuję że jestem w kropce wieć proszę o pomoc.

Linux mint łączy się poprawnie a to są jego ustawienia wyłuskane z "modyfikuj połączenia"

numer :    *99#
nazwa użytkownika i hasło to :   internet
APN : internet

Modem na laptopie łączy się poprawnie.

Podejrzewam ,że chodzi o to na końcu  :

Wed Jul  4 10:59:42 2018 kern.notice kernel: [  295.956000] scsi 5:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Wed Jul  4 10:59:42 2018 kern.notice kernel: [  295.968000] scsi 6:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
Wed Jul  4 10:59:42 2018 kern.notice kernel: [  295.996000] sd 6:0:0:0: [sda] Attached SCSI removable disk

Jest w trybie cd-rom ale ja nie umiem przełaczyć tego trybu.

Z góry dziękuję za pomoc.

2

Odp: modem Huawei e173 - router nie łaczy z GSM

Masz jakieś cuda, bo rozłącza ci usb i znika ttyUSB0 a zostaje ttyUSB1/ttyUSB2/ttyUSB2. Ponad to - używasz czegoś na lantiq a on sprawiał szalone problemy na usb ze zwykłymi modemami. z Hilinkami chodził jeszcze jako jako.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: modem Huawei e173 - router nie łaczy z GSM

a to rozłaczenie ttyUSB0 mogło być spowodowane wyjeciem modemu.zrobiłem to po starcie routera i wpisaniu ifup g3 gdy stwierdziłem ze modem internetu nie daje by sprawdzić czy po włożeniu modemu do routera który jest już w pełni załadowany modem zadziała.bez rezultatu.

Taki router mam od  początku z tym systemem ja nigdy nie zmienialem systemu.Jaką radę możesz mi dac ?

4 (edytowany przez Cezary 2018-07-04 14:04:28)

Odp: modem Huawei e173 - router nie łaczy z GSM

To jeszcze raz: zrób restart całego sprzętu i pokaż wyniki poleceń po upływie kilku minut:

ifstatus g3
uci show network.g3
ls /dev/ttyUSB*
logread

Po restarcie nie usuwaj modemu z usb

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5 (edytowany przez Zuzia 2018-09-01 03:33:47)

Odp: modem Huawei e173 - router nie łaczy z GSM

Wina leży po stronie Chaos Calmer, walczyłam z tym błędem "/usr/sbin/pppd: unrecognized option '/dev/ttyUSB0"  i nawet udało mi się na chwile połączyć, ale z kolei wystąpił kolejny problem, z pobraniem adresu. Wsparcie dla CC zakończyło się i patcha brak na tę przypadłość. Jedyne rozwiązanie to instalacja LEDE lub OpenWRT 18.06, ale tylko w wybranych wersjach jest poprawna obsługa usb.

6

Odp: modem Huawei e173 - router nie łaczy z GSM

Zuzia, nie mieszaj tematów. W CC dobrze działa obsługa modemów (gargoyle jest na CC!). U ciebie problem to brak istnienia urządzenia /dev/ttyUSB0 które miałaś podanie w konfigu bo wcześniej wyleciało ci urządzenie na magistrali usb i prenumerował interfejsy. OpenWrt jest na tyle prymitywne że nie podąża za dynamicznym nazewnictwem. Jak podałaś /dev/ttyUSB0 to uparcie będzie robił na tym, mimo że zmieniły się numery interfejsów. Ty masz problem sprzętowy że w ogóle to rozłączenie nastąpiło a nie że CC nie umie obsłużyć modemu.

E173 to "praprzodek wszystkich modemów", z nim nie było najmniejszych problemów (tym bardziej że był pod aero2 wykorzystywany na początku zanim się E3131 pojawił).

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7 (edytowany przez Zuzia 2018-09-01 14:19:50)

Odp: modem Huawei e173 - router nie łaczy z GSM

Być może czegoś jeszcze nie rozumiem. Próbowałam różnych konfiguracji: ttyUSB0, ttyUSB1, ttyUSB2, ale udało się dopiero ręcznie odpalić modem, połączył się z siecią, ale pobieranie adresu nie działa z automatu. Trochę poszukałam w sieci odnośnie  błędu "/usr/sbin/pppd: unrecognized option" w CC i dotyczy on również innych routerów niż oparte na lantiq i różnych modemów.

W tym miejscu odpuściłam sobie CC i sprawdziłam 18.06, finał inny, bo łączy od razu.

8

Odp: modem Huawei e173 - router nie łaczy z GSM

Ten błąd to po prostu - albo nieznana opcja lub jak w tym przypadku - brak tego konkretnego urządzenia. Jak wpiszesz w konfig option device /dev/ala-ma-kota to też taki błąd wyskoczy bo nie znalazło takiego urządzenia.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9 (edytowany przez Zuzia 2018-09-01 15:11:25)

Odp: modem Huawei e173 - router nie łaczy z GSM

Cezary, a jak zrobię trzy interfejsy: umts, umts2, umts3 i każdemu przypiszę inny ttyUSB to ma szansę działać?

10

Odp: modem Huawei e173 - router nie łaczy z GSM

Tak. Wtedy uruchomi się sekcja związana z danym interfejsem.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.