As far as I know, xubuntu is just ubuntu but with the xfce desktop manager instead of unity - it makes it lighter. So, the installation automatically set up networking. By default, it adds the name of the user being set up to the front of what it finds for the computer "description", which usually ends up being a long string. I didn't take the default and instead entered "dwesamba". So, the outputs you wanted are as follows:
I only plan on using this old laptop just for Samba, so perhaps I would be better off with just the server edition?
dwesamba@dwesamba:~$ cat /etc/hosts
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
I did follow a couple of threads in the forum for setting up a static IP address - tried it first via network manager/edit, but all I got was a network that I couldn't do anything with on the net. Pings to a name came back as unable to resolve the name. I had looked at the network information (it's wireless) prior to the editing, so everything go entered the same except for the IP address - I changed it to 10.0.0.250 (I have a printer at 252, and there's another printer - my brother in-laws' - that's wireless also but he installed it when I wasn't home so I don't know what it assigned for IP - I think 10.0.0.50). Btw, my net is showing at 10.x.x.x since the cable box/telephone adapter/net access point has a built-in router (only a few ports) so it grabs the higher IP so I get it's subnet for the wireless.
I tried doing what was in another thread, with instructions from chili555, to set a static IP address in 12.04 (i'm at 12.10) but that also resulted not only in a network that wouldn't work - the system wouldn't boot up all the way - got stuck on waiting for network configuration and then it completely hung. Tried the old power button off, then power back on and let it boot, but with the same result. This was both trying network manager and also by just making changes to /etc/network/interfaces. That last one caused a lock up - perhaps I was supposed to shut-down or remove nm before putting the changes in interfaces.
So, I reinstalled xubuntu 12.10 from scratch again, did the updates again, then let it do the upgrade to 13.04. Things didn't work any better and I couldn't get my network back. So....I reinstalled xubuntu 12.10 again and did the updates. Now I'm just using the default auto-configuration for wlan0 instead of specifying anything so I at least have an internet connection again! But alas - no static IP address!
It's a completely green install right now - I've done nothing with it. If you think I'd be better off just installing the server version just let me know. I was just leary of it because I didn't know what any of the defaults were - like does it automatically enabled http, php, etc., access, when all I want is Samba. If just the server version I won't need to use xubuntu - I just did that since t doesn't use unity and therefore actually runs on this old laptop. And I'm not afraid of the command line. Although.....in the mess I got into I tried going in via root terminal recovery mode only to find the only editor that I knew of that it would run was vi - and I hadn't used vi since 1993 so any knowledge I had on that is gone! I also don't remember how to start the dhclient from the command line but I'm sure I could figure that out. I think I'll go ahead and download the server version and burn a disc so I'm ready in case you think I should just go that way.
EDIT: btw, when I've tried to set a static ip via network manager, in the ipv4 settings I had to change it to manual so I could specify anything. After stopping and restarting networking, it would connect, and it showed the same under information as it did when I used just the whatever it defaults to - the only differences were "manual" instead of "automatic" and the IP address - "10.0.0.250" versus "10.0.0.7" <- what it seems it's always getting assigned anyway.