Announcement

Collapse
No announcement yet.

Huawei usb-modem connecting but no internet ?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Huawei usb-modem connecting but no internet ?

    Hello,

    My Huawei 4g usb-modem was fine 24 hrs ago and now no internet.

    The Hi-Link page , which is the official Huawei modem page is saying that i am connected.

    I try to navigate but the ( i am working sign ) just keeps on circling.

    The page tries to load but can not .

    I do not understand what is happening here.

    My sim card is ok , take it out the dongle and into mobile phone to make a call - no problems there....

    What i did to get the dongle to work initially was :

    Code:
    - Install usb modeswitch :
    
    sudo apt-get -y install usb-modeswitch
    
    - Turn the dongle from being identified from being a card reader to a modem with :
    
    sudo usb_modeswitch -v 12d1 -p 1f01 -M '5553424312345678000000000000001106200000010100010 0000000000000'
    
    - Retrieve an IP address from the modem :
    
    sudo dhclient -v eth2
    
    - Confirm the default gateway points to the modem :
    
    sudo ip route show | grep default
    
    - Make sure /etc/resolv.conf contains a valid nameserver if you can’t resolve domain names :
    
    Not sure on this one !
    
    - Switch the Huawei into a modem at boot time, create /etc/udev/rules.d/70-usb-modeswitch.rules and insert this line:
    
    ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1f01", RUN+="/usr/sbin/usb_modeswitch -v 12d1 -p 1f01 -M '5553424312345678000000000000001106200000010100010 0000000000000'"
    
    - Finally, automatically add a valid nameserver in /etc/resolv.conf when eth2 comes up, adding these lines to /etc/dhcp/dhclient.conf:
    
    interface "eth1" {
    prepend domain-name-servers 8.8.8.8;
    request subnet-mask, broadcast-address, time-offset, routers,
    domain-name, domain-name-servers, domain-search, host-name,
    dhcp6.name-servers, dhcp6.domain-search,
    netbios-name-servers, netbios-scope, interface-mtu,
    rfc3442-classless-static-routes, ntp-servers,
    dhcp6.fqdn, dhcp6.sntp-servers;
    require routers, domain-name-servers;
    }
    Basically, this is how i installed the dongle but it`s not working.

    Have also tried to reset the dongle , using different apn settings , user name , password etc , without success.

    Installed os on another drive but unable to connect .

    Obviously doing something wrong, but what.

    Need some help again , many thanks.
    Last edited by kdeuser; Mar 07, 2016, 02:53 PM.

    #2
    The solution was to recharge my sim card.

    My apologies for being incredibly short sighted on that.

    It seems i have a 300mb daily data limit ( thought it was 2gb for the month ).

    Anyway , thanks to everyone here.

    Note : for anybody interested in making the dongle work , my initial post still applies.
    Last edited by kdeuser; Mar 09, 2016, 12:46 PM.

    Comment

    Working...
    X