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

Notices


Reply
  Search this Thread
Old 10-22-2008, 07:26 PM   #1
CJ Chitwood
Member
 
Registered: Dec 2006
Location: Northern Half of Florida
Distribution: PCLinuxOS on one home machine, Debian Buster on the other. I forget what's on the laptops.
Posts: 146

Rep: Reputation: 28
Forwarding wifi connectivity from one router through a single-card Wifi computer


Hello to the group

I'm not sure exactly what they call what I want to do, and "wireless" and "wifi" produce *WAY* too many hits to sift through, so if this has been answered somewhere else, please kindly post a link to the thread and I'll be on my way -- I don't want to repeat an already answered question, so I apologize in advance if I am...


What I have is a wireless setup for the home computers. There are 4 or 5 devices using my home setup, so I really DON'T want to change it. I have two more devices that for some reason do not appear to be compatible (T-Mobile / Google / HTC "G1" phones).

What I want to do, is take my Linux computer with its Atheros card, and get Internet to that computer using the same home router connection I've had for two years, and turn around with that same device, and emulate a SECOND WiFi network on top of the first (or beside, or whatever) so that on my Linux machine I can still surf the web while simultaneously serving a WiFi network that my phone will work with.

(1) what is this called, so I can research it better/more efficiently?
(2) how do I do it?



Thank you so much in advance!

CJ





[Edit]
After searching a little more, I think this is called "Virtual Access Point". I'm not sure.

Two things MUST happen: One, my Linux computer remains connected to the hardware WAP, and continues inbound and outbound Internet traffic normally, as it always has; and two, that same computer provides a WiFi connection to another device using a different encryption method (WPA vs. WEP, etc.) than the hardware WAP.

Am I making any sense?
[/edit]

Last edited by CJ Chitwood; 10-22-2008 at 07:31 PM. Reason: New info
 
Old 10-22-2008, 10:05 PM   #2
CJ Chitwood
Member
 
Registered: Dec 2006
Location: Northern Half of Florida
Distribution: PCLinuxOS on one home machine, Debian Buster on the other. I forget what's on the laptops.
Posts: 146

Original Poster
Rep: Reputation: 28
Forgive my faux pas of replying to my own post...

I've gotten so far as to connect -- even if no data will transfer -- from my phone to my linux box with linux acting as an access point, but I still now cannot get the box to connect to the real wap.

Ath0 is master mode (simulated wap), ath1 is wifi connex to the real WAP (that now won't connect to the real WAP even though all settings appear to be correct)... I'll keep hammering on until I figure something out...
 
Old 10-27-2008, 05:17 PM   #3
kriton12
Member
 
Registered: Oct 2002
Posts: 81

Rep: Reputation: 16
Not sure if this matters or not, but if you have input coming into ath1 wouldn't you need to forward any data requests on to ath0 so that it in turn can pass them on to your router/web connection? I'm thinking IP tables needs to be modified to allow if1 to pass info to if2, not sure if this is called ip forwarding or not...
 
Old 11-01-2008, 08:56 PM   #4
CJ Chitwood
Member
 
Registered: Dec 2006
Location: Northern Half of Florida
Distribution: PCLinuxOS on one home machine, Debian Buster on the other. I forget what's on the laptops.
Posts: 146

Original Poster
Rep: Reputation: 28
Yeah, you're probably right. And I don't know enough about IPTables to screw with it.

In fact, I gave in. After researching on the router's self help popup itself if I really needed PSK on my WEP, turns out PSK does nothing toward encrypting the signal. I guess it's just used by both ends to connect to a system that already has encryption whereas without it the encryption code might be sent cleartext (I'm assuming, I really don't know).


Turned out to be such a PITA that I decided to drop PSK and just use WEP. The only ones in the area who would know what to do with it are the ham radio operator across the street and the person typing this post. *shrugs*
 
  


Reply

Tags
router, 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
WiFi Connectivity (Configure WiFi in Fedora) saidul Linux - Newbie 1 07-23-2008 07:48 AM
WiFi Only Connects Using Shell, GUI Fails on Fiesty 7.04 / Dell 1350 WiFi Card pr0gr4mm3r Linux - Wireless Networking 1 07-10-2007 08:43 PM
cannot connect to Belkin WiFi Router from laptop network card crmpicco General 2 05-19-2007 04:52 PM
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
Wifi card connects to router, but not internet Mbaum Linux - Hardware 7 01-19-2006 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:19 PM.

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