Quote:
inet adr:58.108.96.178 Bcast:58.108.96.255 Masque:255.255.255.0
|
58.108.96.178 seems to belong in Sydney, Australia! Is your ISP in Australia?
OK, the connection problem is because your modem lives at 10.1.1.1
But your PC's address is (currently) 58.108.96.178, and the "Broadcast" is 58.108.96.255, so that's on a different network, and you cannot see the modem. (I have no idea how your PC got this address). Because your PC cannot see the modem, it cannot connect to the internet either.
Your PC needs an IP address like 10.1.1.3 and a Broadcast of 10.1.1.255 and a "Masque" of 255.255.255.0.
Fortunately, this should all be very easy to fix.
You have already set up your modem to connect to your ISP (so you have your passwords all OK). So no work to do there.
It is probably easiest to set up your PC with a static LAN address. Backup, then edit your
/etc/network/interfaces file to look like this:
Code:
# This is the file /etc/network/interfaces
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
auto eth0
iface eth0 inet static
address 10.1.1.3
netmask 255.255.255.0
gateway 10.1.1.1
You will need to be root to edit that file so do
cp /etc/network/interfaces /etc/network/interfaces.old
sudo your_favourite_editor /etc/network/interfaces
Make the edits, then save the file. Now restart the network like this:
sudo ifdown eth0
sudo ifup eth0
Now you should be able to look at your modem/router with
http://10.1.1.1 and use the big bad internet. When you reboot, you will automatically be connected to the internet.
If you still have problems, please tell us the name / model number of your modem/router, or (better) give us a link to its user-documentation (usually on the manufacturer's website).
Edit:
Quote:
The modem is also a DHCP server that gives the IP given by the provider.
|
This is why it was not working for you, you need to set the modem so it gives an IP NOT supplied by your ISP's DHCP server, but supplied by the
modem's DHCP server (which should serve up IP's on the 10.1.1.2 -10.1.1.254 range, but you can safely ignore this if you just set your PC up for a static IP.
I cannot help you with windows, but that seems to be working.
End of edit