Announcement

Collapse
No announcement yet.

Share Connection From XP To Kubuntu

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Share Connection From XP To Kubuntu

    Hi ! First post.

    I have a Windows XP machine connected to the internet, and a Kubuntu box without internet connection. They are connected with a cross-link ethernet cable.
    I want to share the internet connection, so I can connect to the internet from my Linux computer.

    I have searched for this topic, but most posts deal with sharing a connection from an Kubuntu box to XP.

    I have enabled internet connection sharing in XP, have set the gateway, and DNS settings. The machines see each other; pinging works.

    However, I cannot access the web from Konqueror: there is a "server timeout" error.

    Any ideas? Thanks in advance for replies.


    #2
    Re: Share Connection From XP To Kubuntu

    Sound to me like you don't have the correct/(or any) DNS address set in the Kubuntu box.

    Comment


      #3
      Re: Share Connection From XP To Kubuntu

      Well I think I have set my DNS settings: i have uncommented the line in dhclient.conf:

      #prepend domain-name-servers <DNS ADDRESSES>;

      and added the DNS addresses, so that the DNS servers would be added to resolv.conf. And they are...

      But it still doesn't work.

      Comment


        #4
        Re: Share Connection From XP To Kubuntu

        Hi Czarnykot,
        I posted this and noticed that you have the reverse of my Internet scheme.
        So this may not really apply to your setup but, you may have the same routing gw problem.

        I have had the same problem in my home unstandard network setup. I have an Linux box
        with a dial-up connection to the Internet and it is connected to a wireless router. The router
        connects the other computers on my lan.

        The GUI network interfaces were determined to use the wireless router address such
        as 192.168.1.1 for the gateway address whereas the correct gateway address is 198.168.1.3
        ( my Linux box address ). I had to use the 'route' command via a terminal to fix theis problem.

        do the following:
        > sudo route add default gw 192.168.1.3 wlan0 # this adds new gw
        > sudo route del default gw 192.168.1.1 wlan0 # this removes old gw
        > route # this shows resultiing route

        You will most likey want to use device name 'eth0' in place of 'wlan0' in the above lines.
        I put these lines in a bash script and run the script when ever I want to Wi-FI connect to this system.

        You will also have to turn on 'ip masqurading' in order for your Kubuntu box to route Internet
        traffic to your other boxes. I have been looking around and have not found out how to do this
        on Kubuntu my Linux box that does the ip masqurading is running Suse 9.0 for the tiome being.

        Hope this helps
        YumaJim

        Comment

        Working...
        X