Changeset 42466


Ignore:
Timestamp:
2014-09-11T14:26:41+02:00 (3 years ago)
Author:
blogic
Message:

umbim: update to latest git

adds handling for username/password

Signed-off-by: John Crispin <blogic@…>

Location:
trunk/package/network/utils/umbim
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/utils/umbim/Makefile

    r42299 r42466  
    22 
    33PKG_NAME:=umbim 
    4 PKG_VERSION:=2014-08-26 
     4PKG_VERSION:=2014-09-09 
    55PKG_RELEASE=$(PKG_SOURCE_VERSION) 
    66 
     
    88PKG_SOURCE_URL:=git://git.openwrt.org/project/umbim.git 
    99PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 
    10 PKG_SOURCE_VERSION:=7741d88cdfd36f0c4380f660a9ad7109df76b432 
     10PKG_SOURCE_VERSION:=4ae19ab4fcdd70dbfc8c303d752502f2da5a7e75 
    1111PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz 
    1212PKG_MAINTAINER:=John Crispin <blogic@openwrt.org> 
  • trunk/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh

    r42262 r42466  
    1212        proto_config_add_string pincode 
    1313        proto_config_add_string delay 
     14        proto_config_add_string auth 
     15        proto_config_add_string username 
     16        proto_config_add_string password 
    1417} 
    1518 
     
    2023 
    2124        local device apn pincode delay 
    22         json_get_vars device apn pincode delay 
     25        json_get_vars device apn pincode delay auth username password 
    2326 
    2427        [ -n "$device" ] || { 
     
    4043                return 1 
    4144        } 
    42  
    4345 
    4446        [ -n "$delay" ] && sleep "$delay" 
     
    101103  
    102104        logger -p daemon.info -t "mbim[$$]" "Connect to network" 
    103         while ! umbim $DBG -n -t $tid -d $device connect "$apn"; do 
     105        while ! umbim $DBG -n -t $tid -d $device connect "$apn" "$auth" "$username" "$password"; do 
    104106                tid=$((tid + 1)) 
    105107                sleep 1; 
Note: See TracChangeset for help on using the changeset viewer.