One of the people I work for here in the East Bay recently switched to Astound for their service and received a Hitron Coda 5712 cable modem. They noticed that itโs got a USB port in back and the manual mentions file sharing, so I was engaged to get this going. The documentation is nonexistent - the official Coda 5712 page offers two small files, neither cover the sharing function. I think this is one of those โprovider does not supportโ features, which makes me wonder about itโs stability/utility.
I went after it, got it running using a Raspberry Pi5, the tshark protocol analyzer, and an external USB. I see a lot of folks who are not unix genies rubbing that thing, trying to get it work, so Iโll share the particulars โฆ
Coda 5712:
So thatโs the back of a Coda 5712. Starting from the bottom, thereโs a barrel connector, a coaxial cable link, the orange RJ-45 is 2.5G ethernet, the yellow ones are 1G, and itโs hard to see but thereโs a USB 3.0 port above that, which is connected to the Sabrent external drive. About two inches above that thereโs a finger sized dimple - the WPS button. You might find documentation for other devices that says itโs a USB 2.0 port, I did notice that during my travels, but this one is definitely USB 3.0 - has the little blue tab inside, not black.
The bottom label of the machine has everything you need to know - default username cusadmin, password is same as your wifi network, system IP is 192.168.0.1. If you inherit one and need to factory reset Iโm not sure what that procedure is, but the label also includes the default WiFi network it offers, and itโll just wake up ready to get configured via https://192.168.0.1.
This is what youโll find if you access the machine with nothing plugged into USB.
And this is what the Help button gives you
Sharing:
The manual page I saw, which I am not able to relocate, was utter junk - โplug in a drive, now youโve got sharingโ. They clearly hired an underpants gnome to write this. The Help button is the best thing going in terms of information.
What I discovered by trial and error with Ubuntu on a Pi 5, tshark sniffer, and experience with SMB going back to LANtastic is this:
Youโll need some tools from Samba, so go ahead and install this - samba-common, samba-common-bin, and samba-libs got me a working /usr/bin/smbclient. There are ways to mount stuff using Samba but I am old and grouchy, so I installed cifs-utils.
Various clues along the way, mostly from Reddit posts of people who almost got it working, provided me with guidance. Other models of Coda devices expect the USB device to have an MBR setup. I used fdisk and did something like you see here. This isnโt the actual drive, itโs a junk 8GB USB 2 thumb drive I had sitting around that Iโm using to make screen shots for you.
Once that was done, I tried to access it and I got this - the Coda system probably uses Samba as part of its software for sharing, and the SMB1 disabled is an issue. I messed around with this for a long time, then I found another page on Reddit from some other person who gave up, and it mentioned a connection between partition names and shares.
I split the drive into two partitions, one type โbโ and the other type โcโ. There are about a dozen different Windows partition formats in Linux fdisk, each of which I hate more than all the rest combined. Those two seemed the least useless to me. Once I created /dev/sda1 and /dev/sda2, formatted them using mkfs -t vfat, smbclient client sees the following:
But this is still the best youโre gonna get out of the Coda 5712 - same thing as it says when you have an MBR drive in with no partitions. It has no idea itโs offering sda1 and sda2.
But here we are, with a working share โฆ as long as youโre a unix genie who can do this:
mount -t cifs '\192.168.0.1\sda1' /nas -o username=cusadmin,password=oRgAsMaTrOn
But then I contrived a bandwidth test and I can guess why this is not a supported feature โฆ itโll converge on a 6.5 megabyte/sec transfer rate if you have a big file. If you tried to stream movies from a connected USB device you might do OK โฆ until the minute someone else does ANYTHING with this network, then itโs Max Headroom time.
Conclusion:
If I had a Coda 5712 Iโd probably come up with some reason to leave a thumb drive in it, a bolt hole for small random files. Or Iโd spend some time playing with drive formats, see if I could find one that made full use of the gigabit network portโs bandwidth.
But when I get down to dealing with crap like this, and itโs not my crap, Iโm just gonna tell the user to get a purpose built SAN with decent support.