さすらいのエンジニア

きずいたこと

確定申告のICカードリーダ M-520U Win8 ドライバ

2014-02-20 00:06:32 | Windws

確定申告をしようとしたら、なんとマックの最新OSには未対応

さらに、ICカードリーダの M-520U は販売終了で販売元の

三菱電機には Windows8 用のドライバのリリースが無いと言う。

おいおいと思いましたがネットを探していたらこのドライバが使えました。

接触式ICカードリーダライタ MR-520UJ

マクセルさんのMR−520UJ のWindows8ドライバで動作しま

PC/SC対応ドライバソフトウエア製品名:MR−520UJ

WindowsVista,7,8.1(32bit) をダウンロードして使ってくださいね

ICカードの読み込みまでは確認出来てます。

最終的に申告が完了したらまた追記します。

追伸:2月22日 無事に確定申告完了しました。 


XP から Windows8  へバージョンアップチャレンジ

2012-11-11 22:47:06 | Windws

自宅の自作マシンをWindows8 へアップグレードしてみました。

自宅の自作マシンはXPで順調に運用していて問題ないマシンでしたが

将来のサポートを考えるとサポート終了でウイルスチェックなど危険なので

、Windowsのキャンペーンで安くアップできるならお得ですと最新にバージョンアップする事に

現状のマシンは

前世代のWin98のCDから秋葉で購入した、XPへのアップグレードCD純正1万弱?をインストールしています。アンチウイルスをノートン2ライセンスをインストールしていたが1台がMACになったので、Windows純正の乗り換えていてその費用を考えても8への変更料 3300円は魅力的です。

まずは、インストーラでインストル前のチェックを走らせましょう、ここま無料

結果を見て事前に問題点がチェック可能です。

私の場合はIDEをPCIカードで増設していましたがこれがNG当然サポートページ見てもWin8のドライバがある訳はありません。

 

 

IDE-SATA 変換アダプタを購入しました、ビックカメラなので1900円

NGとなったIDE RAIDカードよりよっぽど安い

 http://www.amazon.co.jp/%E3%82%B5%E3%83%B3%E3%83%AF%E3%82%B5%E3%83%97%E3%83%A9%E3%82%A4-TK-AD40SATAD2-SANWA-SUPPLY-IDE-SATA%E5%A4%89%E6%8F%9B%E3%82%A2%E3%83%80%E3%83%97%E3%82%BF/dp/B005SVN8CI

さらに進めると、空き容量が4GB必要との事、チマチマ削除するよりディスク購入を選択

1TBを5000円で購入しました。

ディスクコピーはEaseUS-Disk-Copy-Home-Edition 無料版を利用しましたが、DVDドライブが反応せず、DVDドライブを借用して対処しました。

http://download.cnet.com/EaseUS-Disk-Copy-Home-Edition/3000-2242_4-10867157.html 

いよいよ、アップデート

ダウンロードに1H、更新に1H

再起動を何度か繰り返して、やっと完成!!

解像度がいまいちなので、タイルのサイズが大きいです!!

今回のWIN8では、メールによる認証を行っている様です。

メールアドレスを登録すると認証メールを承認する様に依頼が来ます。


 

Microsoft アカウント

お使いのメール アドレスの確認

この Microsoft アカウントのセットアップを完了するには、この電子メール アドレスがご本人のものであることを確認する必要があります。

XXXXX@XXXX.comの確認

この要求に覚えがない場合は、ここをクリックしてして取り消してください。

サービスのご利用ありがとうございます。

Microsoft アカウント チーム

 


 

このメールをWin8で受信して確認をクリックする必要があります。

クリックすると、ソフトアップデートが開始されてます。

どうやら、メールで登録出来るのでユーザを確認する様にした模様ですね。

そしてアプリストアです。

うん、まだ登録数が少なくて残念です、調べるとストア以外にもWIn8アプリが

有りそうです。

とりあえず

Skype,google検索、evernote、TV番組表などインストールしてみました。

twitterは無かったので別な所からインストールしました。

うーんいまいち。

結局はWindowsキーの操作が画面形式になって情報表示ボードになったと言うのが

感想です。つまりたいした事無い?新しいランチャーが出来たよって感じです。

今後素晴らしいソフトが出るんですかね?

現状ではXPで十分と言う評価ですが、ウイルスチェックや今後の事を考えるとキャンペーン中にアップデートはした方が良いかと思います。

 費用一覧

Win8:    3300円

IDE-SATA: 1800円

Disk 1TB:    5300円

ーーーーーーーーーーー

      10400円

 

 

 

 


フォン FON 2405e 個人専用 ルータに 改造 する

2012-03-10 20:59:06 | Windws

FONルータはソフトバンクからiPhone購入者に3G回線圧迫の回避策として

ルータが無償配布されていますが、そのまま利用するとFON利用者は誰でも利用可能となり

悪用される可能性もあります、そこでファームを書き換えて自分専用にしてみましょう。

ただし、装置の保証はありませんし自己責任になります。

実は改造しなくてもブリッジとして利用する方法はあるようでしたが

今回は Royal Windows さんのページを参考にファームの入れ替えに挑戦してみました。

http://royalwin.blog.so-net.ne.jp/2011-12-20

当然 順風に行くはずもありませんが。

ちなみに Royal Windows さんのページは完璧でした。。失敗は私の読み込み不足です。

まずは、ルータのネジを外します、特殊ネジを外す工具を入手します

私は コーナン で購入しました

専用のドライバ 400円程度

ネジは4カ所、丸い部分を取り外すと出てきます。

次に必要なのは、シリアルポートへの接続ですが当初直接太い線を半田で付けたため

線が外れて二度と使えなくなってしまいました。

線と共にパターンが取れて使えなくなった状態です。

そこで2号機にはピンを半田しました、そして線も一時的な接続なので

わに口クリップで接続しました。

 

結線方法はRoyal Windowsを参照して欲しいと思います。

注意しないといけないのは、シリアルIFはTTLレベルでPCのRS−232Cではないこと

ここも私は勘違いしました、PCのシリアルIFに接続しましたがレベルが低すぎて文字化けしました

さらに、コマンドの受信が出来なくなってしまった模様です。

そこで、Royal Windowsでも使われてる秋月電子のシリアルーUSBインターフェースを購入しました。

そしてルータもyahooオークションで安く入手しなおし。

FT232RL USBシリアル変換モジューhttp://akizukidenshi.com/catalog/g/gK-01977/

950円

未検証ですがMAC用のドライバもHPにはありました。

シリアルIFが接続できたら電源を入れてみましょう

Teraterm などのターミナル(設定はHP見てね)に起動シーケンスが出ます。

 

起動するとターミナルに起動メッセージが表示されたらOKです
 
U-Boot 1.1.3 (Jan  6 2010 - 07:10:30)

Board: Fonera
DRAM:  32 MB
relocate_code Pointer at: 81fac000
spi_wait_nsec: 3e
spi deice id: c2 20 15 c2 20 (2015c220)
find flash: mx25l1605d
raspi_read: from:41030000 len:1000
Using default environment


 ##### The CPU freq = 320 MHZ ####

 

SDRAM bus set to 16 bit
 SDRAM size =32 Mbytes

Please choose the operation:
   1: Boot system code via Flash (default).
   2: Load system code then write to Flash via TFTP.
   3: Entr boot command line interface.

booting from flash
## Booting image at bf020000 ...
raspi_read: from:20000 len:40
   Image Name:   MIPS OpenWrt Linux-2.6.21
   Created:      2010-02-11   8:09:34 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    613723 Bytes = 599.3 kB
   Load Address: 80000000
   Entry Point:  80000000
raspi_read: from:20040 len:95d5b
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32

Starting kernel ...


LINUX started...

 THIS IS ASIC
Linux version 2.6.21 (blogic@blap4) (gcc version 4.1.2) #143 Thu Feb 11 09:09:18 CET 2010

 The CPU feqenuce set to 320 MHz
CPU revision is: 0001964c
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Built 1 zonelists.  Total pages: 8128
Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock4 init=/sbin/preinit
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
cause = 80800040, status = 1100ff00
PID hash table entries: 128 (order: 7, 512 bytes)
calculating r4koff... 0030d400(3200000)
CPU frequency 320.00 MHz
Using 160.000 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 30416k/32768k available (1689k kernel code, 2352k reserved, 186k data, 100k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Generic PHY: Registered new driver
NET: Registered protocol family 2
Time: MIPS clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
was not able to assign mahjor 200 to button chardev
ramips_gpio: done
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
io scheduler noop registered
io scheduler deadline registered (default)
ramips_wdt: loaded
Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
PPP generic driver version 2.4.2
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky 
deice id : c2 20 15 c2 20 (2015c220)
mx25l3205d(c2 20160000) (4096 Kbytes)
mtd .name = raspi, .size = 0x00400000 (4M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
ramips_mtd: kernel size is 613787
padded kernel is 00096000
Creating 6 MTD partitions on "raspi":
0x00000000-0x00010000 : "uboot"
0x00010000-0x00020000 : "boardconfig"
0x00020000-0x00200000 : "image"
0x00020000-0x000b6000 : "linux"
mtd: partition "linux" doesn't end on an erase block -- force read-only
0x000b6000-0x001f0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
mtd: partition "rootfs" set to be root filesystem
0x001f0000-0x00200000 : "uci_overlay"
Registered led device: power
Registered led device: wps
Registered led device: wlan
nf_conntrack version 0.5.0 (256 buckets, 2048 max)
IPv4 over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Linux
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear 
All bugs added by David S. Miller 
ramips: ethernet loaded
ramips_eth: loaded
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 100k freed
Warning: unable to open an initial console.
Preinit complete, spawning microd
found uci_overlay -> /dev/mtd5
i found OPENWRT_UCI_OVERLAY inside /dev/mtd5
loading file zepttho 275
loading file wireless 728
loading file user 70
loading file system 107
loading file reg 39
loading file network 473
loading file led 342
loading file lang 33
loading file form 4768
loading file fonsmcd 290
loading file fon Algorithmics/MIPS FPU Emulator v1.5
407
loading file firewall 907
loading file passwd 149
loading file chilli.conf 582
loading file whitelist 506
loading fon config
Spawning syslogd
registering led wps -> /sys/class/leds/wps/
registering led wlan -> /sys/class/leds/wlan/
registering led power -> /sys/class/leds/power/
loading base firewall ...iptables: Chain already exists
done
adding zone wannet
adding zone lan
adding zone wan
adding zone hotspotwifi
adding zone hotspot
adding forwarding lan->wan
adding forwarding hotspot->wan
interface loopback
  proto = static
  ipaddr = 127.0.0.1
  netmask = 255.0.0.0
  ifname = lo
interface lan
  proto = static
  ipaddr = 192.168.10.1
  netmask = 255.255.255.0
  ifname = eth0.1
  type = bridge
interface wan
  proto = dhcp
  ifname = eth0.2
interface hotspot
  ifname = tun0
interface hotspotwifi
  proto = none
  ifname = ra1
net event up loopback ...bringing up lo
done
net event up lan ...bringing up eth0.1
eth0.1: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device eth0.1 entered promiscuous mode
br-lan: port 1(eth0.1) entering learning state
adding br-lan to zone lan
done
net event up wan ...bringing up eth0.2
Spawning udhcpc for eth0.2
udhcpc (v0.9.9-pre) started
adding eth0.2 to zone wan
Trying to connect...
sending -> "udhcpc|deconfig|eth0.2|"
Sending discover...
done
wifi device rt305x
  type = rt305x
  channel = 11
  mode = 9
wifi interface public
  ifname = ra1
  ssid = FON_FREE_INTERNET
  encryption = none
  network = hotspotwifi
  device = rt305x
  isolate = 1
  auto = 1
wifi interface private
  ifname = ra0
  ssid = MyPlace
  encryption = wpa-wpa2
  key = 4141414141
  password = aitaidahxe
  wpa_crypto = mixed
  network = lan
  device = rt305x
  channel = 0
  mode = bgn
  txpower = 100
br-lan: topology change detected, propagating
br-lan: port 1(eth0.1) entering forwarding state
rt2860v2_ap: module license 'unspecified' taints kernel.
Sending discover...
WSending discover...
0x1300 = 00064380
bringing up rt30device ra0 entered promiscuous mode
5x ...done
br-lan: port 2(ra0) entering learning state
Terminate the task(RtmpCmdQTask) with pid(202)!
Terminate the task(RtmpWscTask) with pid(203)!
br-lan: port 2(ra0) entering disabled state
W0x1300 = 00064380
br-lan: port 2(ra0) entering learning state
Trying to connect...
sending -> "udhcpc|leasefail|eth0.2|"
br-lan: topology change detected, propagating
br-lan: port 2(ra0) entering forwarding state
bringing up private ...done
configured coova for mac 00:18:84:5F:F5:D5
Spawning dnsmasq
DHCP server is enabled
Spawning fonsmcd
Spawning zepttho
Spawning Onlined
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (bleeding edge, r3313) -------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
I booted userland in 13 seconds
System bring up complete
syslogd: Jan  1 00:00:03 udhcpc[183]: udhcpc (v0.9.9-pre) started
deconfigure eth0.2
syslogd: Jan  1 00:00:03 udhcpc[183]: Sending discover...
syslogd: Jan  1 00:00:05 udhcpc[183]: Sending discover...
syslogd: Jan  1 00:00:07 udhcpc[183]: Sending discover...
syslogd: Nov  5 20:07:16 syslog: starting onlined

syslogd: Nov  5 20:07:16 dnsmasq[208]: started, version 2.45 cachesize 150
syslogd: Nov  5 20:07:16 dnsmasq[208]: compile time options: IPv6 GNU-getopt ISC-leasefile no-DBus no-I18N no-TFTP
syslogd: Nov  5 20:07:16 dnsmasq[208]: DHCP, IP range 192.168.10.50 -- 192.168.10.250, lease time 12h
syslogd: Nov  5 20:07:16 syslog: whitelist file: /etc/fon/whitelist.dnsmasq
syslogd: Nov  5 20:07:16 dnsmasq[208]: using local addresses only for domain lan
syslogd: Nov  5 20:07:16 dnsmasq[208]: reading /tmp/resolv.conf
syslogd: Nov  5 20:07:16 dnsmasq[208]: using nameserver 192.168.1.1#53
syslogd: Nov  5 20:07:16 dnsmasq[208]: using local addresses only for domain lan
syslogd: Nov  5 20:07:16 dnsmasq[208]: read /etc/hosts - 2 addresses
syslogd: Nov  5 20:07:16 dnsmasq[208]: failed to read /etc/ethers:No such file or directory
Now serving files from /www on :80
fonsmcd[209]: (Main)  WARNING: SMC_find_boarddata: found board config /dev/mtd1ro
SMC_init(): called
fonsmcd[209]: (Main)  MESSAGE: SMC_reload()
.W.....W.....fonsmcd[209]: (Main)  WARNING: SMC_add_host: Error resolving host [cthulhu.fon.com], will try later
fonsmcd[209]: (Main)  MESSAGE: SMC_retrieve_query_data()
fonsmcd[209]: (Main)  WARNING: SMC_find_boarddata: found board config /dev/mtd1ro
wlanmac [00-18-84-5f-f5-d5]
key_number [de309e46806e70d871c6200bf473d9e94aa43baeb9df1f17074187ea7ab05dbf]
fonsmcd[209]: (Main)  WARNING: SMC_find_boarddata: found board config /dev/mtd1ro
W.....W.....W..fonsmcd[209]: (Main) CRITICAL: SMC_send_buffer: Error resolving host [cthulhu.fon.com]

.
..W..
...W.....W...fonsmcd[209]: (Main) CRITICAL: SMC_send_buffer: Error resolving host [cthulhu.fon.com]
..W..
-------
load 10656 3648 1152
ram 24068096/31248384
uptime 0 - 00:00:59
...W..
...W....fonsmcd[209]: (Main) CRITICAL: SMC_send_buffer: Error resolving host [cthulhu.fon.com]
.WSending discover...
syslogd: Nov  5 20:08:13 udhcpc[183]: Sending discover...
..Sending discover...
syslogd: Nov  5 20:08:15 udhcpc[183]: Sending discover...
..Sending discover...
syslogd: Nov  5 20:08:17 udhcpc[183]: Sending discover...
W....Trying to connect...
sending -> "udhcpc|leasefail|eth0.2|"
.W.....fonsmcd[209]: (Main) CRITICAL: SMC_send_buffer: Error resolving host [cthulhu.fon.com]
W.....W.....W.....W.fonsmcd[209]: (Main) CRITICAL: SMC_send_buffer: Error resolving host [cthulhu.fon.com]
fonsmcd[209]: (Main)  MESSAGE: TRIGGER [offline]
Trying to connect...
sending -> "hotspot|stop|"
hotspot event stop
....W.....W...
-------
load 4128 2944 800
ram 24072192/31248384
uptime 0 - 00:01:55
..W..fonsmcd[209]: (Main) CRITICAL: SMC_send_buffer: Error resolving host [cthulhu.fon.com]
fonsmcd[209]: (Main)  MESSAGE: TRIGGER [offline]
...W.....W.....W...fonsmcd[209]: (Main) CRITICAL: SMC_send_buffer: Error resolving host [cthulhu.fon.com]
fonsmcd[209]: (Main)  MESSAGE: TRIGGER [offline]
..W...Sending discover...
syslogd: Nov  5 20:09:21 udhcpc[183]: Sending discover...
.W.Sending discover...
syslogd: Nov  5 20:09:23 udhcpc[183]: Sending discover...
.Sending discover...
syslogd: Nov  5 20:09:24 udhcpc[183]: Sending discover...
...W.Trying to connect...
sending -> "udhcpc|leasefail|eth0.2|"
...fonsmcd[209]: (Main) CRITICAL: SMC_send_buffer: Error resolving host [cthulhu.fon.com]
fonsmcd[209]: (Main)  MESSAGE: TRIGGER [offline]
.W.....W.....W.....fonsmcd[209]: (Main) CRITICAL: SMC_send_buffer: Error resolving host [cthulhu.fon.com]
fonsmcd[209]: (Main)  MESSAGE: TRIGGER [offline]
W.....
-------
load 1376 2176 416
ram 24072192/31248384
uptime 0 - 00:02:52
W.....W.....W.fonsmcd[209]: (Main) CRITICAL: SMC_send_buffer: Error resolving host [cthulhu.fon.com]
fonsmcd[209]: (Main)  MESSAGE: TRIGGER [offline]
....W.....W.....W..fonsmcd[209]: (Main) CRITICAL: SMC_send_buffer: Error resolving host [cthulhu.fon.com]
fonsmcd[209]: (Main)  MESSAGE: TRIGGER [offline]
...W.....W.Sending discover...
syslogd: Nov  5 20:10:28 udhcpc[183]: Sending discover...
..Sending discover...
syslogd: Nov  5 20:10:30 udhcpc[183]: Sending discover...
..Sending discover...
syslogd: Nov  5 20:10:32 udhcpc[183]: Sending discover...
W...fonsmcd[209]: (Main) CRITICAL: SMC_send_buffer: Error resolving host [cthulhu.fon.com]
fonsmcd[209]: (Main)  MESSAGE: TRIGGER [offline]
.Trying to connect...
sending -> "udhcpc|leasefail|eth0.2|"
.W.....W.....W.
-------
load 416 1696 64
ram 24072192/31248384
uptime 0 - 00:03:48
...fonsmcd[209]: (Main) CRITICAL: SMC_send_buffer: Error resolving host [cthulhu.fon.com]
fonsmcd[209]: (Main)  MESSAGE: TRIGGER [offline]
.W.....W.....W.....fonsmcd[209]: (Main) CRITICAL: SMC_send_buffer: Error resolving host [cthulhu.fon.com]
fonsmcd[209]: (Main)  MESSAGE: TRIGGER [offline]
W.....W.....W.....W.fonsmcd[209]: (Main) CRITICAL: SMC_send_buffer: Error resolving host [cthulhu.fon.com]
fonsmcd[209]: (Main)  MESSAGE: TRIGGER [offline]
....W.....W....Sending discover...
syslogd: Nov  5 20:11:36 udhcpc[183]: Sending discover...
.W.Sending discover...
syslogd: Nov  5 20:11:38 udhcpc[183]: Sending discover...
.fonsmcd[209]: (Main) CRITICAL: SMC_send_buffer: Error resolving host [cthulhu.fon.com]
fonsmcd[209]: (Main)  MESSAGE: TRIGGER [offline]
.Sending discover...
syslogd: Nov  5 20:11:40 udhcpc[183]: Sending discover...
..W..Trying to connect...
sending -> "udhcpc|leasefail|eth0.2|"

 ファームウエアーの書き換えをします、手順はHPの通りですが実行結果のみなので

何点かコマンドを打つ必要があるので注意がいります。

最初は起動直後の2を選択する部分、ボタンを押しながら起動してボタンを話して2を押すようなので

すがここで反応しない場合もあり、はなす前に入れたりと何回かチャレンジして成功しました。

何が良かったのかは不明です??

それ以外に ポイントはIPアドレスのOK リターンキーと押す部分と

読み込むイメージファイルにあわせて書き換える必要がある点です。

以下のコンソールログに赤く色を付けた部分を参照ください。

 

U-Boot 1.1.3 (Jan  6 2010 - 07:10:30)

Board: Fonera
DRAM:  32 MB
relocate_code Pointer at: 81fac000
spi_wait_nsec: 3e
spi deice id: c2 20 15 c2 20 (2015c220)
find flash: mx25l1605d
raspi_read: from:41030000 len:1000
Using default environment


 ##### The CPU freq = 320 MHZ ####

SDRAM bus set to 16 bit
 SDRAM size =32 Mbytes

Please choose the operation:
   1: Boot system code via Flash (default).
   2: Load system code then write to Flash via TFTP.
   3: Entr boot command line interface.
reset pressed for 2 seconds

You selected 2

 0



2: System Load Linux Kernel then write to Flash via TFTP.
 Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)
 Please Input new ones /or Ctrl-C to discard
        Input device IP (10.10.10.200) ==:10.10.10.200
        Input server IP (10.10.10.3) ==:10.10.10.3
        Input Linux Kernel filename (fonita.img) ==:ralink-custom-20100813.img 
 netboot_common, argc= 3

 NetTxPacket = 0x81FE4DC0
Trying Eth0 (10/100-M)

 ETH_STATE_ACTIVE!!
Using Eth0 (10/100-M) device
TFTP from server 10.10.10.3; our IP address is 10.10.10.200
Filename 'ralink-custom-20100813.img'.

 TIMEOUT_COUNT=10,Load address: 0x80100000
Loading: Got ARP REPLY, set server/gtwy eth addr (00:30:67:39:ea:b8)
Got it
T #
 first block received
################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###############################################
done
Bytes transferred = 1900544 (1d0000 hex)
NetBootFileXferSize= 001d0000
raspi_erase_write: offs:20000, count:1d0000
raspi_erase: offs:20000 len:1d0000
raspi_write: to:20000 len:1d0000
Done!
## Booting image at bf020000 ...
raspi_read: from:20000 len:40
   Image Name:   Linux Kernel Image
   Created:      2010-08-13  12:18:23 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1898297 Bytes =  1.8 MB
   Load Address: 80000000
   Entry Point:  802a9000
raspi_read: from:20040 len:1cf739
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 802a9000) ...
## Giving linux memsize in MB, 32

Starting kernel ...


LINUX started...

 THIS IS ASIC
Linux version 2.6.21 (root@krishna-desktop) (gcc version 3.4.2) #63 Fri Aug 13 21:18:04 JST 2010

 The CPU feqenuce set to 320 MHz
CPU revision is: 0001964c
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Built 1 zonelists.  Total pages: 8128
Kernel command line: console=ttyS1,57600n8 root=/dev/ram0
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
cause = 80800000, status = 1100ff00
PID hash table entries: 128 (order: 7, 512 bytes)
calculating r4koff... 00138800(1280000)
CPU frequency 320.00 MHz
Using 160.000 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 28544k/32768k available (2410k kernel code, 4224k reserved, 309k data, 1116k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
detected lzma initramfs
detected lzma initramfs
initramfs: LZMA lc=3,lp=0,pb=2,dictSize=1048576,origSize=4492800
LZMA initramfs by Ming-Ching Tiew .....................................................................Load RT2880 Timer Module(Wdg/Soft)
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
io scheduler noop registered (default)
Ralink gpio driver initialized
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
PPP BSD Compression module registered
NET: Registered protocol family 24
AP Driver version-2.3.0.0
deice id : c2 20 15 c2 20 (2015c220)
mx25l3205d(c2 20160000) (4096 Kbytes)
mtd .name = raspi, .size = 0x00400000 (4M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
Creating 4 MTD partitions on "raspi":
0x00000000-0x00010000 : "Bootloader"
0x001f0000-0x00200000 : "Config"
0x00010000-0x00020000 : "Factory"
0x00020000-0x001f0000 : "Kernel"
nf_conntrack version 0.5.0 (256 buckets, 2048 max)
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Linux
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear 
All bugs added by David S. Miller 
GDMA1_MAC_ADRH -- : 0x00000000
GDMA1_MAC_ADRL -- : 0x00000000
Ralink APSoC Ethernet Driver Initilization. v2.00  256 rx/tx descriptors allocated, mtu = 1500!
GDMA1_MAC_ADRH -- : 0x00000018
GDMA1_MAC_ADRL -- : 0x845ff5d6
PROC INIT OK!
Freeing unused kernel memory: 1116k freed
init started: BusyBox v1.12.1 (2010-08-13 20:31:31 JST)
startAlgorithmics/MIPS FPU Emulator v1.5
ing pid 595, tty '': '/etc_ro/rcS'
devpts: called with bogus options
mount: mounting none on /proc/bus/usb failed: No such file or directory
Welcome to
     _______  _______  ___     __  ____   _  _   ___
    |  ___  \|   __  ||   |   |__||    \ | || | /  /
    | |___| ||  |__| ||   |__  __ |     \| || |/  /
    |   _   /|   _   ||      ||  || |\     ||     \
    |__| \__\|__| |__||______||__||_| \____||_|\___\

                     =System Architecture Department=

starting pid 606, tty '/dev/ttyS1': '/bin/sh'


BusyBox v1.12.1 (2010-08-13 20:31:31 JST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# . . . Commit crc = 87dad2d8
. . . internet.sh
Password for 'admin' changed
/sbin/internet.sh: line 313: insmod: not found
/sbin/internet.sh: line 314: insmod: not found
/sbin/internet.sh: line 315: insmod: not found

phy_tx_ring0 = 01f83000, tx_ring0 = a1f83000, size: 16 bytes

phy_tx_ring1 = 01f84000, tx_ring1 = a1f84000, size: 16 bytes

phy_tx_ring2 = 01f85000, tx_ring2 = a1f85000, size: 16 bytes

phy_tx_ring3 = 01f86000, tx_ring3 = a1f86000, size: 16 bytes

phy_rx_ring = 0x00000000, rx_ring = 0x00000000
RT305x_ESW: Link Status Changed
CDMA_CSG_CFG = 81000007
GDMA1_FWD_CFG = 710000
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
/sbin/internet.sh: line 319: rmmod: not found
/sbin/internet.sh: line 320: rmmod: not found
Commit crc = 7e0efb80
/sbin/internet.sh: line 329: insmod: not found
/sbin/vpn-passthru.sh: line 20: rmmod: not found
/sbin/vpn-passthru.sh: line 20: rmmod: not found
/sbin/vpn-passthru.sh: line 20: rmmod: not found
/sbin/vpn-passthru.sh: line 20: rmmod: not found
RX DESC a1fbf000  size = 2048
/dev/null 2>&1
iptables -F -t filter 1>/dev/null 2>&1
iptables -D FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -F macipport_filter 1>/dev/null 2>&1
iptables -D FORWARD -j web_filter  1>/dev/null 2>&1
iptables -F web_filter  1>/dev/null 2>&1
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t filter -N web_filter 1>/dev/null 2>&1
iptables -t filter -N macipport_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j web_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1>/dev/null 2>&1
iptables -A INPUT -i eth2.2 -p tcp --dport 80 -j DROP
iptables -t nat -D PREROUTING -j port_forward 1>/dev/null 2>&1
iptables -t nat -F port_forward  1>/dev/null 2>&1; iptables -t nat -X port_forward  1>/dev/null 2>&1
iptables -t nat -D PREROUTING -j DMZ 1>/dev/null 2>&1
iptables -t nat -F DMZ 1>/dev/null 2>&1; iptables -t nat -X DMZ  1>/dev/null 2>&1
iptables -t nat -N port_forward 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 1 -j port_forward 1>/dev/null 2>&1
iptables -t nat -N DMZ 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 2 -j DMZ 1>/dev/null 2>&1
ntp.sh
ddns.sh
route delete 239.255.255.250 1>/dev/null 2>&1
killall wscd 1>/dev/null 2>&1
killall -9 wscd 1>/dev/null 2>&1
iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1
killall -q klogd
killall -q syslogd
syslogd -C8 1>/dev/null 2>&1
klogd 1>/dev/null 2>&1
killall -q zebra
killall -q ripd
/bin/qos_run
webs: Listening for HTTP requests at address 10.10.10.254
br0: topology change detected, propagating
br0: port 2(eth2.1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(ra0) entering forwarding state
killall -q -USR1 udhcpd
・
 書き換えが終わったら 10.10.10.254 にアクセスして以下の画面が出ればOK
 
 
ちなみにWiFi設定はOFFになっていて
設定変更の度に再起動が行われま
 
 
 
 
 
 
設定を変更する度に再起動が走りますが、内容によってはエラーに成る場合があります。
コンソールを繋げていないと解りません
webs: Listening for HTTP requests at address 10.10.10.254
br0: topology change detected, propagating
br0: port 2(eth2.1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(ra0) entering forwarding state
ShowMeshState: ioctl -> OID_802_11_MESH_LIST error !
 
動作がおかしかったら再起動してみたほうが良いと思います。
LAN側の設定は勝手にされますのですが
WiFiは初期設定でOFFとなっているので、個別に設定が必要です。
スピードの参考値です。
 
 
 

 
 
 
 

ノートPCのディスク交換 SONY VGN-FE90S その2

2011-05-07 22:29:16 | Windws

ここからは、パーティションの拡張について記します

 

5.パーティションマスターをインストールください

Easeus Partition Master Home Edition

http://download.cnet.com/Easeus-Partition-Master-Home-Edition/3000-2248_4-10863346.html

これはWindowsソフトになります。

 

6.ソフトの起動

コピー直後なので後半が空きです

マウスでエリアの境界を移動させてDドライブの領域を拡張します

その後、Dドライブの先頭をマウスで右に移動させて空き領域を作ります

そして、マウスでCドライブの後ろをDの先頭まで移動させてCを拡張します

 

そして確定のため左上のGeneralメニューのApplychangesを選択します。

確認画面でOKを押下

 

そして再起動がかかり、その際の実行画面

実行完了後の画面

 

開き領域が設定道理に拡張しました

お疲れ様

 

 

 


ノートPCのディスク交換 SONY VGN-FE90S

2011-05-07 21:11:58 | Windws

購入してから相当経過した VAIO FE90Sですが、表面には「Windows Vista Capable」など時代を感じさせます。

がまだまだ現役で活躍してほしいので、懸案のCドライブ拡張のためにDisk交換をこの連休に企画しました。

流石にSSDはまだ同じ80GBで6千円程度とDiskに比べて高価なので容量UPを目指します。

現状搭載されているのがFUJITSU製 MHV2080BH (80G 9.5mm)  Serial ATA150 5400 rpm

購入したのが 日立の HTS723232A7A 320GB SATA2 7400rpm SATAは下位互換です

【全体の作業】

コピープログラムを探しましたが、結局 DVDへの書き出しが可能なソフトが探せなかったので

別のディスクトップPCでコピーを行い、その後パーティションの拡大を行うと言う計画にしました。

ソフトは無料の下記のソフトを利用させていただきました。

Easeus EASEUS Disk Copy

Easeus Partition Master Home Edition

0.Easeus EASEUS Disk Copy起動デスクの作成

http://www.easeus.com/disk-copy/download.htm

ここからソフトをコピーしてください、そして画面にしたがってDVDを作成してください。

(すいません画像記録忘れてました)


1.デスクを取り出します。

これはすごく簡単ですネジを2本外して蓋を外します。

2.ディスクの外し

さらに中の2本のネジを外して右にスライドさせてコネクタを外します。

 

3.コピー用のPC(SATA2台接続可能)なPC

これに2台のDiskを接続します。

そして、0で作成したEaseus EASEUS Disk Copy で起動します。

この辺まではリターンキーでOKです

そしてDiskCopyを選択します

接続されているDiskが表示されます。

必要なもの以外は電源コネクタを外しておくと良いです

そして、コピー元の選択します。そしてNEXT


コピー先を選択します、未フォーマットな状態ですそしてNEXT

二つのディスクが表示されてますそしてNEXT

確認の画面でOK

コピー中の画面


完了時の画面、70GBで約1時間

ここで一息、ホームセンタへ


4.ノートPCに接続して起動確認

新しいだけに健全な状態

ちなみにソフトは HDD HELTH 無料

http://www.panterasoft.com/

何時もは赤い表示のSMARTもこんな感じ

 

起動を確認した後でパーティションの拡張!!

 

長くなったので、ここからは別ページに