Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #233061
| From | peter@easthope.ca |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Creating a tap device. |
| Date | 2021-03-14 17:20 +0100 |
| Message-ID | <BSBDc-3gf-7@gated-at.bofh.it> (permalink) |
| References | <BSs6R-65d-1@gated-at.bofh.it> <BSsJz-6hC-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: "Alexander V. Makartsev" <avbetev@gmail.com>
Date: Sun, 14 Mar 2021 11:41:47 +0500
> But it wasn't creating a device with chosen name anywhere under "/dev" or "/dev/net/".
> I believe, "/dev/net/tun" device is created when "tun" kernel module is inserted.
Crucial tip. Thanks Alexander.
Consequently I made these arrangements.
(1) Put "tun" in /etc/modules.
peter@joule:/home/peter$ grep tun /etc/modules
tun
(2) Put "@reboot ip tuntap add mode tap tap0" in /etc/crontab.
peter@joule:/home/peter$ grep tap /etc/crontab
@reboot ip tuntap add mode tap tap0
(3) Reboot.
(4) Verify that tap0 is present.
peter@joule:/home/peter$ ip link show dev tap0
6: tap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mo
de DEFAULT group default qlen 1000
link/ether 0a:c1:8e:81:78:aa brd ff:ff:ff:ff:ff:ff
Good. Tomorrow will try a few more steps.
Thanks again, P.
--
cell: +1 236 464 1479 Bcc: peter at easthope. ca
VoIP: +1 604 670 0140
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Creating a tap device. peter@easthope.ca - 2021-03-14 07:10 +0100
Re: Creating a tap device. "Alexander V. Makartsev" <avbetev@gmail.com> - 2021-03-14 07:50 +0100
Re: Creating a tap device. peter@easthope.ca - 2021-03-14 17:20 +0100
Re: Creating a tap device. john doe <johndoe65534@mail.com> - 2021-03-15 08:20 +0100
Re: Creating a tap device. deloptes <deloptes@gmail.com> - 2021-03-14 09:50 +0100
Re: Creating a tap device. peter@easthope.ca - 2021-03-14 18:00 +0100
csiph-web