ashit kumar nayak writes: > every time when i boot my laptop, for Internet connectivity i need to setup > the network. I am using the following commands. please help me how can i set > the network configuration permanently so that i don't need to configure every > time when i reboot my solaris express build103 for Internet. > > ifconfig -a plumb > ifconfig yukonx0 [u]IP add[/u] netmask 255.255.255.0 > ifconfig yukonx0 up > cp /etc/nsswitch.dns /etc/nsswitch.conf > echo "nameserver [u]dns address[/u]" > /etc/resolv.conf > route add default [u]gateway address[/u] > svcadm restart dns/client
# echo IPaddress/24 > /etc/hostname.yukonx0 # rm -f /etc/dhcp.yukonx0 # svcadm disable nwam # route -p add default gatewayaddress # svcadm enable physical:default The rest of those actions shouldn't have to be repeated at all. -- James Carlson, Solaris Networking <james.d.carl...@sun.com> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code