Building a Wireless Network with Linux
I found out you also can easily build a wireless bridge, and thus not have to use routing to allow a wireless connection to connect to the rest of a LAN. Using a spare laptop, I first recompiled Linux to enable bridging. I then installed an eth0 interface with an assigned IP address to connect to the LAN. Next, I installed the Aviator card as eth1 without an assigned interface, then brought up both interfaces in promiscuous mode with
/sbin/ifconfig eth0 promisc up /sbin/ifconfig eth1 promisc up
Next, I downloaded Alan Cox's brcfg utility, and enabled bridging with
./brcfg -enaAfter starting a wireless connection, I could then access any computer on the LAN from the wireless laptop.
Wireless networking may not be the best solution if you need high-speed communication on or between your LANs, but the combination of Linux and a legacy laptop shows that you can build a useful and flexible wireless network at low cost. This is just one of the reasons I use Linux (besides being able to surf the Web while drinking a pool-side Margarita—with salt, on the rocks, thank you).
Bill Ball is a member of the Northern Virginia Linux Users Group (NOVALUG), and the author of nearly a dozen books about Linux. He may be contacted through http://www.tux.org/~bball/.
- Readers' Choice Awards 2013
- The Geek's Guide to the Coolest 2013 Holiday Gifts
- Two Pi R
- Non-Linux FOSS: Let's Make Music Together
- New Products
- Best. Cake. Ever.
- A Handy U-Boot Trick
- Raspberry Pi: the Perfect Home Server
- AIDE—Developing for Android on Android
- Tech Tip: Really Simple HTTP Server with Python
3 hours 26 min ago
19 hours 33 min ago
- Thanks for clearing that up.
1 day 56 min ago
- Nice coding on the cake. I
1 day 12 hours ago
- Baker's identity
1 day 17 hours ago
- Uber jealous
1 day 22 hours ago
- Reality is disapointing
2 days 8 hours ago
- Máy sấy quần áo
2 days 11 hours ago
- Services on GlusterFS
2 days 11 hours ago
- Reply to comment | Linux Journal
2 days 13 hours ago