LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-12-2005, 04:04 PM   #1
jpl80
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
connecting through windows Ad-Hoc


I have a windows XP machine that is networked wirelessly using DHCP. I have a linux box that is right next to it that I want to put in the network. Is it possible to hook these up using a crossover cable and get the linux box to use the windows connection?

I think that using a computer as a gateway for other computers to connect to the internet is called Ad-Hoc?

so a diagram would look like this

linux -> windows -> wireless card -> wireless router/cable modem -> internet

Any ideas as to where to start or what I have to configure?

thanks,

jpl80
 
Old 10-12-2005, 05:50 PM   #2
tvynr
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 143

Rep: Reputation: 15
If you're using Windows XP, it should have something called "Internet Connection Sharing" somewhere under the "Network Connections" window. This can reportedly perform basic routing services and, in the past, I have successfully used it to share a 56k connection among three machines on a LAN (back when I was fighting with my Linux firewall's hardware).

One advantage to this approach is that, like many things in Windows, it is quite easy to use; Microsoft is usually pretty decent with UIs. However, I find it quite irritating when sharing an ethernet connection as, for some reason, it always demands that the NIC on the internal side have the IP address 192.168.1.1. (Since my internal network uses the 192.168.0.x subnet, this caused problems.)

ICS prolly comes with a "wizard" which will configure everything for you. Keep an eye on what it does, though, as I had some trouble figuring out what to de-configure once I was finished with it.

Good luck!

(edit)

BTW, I think that ICS also provides a DHCP client... so if you want to let it do the 192.168.1.1 thing, you can get DHCPed addresses on that subnet.

Last edited by tvynr; 10-12-2005 at 05:52 PM.
 
  


Reply



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 Linux to Windows Network Mr_C Linux - Wireless Networking 11 03-02-2011 07:46 AM
Connecting to a Windows Fileshare? carlosinfl Fedora 3 02-03-2005 02:15 PM
Linux 2 Windows Ad-hoc theplop Linux - Networking 0 11-15-2004 07:01 PM
Connecting with Windows desarrolladores Linux - Networking 9 06-13-2004 01:23 PM
Connecting Windows and Linux Joe Soap Linux - Newbie 4 02-20-2002 01:56 PM

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

All times are GMT -5. The time now is 05:02 AM.

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