Pages: [1]   Go Down
Author Topic: Can not get Ethernet Shield working at all  (Read 448 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have been playing around with the arduino for a long time and have recently ventured into the realm of the Ethernet shield. I have tried using the basic example web client and web server that is included in the Arduino 18 software and i can not get any response from the unit.

When i used the web client, the serial output just indicated:
Connecting...
Disconnected

When I ran the web server example, i was never able to connect to it.

I have tried using the webduino libraries and examples with the same results.

I have even gone as far as purchasing a second ethernet shield.

I am about to give up!

Any suggestions?

This is what i have:
Windows 7 64bit
Netgear WNR3500L router with DD-WRT firmware
Arduino Duemilanove
2x Arduino Ethernet Shields

Logged

Lancashire, UK
Offline Offline
Edison Member
*
Karma: 9
Posts: 1991
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Official Wiznet 5100 shields ?.  There is a cheaper type of shield using the ENC28J60 chip which doesn't work with the standard libraries.

Other than that it could be an IP address/ routing issue.
Logged


0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's definitely the wiznet shield
Logged

Lancashire, UK
Offline Offline
Edison Member
*
Karma: 9
Posts: 1991
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you understand what you're doing with IP addresses and subnets ?
Logged


0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I absolutely do. But here is my router info:

DHCP Range 192.168.1.100 - 192.168.1.150
Gateway 192.168.1.1
Subnet 255.255.255.0

I setup the same gateway in the arduino and subnet and then pick an IP like 192.168.1.30 and i still can not connect. I have no idea why.

Logged

Wigan, UK
Offline Offline
God Member
*****
Karma: 19
Posts: 814
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you got anything else plugged in to the arduino?

Could you post the code you're using?  There may be somethign you haven't spotted in it that fresh eyes might pick up on.

Have you confirmed the ethernet cable you're using is good?
Logged

Lancashire, UK
Offline Offline
Edison Member
*
Karma: 9
Posts: 1991
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You should be able to ping the Wiznet irrespective of the sketch, will it return a ping ?
Logged


Pages: [1]   Go Up
Jump to: