PPP and HiJack

Posted by: gbsallery

PPP and HiJack - 07/06/2002 16:51

Hi,

I might be missing something really obvious here (it's happened before!), but is there any way to get pppd working with a HiJack kernel? I like the Hijack features (so I don't want to go back to vanilla kernels), but I'd also like to get my iPaq talking to the empeg so ppp would be good. Anybody got any pointers?

Cheers,

Gavin
Posted by: mlord

Re: PPP and HiJack - 08/06/2002 04:34

PPP is not enabled in the vanilla kernels, either.

Just grab the Hijack sources and toolchain, reconfigure and rebuild your own custom hijack'd kernel with CONFIG_PPP=y.

-ml
Posted by: gbsallery

Re: PPP and HiJack - 09/06/2002 04:07

Thanks for that; I knew that the vanilla kernels didn't have PPP either but I wasn't being clear enough :-)

I've got the toolchain, sources and patches, and I've edited the config file. Now what? The usual make dep; make; make modules?

Thanks,

Gavin
Posted by: mlord

Re: PPP and HiJack - 09/06/2002 06:23

export PATH="/usr/local/armtools-empeg/bin:$PATH"
make oldconfig && make dep && make clean && make bzImage
Posted by: gbsallery

Re: PPP and HiJack - 09/06/2002 08:47

Hmm; tried that - it makes sense up until "make bzImage", which gives me:

make: *** No rule to make target `bzImage'.  Stop.


A make zImage in the same place gives errors compiling kftpd.c

Any ideas what I'm doing wrong? Thanks for your help on this, by the way - if you've got something better to do today then don't consider this urgent! :-)

Cheers,

Gavin
Posted by: mlord

Re: PPP and HiJack - 09/06/2002 09:13

Oh, my apologies: make zImage

instead of make bzImage (which is what I use everywhere else..)

When it finishes, the file arch/arm/boot/zImage is your new Hijack kernel.

Cheers
Posted by: mlord

Re: PPP and HiJack - 09/06/2002 09:16

I do NOT get errors compiling kftpd.c with make zImage.

Oh wait.. missed a step (I have scripts to remember/do all of this for me..). Let's try again:

export PATH="/usr/local/armtools-empeg/bin:$PATH"
cp arch/arm/def-configs/empeg-car2 .config
make oldconfig && make dep && make clean && make zImage
cp arch/arm/boot/zImage my.kernel.zImage


Cheers

-ml
Posted by: gbsallery

Re: PPP and HiJack - 09/06/2002 09:45

Thanks very much; that compiles smoothly, so I'll play with PPP now. Thanks again!

Gavin
Posted by: mlord

Re: PPP and HiJack - 09/06/2002 10:23

You're welcome.

And you're welcome on board, too!