Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-23-2009, 08:55 PM   #1
LQ Newbie
Registered: Jun 2008
Posts: 12

Rep: Reputation: 0
Smile Need tips on using Ethernet to power WiFi network, and tips on setting up WiFi

Hey all,

I have done a bit of searching, but I am still basically clueless, so I am hoping someone can give me a good place to start with all this.

I have an old PowerBook G4 that I would like to use as a 'dummy' computer for learning wireless penetration (WEP/WPA attacks) more effectively. I had been using a wireless router, but I gave it away

I can use Mac OS X to share an ethernet connection over wifi, but this is _very_ un-configurable. You get two options only, WEP and a key-length.

So, I would like to install someway to make this wireless connection more configurable. I am sure I can do that w/linux, I just don't know how yet . So, are there any terms for this general technique (net sharing, eth to wifi, etc?) and could anyone provide some good starter links? Also, any info on setting up varying wifi networks in linux would be appreciated.

Thanks a bunch in advance!

Old 08-24-2009, 03:02 PM   #2
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
Mods, please do not lock this thread. This isn't a DMCA matter, so no legitimate suit could possibly be brought (illegitimate ones are always a risk, eh? :P), and closing it because 'we shouldn't be teaching people this' is security through obscurity, which I hope we all know is total crap. I could have been the one posting this a few years ago had I been a forum guy, and I promise that I am not, nor have I ever been, a black hat.

I'm not sure I fully understand. You want to learn about wireless penetration... but you don't have a wireless network to work with? What does bridging from ethernet to wifi have to do with any of this?

As I said, I did the same project once a while back. You will need a WEP network (there's nothing you can do with WPA except dictionary attacks, really) and at least three computers on it. You use two of them to generate traffic so you aren't waiting all week to get this done (I watched 300 over VNC to do this, IIRC), and the last one to sniff traffic and do the cracking. The first two can be any OS; the last one should, of course, be Linux. Look into aircrack-ng; at a minimum, it's in Fedora's repos, if not those of other distros.
Old 08-24-2009, 06:42 PM   #3
LQ Newbie
Registered: Jun 2008
Posts: 12

Original Poster
Rep: Reputation: 0


Thanks for the reply! First, this is obv. not for black hat purposes, or I would not be trying to set up my own linux WAP. The purpose here is for me to be able to create a flexible AP out of my old computer to perform offensive security against to tune / improve my understanding there.

To explain a bit more, I am relatively literate in the aircrack-ng spectrum of this, so I am not looking for info on how to crack WEP or WPA at all. Rather, I would like to know if anyone has experience with using linux as a wireless ap. It looks like the standard method is to bridge the ethernet and the wireless interfaces and turn on hostapd.

I am not sure why you bridge the connections. Does that put them on the same subnet? What is the advantage? Hosts that connect to the AP using the hostapd you set up can now reach the gateway that exists on the LAN connection, and therefore the rest of the internet?



ethernet, forwarding, networking, wifi

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best WiFi PCI (or else) card in general for Linux and WiFi network experimentation? ICEMANII Linux - Wireless Networking 2 09-21-2006 04:50 PM
Tips on setting up a wireless printserver rose_bud4201 Linux - Hardware 2 11-28-2005 04:55 PM
setting up for non-root users (tips/shortcuts) pbhj Slackware 2 11-14-2003 11:36 AM
Suggestions for power saving tips aside from ACPI and clock scaling... adamis Linux - Laptop and Netbook 1 11-13-2003 11:08 PM
tips on setting up DSL over PPoE AngrySun4u Linux - Networking 2 08-15-2001 08:34 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration