Hi,
I am currently trying to set up a dual boot of Ubuntu and XP, but can't seem to get anywhere with my network (well, I also have severe problems with X windows, so I can't get a GUI up either... but that's another story, for another thread!).
I've spent the past few days finding out the basics of networking, as I really want to crack this problem. I am on a linksys wireless network, and I believe all the computers on it have static IP addresses. The router is 198.168.1.1, and the rest are incremented from there. So I guess they must be static, as I understand that's the range for static IPs. I've asked the network 'administrator', but he's no expert either so wasn't much help. He assigned the IP addresses manually when he set the network up, so I suppose it must be static. However, DHCP is still enabled on the router.
When it boots Ubuntu has been searching for leases using DHCP, and failing. When I discovered what DHCP actually was I thought that this might be the problem: that it was looking for a lease when the network is set up statically. So I did a bit more research (ie: googling) and discovered how to fix a static address. My /etc/network/interfaces is now this -
Code:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.7
gateway 192.168.1.1
netmask 255.255.255.0
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
I had to create /etc/resolv.conf, to which I added my domain name and nameservers. I also added my IP address to /etc/hosts. Still no successs, however. When I do ifconfig I now at least get an IP address listed, but no MAC address. I run Ubuntu through VMware on XP, and have no network problems there - I can even ssh into it from the XP side using PuTTY (though I'm not sure how networking applies to a virtual machine - its IP address is not in the static range, so it must have an active DHCP client). As an experiment today I tried out the Ubuntu live CD, and discovered the same networking problems. So I assigned a static address, but still no luck (I seem to have a MAC address there, though).
My conclusion is that either -
(a)I still haven't configured the network correctly
(b)It's a device problem (I have an Intel 537EP PCI Modem, which is apparently a Winmodem, and a Belkin USB Network Adapter)
(c)It's something more esoteric that I don't understand (ie: something to do with the configuration of the system as a whole, or the kernel. I generally 'don't go there!')
I'm beginning to suspect that it's probably a problem with devices not being detected, since I have the same problem with the live CD. But then again, I don't get any messages to that effect. When I ping the router it just says it can't connect, or something like that (sorry, on XP now so can't remember exactly. Nothing about devices though).
Any suggestions/advice/tips would be very welcome.