openbsd# cat /etc/hostname.umb0 pin "" apn internet up openbsd# sh -x /etc/netstart umb0 + set +o sh + id -u + let 0 != 0 + . /etc/rc.d/rc.subr + FUNCS_ONLY=1 + _rc_actions=start stop restart reload check configtest + readonly _rc_actions + [ -n 1 ] + return + _rc_parse_conf + PRINT_ONLY=false + V4_AUTOCONF=false + V6_AUTOCONF=false + IP6KERNEL=false + getopts :n opt + shift 0 + ifconfig lo0 inet6 + > /dev/null + 2>&1 + IP6KERNEL=true + true + false + sysctl -q net.inet6.ip6.soiikey=0c075149b0a265a8596ef640b7c91b9b + let 1 > 0 + vifscreate umb0 + ifstart umb0 + defaultroute + return
umb0: flags=8811<UP,POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 index 7 priority 6 llprio 3 roaming disabled registration unknown state down cell-class none SIM not initialized PIN required APN internet status: down Nothing changed. I've also rebooted... On Mon, Nov 13, 2023 at 11:46 PM Samuel Jayden <samueljaydan1...@gmail.com> wrote: > Hello Stefan(s), > > Thanks for your replies. > In my setup PIN is disabled.Also I've just tried entering { ifconfig umb0 > down;ifconfig umb0 apn internet;ifconfig umb0 pin "";ifconfig umb0 up } But > nothing comes up. > It is still at the same stage. > > Even if I set the wrong PIN it gives the same message. I think it really > can not initialize the SIM.The question is why? How to troubleshoot? > > > > On Mon, Nov 13, 2023 at 11:07 PM Stefan Sperling <s...@stsp.name> wrote: > >> On Mon, Nov 13, 2023 at 10:03:01PM +0300, Samuel Jayden wrote: >> > Hello misc, >> > >> > After experiencing mbim attach (from umsm) issue[*] with EM7455, I >> > purchased another LTE module with a different (SIM8262E-M2) chipset. >> This >> > time switching to mbim mode was no problem. >> > However, this time it remains as "SIM not initialized". But when you >> > install Linux on the same device, it can successfully obtain an IP >> address >> > and access the internet. >> >> This is the important bit in your logs: >> >> > SIM not initialized PIN required >> ^^^^^^^^^^^^^^ >> >> Try setting the SIM card's PIN with 'ifconfig umb0 pin xxxx'. >> >> On my laptop I have this in /etc/hostname.umb0 (with the correct >> pin instead of 0000 and the correct APN): >> >> pin 0000 >> apn myapn >> roaming >> down >> >> With this in place running 'ifconfig umb0 up' is enough to get link. >> >