Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tunctl(8) [debian man page]

TUNCTL(8)						      System Manager's Manual							 TUNCTL(8)

NAME
tunctl -- create and manage persistent TUN/TAP interfaces SYNOPSIS
tunctl [-f tun-clone-device] [-u owner] [-t device-name] tunctl [-f tun-clone-device] -d device-name DESCRIPTION
This manual page documents briefly the tunctl command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it has documentation in HTML format; see below. tunctl allows the host sysadmin to preconfigure a TUN/TAP device for use by a particular user. That user may open and use the device, but may not change any aspects of the host side of the interface. USAGE
To create an interface for use by a particular user, invoke tunctl without the -d option: # tunctl -u someuser Set 'tap0' persistent and owned by 'someuser' Then, configure the interface as normal: # ifconfig tap0 192.168.0.254 up # route add -host 192.168.0.253 dev tap0 # bash -c 'echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp' # arp -Ds 192.168.0.253 eth0 pub To delete the interface, use the -d option: # tunctl -d tap0 Set 'tap0' nonpersistent SEE ALSO
The UserModeLinux-HOWTO (link to URL http://user-mode-linux.sourceforge.net/UserModeLinux-HOWTO.html) AUTHOR
tunctl was written by Jeff Dike jdike@karaya.com This manual page was written by Matt Zimmerman mdz@debian.org for the Debian GNU/Linux system, based on examples from Jeff Dike. TUNCTL(8)

Check Out this Related Man Page

UML_MKCOW(1)						      General Commands Manual						      UML_MKCOW(1)

NAME
uml_mkcow -- create a new COW file SYNOPSIS
uml_mkcow [-f] [COW_file] [backing_file] DESCRIPTION
This manual page documents briefly the uml_mkcow command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it has documentation in HTML format; see below. uml_mkcow is a small utility to create COW (Copy-On-Write) files without the need to run the full UML kernel. NOTE: you can save a lot of disk space using COW files. When checking the size of the COW file in order to see the gobs of space that you're saving, make sure you use 'ls -ls' to see the actual disk consumption rather than the length of the file. The COW file is sparse, so the length will be very different from the disk usage. OPTIONS
-f Force overwrite of an exsiting COW file. EXAMPLES
Create a new COW file: uml_mkcow rootfs_COW rootfs Overwrite (destroying) an existing COW file: uml_mkcow -f rootfs_COW rootfs SEE ALSO
The UserModeLinux-HOWTO (link to URL http://user-mode-linux.sourceforge.net/UserModeLinux-HOWTO.html) AUTHOR
uml_mkcow was written by Steve Schnepp. This manual page was written by Mattia Dongili malattia@debian.org for the Debian GNU/Linux system, based on material in the UserModeLinux- HOWTO by Rusty Russell. UML_MKCOW(1)
Man Page

13 More Discussions You Might Find Interesting

1. Linux

OTRS instance

hi frnds here i m trying to configure OTRS instance but i m getting the following error message while runnning through browser. I m writing the following http://192.168.1.55:8080/otrs2/index.pl " #!/usr/bin/perl -w... (7 Replies)
Discussion started by: naik_mit
7 Replies

2. Shell Programming and Scripting

need one liner to edit this text...

# cat test mpath0:253:8:L--w:0:1:2:mpath-2000b080008002158 mpath19:253:7:L--w:0:1:1:mpath-2000b080013002158 mpath21:253:9:L--w:0:1:0:mpath-2000b080015002158 mpath18:253:6:L--w:0:1:1:mpath-2000b080012002158 mpath12:253:1:L--w:0:1:2:mpath-2000b080009002158 # The above is the i/p and the... (3 Replies)
Discussion started by: ilan
3 Replies

3. UNIX for Dummies Questions & Answers

Inconsistency... Thy Name is "Password"

Hi All, Here's a flummoxer... I have 2 E450s (still! yes, I know), on one if I run the command: useradd -d /export/home/someuser-m -s /bin/ksh -c "Regular User Account" someuser ...it creates a userid with the home dir where I expected it. On the other box if I run exactly the same... (3 Replies)
Discussion started by: geralex2
3 Replies

4. Debian

apache problem

hi all, I can't get my index.html to display on the web browser. Please point it out the reason. this is what i had done so far: 1. I have registered a dns name pointing to my public ip (it is done automatic) 2. my server name is set same as the dns name 3. I have configured... (14 Replies)
Discussion started by: k2k
14 Replies

5. Solaris

why telnet from PC to Solaris x86 is extremely slow?

I got the following info from this forum, in regards to configuring my Solaris x86 to link to the Net: # echo 192.168.0.1 > /etc/defaultrouter # route add default 192.168.0.1 # echo nameserver 192.168.0.1 >> /etc/resolv.conf # cp /etc/nsswitch.dns /etc/nsswitch.conf So I did... (1 Reply)
Discussion started by: newbie09
1 Replies

6. What is on Your Mind?

Spark of Insanity - Worlds Best Ventriloquist

Hilarious! :D enjoy Jeff Dunham and Peanut Pt1 tz3iYkAaodQ Jeff Dunham and Peanut Pt2 TCNa63yRTgI Jeff Dunham and Peanut Pt3 lJ_AfNJ1jG4 Jeff Dunham and Melvin the superhero HLtxuQGBxoY (0 Replies)
Discussion started by: sparcguy
0 Replies

7. Hardware

Linux Hardware Compatibility Guide (2007 HOWTO)

Before posting questions about Linux hardware, it is a good idea to check the Linux Hardware HOWTO guide (Last Update: 2007-05-22) However, this HOWTO has not been maintained since 2007 and it out-of-date. (0 Replies)
Discussion started by: Neo
0 Replies

8. IP Networking

Need a bridge from an ethernet interface to a serial interface

This is my situation DOS pc serial cable (sl0) Linux Pc eth1 192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router) I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface. ... (3 Replies)
Discussion started by: mghis
3 Replies

9. UNIX for Dummies Questions & Answers

Wanting to run a macro/script from PuTTY

We currently use TUN as an emulation program to connect to various unix applications. I am looking at moving to PuTTY release 0.60 but am getting stuck as one application runs a macro at startup to run a program. My question is, can you run a macro from PuTTY? Any pointers would be great. (0 Replies)
Discussion started by: virtualpaul
0 Replies

10. IP Networking

adress traffic to tap0

Hello, I have a problem of routing traffic on two virtual interfaces I have created on my machine (CentOs6) By using tunctl I created two virtual interfaces tap1 and tap2 let s imagine I gave them two different address tap1: 10.1.1.1 net 255.255.255.0 tap2: 10.1.2.1 net 255.255.255.0 ... (0 Replies)
Discussion started by: nicandro
0 Replies

11. IP Networking

Pinging IP located on another interface

Hi, I have a rather strange IP question... Here's my problem: I have a Linux box (call it "turing") with 2 NICs. One network interface (eth0) has an IP assigned, say 192.168.42.50. The other interface (eth1) is up, but has no IP yet. My question: is it possible to determine from... (3 Replies)
Discussion started by: NH2
3 Replies

12. Shell Programming and Scripting

Can i see wich Computers are up in my network with a script

#!/bin/bash for ((n=0 ; n < 254 ; n+=1)) do ip=192.168.0.$n if ping -c 1 -w 1 $ip > /dev/null 2> /dev/null >> /etc/logping.txt; then echo "${ip} is up" # output up # sintax >> /etc/logping.txt log with .txt format else echo "${ip} is down" # output... (4 Replies)
Discussion started by: Roggy
4 Replies

13. 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