Jump to content

How to use internet on Windows machine from Linux


Zdravko Nedic
 Share

Recommended Posts

Hello everybody, first to say that I like this forum very much, and that I'm new to Linux, but with a lot Windows experience.

 

My problem is as follows:

I have windows desktop machine (192.168.0.1) connected via cross cable to laptop with Mandriva 2008 (192.168.0.2). I have ADSL modem on desktop machine, so only my Windows machine is capable of going to internet (for now :) at least). I tried to share my ADSL connection so I can access internet via LAN from Linux laptop.

 

I set my connection to be shared by proper LAN, and my Linux sees (and pings) my Windows desktop (I can share files from Win to Linux). In Linux I entered following parameters in network center:

IP Address: 192.168.0.2

Netmask: 255.255.255.0

Gateway: 192.168.0.1

 

DNS server 1 is set to 192.168.0.2

 

How can I make this work? Some friends mentioned some DHCP and DNS settings, but it is pretty advanced to me in Linux, and not so clear in Windows too.

 

Thanx you guys!

Link to comment
Share on other sites

I'm no expert, but here are my two cents. Is the ADSL modem an internal PCI type or is it an external box? It may well be a different IP address than the one for the win PC you are stating in your configuration (Gateway 192.168.0.1). Are you sure your gateway is the other PC's IP address?

 

And welcome to the forum! :)

Link to comment
Share on other sites

I have ADSL usb modem, Conexant AccessRunner. I read on net that windows ICS is acting as DHCP so I set Mandriva to obtain IP automaticaly, which worked, but internet is still down.

 

I did not understand your question about gateway? I thought that computer connected to internet and acting as router to outer world should always (in practice) have 192.168.0.1 and therefore is gateway. Correct me if I'm wrong...

Edited by Zdravko Nedic
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...