Getting Started with Linux 1 (VM virtual machine install openSUSE 11,SECURECRT remote connection)

Source: Internet
Author: User

Linux version:

Opensuse-11.0-gnome-livecd-i386.torrent, (680M): http://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/11.0 /iso/torrent/

Installation is the default, set the size of the hard disk is 8G, memory 1G, network connection Bridge, partition mount is a quick installation of the default, without modification.

After installation, ifconfig view SuSE's IP as 192.168.1.103, while the Physical Machine (notebook) is 192.168.1.100, from which the physical machine can ping through SuSE, while the SuSE side PING-C4 192.168.1.100 cannot ping the physical machine ...

  Workaround: Shut down the physical machine's firewall.

SECURECRT connection SuSE Tip "Not connected" issue

1. No OpenSSH installed (ubuntu not installed )

2, does not start the SSHD service ( can netstat-antp command view )

3, the firewall is not open

Use the netstat command to see that the sshd service is already in the state of the boot, so only the firewall is not open for the sake of

  

How to open a firewall reference: http://blog.csdn.net/aaronychen/article/details/2802199

Open this file:/etc/sysconfig/susefirewall2, the internal part of the file is as follows:

  

Use the command:rcSuSEfirewall2 Restart //Restart the firewall for the configuration to take effect

  

Boot defaults to file interface

Modify the default boot level in the/etc/inittab file

linux-0k5g:~ # cat/etc/inittab##/etc/inittab## Copyright (c) 1996-2002 SuSE Linux AG, Nuernberg, Germany. All rights reserved.## Author:florian La Roche, 1996# * Send feedback to http://www.suse.de/feedback## this is the M Ain configuration file Of/sbin/init, which# is executed by the kernel on startup. It describes what# scripts is used for the different run-levels.## all scripts for runlevel changes is in/etc/init.d/.# # This file could be modified by Suseconfig unless check_inittab# in/etc/sysconfig/suseconfig are set to "no" ## The default runlevel is defined Hereid:5:initdefault:# first script to BES executed, if not booting in emergency (-B) modesi::bootwait:/etc/init.d/boot#/ETC/INIT.D/RC takes CA Re of RunLevel handling## RunLevel 0 is System Halt (does not use this for initdefault!) # runlevel 1 is a single user mode# RunLevel 2 are Local multiuser without remote network (e.g. NFS) # RunLevel 3 is Ful L Multiuser with network# RunLevel 4 are not used# RunLevel 5 are full multiuser with network and xdm# RunLevel 6 is S Ystem reboot (do not use this for initdefault!) #l0:0:WAIT:/ETC/INIT.D/RC 0l1:1:wait:/etc/init.d/rc 1l2:2:wait:/etc/init.d/rc 2L3:3:WAIT:/ETC/INIT.D/RC 3#l4:4: WAIT:/ETC/INIT.D/RC 4L5:5:WAIT:/ETC/INIT.D/RC 5L6:6:WAIT:/ETC/INIT.D/RC 6# What to does in Single-user models:S:wait:/etc /INIT.D/RC s~~:s:respawn:/sbin/sulogin#-to-do-Ctrl-alt-del is Pressedca::ctrlaltdel:/sbin/shutdown-r-T 4 now# Special Keyboard Request (Alt-uparrow) # Look into the kbd-0.90 docs for Thiskb::kbrequest:/bin/echo "keyboard request-E Dit/etc/inittab to let This work. " # What does when power FAILS/RETURNSPF::p owerwait:/etc/init.d/powerfail STARTPN::p owerfailnow:/etc/init.d/powerfail NOW#PN::p owerfail:/etc/init.d/powerfail nowpo::p owerokwait:/etc/init.d/powerfail stop# for ARGO UPSsh:12345:  Powerfail:/sbin/shutdown-h now the POWER was failing# getty-programs for the normal runlevels#<ID>:<runlevels>:<Action>:<Process># the "id" field must is the same as the last# characters of the device (after "TTY"). 1:234 5:respawn:/sbin/mingetty--noclear tty12:2345:respawn:/sbin/mingetty tty23:2345:respawn:/sbin/mingetty tty34:2345: Respawn:/sbin/mingetty tty45:2345:respawn:/sbin/mingetty tty56:2345:respawn:/sbin/mingetty tty6# #S0:12345:respawn :/sbin/agetty-l 9600 ttyS0 vt102#cons:12345:respawn:/sbin/smart_agetty-l 38400 console## note:do not use Tty7 in Runle Vel 3, this virtual line# was occupied by the Programm xdm.## the-the package xdmsc, after installing and# and C Onfiguration should remove the comment character# from the following line: #7:3:respawn:+/etc/init.d/rx tty7# Modem ge tty.# mo:235:respawn:/usr/sbin/mgetty-s 38400 modem# Fax Getty (hylafax) # mo:35:respawn:/usr/lib/fax/faxgetty/dev/ modem# VBox (voice box) getty# i6:35:respawn:/usr/sbin/vboxgetty-d/dev/ttyi6# i7:35:respawn:/usr/sbin/vboxgetty-d/ dev/ttyi7# End Of/etc/inittab 

Change the id:5 in the Red font section to Id:3 Save and restart the computer.

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.