LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-23-2016, 01:42 PM   #1
Dieter Tief
LQ Newbie
 
Registered: Mar 2016
Posts: 1

Rep: Reputation: Disabled
Question Internet sharing with two wlan cards?


Good day all,

I run into a problem. I use internet via wlan whereby the antenna for wlan0 is connected with a long cable because in my house is no reception. Right now I'm forced to distribute that internet to other devices via a second wlan card (wlan1) in the same computer, means, I need to set up an AP to achieve that and to use mentioned connection from wlan0.
After reading and re-configuring and lots of code writing I can not reach the point that wlan1 is giving what I need.
I'm free to use any Linux distro since the computer has nothing else to do than sharing the internet (and if possible giving access to shared folders in other connected computers). The wlan cards are capable of running in AP mode.
Please assist me with that. I did something similar a few years ago when I successfully shared a 3G connection with one of those wlan cards, so I believe that it suppose to be possible as well with a incoming wlan connection.
Any advice about the right way to do this is highly appreciated.
 
Old 03-23-2016, 07:08 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,029

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
Hello and welcome to LQ.

I get the feeling that Debian has a simple way to do that.

Pretty much any disto should be able to do that with iptables. Some web sites kind of go all out on some other ways like hostapd.


Pages like this might help. http://ubuntuhandbook.org/index.php/...otspot-ubuntu/
 
Old 03-23-2016, 09:19 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,420
Blog Entries: 28

Rep: Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167
Dieter Tief, what you are looking to do is commonly referred to as "using your computer as a router."

Do a web search for "linux computer wireless router." You will find a number of articles. I hesitate to recommend one, as this is not something in which I have any firsthand experience. (If you leave the word, "wireless," out of the search string, you will find even more resources, as wired Linux computers have been used as routers since the earliest days of Linux.)

Here's one: https://mike632t.wordpress.com/2013/...reless-router/

Last edited by frankbell; 03-23-2016 at 09:21 PM.
 
  


Reply


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
Sharing Internet (From 2 ISP) Using a Cent OS / Linux Machine using 3 lan cards john.akash Linux - Networking 2 12-04-2012 10:43 PM
Wlan, Mandriva, Ndiswrapper and 2 cards woodsnake420 Linux - Wireless Networking 1 07-12-2005 04:02 PM
Any WLAN Cards For Linux? Steve17 Linux - Newbie 1 10-19-2004 09:44 PM
WLAN Cards for Laptops cujo31 Linux - Hardware 3 10-01-2004 01:55 PM
wireless cards under the wLan Project Keebler Linux - Newbie 1 09-29-2003 06:46 AM

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

All times are GMT -5. The time now is 05:38 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