Linux/Ubuntu2024. 7. 8. 17:50

여기저기 난리구만..

 

'Linux > Ubuntu' 카테고리의 다른 글

정체 불명의 우분투 키보드 입력 지연  (0) 2024.06.28
우분투로 공유기 만들기  (2) 2024.02.23
ubuntu pro?  (2) 2024.01.31
debian nvme tool  (0) 2023.08.28
edid-read  (0) 2023.08.17
Posted by 구차니
Linux/Ubuntu2024. 6. 28. 13:27

이어폰 꼽고 음악 들으려다 켜져있는걸 발견 -_-

(회사에서는 컴퓨터 무음으로 해놓고 씀)

 

왜 "화면 읽기" 가 켜져 있는지 모르겠지만

유난히 웹 브라우저에서 키보드가 응답이 느리게 작동했던 것 같은데

아마 일반 어플리케이션에서는 접근성 대응이 덜 되어 있는데 웹 브라우저에서는 잘 되어 있으니

온갖 말을 하다가 더 난리가 났던 듯.

 

그나저나 누르고 있으니 이 어눌한 말은 왜케 웃기냐 ㅋㅋ

카테고리 없음 이렇게 한글 비슷하게 읽어주는것도 있긴한데 

타자를 막 치고 있으면 이어폰으로 온갖 이상한 소리가 ㅋㅋㅋ

 

+

Testing
Test your setup by typing in a Terminal

festival

You will be presented with a > prompt. Type

(SayText "Hello")

The computer should say "hello".

To listen to a text file named FILENAME, type

(tts "FILENAME" nil)

Note FILENAME must be in quote marks.

 

festival 이라는 어플리케이션을 통해서 읽는것 같은데

한글을 넣으면 segmentation fault가 뜨는데

도대체 아까 오른쪽 왼쪽 같은 TTS 음성이 도대체 어떻게 나온걸까?

$ festival

Festival Speech Synthesis System 2.5.0:release December 2017
Copyright (C) University of Edinburgh, 1996-2010. All rights reserved.

clunits: Copyright (C) University of Edinburgh and CMU 1997-2010
clustergen_engine: Copyright (C) Carnegie Mellon University 2005-2017
hts_engine: 
The HMM-Based Speech Synthesis Engine "hts_engine API"
hts_engine API version 1.07 (http://hts-engine.sourceforge.net/)
Copyright (C) The HMM-Based Speech Synthesis Engine "hts_engine API"
Version 1.07 (http://hts-engine.sourceforge.net/)
Copyright (C) 2001-2012 Nagoya Institute of Technology
              2001-2008 Tokyo Institute of Technology
All rights reserved.

All rights reserved.
For details type `(festival_warranty)'
festival> (SayText "an nyung ha se yo")
#<Utterance 0x709fa1a32830>

[링크 : https://help.ubuntu.com/community/TextToSpeech]

'Linux > Ubuntu' 카테고리의 다른 글

ssh 보안 취약점 패치 - 우분투 업데이트  (0) 2024.07.08
우분투로 공유기 만들기  (2) 2024.02.23
ubuntu pro?  (2) 2024.01.31
debian nvme tool  (0) 2023.08.28
edid-read  (0) 2023.08.17
Posted by 구차니
Linux/Ubuntu2024. 2. 23. 19:16

해볼까?

pfsense도 귀찮고..

그냥 필요한건 간단하게 NAT와 포트포워딩, DHCP 정도인데..

 

NAT

iptable masqurade

[링크 : https://ko.linux-console.net/?p=15300]

 

iptable - port forward

[링크 : https://www.google.com/amp/s/tecadmin.net/setting-up-a-port-forwarding-using-iptables-in-linux/%3famp]

 

 

DHCP

dhcpd

[링크 : https://askubuntu.com/questions/913250/how-can-i-get-isc-dhcp-server-dhcpd-to-listen-on-one-interface-only]

 

방화벽

suricata

[링크 : https://www.hostinger.com/tutorials/how-to-install-suricata-on-ubuntu]

 

 

snort

[링크 : https://fni8383.tistory.com/m/35]

'Linux > Ubuntu' 카테고리의 다른 글

ssh 보안 취약점 패치 - 우분투 업데이트  (0) 2024.07.08
정체 불명의 우분투 키보드 입력 지연  (0) 2024.06.28
ubuntu pro?  (2) 2024.01.31
debian nvme tool  (0) 2023.08.28
edid-read  (0) 2023.08.17
Posted by 구차니
Linux/Ubuntu2024. 1. 31. 10:13

오늘 출근했더니 갑자기 업그레이드 뜨면서 ubuntu pro를 활성화 하겠냐는데

라이센스도 모르고 하니 일단은 다음에 알림으로 설정!

 

+

설정 누르니 소프트웨어 & 업데이트에서 Ubuntu Pro가 추가되었는데..

 

Enable Ubuntu Pro 누르니 아래와 같이 먼가 나온다.  가입은 필수인 것 같은데..

 

 

 

홈페이지 뒤져보니 개인은 무료, 기업에서도 30일 무료 라는데

[링크 : https://ubuntu.com/pro]

 

데스크 탑이라도 해도 유료로는 년 금액인 것 같긴한데

머.. 보안업데이트랑 신경써서 해준다니 어떤 의미로는 나빠보이진 않는 듯.

근데 우분투도 장시간 서버로 써보면 업데이트 많아서 불편(?) 한데, 서버를 더 자주 리부팅 하게 되는건 아니겠지?

[링크 : https://ubuntu.com/pricing/pro]

Posted by 구차니
Linux/Ubuntu2023. 8. 28. 12:27

프리징이 조금씩 걸리는 느낌이라 불안해서 상태보는 걸 찾는 중인데..

nvme 라는 다른 유틸리티로 봐야 하는 듯.. smartctl 로는 안되나?

 

$ sudo apt-get install nvme-cli
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료        
다음 새 패키지를 설치할 것입니다:
  nvme-cli
0개 업그레이드, 1개 새로 설치, 0개 제거 및 3개 업그레이드 안 함.
474 k바이트 아카이브를 받아야 합니다.
이 작업 후 1,136 k바이트의 디스크 공간을 더 사용하게 됩니다.
받기:1 http://kr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 nvme-cli amd64 1.16-3ubuntu0.1 [474 kB]
내려받기 474 k바이트, 소요시간 2초 (229 k바이트/초)
Selecting previously unselected package nvme-cli.
(데이터베이스 읽는중 ...현재 255415개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../nvme-cli_1.16-3ubuntu0.1_amd64.deb ...
Unpacking nvme-cli (1.16-3ubuntu0.1) ...
nvme-cli (1.16-3ubuntu0.1) 설정하는 중입니다 ...
Created symlink /etc/systemd/system/default.target.wants/nvmefc-boot-connections.service → /lib/systemd/system/nvmefc-boot-connections.service.
Created symlink /etc/systemd/system/default.target.wants/nvmf-autoconnect.service → /lib/systemd/system/nvmf-autoconnect.service.
nvmf-connect.target is a disabled or a static unit, not starting it.
Processing triggers for man-db (2.10.2-1) ...


$ sudo nvme list
Node                  SN                   Model                                    Namespace Usage                      Format           FW Rev  
--------------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/nvme0n1          S649NL0W000000F      Samsung SSD 980 1TB                      1         229.90  GB /   1.00  TB    512   B +  0 B   3B4QFXO7



$ sudo nvme smart-log /dev/nvme0
Smart Log for NVME device:nvme0 namespace-id:ffffffff
critical_warning : 0
temperature : 41 C (314 Kelvin)
available_spare : 100%
available_spare_threshold : 10%
percentage_used : 0%
endurance group critical warning summary: 0
data_units_read : 483,823
data_units_written : 1,853,867
host_read_commands : 5,443,068
host_write_commands : 31,140,950
controller_busy_time : 94
power_cycles : 48
power_on_hours : 72
unsafe_shutdowns : 9
media_errors : 0
num_err_log_entries : 0
Warning Temperature Time : 0
Critical Composite Temperature Time : 0
Temperature Sensor 1           : 41 C (314 Kelvin)
Temperature Sensor 2           : 40 C (313 Kelvin)
Thermal Management T1 Trans Count : 0
Thermal Management T2 Trans Count : 0
Thermal Management T1 Total Time : 0
Thermal Management T2 Total Time : 0

[링크 : https://linuxhint.com/check-ssd-health-ubuntu/]

[링크 : https://itslinuxfoss.com/test-ssd-hdd-health-in-linux/]

'Linux > Ubuntu' 카테고리의 다른 글

우분투로 공유기 만들기  (2) 2024.02.23
ubuntu pro?  (2) 2024.01.31
edid-read  (0) 2023.08.17
ubutnu file(파일) 에서 삼바 목록 안나오고 부적절한 인수 에러  (0) 2023.07.24
htop graph style  (0) 2023.07.07
Posted by 구차니
Linux/Ubuntu2023. 8. 17. 16:29

리눅스에서 edid를 보는 또 다른 유틸리티. edid-decode 는 순수하게(?) 해석만 한다면

해당 패키지는 get-edid로 모니터로 부터 edid를 수집하고, parse-edid로 해석을 해준다

 

$ sudo get-edid > /tmp/edid
$ parse-edid < /tmp/edid

[링크 : https://unix.stackexchange.com/questions/114359/how-to-get-edid-for-a-single-monitor]

[링크 : https://packages.debian.org/sid/utils/read-edid]

'Linux > Ubuntu' 카테고리의 다른 글

ubuntu pro?  (2) 2024.01.31
debian nvme tool  (0) 2023.08.28
ubutnu file(파일) 에서 삼바 목록 안나오고 부적절한 인수 에러  (0) 2023.07.24
htop graph style  (0) 2023.07.07
mono-complete  (0) 2023.07.05
Posted by 구차니
Linux/Ubuntu2023. 7. 24. 17:37

ubuntu 22.04 인데 smb 서버 쪽이 SMB2 ~ SMB3를 지원하도록 되어있는데도 아래와 같은 에러를 뱉어내며 접근이 안되고

smb://ip/share_name 으로 직접 하면 연결이 되는 기현상 발생.

 

영어로는 아래의 메시지 인 듯.

 “Failed to Retrieve Share List from Server: Invalid Argument”

[링크 : https://www.fosslinux.com/117902/dealing-with-failed-to-retrieve-share-list-error-in-linux-smb-share.htm]

 

아무튼 이래저래 찾아보면서 시도해보니 되는건 아래의 하나.

원인은 서버가 smb1을 지원하지 않아도 gvfsd-smb-browse의 버그로 인해서

smb1을 지원하도록 설정을 해야 인자가 맞아서 돌아가는 것으로 보인다.

Because of a bug in gvfsd-smb-browse the initial contact between client and server is with SMB1.

Edit /etc/samba/smb.conf and right under the workgroup = WORKGROUP line add:

client min protocol = NT1
server min protocol = NT1

[링크 : https://askubuntu.com/questions/1250885/file-sharing-stopped-working-after-20-04-dist-upgrade]

 

테스트 해보니 나의 경우에는

server min protocol = NT1

만 넣어도 되는데 말들이 많으니 두개다 넣는거 추천

'Linux > Ubuntu' 카테고리의 다른 글

debian nvme tool  (0) 2023.08.28
edid-read  (0) 2023.08.17
htop graph style  (0) 2023.07.07
mono-complete  (0) 2023.07.05
ubuntu 22.04 wayland vs x.org on 4K dual  (0) 2023.06.26
Posted by 구차니
Linux/Ubuntu2023. 7. 7. 12:35

htop 이 armbian 에서는 온도도 나오고 좋아 보이길래 어떻게 설정하나 찾아보는데

htop 홈페이지에서 cpu 그래프가.. 신기한게 보여서 빌드도 해보는데 안되서 좌절하다가

[링크 : https://htop.dev/screenshots.html]

[링크 : https://github.com/htop-dev/htop]

 

htop graph 로 검색해보니 먼가 걸려나온다.

Remember you can press space bar to change the meter style. That way you can get the graph display you want.
And by the way, graph display for Load average will not probably work what you expect. It's work-in-progress. Patches are welcome.

[링크 : https://github.com/hishamhm/htop/issues/440]

 

F2(setup) 에서 Meters에 하단에 보니 Space / Style!

아무튼 CPU와 같은 녀석들은 [Bar] 라고 되어있는데 이걸 space 누르면 스타일이 변경된다.

 

 

'Linux > Ubuntu' 카테고리의 다른 글

edid-read  (0) 2023.08.17
ubutnu file(파일) 에서 삼바 목록 안나오고 부적절한 인수 에러  (0) 2023.07.24
mono-complete  (0) 2023.07.05
ubuntu 22.04 wayland vs x.org on 4K dual  (0) 2023.06.26
ubuntu 22.04 GUI/CLI 부팅  (0) 2023.06.18
Posted by 구차니
Linux/Ubuntu2023. 7. 5. 17:58

 

msbuild 쓰라는데

$ xbuild test_proj.sln

>>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<

 

정작 패키지 검색하면 나오는건 xbuild. ubuntu 22.04 에서 mono가 이상한건가?

$ apt-cache search msbuild
mono-xbuild - MSBuild-compatible build system for Mono
libmono-addins-msbuild-cil-dev - MSBuild task library for Mono.Addins
libmono-addins-msbuild0.2-cil - MSBuild task library for Mono.Addins

$ apt-cache search mono-complete
mono-complete - complete Mono runtime, development tools and all libraries

 

[링크 : https://jjeongil.tistory.com/1988]

Posted by 구차니
Linux/Ubuntu2023. 6. 26. 16:24

회사 컴퓨터가 4K dual + FHD 본체 액정으로 쓰는데

일단 케이블의 문제로 인해서 4K 모니터는 전부 30Hz로 사용중인데

화면 찢어짐(tearing)은 확실히 wayland 쪽이 덜하다.

 

X.org로 구동하면 화면이 이쁘게 찢어진다. -_-

 

 

다만 wayland로 하면 barrier 쓸 수가 없고, x.org로 하면 버버버벅.. 우짜냐

'Linux > Ubuntu' 카테고리의 다른 글

htop graph style  (0) 2023.07.07
mono-complete  (0) 2023.07.05
ubuntu 22.04 GUI/CLI 부팅  (0) 2023.06.18
ubuntu dmesg 막혔네?  (0) 2023.06.01
python3를 python으로 실행하기  (0) 2023.02.10
Posted by 구차니