LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 07-10-2005, 03:54 PM   #1
sickboylives
Member
 
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98

Rep: Reputation: 15
Stupid question about internet connection sharing


I'm pulling my hair out trying to figure out how to make Ubuntu share its internet connection with another computer on the LAN.

I have a cable connection going into the first NIC on the Ubuntu computer. It has a second NIC (a Tulip class card) that's connected to a second computer. The second computer needs to share the internet connection with the first.

I can't figure it out. It's so easy to do in Windows, and on Mandy 10.X there's a simple applet you check to make it work. I can't figure out how to do it on Ubuntu.

Anyone feel like helping me figure out how to do this?
 
Old 07-10-2005, 04:37 PM   #2
Avatar33
Member
 
Registered: May 2003
Location: South Africa
Distribution: Ubuntu
Posts: 75

Rep: Reputation: 15
Hi.

Basically there is no point and click method of doing this on Ubuntu that I know of. What your effectively trying to do is masquerading so you'll find a lot of documentation if you search using that name. This can be really simple or really complicated depending on how technical you are. This document explains masquerading really well: http://www.tldp.org/HOWTO/IP-Masquerade-HOWTO/

Also take a look at this post: http://ubuntuforums.org/archive/index.php/t-25813.html

I'm not sure how you're assigning your second PC an IP address, but you might want to start by getting DNSMasq package working.

There is a lot of stuff involved but I hope this provide a good start.
Enjoy
Avatar
 
Old 07-10-2005, 04:58 PM   #3
Heliode
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Rep: Reputation: 0
On my Ubuntu laptop, I used Firestarter (its in the repositories) to share my internet connection with others. It's basically a firewall but when you configure it you can enable internet connection sharing in one of the menus. Might not be the best sollution but it was very easy to do so if you can't figure masquerading out you might want to give it a try.
 
  


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
ad-hoc connection (and internet sharing) between two linux boxes. A complex question. riccisit Linux - Wireless Networking 1 09-29-2005 09:02 AM
Internet Connection Sharing mimithebrain Linux - Networking 7 08-15-2005 07:55 PM
Internet connection sharing enragedchip Linux - Networking 1 03-24-2004 05:43 AM
Sharing internet connection KRunch Linux - Software 1 02-22-2004 04:46 AM
Sharing Internet connection square_eyes Linux - Networking 3 07-18-2003 01:17 AM


All times are GMT -5. The time now is 07:10 AM.

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