분류 전체보기: 185개의 글

[스위치-Switch] CISCO 스위치 포트미러 사용방법

Posted by nkjok
2024. 3. 27. 13:05 네트워크-Router, Switch, Security/스위치-Switch
반응형

포트미러 사용법
monitor session 1 source interface Fa0/2
monitor session 1 destination interface Fa0/5

monitor session 1 source interface Fa0/2  -> 모니터링할 포트
monitor session 1 destination interface Fa0/5  -> 노트북에 출력할 포트
반응형

[리눅스] 칼리리눅스 인터페이스 변경방법 및 한글깨짐 영어로 설정방법

Posted by nkjok
2024. 3. 27. 13:01 OS&기타/Linux
반응형
칼리리눅스
 
1) 인터페이스 변경 방법
1. vi /etc/network/interfaces
auto lo
iface lo inet loopback 아래에 한,두칸 뛰어서 아래내용 입력하면됨
 
auto eth0
iface eth0 inet static
address 100.10.10.170
netmask 255.255.255.0
gateway 100.10.10.1
broadcast 100.10.10.255
 
 
2. service networking restart
네트워크 재시작 하면 됨.
 
추가 업다운 명령어 참고 : # ifdown eth0; ifup eth0
 
 
2) 칼리리눅스 영어 설정방법
한글 깨질때   unset LANG  > LANG=C
반응형

[리눅스] wtmp 용량확보방법

Posted by nkjok
2024. 3. 27. 12:56 OS&기타/Linux
반응형

wtmp 용량확보방법

로그인, 로그아웃, 리부팅 등을 로깅하며 # last 명령으로 확인 가능합니다.

확인 후 비정상 접근 이력 확인 시 접근제어 설정 바랍니다

 

아래 명령으로 용량 확보

# cp /dev/null /var/log/wtmp

 

반응형

[리눅스] mariadb (mysql) 한글 안될 때 해결방법

Posted by nkjok
2024. 3. 27. 12:54 OS&기타/Linux
반응형
--- mariadb (mysql) 한글 안될 때 해결방법 
 1. vi /etc/my.cnf 파일 열어서 아래 내용 최하단에 복붙
[mysqld] 
character-set-server = utf8 
 
[client] 
default-character-set = utf8 
 
[mysql] 
default-character-set = utf8 
 
2. systemctl restart mariadb 
 
 3. mysql 접속해서 status 확인하면 Server, Db, Client, Conn 총 4개가 utf8로 변경되어있음 -----------------------------------------------------------------
반응형

[윈도우-Excel2016] 엑셀2016 문서에서 정렬 단축키 사용방법

Posted by nkjok
2024. 3. 27. 11:26 OS&기타/Excel2016
반응형

엑셀


Alt > H > A > L

좌측정렬 


Alt > H > C > 2

가운데


Alt > H > R

우측

반응형

[윈도우-Windows10] 원격데스크톱 MST 접속기록 삭제하는방법

Posted by nkjok
2024. 3. 27. 11:15 OS&기타/Windows
반응형

MST 기록 삭제하는방법

1)컴퓨터\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Terminal Server Client\Default

- MRU0 ~ 9 까지 삭제


2)컴퓨터\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Terminal Server Client\Servers

- 접속했던 IP 삭제


3) 내PC -> 문서 -> Default.rdp 파일 삭제



4) 삭제 이후 시작에서 mst 검색해서 IP목록도 지워줘야함

반응형

[보안장비-Security] Xnsystem Neobox X4b 초기화방법 (Recovery)

Posted by nkjok
2024. 3. 27. 11:13 네트워크-Router, Switch, Security/보안장비-Security
반응형

XN VPN 초기화 방법

setup factory_default clean

reboot now really

ID/PW 입력

반응형

[스위치-Switch] CISCO C2950 스위치 초기화방법 (Recovery)

Posted by nkjok
2024. 3. 22. 10:19 네트워크-Router, Switch, Security/스위치-Switch
반응형

초기화 방법(요약)
1) MODE + 전원 ON 
2) switch: flash_init 
3) switch: rename flash:/config.text flash:/tempconfig.text 
4) switch: boot

- 설명추가
1) 장비 하드웨어의 MODE 누르고 있는 상태로 전원 ON 
2) switch: 프롬프트가 출력되면 MODE에 있는 손을 제거하고 flash_init 입력
3) switch: rename flash:/config.text flash:/tempconfig.text 
4) switch: boot 입력하면 재부팅 후 초기화 된 스위치를 확인할 수 있다



------------아래는 참고용 실제 작업 로그 
switch: d fl  flash_init

Initializing Flash...

flashfs[0]: 20 files, 2 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 7741440

flashfs[0]: Bytes used: 4874752

flashfs[0]: Bytes available: 2866688

flashfs[0]: flashfs fsck took 7 seconds.

...done initializing flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Parameter Block Filesystem (pb:) installed, fsid: 4

switch: rename flash:/config.tes xt flash:/router

switch: 

switch: 

switch: 

switch: dir


List of filesystems currently registered:


               flash[0]: (read-write)

              xmodem[1]: (read-only)

                null[2]: (read-write)

                  bs[3]: (read-only)


switch: boot

Loading "flash:/c2950-i6q4l2-mz.121-13.EA1.bin"...#################################################################################################################################################################################################################################################################################################################################


File "flash:/c2950-i6q4l2-mz.121-13.EA1.bin" uncompressed and installed, entry point: 0x80010000

executing...


              Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706



Cisco Internetwork Operating System Software 
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(13)EA1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2003 by cisco Systems, Inc.
Compiled Tue 04-Mar-03 02:14 by yenanh
Image text-base: 0x80010000, data-base: 0x805A8000


Initializing flashfs...
flashfs[1]: 20 files, 2 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 7741440
flashfs[1]: Bytes used: 4874752
flashfs[1]: Bytes available: 2866688
flashfs[1]: flashfs fsck took 7 seconds.
flashfs[1]: Initialization complete.
Done initializing flashfs.
POST: System Board Test : Passed
POST: Ethernet Controller Test : Passed
ASIC Initialization Passed

POST: FRONT-END LOOPBACK TEST : Passed
cisco WS-C2950-24 (RC32300) processor (revision J0) with 20839K bytes of memory.
Processor board ID FOC0728W0RM
Last reset from system-reset
Running Standard Image
24 FastEthernet/IEEE 802.3 interface(s)

32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:0D:65:52:C1:00
Motherboard assembly number: 73-5781-11
Power supply part number: 34-0965-01
Motherboard serial number: FOC07271RLK
Power supply serial number: DAB072780FR
Model revision number: J0
Motherboard revision number: A0
Model number: WS-C2950-24
System serial number: FOC0728W0RM


         --- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: 
00:00:14: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
00:00:17: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software 
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(13)EA1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2003 by cisco Systems, Inc.
Compiled Tue 04-Mar-03 02:14 by yenanh
00:00:21: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to up
00:00:22: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up
00:00:53: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]: 
% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]: n



Press RETURN to get started!


Switch>
Switch>
Switch>
Switch>
Switch>
Switch>en
Switch#

반응형