Is this the way it is connected?
Pin-Mega Pin-Ethernet shield
4 4
10 10
11 50
12 51
13 52
Reset Reset
IOREF IOREF
AREF AREF
ICSP header ICSP header
You do not need any jumpers for this. You do not need any pin bending.
Disconnect any jumpers you have on the shield.
If you were to jumper them, it must be like this:
Mega - Shield
50 - 12
51 - 11
52 - 13
edit: This will not make a difference on newer ethernet shields. Pins 11-13 on the shield are not connected to anything. All data lines goes through the ICSP connector. The w5100 SS pin is digital 10, and the SD SS is pin 4.
OH! And the important part.
Wireless interface is on 192.168.6.x
192.168.6.91
255.255.255.0
192.168.6.1laptop network settings
192.168.1.40
255.255.0.0
192.168.1.1
The first subnet is also a part of the second if the second subnet has that netmask. Bad routing problem there.