LinuxQuestions.org
Help answer threads with 0 replies.
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 05-02-2006, 12:00 PM   #1
astriskmanish
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
Lightbulb Internet connection sharing with windows..


hi there,
I m using UBUNTU for 64 bit pc with a PC having WINDOWS is connected to me(no hub no switch just PC to PC connection) and i dont know how to share internet connection which is on my PC with a dialup connection. So can any one tell me how to give or share connection with that PC on my network. Ya plz tell me the commands also b'coz i m bit new in this linux.
 
Old 05-02-2006, 12:32 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 280Reputation: 280Reputation: 280
I believe you'll have to do the following:

1) Enable Windows ICS -- Start --> Control Panel --> Network Connections, right click on Dial-up Connection and select "Properties". Then go to the Advanced Tab and check the box that says "Allow other network users to connect through this computer's internet connection", select your ethernet connection from the drop down box, Do NOT check the second box because some computer might poll for the network time or whatever and automatically dial every 5 minutes, or might dialup when you don't expect it.

2) In Ubuntu, there should be a control panel or system configuration menu (I think it's something like System --> Administration --> Networking). Go into it and assign your Ubuntu box a static IP of 192.168.0.40 and a gateway of 192.168.0.1 (it's possible that DHCP will work and automatically assign you an address, but I'm skeptical of the windows DHCP server).

3) Whenever you want to go onto the internet, you'll have to go to your Windows Machine and then dialup. Then go back to your Ubuntu machine and you should have access to the network.

Oh yeah, just to check, you are using a "Crossover Cable" instead of a standard network cable, right? Crossover cables are required to direct connect two computers (switches and hubs will usually do the crossing for you).
 
Old 04-19-2007, 12:04 PM   #3
rcx11
Member
 
Registered: Oct 2006
Location: Louisana, USA
Distribution: Fedora 34 x86_64, new to Raspbian
Posts: 83

Rep: Reputation: 15
Also, make sure the IP of the Windows ethernet is 192.168.0.1 . ICS does not work unless the IP address is this. There is no way around as far as I know.

If either or both computer(s) has a gigabit ethernet adapter, a cross-over cable is not required. As standard network cable will function properly.
 
Old 04-21-2007, 04:53 PM   #4
Grawp
LQ Newbie
 
Registered: Apr 2007
Posts: 10

Rep: Reputation: 0
I have a question:
what is "vice-versa" solution? if my linux comp has internet and i want to share it with other computer?
 
Old 04-22-2007, 07:57 PM   #5
rcx11
Member
 
Registered: Oct 2006
Location: Louisana, USA
Distribution: Fedora 34 x86_64, new to Raspbian
Posts: 83

Rep: Reputation: 15
I'm currently working on that solution. I have yet to find a tutorial for that. Here in about another week, I believe that I may have your answer (as well as mine).

Last edited by rcx11; 04-22-2007 at 07:59 PM.
 
  


Reply


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
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
Windows and Linus sharing an internet connection... Negativ13 Linux - Newbie 15 02-21-2003 01:37 AM
Windows internet connection sharing Config Linux - Networking 3 02-22-2002 12:17 AM

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

All times are GMT -5. The time now is 09:08 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