On 01/19/2012 06:46 AM, Aido4ever wrote:
>
> lwfinger;2431856 Wrote:
>> On 01/18/2012 07:26 PM, Aido4ever wrote:
>>>
>>> I’ve installed openSuse for the first time and i’ve found out that
>> there
>>> is no internet connection.
>>> There is a connection to the rauter but none to internet.
>>> There is no problems with the WAN configurations on the router…
>> i’ve
>>> 4 OS on this computer including vista and mint and all have valid
>>> connection to the internet accept for openSuse…
>>>
>>> even though i know how to configure network, i’ve found that openSuse
>>> configuration is different from what i know and find it confusing…
>>>
>>> all my tries to establish connection faild… can someone help?
>>
>> Do you have the correct routing tables? (/sbin/route -n)
>>
>> If the above are correct, do you have a proper /etc/resolv.conf?
>
> Hi lwfinger, thanks for your reply.
>
> as i’ve told, i’m new to linux. i don’t know that do you mean by
> “proper /etc/ resolv.conf”? what do i need to check, if that file exist
> or if it’s configuration are valid?
> the same thing is with “/sbin/route -n”… what do i need to do to make
> sure i have a valid one? do i need just to type this CMD? i’ll try it
Yes, but you said you knew how to configure a network, so I gave you the benefit
of the doubt.
When you are given a string that begins with “/sbin/…” or some such path, it
is a command. Open a terminal, and enter that command. For example, on my
system, “/sbin/route -n” results in
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 wlan3
192.168.2.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan3
The interpretation of this is as follows:
Rule 2 indicates that addresses 192.168.2.X (X = 1…255) should go through wlan3
and can be routed directly.
Rule 1 says that any other destination (G flag set) should be routed by
192.168.3.1, which is the address of my router.
With these two rules, the networking system knows how to reach any location.
when you see a path that starts with “/etc”, that is a file. That file tree is
reserved for configuration files. The file “/etc/resolv.conf” (note - no spaces)
is the configuration for DNS, and must contain at least one “nameserver” line.
You can see it on the screen with the command "cat /etc/resolv.conf. The file
will contain a number of comment lines that start with #, which can be ignored.
After that, my copy shows
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 192.168.1.1
As my ISP does not support IPv6 correctly, I have modified the file the use the
Google public servers (8.8.8.8 and 8.8.4.4) first. If neither of them is
available, my system will then fall back to the router connected to my cable
modem, which will have the ISP’s name servers.
Please notice how my computer output is inside code tags. You can get those
using the advanced editor, or place "
" before the text and "
" after.