LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 12-22-2006, 05:36 PM   #1
Espionage724
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, 07: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, 07:33 PM   #3
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,773

Rep: Reputation: 197Reputation: 197
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 07:36 PM.
 
Old 12-25-2006, 01:44 PM   #4
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 668
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, 10:45 AM   #5
rcx11
Member
 
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.
 
  


Reply

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


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

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