[ previous ] [ next ] [ threads ]
 From:  "Jason Crowley" <jcrowley at kc dot rr dot com>
 To:  "'Zhuang Yuyao'" <zhuangyy at netease dot com>, "'mono wall'" <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall] unable to open net45xx-1.0-webproxy.img (image file damaged?)
 Date:  Wed, 23 Jun 2004 11:42:18 -0500
I tried the download and it didn't work for me either.  I put a new copy
of the image file on the web site.  Try the download again, and it
should work.  -Jason

-----Original Message-----
From: Zhuang Yuyao [mailto:zhuangyy at netease dot com] 
Sent: Wednesday, June 23, 2004 8:38 AM
To: mono wall
Subject: [m0n0wall] unable to open net45xx-1.0-webproxy.img (image file

Hi All,

ref link:

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 appreciated.


        Zhuang Yuyao
        zhuangyy at netease dot com