WiFi+Web Server Fail

Discussion to talk about software related topics only.
Post Reply
blahartinger
Posts: 12
Joined: Fri Jan 29, 2010 10:30 pm

WiFi+Web Server Fail

Post by blahartinger »

So, I can't seem to get my wifi module working properly. I am able to connect and get an assigned ip address from a router using the WiFi Infrastructure example. The router has no encryption and i see on its status page that it assigns it an ip and i also see the debug output from the 5270 module that an ip is assigned. I cannot ping any computers on the network or the gateway itself from the MTTY and I cannot ping the board from any computers on the network...wtf is wrong here...

I also noticed that each time i try and make a web request for the wifi modules ip on the network that it seems renews itself in teh ARP cache (but not totally confirmed...) which seems to me like its hitting the module....again wtf... Please help, i'm trying to use this setup for a final engineering project for school...and i would like to graduate this semester lol.

Below is my setup and debug output:
• MOD-DEV-70 LC -Carrier Board
• MOD-5270 –Main Module
• NBWIFIUG-ADPT-200CR – WiFi adapter board
• NBWIFIUG-100CR-module mounted on the adapter board
• NBANT-100CR –WiFi Antenna

Waiting 2sec to start 'A' to abort
Configured IP = 192.168.0.140
Configured Mask = 255.255.255.0
MAC Address= 00:03:f4:04:01:13
WiFi Infrastructure Example Started
Static IP address set to :192.168.0.140


--- ETHERNET RUNTIME IP SETTINGS ---
IP: 192.168.0.140
Mask: 255.255.255.0
Gate: 0.0.0.0
DNS: 0.0.0.0

Attempting to connect to network: [Bryan], WEP: []
Wifi: Warm start detected, resetting RTL8711
Wifi: EEPROM ID->8711
Wifi: Downloading Done
Wifi: BSSID 00:03:F4:04:2C:11
Wifi: Scanning
Wifi: Site detected Bryan
Wifi: Scanning Done
Wifi: Connecting
Wifi: Connection Success
Trying DHCP for Wifi Interface
DHCP assigned the Wifi IP address of :192.168.0.21


--- WIRELESS RUNTIME IP SETTINGS ---
IP: 192.168.0.21
Mask: 255.255.255.0
Gate: 192.168.0.1
DNS: 192.168.0.1

Connected to network with SSID: [Bryan]
--- Main Menu ---
A - Show ARP Cache
C - Show Counters
I - Show WiFi ID
W - Show WiFi networks available [SSID]
X - Attach SSID [WEP key]
P <IP Address> - Ping
*** To set/change the SSID or WEP, use IPSetup
? - Display Menu
Arp Cache:
IP =192.168.0.1 MAC =00:22:ff:ff:ff:ff TimeLeft= 115 Pool= 0 interface = 2
IP =192.168.0.10 MAC =00:c0:ff:ff:ff:ff TimeLeft= 117 Pool= 0 interface = 2
Arp Complete
Arp Cache:
IP =192.168.0.1 MAC =00:22:ff:ff:ff:ff TimeLeft= 113 Pool= 0 interface = 2
IP =192.168.0.10 MAC =00:c0:ff:ff:ff:ff TimeLeft= 114 Pool= 0 interface = 2
Arp Complete
Arp Cache:
IP =192.168.0.1 MAC =00:22:ff:ff:ff:ff TimeLeft= 104 Pool= 0 interface = 2
IP =192.168.0.10 MAC =00:c0:ff:ff:ff:ff TimeLeft= 106 Pool= 0 interface = 2
Arp Complete
Arp Cache:
IP =192.168.0.1 MAC =00:22:ff:ff:ff:ff TimeLeft= 97 Pool= 0 interface = 2
IP =192.168.0.10 MAC =00:c0:ff:ff:ff:ff TimeLeft= 99 Pool= 0 interface = 2
Arp Complete
Arp Cache:
IP =192.168.0.1 MAC =00:22:ff:ff:ff:ff TimeLeft= 97 Pool= 0 interface = 2
IP =192.168.0.10 MAC =00:c0:ff:ff:ff:ff TimeLeft= 99 Pool= 0 interface = 2
Arp Complete
Arp Cache:
IP =192.168.0.1 MAC =00:22:ff:ff:ff:ff TimeLeft= 96 Pool= 0 interface = 2
IP =192.168.0.10 MAC =00:c0:ff:ff:ff:ff TimeLeft= 98 Pool= 0 interface = 2
Arp Complete
Arp Cache:
IP =192.168.0.1 MAC =00:22:ff:ff:ff:ff TimeLeft= 96 Pool= 0 interface = 2
IP =192.168.0.10 MAC =00:c0:ff:ff:ff:ff TimeLeft= 98 Pool= 0 interface = 2
Arp Complete
Arp Cache:
IP =192.168.0.1 MAC =00:22:ff:ff:ff:ff TimeLeft= 95 Pool= 0 interface = 2
IP =192.168.0.10 MAC =00:c0:ff:ff:ff:ff TimeLeft= 97 Pool= 0 interface = 2
Arp Complete
Arp Cache:
IP =192.168.0.1 MAC =00:22:ff:ff:ff:ff TimeLeft= 87 Pool= 0 interface = 2
IP =192.168.0.10 MAC =00:c0:ff:ff:ff:ff TimeLeft= 114 Pool= 0 interface = 2
IP =192.168.0.18 MAC =00:22:fb:b6:4f:d4 TimeLeft= 119 Pool= 0 interface = 2
Arp Complete
Arp Cache:
IP =192.168.0.1 MAC =00:22:ff:ff:ff:ff TimeLeft= 64 Pool= 0 interface = 2
IP =192.168.0.10 MAC =00:c0:ff:ff:ff:ff TimeLeft= 90 Pool= 0 interface = 2
IP =192.168.0.18 MAC =00:22:fb:b6:4f:d4 TimeLeft= 95 Pool= 0 interface = 2
Arp Complete
Arp Cache:
IP =192.168.0.1 MAC =00:22:ff:ff:ff:ff TimeLeft= 63 Pool= 0 interface = 2
IP =192.168.0.10 MAC =00:c0:ff:ff:ff:ff TimeLeft= 90 Pool= 0 interface = 2
IP =192.168.0.18 MAC =00:22:fb:b6:4f:d4 TimeLeft= 95 Pool= 0 interface = 2
Arp Complete
Arp Cache:
IP =192.168.0.1 MAC =00:22:ff:ff:ff:ff TimeLeft= 63 Pool= 0 interface = 2
IP =192.168.0.10 MAC =00:c0:ff:ff:ff:ff TimeLeft= 90 Pool= 0 interface = 2
IP =192.168.0.18 MAC =00:22:fb:b6:4f:d4 TimeLeft= 95 Pool= 0 interface = 2
Arp Complete
Arp Cache:
IP =192.168.0.1 MAC =00:22:ff:ff:ff:ff TimeLeft= 62 Pool= 0 interface = 2
IP =192.168.0.10 MAC =00:c0:ff:ff:ff:ff TimeLeft= 89 Pool= 0 interface = 2
IP =192.168.0.18 MAC =00:22:fb:b6:4f:d4 TimeLeft= 94 Pool= 0 interface = 2
Arp Complete
p 192.168.0.14
Pinging :192.168.0.14
Failed!
Arp Cache:
IP =192.168.0.1 MAC =00:22:ff:ff:ff:ff TimeLeft= 37 Pool= 0 interface = 2
IP =192.168.0.10 MAC =00:c0:ff:ff:ff:ff TimeLeft= 64 Pool= 0 interface = 2
IP =192.168.0.12 MAC =00:25:ff:ff:ff:ff TimeLeft= 115 Pool= 0 interface = 2
IP =192.168.0.14 MAC =00:00:00:00:00:00 TimeLeft= 106 Pool= 536933664 interface
= 0
IP =192.168.0.18 MAC =00:22:fb:b6:4f:d4 TimeLeft= 102 Pool= 0 interface = 2
Arp Complete
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: WiFi+Web Server Fail

Post by rnixon »

If the DHCP works (uses UDP broadcasts), it may be that the router you are using is somehow blocking wifi to ethernet traffic. The ping and web access is directed at a specific IP address as opposed to the broadcast.

One test you could do is with a laptop. If you connect to your router with the laptop using only wifi (be sure to disconnect the ethernet cable), can you ping the laptop from a different PC that has a wired connection to the same router? The goal is to test wired ethernet to wifi connectivity.
blahartinger
Posts: 12
Joined: Fri Jan 29, 2010 10:30 pm

Re: WiFi+Web Server Fail

Post by blahartinger »

no i can't ping it from ethernet to wifi, i can't ping it at all in any configuration.
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: WiFi+Web Server Fail

Post by rnixon »

If you can't ping from the pc to the laptop as you say (ie no netburner devices are involved), then it would most likely have something to do with your router settings. I would contact the support group for you router and describe the exact configuration of

pc <-ethernet-> router <-wifi -> laptop

and ask them what you need to change so you can ping both ways.
blahartinger
Posts: 12
Joined: Fri Jan 29, 2010 10:30 pm

Re: WiFi+Web Server Fail

Post by blahartinger »

What is the model of your router and settings you need to get bi-directional pinging working. Perhaps other people could comment on their configurations. For referance I'm using SMCD3GN modem +gateway combo.
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: WiFi+Web Server Fail

Post by rnixon »

I'm just using a simple linksys/cisco wifi router. Don't know the exact model number. No special setting were required, just used the default configuration.
blahartinger
Posts: 12
Joined: Fri Jan 29, 2010 10:30 pm

Re: WiFi+Web Server Fail

Post by blahartinger »

I just bought a Linksys WRT120N router and the same problems exist. I even tried disabling the SPI firewall on the router and forcing only B/G mode, tried all different channels as well as having WEP encryption and no security. No changes at all.
Post Reply