Slashdot Mirror


Linux Distro For Linksys WRT54G

scubacuda writes "Here is a tiny Linux distro for the Linksys wrt54g (d/l the distro here). In just a few seconds, you can give your access point's ramdisk syslog, telnetd, httpd (with cgi-bin support), vi, snort, mount, insmod, rmmod, top, grep, etc." Interesting -- "The script installs strictly to the ram disk of the box. No permanent changes are made. If you mess something up, power-cycle it."

227 comments

  1. does it still function as an AP by Anonymous Coward · · Score: 5, Insightful

    does it still function as an AP properly?

    1. Re:does it still function as an AP by klasikahl · · Score: 5, Informative

      It does, here.

    2. Re:does it still function as an AP by Anonymous Coward · · Score: 0, Troll

      Better yet, what's the point? Has this guy ever had a gf or got laid? What's the infatuation of runnign linux on everything? Can I get my toaster or ceiling fan to run linux too, then it would be the "toaster to rule the world".

    3. Re:does it still function as an AP by Pointer80 · · Score: 1


      Better yet, what's the point? Has this guy ever had a gf or got laid? What's the infatuation of runnign linux on everything?


      Umm...this device ships from the manufacturer with linux on it.
      This guy is just adding more functionality to it.
      It would be really neat to see somone setup something like hogwash on one of these. :)

      /pointer

      --
      [%- PROCESS life -%]
  2. That's cool. by FreeLinux · · Score: 1

    Slow as hell and not terribly practical. But, still very cool.

    1. Re:That's cool. by garcia · · Score: 3, Insightful

      not terribly practical? Running snort on a wireless router isn't practical?

      Slow? 125mhz MIPS is slow?

      Might want to better explain what you mean.

    2. Re:That's cool. by FreeLinux · · Score: 4, Interesting

      Snort logs will be written to /var/log/snort

      Ramdisk based snort logs aren't too enticing to me.

      Another HTTP server on 8000 doesn't do anything for me either, especially when the one on port 80 is already like molases running up hill in winter.

      The fact is that this might be useful in troubleshootingsomething on the router but, for production use it isn't terribly practical. But, then again who's going to rely on this router for any real production use. This is after all, a home or small office device.

    3. Re:That's cool. by perlchild · · Score: 1

      what about snort logging to sql? or did they forget the required libraries?

    4. Re:That's cool. by Anonymous Coward · · Score: 0

      "Slow as hell and not terribly practical."

      Kinda like most things open-source, right?

    5. Re:That's cool. by Fuyu · · Score: 1

      From the article, "The snort configuration file should be changed for your network configuration and needs. Snort logs will be written to /var/log/snort. Snort can be configured to log to a remote system if desired."

    6. Re:That's cool. by Anonymous Coward · · Score: 2, Interesting

      While logging may not be too cool, controling what goes on may be. The gui does alot sure but you can do SO much more with rule based stuff. Like this machine can talk this way while that one can not...

      How about a bind caching server ? How about a blackhole ad removal server? How about a time server? How about pushing the logs to another machine? While it may be slow these things do not have to be lightning fast, just fast enough. It is afterall just a simple router. Its not meant for 300 machines all trying to get the interenet. Its meant for like 4-5 computers. Also a 125mhz mips processor will do alot more than an equiv x86 machine. The mips processor is AWSOME in pumping data. The limiting factor here will be the 16mb of memory... I used to work on a 25mhz 4 way mips machine. It wasnt till i got to a 766 x86 that I found a computer that was AS good.

      Also some logging may not be a bad idea. As it is wireless do you REALLY trust it? What if your leet 12yr old neighbor decides your wireless is cool. Do you really trust him? Sure he may be exploring but do you want him in your network? No you want to know what is going on. And I dont know about you but the logging on this router, as it currently is, SUCKS. It just shows who and what. But does not show when and does not resolve the name. IP A.B.C.D means nothing to me, but www.yahoo.com DOES. I for one will be playing with it...

  3. Take that emacs zealots! by Anonymous Coward · · Score: 3, Funny

    This comes with vi and NOT emacs, as 95% of all distributions don't come with emacs!

    1. Re:Take that emacs zealots! by ville · · Score: 5, Funny

      And emacs takes up 95% of those distros that come with it.

      //ville

    2. Re:Take that emacs zealots! by Barbarian · · Score: 1

      how about pico, or something that's a little easier to use than vi?

    3. Re:Take that emacs zealots! by Anonymous Coward · · Score: 2, Funny

      Thats because people CHOOSE to install emacs, but no one in there right mind would install vi so Vi Zealots force it on them ;-)

    4. Re:Take that emacs zealots! by Bodrius · · Score: 2, Funny

      That's because Emacs is at heart an Operating System, not an application.

      I'm patiently waiting for the Emacs distro that runs Linux in a VM.

      --
      Freedom is the freedom to say 2+2=4, everything else follows...
    5. Re:Take that emacs zealots! by Gherald · · Score: 1

      Pico is dead, GNU Nano would be the WTG

    6. Re:Take that emacs zealots! by Dog+and+Pony · · Score: 1, Funny

      Gotta wonder what those other 5% are there for...

    7. Re:Take that emacs zealots! by spektr · · Score: 1

      That's because Emacs is at heart an Operating System, not an application.

      I'm patiently waiting for the Emacs distro that runs Linux in a VM.


      When it runs vim I will give it a try...

    8. Re:Take that emacs zealots! by myov · · Score: 0, Redundant

      Emacs is a great O/S. But what it needs is a good text editor.

      --
      I use Macs to up my productivity, so up yours Microsoft!
    9. Re:Take that emacs zealots! by wik · · Score: 4, Funny

      Emacs documentation.

      --
      / \
      \ / ASCII ribbon campaign for peace
      x
      / \
    10. Re:Take that emacs zealots! by Anonymous Coward · · Score: 0

      vi is not a very popular editor on linux distributions, i would say emacs is more popular.

    11. Re:Take that emacs zealots! by Stonent1 · · Score: 1

      Not true, I had gentoo that installs nano by default and the first thing I did was install vi!

    12. Re:Take that emacs zealots! by Anonymous Coward · · Score: 0

      Pico's probably on there, but pico sucks. Go ahead, just learn vi. Everyone else is doing it.

      For a plain, no-nonsense, and standard editor, it's pretty damn good.

    13. Re:Take that emacs zealots! by tugrul · · Score: 1

      Emacs is a great O/S. But what it needs is a good text editor.

      It does have a good text editor, vi.

    14. Re:Take that emacs zealots! by myov · · Score: 1

      This distro includes vi, but emacs doesn't :)

      --
      I use Macs to up my productivity, so up yours Microsoft!
    15. Re:Take that emacs zealots! by Anonymous Coward · · Score: 0

      That troll absolutely sucked. Try harder.

    16. Re:Take that emacs zealots! by Dog+and+Pony · · Score: 1

      LOL ;-)

      It just had to be something like that!

    17. Re:Take that emacs zealots! by BJH · · Score: 1

      Never heard of M-x vi-mode, I see ;)

    18. Re:Take that emacs zealots! by Bios_Hakr · · Score: 1

      Dude, EMACS would be a great OS...if only it had a decent text editor...

      ps...Not sure who originally said that...

      --
      I'd rather you do it wrong, than for me to have to do it at all.
    19. Re:Take that emacs zealots! by SatanicPuppy · · Score: 1

      Well, at least ONE distro is 95% perfect.

      Heh.

      --
      ad logicam Claiming a proposition is false because it was presented as the conclusion of a fallacious argument.
    20. Re:Take that emacs zealots! by Principal+Skinner · · Score: 1

      Whereas I have yet to install vi on my Gentoo machine. I do get tempted every now and then, for something nimbler than emacs but more disciplined than nano, but those impulses only hit me once a month or so, and my doctor said they should get less frequent as time goes on.

      --
      one hundred twenty
      is just enough characters
      to write a haiku
  4. article in case of slashdotting... by Anonymous Coward · · Score: 5, Informative

    yeah i was looking and i hit refresh and his counter jumped about 200 hits in a couple seconds so heres the article in case slashdot kills another site:

    Jim Buzbee
    September 05 2003

    Mini wrt54g distribution Version 0.1

    This is a mini Linux distribution for the Linksys wrt54g. In about 20 seconds, you can install a small set of Linux tools to your access point's ramdisk.

    Upon completion of the installation, you will have a system with basic tools such as syslog, telnetd, httpd (with cgi-bin support), vi, snort, mount, insmod, rmmod, top, grep, etc.

    To install, modify the script wrt54g.sh for your ip address and password. By default the script uses Java to move files to the wrt54g. If you would prefer wget, uncomment the wget lines in the script. I had a problem with older version of wget translating escaped characters before passing the URL on to the server. Your mileage may vary.

    The distribution has been tested on firmware version v1.30.7, Jul. 8, 2003. The installation has been tested on Linux and OSX

    The script installs strictly to the ram disk of the box. No permanent changes are made. If you mess something up, power-cycle it.

    Upon successful execution of the script, you will be able to telnet to your box and start exploring its capabilities. Note that there is no login prompt, you telnet directly in as root. Be careful.

    An alternate web server is installed on port 8000 of the box.

    The nfs drivers are not loaded by default If you would like to mount a nfs disk, insmod the drivers from /var/modules/ in the following order : sunrpc.o, lockd.o, nfs.o then mount your disk.

    To run snort, execute the following command on the box : /var/bin/snort -c /var/etc/snort.conf &

    The snort configuration file should be changed for your network configuration and needs. Snort logs will be written to /var/log/snort

    If you wish to change the files sent to the box, untar distro.tar and add or subtract files. Normally you should not run the install script more than once for a power-cycle of the box. i.e. if you want to run the install again, reset the wrt54g first.

    I have attempted to limit all changes to the ram disk, but there are no guarantees that you will not damage your unit by using these tools.

    Download the distribution
    Visit my wrt54g snort page
    Thanks to Ross Jordan, C. J. Collier, Ben Grech and others who did the heavy lifting in figuring out how to get new code on the box

    Jim Buzbee jbuzbee@nyx.net

    consolevision roxors!

    1. Re:article in case of slashdotting... by Anonymous Coward · · Score: 0

      oh come on ... I waited 5 seconds and it went up 12 hits.

    2. Re:article in case of slashdotting... by suwain_2 · · Score: 2, Interesting

      Heh, I refreshed it a couple times (it loads instantaneously), and it climbs ~10+ hits every second. 948 was my first number, now it's 1102. I don't recall Slashdot linking to a site with a live hit counter any time recently, much less one this low.

      I've got a copy of the file itself if they go down, too.

      --
      ________________________________________________
      suwain_2 :: quality slashdot p
    3. Re:article in case of slashdotting... by nfsilkey · · Score: 1

      Here is the direct link to the distribution for those who dare. 1098kB in size.

  5. Well this means... by Nik+Picker · · Score: 5, Insightful

    For us that buying a linksys router is even more preferable. For a personal user to any business criteria the advantage over having full source to this hardware is incredible. Certainly its going to ensure that they stay high on our prefered supplier list provising we can access the boxes and code. incidentally we install WiFi in Public spots for the UK which is being kinda slow to take this up.

    --
    And thats why Firecrackers and kittens don't mix.
    1. Re:Well this means... by Anonymous Coward · · Score: 1, Troll

      So you're preferred vendors are the ones that steal GPL code and don't relase the sources? Except when they get caught red handed?

    2. Re:Well this means... by interiot · · Score: 2, Informative

      Note that code is not available for everything. In particular, the seattle group wasn't able to find publicly-avilable drivers for the 802.11g radio.

    3. Re:Well this means... by SuperFlaco · · Score: 4, Informative

      Looks like Linksys is doing the right thing and providing the source now.

    4. Re:Well this means... by iabervon · · Score: 2, Insightful

      I prefer vendors who use GPL code and release the source when prompted. Whether they're doing it out of an understanding of the advantages or not, products with source available are just more useful (as this story demonstrates).

      If everyone released source happily, the GPL wouldn't be necessary in the first place. The point of the GPL is, in fact, to compel unwilling participants who recognize the value of the available GPL code to participate in Free Software. The instances where the difference between the GPL and the BSD license matter are the ones where it is necessary (and, due to the GPL, possible) to prod a vendor into releasing source. Fortunately, it's not all that hard to catch a vendor red handed. (c.f., "security by obscurity is fine, but things you sell to the public are not obscure")

      Of course, I've found LinkSys hardware unreliable in the past, so I'm not that excited about them.

    5. Re:Well this means... by hacker · · Score: 2, Informative
      Except that they're not. They are providing the upstream source, not the Linksys-modified sources. This is akin to Sony providing the source for their PS2 development kit by pointing to gnu.org for gcc and binutils. Where is the actual source to the actual code running on the WRTG? Nowhere.

      In fact, some of the sources they link to aren't even GPL.

    6. Re:Well this means... by amlutias · · Score: 1

      um, so what's the indication linksys modified the sources? because that one slashdot story that was submitted by rob flickenger turned out to be bullshit.

  6. telnetd? by Herrieman · · Score: 5, Interesting

    Why not SSHD? Nobody in his right mind uses telnet nowadays.

    --
    http://blog.astyran.sg
    1. Re:telnetd? by suwain_2 · · Score: 4, Informative

      If you read carefully, it logs you in directly as root -- you're never even prompted for a username / password. It's not meant as a publically-accessible box by any means. (Granted, wireless + root access to anyone seems a little scary...)

      ssh/telnet isn't an issue, in this case. It's silly to encrypt something when anyone can get root on it.

      --
      ________________________________________________
      suwain_2 :: quality slashdot p
    2. Re:telnetd? by temojen · · Score: 1

      With SSH2 and RSA authentcation only, but no telnet, not just anyone could get root.

    3. Re:telnetd? by MADbull · · Score: 1

      to save space and CPU cycles but i agree, telnet is horribly insecure

    4. Re:telnetd? by mindriot · · Score: 1

      It's possibly a good idea to get logged in directly as root, at least for the first-time connect... somehow you'll have to get in the first time. I guess it should be feasible enough to change to ssh with user/password after that (only need a way to store the changed setup before power-cycling).

    5. Re:telnetd? by Anonymous Coward · · Score: 0

      On a private network, telnet is just fine.

    6. Re:telnetd? by Dog+and+Pony · · Score: 4, Insightful

      telnet is horribly insecure

      Why yes it is, in the same way as your browser is "horribly insecure" when you login to slashdot.

      It sends the data unencrypted, that is all. Granted, your server is probably more important than your /. account, but that was a really strange way of putting it.

      If you never would use telnet for anything, then you'd never surf without https either. ;-)

    7. Re:telnetd? by DarkOx · · Score: 3, Insightful

      Ok, there is nothing but a ram drive this thing writes to. That means you would have to generate keys everytime the system boots. This things are VERY slow in terms of cpu power so you really don't want to be using strong encryption. Telnet is not EVIL it is what it is. It is a clear text protocol. There is nothing insecure about that. Telnet is as secure as its users. On a local *swiched* lan for instance its pretty safe, but it would be bad over shared media, or GOD for bid anytime you don't control all the hosts that will be relaying packet. I personaly would avoid it for wireless myself as well. To never use telnet is just ignorant though. In the right situation telnet does not jepordize security, and its much better then ssh where system and network resources are concerned.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    8. Re:telnetd? by godal · · Score: 1

      But then again, you could set the password before you flashed it.

    9. Re:telnetd? by Pharmboy · · Score: 1

      On a private network, telnet is just fine.

      They seem to be missing that point. As the article states, telnet is not available on the WAN side of the router (ie: available for the 192.168.*.1/255.255.255.0 network only) but it doesn't matter because the code is considered experimental anyway. The whole purpose is to allow you to log in as root and experiment, NOT to use it in a corporate/production environment.

      Amazing what you learn when you actually READ the article.

      --
      Tequila: It's not just for breakfast anymore!
    10. Re:telnetd? by aonaran · · Score: 1

      I think that's taking it to an extreme.
      I'd never give my password over telnet just as I'd never give my credit card number or any important passwords over http.

    11. Re:telnetd? by Anonymous Coward · · Score: 0

      Oh, so you are one of those fools that think a switched network is harder to sniff than a non-switched one?

      A local switched network is just as insecure as any local network. If you happen to have a hostile in it, and you don't encrypt, you are screwed.

    12. Re:telnetd? by Anonymous Coward · · Score: 0

      Look at Phagboy, trying to sound knowledgeable. Aww... it's so cute.

  7. Would this work with other Linksys routers? by cryptochrome · · Score: 5, Interesting

    None of them support Rendezous (AKA zeroconf), at least not on the level of Apple's airport base stations. That's a hack I'd really like to see.

    --

    ---If you can't trust a nerd, who can you trust?

    1. Re:Would this work with other Linksys routers? by Duwke · · Score: 2, Informative
      According to the Seattle Wireless group, it's quite easy to set up zeroconf.
      Rendezvous: If anyone is interested in advertising the box's webserver using rendezvous, executing this command either through the "ping hack" or the shell interface did the trick for me : /usr/sbin/mDNSResponderPosix? -p 80 -t _http._tcp. -n "Linksys Web Server" & -jbuzbee
      http://www.seattlewireless.net/index.cgi/LinksysWr t54g
  8. Priorities are all wrong by JPelzer · · Score: 5, Funny

    OK, this Linksys has only been out for like a few weeks or something, and they've got a linux distro for it... Yet my Toastmaster 5000xdr Quad-port (with FG-200R bagel attachment) STILL isn't supported!

    I mean, the linksys probably works fine out-of-box... But my Toastmaster STILL can't check with my Mr.Refrigeration Model XII to see if I'm out of butter and order more online. Sheesh, technology SUCKS!

    1. Re:Priorities are all wrong by Anonymous Coward · · Score: 0

      Then write one and contribute it back to the community, just like the author of this Linksys hack. I double-dawg dare you, and it better not burn my bagels!

    2. Re:Priorities are all wrong by Anonymous Coward · · Score: 0

      -1, Unfunny

    3. Re:Priorities are all wrong by Anonymous Coward · · Score: 0

      My door lock does not know I'm home. I have to actually insert a key to get in, even though I'm the rightful resident of the house.

      My car is slightly better. Atleast, I can hit the remote to get in. No keys needed to get in.

      Technology!

    4. Re:Priorities are all wrong by JPelzer · · Score: 5, Funny

      > OK, this Linksys has only been out for like a few
      > weeks or something, and they've got a linux distro
      > for it... Yet my Toastmaster 5000xdr Quad-port
      > (with FG-200R bagel attachment) STILL isn't
      > supported!

      OK, to reply to those that say I should roll my own distro for my Toastmaster, I have been working on a little something. Currently, there is no support for the bagel attachment, and it has some trouble with the more exotic breads (ie, non-white bread). And it occasionally pops them out at dangerous velocities. And you have to first separate the bread and crust using my 'decrust.sh' script, and reassemble them after toasting using 'recrust.sh'.

      But otherwise, it's coming along nicely. I did have ONE little bug where instead of ordering more bread, it ordered an industrial bread-machine and hired a staff of 12 to run it. They all seemed so disappointed when I told them they were only hired because of a bug. But I'm sure they get that a lot.

      So check it out, gnutoast.org... I think it's the future of toasting, possibly even the future of grilling too.

    5. Re:Priorities are all wrong by DoctorPepper · · Score: 1

      NetBSD was ported to that thing a looonnngggg time ago. Why don't you surf over there and give it a look-see!

      --

      No matter where you go... there you are.
    6. Re:Priorities are all wrong by Anonymous Coward · · Score: 0

      Will your work support my WinToaster?

    7. Re:Priorities are all wrong by dbitter1 · · Score: 1
      Here's an internet enabled toaster: for you.

      --
      For us carnivores, "Sucking the marrow out of life" isn't a transcendentalist philosophy but a practical instruction.
  9. Re:Who is ur daddy?!?! by the_bahua · · Score: 0, Offtopic

    Some might say Hammurabi or Nebuchadnezzar, but it's not certain that either of them ever actually went to Ur, even though Babylon often claimed lordship over Ur, Nineveh, and many other Mesopatamian cities.

  10. What is this for? by Hettch · · Score: 2, Interesting

    I'm really not trying to be a troll, this is a serious question. What does making an access point into linux box atually do? Will it still retain all of its normal functions? Will this increase its functionality in any way? Being able to telnet into something as root automatically doesn't seem the safest thing to do for whatever this is, either.

    1. Re:What is this for? by Wumpus · · Score: 4, Insightful

      It's quite useful. You can turn it into a VPN server, have it serve DHCP, put your network's access control mechanism on it, and have a one box solution to a whole range of wireless networking problems.

    2. Re:What is this for? by windex82 · · Score: 1

      By reading the article im assuming all the normal functions still work, but by adding linux on top of it you are creating an advanced access point with logging, instrusion detection, and what ever else you can get away with running on it. I use a home made freebsd box as a nat/firewall, it gets to log all types of stuff, something you nromally dont get with the router only boxes, and if you did its more then likly no where near as configurable as this would be.

    3. Re:What is this for? by kevin_conaway · · Score: 1, Insightful

      Isnt that what it already does though anyway?

    4. Re:What is this for? by zakezuke · · Score: 1

      As well as being able to add programs with ease(?). Could be a smart security system that would contact approperate people in the event an alarm is triggered, or a spiffy ethernet sniffer, or if 16 megs is enough, a nice way to smuggle on a quake server to your workplace.

      --
      There is no sanctuary. There is no sanctuary. SHUT UP! There is no shut up. There is no shut up.
    5. Re:What is this for? by cgranade · · Score: 1

      And create some problems, too, it seems. Don't get me wrong, I think this is uber-l33t, but it seems like perhaps one could use at least a root password, and a simple SSH server. Granted, 16MB isn't much, but still...

      --

      #define DRM chmod 000

    6. Re:What is this for? by FIRESTORM_v1 · · Score: 1

      I have to agree with you there, When I developed an image for the MSN Companion from emachines (another of the internet access devices) I had to give up a lot to get it to run Linux, but there again i was under a space constraint of 16MB disk. I think the reason that they used telnet instead of SSH is because the telnetd daemon is self-contained at around 32K however SSH is a bit more complex than that. Personally I would've rather used SSH but then again...

      --
      Partnership for an idiot free America!
    7. Re:What is this for? by LinuxHam · · Score: 1

      I, like many here I would guess, have the BEFW11S4 (i think) wireless AP/router/4-port switch model. One thing that I would change right away is to make a "real" DMZ. I'm sure most people here know enough to not put a box in the "DMZ" which really just means "no firewall for this one box", but instead forward ports in to a specific box.

      I would want to be able to firewall off an Internet-accessible box from the rest of my network while forwarding one or more inbound ports to that box. That would be better than all the port shenanigans you have to go through to support NetMeeting, for instance.

      --
      Intelligent Life on Earth
    8. Re:What is this for? by Malc · · Score: 2, Interesting

      Heh: I like the idea of making it a VPN end-point (client, not server) for my PPPoE connection. That offloads the duties from another box. I've had problems with my Windows desktop being multi-homed on multiple VPN connections (it screws up Microsoft Networking, of course) and have to route through another box. Putting PPTP (yeah, yeah) on this and bringing it up after PPPoE connections would save me from have to keep a noisy 100W PC from doing the job. Interesting.

    9. Re:What is this for? by ryanr · · Score: 1

      Yes, but maybe that's because it was a Linux box to begin with.

      Doesn't do the VPN function, though.

    10. Re:What is this for? by aonaran · · Score: 1

      no, that's what this box is for:
      http://www.linksys.com/products/product.asp? grid=2 3&prid=433 ...and you don't have to re-install the VPN server after every power failure.

  11. Crap... by Kedisar · · Score: 5, Funny

    I was going to post "But Does it RUN LINUX!?" but then I RTFA. Grr....

    1. Re:Crap... by Tony.Tang · · Score: 5, Funny

      You RTFA? You must be new here... ;)

    2. Re:Crap... by scubacuda · · Score: 1
      I submitted this one and didn't even RTFA. :)

    3. Re:Crap... by FrostedWheat · · Score: 1

      I was going to post "But Does it RUN LINUX!?" but then I RTFA. Grr....

      But can it play Ogg Vorbis??

    4. Re:Crap... by nolife · · Score: 1

      Posting a "new here" post? Those new here posts are old, you must be new here.

      --
      Bad boys rape our young girls but Violet gives willingly.
    5. Re:Crap... by MegaFur · · Score: 1

      I know that's a joke, and it's a good one, but isn't it also a contradiction?

      This statement is false.

      --
      Furry cows moo and decompress.
    6. Re:Crap... by spu · · Score: 1

      You can still ask about a Beowulf cluster of these...

      --
      The pen is mightier than the sword... ...just not quite as intimidating.
    7. Re:Crap... by amlutias · · Score: 1

      will it pour hot grits down my pants, or petrify natalie portman?

  12. Re:/. what's going on? by Hanji · · Score: 0, Offtopic

    Well, I can't answer for the rest of them, but the dna game-playing computer one has already been posted to /.: World's First Game-Playing DNA Computer

    --
    A Minesweeper clone that doesn't suck
  13. Re:/. what's going on? by Anonymous Coward · · Score: 0

    First, the GSM story was posted in another form, a few days ago.

    Second, shut up. You obviously had this whole troll written out, just waiting for a chance to stick it near the top of a new /. story. Shut up and deal with it. If you don't like what gets accepted, well, too fucking bad.

    Also, you copy/pasted whole paragraphs from the stories you link to. How fucking insightful is that?

    If you don't like what gets posted here, then keep finding your news elsewhere. You obviously have done so already, why do you need to bitch about it to the rest of us?

  14. More constrained by memory by GGardner · · Score: 4, Insightful

    125 Mhz MIPS CPU is fast enough to do some interesting things, but the box only has 16 Mb of RAM, and no local disk for paging. That's going to be the limiting factor for most of the fun things you'd like to do with this box.

    1. Re:More constrained by memory by Anonymous Coward · · Score: 4, Funny

      In my day, laddie, we had 64kB of ram and 1 MHz. And we liked it! Three miles in the snow we walked, every day, to the terminal... barefoot!

      More seriously, you can do a hell of a lot with 16MByte of RAM and 125MHz. My old Amiga was happily connected to the internet for years with less than that.

      Stick FORTH on any box and (assuming you know FORTH, of course), you can make most any computer jump through hoops, devoid of the efficiency problems that bloated tarbaby languages like C++ introduce.

    2. Re:More constrained by memory by Anonymous Coward · · Score: 0

      fuck that, just use asm

    3. Re:More constrained by memory by jd142 · · Score: 4, Funny

      In my day, laddie, we had 64kB of ram and 1 MHz. And we liked it! Three miles in the snow we walked, every day, to the terminal... barefoot!

      Up hill both ways, too!

    4. Re:More constrained by memory by Anonymous Coward · · Score: 0

      Forth usually has inline asm. A major advantage of forth over a conventional asm is that it has a REPL i.e. it's interactive. You can fit an interactive development environment on machines with a few K of ram.

    5. Re:More constrained by memory by MbM · · Score: 1

      Too true; I attempted to run debian's mipsel port but lacked the memory to even run 'apt-get' without triggering the OOM killer.

      --
      - MbM
    6. Re:More constrained by memory by nchip · · Score: 1

      howabaout Network Block Device? I though NBD was created just for situations like that.

      --
      signatures pending - ansa@kos.to - (dont mail there)
    7. Re:More constrained by memory by Anonymous Coward · · Score: 2, Insightful

      It warms my heart to see that people outside of the embedded business still care about and know how to handle low (by today's standards) performance/memory devices.

      "Yes grandson, there was once a time where chips weren't able to and didn't need to run Linux and Java."

    8. Re:More constrained by memory by MbM · · Score: 4, Informative

      I tried an nfs mounted swapfile with only minimal success. It'd get further but it would go into some heavy swapping flooding the network, durring which time the access point was very unresponsive; just not practical for actual use.

      --
      - MbM
    9. Re:More constrained by memory by Istealmymusic · · Score: 1
      but lacked the memory to even run 'apt-get' without triggering the OOM killer.
      Shows how well written apt-get is.
      --
      "The lesson to be learned is not to take the comments on slashdot too literally." --Vinnie Falco, BearShare
    10. Re:More constrained by memory by anthonyrcalgary · · Score: 2, Interesting

      Can't you use a file on an NFS mount with the loopback driver to get a swap device?

      I'm not sure what the point would be... if you have another box, why not just run your services on it... but they nifty value is significant.

      --
      When someone might yell at me, it has to be OpenBSD.
    11. Re:More constrained by memory by zenyu · · Score: 1

      I tried an nfs mounted swapfile with only minimal success. It'd get further but it would go into some heavy swapping flooding the network, durring which time the access point was very unresponsive; just not practical for actual use.

      Was the NFS mount over the wireless or the ethernet port? Is the ethernet port 10Base-T or 100Base-T? It seems like this should work... What were your nfs params? Maybe the linux network file system would work better? I'm actually interested in doing this for the playstation 2, it should be faster than a disk swapfile assuming your server can keep all the pages in RAM...

    12. Re:More constrained by memory by BJH · · Score: 2, Informative

      No. There are patches out there that allow it to be done over the network block driver (nbd) - for example, this one.

    13. Re:More constrained by memory by caferace · · Score: 1
      More seriously, you can do a hell of a lot with 16MByte of RAM and 125MHz.

      Like, say... Build a Linux-based DVR (minus the HDD). OK. That won't work.

    14. Re:More constrained by memory by ryanr · · Score: 1

      Not yet, no NFS. This guy is specifically trying to avoid reflashing the box. You could of course compile a version of the kernel with NFS support and include the requisite utilities, if you're brave. One problem so far is that there's just the flash ROM, there's no oops-I-screwed-up-the-flash standalone ROM. So, if you render it unbootable, you've also lost your software flash programming interface, and it's time to break out the soldering iron.

    15. Re:More constrained by memory by anthonyrcalgary · · Score: 1

      I'm more of an OpenBSD guy than a Linux guy, but can't you get NFS support with a module?

      "Upon completion of the installation, you will have a system with basic tools such as syslog, telnetd, httpd (with cgi-bin support), vi, snort, mount, insmod, rmmod, top, grep, etc."

      I imagine insmod is there so you can extend the kernel without flashing anything. I really have no idea what can be a module, but there's at least some freedom there.

      --
      When someone might yell at me, it has to be OpenBSD.
    16. Re:More constrained by memory by ryanr · · Score: 1

      If you wrote a KLM version of NFS, you could. I'm under the impression that NFS is a kernel-compile option. I could easily be wrong, though... haven't compiled my own kernel since 2.2.

    17. Re:More constrained by memory by kcb93x · · Score: 1

      Ummmm....wasn't Linux itself designed to run on something along the lines of a 386 with 8 (forgive me if I'm wrong here) megs of RAM, and on a tiny HD. (haven't they gotten a stripped kernel down under 500k for some of those portable units, etc?)

      Why not set up an LTSP-type system if you want massive capabilities? (I know LTSP can run on 486's with RAM and nice vid card) But you don't need graphics- just text. So just use the 16MB to load the stuff off of another system (say, a server or whatever) that is also where the log files are written to. That, or mod it to add the flash chip out of one of those Thumbdrives (They're up to 1GB, last I checked- ran somethin like $300-400 US)

      Somebody take this idea and run with it. Let's use it for anything that's low end like this.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    18. Re:More constrained by memory by anthonyrcalgary · · Score: 1

      Well it doesn't really have to be NFS. There's a network block driver that someone posted a link to, but it looked a bit heavyweight for such a tiny box. If you're doing it exclusively over the wired network and do some rudimentry authentication, it should be fairly secure without any encryption.

      --
      When someone might yell at me, it has to be OpenBSD.
    19. Re:More constrained by memory by Anonymous Coward · · Score: 0

      actually, it might if you used it to control an mpeg2 encoder. the tivo does this with it's 50mhz CPU chip... now just figure out how to hack in an expansion board inside with an mpeg2 encoder + tuner, and a laptop harddrive...

    20. Re:More constrained by memory by Anonymous Coward · · Score: 0

      I've heard that there's a lot of neat tricks you can pull off with low-end hardware if, for example, you know the exact timings of interrupts and instructions.

    21. Re:More constrained by memory by ffallen · · Score: 1

      don't forget the fields of glass. My poor feet still bear the scars of an underprivleged childhood.

  15. [Jaw drops] by Saint+Aardvark · · Score: 1
    Oh my god. Must purchase.

    Well done, Mr. Buzbee.

  16. ssh tunneling? by JanneM · · Score: 5, Interesting

    Could this be used to establish ssh tunneling from clients to the AP? That would, in my eyes, be far preferable to the somewhat lacking link security that 802.11 offers today.

    --
    Trust the Computer. The Computer is your friend.
    1. Re:ssh tunneling? by deputydink · · Score: 1

      Could this be used to establish ssh tunneling from clients to the AP? That would, in my eyes, be far preferable to the somewhat lacking link security that 802.11 offers today.

      For sure, i bet it would be a simple hack to the cross-comiling build script for mips found here to include a suitable build of sshd.
      Oh, and if you do let me know i'd wouldn't mind a copy. ;)

    2. Re:ssh tunneling? by pimpinmonk · · Score: 1

      well, it might be too much processing overhead for the little bloke to do. Many of linksys' products (including this one?) run linux out of the box, so it's not a question of Linksys being unable to do it. However, perhaps they stick to the 802.11 encryption standards because that's all MS products support at this time...

      Good observation though, but also if you're transferring sensitive data, you'll want encrypted communication end-to-end because you can just as easily be snooped on anywhere on the net if someone's actually trying to usurp your data.

  17. What about NFS based snort logs? by tugrul · · Score: 1

    The nfs drivers are not loaded by default If you would like to mount a nfs disk, insmod the drivers from /var/modules/ in the following order : sunrpc.o, lockd.o, nfs.o then mount your disk.

  18. Sigh by curmudgeon · · Score: 4, Informative

    But still no linux driver for the corresponding WPC54G PCMCIA card?

    1. Re:Sigh by Anonymous Coward · · Score: 0

      No kidding -- let's get some better priorities here. We now have linux running on our 54g access point, but have to connect to it from a windows box. Somebody get cracking on those Broadcom drivers!

    2. Re:Sigh by localghost · · Score: 2, Insightful

      Or just say screw Broadcom and buy a D-Link or a Netgear card. The wlan-ng project supports the Prism GT 802.11g chipset.

    3. Re:Sigh by Anonymous Coward · · Score: 2, Informative

      Alternatively, people could always call Broadcom and ask to have the drivers released for this chipset. Like, the ones they use to test with that are in the CVS..... Directly copied from their website: Bill Blanning Senior Director of Corporate Communications voice: 949-450-8700 email: blanning@broadcom.com or Customer Service and Sales voice: 949-450-8700 They recently put drivers links on their front page for some of their other products.

    4. Re:Sigh by Anonymous Coward · · Score: 0

      Dude, it hasn't been that long since SWN noticed it. Things have been said to people, who have certain ways of nudging larger companies (notably Broadcom, the makers of the chipset and initial modifiers of gcc to support their CPU) to release things in a more "open" manner.

      Have some patience and do the rest of us a favour. Keep asking Linksys, and their suppliers for the code.

      Only you can help make it a reality. If you don't even take the time to do your small part in the grand scheme of getting this code released, you're nothing but a PissAnt.

      mra.

    5. Re:Sigh by localghost · · Score: 1

      Broadcom has been asked. They have been asked many times. There's a petition with 3400 names and counting. Broadcom doesn't care about the Linux market. They've made that very clear. Right now, the best chance for Broadcom Linux drivers looks to be the reverse engineering project, which doesn't seem to be going very well at this point.

      I bought a Linksys card with the Broadcom chipset a couple weeks ago, not knowing about the driver issue. I've since returned it and bought the (cheaper) D-Link card. Unless Broadcom changes their attitude, I'm never going to buy another product from them again, even if third party drivers are available.

    6. Re:Sigh by hacker · · Score: 2, Insightful
      Talk to your vendor. This is not our problem.

      When there is a "lack" of code, drivers, support, etc. in the Linux community, 99.999% of the time, it is due to lack of vendor support. Talk to them first. Ask them for the documentation. Ask them for the code. For the drivers. If they say buzz off, then you have your answer.

      Companies that make it hard or impossible to get their hardware working with Linux, make it hard to want to get it working with Linux. There are other vendors who do support and embrace Linux, and we should support them instead.

      The unhelpful companies will take a hint, or they'll go away; either way, problem solved.

  19. Hack already implemented by Anonymous Coward · · Score: 0

    Just to let people know, i have already applied this to my university and gotten into the new wireless network that is expanding beyond control. All hubs have the same password, and are very easy to find.

    Tomorrow: implement peer-to-peer network using my own protocol that will send chills down the RIAA's backs!

    Next day: mirror web sites that get the slashdot effect with a virtual server setup.

    All this equals a fun week.

    (and yes, I am an Anonymous Coward).

  20. Secure? by 1nsane0ne · · Score: 0
    Upon successful execution of the script, you will be able to telnet to your box and start exploring its capabilities. Note that there is no login prompt, you telnet directly in as root. Be careful.

    Funny that this is posted so close to this Ask Slashdot. This does not fall under the category of secure solutions I take it. Why take something where security is already a concern and make it wide open to the world? Granted putting linux on this could be useful and provide more functions that you could use but at least add some semblance of security.

    1. Re:Secure? by temojen · · Score: 2, Interesting

      From the article:

      If you wish to change the files sent to the box, untar distro.tar and add or subtract files. Normally you should not run the install script more than once for a power-cycle of the box. i.e. if you want to run the install again, reset the wrt54g first.

      Yes, un-authenticated open telnet as root seems really dumb to me too, but you could always remove telnetd and add SSH w SSH2 RSA only authentication.

    2. Re:Secure? by Anonymous Coward · · Score: 0

      Yes, un-authenticated open telnet as root seems really dumb to me too, but you could always remove telnetd and add SSH w SSH2 RSA only authentication.

      Yes, you can! You can do anything you like.

      However, I think the whole point was to get it to work first, and insecure telnet is GOOD for diagnostics. You try sniffing encrypted data and see what you see.

  21. Re:ssh tunneling? bad idea use VPN by Splork · · Score: 3, Informative

    ssh tunnels are very bad performance. what you want is a VPN.

    unfortunately you can't replace the kernel on the box with one that supports cool things because of the proprietary broadcom driver.

    (here's to whoever takes the time to write a thunking layer for the linksys 2.4.5 broadcom driver to let it work with modern 2.4.22+ kernels!)

  22. Now what would be really cool. by Anonymous Coward · · Score: 0

    Is to put a small desktop on it, such as *box, with a few tools such as xterm, dillo, abiword and linuxconf on it, atatch a usb hub to it so I can plug in a usb keyboard, mouse, and monitor and have a cheap linux boxen for administation.

    1. Re:Now what would be really cool. by Anonymous Coward · · Score: 0

      no such thing as a USB monitor.

    2. Re:Now what would be really cool. by Anonymous Coward · · Score: 0

      Just have to build one!

      Actually, probably wouldn't be all that difficult to make a simple VGA usb monitor, but what do I know?

  23. Port it to SMC Barricade? by pvera · · Score: 1, Offtopic

    Please please please please please!

    That embarrassing begging display aside, I would really love if somebody would figure out how to add extra functionality to the SMC Barricade wireless routers. At the very least, something to push the logs to a machine elsewhere in the network, as its current archival options are very limited. This is something my old Linksys router was able to do.

    --
    Pedro
    ----
    The Insomniac Coder
    1. Re:Port it to SMC Barricade? by Tadghe · · Score: 1

      Let me add the Asante FR-3000 (or hell, ANY of the Asante devices). to that "Me too" :-).

      --
      Bugs Bunny was right.
  24. Yeah, but does it work with the BEFSR41? by caryw · · Score: 3, Interesting

    Has anyone tried this on a Linksys router other than the WRT54G? My BEFSR41 4 port cable/dsl router is still running strong, and I would love to have telnetd and the such on running on it!

    Thanks!

    - Cary

    1. Re:Yeah, but does it work with the BEFSR41? by Istealmymusic · · Score: 1

      Another question, does it work with the BESFR81? If it can be ported to BEFSR41, the 81 shouldn't be that difficult.

      --
      "The lesson to be learned is not to take the comments on slashdot too literally." --Vinnie Falco, BearShare
    2. Re:Yeah, but does it work with the BEFSR41? by NegativeK · · Score: 1

      I wouldn't count on that happening very soon. From what I gathered while upgrading the firmware, the BEFSR[4,8]1 routers have _no_ free memory - the firmware developers cram everything they can into those little bitty things. Snort, telnet, vi.. They all seem way to big. =) P.S.: I never thought I'd say that telnet and vi were too big for something. .

      --
      This statement is false.
    3. Re:Yeah, but does it work with the BEFSR41? by exhilaration · · Score: 1

      Agreed - people have mentionned that this wireless Linksys wrt54g has 16 MB of RAM - our crummy little cable/DSL routers don't have anything like that.

  25. wrt54g.tar.gz Mirrors (posted Anon) by Anonymous Coward · · Score: 3, Informative

    wrt54g.tar.gz (1.07MB) mirrors

    Posted anon, I'm no whore. :)

    www.sk3tch.com/wrt54g.tar.gz
    www2.sk3tch.com/wrt54g.tar.gz
    www3.sk3tch.com/wrt54g.tar.gz

  26. Link to file by BenFranske · · Score: 3, Informative

    The article has already been posted, if the file becomes unavailible due to the /. effect a temporary mirror of the file is availible at: http://lightntrax.com/ben/wrt54g.tar.tar

  27. How does zeroconf add to a wireless AP? by tugrul · · Score: 1

    It can't help you with picking a wireless lan or getting you the encryption key, and dhcp already provides a valid IP and routing/dns information...

  28. Re:Wow! by Anonymous Coward · · Score: 0

    Hey I live in the attic. Get it right!

  29. Re:ssh tunneling? bad idea use VPN by tugrul · · Score: 1

    Well, all the modifications to the kernel are available to us since anything less would be a violation of GPL. It should be possible to build a kernel that can coexist with the binary Broadcom module.

  30. Re:ssh tunneling? bad idea use VPN by interiot · · Score: 5, Informative

    The "ssh tunnels are very bad performance" statement may be elaborated a bit more on this page titled "Why TCP Over TCP Is A Bad Idea".

  31. I'm still waiting... by SwansonMarpalum · · Score: 1

    for my Linksys IOS!

    --
    "Give away the stone, let the oceans take and transmutate this cold and faded anchor." - Maynard James Keenan
    1. Re:I'm still waiting... by dre23 · · Score: 2, Interesting

      Well the AP1100 and 1200 already support IOS. The AP 350 is going to support IOS soon, but the 340 never will. So you will very likely get your wish. The best part is that there is going to a subset of IOS for the 2600/3600/3700 routers as well as most IOS-based switches (Catalyst 6500, 4500, 3550, 2950, 3570) where on the Ethernet interfaces that connects to the Cisco/Linksys AP, you can configure all the AP parameters right in the interface configuration.

      We're testing the AP 1200 802.11 a/b dual-mode with the WLSE (wireless solutions engine linux box which does mini site-surveys, code pushes, management, mass upgrades, etc) with all the latest features... Secure Fast Roaming, Wifi Protected Access, et al.

      Cisco/Linksys do make good devices, although the competition is stepping up... SMC with the Media Player competitive unit (Cisco/Linksys only does pictures, while the SMC unit does MPEG and other video streaming) ... and Netgear with the 108Mbps WGT624 AP and WG511T card.

      --
      IPv4 allocations for hobbyists? join the ipalloc-l mailing-list! www.operations.net/mailman/listinfo/ipalloc-l
    2. Re:I'm still waiting... by pyite · · Score: 1

      Those of us in our right mind don't run IOS on the Catalyst 6500s and 4500s ;-).. at least on the switch side. For some reason it seems Cisco wants to get away from the CatOS interface as they call running with switch side using IOS as "native" mode. I just call it "painful." So right now, I work on 45s and 65s with IOS on the MSFC and CatOS on the SUP.

      --

      "Nature doesn't care how smart you are. You can still be wrong." - Richard Feynman

    3. Re:I'm still waiting... by dre23 · · Score: 1

      let's just say there are plenty of people moving away from CatOS, but it requires LOTS of babysitting ;> and, yes, Cisco is pushing it. if you want the best features and any new features, you'll likely be using "native" SupIOS.

      --
      IPv4 allocations for hobbyists? join the ipalloc-l mailing-list! www.operations.net/mailman/listinfo/ipalloc-l
  32. Does it run on European versions? by killbill! · · Score: 1

    Was wondering since the wrt54g sold there seem to be different from the US ones...

    (they're using different drivers, and linksys' website claims flashing an EU model with a US firmware will destroy it...)

    Anyone tried yet? (don't want to have to buy another one hehe)

    1. Re:Does it run on European versions? by Bushcat · · Score: 1

      Flashing a Japanese model with US firmware works fine, but the number of channels is reduced to the US spec.

    2. Re:Does it run on European versions? by Anonymous Coward · · Score: 0

      I just tried it. It works fine.

    3. Re:Does it run on European versions? by dorijan · · Score: 1

      so you flashed EU version to US?

  33. gnutoast.org is a fake! by Anonymous Coward · · Score: 0

    i tried going to your gnutoast.org site to try out your distro on my toastmaster, but my browser kept on saying that it couldn't find it. i did a whois on gnutoast.org and it said your site doesn't even exist! wtf?

    1. Re:gnutoast.org is a fake! by jaoswald · · Score: 1

      Obviously, he was hosting his DNS on the toaster as well, and it got slashdotted.

      Duh!

  34. Power outage anyone? by Anonymous Coward · · Score: 1, Interesting

    Interesting -- "The script installs strictly to the ram disk of the box. No permanent changes are made. If you mess something up, power-cycle it."

    Does this also mean that as soon as a power outage occurs, I will lose *all* logfiles, packet captures and even the distro?

    1. Re:Power outage anyone? by Mr.Phil · · Score: 1

      Since it lacks any moving parts, I would assume that a UPS backup solution would power the device for quite some time until normal power was restored.

      If a APC SmartUPS 1400 can power my PE 6400 quad box for 20 minutes, I'm sure it could power this WAP for a day or so.

  35. worried by trans_err · · Score: 3, Interesting
    Wouldn't this be seen as a horrible exploit for this router? Think about it anyone, who knows the router's IP (shesh thats difficult), can install a distro, with telnet access onto the router, thus being able to run things like sniff all day long....

    We should be fighting this not supporting it.

    1. Re:worried by Anonymous Coward · · Score: 0

      You sir, are an idiot. end transmission.

  36. security by Anonymous Coward · · Score: 0

    What would be slick would be a working NoCatAuth http://nocat.net/ solution on this bugger.

  37. Not that easy.. by Anonymous Coward · · Score: 1, Informative

    You'd need the router's password, and to be on the local network, too...

  38. telnetd, httpd, vi... by Anonymous Coward · · Score: 0

    ..That's all great in all, but can I run a counter-strike server on it?

  39. Nice by Anonymous Coward · · Score: 0

    Did bitching about it help get it through?

  40. Uses: by elgaard · · Score: 2, Informative

    1. AirSnort, already working.

    2. Something like the MIT rootnet.
    http://slashdot.org/article.pl?sid=03/08 /29/232022 8
    By having the routing in the AP, it would participate in the roofnet without a server. Servers use more electricity and are noisy.

    3. Security for open accesspoints.
    You might leave our accesspoints open to share it with others. But you might want some extra security:
    a) Block port 25 for others so they don't send spam and get you blacklistet.
    b) Some VPN/SSH tunnels for privacy.
    c)Traffic shaping. You would like to reserve some bandwidth for yourself.

    1. Re:Uses: by dre23 · · Score: 1

      Whoah cool, airsnort just works with no problems? I just installed the hack on mine, now I got to get some binaries/scripts going for airsnort/wepcrack/etc. Too bad it doesn't run *BSD, then I could use bsd-airtools!@#!

      Not to nitpick on your point #3, but the AP already does all 3 of those things without this hack: a) via iptables front-end, b) WPA (the WRT54G is also one of the only AP's that support it), and c) i believe this is also iptables behind-the-scenes, but it has many methods of rate-limiting (not necessarily shaping) available from the front-end.

      --
      IPv4 allocations for hobbyists? join the ipalloc-l mailing-list! www.operations.net/mailman/listinfo/ipalloc-l
  41. Links to how to load the distro to firmware? by avifreedman · · Score: 1

    I'm interested in using it as a small embedded linux box at remote sites.

    Does anyone have pointers to how to upload the distro to firmware? I saw mention in the intro to the distro that it was possible...

  42. wrong wrong wrong by DrSkwid · · Score: 2, Insightful

    Putting this sort of stuff in that device is a cool hack but totally the wrong thing.

    It should run a little file server, serving something like 9p whihc would allow you to read/write settings and stream off the full data packets read for snorting.

    fools.

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  43. if only by StuartFreeman · · Score: 1

    It would be cool if linksys realized there was a market for this and started selling them preinstalled (with the distro in firmware). They would have to work out some of the issues, like auto telnet in as root. Or they could fix the bug that allows this and set up passworded access to install 3rd party software.

    --
    This is my sig, there are many like it, but this one is mine...
  44. TCP over TCP is fine when payloads are unpacked by Effugas · · Score: 5, Insightful

    (Full Disclosure: I designed part of OpenSSH's tunnelling subsystem.)

    TCP over TCP has issues when both stacks attempt to respond to the same error conditions. This happens very commonly with PPP over SSH. However, TCP port forwards in OpenSSH actually terminate at the daemon, which extracts the payloads, repacks them into completely independent streams, and sends them on their way.

    In other words, an error condition on the routerexternal_site link doesn't show up on the clientrouter link.

    OpenSSH tunnels have surprisingly high performance (it certainly beats most proxy implementation hands down). Easy to set up, too: Simply SSH into your host of choice with the -D option(say, ssh -D1080 user@host), set the SOCKS4 proxy in your application to 127.0.0.1:1080, and you're done. It's really quite simple.

    --Dan

  45. use it as an ehternet bridge? by Anonymous Coward · · Score: 0

    would this let me use the router as a wireless ethernet bridge? I would like to avoid paying 129$ for a bridge when I can get an access point for 50$.

    1. Re:use it as an ehternet bridge? by ryanr · · Score: 1

      The hardware is obviously all there to do so. If you're good at cross-compiling your own kernel and packaging it in the appropriate format, you could get the software set up correctly, too. I think the main barrier to this kind of experimentation is that if you flash it with a non-working image, you've got no ware to put a new flash image back on with software.

  46. Every piece of Linksys Hardware I've ever bought by waspleg · · Score: 1

    is sitting in the corner, dead for no reason

    linksys cable router
    linksys 10/100 hub
    are the first two that come to mind, there could be others...

    plug them in and no power, they just turned off one day and didn't turn back on, and to top that off when the cable router was working it blocked many Well Known Ports and when linksys support was repeatedly contacted asking for a reason or a firmware update I was ignored every time...

    maybe they've improved in the last year or so since i bought any of their shit but i doubt it... what good is linux on a doorstop

  47. Re:ssh tunneling? bad idea use VPN by deanpole · · Score: 1

    Yes, so if we could teach the upper layer PPP to detect duplicate packets (like a hash table of payload hashes for the last thousand), and drop them because the underlying layer is reliable, although sometimes slow, then we would enjoy tunneling through braindead NAT's of every hotspot.

  48. Words of Caution about the WRT54G by pridkett · · Score: 4, Informative

    I own one of these little guys and I must say it's a neat little box. However, please be aware of the following issues that you might run into with it:

    1) it runs quite hot. make sure it gets plenty of air. we had ours sitting on the carpet with the DSL modem on top and it would frequently over heat. Moving the modem off and setting the wrt54g on a board seemed to fix this.

    2) it requires that you have good wiring. you may be shocked to know this, but if you live in an old house (like many college students) your wiring has a good chance of being miswired. The wrt54g will not work with wiring faults (even though many devices work just fine). the solution is to put a good surge protector or UPS between the device and the outlet. this seems to fix everything.

    3) the dhcp implementation is a little funky and sometimes seems to reply with a DHCP NAK on an address request when it otherwise shouldn't.

    All that aside, it's a great little box. It works well with my 802.11b card in the laptop and manages the wired stuff just fine. I can't comment on 802.11g because there aren't any cards with linux support out there (except maybe the minipci card in the wrt54g, but that's a binary driver).

    I've gotten some interesting stuff to run on it, mainly some simple home automation stuff for a pervasive computing environment that was part of my research, but it's nice having everything together. Although, truthfully you're probably still better off with an EPIA board and a 256 meg stick of ram.

    --
    My Slashdot account is old enough to drink...
    1. Re:Words of Caution about the WRT54G by Improv · · Score: 1

      The wiring is indeed oddly sensitive..
      I spent about an hour swapping network cables
      on the thing, as the network lights wouldn't come
      on. I then unplugged it, and plugged it back in
      at another outlet, to try some shorter cables, and
      it was suddenly happy with all the old cables that
      I was thinking of throwing away. It's surprising --
      I hadn't had problems with other devices on that
      outlet before..

      --
      For every problem, there is at least one solution that is simple, neat, and wrong.
  49. Sweet! by MrSeb · · Score: 1

    I just bought this box today, completely un-aware of its ability to run Linux.

    Maybe this is God's way of telling me to move away from The One True OS, Windows, and move to Linux...

  50. Re:My review: by DrDebug · · Score: 2, Funny

    So in your view, Linux sucks. In most of the rest of the world's view, MicroSoft sucks.

    Methinks you are obviously just another MicroSoft plant, sowing FUD. Imagine-- the 'x' in Linux makes it communistic. I suppose the same goes for Unix, and maybe even Mac OS X?

    Jeesh!

  51. eBay by Anonymous Coward · · Score: 0

    Hi,

    There was a deal (price mistake?) on these a while back at amazon.com. I got in on it and am selling these cheap on eBay.

    http://tinyurl.com/lfk6

    Thanks,
    Kris

  52. How does this compare... by devphil · · Score: 2, Interesting


    ...with running a connection through a tool like stunnel? Both are doing encryption, SSH likes keys, stunnel/SSL likes certificates, but after that I'm somewhat ignorant.

    I've been tunnelling all kinds of stuff through OpenSSH for years, and while I've heard of stunnel, I only just recently started using it (encrypting an IMAP connection because IMAPS isn't supported).

    I'm not asking for an hour-long briefing on /. or anything, but if you know of any web pages, pointers would be appreciated.

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
    1. Re:How does this compare... by mithras+the+prophet · · Score: 1

      What's this, a low-slashdot-ID-number party? Guess I just crashed it...

      --
      four nine eighteen twenty-7 thirty-nine forty-7 fiftyeight sixty-nine seventy-9 eighty-8 one-hundred-and-nine one-twenty
    2. Re:How does this compare... by caferace · · Score: 1
      What's this, a low-slashdot-ID-number party? Guess I just crashed it...

      Shields UP!

    3. Re:How does this compare... by rwa2 · · Score: 1

      Thwang....

      Blessed are the prime /. userids... or something

    4. Re:How does this compare... by Effugas · · Score: 2, Interesting

      Same difference -- stunnel also terminates the TCP session (necessary, since it's operating at userspace), extracts the payloads, and sends them over an encrypted pipe. The differences are:

      1) SSL has theoretically better key management, which is actually not theoretical for browsers (it's the only successful deployment of certificates in history), but stunnel by default barely checks SSL certificates. So, unfortunately, you're very vulnerable to a MITM attack (but you probably were anyway, since even if you had a cert, you almost certainly get it signed.)
      2) SSH has theoretically worse key management, which is actually not theoretically awful for large installations (there's no real deployable cert systems, no centralized authority, etc.), but ssh by default actually does manage to allow one individual to manage access to a couple of personally relevant servers surprisingly well. SSH also has the advantage of having a port forwarding system flexible enough to execute VPN behaviors through, whereas SSL is really just a pipe to whatever's on the other end. (This is actually sometimes a good thing.)

      HTH.

      --Dan

  53. Re:Wow! by Anonymous Coward · · Score: 0

    You forgot the part about "wearing a furry suit".

    HTH.

  54. in other words, by twitter · · Score: 1
    You'd need the router's password, and to be on the local network, too...

    You would have to already own the thing. Why bother when there are so many Windoze boxes behind it you can own so much easier? Security fails at it's weakest link.

    --

    Friends don't help friends install M$ junk.

  55. This is what ptxdist is for! by Anonymous Coward · · Score: 0

    Hey folks, I'm the guy who wrote the cross-compiler build script he used to compile the drivers, busybox, and snort. In case anyone needs to do something similar with other devices in the future, it's quite likely that ptxdist will be able to do it out-of-the-box. It already builds busybox for you, and I have a feeling it'll also build snort for you pretty soon. ptxdist is THE distro for embedded devices that use glibc, IMHO. It doesn't support many apps yet, but it's very cross-compile friendly, and I plan on using it for all my embedded development needs in the future.

  56. wap11 by digitalsushi · · Score: 2, Interesting

    i wonder what would happen if i ran the installer on my wap11 :D

    --
    slashdot: where everyone yells sarcastic metaphors to themselves to understand the issue
  57. Re:Who is ur daddy?!?! by Anonymous Coward · · Score: 0

    actually i found parent to be "funny" not "offtopic" (although yeah, strictly speaking it WAS offtopic, but...)

  58. Re:Every piece of Linksys Hardware I've ever bough by Pharmboy · · Score: 3, Informative

    I have owned many, many pieces of Linksys gear, and while they may not be the "performance leaders", I have never seen one just die. I can't help but to wonder about the power situation in your home.

    I would suggest getting some better UPS protection for your routers and switches. You would be surprised at how bad typical electrical service is, and routers and switches tend to stay on 24/7, thus pretty vulnerable. I run everything on UPS. Monitor, routers, hubs, everything. I live in the country (terrible for spikes and brownouts) and have all kinds of gear that is old beyond usefullness, but still works. Even an old UPS that doesn't hold a charge is better than none, since most spikes/brownouts only need about 5 to 10 seconds of power before returning to normal.

    This doesn't change the fact that they may be more delicate that you care for, but my guess is you have a power problem.

    --
    Tequila: It's not just for breakfast anymore!
  59. I can't believe nobody has said it... by novarese · · Score: 3, Funny

    There's not a SINGLE "Imagine a beowulf cluster of these" comment yet? What the hell is going on here???

    1. Re:I can't believe nobody has said it... by ryanr · · Score: 1

      Heh, I wonder how how $100 for 125Mhz MIPS32 with all needed hardware included compares to other platforms in terms of price/performance for distributed computing applications...

    2. Re:I can't believe nobody has said it... by windex82 · · Score: 1

      yeah, we were enjoying it, then you go and blow the whole thing... ;)

    3. Re:I can't believe nobody has said it... by chip_s_ahoy · · Score: 1

      How about...

      All your 10-base-T belong to us!!!

      Wouldn't that just suck.

  60. iptables? by CapS · · Score: 2, Informative

    Will running Linux on this router allow you to use iptables? If so, then perhaps this could be used as a 'real' firewall with stateful packet inspection, rather than just NAT.

    Of course, I'd prefer that this Linux OS be changed so it accepts a root password, but other than that, this could be a a great alternative to the default Linksys software.

  61. More than SOHO by quanta · · Score: 2, Interesting
    "This is after all, a home or small office device."

    It's more than that - I've used it to bridge several remote locations (1800 ft+) with external antennae.

    Very reliable.
  62. The point... by Jawn98685 · · Score: 1

    is that you can add functionality to it. Someone already mentioned snort. (shrug)
    What would be very cool to do with it would be to enable to turn it into a gateway for NoCat, rather like what Sputnik has done with ActionTec AP they've hacked to act as a gateway for their "Sputnik Central Control" software.

  63. Prices by nolife · · Score: 4, Informative

    Lowest price search results from pricegrabber.com. Lowest I could find on Pricewatch was $103 + shipping.

    Amazon has it for $100 after rebate with free shipping.

    There was a new firmware put out about 6 weeks ago. Here's the details.

    --
    Bad boys rape our young girls but Violet gives willingly.
  64. Re:ssh tunneling? bad idea use VPN by ryanr · · Score: 1

    The broadcom driver is a KLM, why would that stop you from upgrading the kernel?

    (It's not the driver that's a problem; it's the fact that if you don't have a development version of the board that is easy to re-flash, and you flash it with something that doesn't boot perfectly, then you can't flash it via software any longer.)

  65. Re:Every piece of Linksys Hardware I've ever bough by waspleg · · Score: 1

    i don't have any trouble with my 5 computers 2 routers and switch or anything else running in my house lal the time

    my openbsd box has an 80 day uptime and the last time it went down was when the power went out; i used to have a UPS, an old one, but it died too.

  66. wow... you're lucky... by Anonymous Coward · · Score: 0

    Actually, several folks DID post such comments...

    The moderators used all their points pushing them down. Yours went up for some reason.

  67. There's only 16 Megs on that thing!! by Anonymous Coward · · Score: 0

    What? You think the subject needs more explaination?

  68. Re:Who is ur daddy?!?! by the_bahua · · Score: 1

    Sorry. Just lashing out at people who type like morons. Don't mind me.

  69. Re:ssh tunneling? bad idea use VPN by timeOday · · Score: 1
    That's a very nice paper, but I have been using an ssh tunnel on this laptop's wireless access for about 2 years, and I have to tell you, it works quite well. I can even stream video, so long as it's encoded at a bitrate that consumes about 1GB/hr or less. Optimal? I don't know. Useful? You bet.

    As for the paper, it seems mainly concerned with packet loss and retransmission. The fact is that although we're glad TCP/IP can handle reordering and retransmission, it usually doesn't have to. Not even on wireless, since 802.11 does its own retransmissions without bothering TCP/IP. And as for the possibility of different packets taking different routes and arriving out of order, its true... in theory.

  70. Intellitoast? by UnixRevolution · · Score: 1

    Friend, are you tired of your old toaster?

    Burnt toast, uneven toast, and just too much bother and hassle?

    Well, you have to try Intellitoast!

    Thanks to years of research, our scientists have harnessed the power of "Internet" inside your toaster!!!

    Toast, toast, TOAST! the perfect slice every time, at the office, on the go, or in the comfort of your own Home!

    --
    You like your new Mac more than you like me, don't you, Dave? Dave? I asked...She said Yes.
  71. Re:Every piece of Linksys Hardware I've ever bough by MegaFur · · Score: 1

    Did you buy all your Linksys gear from the same place or at about the same time? Maybe you got a bad batch or something.

    (I've personally had no experience with Linksys, but a friend of mine has had a simple Linksys router for several years now and it's still chugging away.)

    --
    Furry cows moo and decompress.
  72. Re:/. what's going on? by ToKsUri · · Score: 1

    At last you got your article in the frontpage...

  73. Another hackable WLAP by ae · · Score: 2, Informative

    Another wireless access point that runs Linux is Netgear WG602. You can find some very limited information about it here.

    Is anyone working on something similar for this device?

    --
    Blog Ho
  74. Bridging Distro by Anonymous Coward · · Score: 0

    Ok, what we really need now is a bridging distro.

    I want my OpenBSD-like functionality to firewall and secure wireless connections without an IP address.

  75. How about a DDNS client that acutally works by jhs2 · · Score: 1

    Since the Dynamic DNS client that comes with the router is essentially worthless, how about including that in this distro. Now that's a completely good use of a hack.

    --
    "Failure is not an option. It comes bundled with any Microsoft Product."
  76. Re:ssh tunneling? bad idea use VPN by Anonymous Coward · · Score: 0

    > The broadcom driver is a KLM, why would that stop you from upgrading the kernel?

    The interface to the KLM changed enough to cause the binary-only driver to not load correctly. You need to be able to rebuild at least its kernel wrapper layer from source a la' an NVidia driver.

  77. Re:Every piece of Linksys Hardware I've ever bough by waspleg · · Score: 1

    same place.. best buy i think

    a couple years apart.. the linksys hub actually lasted abotu 3 years before it broke but in hub time that is nothing.. the only moving part is a fan as far as i know so i don't understand how one day it jus thas no power, same with the router..

  78. Howdy Doodly Doo! by EverStoned · · Score: 1

    Who wants a muffin? A crimpet? A teacake? Some toast? I don't want any smegging toast! (Red Dwarf)

  79. Offtopic by ffallen · · Score: 1

    Offtopic: Still in Philly?

  80. Re:My review: by Anonymous Coward · · Score: 0

    Hey, don't forget about Xenix, that had two Xs in it!

    Oh, wait... Xenix was a Microsoft product, wasn't it?

    Never mind...

  81. Re:Every piece of Linksys Hardware I've ever bough by MegaFur · · Score: 1

    That is very odd. I have no good, plausible answer ready. (Unless maybe little kids are involved somehow.)

    Perhaps you have gremlins. :-)

    --
    Furry cows moo and decompress.