Linux/Ubuntu2025. 2. 26. 22:56

ubuntu 24.04 에서 gateway아 dns가 설정되지 않으면

연결 확인에서 "연결됨"으로 넘어가지 못하고 계속 "연결 중"으로 남아있는데

그 때 연결 상태를 확인하기 위해 무언가를 40 초 근처의 간격으로 시도하는지

잠깐 끊어지는 현상이 발생한다.

 

아래는 ip와 subnet만 설정한 상태인데 "연결 중"으로 뜬다.

 

아무생각 없이 게이트웨이나 네임서버를 넣어주었더니 금세 연결됨으로 바뀐다.

enp1s0f0 "연결됨" 야이.. -_-

 

그래서 enp1s0f1 에는 dns 대신 gateway를 넣어주니

 

"연결됨"  야이 -_-

----

22.04 에서 해보니

게이트웨이가 없어도 연결됨으로 뜬다.

 

하나는 게이트웨이 다른 하나는 dns를 했어야 했나?

 

아무튼 일주일 간의 개고생은 의외로 단순하게(?)

ubuntu 24.04 로 올라가면서(?) 네트워크 연결 상태 확인이 달라져서 그런걸로.

그리고 게이트웨이를 넣어주는걸로 해결 -_-

Posted by 구차니
Linux2025. 2. 4. 09:07

리눅스용 파일 파쇄 유틸리티

[링크 : https://linux.die.net/man/1/scrub]

'Linux' 카테고리의 다른 글

Block SCSI generic (bsg) driver  (0) 2024.04.16
lsusb -v 로 본 장치(HID MT, mouse)  (0) 2024.03.08
systemd 지연된 시작  (0) 2024.02.29
btrfs fsck  (0) 2024.02.13
리눅스 파일 시스템 캐싱  (0) 2024.01.09
Posted by 구차니
Linux/centos2024. 12. 23. 15:06

간단하게 설치 iso 받아서

마운트 하고 패키지 경로를 설정해주면 되는 듯.

# vi /etc/yum.repos.d/local.repo[local]
name=CentOS-7.9-Basic
baseurl=file:///root/repo
enabled=1
gpgcheck=0

[링크 : https://lilo.tistory.com/26]

[링크 : ]https://boring-notes.tistory.com/entry/CentOS-local-YUM-Repository-만들기]

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

centos8 init level 3로 부팅시키기  (0) 2020.12.14
centos8 virbr0?  (0) 2020.12.14
centos 8.3-2011 용량이 많이 늘었나?  (0) 2020.12.14
centos stream?  (0) 2020.12.10
centos 8.2 네트워크 설정  (0) 2020.12.02
Posted by 구차니
Linux/Ubuntu2024. 11. 25. 11:48

ubuntu 22.04에서

pdf를 보다 검색 창에 우클릭하면

"대소문자 구별"과 "전체 단어 일치"가 나타난다.

이 정도는... 별도 메뉴로 보여달라고.. -_-

 

[링크 : https://askubuntu.com/questions/920545/where-are-the-case-sensitive-and-whole-words-search-options-in-evince-document-v]

 

+

gedit 에서도 해보니 검색창에 우클릭시 대소문자 / 전체 / 정규식 등의 옵션이 존재한다.

Posted by 구차니
Linux/Ubuntu2024. 9. 6. 11:26

dpkg -l로 패키지 목록을 확인하고

-r로 삭제하면 되는 듯.

 

$ sudo dpkg -r st-stm32cubeide-<version>

[링크 : https://community.st.com/t5/stm32cubeide-mcus/how-do-i-properly-uninstall-a-previous-cubeide-version-in-linux/td-p/217927]

Posted by 구차니
Linux/Ubuntu2024. 8. 18. 16:19

어찌어찌 겨우겨우 설치 성공

rufus 에서 GPT 파티션으로 설치하게 한다음

부트 옵션에서 EFI 로 선택해 /boot/efi/ubunut.efi 였나/ 그걸 선택해서 겨우 설치완료

elitebook 2760p의 UEFI 지원이 미흡해서 그런진 모르겠지만

22.10 이후 부터 UEFI로 강제되면서 설치가 좀 어려워진 감이 있나 보다.. 정도로 요약

[링크 : https://askubuntu.com/questions/1406886/does-ubuntu-22-04-require-a-uefi-instead-of-a-bios]

Posted by 구차니
Linux/Ubuntu2024. 8. 17. 22:38

22.04 사용중이고

24.04가 나온지 오래되었는데 왜 do-relase-upgrade를 하면 없다고 나올까?

-d 옵션은 개발 릴리즈인데 왜 이걸로 해야 24.04가 나올까?

  -d, --devel-release   지원되는 최신 릴리스를 사용하는 경우, 개발 릴리스로 업그레이드하십시오

 

do-release-upgrade -c
새 우분투 배포판 확인
사용 가능한 LTS의 개발 버전이 없습니다.
최신 non-LTS 개발 릴리스로 업그레이드 하려면 
/etc/update-manager/release-upgrades 에서 Prompt=normal 을 설정합니다.

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
minimonk@mini2760p:~$ 

cat /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting and upgrade behavior, valid options:
#
#  never  - Never check for, or allow upgrading to, a new release.
#  normal - Check to see if a new release is available.  If more than one new
#           release is found, the release upgrader will attempt to upgrade to
#           the supported release that immediately succeeds the
#           currently-running release.
#  lts    - Check to see if a new LTS release is available.  The upgrader
#           will attempt to upgrade to the first LTS release available after
#           the currently-running one.  Note that if this option is used and
#           the currently-running release is not itself an LTS release the
#           upgrader will assume prompt was meant to be normal.
Prompt=lts

$ do-release-upgrade -d
새 우분투 배포판 확인

= Welcome to Ubuntu 24.04 LTS 'Noble Numbat' =

The Ubuntu team is proud to announce Ubuntu 24.04 LTS 'Noble Numbat'.

To see what's new in this release, visit:
  https://wiki.ubuntu.com/NobleNumbat/ReleaseNotes

Ubuntu is a Linux distribution for your desktop or server, with a fast
and easy install, regular releases, a tight selection of excellent
applications installed by default, and almost any other software you
can imagine available through the network.

We hope you enjoy Ubuntu.

== Feedback and Helping ==

If you would like to help shape Ubuntu, take a look at the list of
ways you can participate at

  http://www.ubuntu.com/community/participate/

Your comments, bug reports, patches and suggestions will help ensure
that our next release is the best release of Ubuntu ever.  If you feel
that you have found a bug please read:

  http://help.ubuntu.com/community/ReportingBugs

Then report bugs using apport in Ubuntu.  For example:

  ubuntu-bug linux

will open a bug report in Launchpad regarding the linux package.

If you have a question, or if you think you may have found a bug but
aren't sure, first try asking on the #ubuntu or #ubuntu-bugs IRC
channels on Libera.Chat, on the Ubuntu Users mailing list, or on the
Ubuntu forums:

  http://help.ubuntu.com/community/InternetRelayChat
  http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
  http://www.ubuntuforums.org/


== More Information ==

You can find out more about Ubuntu on our website, IRC channel and wiki.
If you're new to Ubuntu, please visit:

  http://www.ubuntu.com/


To sign up for future Ubuntu announcements, please subscribe to Ubuntu's
very low volume announcement list at:

  http://lists.ubuntu.com/mailman/listinfo/ubuntu-announce


계속 [yN]

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

dpkg로 설치한 패키지 삭제하기  (0) 2024.09.06
24.04 설치 성공  (0) 2024.08.18
/dev/tty에서 한글 출력하기 fbterm  (0) 2024.08.16
gpm - general purpose mouse  (0) 2024.08.16
ubuntu wake up  (0) 2024.08.12
Posted by 구차니
Linux/Ubuntu2024. 8. 16. 17:40

zhcon 이라는걸 발견했는데 한글 출력은 안된다.

[링크 : https://manpages.ubuntu.com/manpages/trusty/man1/zhcon.1.html]

 

luit를 사용하면 iso 2022를 지원한다는데 iso 8859-1을 넣어도 안되고.. 멀까..

$ luit -encoding gbk cat a_chinese_file.txt

[링크 : https://unix.stackexchange.com/questions/149348/]

 

fbterm 이라는 별도의 프로그램을 이용하면 콘솔에서도 한글을 볼 수 있다(입력은... ㅠㅠ)

[링크 : https://askubuntu.com/questions/193391/how-do-i-display-chinese-japanese-characters-in-a-linux-vt-console]

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

24.04 설치 성공  (0) 2024.08.18
우분투.. 버전 업그레이드 버근가?  (0) 2024.08.17
gpm - general purpose mouse  (0) 2024.08.16
ubuntu wake up  (0) 2024.08.12
우분투 swraid로 설치하기  (0) 2024.07.31
Posted by 구차니
Linux/Ubuntu2024. 8. 16. 17:22

ctrl-alt-(f2~f6) 로 /dev/tty로 접속했을때

마우스가 되지 않아 불편했는데 gpm 을 설치하면 커서가 생긴다고 해서 시도

드래그 하면 복사되고 우클릭하면 붙여 넣기가 된다.

 

 이걸 이용하면 터미널 간 명령어 복사도 가능해서 조금은 편해질 듯

 

[링크 : https://www.linux.org/threads/mouse-in-tty.18319/]

[링크 : https://wiki.archlinux.org/title/General_purpose_mouse]

[링크 : https://manpages.ubuntu.com/manpages/trusty/man8/gpm.8.html]

Posted by 구차니
Linux/Ubuntu2024. 8. 12. 11:28

ethtool로 unicast wakeup 하도록 설정해주고

$ sudo ethtool -s enp3s0 wol u


$ sudo ethtool enp3s0 | grep -i wake
Supports Wake-on: pumbg
Wake-on: u

2024.08.07 - [하드웨어/Network 장비] - ethtool wol mode

 

명령줄로는 아래와 같이 보내주면 절전모드로 전환된다.

$ sudo systemctl suspend

[링크 : https://askubuntu.com/questions/1792/how-can-i-suspend-hibernate-from-command-line]

 

최대절전모드는 아래와 같이 하라는데, 막상해보면 설정이 안되어 있다보니 따로 해봐야 할 듯.

$ sudo systemctl hibernate
Failed to hibernate system via logind: Not enough swap space for hibernation

[링크 : https://www.geeksforgeeks.org/how-to-enable-hibernate-in-ubuntu-22-04-lts/]

 

아무튼 ping을 날리거나

ssh 접속 시도, 혹은 접속중이었는데 서버가 sleep으로 갔을 경우 ssh 터미널에 명령을 날리면 다시 살아난다.

 

노트북도 22.04인데

얘도 hibernate 빠진거 보면 ssd 보급으로 인해 굳이 hibernate를 켜서 공간 잡아 먹을 이유가 없다고 생각한걸려나?

Posted by 구차니