RN171 EK - Cannot Ping From my PC [Both Kit and PC connected to same Network]
Hi,
I am using RN171 - EK for to integrate WiFi capablities to some of our projects. I am able to use it in AP mode. It creates its own network and my PC can connect to it and data transfer over this network is also working properly.
But I want to be able to access my module [WiFi Kit] over internet. I need to transfer some data from WiFi Module to my PC using internet. But I am not even able to ping my RN171-EK ip address. I have set the static IP address for the Kit.
But I can ping other PCs on available on the same network.
I am using teraterm to configure the kit. I have set the network settings properly and using static ip.[Because when I tried using DHCP for this case, it was not getting Associated. and I was getting DHCP= FAIL, and IP= 0.0.0.0]. Using Static IP address , it gets connected. But I want to transfer data over this network . and the device isn't responding to ping command. So, I think it means its not in the network.
Could someone please assist me in making it work..
This is what teraterm window represents when i Connect to the Network...CTPL_NET_2 . I have set the wlan name and password before it and saved the configuration.
BOLD lines are the commands I entered to join the network and get wlan properties and ip ....Hope this gives some idea as to what could be the issue.
join CTPL_NET_2
Auto-Assoc CTPL_NET_2 chan=1 mode=WEP SCAN OK
Joining CTPL_NET_2 now..
<4.00> Associated!
DCHP Server Init
get wlan
SSID=CTPL_NET_2
Chan=11
ExtAnt=0
Join=7
Auth=MIXED
Mask=0x1fff
Rate=12, 24 Mb
Linkmon-Infra=30
Linkmon-AP=3600
Passphrase=XXXXXXXXXX
TxPower=12
EAP_Id=userid
EAP_User=peap-user
<4.00> get ip
IF=UP
DHCP=SERVER
IP=192.168.1.5:2000
NM=255.255.255.0
GW=192.168.1.5
HOST=0.0.0.0:2000
PROTO=TCP,
MTU=1524
FLAGS=0x7
TCPMODE=0x0
BACKUP=0.0.0.0
<4.00>ping 192.168.1.135
Ping try (len=32) 192.168.1.135
<4.00>
192.168.1.135 is my PCs ip address which is connected to CTPL_NET_2 network. When I try to ping the module from my PC, it syas Destination Host Unreachable.
Command Prompt :
ping 192.168.1.5
Pinging 192.168.1.5 with 32 bytes of data:
Reply from 192.168.1.135: Destination host unreachable.
Reply from 192.168.1.135: Destination host unreachable.
Reply from 192.168.1.135: Destination host unreachable.
Reply from 192.168.1.135: Destination host unreachable.
Ping statistics for 192.168.1.5:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Any help will be deeply appreciated...Thanks in advance...
Ravi
I am using RN171 - EK for to integrate WiFi capablities to some of our projects. I am able to use it in AP mode. It creates its own network and my PC can connect to it and data transfer over this network is also working properly.
But I want to be able to access my module [WiFi Kit] over internet. I need to transfer some data from WiFi Module to my PC using internet. But I am not even able to ping my RN171-EK ip address. I have set the static IP address for the Kit.
But I can ping other PCs on available on the same network.
I am using teraterm to configure the kit. I have set the network settings properly and using static ip.[Because when I tried using DHCP for this case, it was not getting Associated. and I was getting DHCP= FAIL, and IP= 0.0.0.0]. Using Static IP address , it gets connected. But I want to transfer data over this network . and the device isn't responding to ping command. So, I think it means its not in the network.
Could someone please assist me in making it work..
This is what teraterm window represents when i Connect to the Network...CTPL_NET_2 . I have set the wlan name and password before it and saved the configuration.
BOLD lines are the commands I entered to join the network and get wlan properties and ip ....Hope this gives some idea as to what could be the issue.
join CTPL_NET_2
Auto-Assoc CTPL_NET_2 chan=1 mode=WEP SCAN OK
Joining CTPL_NET_2 now..
<4.00> Associated!
DCHP Server Init
get wlan
SSID=CTPL_NET_2
Chan=11
ExtAnt=0
Join=7
Auth=MIXED
Mask=0x1fff
Rate=12, 24 Mb
Linkmon-Infra=30
Linkmon-AP=3600
Passphrase=XXXXXXXXXX
TxPower=12
EAP_Id=userid
EAP_User=peap-user
<4.00> get ip
IF=UP
DHCP=SERVER
IP=192.168.1.5:2000
NM=255.255.255.0
GW=192.168.1.5
HOST=0.0.0.0:2000
PROTO=TCP,
MTU=1524
FLAGS=0x7
TCPMODE=0x0
BACKUP=0.0.0.0
<4.00>ping 192.168.1.135
Ping try (len=32) 192.168.1.135
<4.00>
192.168.1.135 is my PCs ip address which is connected to CTPL_NET_2 network. When I try to ping the module from my PC, it syas Destination Host Unreachable.
Command Prompt :
ping 192.168.1.5
Pinging 192.168.1.5 with 32 bytes of data:
Reply from 192.168.1.135: Destination host unreachable.
Reply from 192.168.1.135: Destination host unreachable.
Reply from 192.168.1.135: Destination host unreachable.
Reply from 192.168.1.135: Destination host unreachable.
Ping statistics for 192.168.1.5:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Any help will be deeply appreciated...Thanks in advance...
Ravi
Comments
If I do that...I dont get any response. It shows this ..:
<4.00>ping 192.168.1.135
Ping try (len=32) 192.168.1.135
< 4.00>
If I try pinging from PC....it says Destination Host Unreachable..
Just guess on this one, no experience with the device in question. Might be part of the problem and not all of it.
With a Windows PC if its IP and default gateway are the same you should still be able to ping it on a LAN. If you're forwarding traffic from the WAN to a LAN IP with an invalid gateway it won't find its way back to the WAN.
I too checked that and I changed that GW = 192.168.1.1, Netmask = 255.255.255.0....But still no response on ping....
If he is trying to ping something on a LAN over a WAN it's not going to work anyway. I didn't see this was over the internet I thought it was all on a LAN. Over the internet you can ping the remote gateway address only, unless you're using some kind of VPN, NAT will not allow you to ping private address space like that.
Is this what you're doing, you have two different LANs connected via the internet? One device on one LAN cannot ping a device on the other LAN?
Connected meaning port forward.
Because I was able to ping other PC on the same network...
With my mobile 3G network, the device was able to connect with DHCP = ON means it easily got the IP dynamically..
But with the Belkin Router Network , it was not able to connect in DHCP = ON mode...I had to assign static IP to connect it to the network [Even then there was problem with ping]...Could the restriction of communication over Port 2000 by th e Router be the reason for not being able to take Dynamic IP from the router..?
If you tell one private network (192.168.1.0/24) computer at 192.168.1.2 to ping another private network it won't work (w/ VPN exception), it has to be the same network, on the same LAN, unless you're using 1:1 NAT.
On the LAN a device looks for the DHCP server, and requests an IP address, so if the router is your DHCP server, no port forwarding is needed for DHCP to work.
If you drew a map of how everything is connected this would be a lot easier for us
I am using a BSNL "Broadband Connection". The modem's network SSID is CTPL_NET. Now the modem is connected to a Belkin Router which creates a network "CTPL_NET_2". The IP address of Router is 192.168.2.1 and I have set the DHCP range is (192.168.2.2/100) . Subnet mask is 255.255.255.0.
Now if I connect my PC to CTPL_NET_2, it gets connected and properly gets the dynamic IP in the mentioned range [192.168.2.20 [current IP].
But the RN171 module shows Associated and stastng DHCP..But never gets the IP from the Router...and therby it does't figure in the DHCP client list in Belkin page either.
What I want to know is how is it that my PC can get the IP address from the Belkin Router ,But my RN171 - EK cannot. I think if it successfully gets the IP address once, it will work properly.
All the PC's can get the IP address and can threby be pinged too.Earlier the settings were different [Router address being 192.168.1.7 and Range 10 to 200]. I have chnaged them to the above mentioned configuration. I have also allowed port forwarding at port 2000 from Router[Even though have a doubt here that what is the significance of this Private IP address in Virtual servers page where I have set the Port forwarding.]. I have also attached the screen shots of the Belkin Router Set Up Pages, so you may understand what I have done and guide me accordingly. Thanks..
.
Are you running one wireless network from your router and one from your "modem" (which must be a modem/router/access point/switch)? If so those networks are not going to be connected like a LAN and you're going to need to do some routing and or switch to allow the communication you want. Can you try all of this on one LAN and wireless access point on the same LAN subnet?
I would recommend turning DHCP off on your RN171 and set a Static IP to see what happens. Otherwise when your Modem/Router or RN171 are reset you risk not knowing what the IP address is and will have to go to the DHCP Server to find it. Just easier that way. Also, that may help determine what the issue is.
It was a question to him not a statement, you left out the question mark.
It's all good. Way off topic but I can ping 35 different LAN subnets from my home office lol!
'
I'm sure you have looked at the WiFi encryption settings. I'm just pushing this out for other people looking at your posts for help.
'
A simple example of the IP start stack.
'
192.168. is fixed.
'
yyy. is the work group.
'
xxx is the node address. (0 to 255) Specific Device on the LAN.
'
Example
WiFi router.......192.168.5.1..........Node add. of WiFi Router = 1
PC...................192.168.5.12........Node add. of PC = 12
RN171..............191.168.5.3.........Node add. = 3
'
5. is the work group in this example.
'
You need to be in the work group(yyy) for things to work rite.