Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-11-2011, 10:25 PM   #1
LQ Newbie
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
Smile Linux to PC wired ad hoc network with internet sharing

Hello All,

I have spent hours looking for a solution for my problem. I want to create and ad hoc network between a Windows 7 desktop (w/o an internet connection) and a Linux Mint 10 laptop (w/ an internet connection). I want the laptop to recive the signal from it's wireless card, and retransmit it through the ethernet port where the pc will recive it. I don't know much at all about \Linux, but lots about pc's. Please help!

Old 03-12-2011, 12:34 AM   #2
Registered: Nov 2004
Location: SW Missouri, USA
Distribution: Debian 6 "Squeeze"
Posts: 55

Rep: Reputation: 7
You are actually building a router! In networking, anytime you are trying to move data from one network to another, you are "routing"

this particular type is called Network Address Translation-Masquerade.

Try searching for IPTABLES IP Masquerade HOWTO
The rabbit whole gets deep quick, so don't be afraid to ask other questions
Old 03-12-2011, 11:38 AM   #3
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
I want to create and ad hoc network between a Windows 7 desktop (w/o an internet connection) and a Linux Mint 10 laptop (w/ an internet connection)
This is not difficult, and is a fun project.

I searched on share internet connection iptables and found this HOWTO (there are lots of others).

It says "Only for ubuntu 7.10", but it should work for the newer versions as well.


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
Wired networking not connecting in Fedora 12 with Windows Internet Connection Sharing LinuxLearner123 Linux - Networking 2 01-16-2011 05:33 PM
Network configure linux box to wired router to xp to internet thru wireless usb Max72196 Linux - Wireless Networking 1 09-13-2006 12:04 PM
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 sharing on ad-hoc network MikeSmith36 Linux - Wireless Networking 1 02-22-2004 10:48 AM
Sharing Internet+WiFi+Wired flying_eyes Linux - Wireless Networking 4 10-28-2003 08:07 PM

All times are GMT -5. The time now is 11:27 AM.

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