[ previous ] [ next ] [ threads ]
 From:  "Zhuang Yuyao" <zhuangyy at netease dot com>
 To:  "mono wall" <m0n0wall at lists dot m0n0 dot ch>
 Subject:  unable to open net45xx-1.0-webproxy.img (image file damaged?)
 Date:  Wed, 23 Jun 2004 21:38:06 +0800
Hi All,

ref link: http://m0n0.ch/wall/list/?action=show_msg&actionargs[]=55&actionargs[]=77 

Thanks to Jason Crowley for his work on web-proxy module. now I want to try it on my gateway server.
(who cares about CF while using a PC server :-). First I have to extract the .php files, then merge
them into m0n0wall 1.1b which is currently running on my gateway. but the operation's failed, here
is what I have done:

freebsd#fetch http://home.kc.rr.com/innonet/net45xx-1.0-webproxy.img

freebsd# ls -l net45xx-1.0-webproxy.img 
-rw-r--r--  1 root  wheel  4558316 May 18 06:27 net45xx-1.0-webproxy.img

freebsd# gzcat net45xx-1.0-webproxy.img | dd of=x.img bs=16k
gzcat: net45xx-1.0-webproxy.img: unexpected end of file (<------------ ??????)
324+0 records in
324+0 records out
5308416 bytes transferred in 0.286804 secs (18508866 bytes/sec)

freebsd#mdconfig -a -f x.img -u 0
freebsd#mount /dev/md0 /mnt
freebsd# ls -l /mnt
total 4634
drwxr-xr-x  3 root  wheel      512 Apr 23 01:38 boot/
drwxr-xr-x  2 root  wheel      512 May 18 05:33 conf/
-rwxr-xr-x  1 root  wheel   974206 Apr 28 18:36 kernel.gz*
-rw-r--r--  1 root  wheel  3747462 May 18 05:33 mfsroot.gz

freebsd# cp /mnt/mfsroot.gz /root
cp: /root/mfsroot.gz: Bad address

the mfsroot.gz can not be copied! Is there anyone who had tried this module and any advice will be