Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > Make a laptop into a wireless AP, help!

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-08-2008   #1 (permalink)
Just Joined!
 
Join Date: Nov 2008
Posts: 2
Make a laptop into a wireless AP, help!

Hello everyone this is my first post and Im a bit of a newbie when it comes to dhcp and DNS routing so please bare with me I'll try and explain what I am trying to do.

I have a large area to cover with a wireless network and the connection at points away from the router is spotty at best. Instead of going out and getting a repeater to increase the range of the router I have an old laptop with an internal wireless card and a second wlan interface in the form of a USB dongle.

What I want to do is connect to my wireless router using the internal card (Intel 4965AGN) then allow other computers to connect to my laptop as though it were a wireless router through my second interface (ALFA 500mW with RTL8187 chip)
This should allow clients connecting to my laptop to be assigned an address through dhcp and be able to send queries to my ISPs dns server while also allowing me to monitor traffic and install firewalls on my laptop.

I guess this would be a subnet of a subnet that allows for internet connectivity from both subnets.

So far I have managed to get my laptop to behave as a wireless access point using a program called airbase-ng. This program puts my USB interface into monitor mode and replaces it with a tap interface called at0. I can then set an essid and encryption and all that.

My next challenge is to get my laptop to bridge the two interfaces, (not sure if bridge is the right term) I need to have it assign IP addresses in my new subnet (listening on at0) and forward DNS requests to the router (connected by wlan0). I have been trying to use dnsmasq to accomplish this but I have not been able to find much information on doing this specific kind of thing.

If anyone could point me in the right direction it would be very much appreciated.
Revelati is offline  


Reply With Quote
Old 11-11-2008   #2 (permalink)
Just Joined!
 
Join Date: Oct 2008
Posts: 14
I did something similar last winter for fun.
I used some of the hints I found here
Build A Linux-Based Wireless Access Point
Build A Linux-Based Wireless Access Point (Part 2)

This of course is a very simple configuration and does not have any sort of security. But will get the job done.
If you use the DSL (Dam Small Linux) distribution you can even get it on several hundred MB worth of space. Enough for a USB stick.

You won't easily get the features of the WiFi routers on the market. Or the ease of use.
I would recommend that you purchase one of the routers that supports OpenWRT <<http://openwrt.org/>>
You will get a very small Linux distro that is easy to setup and very powerfull.
RumbleFish is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 08:39 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2