발이 아프다 ㅠㅠ

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

습하지 않은 더위  (0) 2023.08.06
국립 한글박물관 현장예매  (0) 2023.07.30
휴가 2일차  (0) 2023.07.18
휴가 1일차  (0) 2023.07.17
악당 2호 아빠 새끼 발톱 공격  (0) 2023.07.16
Posted by 구차니
하드웨어/Network 장비2023. 7. 28. 14:40

next USB3.0 GBE를 이용해서 테스트 하는데 최대 속도가 이상하게 낮게 나와서

혹시나 하는 마음에 다른 장치로 바꾸어 해보니 속도가 오른다. 드라이버 문제인가?

 

next 220gu3

Bus 001 Device 043: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter

[  5] 252.01-253.00 sec  42.6 MBytes   358 Mbits/sec                            
[  5] 253.00-254.00 sec  42.5 MBytes   357 Mbits/sec                            
[  5] 254.00-255.01 sec  42.5 MBytes   356 Mbits/sec                            
[  5] 255.01-256.01 sec  42.5 MBytes   356 Mbits/sec                            
[  5] 256.01-257.00 sec  42.4 MBytes   356 Mbits/sec                            
[  5] 257.00-258.01 sec  42.6 MBytes   357 Mbits/sec    

[링크 : https://prod.danawa.com/info/?pcode=3941237]

 

iptime u100plus

Bus 002 Device 032: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet

[  5]   4.00-5.00   sec  92.8 MBytes   779 Mbits/sec                            
[  5]   5.00-6.00   sec  95.0 MBytes   797 Mbits/sec                            
[  5]   6.00-7.00   sec  94.9 MBytes   796 Mbits/sec                            
[  5]   7.00-8.00   sec  95.0 MBytes   797 Mbits/sec   

[링크 : https://prod.danawa.com/info/?pcode=15017636]

 

 

비슷한 사례가 있나 찾아보는데, 오히려 realtek 쪽이 더 좋게 나왔다고

머가 잘못설계된 녀석인가?

[링크 : https://tomcore.io/docs/articles/RaspberryPI/raspberry-pi-4b-usb-network-performance/]

'하드웨어 > Network 장비' 카테고리의 다른 글

ethtool wol mode  (0) 2024.08.07
802.11ah HaLow  (0) 2023.11.27
케이블 규격(S/UTP, SF/UTP)  (0) 2022.06.20
rs485 2선 연결  (0) 2021.12.13
rs232 to rs485 무전원 컨버터 전원공급 방법 RI(ring indicator)  (0) 2021.12.08
Posted by 구차니
프로그램 사용/iperf2023. 7. 28. 11:52

iperf/iperf2/ipef3 간에는 서로 호환성이 없는 듯. 기본 포트도 다르게 잡힌다.

 

크로스 컴파일

/configure --build=i686-linux --host=arm-linux CC={크로스 컴파일러GCC 경로} CXX={크로스 컴파일러G++ 경로}

[링크 : http://forum.falinux.com/zbxe/index.php?document_srl=869098&mid=lecture_tip]

 

대역폭 설정은 초당 얼마나 많은 데이터를 보내냐를 테스트 하는데 쓰이는데

$ iperf3 --help
Usage: iperf3 [-s|-c host] [options]
       iperf3 [-h|--help] [-v|--version]

Server or Client:
  -p, --port      #         server port to listen on/connect to
  -f, --format   [kmgtKMGT] format to report: Kbits, Mbits, Gbits, Tbits
  -i, --interval  #         seconds between periodic throughput reports
  -F, --file name           xmit/recv the specified file
  -A, --affinity n/n,m      set CPU affinity
  -B, --bind      <host>    bind to the interface associated with the address <host>
  -V, --verbose             more detailed output
  -J, --json                output in JSON format
  --logfile f               send output to a log file
  --forceflush              force flushing output at every interval
  --timestamps    <format>  emit a timestamp at the start of each output line
                            (using optional format string as per strftime(3))
  -d, --debug               emit debugging output
  -v, --version             show version information and quit
  -h, --help                show this message and quit
Server specific:
  -s, --server              run in server mode
  -D, --daemon              run the server as a daemon
  -I, --pidfile file        write PID file
  -1, --one-off             handle one client connection then exit
  --server-bitrate-limit #[KMG][/#]   server's total bit rate limit (default 0 = no limit)
                            (optional slash and number of secs interval for averaging
                            total data rate.  Default is 5 seconds)
  --rsa-private-key-path    path to the RSA private key used to decrypt
                            authentication credentials
  --authorized-users-path   path to the configuration file containing user
                            credentials
Client specific:
  -c, --client    <host>    run in client mode, connecting to <host>
  --sctp                    use SCTP rather than TCP
  -X, --xbind <name>        bind SCTP association to links
  --nstreams      #         number of SCTP streams
  -u, --udp                 use UDP rather than TCP
  --connect-timeout #       timeout for control connection setup (ms)
  -b, --bitrate #[KMG][/#]  target bitrate in bits/sec (0 for unlimited)
                            (default 1 Mbit/sec for UDP, unlimited for TCP)
                            (optional slash and packet count for burst mode)
  --pacing-timer #[KMG]     set the timing for pacing, in microseconds (default 1000)
  --fq-rate #[KMG]          enable fair-queuing based socket pacing in
                            bits/sec (Linux only)
  -t, --time      #         time in seconds to transmit for (default 10 secs)
  -n, --bytes     #[KMG]    number of bytes to transmit (instead of -t)
  -k, --blockcount #[KMG]   number of blocks (packets) to transmit (instead of -t or -n)
  -l, --length    #[KMG]    length of buffer to read or write
                            (default 128 KB for TCP, dynamic or 1460 for UDP)
  --cport         <port>    bind to a specific client port (TCP and UDP, default: ephemeral port)
  -P, --parallel  #         number of parallel client streams to run
  -R, --reverse             run in reverse mode (server sends, client receives)
  --bidir                   run in bidirectional mode.
                            Client and server send and receive data.
  -w, --window    #[KMG]    set window size / socket buffer size
  -C, --congestion <algo>   set TCP congestion control algorithm (Linux and FreeBSD only)
  -M, --set-mss   #         set TCP/SCTP maximum segment size (MTU - 40 bytes)
  -N, --no-delay            set TCP/SCTP no delay, disabling Nagle's Algorithm
  -4, --version4            only use IPv4
  -6, --version6            only use IPv6
  -S, --tos N               set the IP type of service, 0-255.
                            The usual prefixes for octal and hex can be used,
                            i.e. 52, 064 and 0x34 all specify the same value.
  --dscp N or --dscp val    set the IP dscp value, either 0-63 or symbolic.
                            Numeric values can be specified in decimal,
                            octal and hex (see --tos above).
  -L, --flowlabel N         set the IPv6 flow label (only supported on Linux)
  -Z, --zerocopy            use a 'zero copy' method of sending data
  -O, --omit N              omit the first n seconds
  -T, --title str           prefix every output line with this string
  --extra-data str          data string to include in client and server JSON
  --get-server-output       get results from server
  --udp-counters-64bit      use 64-bit counters in UDP test packets
  --repeating-payload       use repeating pattern in payload, instead of
                            randomized payload (like in iperf2)
  --username                username for authentication
  --rsa-public-key-path     path to the RSA public key used to encrypt
                            authentication credentials

[KMG] indicates options that support a K/M/G suffix for kilo-, mega-, or giga-

iperf3 homepage at: https://software.es.net/iperf/
Report bugs to:     https://github.com/esnet/iperf

 

'프로그램 사용 > iperf' 카테고리의 다른 글

iperf3 jumbo packet?  (0) 2025.02.15
iperf 파일로 바로바로 떨궈서 tail로 보기  (0) 2025.02.10
iperf udp 테스트  (0) 2022.03.14
iperf로 100M 랜 / IEEE1394 대역폭 측정  (2) 2011.12.07
iperf - 대역폭 측정  (0) 2009.10.22
Posted by 구차니
embeded/DSP C2000 Ti2023. 7. 28. 09:30

실수로 5V 짜리에 24V를 넣어버렸다 -_ㅠ

이제 TMS는 다시는 볼일이 없을 느낌 ㅠㅠ

 

 

얘가 망가졌을 것 같은데

[링크 : https://www.ti.com/product/ko-kr/TPS767D301-EP]

 

와.. 1개 1.6만 -_- 수리 포기

[링크 : https://www.mouser.kr/ProductDetail/Texas-Instruments/TPS767D301MPWPREP?qs=kujVBWBDkXIrGr50CbsOmQ%3D%3D]

'embeded > DSP C2000 Ti' 카테고리의 다른 글

CCSv8.3.1 on win10  (0) 2023.07.14
CCS v8.3.1 on ubuntu 22.04  (0) 2023.07.14
spectrum digital XDS510 USB  (0) 2023.07.14
TMS320 소비전력  (0) 2023.07.13
tms320 어렵네...  (4) 2020.04.02
Posted by 구차니
Programming/jquery2023. 7. 27. 19:04

'Programming > jquery' 카테고리의 다른 글

jquery ajax delete가 없다?  (0) 2022.09.16
jquery-cookie 라이브러리  (0) 2022.09.05
jquery 우클릭 가로채기  (0) 2019.06.04
jquery ajax json flask  (0) 2019.01.07
jquery this 버튼 checked  (0) 2019.01.07
Posted by 구차니
Linux2023. 7. 27. 18:58

lvmcache는 logical volume에 대해서 ssd 캐시를 적용하고

bcache는 블럭 디바이스에 직접 ssd 캐시를 적용한다.

lvm을 좋아하진 않으니.. bcache를 나중에 써봐야지

 

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

[링크 : https://wiki.archlinux.org/title/LVM#Cache]

 

'Linux' 카테고리의 다른 글

시스템 audit 로그  (0) 2023.08.30
.bashrc 설정 history  (0) 2023.08.08
sysfs ethernet link status  (0) 2023.05.17
리눅스 커맨드 라인에서 몇줄씩 건너뛰고 출력하기  (0) 2023.03.30
bash completion  (0) 2023.03.27
Posted by 구차니

어떻게 보면 당연한데 얘는 number가 아니라 text 다

그래서 <input type="text"> 로 해주어야 한다.

 

const a = 3540000;
console.log(a.toLocaleString('ko-KR'))  //"3,540,000"

[링크 : https://mong-blog.tistory.com/entry/input에-입력된-숫자에-콤마-찍기]

Posted by 구차니
개소리 왈왈/컴퓨터2023. 7. 26. 21:44

20000mA 짜리 하나 생겼는데

USB-C PD 충전이 된다는데  PD 충전기도, PD 노트북도 없어서

이게 정상적으로 PD로 작동하는지 알 수가 없네 -ㅁ-

 

특이하게도 USB-C를 PC에 꽂고 2번 파워 누르면 허브로도 작동한다고

USB2.0이라 좀 아쉽긴 하지만 없는것 보단 낫지

[링크 : https://shopping.interpark.com/product/productInfo.do?prdNo=5183880099&uaTp=1&]

 

노트북 9  Always에 30W PD가 된다는데.. 어떻게 연결해야 하지?

똑같이 5V/2A 연결되었다 뜨는데..

참고 사항
1. 사용 가능한 USB Type-C 포트용 보조 배터리 안내
- 10W/15W/18W/25W 외장배터리, 15W/25W 여행용 충전기, 30W PD ADT 등
단, 10W(5V/2A) 미만의 출력 장치는 지원하지 않음

[링크 : https://www.samsungsvc.co.kr/solution/22192]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

로지텍 유니파잉, 로지볼트  (0) 2023.09.23
USB3.0 기가비트 랜 맞아?  (0) 2023.08.02
삼성 always 9 13인치 분해  (0) 2023.07.12
intel 내장형 그래픽과 4k60p(DP)  (0) 2023.06.22
intel 내장 세대별 해상도  (0) 2023.06.21
Posted by 구차니
이론 관련/전기 전자2023. 7. 25. 18:24

440Hz

[링크 : https://m.blog.naver.com/friendgeeni/40205120393]

 

[링크 : https://onlinetonegenerator.com/432Hz.html]

[링크 : https://onlinetonegenerator.com/dtmf.html] DTMF (Dual Tone Multi Frequency)

 

[링크 : https://www.sigidwiki.com/wiki/Dual_Tone_Multi_Frequency_%28DTMF%29]

 

+

대기전압 : DC 24 V
통화중전압 : DC 48V
신호전압 : AC 100V

전화선의 전압은 전화기내의 저항수치에 따라서, 전화교환기에서 전압을 각기다르게 보내줍니다..즉, 어떤일을 하기위한 전기의 개념이 아니라, 전기적신호로 바뀐 음성신호를 전달하기위한 신호용도로 사용한다는것입니다..

전화기내부의 저항, 즉, 전화선두선사이의 저항이 무한대일때, DC 24 V 가공급됩니다..

전화기내부저항이 감소, 즉, 전화선두선사이의 저항이 줄어들때, 통화중으로인식하며, DC 48V 를 공급합니다..

전화선두선을 쇼트시키면, 통화중으로 인식한다는것이죠... 그번호로 전화를 하면 통화중으로 나옵니다..

평상시 DC 24v 상태에서, 누군가 그번호로 전화를 하면, AC 100V 가 흘러 전화기의 벨을 울리게 됩니다..

[링크 : https://m.blog.naver.com/iamjpkim/50039842507]

 

+

[링크 : https://en.wikipedia.org/wiki/Disconnect_tone]

[링크 : https://en.wikipedia.org/wiki/Busy_signal]

'이론 관련 > 전기 전자' 카테고리의 다른 글

dB(데시벨-상대값)과 dBm(절대값)  (0) 2023.08.23
역극성 보호  (0) 2023.08.01
envelope detection  (0) 2023.07.14
RC 회로 - RC 발진 / LPF / HPF  (0) 2023.07.10
pvt - process voltage temperature  (0) 2023.06.30
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 구차니