Newb wifi setup issues

Expansion modules and attachments
Post Reply
User avatar
ScottT
Posts: 19
Joined: Fri Sep 14, 2012 1:37 pm
Location: Kinderhook, NY
Contact:

Newb wifi setup issues

Post by ScottT »

I recently purchased a reef angel and figured out how to connect it to the Arduino software and all. However, I can't get the wifi module to work. I tried the graphic wifi utility, but even downloading it was difficult, and then when I do use it, it doesn't look like it does on the 'wifi attachment manual'. It gives me this readout:
CMD
get ip

IF=UP
DHCP=ON
IP=192.168.1.101:0
NM=255.255.255.0
GW=192.168.1.1
HOST=198.171.134.6:80
PROTO=TCP,
MTU=1524
FLAGS=0x6
TCPMODE=0x0
BACKUP=0.0.0.0
<2.32> get w

SSID=Allen Circle
Chan=0
ExtAnt=0
Join=1
Auth=WPA2
Mask=0x1fff
Rate=12, 24 Mb
Linkmon=5
Passphrase= I erased this for the web
<2.32> get u

Baudrate=57600
Flow=0x0
Mode=0x2
Cmd_GPIO=0
<2.32>


I tried using the wifi setup sketch, but it won't ever return me an IP address. I logged into my router (a Linksys WRT54G), and found the IP for: ReefAngelWifi 192.168.1.101 with a mac of: 00:06:66:30:9e:36.
I tried to connect to this while having the wifi plugged into the Reef angel running the WifiTestCode Sketch, but I can never connect to it with my browser using 192.168.1.101:2000. *I made sure i am using the right security/pass

I've spent a good 8 hours trying to get this working on my own, but have been foiled so far. Can anyone help, I'm loosing hope.

Thank you,
Scott
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Newb wifi setup issues

Post by rimai »

I think you chose the wrong port.
IP=192.168.1.101:0
This tells me that you entered 0 as the port.
Make sure you use 2000
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Newb wifi setup issues

Post by rimai »

Ah, just noticed this too.
Also, in your SSID, the space may be messing it up too.
Try replacing the space with a $ sign.
Roberto.
User avatar
ScottT
Posts: 19
Joined: Fri Sep 14, 2012 1:37 pm
Location: Kinderhook, NY
Contact:

Re: Newb wifi setup issues

Post by ScottT »

That you very much for the help.
Does it look like I'm doing this right? I tried these settings, and then plug the wifi module into the reef angel with 'wifitestcode' installed. The wifi module will flash a quick yellow when I hit enter to try and access it's IP. Other than that I just get a slow green blink.
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Newb wifi setup issues

Post by rimai »

Yes, the log seems to be ok now.
It says IP=192.168.1.101:2000, right?
It shows the wifi connected to the network and ready to be used.
All you need to make sure now is that you have a code with wifi enabled.
The wifitestcode should work just fine.
The yellow blink means that the browser is connecting with the module, so you are almost there.
Roberto.
User avatar
ScottT
Posts: 19
Joined: Fri Sep 14, 2012 1:37 pm
Location: Kinderhook, NY
Contact:

Re: Newb wifi setup issues

Post by ScottT »

That is the IP it says, yes.
I'm pretty much stuck at this point. I tried the wifitestcode, and also tried the ReefAngel Wizzard to generate a code with wifi enabled. I get the slow green blink on the wifi attachment (and an orange blink when I try and load http://192.168.1.101:2000 on my web browser), but the web page never loads, and the 'portal' says 'Unreachable Address'. My router shows the wifi-module as being connected, but I don't think the wifi moduel is functioning properly, as it wont send any info to the portal or my web-browser.

Also, as a side note, when I try to use the ReefAngel to setup the wifi attachment, it won't ever display an ip address. When I use the wifi graphic utility, it seems to work correctly though, however I still get no conectivity as described above.

Do you have any tips of things I could try?
805reefer
Posts: 72
Joined: Wed Feb 27, 2013 10:38 pm

Newb wifi setup issues

Post by 805reefer »

Did you do what I told you go here [url=http://www.yougetsignal.com/tools/open-ports/
User avatar
ScottT
Posts: 19
Joined: Fri Sep 14, 2012 1:37 pm
Location: Kinderhook, NY
Contact:

Re: Newb wifi setup issues

Post by ScottT »

oooo, progress! Thank you Roberto and 805reefer! I used the link you listed, and checked to make sure I had the port forwarded correctly. I did not, I fixed that in my router settings, and it showed it open on the website.

The portal is now showing 24.29.xxx.xxx:2000 as my IP, which is also what the website you sent me to says as the IP. But my router and the Wifi Wizzard said it was 192.168.1.101. Odd.

When I type http://24.29.xxx.xxx:2000 into my web browser I still don't get anything, but does that only work when running the 'wifitest' sketch?

The Portal seems to update my Temp & pH, so that is Sweet! But it says 'Unreachable Address'. Is this normal?




Reef Angel wifi address: 24.29.xxx.xxx:2000 (update)
My reefangelid:
ScottT
Connection Status:
Unreachable Address

Last Update:
Sun Mar 17 17:03:52 2013
Displaying data from:
Webbanner database
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Newb wifi setup issues

Post by lnevo »

One will work when your on your wifi and the other will work externally.

Some routers allow the outside address to work internally too. It seems yours isn't. There may be a setting to change...
805reefer
Posts: 72
Joined: Wed Feb 27, 2013 10:38 pm

Re: Newb wifi setup issues

Post by 805reefer »

Ok so go back to that web site where it says In blue under where you put in your ip address it says use current ip address click on that when your ip shows up after you do that change only the port o 2000 check it if that is open use that ip address it gives you in the portal or your phone with using your port as2000
Post Reply