How to enable SIM slot

I think we are all talking about the same thing...
We just initialize the modem differently, but after you need raise the PPP connection.
But it's that dhclient ue0 it won't work.
Using RNDIS you can configure your interface as a network port, and then dhclient uex does work.

I have done it in the past but forgotten how.
 
Ahh ok, now i understand you.
But i'm again come back to AT command:

AT+CPIN="****"
AT+CGDCONT=1,"IP","apn"
AT+CFUN=1
AT*ENAP=1,1


And after you can use dhclient ue0
I think that's how it works...
But I'm not sure if this will work with your modem.
I have done it in the past but forgotten how.
If you remember, write here, it's interesting.
 
And after you can use dhclient ue0
I think that's how it works...
But I'm not sure if this will work with your modem.

If you remember, write here, it's interesting.

I managed to find my E3372 USB mobile broadband dongle and inserted it on of the USB slots on my X1 Carbon and this is what lsusbshowed:-

Bus /dev/usb Device /dev/ugen0.4: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard


I believe this modem is a HiLink type so no need to mess with modeswitch. As you can see it is identfied as a Networkcard, so no surprise it shows up when running ifconfig :

Code:
root@X1:~ $ ifconfig ue2
ue2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=80000<LINKSTATE>
    ether 2a:fc:46:ec:81:01
    inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
    media: Ethernet autoselect
    status: no carrier
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

This is where I get stuck. dhclient ue2 tries to get an IP address assigned but times out.

In contrast when attaching my phone via USB and enable USB tethering, I get

Bus /dev/usb Device /dev/ugen0.4: ID 2717:ff80 Xiaomi Inc. Mi/Redmi series (RNDIS)

The ue2 interface also appears and I immediately get an IP address assigned.

Code:
root@X1:~ $ ifconfig ue2
ue2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    ether 7a:08:d3:5a:ea:d5
    inet 192.168.21.110 netmask 0xffffff00 broadcast 192.168.21.255
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
 
Back
Top