netpumber |
07-01-2016 03:53 AM |
mobile broad band internet using netctl profile
Hello.
I'm trying to connect to the internet using a Huawei K3772 using a netctl profile. The mode of the device changed using usb_modeshwitch and the lsub command returns me this:
Code:
Bus 002 Device 012: ID 12d1:14cf Huawei Technologies Co., Ltd. K3772
That's my profile config
Code:
Description='Example PPP mobile connection'
Interface=ttyUSB0
Connection=mobile_ppp
# Use default route provided by the peer (default: true)
#DefaultRoute=true
# Use DNS provided by the peer (default: true)
#UsePeerDNS=true
# The user and password are not always required
#User='example@yourprovider.com'
#Password='very secret'
# The access point name you are connecting to
#AccessPointName=apn
AccessPointName=internet
# If your device has a PIN code, set it here. Defaults to 'None'
#Pin=None
Pin=5102
# Mode can be one of 3Gpref, 3Gonly, GPRSpref, GPRSonly, None
# These only work for Huawei USB modems; all other devices should use None
Mode=3Gpref
After this, I'm running
Code:
sudo netctl start mobile_ppp
and I'm getting these results in journalctl
Code:
Jul 01 14:27:51 ribosome.cell.org systemd[1]: Starting Networking for netctl profile mobile_ppp...
Jul 01 14:27:51 ribosome.cell.org network[7445]: Starting network profile 'mobile_ppp'...
Jul 01 14:27:51 ribosome.cell.org pppd[7464]: pppd 2.4.7 started by root, uid 0
Jul 01 14:27:51 ribosome.cell.org network[7445]: Started network profile 'mobile_ppp'
Jul 01 14:27:51 ribosome.cell.org systemd[1]: Started Networking for netctl profile mobile_ppp.
Jul 01 14:27:51 ribosome.cell.org sudo[7439]: pam_unix(sudo:session): session closed for user root
Jul 01 14:27:52 ribosome.cell.org chat[7486]: abort on (BUSY)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: abort on (NO CARRIER)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: abort on (VOICE)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: abort on (NO DIALTONE)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: abort on (NO DIAL TONE)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: abort on (NO ANSWER)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: abort on (DELAYED)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: abort on (\nRINGING\r\n\r\nRINGING\r)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: report (CONNECT)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: timeout set to 6 seconds
Jul 01 14:27:52 ribosome.cell.org chat[7486]: send (ATQ0^M)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: expect (OK)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: ATQ0^M^M
Jul 01 14:27:52 ribosome.cell.org chat[7486]: OK
Jul 01 14:27:52 ribosome.cell.org chat[7486]: -- got it
Jul 01 14:27:52 ribosome.cell.org chat[7486]: send (ATZ^M)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: timeout set to 3 seconds
Jul 01 14:27:52 ribosome.cell.org chat[7486]: expect (OK)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: ^M
Jul 01 14:27:52 ribosome.cell.org chat[7486]: ATZ^M^M
Jul 01 14:27:52 ribosome.cell.org chat[7486]: OK
Jul 01 14:27:52 ribosome.cell.org chat[7486]: -- got it
Jul 01 14:27:52 ribosome.cell.org chat[7486]: send (AT+CFUN=1^M)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: expect (OK)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: ^M
Jul 01 14:27:52 ribosome.cell.org chat[7486]: AT+CFUN=1^M^M
Jul 01 14:27:52 ribosome.cell.org chat[7486]: OK
Jul 01 14:27:52 ribosome.cell.org chat[7486]: -- got it
Jul 01 14:27:52 ribosome.cell.org chat[7486]: send (AT+CPIN="5102"^M)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: expect (OKd)
Jul 01 14:27:52 ribosome.cell.org chat[7486]: ^M
Jul 01 14:27:52 ribosome.cell.org chat[7486]: AT+CPIN="5102"^M^M
Jul 01 14:27:52 ribosome.cell.org chat[7486]: +CME ERROR: 3^M
Jul 01 14:27:55 ribosome.cell.org chat[7486]: alarm
Jul 01 14:27:55 ribosome.cell.org chat[7486]: send (AT^M)
Jul 01 14:27:55 ribosome.cell.org chat[7486]: expect (OK)
Jul 01 14:27:55 ribosome.cell.org chat[7486]: AT^M^M
Jul 01 14:27:55 ribosome.cell.org chat[7486]: OK
Jul 01 14:27:55 ribosome.cell.org chat[7486]: -- got it
Jul 01 14:27:55 ribosome.cell.org chat[7486]: send (ATI^M)
Jul 01 14:27:55 ribosome.cell.org chat[7486]: expect (OK)
Jul 01 14:27:55 ribosome.cell.org chat[7486]: ^M
Jul 01 14:27:55 ribosome.cell.org chat[7486]: ATI^M^M
Jul 01 14:27:55 ribosome.cell.org chat[7486]: Manufacturer: Vodafone (Huawei)^M
Jul 01 14:27:55 ribosome.cell.org chat[7486]: Model: K3772^M
Jul 01 14:27:55 ribosome.cell.org chat[7486]: Revision: 21.157.40.00.11^M
Jul 01 14:27:55 ribosome.cell.org chat[7486]: IMEI: 861020006814806^M
Jul 01 14:27:55 ribosome.cell.org chat[7486]: +GCAP: +CGSM,+DS,+ES^M
Jul 01 14:27:55 ribosome.cell.org chat[7486]: ^M
Jul 01 14:27:55 ribosome.cell.org chat[7486]: OK
Jul 01 14:27:55 ribosome.cell.org chat[7486]: -- got it
Jul 01 14:27:55 ribosome.cell.org chat[7486]: send (ATZ^M)
Jul 01 14:27:55 ribosome.cell.org chat[7486]: expect (OK)
Jul 01 14:27:55 ribosome.cell.org chat[7486]: ^M
Jul 01 14:27:55 ribosome.cell.org chat[7486]: ATZ^M^M
Jul 01 14:27:55 ribosome.cell.org chat[7486]: OK
Jul 01 14:27:55 ribosome.cell.org chat[7486]: -- got it
Jul 01 14:27:55 ribosome.cell.org chat[7486]: send (ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0^M)
Jul 01 14:27:56 ribosome.cell.org chat[7486]: expect (OK)
Jul 01 14:27:56 ribosome.cell.org chat[7486]: ^M
Jul 01 14:27:56 ribosome.cell.org chat[7486]: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0^M^M
Jul 01 14:27:56 ribosome.cell.org chat[7486]: COMMAND NOT SUPPORT^M
Jul 01 14:27:59 ribosome.cell.org chat[7486]: alarm
Jul 01 14:27:59 ribosome.cell.org chat[7486]: Failed
Jul 01 14:27:59 ribosome.cell.org pppd[7464]: Connect script failed
Jul 01 14:28:00 ribosome.cell.org pppd[7464]: Exit.
Does anyone knows why I'm getting that COMMAND NOT SUPPORT ?
Any idea or hint is welcome.
|