Open Source Hotspots 206
darthcamaro writes "Not that long ago it was a serious pain to get an 802.11b card to work on a Linux machine. [ed note: We love you Jean Tourrilhes!] Wi-Fi Planet has a story where they do an overview of a wad of open source Wi-Fi projects. Did you realize that you don't even need to spend the dough for an Access Point? - standard Linux routing is enough to create your own access point, with a few other tools like Public IP's Zone CD or the Less Networks Hotspot server, you can freely create a hotspot and manage it all in minutes. I guess all this means that both Wi-Fi and open source are literally 'everywhere'."
Jean Tourrilhes (Score:3, Informative)
As you may have known, or guessed from the context, Jean Tourrilhes is involved in all things Linux/Wifi. He has written a great deal of code and documentation on the subject, not to mention research papers.
See more at his page [hp.com].
Re:Jean Tourrilhes (Score:3, Insightful)
The community is committed to quality - and most importantly, community. (yeah, yeah - play on words). We work together to make the 802.11x standards as bullet-proof and understood as possible.
Re:Jean Tourrilhes (Score:4, Insightful)
There is no need to add security to 802.11x. To do so would be a waste of effort, or even counterproductive.
Adequate networking security already exists for the application-layer that runs on top of whatever physical communication mechanism you have. (It has names like SSL, SSH, VPN, and PGP).
If you extend Wifi to be "secure", then people will depend on it, and may ignore other measures that would protect them not only from radio sniffers, but also from eavesdroppers at the ISP or promiscuous PCs on the local ethernet.
Re:Jean Tourrilhes (Score:2)
Re:Jean Tourrilhes (Score:2)
Re:Jean Tourrilhes (Score:3, Funny)
I only got wireless working on RH9 on my laptop (w/USB 802.11b) by taking it to his cube and refusing to leave till he sorted it out.
Re:Jean Tourrilhes (Score:2)
Its like.... magic hardware. (Score:5, Insightful)
Please explain how Linux software and transmit data via a wireless network without any hardware. While that sure would be a neat trick, I'm going to have to file this under the "you dont need to spend 90$ on a wireless acess point! Just spend 300$ on a computer, 50$ on a WAN card and install Linux for FREE!!!" brand of zealotry.
Re:Its like.... magic hardware. (Score:5, Informative)
Guess what? You don't always necessarily need a fixed wireless router device to create your own WLAN. You can do it with two machines that both have Wi-Fi cards, and leave more expensive APs out of the picture.
There are a number of different ways to accomplish this with freely available GNU/Linux based open source software. A typical Linux distribution will generally allow you set up a Linux box as a 'wired' router, so turning it into a wireless router isn't really that big a leap.
Re:Its like.... magic hardware. (Score:2, Interesting)
I even switched to FreeBSD, and it also has the bug. I have read that FreeBSD 5.x has a fix for it. But still, I would have saved a bunch of head aches if I just spend $300/ea more and bought Cisco equipment, but I wanted to save $900 total and went with Linux/FBSD on Soekris boxes.
(HostAP mode only. PTP work
Re:Its like.... magic hardware. (Score:4, Interesting)
If I set my laptop to the same channel as the card in my router it will work, I can run a DHCP server on the router to automate the network layer, but there is no way to set the PCI card in the router so that the laptop automagically picks up the channel and establishes a link.
Re:Its like.... magic hardware. (Score:3, Informative)
As far as I'm aware, you can only do host mode with a linux box using hostAP [epitest.fi] and a prism card. Is there support for any other cards?
I can run a DHCP server on the router to automate the network layer, but there is no way to set the PCI card in the router so that the laptop automagically picks up the channel and establishes a link.
I have the opposite pro
Re:Its like.... magic hardware. (Score:3, Interesting)
I'd file it under 'get an old pc from work/take one you allready have, slap in a wifi card and voila, you have something you can play with', unlike the stupid prefab access points
Re:Its like.... magic hardware. (Score:2, Insightful)
If by "just sit there" you mean "do their job without wasting your time trying to get your brand new Wi-Fi card working on a 486" then I think I'll take the prefab any day.
Not that I have anything against people playing around with this kind of thing, just when they claim that it's "easy" or "free".
Re:Its like.... magic hardware. (Score:4, Informative)
Yes, like this: Linux Access Point [personaltelco.net]
IMHO, PersonalTelco [personaltelco.net] rocks.
Re:Its like.... magic hardware. (Score:5, Insightful)
The author of the parent post should really sit down and think for a minute about what he's saying. Sure the post didn't point out that you need a wireless card in the computer you plan to have act as the access point, but come on. I think most people here could figure that much out.
As far as spending $300 on a computer just to be the access point... BS. Nobody suggested such a thing. The point is that you probably already have a primary computer hardwired to some kind of WAN connection. Why not let it also be the access point. People who do this using windows aren't labelled Windows zealots. It's just being smart with your resources. If the computer is going to be on anyways it's cheaper (or at least it used to be cheaper) to grab a usb 802.11b antennae than it is to buy an access point.
Bottom line is you are looking for a reason to call someone a zealot. Especially seeing as the post was rather non-zealful. There was no pushing you to use linux or use of phrases like "M$" and "Winbloze". The author simply pointed out that wireless is no longer a problem with Linux. Oh geez, he must be a zealot.
Dumbass.
Re:Its like.... magic hardware. (Score:2)
No it isn't. You don't need to spend the dough for an acess point. You STILL need to buy a wireless card but that tends to be quite a bit cheaper than buying an access point. At least it was back when I bought my wireless stuff.
If people where saying that you could run an access point off of Windows without buying any hardware, they would in fact be insane zellots.
He didn't say you don't need any othe
Re:Its like.... magic hardware. (Score:2)
There: RFC1149/CPIP [linux.no]
By the way, WAN has nothing to do with wireless, it means "wide area network". I seem to recall the official wireless acronym/hip term is "WiFi" (which is a bitch because it always reminds me of my divorce. That's why I call them "802.11b", or *gasp* "wireless" cards).
Re:Its like.... magic hardware. (Score:2)
Re:Its like.... magic hardware. (Score:2)
I had thought about doing this but I still needed to buy another wifi NIC for my second system. The choice was $40 for the wifi NIC or $80 for the wireless AP. I currently use the wireless AP as a hub. Certainly iptables can do everything that it can do but it gives me a l
Re:Its like.... magic hardware. (Score:2)
Re:Its like.... magic hardware. (Score:2)
Re:Its like.... magic hardware. (Score:2)
Re:Its like.... magic hardware. (Score:3, Interesting)
Did you count _electricity_ of having a fully blown pc with a pentium cpu and spinning disks into the TCO compared to the electricity taken by a MIPS cpu booted from flash?
Linkys [linksys.com] And almost everyone else in the market uses Linux [seattlewireless.net] in their access points. If that isn't enough flexibility I do not know what is.
Re:Its like.... magic hardware. (Score:2, Insightful)
Of course I don't live in my parents' basement.
Re:Its like.... magic hardware. (Score:2)
Ok, lets say for the sake of argument that they both did the job and you wouldn't have the P2 running anyhow. And we'll even assume the P2 is really drawing the full 150 watts at all times (it won't be) while it is on.
That is significant, but not very accurate. I just hooked a 333MHz
Re:Its like.... magic hardware. (Score:2)
How bout Free P2 that is running anyways 150 watts, $50 WAP router 10 watts
Total with routert 160 watts, total with using PC as router 150 watts.
Seems simple to me...
Re:Its like.... magic hardware. (Score:2)
No, but I can run OS software [collegeterrace.net] on This [usr.com] crappy USR router. His point, I think, was that it takes more then the card to make a "hotspot".
Good Post! (Score:2, Funny)
what about... (Score:2, Informative)
I love the Albert Einstein quote -lol
Re:what about... (Score:4, Informative)
The company I was working for was trying to install wifi access in downtown Macon GA. We got beat to the punch by Cox Communications (who has a many time inferiour setup, but I won't go into that). NoCat basically lets you firewall off all ip traffic until a user opens their web browser. Upon doing that, their session is captured by nocat and redirected to an https page where they have the option of signing in, or using the system anonymously.
The benefits of this are incredible. Coffee shops can use it to broadcast out a TOS that one must agree to before using their wifi, large scale networks can offer web page advertising that everyone must go through sooner or later, and universites can require students to sign in to use the free service. It's a great way to offer 'contractual' service to users without having to distribute wifi keys everywhere.
What do you do, steal it? (Score:3, Funny)
They have Open Source hardware now?
Re:What do you do, steal it? (Score:2)
Yeah but it's free as in speach, not free as in beer.
Re:What do you do, steal it? (Score:3, Interesting)
Yes... [opencores.org]
And they have the internet on computers, too...
Location? (Score:5, Interesting)
Not very accurate, tho (Score:2)
Re:Not very accurate, tho (Score:2, Informative)
Re:Not very accurate, tho (Score:2)
WiFi Defaults? (Score:2, Informative)
I figure, shipping the unit with the factory defaults as nothing working, and make the user read/configure the thing first.
Re:WiFi Defaults? (Score:2)
Re:WiFi Defaults? (Score:2)
I can't count the number of times I've been doing friendly (read: free) tech support for someone and they ask me to, say, come and get their printer working. So I get there, ask them for the instruction manual, which half the
Re:Location? (Score:2, Informative)
Re:Location? (Score:2, Informative)
Hmmmm (Score:5, Insightful)
Did you realize that you don't even need to spend the dough for an Access Point?
Really? Who is giving away mini-itx systems these days then? My $40 Netgear access point is silent and very small and has all the features I want, Id like to see someone put together a linux based wifi router for that sort of money. The whole point of an access point is that its small and discreat enough to be wall mounted, ceiling mounted, crawl space mounted or whatever. Yes this statement may be true if you are looking to reuse old PC hardware, but then you loose much of the point of an AP.
Re:Hmmmm (Score:3, Informative)
Re:Hmmmm (Score:2)
Though I should mention that it's enough heat to be annoying. I had a small box of mini-reese cups and had unknowingly placed it on top of my router only to find the entire box melted the next day.
So I put the box in the fridge and had a Reese's Brick.
Re:Hmmmm (Score:3, Insightful)
I have no need for a Linux-based wireless AP, but there are many applications that do.
Re:Hmmmm (Score:5, Informative)
Actually, there are some Linux based AP's for not much more than that. I'm not talking about x86 boxes, with a Wifi card and software to act as an AP. There are cheap hardware AP's that use Linux, and can be extended & modified.
The one I use is the Linksys WRT54G [linksys.com]. It's an 802.11G AP, running Linux, and there are several open projects creating firmware updates with nice feature extensions. At the minimum, it allows you to ssh into the box and modify the firewall settings to do exactly what you want.. which is a bit leap over closed AP's.
Some good info on mods for this AP are here: http://www.seattlewireless.net/index.cgi/LinksysW
Re:Hmmmm (Score:3, Informative)
Soekris Engineering [soekris.com] produces 486-based routing hardware that will run your choice of Open Source OS. They aren't quite as cheap as a Linksys or Netgear router, but they are hackable and upgradable, since the network interfaces are PCMCIA or Mini-PCI cards and they have Compact Flash interfaces for storage.
Re:Hmmmm (Score:2)
linksys pci 802.11b card.... $19.00 newegg..
RACK MOUNT Pentium 133 computer with 64 meg of ram and other junk in it... $0.00 - $9.00 at a local hamfest, computer store, flea market, etc... Yes I find Pentium 133-233 machines all day at free to $10.00 each recently I found a bunch in rack mount cases...
so I'm at $28.00 + $0.98 for an expensive blank CDR for the bootable ISO image that installs and set's up a custom Accesspoint that does things that you can NEVER EVER do with your netgear. (Li
Re:Hmmmm (Score:2)
$40 wirelss router [pcconnection.com]. A single computer on the back end running NoCat/Squid/Etc. to handle authentication/filtering/etc.
Which is better? Saving $10 to use an 8-year-old computer with an 8-year-old power supply that consumes 10x the power and takes 5+ times the space, or a small, silent, cool device that is UNDER WARRANTY and has no moving parts?
And in case you missed the "but I can't redirect the initial connect to a different page!", I can do exactly that ON THE BACK
Re:Hmmmm (Score:2)
Apples and oranges. If we're talking NoCat (or other such access control to relatively open systems), isn't it highly likely that we will be talking more than one AP?
Which is easier? To put out a series of small, silent, reliable, power-efficient AP's connected to a single back-end computer, or a bunch of large, noisy, power-hungry and failure-prone (if used) or expensive (if new) computers to *act* as AP's, all to save a *single* back-end computer in a nice, controlled, c
Re:Hmmmm (Score:3, Funny)
Incredible. And all along I thought the point of an AP was to allow wireless network connectivity.
Re:Hmmmm (Score:2)
A USB WiFi adaptor that works with HostAP is around $10-$15 in bulk, and you will get much much better coverage with one in every third desktop on your network than with one or two APs per office.
You can then also get other advantages, such as pre-cached handover (great for VoIP), more granular connection tracking, more complex firewall
Ha! Your Netgear does NOT do what my AP does (Score:2)
I took an old Compaq laptop (p2/333, 196MB RAM, 6GB HD) that I got for $50 from a company sale. Added a Senao ($80) 200mw wifi card with external antenna connections. I'm currently using a 5.5 dBi omni ($20) with plans to upgrade to a 12 dBi roof-mount.
Additional security has been provided by the already-in-place Cisco 1900 Catalyst switch. VLAN2, which is what my AP & main linux-based server are on - can not talk to VLAN1, which is what the rest of th
Re:Hmmmm (Score:2)
I have a computer in my basement right now running a webserver. That machine is essentially unloaded, and needs to always be on. Using it as an access point would save money. Not just the cost of a dedicated access point, but also the 4 watts a dedicated access point would use. (yes I know that machine is using 70 watts or so, but it is going to do that with or without adding AP functionality)
Your arguments for a dedicated AP turn against the AP when you add in all the other things you do with the AP
Am I terminologically challenged? (Score:4, Interesting)
So what is the difference between an Access Point and an access point? This says I don't need one, all I need is Public IP's Zone CD. But one of the requirements of that is an access point.
I guess in short - huh?
Re:Am I terminologically challenged? (Score:2, Informative)
There are three modes that a wireless device can be in:
So, to build your own access point, you need a card and driver that supports Master mode. Again, this is all AFAIK.
My homebrew router (Score:5, Interesting)
fun with orinoco (Score:3, Interesting)
Don't worry. If you miss the pain of the good ol' days, try getting monitor mode working properly with an Orinoco card on a 2.6.x kernel. Fun times. For some reason the owners of the orinoco driver will not include monitor mode by default, and you have to patch it in. Super annoying.
Requirement #1 for PublicIP ZoneCD... (Score:2)
Kind of like the apple airport? (Score:4, Informative)
So is this like when you can share the Airport on an Apple without having an actual base station? For example, I can just open up my iBook and create an access point with my airport card (presumably to share the ethernet connection, or dialup, if you dare).
Re:Kind of like the apple airport? (Score:2)
(this isn't a dig on Linux, btw...I'm really impressed that wireless works so well on it...so much as an "hey apple has cool stuff first" post. i've been burning DVDs on my powerbook lately and have been very pleased with how painless it's been -- so long as you're willing to give up a little control).
Re:Kind of like the apple airport? (Score:3, Insightful)
Yes, your generic AP for $40 will
Re:Kind of like the apple airport? (Score:2)
Personally though, the most I need can be had with the "generic" access point - but I can definitely see the need for more control.
Nice, but about those 802.11a/b/g cards... (Score:5, Interesting)
Myself, I have a Linksys WUSB11 v 2.8 wireless device. Linksys, the consumer arm of Cisco, is not exactly a small player. But to get my card to work I have to go to the Berlios.de site, do a CVS checkout (if I want 2.6 kernel support), and make sure I have kernel source around to build the driver.
Someone who can simplify THAT is going to make a lot more headway with the average user.
My
Re:Nice, but about those 802.11a/b/g cards... (Score:4, Informative)
Prism-based cards are plentiful and cheap, and the drivers, although initially flaky, have really improved over the last couple of months.
Try it, you'll like it. You know you want to.
Re:Nice, but about those 802.11a/b/g cards... (Score:2)
Re:Nice, but about those 802.11a/b/g cards... (Score:2)
Nothing new? (Score:2)
Re:Nothing new? (Score:2)
Device drivers have a loong way to go. (Score:5, Interesting)
I'll probably get modded to oblivion for this, but the support of wifi for linux is dismal. Many cards don't work, and those that work, many features don't work (like WEP!!). This is obviously no fault of the community, since they're doing their best to reverse engineer hardware, but asking people to create AP's using Linux when most cards don't even FUNCTION is a little weird.
(I know what I'm talking about. I've bought 2 wifi cards for my Mythtv box, and both only work partially, even though they're reported as "working" by the HW compatibility list).
Re:Device drivers have a loong way to go. (Score:3, Informative)
Within minutes? Is that a good thing? (Score:4, Funny)
Ad-hoc or Infrastructure? (Score:2, Interesting)
Yup (Score:4, Funny)
Duh, I've been leaching off my neighbors for years.
Re:Yup (Score:2)
Your Neighbor
Antenna? (Score:2)
"/Dread"
Re:Antenna? (Score:2, Informative)
Power consumption is an issue... (Score:3, Insightful)
Still is.... (Score:2)
Still is, your lucky if your card is supported, if linux support is important to you make sure there is a driver availiable for any card you choose.
Re:Still is.... (Score:2)
Re:Still is.... (Score:2)
There is a list on the net, google for linux wifi drivers or something similar...
And avoid the linksys wmp11 v2.7 (broadcom chipset) which is what i have, annoying other wmp11 cards with different chipsets do have drivers, just colour me unlucky i guess.
Re:Still is.... (Score:2)
Specifically, the Cisco Aironet 350 series cards have native linux drivers available directly from Cisco's site. The card is a little pricey ($130 - $200), but probably worth it and is probably what I'll get. Now, if I could just find a local retailer I'd be happy. Probably though, I'll need to order it from the internet.
Mini-ITX solutions (Score:3, Interesting)
However, if you're looking for something custom, there's just no better way than building it yourself. I recommend picking up a nice VIA EPIA 800 from CWLinux [cwlinux.com] preloaded with their LinuxBIOS [linuxbios.org] and toss in one or two WiFi cards (one A, one G).
Some examples of the kind of flexibility this gives you is offering IPv6 support, packet tunneling to hide your upstream, or setting up a custom website which all new users of the hotspot will be given when they try to access any website until they've activated their service (EULA, payment, whatever).
The minimum the hardware for this is going to run around $350. With only a few extra features, it can easily run over $500. That $40 802.11a AP from Pricewatch sure looks like a good deal now, doesn't it?
Re:Mini-ITX solutions (Score:2)
The expansion boards also make the cards flat along with the motherboard so the entire setup takes more space as a result.
Attention "Duh! A computer costs $300!" posters.. (Score:5, Informative)
Most poeple running Linux already have a computer...
What they don't have is a Wi-Fi hotspot...
You can pick up an used Prism 2.5 802.11b card (such as a Dlink DWL-520) for $30 (probably less, before this story hit!). That's it! You've got a wireless access point. Done. No extra hardware to "hide", not more crap to plug in. Just compile in the kernel "hostap" patches, and away you go!
Since you're running a firewall already (you know about Shorewall, right?), it is reasonably easy to set up a firewalled NAT subnet to contain your wireless LAN traffic. Don't bother with silly WEP, use ssh or ipsec for secure access, or just route access from unsecurable Windows boxes directly out to the open internet (use MAC filtering, if you feel vulnerable to losers driving by using your open AP to surf for porn...).
Re:Attention "Duh! A computer costs $300!" posters (Score:4, Insightful)
Most poeple running Linux already have a computer...
What they don't have is a Wi-Fi hotspot...
Hmm. Yes, but an awful lot of people running Linux have a, singular, computer. And they'd kind of like to use it in different places without running wires everywhere. IE: the normal use of a wireless internet connection.
This is only useful as you point out if they have two computers, one of which they want to leave right where its it. Oh, and they're willing to pay about the same amount of money to get a wireless card as you can pay for a decent WAP. Which is fine, if you get your jollies hacking on your WAP
Re:Attention "Duh! A computer costs $300!" posters (Score:3, Funny)
you mean I'd have to compile my kernel??? I've managed to go 5 years now with Linux without ever having to compile a kernel...
not an AP (Score:3, Interesting)
Re:not an AP (Score:2, Insightful)
The idea is that the computer that has the wired internet connection gets a wireless NIC added to it, and this NIC is set up as the "wireless" access point for any other wireless NICs in the area.
Kinda like how you may have set up a linux box to be the house router via a wired hub in the past, only now the house side NIC is wireless and you don't need the hub anymore.
Router !=Access Point (Score:2, Informative)
MeshAP by locustworld.com (Score:3, Informative)
the cost-benefit analysis of doing it yourself... (Score:3, Informative)
Unless your time is worth *nothing* most people would be better served by simply purchasing a dedicated hardware access point (most are powered by Linux anyhow).
Re:WAP fairies (Score:3, Funny)
Just as long as their not stealing my underwear as part of an incomplete business model..
Re:Router as AP (Score:2)
Re:Router as AP (Score:2)
Re:Duh (Score:2)
Re:What do you mean "Not so long ago"? (Score:2)
Re:off topic a little... (Score:2)
I just got a Microsoft MN-510 USB working with help from www.linux-wlan.com and it works great.