Internet Connection Sharing With Windows and Kubuntu
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.