I have been trying to get this to work for days but have been unsuccessful.
I posted here: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=27&t=10071&p=230854#p230854 but got no responce (which I expected).
Most of my details are on there (from last night)
I started with a fresh image today and still no luck.
What I am trying to do is, using the python command: "socket.gethostbyaddr('10.0.128.2')"
... Check what Raspberry Pi I have connected to and then use this information to decide what to do next.
Currently, I have been able to 'hit' every computer on my network with this command except for the raspberry pi. This is very frustrating. All the websites that I have read seem to say that it should just work. I know someone who has a raspberry pi and this seems to work for him.
I have set-up a dummy network (which is used above) to attempt to get everything to work. So far I have had no luck pinging the hostname 'raspberrypi' or 'CMDoverwatch'.
What is really confusing is that the router has the CORRECT hostname but the computers on the network can't use it.
I need some help to find out why and then fix it.
Below are some of the router setting details:
|DHCP Server:||Disable Enable|
|Start IP Address:||10.0.128.100|
|End IP Address:||10.0.128.199|
|Address Lease Time:||120 minutes (1~2880 minutes, the default value is 120)|
|Default Gateway:||10.0.128.1 (optional)|
|Primary DNS:||10.0.128.1 (optional)|
|Secondary DNS:||22.214.171.124 (optional)|
|ID||Client Name||MAC Address||Assigned IP||Lease Time|
|Region:||AlbaniaAlgeriaArgentinaArmeniaAustraliaAustriaAzerbaijanBahrainBelarusBelgiumBelizeBolviaBrazilBrunei DarussalamBulgariaCanadaChileChinaColombiaCosta RicaCroatiaCyprusCzech RepublicDenmarkDominican RepublicEcuadorEgyptEl SalvadorEstoniaFinlandFranceGeorgiaGermanyGreeceGuatemalaHondurasHong KongHungaryIcelandIndiaIndonesiaIranIrelandIsraelItalyJapanJapan1Japan2Japan3Japan4Japan5Japan6JordanKazakhstanNorth KoreaKorea RepublicKorea Republic2KuwaitLatviaLebanonLiechtensteinLithuaniaLuxembourgMacauMacedoniaMalaysiaMaltaMexicoMonacoMoroccoNetherlandsNew ZealandNorwayOmanPakistanPanamaPeruPhilippinesPolandPortugalPuerto RicoQatarRomaniaRussiaSaudi ArabiaSingaporeSlovak RepublicSloveniaSouth AfricaSpainSwedenSwitzerlandSyriaTaiwanThailandTrinidad & TobagoTunisiaTurkeyUkraineUnited Arab EmiratesUnited KingdomUnited StatesUruguayUzbekistanVenezuelaViet NamYemenZimbabwe|
|Warning:||Ensure you select a correct country to conform local law.|
Incorrect settings may cause interference.
|Mode:||11Mbps (802.11b)54Mbps (802.11g)|
|Enable Wireless Router Radio|
|Enable SSID Broadcast|
|Enable Wireless Security|
|Security Type:||WEP WPA/WPA2WPA-PSK/WPA2-PSK|
|(The Passphrase is between 8 and 63 characters long)|
|Group Key Update Period:||86400(in second, minimum is 30, 0 means no update)|
|Subnet Mask:||255.255.255.0 255.255.0.0|
That should be all the settings that have been enabled or helpful to people trying to help me. All the raspberry pi settings are on the link above.
Thanks for anyone who can solve this issue.