Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi,
I have been searching for a way to run pptp client on the dns-323. Apparantly the kernel on 1.08 firmware is too old and doesn't have mppe compiled in. I also can't seem to find anywhere the mppe module or instructions on how to build it.
Is there a way to upgrade the kernel to something above 2.6.16. I read that is the version that has mppe support compiled in by default. If anyone can help build the mppe module, that would also work for me.
thank in advance
p.s. i am running a chrooted debian if that helps in any way. though I see that it doesn't load its own kernel but piggy backs on the firmware's one.
Offline
Thanks that looks like a start, but I don't see the encryption module "mppe".
Also, when I copied the *.ko files to /lib/modules and I try to install some of them I get a symbols error.
/lib/modules # insmod pppoe.ko insmod: cannot insert 'pppoe.ko': unknown symbol in module
any ideas? sorry I am not very familiar with modules
thanks
Offline
gorbunok wrote:
I copied the *.ko files to /lib/modules and I try to install some of them I get a symbols error.
Code:
/lib/modules # insmod pppoe.ko insmod: cannot insert 'pppoe.ko': unknown symbol in moduleany ideas? sorry I am not very familiar with modules
There are 2 possibilities, the module is not compatible with your kernel, or it is dependent on other module(s). If you copied the modules to /lib/modules/<your-kernel-version>, run (as root) 'depmod -A', this will create a database /lib/modules/<your-kernel-version>/modules.dep, containing the modules dependencies.
Then load the module using modprobe <module>, and it will load all the needed modules.
Offline
is it expected that there is no "/lib/modules/2.6.12.6-arm1" on the dns-323? i do see 3 modules under the "/lib/modules/".
i created the "/lib/modules/2.6.12.6-arm1" and copied over the *.ko files. then ran `depmod -A` which did create the modules.dep file.
but I still get an error when I try to load.
/lib/modules/2.6.12.6-arm1 # modprobe pppoe.ko modprobe: /etc/modprobe.d: No such file or directory modprobe: module pppoe.ko not found
thanks
Offline
actually i was able to load some modules when I tried all this via the chrooted debian. However the ppp_async doesn't seem to work.
FATAL: Error inserting ppp_async (/lib/modules/2.6.12.6-arm1/ppp_async.ko): Unknown symbol in module, or unknown parameter (see dmesg)
can this be due to wrong version of the kernel. It seems modules were compiled for firmware 1.08. maybe it was a different kernel back then?
Offline
is it expected that there is no "/lib/modules/2.6.12.6-arm1" on the dns-323? i do see 3 modules under the "/lib/modules/
Could be. I don't know the DNS-323, but it is possible that there are very few modules, which are loaded using insmod. Modprobe looks at /lib/modules/<kernel-version> (btw, if you are using ffp, I think the ffp version of modprobe looks at /ffp/lib/modules/<kernel-version>).
i created the "/lib/modules/2.6.12.6-arm1" and copied over the *.ko files.
Did you copy only a few modules, ore did you copy all? I suggest you to download the complete tarball and untar it in /lib/modules/<kernel-version>. depmod can only find dependencies in the provided modules. Maybe ppp_async is dependend on an unexpected module.
modprobe: /etc/modprobe.d: No such file or directory
I suppose you can just create this directory to suppress the warning.
(see dmesg)
That's reasonable.
can this be due to wrong version of the kernel. It seems modules were compiled for firmware 1.08. maybe it was a different kernel back then?
Maybe. dmesg could tell more.
Offline
Thanks for all your help.
I copied all the files in the tar ball. So I don't think it has to do with missing modules.
I don't see any messages in dmesg at all. Any ideas?
Any way to recompile these modules for 1.08 firmware? Do you know where to get instructions on how to do it?
I also saw that ffp-reloaded package can load another kernel version without overwriting the firmware. the alt-f1 uses that if I understand it correctly. Do you know know how that is done? I can't seem to find any docs.
Thanks
Offline
gorbunok wrote:
Any way to recompile these modules for 1.08 firmware? Do you know where to get instructions on how to do it?
The only place I'm aware of is here.
I also saw that ffp-reloaded package can load another kernel version without overwriting the firmware. the alt-f1 uses that if I understand it correctly. Do you know know how that is done? I can't seem to find any docs.
You can load the kernelmodule reloaded.ko, and add some parameters:
/sbin/insmod reloaded.ko machtype=nnn kernel=MyKernel initrd=MyInitrd cmdline="root=/dev/sda1 init=/linuxrc"
The box will reboot, using the provided kernel, initrd, cmdline and machtype. You can omit initrd, cmdline and machtype.
This gives you the possibility to boot any kernel with any rootfs.
Of course you have to be careful, the box will reboot instantly, so if you have any changes in a filesystem which are not yet flushed to disk, you will have disk corruption. You'd better remount all disks readonly, and if that's not possible you should at least call 'sync' before rebooting.
Offline
I was able to load all modules by using insmod command in appropriate order:
In addition to all modules in net directory, you will need zlib_deflate and crc_ccitt
Here is lsmod:
Module Size Used by Not tainted
ppp_async 9632 0
crc_ccitt 1696 1 ppp_async
ppp_deflate 5056 0
zlib_deflate 25408 1 ppp_deflate
pppoe 11488 0
pppox 2824 1 pppoe
bsd_comp 5536 0
tun 9216 0
ppp_synctty 8320 0
ppp_generic 26932 6 ppp_async,ppp_deflate,pppoe,pppox,bsd_comp,ppp_synctty
mii 4640 0
eql 5220 0
dummy 2340 0
slhc 6304 1 ppp_generic
lltd 43072 0
usblp 10976 0
sd_mod 14484 10
Offline