LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-13-2006, 12:09 PM   #1
Prokofiev
Member
 
Registered: Oct 2006
Distribution: Fedora Core 5
Posts: 31

Rep: Reputation: 15
Windows & Ubuntu internet/share solution needed


I have 2 PCs. One of them is using WinXP and the other has Ubuntu 6.10.

The 1st one has wireless internet connection through a router and the 2nd one is connected to the 1st via ethernet.

I have no idea of how to manage to have an internet connection with Ubuntu using the 1st PC's internet connection. I also have no idea of how to share files with Ubuntu and WinXP.

Any ideas of how to do these things? Are these possible to happen? I am a newbie

Thanks in advance
 
Old 12-13-2006, 12:52 PM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
Quote:
The 1st one has wireless internet connection through a router and the 2nd one is connected to the 1st via ethernet.
Have you tried pluging the 2nd one into the router ( assuming it has multiple ethernet ports). Could you tell us a little bit more about your router?
 
Old 12-13-2006, 01:05 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,815

Rep: Reputation: 6336Reputation: 6336Reputation: 6336Reputation: 6336Reputation: 6336Reputation: 6336Reputation: 6336Reputation: 6336Reputation: 6336Reputation: 6336Reputation: 6336
Your not very specific in your description. If I understand correctly the 1st one is the Windows XP computer that has wireless card and the 2nd PC is running Ubuntu. The two PCs are connected together via a crossover ethernet cable.

You will need to configure the XP for internet connection sharing (ICS). Googling for ICS will pop up lots of information. Setting the Ubuntu box for an internet connection using DHCP is all you need to do. There are a few snags. ICS automatically configures the network interface IP address 192.168.0.1 and turns on a DHCP server which can not be changed. You might need to change your wireless router setup if it uses the same network (i.e 192.168.0.x).

To share files between windows and linux you will need to configure samba and any firewalls to allow smb traffic.
 
Old 12-13-2006, 01:40 PM   #4
Prokofiev
Member
 
Registered: Oct 2006
Distribution: Fedora Core 5
Posts: 31

Original Poster
Rep: Reputation: 15
@fordeck

The router is a US Robotics 9108. I don't want to plug in the 2nd one (Ubuntu) because I need the PC to stay next to the 1st one (Windows) which is a bit far from the router. But I believe that if I connect using ethernet there will be no problem. I have tried that before with an other PC and I found no problem.

@michaelk

You understood correctly. I have created using ICS a LAN connection (IP adress is 192.168.1.8) and Ubuntu (using DHCP) receives packets. The internet connection of the 1st PC is provided by a LAN so I don't think I can change anything without affecting the LAN. But I have no internet connection.
I made this post in order not to google but I guess I have no other option but to google.

Any other idea is very welcomed!!!
 
Old 12-13-2006, 02:17 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,815

Rep: Reputation: 6336Reputation: 6336Reputation: 6336Reputation: 6336Reputation: 6336Reputation: 6336Reputation: 6336Reputation: 6336Reputation: 6336Reputation: 6336Reputation: 6336
Unless you fully explain your problems and what you have already done it is difficult to provide precise answers.

Does the Ubuntu ethernet device get a valid IP address?
Can you ping the windows PC from Ubuntu?
Does the /etc/resolv.conf file contain valild DNS information compared to the windows box?
 
Old 12-13-2006, 03:13 PM   #6
Prokofiev
Member
 
Registered: Oct 2006
Distribution: Fedora Core 5
Posts: 31

Original Poster
Rep: Reputation: 15
Let's say that I haven't done anything yet. Theoritically what do I have to do exactly to connect Ubuntu to winXP without any internet connection?

By the way the IP information is
protocol: IPv4
Ip Address: fe80::20a:48ff:fe19:4ac7
Netmask/Prefix: 64
Broadcast: (Blank)
Scope: Link

Any Interface Information is not available.
I have no idea of how to ping...
The path you mentioned doesn't exist.

Last edited by Prokofiev; 12-13-2006 at 03:18 PM.
 
Old 12-14-2006, 05:34 PM   #7
Prokofiev
Member
 
Registered: Oct 2006
Distribution: Fedora Core 5
Posts: 31

Original Poster
Rep: Reputation: 15
I just managed to share my files between the PCs but unfortunatelly there is no internet connection. I tried configuring Firefox but without any good result. I have established a connection to WinXP that provides internet to other computers from my wireless internet connection. So I believe this part is ok.

I have no idea of what I should configure in Ubuntu. Please help!!!
 
Old 03-17-2007, 03:33 AM   #8
salvadorsing
LQ Newbie
 
Registered: Mar 2007
Location: Kuching
Distribution: Ubuntu 7.04
Posts: 17

Rep: Reputation: 0
Lightbulb

Quote:
Originally Posted by Prokofiev
@fordeck


You understood correctly. I have created using ICS a LAN connection (IP adress is 192.168.1.8) and Ubuntu (using DHCP) receives packets. The internet connection of the 1st PC is provided by a LAN so I don't think I can change anything without affecting the LAN. But I have no internet connection.
I made this post in order not to google but I guess I have no other option but to google.

Any other idea is very welcomed!!!
by default the IP address should be 192.168.0.1 on the XP when you configure it rite? try ipconfig/all u might have located the wrong ip(wireless?) reconfigure ICS, find out the IP of the network card, on the ubuntu set the ip to be in the same network eg. xp 192.168.0.1 then ubuntu should be 192.168.0.2(subnet mask 255.255.255.0). something like this. then the gateway & dns you set it as the XP ip that you found out.(this is the harder way if your dhcp settings wouldn't work)
 
  


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
share internet between windows and linux? skcr Linux - Networking 4 05-09-2006 10:23 PM
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 4 11-10-2005 11:37 AM
share dial-up internet from xp to ubuntu StewieG Linux - Networking 2 06-16-2005 01:21 AM
Sharing my Internet Connection from Ubuntu to Windows (XP & 98SE) eminence Linux - Networking 4 05-19-2005 06:05 PM
Share Internet from Windows XP box?? general2000vn Linux - Networking 3 04-18-2005 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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