~ubuntu-branches/ubuntu/lucid/vde2/lucid-proposed

« back to all changes in this revision

Viewing changes to doc/freebsd_tap

  • Committer: Bazaar Package Importer
  • Author(s): Filippo Giunchedi
  • Date: 2008-06-17 15:36:32 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080617153632-5318x7iv0zwmu3zu
Tags: 2.2.1-1
* New upstream release
  - fix vlan commands on amd64 (Closes: #484295)
  - fix mac addresses switch between ports (Closes: #469098)
* Suggest: qemu and kvm as requested in #461514
* Expand and spell-check README.Debian, add manual method example
  (Closes: #466363)
* Do not assume MAKEDEV presence in postinst
* Remove /usr/bin/daemon usage from ifupdown scripts (and Recommends)
* Add manpage for vde_tunctl
* Upgrade to S-V 3.8.0 (add Homepage field) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
HOWTO START VDE WITH TAP BY NON-ROOT USERS
2
 
(tested on FreeBSD 6.2)
3
 
 
4
 
- Look at output of "kldstat" for module "if_tap.ko",
5
 
  if you can't find it do "kldload if_tap.ko".
6
 
  Remember to do
7
 
        # echo "if_tap_load=YES" >> /boot/loader.conf
8
 
  to load it automatically at startup.
9
 
 
10
 
- Allow users to open tap interfaces:
11
 
        # sysctl net.link.tap.user_open=1
12
 
  Remember to do
13
 
        # echo "net.link.tap.user_open=1" >> /etc/sysctl.conf
14
 
  to enable it automatically at startup.
15
 
 
16
 
- Adjust devfs rules (assuming your users belong to 'vde' group):
17
 
        # echo "own tapN root:vde" >> /etc/devfs.conf
18
 
        # echo "perm tapN 0660" >> /etc/devfs.conf
19
 
  N is interface number, use tap* if you want the same behaviour
20
 
  for each interface.
21
 
 
22
 
- Create an interface:
23
 
        # ls /dev/tap0
24
 
        # /etc/rc.d/devfs restart
25