dhcp fails to pickup with flash from http

Issue #15 resolved
professor_jonny created an issue

i could not get dhcp to work with flashing files from http it would allways go back to the fallback address.

Comments (12)

  1. psyko_chewbacca NA repo owner
    • changed status to open

    More information on your network setup please. Is the issue still occuring with a freshly rebooted router? Have you tried using another router?

  2. professor_jonny reporter

    I have tried 2 different routers as soon as i boot up a retail/hacked bios i get an ip address i have a gigb switch between the router and xbox i dont know if this is an issue.

    ill have to drag the tv to the other end of the house and report back.

  3. psyko_chewbacca NA repo owner

    Could you please make a capture using Wireshark for traffic involving your Xbox MAC address? Capture should start before enabling netFlash in XBlast OS and end when IP is assigned.

    If possible, capture should be made from router or using an unswitched network HUB. Switches and routers usually do not broadcast data to network segments that have no use for it.

    For more information on Capture Setup : http://wiki.wireshark.org/CaptureSetup/Ethernet

    Linux based routers like OpenWrt and DD-WRT will allow remote capture : http://wiki.wireshark.org/CaptureSetup/Pipes

  4. psyko_chewbacca NA repo owner

    Thanks but there is only 2 packets in the capture file you sent. The DHCPDISCOVER request from Xbox to the DHCP server and an ARP query from the Xbox 2 seconds later. A complete DHCP transaction would include at least DHCPOFFER, DHCPREQUEST and DHCPACK packets after the DHCPDISCOVER.

    As for the ARP query, Xbox asks who has 192.168.0.1 which tempts me to say that it was given 192.168.0.1 as it's gateway IP, unless that's the IP of the machine you're trying to connect from. If you do not wish to post it here publicly, you can always send it in a PM on XBMC4Xbox forums. By the way, what is the subnet of your local network? I see the Xbox gets 192.168.0.200 assigned but you say your DHCP server is on 192.168.1.254. I did not check specifically for this but maybe lwip (the IP stack used in Cromwell) doesn't handle subnets bigger than 255.255.255.0.

    Could you please generate another capture which would at least include DHCP and ARP protocol packets? I'll need to have something bigger than a 2 packet capture I'm afraid. :P

  5. professor_jonny reporter

    i will try to capture traffic from the router also when i get home. the address 192.168.0.1 is the fallback gateway on manual, i believe it asks that as the network settings are set to that by default in the settings.

    the mask and other settings are ignored in dhcp arent they ?

  6. psyko_chewbacca NA repo owner

    Changed default values related with BOOTP protocol that was sent with DHCPDISCOVER packet. It seems some DHCP servers are picky with packets that contains data not even related to them. Also dropped UDP TTL from 255 to 64 to make is more realistic and identical to Linux standard TTL.

  7. Log in to comment