1 |
There now seems to be certain time lag between tun module is loaded |
2 |
and /dev/net/tun is created. So the script would die on the following lines: |
3 |
|
4 |
modprobe tun |
5 |
if [ ! -c /dev/net/tun ]; then |
6 |
echo "/dev/net/tun doesn't exist" |
7 |
exit |
8 |
fi |
9 |
|
10 |
Adding tun to /etc/modules.autoload.d/kernel-2.6 helps |
11 |
but the question now is if it's normal behaviour or a bug |
12 |
introduced with recent udev upgrade? |
13 |
|
14 |
> Do you have "Universal TUN/TAP device driver support" (CONFIG_TUN) |
15 |
> enabled in your kernel configuration? It should be a network device in |
16 |
> your kernel configuration: |
17 |
> |
18 |
> Device Drivers --> |
19 |
> Networking support --> |
20 |
> Network device support --> |
21 |
> <*> Universal TUN/TAP device driver support |
22 |
> |
23 |
> You can also build it as a module, and it will be called "tun". |
24 |
> Hope that helps! |
25 |
|
26 |
-- |
27 |
gentoo-user@g.o mailing list |