Sponsored Content
Operating Systems Linux [SOLVED] Trouble adding Tun module Post 302828983 by dpreviti on Wednesday 3rd of July 2013 04:39:22 PM
Old 07-03-2013
[SOLVED] Trouble adding Tun module

So I have Ubuntu running on a sheevaplug develop kit, but the damn kernel thing doesn't come with /dev/tun enabled. It was suggested that I look into using module assistant to compile & get this set up but I'm having issues.
Linux ubuntu 2.6.39.4 #2 PREEMPT Fri Aug 5 19:05:11 MDT 2011 armv5tel GNU/Linux
edit: I Updated the Kernel!
Linux 3.8.8 #3 PREEMPT Wed Apr 17 04:31:18 MDT 2013 armv5tel GNU/Linux

Using this page
Building Kernel Modules With Module-Assistant On Debian Lenny | HowtoForge - Linux Howtos and Tutorials
Code:
#m-a prepare

installs about 16 things.
Done!

#sudo ma-update

.....................................................................................
Updated infos about 85 packages

#cat /sources.list
deb Index of /ubuntu jaunty main restricted universe multiverse
deb Index of /ubuntu jaunty-updates main restricted universe multiverse
deb Index of /ubuntu jaunty-security main restricted universe multiverse
deb-src Index of /ubuntu jaunty main restricted universe multiverse
deb-src Index of /ubuntu jaunty-updates main restricted universe multiverse
deb-src Index of /ubuntu jaunty-security main restricted universe multiverse

#update
More downloads,
done!

#sudo m-a a-i tun
tun, what is tun?

sudo m-a list
ABBREVIATED FOR SPACE!
rt2400-source 
rt2500-source 
rt2570-source 
rtai-source 
sl-modem-source 
squashfs-source 
sysprof-module-source 
virtualbox-ose-source
zaptel-source

Being that the plug is a embeded platform I realize this is an older kernel & dist but Is there anyway I can do this?
Thanks!

Last edited by dpreviti; 07-04-2013 at 06:32 PM.. Reason: updated kernel version
 

10 More Discussions You Might Find Interesting

1. Linux

How to convert Linux Kernel built-in module into a loadable module

Hi all, I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/. I need to know if I can... (0 Replies)
Discussion started by: anitemp
0 Replies

2. Solaris

Solaris 10 crashes upon boot after TUN driver installed

Hey! I compiled TUN 1.1 driver on my Solaris 10 64bit, and everything was working fine, all the commands for installation were successfull (add_drv, devfsadm -i tun ... etc.) and the driver was working fine as I got OpenVPN server up and running with successful clients attached. My only problem... (2 Replies)
Discussion started by: TomSu
2 Replies

3. IP Networking

iptables specific ip routing via tun

hi guys! I was searching few days for a solution to my problem but haven't found one or I'm too dumb to understand. Here's what happened: I have a linux server used as a router. It has an eth0 and eth1 (local interface). I just installed openvpn (I need it only as a client), I configured it and... (0 Replies)
Discussion started by: shamora
0 Replies

4. UNIX for Dummies Questions & Answers

[Solved] Adding time stamp to file name

I have the awk awk -F\* '$1=="ST",$1=="SE"{if($1=="ST"){close(f);f="sample" ++i} ; $1=$1; print>f}' OFS=\| <filename> How to add the time stamp to the file name mentioned as "sample" Please view this code tag video for how to use code tags when posting code and data. (6 Replies)
Discussion started by: atlantis_yy
6 Replies

5. Shell Programming and Scripting

[Solved] adding email option to KSH

Hi, I wanted to add a email option to this script. and was wondering if anyone could help me out. #!/bin/ksh echo "Finding hdisk" <DIR>/find-disk i=1 b=0 p=0 while ... (2 Replies)
Discussion started by: vpundit
2 Replies

6. HP-UX

[Solved] Adding a column.

Hi, Please see the output below. CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND 0 ? 92 root 152 20 144K 128K run 667:31 1.85 1.85 fcachedaemon 22 ? 10957 patrol 154 30 68036K 35704K sleep 571:43 1.53 1.53 PatrolAgent 0... (22 Replies)
Discussion started by: mohtashims
22 Replies

7. Shell Programming and Scripting

[Solved] Password query even after adding public key

Dears I am running a shell script to backup (transfer) files to a networked External HDD. Even though the public key has been added it still asks for the password before starting the transfer. Any suggestions? Thanks in advance. (8 Replies)
Discussion started by: BrownBob
8 Replies

8. Hardware

[solved] Sun Netra X1 - Adding a Second Hard Drive

As the title suggests, I'm trying to install a second drive (really want an OS mirror) on a Sun Netra X1. I've taken the spacer out, and had a go at with the drill-press so now I have a nice HDD tray. Have installed an IDE drive in the tray, plugged in the power and data cables that were... (0 Replies)
Discussion started by: Smiling Dragon
0 Replies

9. UNIX for Dummies Questions & Answers

[Solved] Having trouble with simple grep search

I have a text file (allWords.txt), that I would like to search through. Here is a snippet of what it looks like... a aah aahed aahing aahs aardvark aardvarks aardwolf ab abaci aback abacus abacuses abaft ...... I would like to use the grep search to search, line by line, for... (8 Replies)
Discussion started by: blackvelvet
8 Replies

10. Linux

Unable to connect guest VM to internet (QEMU via both 'User-mode networking' and 'TUN/TAP')

Hello, I installed FreeBSD 10.3 on AQEMU. I can't connect to internet in none of the modes of "Default, User-Mode Networking" and "TUN/TAP Networking". I am able to ping my host in the TAP networking mode (192.168.1.33 which is my IP addr in guest), but getting 'no route to host' for any... (1 Reply)
Discussion started by: temp-usr
1 Replies
ipsecah(7P)							     Protocols							       ipsecah(7P)

NAME
ipsecah, AH - IPsec Authentication Header SYNOPSIS
drv/ipsecah DESCRIPTION
The ipsecah module (AH) provides strong integrity, authentication, and partial sequence integrity (replay protection) to IP datagrams. AH protects the parts of the IP datagram that can be predicted by the sender as it will be received by the receiver. For example, the IP TTL field is not a predictable field, and is not protected by AH. AH is inserted between the IP header and the transport header. The transport header can be TCP, UDP, ICMP, or another IP header, if tun- nels are being used. See tun(7M). AH Device AH is implemented as a module that is auto-pushed on top of IP. The entry /dev/ipsecah is used for tuning AH with ndd(1M). Authentication Algorithms Current authentication algorithms supported include HMAC-MD5 and HMAC-SHA-1. Each authentication algorithm has its own key size and key format properties. You can obtain a list of authentication algorithms and their properties by using the ipsecalgs(1M) command. You can also use the functions described in the getipsecalgbyname(3NSL) man page to retrieve the properties of algorithms. Security Considerations Without replay protection enabled, AH is vulnerable to replay attacks. AH does not protect against eavesdropping. Data protected with AH can still be seen by an adversary. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsr | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
ipsecalgs(1M), ipsecconf(1M), ndd(1M), attributes(5), getipsecalgbyname(3NSL), tun(7M), ip(7P), ipsec(7P), ipsecesp(7P) Kent, S. and Atkinson, R.RFC 2402, IP Authentication Header, The Internet Society, 1998. SunOS 5.10 20 May2003 ipsecah(7P)
All times are GMT -4. The time now is 07:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy