Hacking the Actiontec 56k Modem/Gateway
william_lorenz writes "The Actiontec Dual 56k External Modem is an inexpensive device with a built-in 56k modem and two Ethernet ports that can be used as an Internet gateway of sorts. What's great about it is that it runs some form of uClinux, it's easily hackable, and Greg Boehnlein of the Linux Users Group of Cleveland and NOOSS fame recently contributed a detailed report on his findings! Pictures of the board are also available here, here, and here. Lots of specific details are included in Greg's article, and there's been some further discussions about this on the LUGC mailing lists."
are almost pointless, a 56k connection is bad enough without it being shared across several computers.
I have over 70 freaks, do you?
Looks like a nice machine with default software that is a bit lame. But since that is now easily fixable, I can think of a few folks in dialup hell that I'll probably be crossing off my Xmas list. :)
Democrat delenda est
Jeez...
Slashdotted already.. this article's gonna set the record for redundant posts.
Yes, we KNOW his server MUST be behind that 56k modem.
Right, now that we've got that out of the way...
Personally, I'm more intrigued by the company's anti-kidnapping technology. I'll sleep easier once that's out of the way.
~ Whence do you come, slayer of men, or where are you going, conqueror of space?
but does it run Linux? :ducks:
I have no
I will be reporting these Lunix hackers to the DMCA/Homeland Security/Bill Gates Tribunal post haste. This blatant and illegal toying with private Intellectual Property is getting out of hand.
"it's easily hackable"
If only we could hack it into a 256k modem...
although a bit larger, you can shove a mini itx board into just about anything. and you can have full on linux & routing capabilities.
If you dont need bells a whistles a 56k modem for more than 50+ bucks seems a bit pricey. There are plenty of linux "compatible" modems for less than 30 bucks.
Would it be possible to hack an adsl/cable router to be used as a simple webserver? For a low traffic and static site it would be perfect for my business website hosting needs. 10watts consumption...fanless operation...and small footprint it sounds like a dream! I could even imagine other hacks like interfacing a larger amount of flash storage or running a real low end db &scripting engine to have behaviour like mysql/php3 together.
We played dungeons and dragons for 3 hours.....then i was slain by an elf
What next? RAID-5 using a stack of 8 inch floppies?
Too late
The "dual modem" mention in the article header made me think for a moment this product allowed multiple users to share a composite link. (See my earlier post on this topic). Rather this product allows 2 users to share *one* link.
A composite link to two *different* ISP could be implemented quite simply by say, using a proxy server to multiplex outbound HTTP requests among multiple interfaces (each interface corresponding to one phone connection).
This approach is more coarse-grained and inefficient than TCP/IP-level channel bonding. However, it would still be useful for places out in the boondocks where you can get two telephone lines, but no broadband. Also, its efficiency could be improved by using HTTP functionality that allows specific byte-ranges to be downloaded for a particular resource.
Yeah, 56k is pretty slow for lots of us these days.
But, the device is hackable, and so you can turn that modem into an incoming port, instead of connecting to the internet outgoing.
It would be great for me. I've got ADSL, and a non-router modem. I want to share the ADSL between the PCs in my house, and also allow my girlfriend to dial in to use it too (instead of paying an ISP). And, I don't want to have a noisy, power chugging PC running 24/7 just to do that.
This device would be great. One ethernet port to connect to the ADSL modem, one to connect to my internal network, and the landline modem to allow my girlfriend to dial in.
What a useless website.
"Best View with 24bit color, 800x600 resolution and IE4.0 above (R)2000 Copyright by BONA and all rights reserved" - what, to see the blue words "Embedded System"?
The new linksys does according to O'Reilly Net. You don't need much tho' ... and I've not had trouble finding products to help with Broadband network bridging. All manner of PPPoE, RAS, and other kinds of Cable Modem, DSL Modem, and such tools are easy enough to find.
My problem was I was on ISDN or 56K and I wanted to share my internet connection.
This Actiontec device would have been really handy to have had. As it was I ended up putting a modem and ISDN card into a Linux box and setting it up as a proxy server with Dial On Demand set to the ISDN provider.
I moved cities to get broadband though and I'm much happier now that I don't have to do such contortions anymore.
[signature]
Where I live, most people have an Alcatel Speedtouch Home ADSL modem (currently sold by Thompson).
It is fairly easy to hack this modem and change it into an ADSL-router + DHCP server.
I've done it 10+ times for friends and i never had any problems. I can seriously recommend this hack. A router for the price of a modem! ANd much more practical than setting up an old 486 linux-box as router. The modem doesn't run linux, but you can do portforwarding etc.
Remember: you have to know what you're doing and this stuff will certainly void the warranty. I've also never tried this hack with a thompson-branded modem.
a few howto's:
Anyone know a good DSL router that runs Linux? We are getting broadband here soon (Woo-hooo!) and I'd love to get one that I could tweak!
:( you have to refer to it by its internal ip(which would be something to the effect of 192.168.0.1 for netgear).
:)
i dont know what exactly you mean by "tweak", but many people seem to like linksys, i used to use one myself until i went to a homegrown solution.
The only problem I found with the linksys came after quite a bit of usage, and quite a bit of firmware upgrades, it was the model befsr41, and after a time, if you sent so many packets down the line/sec(i dont even have approx #), it would basically die for a couple minutes before it would come back up. SPI would also not allow for port forwarding. It was however the best router I have worked with before.
I have also helped a couple friends setup some ranging from netgear to dlink to belkin to microsoft. There are a couple quirks with each, like the netgear mr314. If you want to run a server behind that, it doesn't alias the external ip to the lan ports, so basically say you want to ping your external ip,...well you can't.
The microsoft, dlink and belkin i didn't work with quite as much(as far as in depth tweaking), but i assume there are quirks with each of the systems. For the sake of not liking things to be broken as far as functionality, i would recommend a linksys.
I bought this the other day to use on networks for remote systems. One of the problems that you run into is being able to access a network when either the internet, the main server, or the firewall machine is out. This is very useful
In addition, I was thinking that this is the perfect device to load a hylafax on. For incoming faxes, I was thinking of using nfs v3 over tcp for the storage.
I prefer the "u" in honour as it seems to be missing these days.
I am getting the same thing. I am guessing that these folks simply do not like to sell products.
I prefer the "u" in honour as it seems to be missing these days.
Yes, as mentioned by others, the Linksys WRT54G runs Linux and *is* hackable. I haven't seen any responses after the initial bitching by peeps about not having the GPL parts of its firmware available from Linksys, but they are actually available from their website now. See :
http://www.linksys.com/support/gpl.asp
I just need to buy one to play with to replace my old Netgear one...
~Pev
I sussed that you had to add index1.htm to the URL and it works. not that I can find the motherboard in question, but they have lots of other boards.
Ever think of backup for when your DSL or cable goes down?
Or for those people that are still on a waiting list for broadband? Having something like this ( or the USR equivalent ) lets you setup the network and when your broadband finally arrives, nothing really changes.. makes it easy for end users.
56k is NOT dead.. Though it IS slow as hell, and not ones first choice for a business, sometimes its your only choice...
---- Booth was a patriot ----
I have an actiontec adsl wifi box at home. Tiny little thing. I've had three PCs connecting to it simultaneously, including a mate in a car parked down the street. Very nice.
You know what I miss? Leeches.
Ok, so it's not a 'hack' per se. But it surely isn't documented in the ISP's manual
What password are you reffering to? I did need one to go to expert mode. (my provider is Skynet).
Linux can use whatever form of technology that there is support for. ...
Are you thinking of WinModems? Linux doesn't use many of these because the manufacturers do not release the specs in case a Linux user was to buy one. They only want money from Windows users. Apparently $MS are more valuable than just plain old $ money
I'll see your Constitution and raise you a Queen.
Where would you be able to buy one of these in the United Kingdon? I've had a look at all the suggested retailers for Actiontec in the UK and none of them sell it... Shipping from the US is over $40 :(
Sounds like this is a perfect candidate for a machine that can be a VoIP gateway while still keeping backward compatibility with pots.
Hopefully the thing is powerful enough for a home with a few cheap SIP phones.
CC
This article is flawed! It runs Linux which cannot be exploited! Cmon guys.
~ Maintainer of the Skajake Projects
Sounds like this might be usable for anyone wanting to set up a server for a satellite connection that has the downlink via the dish/usb modem and the uplink via ISP/phone modem like DirecPC does. The only linux project so far is at Sourceforge: http://sourceforge.net/projects/direcpc
Laugh if you want, but necessity dictates that I can only get a 56k internet connection, and there's two computers in the house. I'm currently using XP's internet connection sharing thingie but I'd kill for a hardware-based solution right about now, at least one that doesn't cost an arm and a leg. I thought Stratitec's (discontinued) "Easy Internet Router," which had a serial port for connecting an external modem as well as ethernet ports, would be The Answer, except that the router seriously slowed down when routing a dial-up connection (tech support's excuse was "Well, we only intended it to be a back-up and the router really isn't designed to do that...")
Now I hear about this, which to me sounds like a Holy Grail, and I can't seem to find it anywhere. The only place I can find it is one of those shady dealers operating on Amazon. There has to be somebody slightly more reputable with some for sale, or at the very least something else to let me compare prices!
I know I've got a good one... It's a 166MHz PC.
And I don't want to hear anyone say that they are expensive, or hard to come by...
Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
I'm going to establish some mailing lists for those who want to get one of these and share stories, findings, ideas, and the like. If you're interested in getting in on the action, please send a blank email to actiontec@express.org, and I'll get you subscribed.
They listed the device as compatible with:
Operating System Compatibility Windows 98 / 98SE / ME / 2000 / XP/ MAC OS 7.1 and higher/ Linux / Unix
But then for Minimum System Requirements they ask for:
Windows 98, 98SE, Windows Me, Windows 2000, or Windows XP
Is it necessary to have an ms Windows pc in order to configure the thing? What if all you have is Macintosh or, like me, Linux? Or are they saying that Windows is the bare minimum and, of course, anything else more than meets the requirements?
The limitation you refer to has very little to do with managing crosstalk. What actually happened is that the phone company was maximizing the number of channels they could fit on a single wire by using a technology called Frequency Division Multiplexing (FDM).
Since an average voice conversation has a bandwidth of about 2KHz, they built in a low-pass filter with a cutoff somewhere in the vicinity of 3KHz. This means they can heterodyne the channels, each (roughly)3KHz wide, onto a single wire.
Now, this means that the data rate (in terms of zero crossings per second (the original meaning of baud) is limited to about 2400. The "high speed" modems, all the way up to 56K, have a baud rate of 2400. This is a hard limit due to the phone company hardware.
What changed is the number of bits per baud. A 56K modem might use as many as 24 bits per baud, assuming the line is clear enough. The number of bits per baud is capped by the noise floor of the signal, which is also why you won't always connect at 56K (noisier lines can't handle the resolution).
In the move to digital networks, the same total channel datarate was designed into the switching systems. I'm not entirely sure the sampling rate and quantization parameters of these systems, though.
Hardware, software, and blinking lights!
Well there's the suggestion of the other poster, but the embedded solutions are usually quiet and cheap. You may be able to find on eBay a used 3COM 3C886 (there's a ISDN model as well as a two modem model available). Don't forget to check the mom-and-pop shops (got mine that way), and make certain that you have the latest firmware, so that people can dial in and access a server (if you have one), along with a few other enhancements.
this product, with the hacks, brings some ...
interesting house control ideas to mind.
why have a "real" computer exposed to the
outside world? add a DTMF encoder/decoder
into the mix, stir in a bit of homebrew
"power-over-ethernet", and voila! a whole
new product is born
Well, since it's got two modems and Linux in it, you could use it to set up a two-line BBS. If line one is busy, your users can try line two.
whee
Furry cows moo and decompress.
This is a perfect example of how useful playful hacking can be to the industry. This guy found a gaping wide security hole in the router, and Actiontek actually listened, and fixed it the same day. If only more companies listened more closely to the hacker community....
And I don't want to hear anyone say that they are expensive, or hard to come by
;-) but I haven't been able to get a working Pentium mobo lately.
Definitly not expensive, but it's surprisingly hard to get old hardware around here. I have a couple of P133 chips and some SIMMS (8Mb each... amazing
That and a dedicated xDSL box looks so much better sitting on my desk -- what can I say, I love blinky lights!
From the modem rom image:
/lib/modules/cnxt_adsl.o.proprietary ]; then /sbin/insmod /lib/modules/cnxt_adsl.o.proprietary
# if [ -e
#
commented out, but theres several references to ADSL
interesting...
John
Now you have NAT on your 56k line AND security AND accounting AND a means of blocking the spammers when they start port scanning you.
Anyone connecting a windows machine directly to the net is just asking for it. Thing is, if you do that you'll probably never even know how many times your system has been compromised, or what has been "borrowed" from you.
Did you not see this?
Connect a terminal trough the serial port
The terminal IS THE DISPLAY. For that matter, it could be the keyboard too...
http://www.lex.com.tw/cv860b.htm, which is the second link in the post suggesting a lex board. Really, I'm looking at the BN860T. It's 10mm larger than a mini-itx board, but it takes any P3/Cel3/C3/Eden.
"When I say "real world", I'm talking about real businessess. Not someone who works from their house and likes to play with linux. You know...real businesses, like those that call real consultants or hire real IT staff for real solutions. The ones that pay the bills of people like me."
/budget for the crap connection and expect it to work 24/7.
What a silly thing to say. A SOHO that has a home-based business is a "real business". A lot of them don't have "real IT staff", or funds for "real consultants". Although they do have "real money" to buy "real products", from "real companies" that do have people familiar with "real IT issues", and the expertise to package that into a "real solution".
This sounds like the classic example of the IT consultent class system. I find the whole attitude of if it's not a cisco router or a USR/3com modem it's not real most annoying. Franky speaking, I've found USRs to be the most unreliable modems you can buy, assuming *real* conditions like crappy lines or actually handshaking with something that isn't also a USR/3com product. "It must be your lines cause it's a 3com modem it's the best"... right... as I hook up some generic that actually works right under the same conditions.
Reality is, no one needs morality if there isn't enough to eat. Standards are established not by what works best but by what is ever the cheepest you can get away with.
If an emergency IT-related visit can be avoided via ondemand fail-over to dialup, then all is good, that's rather the point. The real world has people who don't have the forsight to actualy budget, practicaly filled with buggers who CAN'T remember their passwords, and could only afford
That's rather the nice thing about uClinux, some one who likes to play with linux can protype a solution. I would not be shocked at all if there was an ongoing HSRP project for future appliances due to the fact that the number of people willing to pay for the *real solution* are in the minority. It would be nice if everyone had the budget for what was the best, but reality is very diffrent.
And franky, I'd like to flog all those high paid consultents who actually deployed USR/3com modems without actually testing to see if they will even work with the host/client in question.
There is no sanctuary. There is no sanctuary. SHUT UP! There is no shut up. There is no shut up.
So, on the one hand Actiontec thinks parents need to spy on their kids. On the other hand, it doesn't occur to them that enabling TELNET on the wAN side of a router is unsafe. Bloody typical.
Being Linux based is cool and all, but what are the limits of the platform? How far can it be extended?
Based on the circuit board, I assume storage is pretty limited (single flash chip), and RAM is probably small.
Can the hardware be modified at all?? There is a header on one end of the board, what is that intended for? If it could handle CompactFlash, storage could be easily expanded.
Reading through the spec's for the Conexant "Network Processor", it seems the ARM core includes a USB controller. External USB storage could also be very nice (even USB1.0, if we're dealing with dial-up or DSL speeds).
- A simple reverse proxy / tcp forwarder could allow flexible inbound access.
- If storage is added, it could make a good smallscale personal mail server.
- Run snort on it for Intrusion Detection
- IPSec VPN termination?
Hmm.. that list looks kinda challenging for such a small device.. But, at low speeds none of those really need a lot of horsepower, just enough RAM to hold it, and storage to handle logs/spooling.
There are still areas of the country where broadband is not available. I live in a rural area and our local cable company (Northland Cable) has absolutely NO plans to offer internet service. Many people around here do not live within 3 miles of the phone company central office or R-DSLAM.
Before I got DSL, I did set up a Linux gateway with a Lucent 56k Winmodem. Not terribly easy to do, but the hardware is obscenely cheap.
I have a Westell Wirespeed DSL modem/router that BellSouth gave me.
I could be wrong, but I believe it is running some type of embedded Linux.
With 2 ethernet ports it could make a good firewall with dial up for remote administration. This might be a good at a site location that you do not always have physical access like a exec/ceo's house...
The way that most of us would use the Actiontec is to plug it into our wired/wireless router/switch, just as we would our cable/dsl modem. This would use one 100Mbps ethernet port. This leaves one unused 100Mbps ethernet port.
Items that have not yet been mentioned:
1) One could connect the second 100Mbps ethernet port to a cable/dsl modem and, by modifying the Actiontec's software, use the 56k modem as a fallback internet connection. If the Actiontec notices that the connected cable/dsl modem has become unresponsive, it could dial-up an ISP using it's own 56k modem.
2) One could also daisy-chain N Actiontec's and (with software modifications) have an N * 56k connection. ( One will also need N distinct phone lines.)
Item #1 is probably the most interesting to most of us, but item #2 is not a bad feature either and would likely use similar code. If anyone out there explores either of these ideas, I'd like to hear more about it.
That would be cool. I think the first goal, however, is to get a really good handle on the platform, find out what it is capable of and how to manipulate it. For example, most embedded platforms have some method for recovering from a corrupt flash and I'm betting that this board does too. However, there is no documentation that I've seen yet that will confirm this. I suspect that the 10 pin jumper is an additional serial port that can be used as the console, but I haven't ripped my parent's modem apart yet to find out. It's too busy actually doing what it was originally designed for (with minor modifications) and I haven't been able to get my hands on another one to play with yet.
In any case, my short term goals for the box are to see if I can get access to the boot-loader firmware, identify a specific uClinux port that can be loaded on the thing and see if I can get a custom kernel to load. Once that is done, then I'll see if I can get and NFS root filesystem working so I can use the box to function as a development platform for itself.
All of this is widly speculative, and not really important to me other than for the simple reason that it might be possible and therefore it is a challenge. I'm sure that a lot of other people out there are going to be hacking on these things and far surpassing my initial investigation and experimentation.
The box already runs the Boa webserver. Follow my directions in the article, and you can add static HTML pages (and even your own CGI's if you get a cross compilation environment going) onto the box. If we got a kernel with NFS support onto the box, it would trivial to mount your Webpages off of a remote NFS server.
I see many posts referencing some misguided, lame comments that the article is hosted on a 56k modem. That is just plain stupid. It's hosted on a server, sitting in a datacenter, running Apache under User Mode Linux. In fact, when the article was posted, the bandwidth usage climbed up to 8 Megabits / Second without much impact. The pictures are sitting on a separate server managed by the UML Coop. This just goes to show that UML is up to the task of Slashdot!
Both sound like good ideas. I'm in favor of finding out more about the platform, and seeing if a completely customized uClinux can be made to boot on the box. If so, then everything else becomes easily possible.
Just pick up a soekris if you want fun. :)
Living with the penguins are we? I don't know about anyone else, but I'm using older computers as foot-rests these days. I litterally have people showing up at my door with Pentium computers asking me if I'll take it off their hands.
My current foot-rest is a P100, with 4 PCI slots, 3 ISA slots, 1GB HDD, 250W Power supply, 32MB RAM, floppy drive, and soundcard with attached CD-ROM. A few feet away I have a Pentium PRO 180MHz DEC, with 128MB of EDO. It's even new enough that it's an ATX.
If you want one.. Or a few dozen, just poy for shipping and I'll send you as many as you can handle. Frankly, I know it's going to be a hassle to legally dispose of these, so putting them back into use would be a better solution, but there's so many of them, and so few people that know how to do anything productive with them. Not to mention that it ends up being a lot of work figuring out what still works, and putting pieces from a couple systems together to make one really good one.
How many would you like?
Hell, I've got plenty of 16MB sticks of EDO, and a few 32MB sticks as well (not that you really need more than 16MB for a simple router)
I agree with you there. There's also the fact that they use a bit less power than a Pentium system.
I'm on the other end of the spectrum. Blinking LEDs are okay for a while, but they get REALLY REALLY irritating.
My DSL modem has 3, industrial-power LEDs, that light up a room like a 20watt night-light. But that isn't so bad, because it replaced my cable-modem, which had about a dozen LEDs in various locations all over it, and half of them would be constantly blinking like mad.
I've got several power LEDs on each computer, the IDE light flashes off and on, removable HDD slots with their own blinken-lights. Power supplies and UPSes with their own lights, usually flashing, and each of my keyboards has a few LEDs that need to stay on. Amplified speakers with multiple, powerful, glowing LEDs. Cordless phones/battery rechargers with lights glowing all the time, and Philips/Magnavox has decided that there should even be an LED on my remote, to blink on and off, just in case I don't relaize that I am pushing a button.
I can't understand case-modders at all. If anything, I'd pay more NOT to have my computers giving off lots of flashing lights.
The worst part of all, is that it's not practical to cover them. Each little light needs to be easy to see, so I know if something is on, and operating properly. I want to go back to the days before LEDs, when decices would either have something physically move into place to show that it was on, or would have the nice, soft, yellow-glow of normal, small, incadesent bulbs.
I guess the first thing I need to design is some tiny device, that can be made to change colors very easilly with a small electrical current, but doesn't give off non-polarized light.
Oh yeah, I almost forgot to mention how annoying my network cards, and hub/switches are... SO... MANY... BLINKEN... LIGHTS... AAAHHahahahahahaahaha. Muhahahahhaa.
Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
[Last sentence top thread]
...Wouldn't it be cool to build a terminal by connecting a modded version of device X through the serial port to a terminal...
It would make a nice cheap terminal with its own built in connections.
Summarizing:
Sure. But why not just use the terminal as a terminal?
ISN'T THAT WHAT I SAID?
RTFP. I said that you could use it as a keyboard too, suggesting that it be used as a terminal.
Living with the penguins are we?
:) :) -- but for now I'm stuck.
.cx website ... you can trust me :-)
Not far from it
It's a fairly non-techy part of the UK here. Very few 486 or Pentium machines because few people bought them. It's only in the last few years that PCs have become popular. So yea, I'll soon have lots of spare parts
just poy for shipping and I'll send you as many as you can handle
The shipping costs would probably not make it worth while. I assume your in the USA or Canada?
Blinking LEDs are okay for a while, but they get REALLY REALLY irritating.
My old 16 port 10mbit hub had 16 very bright LEDs. Copy a file and you get an instant disco. Into the bargin there is a horribly bright fluorescent spotlight on my main computer case. That thing can blind you if your not careful!
(Yea, it's a link to an image on a