Xbox-netinfo

From XDSL

A standard Xbox stores it's network settings in the first 512kb of the hard disk drive. These settings can be changed via the Microsoft dashboard and are used by Xbox Live games to establish an Internet connection. In order to allow Linux to better inter-operate with standard Xbox games and applications xbox-netinfo was coded to read these network settings and display them on stdout.

Table of contents

Download

See the download section.

Usage

xbox-netinfo [DEVICE]

Description

When run with no arguments xbox-netinfo tries to read the network settings from /dev/hda or /dev/ide/host0/bus0/target0/lun0/disc. It will then display the following infomation:

  • DHCP enabled/disabled
  • IP Address
  • Subnet Mask
  • Default Gateway
  • DNS automatic/manual
  • Primary DNS Server
  • Secondary DNS Server
  • PPPOE enabled/disabled
  • PPPOE username
  • PPPOE password
  • PPPOE service name
  • Hostname
  • MAC Address

You may also specify an alternate device or hard disk image to read this infomation from. For example,

xbox-netinfo hd.img

will try to read the network settings from the file hd.img. An exit status of 0 is used if the data is read correctly. An exit status of 1 is used if the specified file is not a Xbox hard disk drive/image or cannot be read.

Links