Thank you all for your recent replies!
I will concentrate on answering and commenting XJNick:s reply in post number 28.
I will make my comments slowly and thorough.
Quote:
Originally posted by XJNick
Hi,
I think we may have found your problem with the output of route . It seems you don't have any default route specified. It is my understanding that the without the default route, the networking apps (like the browser) won't know how to find the internet connection.
To add a default route, do the following in the terminal (I'm going to assume your router/modem's IP address is 192.168.2.0, and your computer's IP address is 192.168.2.1) :
- Bring up the network interface with your computer's typical IP address : ifconfig eth0 up 192.168.2.1 .
- Add a default route to your router/modem's IP address with: route add default gw 192.168.2.0 .
Now when you type route you should see at least 2 lines which look similar to these:
Code:
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.2.0 0.0.0.0 UG 0 0 0 eth0
|
Okey, first, here is the result doing as you suggest. Typing in the Terminal gives this output:
Quote:
[root@localhost thort]# ifconfig eth0 up 192.168.2.1
[root@localhost thort]# route add default gw 192.168.2.0
SIOCADDRT: Network is unreachable
[root@localhost thort]# ifconfig eth0 up 192.168.2.2
[root@localhost thort]# route add default gw 192.168.2.1
[root@localhost thort]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth0
|
The output of
route above is difficult to read.
Here is a picture of the same output in the Terminal. Things would be much easier if it was possible to insert pictures into the posts in this forum.
Okey. As you see the first attempt, using the exact parameters you suggested, resulted in
SIOCADDRT: Network is unreachable
My second attempt with other ip addresses resulted, as you see, in an answer.
Wy did I try with these different ip addresses?
Looking at my network settings in Windows XP tells us that my current computer computer ip address is
192.168.2.2. This address vary over time. I have no permanent ip address. My Internet provider often gives me another ip address after a couple of weeks.
The same XP network settings also tells sus that the "Standard Gateway", "DHCP Server" and "DNS Server" is
192.168.2.1. This, as I understand, my router/modems ip address. This is, as I understand, stable and don't change over time.
You suggested 192.168.2.0, but that resulted in the answer
SIOCADDRT: Network is unreachable
Quote:
Originally posted by XJNick
Try the internet now. Note that all of this is only set until you reboot the computer.
|
After I done the above seen typing in the Terminal I tried connect to Internet in the browser. No response.
I rebooted the hole computer into Mandrake, and tried connect. Still no response in the browser.
Then I did the same typing as above once more in the Terminal, but this time afterward I only logged out of KDE and in again. Still no Internet in the browser.
Quote:
Originally posted by XJNick
As a side-note: if it still doesn't work, try bringing up the network interface without an IP address (let DHCP do it) then try again.
|
I'm sorry, but I don't understand how to
bring up the network interface without an IP address (let DHCP do it)
What is the conclusion of all this?
Have we had some success with the network? Is the output we got after I typed
route in the Terminal to some extent a step in the right direction?
Sigh! This was difficult. But I'm confident I will make it. The help you guys have given me has been of great help. Bit by bit things gets clearer.