Results 1 to 18 of 18

Thread: Sharing Connection Between Ubuntu and XP

  1. #1
    Junior Member
    Join Date
    Sep 2010
    Liked
    0 times
    Posts
    6

    Default Sharing Connection Between Ubuntu and XP

    Hi, I have 2 PCs Ubuntu and Win7 (dual boot) on one and Windows XP on other PC. Please guide me how i can share files and internet connection between Ubuntu and XP (preferably XP as client). Help Needed!!!!!!!

  2. #2
    Bronze Member
    Join Date
    Jun 2008
    Liked
    0 times
    Posts
    253

    Default

    configure your modem in PPPoE mode and you can share the internet connection between the 2 machines and also you are able to share files and other resources like printer and scanner.

  3. #3
    Junior Member
    Join Date
    Sep 2010
    Liked
    0 times
    Posts
    6

    Default

    mvb4u Thanx 4 repling...
    BUt I have already configured PPPoE on Ubuntu and XP. And can't share connection i.e. could use internet at 1 PC at a time.!!!! The problem still remains

  4. #4
    LEARNER
    Join Date
    Aug 2007
    Liked
    28 times
    Posts
    15,323

    Default

    No idea about Ubuntu OS and settings.
    1.
    Check this link for Windows 7 and XP systems.
    File Sharing - Between XP and W7 (and vice versa) - Windows 7 Forums
    1a.
    Confirm 64 bit 32 bit conflict is not there..

    2. In modem Enable DHCP and give a range.
    3. You should be using "Always ON" PPP/PPPoE mode in modem.
    4. Mention modem/model/make number or select from links below.
    5. In both computers TCP/IP obtain ip address automatically.

  5. #5
    Bronze Member
    Join Date
    Jun 2008
    Liked
    0 times
    Posts
    253

    Default

    Quote Originally Posted by Mr.Sheerdil View Post
    mvb4u Thanx 4 repling...
    BUt I have already configured PPPoE on Ubuntu and XP. And can't share connection i.e. could use internet at 1 PC at a time.!!!! The problem still remains
    Configure your modem in PPPoE mode so that when you turn on the modem you get the internet.

  6. #6
    Junior Member
    Join Date
    Sep 2010
    Liked
    0 times
    Posts
    6

    Default

    mvb4u and essbebe thanx 4 repling.
    @essbebe:- Sharing b/w XP and 7 is not a problem, I have already done it and its going very nice. Its about Ubuntu & Windows.

    @mvb4u:- I think you didnt understand me. I have configured PPPoE and internet is running well on either Ubuntu or XP individually. But I cant use it on both at same time i.e. I can have access at any one machine at a time. I need help regarding sharing connection; configuration has already been done.
    The expected scene should be like this

    Ubuntu machine<======== Modem =======> XP machine

    where "=" is lan showing both are in network; sharing internet connection and files.
    Thnx your replies are really appreciated.

  7. #7
    Platinum Member
    Join Date
    Aug 2009
    Liked
    0 times
    Posts
    8,555

    Default

    Enable DHCP in modem and try.

  8. #8
    Silver Member
    Join Date
    Jan 2009
    Liked
    0 times
    Posts
    390

    Default

    Sharing the internet is easy so long as your modem is in always-on mode. If your modem is, your user name and password will be included in the modem setup and you will never have to type them into any PC on the network.

    If your modem is set up like this, then it doesn't matter what OS the machines on your net are, so long as the TCP/IP is configured correctly. There is a good chance that DHCP will do that for you, but your PCs have to be configured to "get an IP address automatically" (can't remember the linux network conf).

    If I were you, I'd disable DHCP and set:

    PC-1 192.168.1.2
    PC-2 192.168.1.3

    It doesn't matter which is which.

    The net mask for both must be the same (255.255.255.0) and this is assuming that the modem router is 192.168.1.1 which is probably how it came out of the box.

    Set 192.168.1.1 as the default gateway/default route on both machines.

    That's how to do it, and you can mix Windowses, linuxes, unixes --- and probably Cray supercomputers if you have one and it will work.

    If you still have a problem, pleas epost the output from

    C:\ > IPCONFIG
    on the Windows machine

    and

    $ ifconfig

    and

    $ route
    both on the linux machine.



    (open to better suggestions on linux. I'm sitting in front of a Ubuntu machine, but my Unix sys admin skills started to rust a few years ago)

    Sharing files is not so easy. You need to run something called Samba on your linux machine. This makes it look like a Windows machine to other Windows machines. Whereas, back in work days, I had forty-plus Win PCs mounting file systems on several Unix servers, just now I am not getting it to work the way I want, with just one of each at home, at all

  9. #9
    LEARNER
    Join Date
    Aug 2007
    Liked
    28 times
    Posts
    15,323

    Default

    As mentioned by @Nick_H you can try SAMBA.
    See this video and other videos.
    YouTube - File Sharing With Ubuntu 9.04 Using Samba
    Google search term: "share files in Ubuntu and windows"

    Rep points due to @Nick_H. Feedback please with version of UBUNTU.

  10. #10
    Junior Member
    Join Date
    Aug 2010
    Liked
    0 times
    Posts
    6

    Default

    Use TeamViewer and enable remote support & File Sharing. It needs internet and is a very easy and useful tool.

  11. #11
    Junior Member
    Join Date
    Sep 2010
    Liked
    0 times
    Posts
    6

    Default

    Thnx to all,
    @Nick H:- yea its the easiest method. I used it on other Linux distro (Backtrack) earlier and worked for me. I totally forgot that, [sometimes ur neurons dont help you]. Hope it could do same on Ubuntu. And I could use net on both machines
    @sharks12:- lols
    @essbebe:- yea tried samba & worked fine.
    Last edited by Mr.Sheerdil; 09-16-10 at 01:57 PM. Reason: Automerged Doublepost

  12. #12
    Silver Member
    Join Date
    Jan 2009
    Liked
    0 times
    Posts
    390

    Default

    Glad you are happy with Samba and you solved your net problems.

    Actually it is working for me, but not "transparently". With just wife and I in one house, I am not interested in password security: physical access security is good enough for us!

    In the work scenario, a decade or so ago, we used a PC version of NFS. Why we moved to Samba, I can't remember, but I don't think we ever regretted it: it was fine, and free. I used the web interface tool to administer it and seldom needed to go near the server configuration file, but had (and have) the Nutshell book if I did.

    These days, I lack both the commercial imperative and the real interest to get deep into techie problems for long, I'm afraid. Will revisit this, though.

  13. #13
    LEARNER
    Join Date
    Aug 2007
    Liked
    28 times
    Posts
    15,323

    Default

    @Nick_H
    Check your USERCP for additional 18 rep points from me.
    Thanks . I will remember your post for forum use.

  14. #14
    Junior Member
    Join Date
    Sep 2010
    Liked
    0 times
    Posts
    6

    Default

    Congrats Nick_H for rep points...
    But the problem still not over,,,, only samba working fine internet still not working on both....
    I am trying very hard and burning my brain to get it done... Hope I'll succeed
    othrwise thnx to all...

  15. #15
    Silver Member
    Join Date
    Jan 2009
    Liked
    0 times
    Posts
    390

    Default

    Whoa, thanks, but guess what? That's about the total of my networking knowledge . Thing is, it works for two machines and it works for a hundred!

    OK, I'll admit I did slightly more complex things, but that was then...

    Mr.Sheerdil --- please give output of the commands I mentioned. Sometimes it takes another pair of eyes to see the problem

  16. #16
    Junior Member
    Join Date
    Sep 2010
    Liked
    0 times
    Posts
    6

    Default

    Well the problem is now solved,,,,,,, Cheers!!!!
    I used a software called "firestarter".
    prerequisites
    Give your ethX a static ip, gateway and subnet i.e.
    ip= 192.168.0.X
    subnet= 255.255.255.0
    gateway= 192.168.0.1

    This is how its done:-
    1. Go to Ubuntu software center, search for firestarter and install.
    2.now it will ask 3-4 questions answer them accordingly like in my case Detected device is "PPP0" and lan device is "eth0". jus read carefully and select
    3. enable automatic DHCP
    and save and start the firewall.


    Now in other PC i.e. Windows
    In network Connections-->lan properties--->Obtain ip address automatically
    You can also check alternate conf. give ip, subnet, gateway (192.168.0.1)
    Reboot(optional)
    Ping each other(machine), check the connection and surf
    Now the situation is like
    Modem====>Ubuntu====>Windows




    @Nick_H - actually the problem I was facing was, after changing my modem settings to "always on" mode, I was able to surf only on Windows, it shouldn't happen but I don't know why Ubuntu was not connecting. May be I was doing something wrong.

    Otherwise i think "always on" mode is a little insecure than "PAP or CHAP" mode.

    anyways thnx for sharing ur thoughts.
    Last edited by Mr.Sheerdil; 09-17-10 at 08:20 AM. Reason: Automerged Doublepost

  17. #17
    Silver Member
    Join Date
    Jan 2009
    Liked
    0 times
    Posts
    390

    Default

    Actually, I regard "always on" as being the most secure, because the internet ends at your router/modem. If your modem is configured as a bridge, "the internet" extends as far as your PC.

  18. #18
    Bronze Member
    Join Date
    Jun 2008
    Liked
    0 times
    Posts
    253

    Default

    I second it PPPoE mode is more secure than bridge mode.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)