Posted: Sun Dec 12, 2004 2:55 pm Post subject: How to detect xbox?
Hi! I was hacking together a little php script to try to show my xbox's online status on a web page. Nothing fancy, just on or off.
My first thought was to scrape my router's DCHP table to see if it was there or not, but I realized that the DCHP table doesn't remove the xbox when it goes offline. I guess it keeps the xbox in the table until something else requests an IP.
Soooo, since it usually has the same IP all the time anyway, I tried pinging it, but from what I've been reading lately, it doesn't seem like you can ping an un-modded xbox, can you? Are they set up to hide from networks by default or something?
I'm working with a mac running OS X, so I've got access to unix tools, etc. Is there *some* way I can tell whether my xbox is active on my LAN or not?
jmf77 Xbox-HQ Newbie
Joined: Dec 12, 2004 Posts: 2
Posted: Sun Dec 12, 2004 3:41 pm Post subject:
Derp. I think I got it--static IP on the xbox seems to make it pingable, yes?
custom-xmodz Xbox-HQ Freak
Joined: Aug 28, 2004 Posts: 796 Location: Wales, UK
Posted: Sun Dec 12, 2004 4:26 pm Post subject:
Hiya
It would make sense, if the IF is not being released/renewed by the DHCP.
DJH
tcbm Xbox-HQ Member
Xbox Version: Xbox1.3 Modded: X B.I.T
Joined: Sep 16, 2004 Posts: 70 Location: U.K.
Posted: Mon Dec 13, 2004 11:59 pm Post subject:
DHCP will depend on how long your setting the leases for it to stay in the ARP cache.
I think the main problem is that the NIC is basically controlled by the software, just turning your xbox on does not set up the xbox to accept connections, the only way ive found to ping is goto the network setup screen, click on connect and then the NIC is recieving ping requests, if you leave that config menu, the NIC closes again,and the pinging stops.
Had a go with signing in to xbox live as i though i would be able to ping whilst connected to live, actually suprised you cant , seems ICMP packets are blocked. _________________ TCBM
-------------
XBOX 1.3 / XBOX 1.6
300GB WD HD / 400GB WD HD
X B.I.T / Xecuter 3
Ind Bios 5001 / X3 3294
X-DSL / XBMC
|
All times are GMT |Page 1 of 1
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum