Jason Lin wrote:
> First one is to back up my kernel sources. How can I do that?
You don't have any kernel sources - ergo, you can't back them up.
> Second one is to apply the VPN Masquerade patch to my kernel.
> The steps are:
>
> a. Change to the source directory: cd /usr/src (I don't have
> problem with this one) b. Apply the patch: zcat
> ip_masq_vpn.patch.gz | patch -l -p0 > vpn-patch.log
> 2>&l
>
> There is an error saying that the pipe is broken. I think the
> problem came from the "patch". I cannot find
> "patch" command in my e-smith server.
It depends which version of the e-smith server/gateway you have whether the patch command is included. But whether it is included or not, you will still have a problem - you don't have linux kernel source, ergo, you can't patch it. And even if you could, you don't have the make command, you don't have a compiler, etc, etc.
The e-smith server and gateway is a server and gateway, and not a software development system. E-smith recommends that you use a RedHat workstation for software development. It is *possible* to add all
the required software to an e-smith system, but it is almost certainly not worth the trouble.
> If anyone have successsfully applied any patch to e-smith
> server, please give me some help. Thanks!
I know that Fran Boon did some work on that. Have a look at
http://www.partyvibe.com/e-smith/ and see if anything there helps you.
Charlie