OESF Portables Forum
Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Linux Issues => Topic started by: Anonymous on February 26, 2004, 05:44:33 am
-
Hi,
i have a problem regarding the tun modules for my Zaurus SL5500.
I installed OZ 3.3.5 with Opie 1.0.2.
Doing a \"uname -a\" it says: Linux Openzaurus 2.4.18-rmk7-pxa3-embedix.
As i am using OpenVPN at home to secure my wireless LAN Connection i need a working tun-module to get my Zaurus into the net. All i found yet where modules for the Kernel 2.4.6, wich don\'t work with my version of the kernel.
My Question: Does anybody have a hint for me on how to get appropriate tunnel-device modules for that Kernel? Or any hints/links on cross-compiling them myself on my Workstation-PC?
Big thanks in advance!
regards, Rainer
-
Give me a link to the module source and I\'ll try it this evening.
Si
-
I\'m sorry, but that seems to be part of my problem: I don\'t know where to get that kernel-source from
This is what i tried: I downloaded a Vanilla linux-2.4.18 kernel from kernel.org. Then tried to patch that source with patch-2.4.18-rmk7.bz2 from ftp://ftp.arm.linux.org.uk/pub/armlinux/s...l-patches/v2.4/ (http://ftp://ftp.arm.linux.org.uk/pub/armlinux/source/kernel-patches/v2.4/). That didn\'t seem to work, as patch did not output anything and simply stalled. I tried to compile the module with arm-linux-gcc, but i only produced a long list of warnings and error (regarding type-mismatches for example).
I\'m quite new to Zaurus and cross-compiling in general, so probably i did it the totally wrong way
What i found out is, that the 2.4.18-kernel on my Z seems to be a Sharp one, integradet into OpenZaurus. Well, i dont have an clue where to get the sources of that (modified?) Sharp-Kernel. A precompiled binary would do the job perfectly, too. So i anybody can point me to a site where i can find some information on this topic it would help me a lot.
bye, Rainer
-
The binary isn\'t in the kernel source I don\'t think. It\'s probably in the OpenVPN source.
Si
-
http://vtun.sourceforge.net/tun/ (http://vtun.sourceforge.net/tun/)
I\'ll have a go this evening.
Si
-
It was a bit of a hack job to get this to compile so I don\'t know whether it\'ll work. Have a go and tell me what happens.
Si
-
Er, attachment disappeared. He we go again.
extension.o is not allowed....
-
Hi,
thanks for your help!
Seems like the BB has Problems with the attachment i can\'t see a download link.
Could you mail me the file? The address is: rainer_at_linlab_dot_de
Big Thanks,
Rainer
-
For the archive:
I got it working using the tun-module found in http://www.liebchen-online.de/kmodc7x0.tgz (http://www.liebchen-online.de/kmodc7x0.tgz).
It was originally made for sl-c760 but works for sl-5500, too.
I simply copied tun.o from that archive to /lib/modules/(kernel-ver)/net
and then created a device-file:
mkdir /dev/net
mknod /dev/net/tun c 10 200
After a \"depmod -a\" and \"modprobe tun\" OpenVPN worked fine.
Regards, Rainer