MSFN Forum: [WLAN] Ad Hoc ICS Between PC and Mac - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[WLAN] Ad Hoc ICS Between PC and Mac No IP Traffic Is Happening... Rate Topic: -----

#1 User is offline   Gantlett 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 22-March 05

Posted 27 April 2006 - 02:54 AM

Hello fellow members :)

I hope this is the right place to discuss this matter. I know there are amazing specialists here, and I really need your help:

I have an Apple iBook G3 500MHz equipped with built in AirPort (an 802.11b adapter) running MacOS 10.4.6 and a WinXP Pro SP2 PC with all updates. The PC connects directly to the internet via ADSL@PPPoE through the Ethernet port.

I would like the iBook to be able to connect to the PC and get internet and file access from it, so I went on the cheapest option possible ('cause that's the kind of man I am :D :blink: ) and bought a USB wireless adapter for the PC so both computers could connect to each other wirelessly (Ad Hoc).

First off, I will say that I haven't studied the subject at all before purchasing the adapter and I still have a few days to return it and get a full refund.

I have configured the computers as follows:
PC:
IP=192.168.0.1
Subnet=255.255.255.0

Mac:
IP=192.168.0.2
Subnet=255.255.255.0
Router(Gateway)=192.168.0.1


I have also tried to include my ISP's DNS addresses.

The computers successfully establish a connection between them, but no network activity goes through and Ping fails completely. I have tried configuring the PC to share its internet connection in all possible ways I could think of, but no luck... I've used the Home Network Wizard and also tried manual configurations on all adapters separately. Still, no luck.

I have contacted 3Com and they said they don't support Macs so they can't help me but they included a How To that illustrates how to do this with PC's (which doesn't solve the problem).

I have also tried configuring the Mac to DHCP, but it receives an off-network address (169.something and a subnet of 255.255.0.0...).

Any help would be greatly appreciated!

BTW:
PC's and Macs can create a network via Ethernet - I have done this before and internet and files can be shared this way successfully. It even works with Wi FI in Infrastructure mode (when an Apple laptop for example tries to access public hot spots). It's just this Ad Hoc thingy that refuses to work for me! :no:

BTW2:
ahmm..... :blushing: I might have turned off a service or two in the PC... Could that be the problem?

This post has been edited by Gantlett: 27 April 2006 - 03:54 AM



#2 User is offline   Gouki 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,168
  • Joined: 19-March 05

Posted 27 April 2006 - 03:06 AM

169.254.0.1 through 169.254.255.254 is known as APIPA. Wich is a private address used when there is no DHCP present on the network and you have your NICs set to obtain automatic IP address configurations.

Have you try'ed with the following configuration?

The PC (wich connects to the Internet) starts Internet Connection Sharing (make sure the Service is running and Windows Firewall turned off) and share the Internet connection with the USB WLAN NIC.

On the WLAN NIC TCP/IP Properties set to obtain the IP address automatically (wich will be provided by the ICS Service running on the PC) and your iBook NIC also to obtain a IP address automatically (also provided by the PC).

ICS uses the 192.168.X.Y range. So there maybe an IP address conflict when you configure your NICs to static IP address using the 192.168.0.1 on the PC and 192.168.0.2 on the iBook.

P.S: Please follow the posting rules of this forum. Thank you.

#3 User is offline   Gantlett 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 22-March 05

Posted 27 April 2006 - 03:41 AM

Thanks for the quick reply!

Please let me make sure I understand correctly. I should:
1. Right click on the PC's WLAN NIC and turn the ICS feature on.
2. Keep its IP's to be obtained automatically
3. Make sure the FW is off
4. Set the iBook to DHCP

BTW, ICS turns the shared controller to 192.168.0.1 - it doesn't put it in "auto obtain", as far as I recall.

Please tell me what I've done wrong regarding the forum rules.

Thanks again!

This post has been edited by Gantlett: 27 April 2006 - 03:43 AM


#4 User is offline   Gouki 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,168
  • Joined: 19-March 05

Posted 27 April 2006 - 03:50 AM

Forum Rules

Shared controller? What do you mean by that? Like I said on my previous post, ICS uses the 192.168.X.Y range.

Yes. That's what you should try.

#5 User is offline   Gantlett 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 22-March 05

Posted 27 April 2006 - 03:57 AM

Changed the tag to [WLAN].

By "Shared Controller" I meant the controller that you activate the ICS feature in, but forget it.

Thank you - I will try this later, as now I'm at work, but I will post the results!

#6 User is offline   Gantlett 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 22-March 05

Posted 28 April 2006 - 03:38 AM

OK - I've tried the method suggested above and it still doesn't work...

Now, in DHCP mode -
The Subnet is 255.255.0.0
The PC's IP is 169.254.1.88
The Mac's IP is 169.254.64.110

I've tried to Ping the Mac from the PC and it completely fails.
I've tried to manually set the Mac to these addresses with the PC as the gateway - still no luck.

#7 User is offline   Gouki 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,168
  • Joined: 19-March 05

Posted 28 April 2006 - 01:38 PM

As long as you have the 169.254.X.Y IP address, it won't work. APIPA is used when everything else fails, even tho it is supposed to make a network connection work, I don't trust it.

You have that IP address on the computer running ICS? Make sure you are sharing the Internet connection with just the USB adapter. By default Windows shares with all NICs it can find.

Are you sure the USB is on Ad-Hoc mode?

I don't know why it isn't working, however, the method used to share the Internet connection is not the best one to troubleshoot. (Internet - computer - USB pen - MAC)

I think you would be better buying a wireless router and sharing the Internet connection with it, or even use a ADSL modem with wireless router built-in. I know this is not helping, however, I have no idea on how to fix your problem. This is one of those problems that you actually have to be there to get 'hands-on'.

I had a computer just for ICS for a long time. I finally bought a SMC ADSL Barricade II Modem and it has been working like a charm ever since. It's allot easyer than having a box running ICS and it is not that expensive.

#8 User is offline   Gantlett 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 22-March 05

Posted 30 April 2006 - 04:44 AM

Thank you, but I'm sure there IS a way to make this work.

I'm asking, please, if someone could think of another possible way to do this.

Thank you all!

#9 User is offline   Gouki 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,168
  • Joined: 19-March 05

Posted 30 April 2006 - 06:38 AM

Let's try do this by phases:

Phase #1: Share the Internet Connection using ICS. To make sure you are doing this the right way, share the Internet connection with a NIC (wired ethernet card).

If that works, report back here.

Take care.

#10 User is offline   Gantlett 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 22-March 05

Posted 30 April 2006 - 08:10 AM

By that you mean right clicking the Ethernet connection and turning on the ICS? Because there are two ways of sharing an internet connection:
1. Activating ICS in the NIC
2. Activating ICS in the PPPoE connection and choosing the appropriate NIC there.

Which way should I do this? I don't understand why they even exist...

P.S:
Yesterday I somehow made the connection between the computers work! I set both computers to DHCP and they set themselves automatically to the addresses I tried entering manually a few days before (i.e, the same exact configuration displayed on the first post on this thread)! They just "did it". Internet did not go through however, but Ping worked and I even managed to share files between the computers. Unfortunately it only worked for one session. I don't know why it won't work again - I wasn't concentrated enough while I realized it was working (had to go somewhere), and after turning the computers back on it didn't work, again...

This post has been edited by Gantlett: 30 April 2006 - 08:20 AM


#11 User is offline   Gouki 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,168
  • Joined: 19-March 05

Posted 30 April 2006 - 08:48 AM

Enable ICS using the New Network Wizard - Set up a home or small office network - located at Network Connections.

#12 User is offline   Gantlett 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 22-March 05

Posted 30 April 2006 - 10:54 AM

OK - I've done that.

Now the WNIC is given a manual address at 192.168.0.1 with a subnet of 255.255.255.0, but the Mac (set to DHCP) gets an APIPA address on a different subnet: 169.254.9.188/255.255.0.0

This post has been edited by Gantlett: 30 April 2006 - 10:56 AM


#13 User is offline   Gouki 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,168
  • Joined: 19-March 05

Posted 30 April 2006 - 11:08 AM

Ok. The WLAN NIC is set up. Now let's worry about the Macintosh.

First, *make sure* that the AirPort is running on ad-hoc mode (there should be an option for it) and double check if the TCP/IP Properties are set to obtain a IP address from a DHCP server (on the AirPort WLAN NIC).

Report back when you have this done.

#14 User is offline   Gantlett 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 22-March 05

Posted 30 April 2006 - 02:24 PM

The Mac is set to DHCP.

Check >.

Apple calls Ad Hoc "Computer-to-Computer Network", but from the Mac-Help I understand that it is the same thing.

This post has been edited by Gantlett: 30 April 2006 - 02:26 PM


#15 User is offline   Gouki 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,168
  • Joined: 19-March 05

Posted 30 April 2006 - 02:29 PM

Yes. Computer-to-Computer is considered ad-hoc.

With those settings, you can't connect to the PC and use the Internet connection?

#16 User is offline   Gantlett 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 22-March 05

Posted 30 April 2006 - 02:39 PM

No. The Mac receives an APIPA address, as I said in the earlier post, even though the PC is configured to 192.168.0.1/255.255.255.0.

And the funny thing is that on Friday it suddenly worked... And then it didn't.

This post has been edited by Gantlett: 30 April 2006 - 02:40 PM


#17 User is offline   Gouki 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,168
  • Joined: 19-March 05

Posted 30 April 2006 - 03:48 PM

View PostGantlett, on Apr 30 2006, 09:39 PM, said:

even though the PC is configured to 192.168.0.1/255.255.255.0.

The PC is configured to 192.168.0.1/24? You mean that the PC was assigned that IP address, correct?

Try setting the Macintosh to use the same IP range - 192.168.0.3/24 (=255.255.255.0)

#18 User is offline   Gantlett 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 22-March 05

Posted 01 May 2006 - 12:18 AM

Oh, I tried to do that so many times... Really, tens of times. It won't work. The only time it worked was when both computers were set to DHCP/Obtain Addresses Automatically, and it only worked once.

As I said, when it DID work, the computers were automatically assigned the following addresses:
PC:
IP=192.168.0.1
Sub=255.255.255.0

Mac:
IP=192.168.0.2
Sub=255.255.255.0
Router(Gateway)=192.168.0.1

Honestly, I couldn't believe my eyes when I saw this (I just realized how sad this sounds... :lol: ................. :unsure: ).

This post has been edited by Gantlett: 01 May 2006 - 12:33 AM


#19 User is offline   Gantlett 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 22-March 05

Posted 03 May 2006 - 04:26 AM

Hi everyone :hello:

Since a few days have gone by and I really need to return this product by Sunday (unless I find a way to make the stupid thing work...), I wanted to see if anyone could think of a reason why this won't work and why it worked once (for one connection).

Thank you!

This post has been edited by Gantlett: 03 May 2006 - 04:27 AM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy