LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 12-29-2004, 01:56 PM   #1
cidkato
LQ Newbie
 
Registered: Dec 2004
Posts: 26

Rep: Reputation: 15
Sharing internet connectivity


Hi, I'm somewhat new at linux (Using Fedora), and I just installed ndiswrapper. It works great with my MS MN-720 wlan card, but is there any way to share the internet connection with another computer, that is directly connected to my computer (with cat5 cable)?

I know on windows there was a setting to enable internet to be shared from the wlan connection to the lan connection.

Any ideas on how to do this (possibly using iwconfig??)?

Thanks,
Cid
 
Old 12-29-2004, 02:21 PM   #2
Ateo
Member
 
Registered: Sep 2004
Location: http://longbeach.ca.u$
Distribution: Ubuntu,Gentoo, OSX
Posts: 136

Rep: Reputation: 15
1. You need 2 network cards on *any* computer that is going to share it's Inet connection. One that connects to the internet, the other to your local network (whether it be a single computer or a switch).

2. For linux, using IPChains as the firewall/router is usually the best option.
 
Old 12-30-2004, 07:43 AM   #3
cidkato
LQ Newbie
 
Registered: Dec 2004
Posts: 26

Original Poster
Rep: Reputation: 15
I have one wireless connection (with internet) and one wired connection (2 seperate NIC's, both recognized.)

The wired connection only connects to one other computer.

Where could I get IPChains?

BTW I use FC3.

Last edited by cidkato; 12-30-2004 at 07:47 AM.
 
Old 12-30-2004, 07:50 AM   #4
Paiway
LQ Newbie
 
Registered: Dec 2004
Location: Sweden
Distribution: Debian ' Sid' 2.6.9
Posts: 14

Rep: Reputation: 0
Quote:
Originally posted by cidkato
I have one wireless connection (with internet) and one wired connection (2 seperate NIC's, both recognized.)

The wired connection only connects to one other computer.

Where could I get IPChains?

BTW I use FC3.
Get the source here.
 
Old 12-30-2004, 12:33 PM   #5
cidkato
LQ Newbie
 
Registered: Dec 2004
Posts: 26

Original Poster
Rep: Reputation: 15
Would IPTables work?
It says that its a newer "version" of IPChains and thats its based off of it, so would that work?

If so:
What commands would enable me to share the internet onto eth0 (from wlan0)?
 
Old 12-30-2004, 07:07 PM   #6
cidkato
LQ Newbie
 
Registered: Dec 2004
Posts: 26

Original Poster
Rep: Reputation: 15
BTW, I can't even ping the other computer (unless im doing something wrong there too)

What is the linux command to find your IP?
 
Old 12-30-2004, 07:18 PM   #7
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 31
hi,

for easy setup of internet connection sharing, check out shorewall - which basically provides for easy configuration of iptables..

the website provides lots of info and sample configuration files as well.
 
Old 01-01-2005, 06:38 PM   #8
cidkato
LQ Newbie
 
Registered: Dec 2004
Posts: 26

Original Poster
Rep: Reputation: 15
I installed shorewall, as well as IPTables, but I have no clue how to use them (i.e. what the commands are, or even what to do with them).

Any ideas?
 
  


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
Lost internet connectivity wremote Suse/Novell 3 03-19-2005 10:03 AM
No Internet Connectivity laltupi Linux - Networking 1 07-19-2004 10:34 AM
Internet Connectivity is a NO-GO Help Please!! ClericPreston Linux - Newbie 1 06-04-2004 07:36 PM
Need security advice - Sharing Internet connectivity to a third party jimieee Linux - Security 1 12-22-2003 10:06 AM
SUSE 8.0 and Internet connectivity mastahnke Linux - Networking 2 03-06-2003 09:08 PM


All times are GMT -5. The time now is 05:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration