If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #902
Joined: Sun Jul 15 2007, 08:17PM
Location: North Texas
Posts: 1040
hey ya'll, I've been hard at work on my mini-sub, and I am now testing the remote operation. Problem is, the ability to access the arduino web page is intermittent even when using a direct ethernet patch. So far my only success was on my mom's Macbook, I got it working on my windows laptop a while back but used the macbook because my laptop has issues.
There are two modes of operation:
debugging via a direct ethernet patch cable to the arduino, and normal operation over fiber optic cable using two media converters.
I re-entered my custom settings on the laptop and it's not working now, and the indicator lights for LINK and RX are flashing at a specific rate, and the browser will either say immediately that the web page cannot be found or it will hang for a while and then stop. I am using the InventGeek Ethernet code with the only modifications being relevant IP changes and a few extra subroutines called by changing the URL (as for some reason if I add multiple buttons I can't get it to work)
Any Ideas? I can post more information, but I'm not sure what you'd need, as I figured the IP etc would really not affect the situation.
Registered Member #65
Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
1. Get Wireshark, and log your raw connection 2. Ensure you are getting valid HTTP 1.0 response 3. Check your network adapter properties, and disable IPv6/VPN/UPnP etc. 4. Manually set the static IP address at each end (turns the DHCP off) 5. Disable other network adapters and firewalls while running tests 6. Also make sure the browsers Page Cache is not the issue (Press F5 to refresh page)
Possible situations: * Power stability problems at the controller end causing "resets" (raw log will show multiple repeated DHCP configuration events).
* If the controller supports above HTTP 1.0 than it may be hanging if the secondary connections attempt to load another file at the same time without finishing the original. Raw log will also show if you are running aggressive "link safety" virus scanners. (The number of TCP connections such a small controller can support is likely few.)
Registered Member #902
Joined: Sun Jul 15 2007, 08:17PM
Location: North Texas
Posts: 1040
Carbon_Rod wrote ...
1. Get Wireshark, and log your raw connection 2. Ensure you are getting valid HTTP 1.0 response 3. Check your network adapter properties, and disable IPv6/VPN/UPnP etc. 4. Manually set the static IP address at each end (turns the DHCP off) 5. Disable other network adapters and firewalls while running tests 6. Also make sure the browsers Page Cache is not the issue (Press F5 to refresh page)
Possible situations: * Power stability problems at the controller end causing "resets" (raw log will show multiple repeated DHCP configuration events).
* If the controller supports above HTTP 1.0 than it may be hanging if the secondary connections attempt to load another file at the same time without finishing the original. Raw log will also show if you are running aggressive "link safety" virus scanners. (The number of TCP connections such a small controller can support is likely few.)
* This may end up an easier solution
Cheers,
I'll get Wireshark then, but most everything else youve listed I am doing
I set my adapers manually using IP4 (and I know my computer settings worked because I got it to work, I think that something else is going on to make it intermittent
DHCP is off (Arduino ethernet library does not even support it) the link is sirect, there is no other router and the mac does not have a firewall setup and if it does it isn't affecting things because it would have prevented my original successes
I use the refresh button mostly when trying to reload the paeg
When I do stop the arduino, the hanging page immediately tunrs to "cannot connect to server" message, so I assume the arduino is communicating somehow - I noticed online yesterday before going to bed that some people have had issues with it sending things one byte at a time, but I don't know if anything could suddenly trigger it to do that.
I'll try to log the connection, but my project is running out of time! - it's due in entirety (propulsion, remote control, and buoyancy control) by May 3, though I might be able to get buoyancy made to "proof of concept" by then which would work well enough
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
Might be an issue with link detection and negotiation. Sometimes it doesn't work if you just connect two computers together with a patch cord. Have you tried connecting the Arduino to the laptop via an Ethernet hub, switch or so on?
Registered Member #902
Joined: Sun Jul 15 2007, 08:17PM
Location: North Texas
Posts: 1040
I tried Steve's suggestion to use a hub in between, and while a switch doesn't work an old router with some adjusted IP settings did! - not only does it work, I even got my iPhone controlling it over the router's wifi! - it may just as well become a standard part of my setup!
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.