If you have a router then connect it to that and it should automatically assign ip to your xbox, if not goto network settings and select the option which says something like auto dhcp.
Reboot and you should be sorted, then search for your shares on your pc and you should be sorted.