Troubleshoot Internet issues and remote login issues under Solaris

Source: Internet
Author: User

    1. Solve garbled problems

Reference article http://www.jb51.net/os/Solaris/1656.htmlHow to troubleshoot Solaris display garbled

?

Phenomenon:

Using the command: Lang=zh; Export LANG can. or Lang=c;export LANG.

Of course, we can also set it all. Lc_all=zh;export Lc_all.

    1. Telnet

Download software on PC: SECURECRT Software as shown below:

Then establish the connection:

Select SSH protocol

Type the host name and user name

Then, the default setting is until the setting is complete.

When you're done, double-click the hostname, and if everything else is set OK, go directly to the Solaris interface.

There are two things that come up here.

    1. Host and virtual machine network unobstructed, into the next link, in the Solaris system to set the login permissions.
    2. Host and virtual machine is not smooth, this time need to set up their own. Start with the solution from 2 below.
    1. Network scenarios for setting up virtual machines and hosts via bridging

Reference article:

Http://wenku.baidu.com/link?url=_55RWvvBKQDoZjQSo-HQ3TdmLIzX1zkA_g1znCw0IXkwvxbxMiA3KfpyaL-lhv33_ Ia4e75pkw5f8h51k6m7mxum-qqntib-z6pommmty-q&qq-pf-to=pcqq.group

VMware Virtual machine Redhat Linux Networking tutorial

There are generally three types of virtual machine networking: host-only, bridging, and Nat. One of the former cannot access the extranet, but can access the intranet. Bridging access to the extranet requires setting up a DHCP server. Nat connects virtual machines to real systems through network address translation.

    1. First configure the network properties of the VMnet8

      Where the third bit of IP address can be arbitrarily set, the default gateway can not set, DNS can set the cost of machine networking DNS, consistent on the line.

    1. Set up the network configuration for VMware virtual machines

      It is important to note that we cannot mistake the subnet IP in NAT mode with the subnet mask. The end must be 0. Then, turn on NAT settings, where the gateway IP is set, usually ending with 2.

      ?

    2. Set the network adapter to NAT mode in the virtual machine-"settings.

      Here is just one setting, the settings for the IP, gateway need to be done in just the steps. The 2 steps are the most serious.

  1. Enter the Solaris system settings Virtual system IP, subnet mask, default gateway, DNS (domain name resolver), etc.

    Resources

    http://blog.chinaunix.net/uid-25100840-id-271120.htmlSolaris 10 Configure IP address procedures ?

    http://jingyan.baidu.com/article/4dc408489d6ab1c8d846f17b.html Subnet Mask Concept

    In detail, view the network card, start the interface, set the IP, set the gateway, check the IP configuration.

    The above is only a temporary effect, in order to permanently configure, you must write to the file.

    There are several main documents:

    1. Modify the/etc/hosts file

    Configuration as shown

    Where the first one represents the IP address and the second is the name of the file file below.

    2. Configure the network interface file

    Corresponds to the above name

      1. Modify the default gateway

        This needs to correspond to the gateways that have just been set up in the virtual machine

      2. To modify the subnet mask configuration

        Corresponds to the settings in the virtual machine above (subnet IP and subnet mask)

      3. Modify DNS (Domain name resolver)

        Need to be consistent with our DNS addresses in the virtual machine and natively

        (This place is the most deceptive, we just need the above line, do not lily, otherwise you can never connect the network)

        Of course, you also need to configure the nsswitch.conf file, which is the two files die.

        Indicates that the host domain name will be resolved using the Hosts file, and if not resolved, DNS resolves the host domain name.

        ?

        The whole process is as follows: (Edit the above file must be done under VI, save the time by: wq!)

        ?

        When these configurations are complete, we can ping 192.168.132.2来 to confirm that the machine is in-pass. If the host and the virtual machine are ping through, the network is OK.

        ?

        At this point we can open the Web page. The results are as follows:

        So far, we have solved a small problem in the second problem. The following resolves the permissions issue.

    1. How to realize the verification of remote communication through virtual terminal

We only need to set the properties of several files under the Solaris system.

Comment out the console=/dev/console comment in the/etc/default/login file # don't be mistaken.

Change the string in lines 105 and 128 in/etc/ssh/sshd_config

?

and make it effective restart service

Svcadm Restart SSH (Svcadm is a tool for managing services)

?

To complete the Telnet configuration problem

    1. Result validation

Open the connection that you just established, and now double-click. Enter your password and you can log in directly. We can then use this to operate the UNIX system.

Under this interface, we can not use Gedit to open the file, we can only use VI to manipulate all the files.

Troubleshoot Internet issues and remote login issues under Solaris

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.