Open TrshPndaGreg opened 4 years ago
I have a similar problem. I get this message when i do the python command twice... Have you found a way to resolve this? One option is to restart this server...
Seeing this fail as well, although my carrier is responding slightly differently:
RPC executing UtaMsNetAttachReq
b'__removed__'
async_ack: 0x0
unsolicited: UtaMsNetIsAttachAllowedIndCb: 0x0, 0x0, 0x0, 0x0
response: 0x0, 0xffffffff, 0x3, 0x3, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3, 0x0, 0x3, 0x4, 0x0
Hey @GregLXStang @frizop - Did you make any progress on this?
There's been a couple of changes I've merged to master
today that might resolve this issue.
Hi, I had the same issue a few weeks ago and still run into this message ERROR:root:Attach failed again, giving up
with the latest commits. I am running opensuse tumbleweed with linux kernel 5.11.2-1-default on an hp elitebook 840 G7, just FYI.
I followed the install steps with make && make load
, entered the pin with the given command (which is needed with my SIM) and executed the python script as described. BUT I still wonder how this script know the parameters for my APN (a1.net) just by entering it's domain. Usually (e.g. in NM) there are plenty other parameters to set, like a Number, Username, and some authentication settings. I guess they differ between APNs?!
I've only had to set the APN for my modem, though I don't have SIMPin enabled. I don't know enough about how it gets those additional details, if they are required at all.
Are you able to try to disable the SIM Pin and try again if that is an option?
Also, please include a more complete log output (including the command you used, and the final outputs of the command.)
There's another issue #62 that also outlines apn with un/pw.
It looks like the modem doesn't actually implement the AT+CPIN
command, or maybe only accepts it once after power-up. I've run an interactive session (minicom -D /dev/ttyXMM1
and then ATE1
to enable echo), and it won't accept the PIN command:
AT+CPIN=?
OK
AT+CPIN?
ERROR
AT+CPIN="0815" (this is not my real PIN)
ERROR
However, even after disabling the PIN on the SIM (which isn't so much of a good idea anyway), the script ends up emitting ERROR:root:Attach failed again, giving up
until you shutdown and restart the machine.
After the restart, it finally worked and is providing ~30Mbit/s of downstream and ~15Mbit/s of upstream bandwidth, which is not too much but probably a limitation of the LTE network.
Many thanks, @ge0rg! debugging the modem with the above commands shows a similar picture.
So I tried to "disable" my SIM pin. But I am not sure how to do that. I put it into my smartphone and tried to change it. At first I tried to set no pin number at all but my smartphone declined it claiming to set at least a number. After that I set it to 0000 which my phone accepted. Is this the way to "disable SIM PIN"?
I debugged it again and at least got following output:
ATZ
OK
AT+CPIN=?
OK
AT+CPIN="0000"
OK
With the last command trying to enter my original PIN it returned ERROR
. So I am a step further.
And, same here after reboot my machine && executing
make load
echo "AT+CPIN=\"0000\"" | sudo tee -a /dev/ttyXMM1
python3 rpc/open_xdatachannel.py --apn my.apn.net
I finally got an IP. I had a trouble with DNS and resolved it by setting all existing network connections to state DOWN (disabling ethernet, wlan, etc.) and reexecuting the last pyhton3
command. After that WWAN with XMM7360 start working. I reached 134MBIt/s DOWN and 33MBit/s UP at the speedtest. I would say IT WORKS ;) . Many thanks for your work so far! This is how I get rid of this ERROR. Now I need to set APN specific settings, for some kind of my company's fallback connection to our intranet. I already mentioned it at https://github.com/xmm7360/xmm7360-pci/issues/62.
On my T590 with the L850-GL WWAN, I've tried this to get it to work. Make && make load gives me this:
Seems like all is well, but when I run the next command, it just gives me the below error:
Unfortunately, I don't understand what's going on here...so I'm coming to you with them to try to get some help! Thank you in advance!