Yukiharu YABUKI の tDiary
このtDiaryを検索します。
2008-12-03 [長年日記]
_ 新しいノートPCの時刻補正
Lenovo Think pad X200 に Debian GNU/Linux Lenny を入れてから、設定するのを忘れていたものに、時刻補正がある。先日、友人に「ログを取るなら時刻同期大事だよね」という話をしていて、ハッと思い出した。
yabuki@yelona:~$ /usr/sbin/ntpdate -qu ntp.nict.jp server 133.243.238.243, stratum 1, offset 0.348931, delay 0.10559 server 133.243.238.244, stratum 1, offset 0.348479, delay 0.10559 server 133.243.238.163, stratum 1, offset 0.349162, delay 0.10487 server 133.243.238.164, stratum 1, offset 0.344493, delay 0.11557 3 Dec 12:59:12 ntpdate[32702]: adjust time server 133.243.238.163 offset 0.349162 sec
一般ユーザで、ntpdateを実行すれば、誤って時刻変更をしてしまう可能性もないから、ntpdate を導入してやっってみるといい。最初は2秒ぐらいずれてました。あわてて root で ntpdate を実行して、補正しましたよ。
_ UE-200TX-G(usb ethernet)
を購入、Debian GNU/Linux Lenny + kernel 2.6.27の環境でどんなdmesgがでるか表示してみた。 NetworkManager は、ちゃんと usb ethernet を認識している。
Lenovo Think Pad X200 に使っていた、 wire を usb nic につなぎ直してみたら、ちゃんと認識して通信し始めた。
Dec 3 23:09:22 yelona kernel: [472979.016138] usb 5-1: new high speed USB device using ehci_hcd and address 24 Dec 3 23:09:22 yelona kernel: [472979.162543] usb 5-1: configuration #1 chosen from 1 choice Dec 3 23:09:22 yelona kernel: [472979.164717] usb 5-1: New USB device found, idVendor=0b95, idProduct=7720 Dec 3 23:09:22 yelona kernel: [472979.164730] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Dec 3 23:09:22 yelona kernel: [472979.164736] usb 5-1: Product: AX88772 Dec 3 23:09:22 yelona kernel: [472979.164740] usb 5-1: Manufacturer: ASIX Elec. Corp. Dec 3 23:09:22 yelona kernel: [472979.164745] usb 5-1: SerialNumber: 000001 Dec 3 23:09:22 yelona NetworkManager:[1228313362.888350] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_b95_7720_000001'). Dec 3 23:09:23 yelona kernel: [472980.243213] eth1: register 'asix' at usb-0000:00:1d.7-1, ASIX AX88772 USB 2.0 Ethernet, 00:90:cc:e7:44:da Dec 3 23:09:23 yelona kernel: [472980.243267] usbcore: registered new interface driver asix Dec 3 23:09:23 yelona NetworkManager: [1228313363.982389] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_b95_7720_000001_if0'). Dec 3 23:09:23 yelona NetworkManager: [1228313363.985489] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_b95_7720_000001_usbraw'). Dec 3 23:09:24 yelona NetworkManager: [1228313364.101444] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/net_00_90_cc_e7_44_da'). Dec 3 23:09:24 yelona kernel: [472980.469223] eth1: link down Dec 3 23:09:24 yelona kernel: [472980.470896] ADDRCONF(NETDEV_UP): eth1: link is not ready Dec 3 23:09:24 yelona NetworkManager: eth1: Device is fully-supported using driver 'asix'. Dec 3 23:09:24 yelona NetworkManager: nm_device_init(): waiting for device's worker thread to start Dec 3 23:09:24 yelona NetworkManager: nm_device_init(): device's worker thread started, continuing. Dec 3 23:09:24 yelona NetworkManager: Now managing wired Ethernet (802.3) device 'eth1'. Dec 3 23:09:24 yelona NetworkManager: Deactivating device eth1.