Show Posts
Pages: 1 ... 166 167 [168] 169 170 ... 361
2506  Community / Website and Forum / Re: Forum Website Down on: March 05, 2013, 07:26:45 am
I got a really weird error message a couple of hours ago. I should have recorded it.
Was it a 503 error with a "Guru Meditation" and a message about "revarnish server"?
2507  Using Arduino / Programming Questions / Re: Ethernet Dhcp on: March 05, 2013, 07:01:33 am
Quote
...and i have no cable connection, it takes a while before he notice that there is no connection to the router/server. how can i reduce that time?
Plug the cable in
or
use a static ip
or
modify the ethernet dhcp library
or
get a W5200 shield
otherwise
it takes a couple minutes to determine there is no dhcp server available.
2508  Using Arduino / Programming Questions / Re: Ethernet Dhcp on: March 04, 2013, 04:32:51 pm
Ethernet.maintain() does nothing but return until the lease is half expired. If the dhcp lease was 2 days, then for the first 24 hours, Ethernet.maintain() returns "no action taken".
2509  Using Arduino / Programming Questions / Re: Ethernet Dhcp on: March 04, 2013, 01:19:55 pm
The w5100 has a tcp/udp stack built-in, but does not have the sensor to detect the the physical state of the device. If the physical device becomes disconnected, the w5100 does not have a way to detect if the cable is disconnected.

You can file a complaint with Wiznet, but I almost guarantee they will say "get a W5200".

2510  Using Arduino / Networking, Protocols, and Devices / Re: Sudden unreliability with my network-enabled Arduino project on: March 04, 2013, 12:46:01 pm
Skinware (humans) is unpredictable. The maid comes in to vacuum, and needs power. The plug available (controlled by a wall switch) was off, so the maid moved the router's cord to the switched plug so she could vacuum.  smiley-sad
2511  Using Arduino / Programming Questions / Re: Data download FTP on: March 04, 2013, 12:26:09 pm
you should try to download file by telnet, so you'll see the request and the response from server (with are the same used by arduino)
This will help you to understand what is doing what in the code.
...and the Arduino sketch code to do this is where?
2512  Using Arduino / Programming Questions / Re: Ethernet Dhcp on: March 04, 2013, 12:06:18 pm
Quote
The network card hardware certainly knows.
That is not true. Only the w5200 knows that. You can unplug the CAT5 cable from a w5100, and it doesn't have a clue!

2513  Using Arduino / Programming Questions / Re: Ethernet Dhcp on: March 04, 2013, 11:51:55 am
Set the dhcp lease to a very very short time. If the network is stable, then you should not have a problem with this. Ask your IT how often the network must be restarted.

2514  Using Arduino / Installation & Troubleshooting / Re: Arduino uno with ethernet hangs? on: March 04, 2013, 11:46:55 am
What do you mean by "very few"? More or less than than 4?
2515  Using Arduino / Programming Questions / Re: Ethernet Dhcp on: March 04, 2013, 11:44:57 am
The Arduino does not need to know the time. The lease is normally issued by length. It doesn't say "the lease expires on 3-5-2013", it says "the lease expires in 2 days".
What does it matter if it is 1 January 1970 or 5 March 2013

If you reboot the Arduino, the dhcp request will be sent and a new ip will be issued if a duplicate was issued to another device in the meantime.
2516  Using Arduino / Programming Questions / Re: Ethernet Dhcp on: March 04, 2013, 11:37:32 am
I know that is not true. The IT at my college (decades ago) would probably ignore you if you approached him with that attitude. He did not ignore me, as I suspect yours will not ignore you if you use the correct approach.
2517  Using Arduino / Programming Questions / Re: Ethernet Dhcp on: March 04, 2013, 11:31:23 am
I'm not saying the IT will change things for you, but he/she may help you get around this. I would if I were the IT there. I help my clients get around tech stuff.

Do not underestimate the IT's skill level until you discuss this with him/her. If your network is up and running, the IT isn't stupid.
2518  Using Arduino / Programming Questions / Re: Ethernet Dhcp on: March 04, 2013, 11:26:01 am
Don't reboot your router every 15 minutes!  smiley
2519  Using Arduino / Programming Questions / Re: Ethernet Dhcp on: March 04, 2013, 11:24:09 am
i can't change something in the router because i don't use this at home but in school
Aren't you lucky?!! I bet the school IT would be thrilled to talk to someone who has any idea what is going on. Ask him/her! You will be surprised.  smiley
2520  Using Arduino / Programming Questions / Re: Ethernet Dhcp on: March 04, 2013, 11:19:16 am
@afremont: You are correct on that point. These devices expect us to be smarter than they are. Sometimes that is not true.

@OP: The Ethernet.maintain() does NOTHING if half the "expires" time has not elapsed. No renew, no sign of any ethernet activity until HALF THE TIME has expired. This is not a guess.
Pages: 1 ... 166 167 [168] 169 170 ... 361