Pantech/Verizon UML295 USB cellular access on Linux.

I recently had need to attach a Verizon USB dongle to a Raspberry PI device running Linux for mobile internet access. Documenting here in order so it won’t take so long to find this in the future if I need to get it to work again.


I used another computer (Mac or Windows) in order to set up the device initially. You can browse to and under the settings ensure that 1) the firmware is up to date and 2) the device is set to automatically connect.

On Linux, the device first enumerates with Vid/Pid 10a9:606f. If it does not receive a command to switch, it changes to 10a9:6072. This interface seems to bind properly with the qmi_wwan driver but I wasn’t able to connect to the internet with that and it isn’t what the other platforms were using. You want the 10a9:6064 interface. In order to get that interface, you can use udev and usb_modeswitch to cause the device to come up as expected.

ATTRS{idVendor}==”10a9″, ATTRS{idProduct}==”606f”, RUN=”/bin/sh -c ‘usb_modeswitch -v 10af -p 606f -F 4′”


If that works properly, you should have something like the following via lsusb:

Bus 001 Device 029: ID 10a9:6064 SK Teletech Co., LtdĀ 

From there, it just worked for me with the cdc_ether driver. Linux was able to grab an IP address from the device.

Posted in System Administration | Tagged | Comments Off on Pantech/Verizon UML295 USB cellular access on Linux.

Darn Server Software

We commonly refer to software that you aren’t using all the time as becoming susceptible to bit rot. After discovering multiple things that didn’t work on my site, I went ahead and updated all the software to latest revisions.

In the mean time… if you need to contact me, you might try twitter @allmybrain. I’ll work out the bugs in the contact forms sooner or later.

Posted in System Administration, Web | Comments Off on Darn Server Software

Seasons of Change

It came time to renew an old domain name I had this week. Something about renewing a domain I’ve not used for years finally got to me and I decided to let it go. It seems weird to remove a piece of the internet.

Posted in Web | Comments Off on Seasons of Change

Server Updates

I’ve tried to keep this server up to date but it seems like sometimes you just have to start over.

Here are todays adventures.

  1. Try to find out why my contact form is blank
  2. Delete the old contact plugin that won’t work.
  3. Delete all the other old plugins that won’t work for I don’t know what reason.
  4. Search google/wordpress for plugins that have good reviews.
  5. Update pages with new plugins.
  6. Install even more plugins and fixes so things can start working.

Yeah.. better now. I hope.

Posted in Miscellaneous, System Administration | Tagged | Comments Off on Server Updates

Battling StackOverflow?

I’ve been thinking about the state of this blog for the last several weeks. I upgraded my virtual server and had the opportunity to bring over the blog and associated software dependencies and data. When I first started this blog it actually had a fair bit of traffic on several of the posts that had information relevant enough for enough developers. That was the intent. Find something interesting while developing software, write a bit about it.

Then sites like Stack Overflow started coming online. I remember when one of my blog posts was linked to by an answer on Stack Overflow and my traffic for that blog post spiked. Since then, I, like many others, have created profiles on the various Stack* sites and probably am more likely to answer a question on there instead of take the time to write up a blog post on something.

Anyway, just some random thoughts. Perhaps I’ll think of a new direction to take this blog.

Posted in Miscellaneous | Tagged | Comments Off on Battling StackOverflow?

How much filament is on the roll of plastic?

So my slicer software of choice (Simplify3D) gives me some estimates on filament length for a printed part. That’s handy enough but my filament is wrapped around a spool and it’s a little bit unclear exactly how long that length of filament that is left is before it runs out.

So… apply math instead.

Weight the spool. (Scale gives me oz but if you have a grams scale that’s a good thing.
Full spool is about 43 oz or so. (Multiply by 28.3493 to get grams if you need)
Subtract the weight of an empty spool. I got around 7.7 oz for this.

Result: I have 997 grams of plastic on a full spool. Good they sell in 1kg rolls.

So… how long is that left. Convert grams to volume. You get this from the type of plastic you’re using.

.96 cm^3/g .8 cm^3/g

If you multiply that and the grams, you can get the volume in cm^3 for your roll.

Result: Full roll of PLA is about 800 cm^3 and ABS around 600 cm^3.

Lastly, how long is it? You just need to divide by the cross section area of the filament diameter.

So for 1.75mm filament (Lets convert that to cm to keep units the same). .175/2^2 * PI = cm^2

Result: 800 / ((.175/2)^2 * PI) = ~34000 cm or 340 meters for PLA.

Posted in 3d printing | Tagged , , | Comments Off on How much filament is on the roll of plastic?