> OS newby here...Can someone point (shove) me in the
> right direction. I can access the DSL modem so I
> think I have the LAN config correctly. But I cannot
> get to the ISP/internet.

Are you using a static ip config?

    svcadm disable svc:/network/physical:nwam
    svcadm enable svc:/network/physical:default

Create /etc/defaultrouter file, with IP address of your
DSL router (e.g. 192.168.0.1):

    echo 192.168.0.1 > /etc/defaultrouter
    route add default 192.168.0.1

Create /etc/resolv.conf file, add DNS server IP address
(e.g. 12.34.56.78) with a "nameserver" line:

    echo "nameserver 12.34.56.78" > /etc/resolv.conf

Test DNS lookups with

    nslookup www.opensolaris.org


Setup hostname lookups via DNS:

    cp /etc/nsswitch.dns /etc/nsswitch.conf 


Test name resolution with getent:

    getent hosts www.sun.com
-- 
This message posted from opensolaris.org

Reply via email to