APU1D with LTE Huawei ME909u-521
-
Alright, everything is working as expected.
/dev/cuaU0.2 is the one to talk with.
Don't forget to put your module in the correct connector (J16) of your APU1 to be able to use the SIM card slot.
See http://www.pcengines.ch/pdf/apu1.pdf for more details.Finally, I pushed my patch to FreeBSD 10.1.
It should be available in the next pfSense release.Have fun !
-
Since the kernel embeds all the modules, you need to compile the whole kernel.
Is this with just pfSense or all FreeBSD?
In Freebsd, I tried compiling just u3g with its makefile and then copied my modified module u3g.ko over to /boot/kernel/modules folder. Did not seem to work so i assume i need to compile the whole thing with make buildkernel and make installkernel run from /usr/src folder. My modified u3g was smaller in size by 10Kb. I see a u3g.ko.symbols as well and am cluesless.
Can i just recompile u3g or do I need to do it all? usbdevs file does not need compiling or does it?? Seems like a text file.
I really don't want old kernel/backup and just want to fixup current one. Am i doing this right?
Can I recompile a kernel that i am currently booted to and if not then is that why the man has you work on the MYKERNEL?
I am using this but without a config file:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
I just want to rebuild Freebsd current kernel, is that doable or wrong way to do it. If it don't work i will just wipe it. -
In Freebsd, I tried compiling just u3g with its makefile and then copied my modified module u3g.ko over to /boot/kernel/modules folder.
Perhaps, it would be not running because the driver was for another version of FreeBSD, can this be? (8.3 / 10.1)
-
Since the original kernel is compiled with the u3g module embedded, you have to compile a new kernel.
-
Great result, nice job! :)
Steve
-
I would like to test the Huawei ME909u-523 as that is for North America market. It seems to be rather rare. The bands on the EU version are not the same. The 523 supports LTE on B2, B4, B17 for ATT and Tmobile here.
I wonder if the PID is the same as your module…
-
Can you please open a new thread for this module ?
Then I will try answer to help
-
beeloo,
is it possible that you post a short manual what we have to do to get the ME909 running in PF?!
Many Thanks !!!
-
Did you check at the following post ?
https://forum.pfsense.org/index.php?topic=86064.msg543091#msg543091If you have kernel compilation experience, that's quite easy.
-
I do not realy have experience in Kernel compilation ;-(
And it´s a grate topic to learn all this stuff. I only want to run this LTE Modem ;-)
Did you make other changes in your Kernel or only the Modem? Maby you can provide me your Kernel?
-
Ok i have compaild it now.
Now i have 5 new interfaces in the ppp menu
cuaU0.0
cuaU0.1
cuaU0.2
cuaU0.3
cuaU0.4but i can´t establish a connection ;-(
Sep 16 19:02:07 ppp: [opt3_link0] MODEM: chat script failed
Sep 16 19:02:07 ppp: [opt3_link0] Link: DOWN event
Sep 16 19:02:07 ppp: [opt3_link0] LCP: Down event
Sep 16 19:02:07 ppp: [opt3_link0] Link: reconnection attempt 215 in 2 seconds
Sep 16 19:02:09 ppp: [opt3_link0] Link: reconnection attempt 215
Sep 16 19:02:10 ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","web.vodafone.de"
Sep 16 19:02:10 ppp: [opt3_link0] CHAT: Detected Hayes compatible modem.
Sep 16 19:02:10 ppp: [opt3_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
Sep 16 19:02:10 ppp: [opt3_link0] MODEM: chat script failed
Sep 16 19:02:10 ppp: [opt3_link0] Link: DOWN event
Sep 16 19:02:10 ppp: [opt3_link0] LCP: Down event
Sep 16 19:02:10 ppp: [opt3_link0] Link: reconnection attempt 216 in 2 seconds
Sep 16 19:02:12 ppp: [opt3_link0] Link: reconnection attempt 216does anyone have an idea?
-
I'm not really sure to know why you get that error, but…
...did you correctly select the /dev/cuaU0.2 port in the PPP interface ?
-
i tryed every interface ;-(
/dev/cuaU0.2
number *99#
apn web.vodafone.de
log:
Sep 16 19:40:49 ppp: [opt3_link0] LCP: Down event
Sep 16 19:40:49 ppp: [opt3_link0] Link: reconnection attempt 2 in 1 seconds
Sep 16 19:40:50 ppp: [opt3_link0] Link: reconnection attempt 2
Sep 16 19:40:52 ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","web.vodafone.de"
Sep 16 19:40:52 ppp: [opt3_link0] CHAT: Detected Hayes compatible modem.
Sep 16 19:40:52 ppp: [opt3_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
Sep 16 19:40:52 ppp: [opt3_link0] MODEM: chat script failed
Sep 16 19:40:52 ppp: [opt3_link0] Link: DOWN event
Sep 16 19:40:52 ppp: [opt3_link0] LCP: Down event
Sep 16 19:40:52 ppp: [opt3_link0] Link: reconnection attempt 3 in 4 seconds
Sep 16 19:40:56 ppp: [opt3_link0] Link: reconnection attempt 3
Sep 16 19:40:56 ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","web.vodafone.de"
Sep 16 19:40:56 ppp: [opt3_link0] CHAT: Detected Hayes compatible modem.
Sep 16 19:40:56 ppp: [opt3_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
Sep 16 19:40:56 ppp: [opt3_link0] MODEM: chat script failed
Sep 16 19:40:56 ppp: [opt3_link0] Link: DOWN event
Sep 16 19:40:56 ppp: [opt3_link0] LCP: Down event
Sep 16 19:40:56 ppp: [opt3_link0] Link: reconnection attempt 4 in 2 seconds
Sep 16 19:40:58 ppp: [opt3_link0] Link: reconnection attempt 4
Sep 16 19:40:59 ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","web.vodafone.de"
Sep 16 19:40:59 ppp: [opt3_link0] CHAT: Detected Hayes compatible modem.
Sep 16 19:40:59 ppp: [opt3_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
Sep 16 19:40:59 ppp: [opt3_link0] MODEM: chat script failed
Sep 16 19:40:59 ppp: [opt3_link0] Link: DOWN event
Sep 16 19:40:59 ppp: [opt3_link0] LCP: Down event
Sep 16 19:40:59 ppp: [opt3_link0] Link: reconnection attempt 5 in 4 seconds
Sep 16 19:41:03 ppp: [opt3_link0] Link: reconnection attempt 5
Sep 16 19:41:03 ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","web.vodafone.de"
Sep 16 19:41:03 ppp: [opt3_link0] CHAT: Detected Hayes compatible modem.
Sep 16 19:41:03 ppp: [opt3_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
Sep 16 19:41:03 ppp: [opt3_link0] MODEM: chat script failed
Sep 16 19:41:03 ppp: [opt3_link0] Link: DOWN event
Sep 16 19:41:03 ppp: [opt3_link0] LCP: Down event
Sep 16 19:41:03 ppp: [opt3_link0] Link: reconnection attempt 6 in 2 seconds
Sep 16 19:41:05 ppp: [opt3_link0] Link: reconnection attempt 6
Sep 16 19:41:06 ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","web.vodafone.de"
Sep 16 19:41:06 ppp: [opt3_link0] CHAT: Detected Hayes compatible modem.
Sep 16 19:41:06 ppp: [opt3_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
Sep 16 19:41:06 ppp: [opt3_link0] MODEM: chat script failed
Sep 16 19:41:06 ppp: [opt3_link0] Link: DOWN event
Sep 16 19:41:06 ppp: [opt3_link0] LCP: Down event
Sep 16 19:41:06 ppp: [opt3_link0] Link: reconnection attempt 7 in 2 seconds
Sep 16 19:41:08 ppp: [opt3_link0] Link: reconnection attempt 7
Sep 16 19:41:09 ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","web.vodafone.de"
Sep 16 19:41:09 ppp: [opt3_link0] CHAT: Detected Hayes compatible modem.
Sep 16 19:41:09 ppp: [opt3_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
Sep 16 19:41:09 ppp: [opt3_link0] MODEM: chat script failed
Sep 16 19:41:09 ppp: [opt3_link0] Link: DOWN event
Sep 16 19:41:09 ppp: [opt3_link0] LCP: Down event
Sep 16 19:41:09 ppp: [opt3_link0] Link: reconnection attempt 8 in 4 secondsdid you change the mode of the card?
-
Open a shell via ssh on your pfsense, then install screen, using:
pkg install screen
then type:
screen /dev/cuaU0.3
then send the following request to the modem:
AT^HCSQ?
It should tell you if you have a wireless signal or not.
Regarding the modem configuration, I put:
AT^SYSCFGEX="030201",3FFFFFFF,1,2,80044,,
Not sure if it's relevant in your case.
-
^HCSQ: "LTE",55,51,187,22
if I understand correct the 22 is not a goog strange
where do you put the AT^SYSCFGEX="030201",3FFFFFFF,1,2,80044,, command?
-
It seems that you have a LTE connection available…
You may put the command as the init string, in the PPP configuration.
-
i have filled in the init string and have preformed a reboot.
but nothing happens…
-
Did you insert the SIM card ?
Are you using an APU1D ? Did you put the module into the correct PCIe slot ? -
Yes simcard is inserd without PIN
Board is Apu 1D4
Modem is insert in Slot J16 -
I don't have the module anymore so it will be difficult for me to solve your issue as is :-[