OpenSolaris - Bringing up Network Interface in single user mode

You are not authorized to post comments.
Tutorial Icon: 
When a Solaris system is in single user mode it is often useful to enable networking support. One instance why this could be useful is if you backup your system to the network and need to perform a restore.

With networking turned on we can mount or connect to network resources to restore files not on the CD-ROM or Tape.

To accomplish this we need to bring the system into single user mode:

boot cdrom -s

Once in single user mode we need to bring up the interface.

*Note: Your interface and IP address info may be different.

ifconfig hme0 plumb

ifconfig hme0 inet 192.168.x.x up

At this point you should be able to ping other network devices on the same subnet. If you need to enable the default gateway you can issue the following:

route add -net 0.0.0.0 192.168.x.x

This enabling you to mount NFS shares or FTP to grab files off the network or on different subnets.