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 Settings | |
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) |
Default Domain: | (optional) |
Primary DNS: | 10.0.128.1 (optional) |
Secondary DNS: | 8.8.8.8 (optional) |
Client LIST:
ID | Client Name | MAC Address | Assigned IP | Lease Time |
1 | raspberrypi | B8-27-EB-A0-56-1E | 10.0.128.100 | 01:58:14 |
2 | PC-private | 10-9A-DD-BC-8F-D2 | 10.0.128.101 | 01:45:07 |
Wireless Settings | |
SSID: | CMDnetwork-base-station |
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. |
Channel: | 12345678910111213 |
Mode: | 11Mbps (802.11b)54Mbps (802.11g) |
Enable Wireless Router Radio | |
Enable SSID Broadcast | |
Enable Bridges | |
Enable Wireless Security | |
Security Type: | WEP WPA/WPA2WPA-PSK/WPA2-PSK |
Security Option: | AutomaticWPA-PSKWPA2-PSK |
Encryption: | AutomaticTKIPAES |
PSK Passphrase: | doesitreallymatter??? |
(The Passphrase is between 8 and 63 characters long) | |
Group Key Update Period: | 86400(in second, minimum is 30, 0 means no update) |
LAN | |
MAC Address: | 00-23-CD-C7-12-32 |
IP Address: | |
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.
Just for those hackers out there, this is not connect to the internet and does not have ANY information on it.
Thanks for anyone who can solve this issue.