OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> tun modules fpr Kernel 2.4.18 on OZ
post Feb 26 2004, 02:44 AM
Post #1





Group:
Posts: 0
Joined: --
Member No.: 0



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
Go to the top of the page
 
+Quote Post
lardman
post Feb 26 2004, 03:00 AM
Post #2





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



Give me a link to the module source and I'll try it this evening.

Si
Go to the top of the page
 
+Quote Post
post Feb 26 2004, 07:45 AM
Post #3





Group:
Posts: 0
Joined: --
Member No.: 0



I'm sorry, but that seems to be part of my problem: I don't know where to get that kernel-source from sad.gif

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/. 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 smile.gif

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
Go to the top of the page
 
+Quote Post
lardman
post Feb 26 2004, 08:07 AM
Post #4





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



The binary isn't in the kernel source I don't think. It's probably in the OpenVPN source.


Si
Go to the top of the page
 
+Quote Post
lardman
post Feb 26 2004, 08:08 AM
Post #5





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



http://vtun.sourceforge.net/tun/

I'll have a go this evening.

Si
Go to the top of the page
 
+Quote Post
lardman
post Feb 26 2004, 12:51 PM
Post #6





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



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
Go to the top of the page
 
+Quote Post
lardman
post Feb 26 2004, 12:52 PM
Post #7





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



Er, attachment disappeared. He we go again.

extension.o is not allowed....
Go to the top of the page
 
+Quote Post
post Feb 27 2004, 05:23 AM
Post #8





Group:
Posts: 0
Joined: --
Member No.: 0



Hi,

thanks for your help!
Seems like the BB has Problems with the attachment sad.gif i can't see a download link.
Could you mail me the file? The address is: rainer_at_linlab_dot_de

Big Thanks,
Rainer
Go to the top of the page
 
+Quote Post
Rainer
post Feb 28 2004, 05:44 AM
Post #9





Group: Members
Posts: 1
Joined: 28-February 04
Member No.: 2,060



For the archive:

I got it working using the tun-module found in 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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 14th September 2014 - 08:04 PM