0

I have created a working wireless LAN with wifi router connected to my PC and I can easily access from my macbook to PC. On my PC I have 3G internet connection via USB stick. Now I want to be able to share the internet through LAN to have both computers connected to the internet. As said in the following topic I've shared my connection but I still unable to connect to the internet on my mac. What else I need to do?

1

1 Answer 1

1

Your link says:

Do not use ICS on a network with domain controllers, DNS servers, gateways, or DHCP servers. And don't use ICS on systems configured for static IP addresses.

You need to prevent the Mac getting an IP-address from the wifi router (which probably acts as a DHCP server).

I would try

  • disable DHCP service on the router
  • set a static IP address on the PC (I assume the last sentence above applies to ICS clients)
  • set the Mac to use dynamic addressing

Hopefully the Mac will then pick up an address, and routing details, from ICS on the PC.


Update: A MacWorld Article says

On the client computer (Mac OS X and a wireless NIC):

  1. Click on the AirPort icon at the top right of the screen.
  2. Click Create Network. A dialog called Computer-to-Computer should pop-up.
  3. Set name to ICS. Click OK.
  4. Open System Preferences from the Apple menu.
  5. Click the Network icon.
  6. Select AirPort from the Show Menu dropdown.
  7. Click the TCP/IP tab.
  8. Select Manually from the Configure IPv4 dropdown.
  9. Set IP Address to 192.168.0.2.
  10. Set Subnet Mask to 255.255.255.0.
  11. Set Router to 192.168.0.1.
  12. Set DNS Servers to 192.168.0.1.
  13. Click Apply Now.

You have now completed setting up the client computer. Read on for the host computer instructions.

On the host computer (Windows XP, Internet Connection (i.e. Cable or ADSL), Wireless NIC):

  1. Click Start -> Control Panel.
  2. Double-click Network Connections.
  3. Right-click Wireless Network Connection and then click Properties.
  4. In the General tab, select Internet Protocol (TCP/IP).
  5. Click Properties.
  6. In the General tab, select Use the following IP address.
  7. Set IP address to 192.168.0.1.
  8. Set Subnet mask to 255.255.255.0.
  9. Click OK.
  10. Click the Wireless Networks tab.
  11. Click the View Wireless Networks button.
  12. Select the network named ICS from the list and click Connect.
  13. Click OK at the next dialog telling you the network is open.
  14. Close the View Wireless Networks window.
  15. Click OK to close the Wireless Network Connection window.
  16. You should now be in the Network Connections window.
  17. Right-click Local Area Connection and then click Properties.
  18. Click the Advanced tab.
  19. Click the Allow other network users to connect through this computer's Internet connection checkbox.
  20. Click OK.

You have now completed setting up your Host. You should be able to connect to the Internet on your Mac. If you follow these instructions, your wireless connection between your Mac and PC will be unsecured; it is highly recommended you set a WEP password.

2
  • Thanks for your answer. As you've suggested I've disabled the DHCP service on my router, but instead of setting Mac to receive dynamic address, I've set up it manually. With dynamic addressing Mac cannot connect to the internet absolutely, but now I can connect only to Google sites (google.com, youtube.com etc). I suppose that this is somehow related to DNS resolving. But I don't know what's wrong and where. Can you help me with this problem?
    – haynar
    Feb 13, 2012 at 21:23
  • And I can use Skype as well. Maybe it could help if you know that I can ping facebook.com (and other sites) from terminal, but it doesn't open in the browser
    – haynar
    Feb 13, 2012 at 21:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .