Verizon Jetpack® 4G LTE Mobile Hotspot - AC791L as a WAN
-
Sadly, it does appear that the DC113A has been discontinued. That's a great shame, as it is a very useful device and was relatively inexpensive. I guess that so few were sold that it wasn't cost-effective for Netgear to persist with them. It may also be that the USB Gigabit Ethernet chip used became end of life for some reason.
The USB port of most of the modern Aircard Wi-Fi devices can be used as a urndis(4) device, though I'm fairly certain that pfSense doesn't have that driver included in the kernel or as a module.
A big problem with this approach is that unplugging the device without disabling the interface first has the potential to cause a FreeBSD kernel panic.
I might experiment with adding the necessary support to pfSense, but this is not something I'm able to look at in the foreseeable future.
The final approach to use your Aircard would be to use a Wi-Fi bridge to hook it to an Ethernet port. I don't know what devices to recommend, but anything that can join a WPA2-Personal network and present it on an Ethernet port should work. Ideally your Wi-Fi bridge would work on the 5GHz band.
The best option of all, if the SIM would work in another device, is to move the SIM to an LTE modem with an Ethernet port, but these devices tend to be rather expensive devices aimed at embedded applications in rugged environments.
-
David,
thanks, that is very good information. I will look into the urndis device when I get a chance.
-
I have been trying to get my mobile phone (Samsung S5) that has Wifi/USB Tethering capability to work through USB directly connected to my pfsense appliance and use it as a WAN.
I plug it in, FreeBSD sees it, but no Ethernet interface pops up. After some exhaustive Googling around, I found out that there is a kernel driver called "if_urndis.ko" that FreeBSD uses to enable USB Tethering. Forget trying to find it, I had to download the FreeBSD v10.1 full distro (same version that pfsense uses) and installed it in a VM, extracted the file, and then copied it to my pfsense box and put it in the /boot/kernel directory.
I then loaded the module using the command (ssh into pfsense box):
kldload if_urndis.ko
and it loaded - I then enabled USB tethering on my phone and voila! I now had the new ue0 network interface… but it had no IP Address for some reason.
I then exited the shell back into the pfsense ssh menu, and had to "Assign Interfaces" and this time selected "ue0" as my WAN and then I had an ip address assigned by my phone.
It worked great, hoewever for some unexplained reason my pfsense box keeps rebooting randomly. Running latest 2.2.6 - I also tried a 100% fresh install of pfSense and then added the if_urndis.ko file and it keeps happening - even more so if I start clicking random things in the webgui. When I remove the driver and reboot the box, problems go away.
I will save you the time in getting the kernel module. Here is a link to download it. Maybe it will work for you. Just be careful with those reboots. It took some time to recover because I had a small window after the reboot to ssh in there and delete the kernel module. pfsense was "remembering" to load it every time, despite the fact that I ran the command to load it manually in an ssh shell.
-
I think having this module available as standard would be generically useful to a lot of people, myself included. I filed a feature request for it…
https://redmine.pfsense.org/issues/6293
--
Ross -
Hello,
I have an Aircard 785S and i found a way to make it work with pfSense:
you could try the same:
usbconfig -d ugen1.2 set_config 1
if it show ue interface you can try dhcp on it
if it works i can show you the way to make it permanent
-
usbconfig -d ugen1.2 set_config 1
This works great with my Verizon MiFi 5510L (but sadly, not with my AC791L). Is /etc/rc the way to make it permanent? I imagine upgrades will overwrite.
With the AC791L tethered (which works tethered on my Win10 laptop) I see this in boot output:
ugen1.2: <netgear, inc.="">at usbus1
ugen1.2: <netgear, inc.="">at usbus1 (disconnected)
stray irq7</netgear,></netgear,>And get this trying to bring it up:
$ usbconfig -d ugen1.2 set_config 1
No device match or lack of permissions.
With the 5510 I see this at boot:
ugen1.2: <novatel wireless="">at usbus1</novatel>
And get this which works:
usbconfig -d ugen1.2 set_config 1
cdce0: <cdc ethernet="" control="" model="" ecm="">on usbus1
ue0: <usb ethernet="">on cdce0
ue0: Ethernet address: 00:15:ff:88:c4:da</usb></cdc>(latest embedded release here on ALIX)
Incidentally, I get a related error in boot no matter which device is plugged in:
Starting device manager (devd)…kldload: can't load if_urndis: No such file or directory
urndis – USB Remote NDIS Ethernet device
-
usbconfig -d ugen1.2 set_config 1
cdce0: <cdc ethernet="" control="" model="" ecm="">on usbus1
ue0: <usb ethernet="">on cdce0
ue0: Ethernet address: 00:15:ff:88:c4:da</usb></cdc>What does```
set_config 1I want this ue0 to appear but I don't know how…
-
Hello,
I have an Aircard 785S and i found a way to make it work with pfSense:
you could try the same:
usbconfig -d ugen1.2 set_config 1
if it show ue interface you can try dhcp on it
if it works i can show you the way to make it permanent
So glad I stumbled on this post…..have it working on 2.4.x with a Netgear Unite Explore 815s! (posting on the cell connection)
Thanks!
-
I would like to extend my gratitude to you all, I searched the internet far and wide and everyone is talking about usb_modeswitch an no where (except here) is it referenced that you can actually change the "config" of the 4G dongle, which made it work with my Alcatel MW40V
I will from here on out see if other posts on this forum need help with their 4G USB modems and refer them here
pfSense version 2.4.4 with copied IF_URNDIS.KO from 11.2 FreeBSD iso and moved to the server via WinSCP (don't forget to make the filename all lowercase), changed/added the /boot/loader.conf.local with nano to
if_urndis_load="YES"
so it loads the USB tether module on boot and after that i rebooted the server and it showed my device as ue0, like any other physical hardware port like WAN, LAN and OPT1.
-
@DexTroN, Thank you very much. Fortunately, people like you exist !!!
-
Here is the File: if_urndis.zip
-Rico
-
Some USB devices have multiple config indexes that result is different interfaces being exposed. You can check it using
usbconfig -d ugenX.X dump_all_config_desc
If your device has multiple config indexes you can selet a different on at run time using
usbconfig -d ugenX.X setconfig X
.If that gives you the interfaces you need you can add a device quirk to /boot/loader.conf.local to force that every time the device is connected.
hw.usb.quirk.0="VendorID ProductID LowRevision HighRevision UQ_CFG_INDEX_X"
Steve