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 02-02-2004, 09:40 AM   #1
slapnutzz
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Rep: Reputation: 0
sharing internet with XP and Linux


I decided to try Linux the other day, been staring at a set of RH8 cd's for over a year.

Well after a day of farting around i've managed to get my Laptop hooked up with it's bloody WinModem and installed some programs..

My next hurdle is this...

I want to be able to share my dial up connection between my Laptop and Desktop with an ethernet cable. Lap running Linux and Desk running XP.

For now I really don't care which OS connects to the net, whichever is simpler for starters I guess.

Ohh, and the Ethernet cable is a "null" type cable I made up, works perfectly between the 2 running XP.

Thanks for any help.
 
Old 02-02-2004, 02:02 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

It will probably be easier if you use the fixed computer for the net connection but it would be more secure with linux.

Set your computers up with private addresses (you may not need to if you have set this up correctly with windows):
Desktop
IP: 192.168.1.1
MASK: 255.255.255.0

Laptop (run "netconfig")
IP: 192.168.1.2
MASK: 255.255.255.0
Gateway: 192.168.1.1
DNS: 192.168.1.1

Then enable Internet connection sharing on XP and restart networking on linux:
service network restart
 
Old 02-02-2004, 05:31 PM   #3
slapnutzz
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
You're da man!!...

Took a little fudging, Linux was the easy part to my suprise...
Seems default for XP is 192.168.0.1. I forced it to 192.168.1.1 and it disabled sharing.. Re-enabled it and all was good.

Thanks, that was a hell of a lot less painful that getting that ltmodem running, last time I saw a unix command line was over 15 years ago in grade school.
 
Old 02-02-2004, 09:19 PM   #4
slapnutzz
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Post

Crap... Just installed a dual boot on the desktop.. Uses an HSF modem and they want 14.99 for the drivers.... Thats as much as I paid for the "now" useless modem. I have at least 5 WinModems in various pc's and closets around the house.. Should have bought 1 real old school serial modem years ago... who knew

How do I share net from linux to linux?? I imagine netconfig with the proper #'s on both sides of the sharing eth interfaces but how do I enable sharing on Linux?

Sorry to bother you with such an easy question but you cut through all the crap with your first answer, it's a little daunting for a newb to sift through the HowTo's when you barely know your way around the shell.

Thanks again for your help, I promise I will read more HowTo's in the future, I have a DVB card in my main box that will take my learning curve into orbit.

Thanks again, I'm hooked on this Linux thing..

Last edited by slapnutzz; 02-03-2004 at 03:11 AM.
 
  


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
sharing internet with linux props666999 Linux - Networking 4 11-01-2004 08:07 AM
linux internet connection sharing usa1234 Linux - Networking 3 10-29-2004 11:27 AM
Linux Internet Sharing erycz Linux - Networking 4 10-31-2003 04:02 PM
Sharing Internet with Linux DonMiner Linux - Networking 2 09-19-2002 09:30 PM
internet sharing on linux from one ip zipzero Linux - Networking 4 12-11-2001 05:13 AM

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

All times are GMT -5. The time now is 03:48 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
Open Source Consulting | Domain Registration