Tag Archives: Solaris

Connecting from a Solaris 10 box via USB to Serial adapter to the console of a switch

How to connect from a Solaris 10 device to the console of a switch via USB adapter:

Step 1: Plug in the USB adapter. In this example, I have a Prolific Technology Inc. USB-Serial Controller plugged into the console port of a Cisco 2900 XL switch.
Step 2: Run dmesg to see if it was recognized, and to find out its device info:


Apr 12 13:42:34 nerdherd-sol usba: [ID 912658 kern.info] USB 1.10 device (usb67b,2303) operating at full speed (USB 1.x) on USB 1.10 root hub: device@6, usbsprl0 at bus address 2
Apr 12 13:42:34 nerdherd-sol usba: [ID 349649 kern.info] Prolific Technology Inc. USB-Serial Controller
Apr 12 13:42:34 nerdherd-sol genunix: [ID 936769 kern.info] usbsprl0 is /pci@0,0/pci108e,534a@2/device@6
Apr 12 13:42:34 nerdherd-sol genunix: [ID 408114 kern.info] /pci@0,0/pci108e,534a@2/device@6 (usbsprl0) online

Step 3: Look for the device number, and remember the path and number, you’ll need it in a second:

[mikes@nerdherd-sol:~] 197 % ls /dev/cua (or /dev/term)
0

Step 4: Edit /etc/remote, and add an entry pointing to the device number above. I copied the ‘hardwire’ line and called my USB adapter ‘softwire’:

-bash-3.00# vi /etc/remote
"/etc/remote" 60 lines, 1969 characters
# The next 17 lines are for the PCMCIA serial/modem cards.
#
## [17+ lines snipped]
hardwire:\
:dv=/dev/term/b:br#9600:el=^C^S^Q^U^D:ie=%$:oe=^D:
softwire:\
:dv=/dev/cua/0:br#9600:el=^C^S^Q^U^D:ie=%$:oe=^D:

Save and exit.
Step 6: Connect using tip (saving /etc/remote was Step 5):

[mikes@nerdherd-sol:~] 199 % tip softwire
connected

C2900XL Boot Loader (C2900-HBOOT-M) Version 11.2(8.2)SA6, MAINTENANCE INTERIM SOFTWARE
Compiled Wed 23-Jun-99 18:03 by boba
starting...

Step 7: Profit! Now I don’t need to keep a Windows machine around just to run putty or hyperterm.
(Note: the ‘connected’ message was from tip, indicating that it was connected to the USB adapter. After that, the console output from the switch is displayed.)

Oracle Releases Oracle Solaris 10 8/11

New Solaris 10!

Oracle Solaris 10 8/11 features include:

  • Advances in the Oracle Solaris ZFS provide customers with new tools that make it possible to standardize on ZFS as a root file system across all their Oracle Solaris 10 systems while delivering industry leading data management with unique built in features like de-duplication, snapshots and cloning.
  • Ability to install a system from an Oracle Solaris ZFS Flash Archive, either on bare metal or with Oracle Solaris Live Upgrade, providing additional options for fast deployments and disaster recovery.
  • Faster reboot for SPARC systems which can reduce system maintenance planned downtime.
  • Significant improvements in Oracle Database 11g startup time and shutdown time for customers using large amounts of IMS (Intimate Shared Memory).

via Oracle Releases Oracle Solaris 10 8/11.

Guest under VMware Server on Win 7 Cannot Network

While running VMware Server 2.0.2-203138 on Windows 7, I experienced the following issue:

  • Installed guests assigned to VMnet0 can not ping or access any hosts aside from other VMware guests.
  • My NIC is a: Realtek RTL8168C(P)/8111C(P) Family PCI-E Gigabit Ethernet NIC (NDIS 6.20)
  • In the NIC properties, the VMware Bridge Protocol is enabled.

Guests could see each other and communicate on VMnet0, but cannot ping the host or anything beyond the host.

In Windows 7’s Network and Sharing center, only NIC is listed under “Internet Access”, and VMnet1 and VMnet8 are listed under “No network access,” but this seems to be normal.

From the Start menu, I opened Manage Virtual Networks, and the Summary page told me VMnet0 was supposed to automatically bridge to some adapter.  Apparently, it wasn’t doing so.

At the Host Virtual Network Mapping tab, I was able to specify that I wanted VMnet0 to use the Realtek NIC.

After clicking Apply/OK and waiting a bit for VMware and the guests to figure out just what in tarnation had just changed, guest networking began working as expected.

Within my Solaris 10 guest, I then created /etc/resolv.conf, added the two Google DNS servers, and copied /etc/nsswitch.dns to /etc/nsswitch.conf:

# touch /etc/resolv.conf
# vi /etc/resolv.conf

Add the text:

search myhouse.net
nameserver 192.168.0.1 # my router
nameserver 8.8.8.8 # google
nameserver 8.8.4.4 # google

And lastly:

# cp nsswitch.dns nsswitch.conf

Done!

Oracle Outlines SPARC, Solaris 11 Plans

I’m looking forward to a new version of OpenSolaris:

Six months after completing the deal for Sun, Oracle officials say Solaris 11 will arrive in 2011, and that SPARC performance will at least double every other year through 2015.

Oracle will release the next version of the Solaris operating system next year, and will double the performance of its SPARC processors every other year.

via Oracle Outlines SPARC, Solaris 11 Plans – IT Infrastructure from eWeek.