Quantcast
Channel: Tomato Firmware
Viewing all articles
Browse latest Browse all 11025

How to build a PPPD plugin from C code for TOMATO ?

$
0
0
My ISP encode the pppoe user name into some acsii which can't be input by keyboard.

So I made a pppd plugin to change the user name when dialing.

It works fine on Desktop UBUNTU , Raspberry PI and a route running openwrt.

Then I tried to cross compile it for a route running tomato-K26USB-1.28.RT-N5x-MIPSR2-123-AIO.

Compile done , put the .so file into route , modify the pppd config file , then tried "pppd file /jffs/wanoptions" .

I got a Segmentation fault.

Code:
root@unknown:/jffs#...
How to build a PPPD plugin from C code for TOMATO ?

Viewing all articles
Browse latest Browse all 11025

Trending Articles