하드웨어/Network 장비2010. 12. 20. 21:32
부제 : 으악 내 허브 ㅠ.ㅠ



칼퇴근 하고 룰루랄라 하면서 집에오는 길에 지하철에서 접선하여 업어온 관리용 허브!
대충 요렇고롱 생겼음. 24포트 100Mbps / 2포트 GbE혹은 SFP 광케이블 그리고 오른쪽에 하나는 관리용 시리얼 케이블이다.

근데... 로그인 화면이 다르다?

음.. 버전 정보를 보니 초기버전이다.
현재 올라온건 2009년 버전으로 1.1.0.15 버전인데 이녀석은 1.0.0.3으로 극초기형이다


그래서 펌웨어 받고 업그레이드 했는데..
성격이 급한 죄로.. 업그레이드가 덜 되었는데 전원을 뽑는 바람에 켜지질 않는다. -_-
일단 연결된 랜선에는 불이 들어 오지만, POWER LED에는 불이 들어오지 않고 있는 상황
그냥 컴퓨터에 연결하니 인터넷은 연결되는거 보면 관리기능을 제외한 나머지는 이상이 없이 작동하나보다.

혹시나 해서 minicom 깔고 부랴부랴 시리얼 설정해서 접속해보니 역시나... 날아갔다!!! 으악!
Image Loader 0.0.0.4
No runable image exist, Enter the FailSafe mode...


-----------------------------
        FailSafe Mode
-----------------------------
 [0] Quit
 [1] Firmware Upgrade via Xmodem

Select>
게다가 이녀석.. 38400bps로 접속한다.. 무려 3MB에 달하는 녀석을 시리얼로 전송하려니 하아..
예전 90년대 후반 모뎀으로 1MB 짜리 받던 생각이 새록새록 난다 -_-

추억의... XMODEM을 다시 보게 될 줄이야 -_-
3메가 언제 보내 ㅠ.ㅠ

다행인건, 써글 3com 넘들이 exe로 올려놓은 녀석을(윈도우 자동압축 해제)
리눅스에서 알아서 인식해서 압축을 해제할 수 있었다는 점이다.

다행은 개뿔 -_-

다 올렸는데(한 17분 걸림) 죽어서 열받아서! 윈도우로 와버림 -_-

오랫만에 쓰는 하이퍼터미널과 38400bps의 위ㅋ엄ㅋ
대략 초당 2.6KB/S의 환상적인 스피드로 2.8메가 전송중 -_-
예상시간 17분의 압박!

아무튼 업데이트 되면서 나오는 로그는 아래에 숨겨놓고

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

Intel Pro/1000MT Server Adaptor와 함꼐하는 NIC Teaming  (2) 2010.12.22
Intel 1000MT Server Adaptor!  (4) 2010.12.21
MAU, MII, AUI  (0) 2010.12.19
Intel 랜카드 종류 식별하기 + Teaming  (18) 2010.12.16
Intel PRO/100+  (0) 2010.12.15
Posted by 구차니
프로그램 사용/wiki2010. 12. 20. 18:06
UserMerge 확장기능은 사용자를 삭제하는데 사용된다.

엄밀하게는 사용자가 작성했던 모든 내용을 anonymous 사용자로 소유권을 이전하고 나서 아이디를 삭제한다.
혹은 여러 아이디를 사용하는 사람을 하나의 아이디로 병합할때도 사용한다.

admin 유저로 로그인하면 되며, 특수 문서 목록중 사용자 권한에서 "사용자 계정 병합 및 삭제" 가 추가된다.

설치는 확장기능 홈페이지에서 확인하고, admin 에서는 아래와 같이 추가하면된다.
[링크 : http://www.mediawiki.org/wiki/Extension:User_Merge_and_Delete]

$ sudo vi LocalSettings.php
require_once( "$IP/extensions/UserMerge/UserMerge.php" );
$wgGroupPermissions['bureaucrat']['usermerge'] = true;

사용자 삭제시 아래와 같은 메시지가 나온다.
(물론 Test 사용자는 쓴글이 하나도 없으니 아래와 같이 전부 0으로 나오는듯?)

Posted by 구차니
Linux2010. 12. 19. 17:46
예전 UFO:AI 번역시에 어순의 차이로 인해 번역에 곤혹을 치뤘던게 떠올라서
관련글에 문의를 했더니, 다음과 같은 답변이 달렸다.
gettext에서도 말씀하신 모든 것이 지원이 됩니다.
이러한 예가 broken sentence의 한 종류입니다. 비슷한 경우는 수많은 케이스가 있습니다. gettext를 제대로 쓰르면 "%1d of %2d"와 같이 처음부터 그렇게 코드를 작성해야 나중에 번역만 하면 됩니다.

[링크 : http://allofsoftware.net/202#comment2695704]


혹시나 해서 이래저래 검색하다가 영 안나와서 -_-
%d나 %s로 검색 고고싱!

15.3.1 C Format Strings

C format strings are described in POSIX (IEEE P1003.1 2001), section XSH 3 fprintf(), http://www.opengroup.org/onlinepubs/007904975/functions/fprintf.html. See also the fprintf() manual page, http://www.linuxvalley.it/encyclopedia/ldp/manpage/man3/printf.3.php, http://informatik.fh-wuerzburg.de/student/i510/man/printf.html.

Although format strings with positions that reorder arguments, such as

     "Only %2$d bytes free on '%1$s'."

which is semantically equivalent to

     "'%s' has only %d bytes free."

are a POSIX/XSI feature and not specified by ISO C 99, translators can rely on this reordering ability: On the few platforms where printf(), fprintf() etc. don't support this feature natively, libintl.a or libintl.so provides replacement functions, and GNU <libintl.h> activates these replacement functions automatically.

As a special feature for Farsi (Persian) and maybe Arabic, translators can insert an ‘I’ flag into numeric format directives. For example, the translation of "%d" can be "%Id". The effect of this flag, on systems with GNU libc, is that in the output, the ASCII digits are replaced with the ‘outdigits’ defined in the LC_CTYPE locale category. On other systems, the gettext function removes this flag, so that it has no effect.

Note that the programmer should not put this flag into the untranslated string. (Putting the ‘I’ format directive flag into an msgid string would lead to undefined behaviour on platforms without glibc when NLS is disabled.)


[링크 : http://www.gnu.org/software/gettext/manual/gettext.html#c_002dformat]

n$ 로 변수의 순서를 직접 정해서
다른 어순의 언어에서도 사용할수 있도록 수정이 가능한 것으로 보인다.

'Linux' 카테고리의 다른 글

메일서버 확인하기  (0) 2011.02.17
MacOSX 의 시스템 구조  (0) 2011.02.06
WOL on Linux - ether-wake  (0) 2010.10.05
POSIX - Portable Operating System Interface [for Unix]  (6) 2010.09.21
커널의 종류(kind of kernels)  (0) 2010.09.21
Posted by 구차니
하드웨어/Network 장비2010. 12. 19. 15:42
MAU는 전송매체(그러니까 선)과 연결하기 위한 장비
AUI는 MAU와 컴퓨터를 연결하기 위한 커넥터(15핀)
MII는 AUI를 포괄하는 개념으로, AUI 역시 MII의 일종에 속한다.

MAU is an acronym for Medium Attachment Unit, also known as "transceiver", which converts signals on an Ethernet cable to and from Attachment Unit Interface (AUI) signals.
[링크 : http://en.wikipedia.org/wiki/Medium_Attachment_Unit] MAU

The MII may be used to connect the MAC to an external PHY via a pluggable connector (see photo), or to connect a MAC chip to a PHY chip on the same printed circuit board.
[링크 : http://en.wikipedia.org/wiki/Media_Independent_Interface] MII

[링크 : http://en.wikipedia.org/wiki/Medium_Attachment_Unit] MAU
[링크 : http://en.wikipedia.org/wiki/Media_Independent_Interface] MII
[링크 : http://en.wikipedia.org/wiki/Attachment_Unit_Interface] AUI
Posted by 구차니
하드웨어/SLI2010. 12. 19. 01:34
결론만 말하자면 "안된다"
드물게 다른 기종간에 되는것이 있는것 처럼 보이지만,
실제로는 저 예외 조차도, 공정만 바뀐 동일 코어이기 때문에 가능한 것이다.

돈 버리지 말구 그냥 싼걸 사서 SLI 다시 구축해야겠다 -_-

In an SLI configuration, cards can be of mixed manufacturers, card model names, BIOS revisions or clock speeds. However, they must be of the same GPU series (e.g. 8600, 8800) and GPU model name (e.g. GT, GTS, GTX). There are rare exceptions for "mixed SLI" configurations on some cards that only have a matching core codename (e.g. G70, G73, G80, etc.), but this is otherwise not possible, and only happens when two matched cards differ only very slightly, an example being a differing amount of video memory, stream processors, or clockspeed. In this case, the slower/lesser card becomes dominant, and the other card matches. Another exception is the GTS 250, which can SLI with the 9800 GTX+, as the GTS 250 GPU is a rebadged 9800 GTX+ GPU.

[링크 : http://en.wikipedia.org/wiki/Scalable_Link_Interface#Caveats]
[링크 : http://answers.yahoo.com/question/index?qid=20080913130244AAhqbEk]



사족 : 우리 누나 컴퓨터용으로 그래픽카드 하나 빼앗겨서 이러는거임 -_-
Posted by 구차니
개소리 왈왈2010. 12. 19. 01:06
재테크.
과연 재테크가 의미가 있을까? 라는 생각이 든다.

은행이자 해봤자 꼴랑 5%
100만원 넣어두면 1년뒤에 5만원이 붙고, 그 나마도 세금공제 하면 수중에 떨어지는건 4만원 겨우 될까 말까 한 돈
하지만 경제성장율은 낮게 잡아도 3%는 넘어가는 시점에서
돈을 쓰지않고 모으고 통장에 묶어 두는게 재테크일까? 라는 생각이 든다.

돈잘버는 방법으로 부동산이라던가 펀드 증권 이런건 일단 열외로 두더라도
법률이 정하는 적당한 방법으로는 돈을 벌기 어렵고,
이러한 일반적인 재테크 방법으로는 돈을 버는게 아닌 현상유지 정도에 급급하다는 것이고,
그런 이유로 대한민국에서의 최고의 재테크는 부잣집과의 결혼 혹은 부동산이 되는 것이다.

이럴 바에는 차라리 시간을 아끼는데 돈을 쓰고
공부하는데 돈을 쓰고, 그 만큼 돈을 더 버는게 옳바른 재테크가 되는게 아닐까?




아무튼, 너무 이리저리 튀면서 CUDA하다 말고 뜬금없이 network로 튄감이 없진 않지만...
일단 아래녀석을 지르고 공부하는게 효율이 좋을듯하다.

[링크 : http://dmall.danawa.com/sale/saleView.php?nSaleSeq=2876243] 인텔 PRO 1000MT 듀얼 (HP OEM-nc7170)
[링크 : http://dmall.danawa.com/sale/saleView.php?nSaleSeq=2844159] 3COM Baseline Switch 2226 Plus(3CBLSF26)

결론 : 지르고 머리속에 넣으면 그만큼의 효용이 될꺼야~ 라고 최면중

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

내 머리속에 도청장치가 있는것 같아!  (4) 2010.12.26
내년 지름목록!  (0) 2010.12.22
아아 인간이란  (8) 2010.12.06
헉헉 내 블로그 살아난건가?!  (2) 2010.11.30
대화명 어쩔?  (4) 2010.11.19
Posted by 구차니
Linux/Ubuntu2010. 12. 18. 22:01
intel pro/100+ 가 intel PROset 에서 intel PRO server adaptor가 마스터로 존재하지 않으면
teaming(티밍)이 안되자 좌절한 구차니군 =_=

혹시나 리눅스 채널 본딩을 찾아보니 무언가 나온다.
우분투 10.04에서는
$ ifenslave
'ifenslave' 프로그램은 현재 설치되어 있지 않습니다.  다음을 입력하여 이를 설치할 수 있습니다:
sudo apt-get install ifenslave-2.6
이라고 입력하면 해당 프로그램이 설치되고

 $ sudo modprobe bonding
이라고 치면, 자동으로 인식된다.

설정은 직접해보고 추가예정



$ sudo modprobe bonding

$ dmesg | tail -15
[  325.324377] Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)
[  325.324388] bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details.

$ ll /proc/net/bonding/bond0
-r--r--r-- 1 root root 0 2010-12-19 00:29 /proc/net/bonding/bond0

$ cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)

Bonding Mode: load balancing (round-robin)
MII Status: down
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0

$ ifconfig
eth0      Link encap:Ethernet  HWaddr 11:11:11:11:11:11 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:23 Base address:0x8000

eth1      Link encap:Ethernet  HWaddr 11:11:11:11:11:11 
          inet addr:192.168.0.198  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::207:e9ff:fe13:38fc/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3491 (3.4 KB)  TX bytes:7120 (7.1 KB)

eth2      Link encap:Ethernet  HWaddr 11:11:11:11:11:11 
          inet addr:192.168.0.155  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::207:e9ff:fe13:378d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1525 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1250 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1394038 (1.3 MB)  TX bytes:196987 (196.9 KB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:480 (480.0 B)  TX bytes:480 (480.0 B)

$ sudo ip addr add 192.168.0.254/24 brd + dev bond0

$ sudo ip link set dev bond0 up

$ ifconfig
bond0     Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
          inet addr:192.168.0.254  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 11:11:11:11:11:11 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:23 Base address:0x8000

eth1      Link encap:Ethernet  HWaddr 11:11:11:11:11:11 
          inet addr:192.168.0.198  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::207:e9ff:fe13:38fc/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3491 (3.4 KB)  TX bytes:7120 (7.1 KB)

eth2      Link encap:Ethernet  HWaddr 11:11:11:11:11:11 
          inet addr:192.168.0.155  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::207:e9ff:fe13:378d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3038 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2100 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3396837 (3.3 MB)  TX bytes:352314 (352.3 KB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:480 (480.0 B)  TX bytes:480 (480.0 B)

$ sudo ifenslave bond0 eth1 eth2

나가는게 안됨.. 라우팅 문제가 있는듯?

에러모음 - 권한문제
$ ip link set dev bond0 up
RTNETLINK answers: Operation not permitted

$ ifenslave bond0 eth1 eth2
Slave 'eth1': Error: bring interface down failed
Master 'bond0', Slave 'eth1': Error: Enslave failed
Slave 'eth2': Error: bring interface down failed
Master 'bond0', Slave 'eth2': Error: Enslave failed

[링크 : http://linux.die.net/man/8/ifenslave]
[링크 : http://linux-ip.net/html/ether-bonding.html]
[링크 : http://www.linuxfoundation.org/collaborate/workgroups/networking/bonding]
    [링크 : http://www.linuxfoundation.org/collaborate/workgroups/networking/bonding#Potential_Sources_of_Trouble]
[링크 : http://georgia.ubuntuforums.org/showthread.php?t=99668]

[링크 : http://ubuntuforums.org/showthread.php?t=201713]
[링크 : http://ubuntuforums.org/showthread.php?t=864657]
[링크 : http://www.smallnetbuilder.com/lanwan/lanwan-howto/30575-how-to-set-up-server-nic-teaming]

[링크 : http://linuxchannel.net/docs/ethernet-channel-bonding.txt]
[링크 : https://help.ubuntu.com/community/UbuntuBonding]
[링크 : https://help.ubuntu.com/community/LinkAggregation]
Posted by 구차니
분류가 모호한 글2010. 12. 18. 21:52
docbook은 xml 기반으로 책(?)을 만들어 주는 녀석이다.
아래와 같은 링크가 docbook 에 의해 생성된 많이 보던 양식의 문서이다.
[링크 : http://linux-ip.net/html/ether-bonding.html]

[링크 : http://www.ibm.com/developerworks/kr/xml/standards/x-docbookspec.html]
[링크 : http://docbook.kr/]
[링크 : http://www.docbook.org/]
    [링크 : http://wiki.docbook.org/topic/]
    [링크 : http://docbook.sourceforge.net/]

'분류가 모호한 글' 카테고리의 다른 글

DLNA / UPnP / WS Discovery  (2) 2011.05.16
네이버 무료백신은... x64 미지원 -ㅁ-!  (2) 2011.04.29
ibm t220  (0) 2010.11.21
NAS SAN DAS 그리고 SAS  (4) 2010.10.24
세면기와 변기 호스가 다르다니!  (2) 2010.06.30
Posted by 구차니
혼자서 고군분투 하면서 문서 작업을 해놓고
다른사람들이 이제 초기장벽을 넘을 정도로 양식도 만들어 놨고
보기만 하고 조금씩만 조언을 해주어도 좋을텐데

거들떠도 안보는 모습을 7일간 보면서
정말 지친다는 생각밖에 안든다.

내가 왜 이뻘짓을 하고 있을까 라는 회의와 함께..





내 블로그에 글이 적은건.. 회사 위키에 올인하고 있기 때문인데
왜이리 허탈감만 밀려올까..

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

보험과 농협가입 해프닝  (4) 2011.01.24
no stick, only carrot  (3) 2011.01.11
쿨쿨쿨  (4) 2010.12.14
삶이란  (4) 2010.12.13
근무시간에는 블로깅질 하지 말라는 신의 계시?!  (0) 2010.12.07
Posted by 구차니
Microsoft/Office2010. 12. 16. 20:37
한글과 컴퓨터의 "한글"과는 다르게
MS WORD에는 구역나누기와 페이지 나누기가 독립적으로 존재한다.

아마 다단 편집으로 인해 섞인것 같은데
이런 경우에는 보기 메뉴의 "기본" 에서 일일이 찾아서 삭제해주고 다시 레이아웃을 잡아주면 된다.


Posted by 구차니