[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Modules & name resolution



Hello!

Thanks to John Pearson and Eric G. Miller for their replies.

[modules not loading]
On Tue, 25 Apr 2000 09:32:21 +0930, John Pearson wrote:

>Or, run modconf which will allow you to do the same thing in a
>more GUI way.

Tried it, but it loaded the modules at boot time, and not in
an on-demand fashion. :-(

>After editing files in /etc/modutils always run update-modules,
>so that /etc/conf.modules gets updated.

I'll try reading all the docs on modules.

[routes, name resolution]
On Mon, 24 Apr 2000 18:29:27 -0700, Eric G . Miller wrote:

>> Another question: I used pppconfig to set up my dialup Internet
>> connection. I supplied the IP address of the ISP's name server, which
>> was properly placed in /etc/resolv.conf. nslookup works okay, but
>> nothing else: ping and browsers cannot resolve names. Everything works
>> when IP addresses are given instead of names.
>
>Did you tell pppconfig to use the nameservers in /etc/resolv.conf or to
>use the dynamically assigned ones by your ISP (if it does this).

I set it manually to the value supplied to me by the ISP beforehand.
No dynamic stuff. After dialling up the ISP, I found the address
properly placed in /etc/resolv.conf.

>Also,
>did you tell it to set the default route?  Look under the "Advanced"
>option of pppconfig for some of these items.

If memory serves me well, I let everything have default values.
I checked the default route, and it was in my routing table. Please
see below for an example session of what actually happens:
---
eagle:~# ping lemma.math.bme.hu
ping: unknown host lemma.math.bme.hu
eagle:~# ping 152.66.83.11
PING 152.66.83.11 (152.66.83.11): 56 data bytes
64 bytes from 152.66.83.11: icmp_seq=0 ttl=59 time=2625.3 ms
64 bytes from 152.66.83.11: icmp_seq=1 ttl=59 time=1680.0 ms
64 bytes from 152.66.83.11: icmp_seq=2 ttl=59 time=690.5 ms
64 bytes from 152.66.83.11: icmp_seq=3 ttl=59 time=110.0 ms
--- 152.66.83.11 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 110.0/1276.4/2625.3 ms
eagle:~# less /etc/resolv.conf
nameserver 195.8.32.8
eagle:~# netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
195.8.32.6      *               255.255.255.255 UH        0 0          0 ppp0
default         195.8.32.6      0.0.0.0         UG        0 0          0 ppp0
eagle:~# nslookup
Default Server:  ns.alarmix.net
Address:  195.8.32.8
> lemma.math.bme.hu
Server:  ns.alarmix.net
Address:  195.8.32.8
Non-authoritative answer:
Name:    lemma.math.bme.hu
Address:  152.66.83.11
---

As you can see, /etc/resolv.conf is okay, nslookup works with that
server, but ping (and other apps) don't. The routing table is ok,
the default entry has been inserted and it's right, because
ping reaches lemma when using the IP address, and nslookup
works too.

Editing text files is okay for me. Being an OS/2 user, ifconfig and
nslookup are like good friends of mine. :-)

Any more ideas?

Kofa

Homepage at http://www.math.bme.hu/~kofa - For PGP public key: send mail
with the subject PGP Public Key Request or finger kofa@lemma.math.bme.hu


Reply to: