Help!! ping can't resolve host name when connected with mode

i’m connecting to my isp using an external modem using the following
procedure:

  1. /bin/stty baud = 115200 bits = 8 stopb=1 par=none -hupcl + raw <
    /dev/ser1

  2. /usr/ucb/Socket -p1 somename

  3. using qtalk to communicate with the modem through /dev/ser1

  4. /usr/ucb/pppd defaultroute /dev/ser1

at this point, i can ping 216.239.57.99 which is the ip address for
google.com, but when i do "ping google.com’, it can’t resolve the name!

my /etc/resolv.conf contains the correct dns server ip address, i know this
ip address is correct because when i installed the same modem in Window XP,
the same ip address shows up as the dns server.

Depends on which pppd your are using, but try this.

When start pppd (in your step 4.), start it like this:

/usr/ucb/pppd defaultroute /dev/ser1 require-ns

The “require-ns” option make pppd ask the DNS from your
ISP and set it up for you.

-xtang

Ran Zhang <rzhang@vamcointernational.com> wrote:

i’m connecting to my isp using an external modem using the following
procedure:

  1. /bin/stty baud = 115200 bits = 8 stopb=1 par=none -hupcl + raw
    /dev/ser1

  2. /usr/ucb/Socket -p1 somename

  3. using qtalk to communicate with the modem through /dev/ser1

  4. /usr/ucb/pppd defaultroute /dev/ser1

at this point, i can ping 216.239.57.99 which is the ip address for
google.com, but when i do "ping google.com’, it can’t resolve the name!

my /etc/resolv.conf contains the correct dns server ip address, i know this
ip address is correct because when i installed the same modem in Window XP,
the same ip address shows up as the dns server.

On Thu, 11 Aug 2005 21:08:29 +0400, <xtang@qnx.com> wrote:

Depends on which pppd your are using
Is this for /usr/ucb/pppd v2.3.5 from TCP/IP v5.0 ?



When starting pppd (in your step 4.), start it like this:

/usr/ucb/pppd defaultroute /dev/ser1 require-ns

Tony.

it works!!! thanx alot Xtang!
<xtang@qnx.com> wrote in message news:ddg0md$7br$1@inn.qnx.com

Depends on which pppd your are using, but try this.

When start pppd (in your step 4.), start it like this:

/usr/ucb/pppd defaultroute /dev/ser1 require-ns

The “require-ns” option make pppd ask the DNS from your
ISP and set it up for you.

-xtang

Ran Zhang <> rzhang@vamcointernational.com> > wrote:
i’m connecting to my isp using an external modem using the following
procedure:

  1. /bin/stty baud = 115200 bits = 8 stopb=1 par=none -hupcl + raw
    /dev/ser1

  2. /usr/ucb/Socket -p1 somename

  3. using qtalk to communicate with the modem through /dev/ser1

  4. /usr/ucb/pppd defaultroute /dev/ser1

at this point, i can ping 216.239.57.99 which is the ip address for
google.com, but when i do "ping google.com’, it can’t resolve the name!

my /etc/resolv.conf contains the correct dns server ip address, i know
this
ip address is correct because when i installed the same modem in Window
XP,
the same ip address shows up as the dns server.