Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 12-22-2006, 04:36 PM   #1
LQ Newbie
Registered: Dec 2006
Posts: 3

Rep: Reputation: 0
Internet Connection Sharing With Windows and Kubuntu

I have 2 computers in my house. Here are the details of each:

Computer 1
OS: Windows XP Pro
I use dialup to connect to the internet
I have a onboard Ethernet Port

Computer 2
OS: Kubuntu 6.06 LTS
Trying to share internet connection with computer 1
I have a PCI Ethernet Card

I do not have a router and I don't feel like getting one.
I have a ethernet cord

I am trying to get computer 2 to use the internet on computer 1. I have been trying alot of stuff but nothing seems to work. Anybody have any tips?
Old 12-22-2006, 06:47 PM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Buy a router
Old 12-24-2006, 06:33 PM   #3
Senior Member
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,868

Rep: Reputation: 250Reputation: 250Reputation: 250
Assuming that both machines have their network devices configured correctly..

You need a crossover cable between the machines. Not a regular ethernet cable, a crossover cable.

Then configure windoze to share internet connections. I've done it with broadband, not sure how that looks to bridge a ethernet connection with a modem connection. Use windoze configuration wizard.

Or buy a little 5 port $20 switch. Then you use a standard ethernet cable from the machine to the switch.

Last edited by teckk; 12-24-2006 at 06:36 PM.
Old 12-25-2006, 12:44 PM   #4
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 670
Blog Entries: 7

Rep: Reputation: 31
if you have ICS enabled on winxp all you need to do on the linux box is to plug a crossover cable in btw and run dhclient or pump . Since ICS enables a dhcp server on the WIN box. This way all should be configured using dhcp and you wont have to do anything.
Old 02-01-2007, 09:45 AM   #5
Registered: Oct 2006
Distribution: Fedora 7 x86_64, SLAX
Posts: 58

Rep: Reputation: 15
A couple of corrections: If you have a gigabit ethernet adapter on either or both machines, a crossover is not necessary. The gigabit adapter uses all eight pins for communication instead of just four like Fast Ethernet or Ethernet. It reconfigures itself automatically for a connection directly to another adapter. However, a crossover is needed if your ethernet is not gigabit. (I discovered this when doing experiments in making a Gigabit Crossover.) Also, there is no DHCP server on Windows XP. The reason that other Windows machines can get an IP address without configuration is because Microsoft has built in automatic IP addressing. It attempts to make the best connection without any information on the network, but it is almost always in the 192.168.*.* range. Because of this, you will have to configure the IP address on the linux box manually.


ics, kubuntu, winxp

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
Internet connection sharing with windows.. astriskmanish Linux - Networking 4 04-22-2007 07:57 PM
Sharing Internet Connection XP -> Kubuntu czarnykot Linux - Networking 2 08-21-2006 04:57 PM
sharing internet connection with windows xp melinda_sayang General 11 12-10-2004 09:51 PM
Sharing internet connection with windows Kontrau Linux - Networking 2 05-02-2004 07:10 PM
Internet Connection Sharing with a Windows PC Chryzmo Linux - Networking 22 09-26-2003 12:10 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:00 PM.

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