PDA

View Full Version : Adhoc sync works, Internet doesn't


bcw
04-16-2003, 05:05 PM
I've been reading lots of posts about Adhoc WiFi. I've gotten WiFi sync working. I've tried lots of suggestions to get Internet access as well, but all I've managed is to disable hotsync. :confused:
Cable modem -> Belkin ethernet router (NOT wireless) -> laptop nic ?-> PCMCIA WiFi card (3com AirConnect)
NX70V w/WL100 card

(PCMCIA WiFi) Ethernet adapter Local Area Connection 2:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 3Com 3CRWE737A AirConnect

DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.200.201
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.2.1
DNS Servers . . . . . . . . . . . : 192.168.2.1
NetBIOS over Tcpip. . . . . . . . : Disabled

(NIC in laptop) Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : WorkGroup
Description . . . . . . . . . . . : Intel(R) PRO/100+ MiniPCI
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.2.30
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.2.1
DHCP Server . . . . . . . . . . . : 192.168.2.1
DNS Servers . . . . . . . . . . . : 192.168.2.1

WL100 is Adhoc, ch 1
IP 192.168.200.200, subnet the same as laptop, Gateway & DNS 192.168.2.1.

Windows 2000 Pro.

Any suggestions?

UI018397
04-16-2003, 06:39 PM
Did you turn on Internet Sharing on Win2K ??

n2ifp
04-16-2003, 06:55 PM
Why not add a WAP(wireless access point) to the router? Then you can make both laptop and Clie wireless when you want it. Additionally you would still have internet access with the Clie and not have the laptop on, besides it'll be faster too.

You can configure the laptop for both wire/wireless too :)!

bcw
04-16-2003, 07:06 PM
Originally posted by UI018397
Did you turn on Internet Sharing on Win2K ??

I assume you mean what's labeled "Internet Connection Sharing" on my system. I access one of the network adapter's Properties dialogs, choose the tab labeled "Sharing" and find this option.

Yes, I tried this, I didn't know which adapter to set it for, so I've tried them both. The effect is to force the adapter to IP 192.168.0.1 (and there's a dialog warning you that's what it will do).
On the NIC attached to the router, this has the effect of killing the Internet connection, as DHCP has already assigned a different IP to this NIC from the router.
If this needs to be set some way, please tell me how. Which network adapter should be set to this? How do I make it work?

Thanks,
Bret

bcw
04-16-2003, 07:13 PM
Originally posted by n2ifp
Why not add a WAP(wireless access point) to the router? Then you can make both laptop and Clie wireless when you want it. Additionally you would still have internet access with the Clie and not have the laptop on, besides it'll be faster too.

You can configure the laptop for both wire/wireless too :)!

Because I don't have a job, and I don't have a lot of money, but I got this WL100 card at Best Buy, and it's gonna be cheap once I get the rebate, and I have this WiFi card cheap too...;)

Also, I might learn something figuring this out, as would others who read this thread if in fact I find a solution. Learning something new is one of the few things I can do to improve my position in this job market.

Nice idea, though. I'd like to have an access point.

Cheers,
Bret

UI018397
04-16-2003, 07:35 PM
It was a long time I've done this.
There are plenty of web sites out there teaching ppl how to set up ICS.
I think you set it for the PCMCIA card.
You might need to enable DHCP on the PCMCIA card too so that it will get the 192.168.0.1 address.
On your CLIE, you will need to enable DHCP so that it can pick up 192.168.0.2 (or something) assigned by your PC.
Good Luck !

n2ifp
04-16-2003, 08:44 PM
The DNS and Gateway IP's look all wrong to me. What IP do you use to see the router from your web page? Some of the DNS should be from your ISP's DNS.

I have all Linksys stuff, I am not saying it's better or anything like that, only that's what I am familiar with.


ICS might be needed to tie every thing together.

Start with your Clie set to auto IP and DNS. Leave PowerSaveMode unchecked. Disable WEP and any MAC filtering for now until you get it working.

Make sure SSID's match and that they are case sensitive.

I am sorry to hear your unemployed, hopefully that will turn around soon!

bcw
04-16-2003, 10:47 PM
Originally posted by UI018397
It was a long time I've done this.
There are plenty of web sites out there teaching ppl how to set up ICS.
I think you set it for the PCMCIA card.
You might need to enable DHCP on the PCMCIA card too so that it will get the 192.168.0.1 address.
On your CLIE, you will need to enable DHCP so that it can pick up 192.168.0.2 (or something) assigned by your PC.
Good Luck !

Enabling DHCP on the WiFi PC card gets an IP of 0.0.0.0. I'm not knowledgeable about networks, but I suspect this is because there is no DHCP server for the card to query - there isn't one running on the laptop so it would have to go through the Intel NIC to the router, and there's no path established for it to do that. Pass-through is not engaged - that's what I'm trying to establish.
If you meant after ICS is working, I'll have to try to figure that out, and try then.

Cheers,
Bret

bcw
04-16-2003, 10:59 PM
Originally posted by n2ifp
The DNS and Gateway IP's look all wrong to me. What IP do you use to see the router from your web page? Some of the DNS should be from your ISP's DNS.

I have all Linksys stuff, I am not saying it's better or anything like that, only that's what I am familiar with.


ICS might be needed to tie every thing together.

Start with your Clie set to auto IP and DNS. Leave PowerSaveMode unchecked. Disable WEP and any MAC filtering for now until you get it working.

Make sure SSID's match and that they are case sensitive.

I am sorry to hear your unemployed, hopefully that will turn around soon!

The Intel NIC goes to the router for it's DHCP and DNS settings. The router deals with the ISP's network.

Do you know anyone who has their Clie set to auto IP using Adhoc? There has to be a DHCP server to query attached to the WiFi node the Clie connects to - in this case the WiFi PC card, so it would have to be running on the laptop. I think.

If I was connecting to a router, then DHCP would work - routers provide DHCP servers.

The WL100 manual has only a cryptic suggestion that "auto" might work in rare circumstance - I can't decode what the little side note says. They say for Adhoc, you generally must specify IP addresses for Clie and node.

Setting my Clie to "auto" connects WiFi, but fails to connect to the network - i.e. I can't hotsync - there's no connection.
Cheers,
Bret

UI018397
04-16-2003, 11:40 PM
Originally posted by bcw


Enabling DHCP on the WiFi PC card gets an IP of 0.0.0.0. I'm not knowledgeable about networks, but I suspect this is because there is no DHCP server for the card to query - there isn't one running on the laptop so it would have to go through the Intel NIC to the router, and there's no path established for it to do that. Pass-through is not engaged - that's what I'm trying to establish.
If you meant after ICS is working, I'll have to try to figure that out, and try then.

Cheers,
Bret

Hm... your PC should start a DHCP server service when you enable ICS.

DHCP request from your WL100 won't go through ICS because ICS is essentially a software router.

bcw
04-17-2003, 01:20 AM
Originally posted by UI018397


Hm... your PC should start a DHCP server service when you enable ICS.

DHCP request from your WL100 won't go through ICS because ICS is essentially a software router.

You are correct. I've been reading and experimenting. I believe I have ICS set on the Intel NIC, so the AirConnect is assigned 192.168.0.1
The Clie is set to:
IP: 192.168.0.2
Mask: 255.255.255.0
Gateway: 192.168.0.1
DNS: 192.168.0.1
Per the instructions I've been reading.

The Clie appears to connect, and it hotsyncs, but NetFront dies with a Network Timeout. It takes a while for the dancing bars to appear in the upper right, then they dance pretty slowly, so that appears consistent with a timeout.

But I don't know why it would be so slow...

Any thoughts?

Cheers,
Bret

n2ifp
04-17-2003, 07:23 AM
Is the IP 192.168.0.1 what you use from your PC's browser to access the router settings? If it is, then that should be your gateway on the Clie. Those dancing bars in NetFront drove me nuts :)!

Connect doesn't mean your connected to the interent. It just means you connected to the LAN. Now it needs te be mapped to the WAN(ISP). Usually it is via the DNS of the ISP in the Clie. You can try just auto DNS only. There is a network log in network preferences that you can look at, once connected.

Additionally are you using the latest WL100 driver that also displays the MAC address now?

UI018397
04-17-2003, 09:22 AM
Originally posted by bcw


You are correct. I've been reading and experimenting. I believe I have ICS set on the Intel NIC, so the AirConnect is assigned 192.168.0.1
The Clie is set to:
IP: 192.168.0.2
Mask: 255.255.255.0
Gateway: 192.168.0.1
DNS: 192.168.0.1
Per the instructions I've been reading.

The Clie appears to connect, and it hotsyncs, but NetFront dies with a Network Timeout. It takes a while for the dancing bars to appear in the upper right, then they dance pretty slowly, so that appears consistent with a timeout.

But I don't know why it would be so slow...

Any thoughts?

Cheers,
Bret

Not too sure if ICS does proxy DNS.
See if you can change your CLIE's DNS
setting to 192.168.2.1 (the same DNS setting on your PC)

Good Luck !!

bcw
04-17-2003, 03:56 PM
Originally posted by n2ifp
Additionally are you using the latest WL100 driver that also displays the MAC address now?

Yes, I am.

I've tried every combination of DNS and DHCP setting suggested. I've read several ISC setup pages on the web, which were in fact very helpful.

The Clie will not connect to the network with DHCP, period.

At this point, I can connect, and hotsync. I cannot "play through" to browse the Internet.

I removed the existing router and put the Cable modem directly into my Intel NIC, and this made no difference.

From the laptop, I can ping the Clie.

I'm going to try to form an ad-hoc network with my Dad's laptop, and see what I learn from that.

Cheers,
Bret

marciton
04-17-2003, 04:46 PM
ok it's works for me !

1°/PC with DSL:

IP-DSL:IPpc DHCP
Gateway-DSL: Gateway DHCP
DNS-DSL NS DHCP

2°/ WI-FI on PC

IP : 192.168.0.1
MAsk : 255.255.0.0

3°/WI-FI on Clie
IP : 192.168.0.5
DNS = DNS DHCP
Gateway : 192.168.0.1

Work with Netfront !!!

bcw
04-17-2003, 10:41 PM
Originally posted by marciton
ok it's works for me !

1°/PC with DSL:

IP-DSL:IPpc DHCP
Gateway-DSL: Gateway DHCP
DNS-DSL NS DHCP

2°/ WI-FI on PC

IP : 192.168.0.1
MAsk : 255.255.0.0

3°/WI-FI on Clie
IP : 192.168.0.5
DNS = DNS DHCP
Gateway : 192.168.0.1

Work with Netfront !!!

Hello,
What operating system & version are you running on your PC? What Internet connection sharing software are you running to bridge between the NICs?

Thanks,
Bret

marciton
04-18-2003, 03:55 AM
XP Pro SP1 and XP Internet connection sharing

redknite
05-08-2003, 01:56 AM
I have a dlink wireless router and wl-100. I have no problem connecting to the interenet or hot syncing. I have everything set to DHCP. If you wanted to make your IP static (why would you though) just remember that it should be a different IP than what you have your computer set to. You have 255 numbers to choose from. Here is what I would set up if I wanted to make a static IP:

IP: 192.168.1.105
Gateway:192.168.1.1
Subnet mask:255.255.255.0
(My PC would have an IP of, say, 192.168.1.100)

Keep the DNS automatic.

Some things to remember:
The first three sets of numbers on your system have to be the same for proper communication (ie 192.168.1) (this could be why BCW couldn't get online) These numbers vary by router manufacturer but you CAN change it. Just remember your changes! I hope everyone knows that the 4th number set has to be between 2 and 255.

In order to hotsync there are some things to remember as well:
Make sure your computer is set to hotsync over the network. Do this by right clicking on the hotsync tray icon and checking network.

On your Clie, under hotsync pref "primaryPC setuP" instead of putting your computer name put 2 exclamation marks (!!) and then make sure the IP is correct.

Now there should be no problem hotsyncing. Good luck and if you have more questions, please feel free to ask!!!!!!!!

Unregistered
05-08-2003, 06:26 AM
Originally posted by redknite
I have a dlink wireless router and wl-100.

Yes, that's right. You have a wireless router.

You aren't using ad-hoc networking. If I was using a wireless router, my setup would be completely different, and probably work fine. That's not what I'm trying to do, because I don't have that equipment.

I have a wired router, an ethernet card in my PC connected to it, and a WiFi card in the PC set to ad-hoc (peer to peer) networking. I have a WL-100 card in my clie, also set to ad-hoc networking.

The network connections work fine, and thus I can sync over the wireless. What doesn't work is the pass-through from the WiFi node on the PC to the ethernet node, and on to the Internet, even though Win2k says it has Internet Connection Sharing enabled. That's the problem.

I've given up on Win2k, and I'm trying to get the setup working in Linux instead now.

Cheers,
Bret

n2ifp
05-08-2003, 09:20 AM
Originally posted by redknite
I have everything set to DHCP. If you wanted to make your IP static (why would you though) just remember that it should be a different IP than what you have your computer set to.


Two reasons:

One is that we don't live in a perfect world and Sony's WL100 driver is very primative. In some setups, static settings is the only thing that works.

In a mixed enviorment with a Ethernet and WLAN, setting the devices to static prevented clashes. The router and WAP stayed with DHCP.

n2ifp
05-08-2003, 09:23 AM
Originally posted by Unregistered


Yes, that's right. You have a wireless router.

You aren't using ad-hoc networking. If I was using a wireless router, my setup would be completely different, and probably work fine. That's not what I'm trying to do, because I don't have that equipment.

I have a wired router, an ethernet card in my PC connected to it, and a WiFi card in the PC set to ad-hoc (peer to peer) networking. I have a WL-100 card in my clie, also set to ad-hoc networking.

The network connections work fine, and thus I can sync over the wireless. What doesn't work is the pass-through from the WiFi node on the PC to the ethernet node, and on to the Internet, even though Win2k says it has Internet Connection Sharing enabled. That's the problem.

I've given up on Win2k, and I'm trying to get the setup working in Linux instead now.

Cheers,
Bret

Did you look at this thread?

http://www.cliesource.com/forums/showthread.php?s=&threadid=4541&perpage=15&pagenumber=1

keeperkeith
05-08-2003, 10:43 AM
bcw,

ok i have a dedicated wireless 1mbit connection on my desktop.
It connects through a HIgh speed USB <-> Serial modem type emulator.

I am sharing this connection over my desktop's NIC and Linksys WiFi USB adapter in Ad-hoc mode.

you are just sharing your internet over one NIC...the WiFi card in AD-Hoc mode. Which makes it a little less complicated. :)

Ok, first u need to make sure the internet on your laptop is workin.

Next u need to get the settings for Ad-Hoc mode working correctly. When i go to configure my Wifi hardware i use these settings (i don't know if they will be the same on your Wifi card)

I left everything as default except these settings:
Network Type: Ad-Hoc
SSID: whatever your SSID is
Channel: i use 6 cuz its a cool number :)
and Encryption: 64bit (u don't need encryption, i just have it for fun....heh)

ok now go into network connections and goto the properties of the NIC that u are getting the internet through.
Under the advanced tab, check all of the boxes under the Internet Connection Sharing. Then hit ok. iT will give u a warning that the network adapter will be be set to 192.168.0.1. ITs just setting your WiFi adapter's ip to that.

Ok thats all u need to do on your PC....might as well restart it so the settings are finalized.

Now on your Clie...
Assuming the wl100 and drivers are installed.....
In Prefs> Network
select Wireless LAN for Service, then click details.
Make a new profile and edit it so that the SSID is the same as the one on your laptop.
If encryption is enabled on your latop, select the same type for WEP. Connect mode must be AD-Hoc. And set the channel to whatever u have it set on your laptop.
Under Advanced....Auto IP address, Auto DNS Address, and uncheck PowerSaveMode.
Also....if u have already tried to manually enter in the IP, subnet mask, and all that stuff....make sure all the fields are blank before u select Auto. I had problems with this.

Now connect! :)

Thats what i did and it works great :)
Now i'm sharing the connection with two NIC though, so i had to bridge the two connections that i wanted to allow internet access to. THen i did the ICS and the rest of the setup.

Hope this Helps :)

Keith