In order to be able to resolve hostnames, youneed to also add a nameserver to
the config.
In Solaris that's done by adding the ISP's nameserver to a file called:
-bash-3.2$ cat cat /etc/resolv.conf
nameserver <ip-address-of ISP's-nameserver>
-bash-3.2$
You could also use a static one, like google:
Those would be:
http://code.google.com/speed/public-dns/
So, if you place the following two lines into your /etc/resolv.conf file
nameserver 8.8.8.8
nameserver 8.8.4.4
you should then be able to also connect to hosts via their names...
Matthias
You (Rui Silva) wrote:
> Hi!
>
> I used your suggestions and could install the modem.
>
> But I still have a problem: I connect to my ISP but I can't use the Internet.
>
> If I try to ping to a host name (e.g. www.kanguru.pt) it gives me "ping:
> unknown host www.kanguru.pt"
>
> If I try to ping directly to an IP address it works fine.
>
> ------------------------------------------------------
> ruisi...@opensolaris:~$ pppd call evdo
>
> OK
> ATE0V1&F&D2&C1&C2S0=0
> OK
>
> OK
>
> OK
>
> CONNECTSerial connection established.
> Using interface sppp1
> Connect: sppp1 <--> /dev/evdo
> local IP address 93.102.32.17
> remote IP address 192.168.1.2
> primary DNS address 62.169.64.129
> secondary DNS address 62.169.67.171
>
> ---------------------------------------------------------------------
> --
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-discuss mailing list
> [email protected]
>
--
Matthias Pfützner | mailto:pfu...@germany | Die interessantesten
@work: +49 6103 752-394 | @home: +49 6151 75717 | Interaktionen finden im
SunCS, Ampèrestraße 6 | Lichtenbergstraße 73 | Kopf statt, nicht in der
63225 Langen, FRG | 64289 Darmstadt, FRG | Maus. (Brian Eno)
_______________________________________________
opensolaris-discuss mailing list
[email protected]