아내 허가는 맡았지만

멀 얼마나 지를지는 허가 안 받고 지름 ㅋ





일단 ATmega 랑 라즈베리 파이 2를 위한 것들이라고 하면 되려나?

Posted by 구차니
개소리 왈왈/컴퓨터2015. 3. 10. 17:37

예전에 사용하던게 N604 시리즈 였던거 같은데

대충 이정도 급으로 구매하면 속 편할듯 -_-



[KT IPTV 지원 제품 리스트(펌웨어 Ver. 9.20 기준)]

- 유무선 공유기

A5004NS / A3004NS / A2004 / A2004NS / A2004plus / A2004NSplus / A604 / A604V / A104 / A104NS /

N8004R / N8004V / N6004R /  N904plus / N904Vplus / N904 / N904V / N804T3 / N804A3 /

N604Tplus / N604T /N904NS / N704NS / N704BCM / N704-V3 / N704-A3 / N604S /

N604A / N104S-r1 


- 유선 공유기

X6003/T3004 / T3008(지정포트 LAN 8포트) 



[IPTV 지원 불가 제품 리스트]

N104T / N104-r3 / N5-r1 / WE-R1 / mini


[링크 : http://www.iptime.co.kr/~iptime/bbs/view.php?id=faq_setup&no=587] 



그나저나.. 홈페이지 복구가 늦어져서 짜증짜증 ㅠㅠ

걍 집에서 서버 돌리는게 나으려나? -_-

Posted by 구차니
개소리 왈왈/컴퓨터2015. 3. 10. 16:51

기본 암호 admin


외부아이피로 내부에서 접속하면 접속이 안된다고 함

[링크 : http://kenblog.tistory.com/16]




와... 에그로 외부접속하니 되네 -_-

머하는 짓이지? -_-



그나저나.. 왜 DHCP 고정설정이 안보이는 게냐 -_-

Posted by 구차니

육아에 힘써야 할 상황이라

글이 얼마나 써질지 모르겠습니다 -_ㅠ


Posted by 구차니

스팀머신은 PC 기반이라 가격이 매너가 없다.

일단.. 기본이 80~100만원 선이라고 보면 될 듯


[링크 : http://store.steampowered.com/universe/]

[링크 : http://store.steampowered.com/universe/machines/]

[링크 : http://store.steampowered.com/sale/steam_machines]


그래도 스팀VR은 openVR과 연동해서 어쩌구 써있는데

오큘러스를 대체할 것인지 오큘러스의 HTC 버전이 될지 궁금하긴한데

먼가 들어간 부분은 센서 같긴한데.. 단가가 괜찮으려나?

[링크 : http://store.steampowered.com/universe/vr/]

Posted by 구차니
개소리 왈왈2015. 3. 6. 23:18

새벽 2:31분에 사랑이 출산

그리고 비데 / 인터넷 / 컴퓨터 설치완료




컴덕이라 그런가..

컴퓨터가 설치완료되니

이제야 이사완료라는 기분

'개소리 왈왈' 카테고리의 다른 글

다음 날씨도 폐쇄!  (0) 2015.10.01
감자도스의 스멜이 ㅋ  (0) 2015.03.29
인권 동물권?  (0) 2015.01.17
장가갑니다!  (4) 2014.09.21
운전을 못하는게 아니었어!!!  (0) 2014.08.16
Posted by 구차니


으아아아아악 사고 싶다!!!

할인하면 사야지 ㅋㅋㅋ


[링크 : http://store.steampowered.com/app/244160/?gclid=CKT_4NPPkMQCFVQsvQodbwIACQ]

Posted by 구차니
embeded/ARM2015. 3. 3. 23:36

그래도. 라즈베리 파이 2 이녀석

Cortex-A7 700Mhz~900MHz 작동하는 녀석인데

700MHz 치고는 너무 낮은 36MHz 정도의 bogoMIPS를 출력한다.

이상해서 찾아보다 보니


"무한루프(busy-wait loop)가 아닌 타이머 기반의 딜레이를 이용하여 udealy() 함수를 사용함으로서

cpu의 부하를 줄이고 프로세서의 클럭 변경시에 강인하도록 변경되었고 부팅시에 calibration이 필요없어 졌지만

역효과로 bogoMIPS를 측정할때 CPU 클럭이 측정이 되는게 아닌 타이머 클럭이 측정되게 되는 문제가 발생했다."

정도?

Timer-based delays

In 2012, ARM contributed a new udelay implementation allowing the system timer built into many ARMv7 CPUs to be used instead of a busy-wait loop.[8] Timer based delays are more robust on systems that use frequency scaling to dynamically adjust the processor's speed at runtime, as loops_per_jiffies values may not necessarily scale linearly. Also, since the timer frequency is known in advance, no calibration is needed at boot time.


One side effect of this change is that the BogoMIPS value will reflect the timer frequency, not the CPU's core frequency. Typically the timer frequency is much lower than the processor's maximum frequency, and some users may be surprised to see an unusually low BogoMIPS value when comparing against systems that use traditional busy-wait loops.


[링크 : http://en.wikipedia.org/wiki/BogoMips] 


ARM: 7452/1: delay: allow timer-based delay implementation to be selected

This patch allows a timer-based delay implementation to be selected by

switching the delay routines over to use get_cycles, which is

implemented in terms of read_current_timer. This further allows us to

skip the loop calibration and have a consistent delay function in the

face of core frequency scaling.


To avoid the pain of dealing with memory-mapped counters, this

implementation uses the co-processor interface to the architected timers

when they are available. The previous loop-based implementation is

kept around for CPUs without the architected timers and we retain both

the maximum delay (2ms) and the corresponding conversion factors for

determining the number of loops required for a given interval. Since the

indirection of the timer routines will only work when called from C,

the sa1100 sleep routines are modified to branch to the loop-based delay

functions directly.

[링크 : https://git.kernel.org/.../linux.git/commit/?id=d0a533b18235d36206b9b422efadb7cee444dfdb] 


아무튼.. 뜬금없는 결론은...

ARMv7 부터는 bogoMIPS가 그리 신뢰할 만한(?) CPU 클럭 예측 방법이 아니게 되었다 정도이려나?

Posted by 구차니
embeded/raspberry pi2015. 3. 3. 20:16

USB Wireless / EFM-G054UA

$ dmesg

[ 9052.747682] usb 1-1.2: USB disconnect, device number 9

[ 9052.748051] MOSCHIP usb-ethernet driver 1-1.2:1.0 eth1: unregister 'MOSCHIP usb-ethernet driver' usb-bcm2708_usb-1.2, MOSCHIP 7830/7832/7730 usb-NET adapter

[ 9054.028020] usb 1-1.4: USB disconnect, device number 8

[ 9096.507202] usb 1-1.4: new high-speed USB device number 10 using dwc_otg

[ 9096.760443] usb 1-1.4: New USB device found, idVendor=148f, idProduct=2573

[ 9096.760468] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0

[ 9096.760485] usb 1-1.4: Product: 802.11 bg WLAN

[ 9096.760502] usb 1-1.4: Manufacturer: Ralink

[ 9096.887401] usb 1-1.4: reset high-speed USB device number 10 using dwc_otg

[ 9097.331348] ieee80211 phy2: rt2x00_set_chip: Info - Chipset detected - rt: 2573, rf: 0002, rev: 000a

[ 9097.332541] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht'

[ 9097.335102] usbcore: registered new interface driver rt73usb

[ 9097.433128] ieee80211 phy2: rt2x00lib_request_firmware: Info - Loading firmware file 'rt73.bin'

[ 9097.434590] ieee80211 phy2: rt2x00lib_request_firmware: Info - Firmware detected - version: 1.7


$ lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/5p, 480M
        |__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M
        |__ Port 4: Dev 10, If 0, Class=vend., Driver=rt73usb, 480M
        |__ Port 5: Dev 5, If 0, Class=HID, Driver=usbhid, 1.5M

$ lsmod
Module                  Size  Used by
rt73usb                22995  0
mcs7830                 5295  0
arc4                    1745  2
rt2800usb              17898  0
rt2800lib              71839  1 rt2800usb
rt2x00usb               8764  2 rt73usb,rt2800usb
rt2x00lib              37292  4 rt73usb,rt2x00usb,rt2800lib,rt2800usb
mac80211              483934  3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211              395318  2 mac80211,rt2x00lib
crc_ccitt               1153  1 rt2800lib
rfkill                 16651  2 cfg80211
snd_bcm2835            18850  0
snd_pcm                75388  1 snd_bcm2835
snd_seq                53078  0
snd_seq_device          5628  1 snd_seq
snd_timer              17784  2 snd_pcm,snd_seq
snd                    51667  5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device
joydev                  8903  0
evdev                   9950  1
uio_pdrv_genirq         2958  0

uio                     8119  1 uio_pdrv_genirq 


USB Wireless / Buffalo WLI-UC-GNM

$ dmesg

[ 7446.882346] usb 1-1.2: new high-speed USB device number 6 using dwc_otg

[ 7446.998227] usb 1-1.2: New USB device found, idVendor=0411, idProduct=01a2

[ 7446.998251] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[ 7446.998269] usb 1-1.2: Product: 802.11 n WLAN

[ 7446.998285] usb 1-1.2: Manufacturer: Ralink

[ 7446.998301] usb 1-1.2: SerialNumber: 1.0

[ 7447.106556] cfg80211: Calling CRDA to update world regulatory domain

[ 7447.272356] usb 1-1.2: reset high-speed USB device number 6 using dwc_otg

[ 7447.381554] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected

[ 7447.413690] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected

[ 7447.436162] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'

[ 7447.438442] usbcore: registered new interface driver rt2800usb

[ 7447.505538] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'

[ 7447.516358] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29


$ lsusb -t

/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M

    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/5p, 480M

        |__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M

        |__ Port 2: Dev 6, If 0, Class=vend., Driver=rt2800usb, 480M

        |__ Port 5: Dev 5, If 0, Class=HID, Driver=usbhid, 1.5M


$ lsmod

Module                  Size  Used by

arc4                    1745  2

rt2800usb              17898  0

rt2800lib              71839  1 rt2800usb

rt2x00usb               8764  1 rt2800usb

rt2x00lib              37292  3 rt2x00usb,rt2800lib,rt2800usb

mac80211              483934  3 rt2x00lib,rt2x00usb,rt2800lib

cfg80211              395318  2 mac80211,rt2x00lib

crc_ccitt               1153  1 rt2800lib

rfkill                 16651  2 cfg80211

snd_bcm2835            18850  0

snd_pcm                75388  1 snd_bcm2835

snd_seq                53078  0

snd_seq_device          5628  1 snd_seq

snd_timer              17784  2 snd_pcm,snd_seq

snd                    51667  5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device

joydev                  8903  0

evdev                   9950  1

uio_pdrv_genirq         2958  0

uio                     8119  1 uio_pdrv_genirq


USB Ethernet / NEXT 220-UL

확실히 동일 모델인지는 모르겠으나 생김새랑 구매한 곳은 맞음 -_-a

[링크 : http://lanstore.co.kr/goods_detail.php?goodsIdx=7188]

$ dmesg

[ 8474.601826] usb 1-1.4: new high-speed USB device number 7 using dwc_otg

[ 8474.706348] usb 1-1.4: New USB device found, idVendor=9710, idProduct=7830

[ 8474.706373] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[ 8474.706391] usb 1-1.4: Product: USB-MAC Controller

[ 8474.706408] usb 1-1.4: Manufacturer: Moschip Semiconductor

[ 8474.706424] usb 1-1.4: SerialNumber: 00001809

[ 8474.779485] usb 1-1.4: applying rev.C fixup

[ 8474.791907] usb 1-1.4: applying rev.C fixup

[ 8474.813989] MOSCHIP usb-ethernet driver 1-1.4:1.0 eth1: register 'MOSCHIP usb-ethernet driver' at usb-bcm2708_usb-1.4, MOSCHIP 7830/7832/7730 usb-NET adapter, 00:00:00:00:18:09

[ 8474.814649] usbcore: registered new interface driver MOSCHIP usb-ethernet driver

[ 8477.695159] usb 1-1.2: USB disconnect, device number 6


$ lsusb -t

/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M

    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/5p, 480M

        |__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M

        |__ Port 4: Dev 7, If 0, Class=vend., Driver=MOSCHIP usb-ethernet driver, 480M

        |__ Port 5: Dev 5, If 0, Class=HID, Driver=usbhid, 1.5M


$ lsmod

Module                  Size  Used by

mcs7830                 5295  0

arc4                    1745  0

rt2800usb              17898  0

rt2800lib              71839  1 rt2800usb

rt2x00usb               8764  1 rt2800usb

rt2x00lib              37292  3 rt2x00usb,rt2800lib,rt2800usb

mac80211              483934  3 rt2x00lib,rt2x00usb,rt2800lib

cfg80211              395318  2 mac80211,rt2x00lib

crc_ccitt               1153  1 rt2800lib

rfkill                 16651  1 cfg80211

snd_bcm2835            18850  0

snd_pcm                75388  1 snd_bcm2835

snd_seq                53078  0

snd_seq_device          5628  1 snd_seq

snd_timer              17784  2 snd_pcm,snd_seq

snd                    51667  5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device

joydev                  8903  0

evdev                   9950  1

uio_pdrv_genirq         2958  0

uio                     8119  1 uio_pdrv_genirq 


USB to RS232 / NXT-NEXT-RS232-SC

$ dmesg

[ 9305.688989] usb 1-1.4: new full-speed USB device number 11 using dwc_otg

[ 9305.817745] usb 1-1.4: New USB device found, idVendor=0403, idProduct=6001

[ 9305.817770] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[ 9305.817787] usb 1-1.4: Product: USB <-> Serial Cable

[ 9305.817805] usb 1-1.4: Manufacturer: FTDI

[ 9305.817821] usb 1-1.4: SerialNumber: 12345678

[ 9305.865409] usbcore: registered new interface driver usbserial

[ 9305.865552] usbcore: registered new interface driver usbserial_generic

[ 9305.865675] usbserial: USB Serial support registered for generic

[ 9305.876605] usbcore: registered new interface driver ftdi_sio

[ 9305.877497] usbserial: USB Serial support registered for FTDI USB Serial Device

[ 9305.878479] ftdi_sio 1-1.4:1.0: FTDI USB Serial Device converter detected

[ 9305.878696] usb 1-1.4: Detected FT232RL

[ 9305.880363] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB0


$ lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/5p, 480M
        |__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M
        |__ Port 4: Dev 11, If 0, Class=vend., Driver=ftdi_sio, 12M
        |__ Port 5: Dev 5, If 0, Class=HID, Driver=usbhid, 1.5M

$ lsmod
Module                  Size  Used by
ftdi_sio               30412  0
usbserial              22397  1 ftdi_sio
rt73usb                22995  0
mcs7830                 5295  0
arc4                    1745  0
rt2800usb              17898  0
rt2800lib              71839  1 rt2800usb
rt2x00usb               8764  2 rt73usb,rt2800usb
rt2x00lib              37292  4 rt73usb,rt2x00usb,rt2800lib,rt2800usb
mac80211              483934  3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211              395318  2 mac80211,rt2x00lib
crc_ccitt               1153  1 rt2800lib
rfkill                 16651  1 cfg80211
snd_bcm2835            18850  0
snd_pcm                75388  1 snd_bcm2835
snd_seq                53078  0
snd_seq_device          5628  1 snd_seq
snd_timer              17784  2 snd_pcm,snd_seq
snd                    51667  5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device
joydev                  8903  0
evdev                   9950  1
uio_pdrv_genirq         2958  0
uio                     8119  1 uio_pdrv_genirq


그래도 은근 다양한 종류(?)의 USB를 다 인식해주는게 기특하네

Posted by 구차니
Linux2015. 3. 3. 20:00

도움말은 다음과 같고

$ iwconfig --help

Usage: iwconfig [interface]

                interface essid {NNN|any|on|off}

                interface mode {managed|ad-hoc|master|...}

                interface freq N.NNN[k|M|G]

                interface channel N

                interface bit {N[k|M|G]|auto|fixed}

                interface rate {N[k|M|G]|auto|fixed}

                interface enc {NNNN-NNNN|off}

                interface key {NNNN-NNNN|off}

                interface power {period N|timeout N|saving N|off}

                interface nickname NNN

                interface nwid {NN|on|off}

                interface ap {N|off|auto}

                interface txpower {NmW|NdBm|off|auto}

                interface sens N

                interface retry {limit N|lifetime N}

                interface rts {N|auto|fixed|off}

                interface frag {N|auto|fixed|off}

                interface modulation {11g|11a|CCK|OFDMg|...}

                interface commit

       Check man pages for more details.


$ iwlist
Usage: iwlist [interface] scanning [essid NNN] [last]
              [interface] frequency
              [interface] channel
              [interface] bitrate
              [interface] rate
              [interface] encryption
              [interface] keys
              [interface] power
              [interface] txpower
              [interface] retry
              [interface] ap
              [interface] accesspoints
              [interface] peers
              [interface] event
              [interface] auth
              [interface] wpakeys
              [interface] genie
              [interface] modulation


일단 따라해보기

$ iwconfig

wlan0     IEEE 802.11bgn  ESSID:off/any

          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm

          Retry short limit:7   RTS thr:off   Fragment thr:off

          Power Management:off


lo        no wireless extensions.


eth0      no wireless extensions.


$ sudo iwconfig wlan0 essid "U+Net2FC7"

$ iwconfig
wlan0     IEEE 802.11bgn  ESSID:"U+Net2FC7"
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

lo        no wireless extensions.

eth0      no wireless extensions. 


아이피는 어떻게 얻어오지 -ㅁ-?
(일단은 라즈베리 파이임)

[링크 : http://webterror.net/linux-콘솔상에서-wireless-사용하는-방법/]

[링크 : http://linux.die.net/man/8/iwlist]

[링크 : http://linux.die.net/man/8/iwconfig]

'Linux' 카테고리의 다른 글

쓰레드 / 프로세스  (0) 2015.04.27
리눅스 1분만에 커널 빌드하기  (0) 2015.04.06
리눅스 디스크 복구 / 파티션 복구  (0) 2015.02.12
LD_SHOW_AUXV  (0) 2015.02.10
cpu 활성화 기능 확인하기  (0) 2015.02.06
Posted by 구차니