* Re: [gentoo-user][SOLVED] /dev/net/tun doesn't exist
[not found] ` <1120426341.22439.5.camel@localhost>
@ 2005-07-06 17:17 ` Alexander Kirillov
2005-07-06 18:15 ` Alexander Kirillov
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Kirillov @ 2005-07-06 17:17 UTC (permalink / raw
To: gentoo-user
There now seems to be certain time lag between tun module is loaded
and /dev/net/tun is created. So the script would die on the following lines:
modprobe tun
if [ ! -c /dev/net/tun ]; then
echo "/dev/net/tun doesn't exist"
exit
fi
Adding tun to /etc/modules.autoload.d/kernel-2.6 helps
but the question now is if it's normal behaviour or a bug
introduced with recent udev upgrade?
> Do you have "Universal TUN/TAP device driver support" (CONFIG_TUN)
> enabled in your kernel configuration? It should be a network device in
> your kernel configuration:
>
> Device Drivers -->
> Networking support -->
> Network device support -->
> <*> Universal TUN/TAP device driver support
>
> You can also build it as a module, and it will be called "tun".
> Hope that helps!
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user][SOLVED] /dev/net/tun doesn't exist
2005-07-06 17:17 ` [gentoo-user][SOLVED] /dev/net/tun doesn't exist Alexander Kirillov
@ 2005-07-06 18:15 ` Alexander Kirillov
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Kirillov @ 2005-07-06 18:15 UTC (permalink / raw
To: gentoo-user
Yep. It's async and that's an expected udev behaviour.
I've been just lucky.
Those interested may search for "udev is too slow creating devices"
thread in linux kernel mailing list archives or google:)
> There now seems to be certain time lag between tun module is loaded
> and /dev/net/tun is created. So the script would die on the following lines:
>
> modprobe tun
> if [ ! -c /dev/net/tun ]; then
> echo "/dev/net/tun doesn't exist"
> exit
> fi
>
> Adding tun to /etc/modules.autoload.d/kernel-2.6 helps
> but the question now is if it's normal behaviour or a bug
> introduced with recent udev upgrade?
>
>
>>Do you have "Universal TUN/TAP device driver support" (CONFIG_TUN)
>>enabled in your kernel configuration? It should be a network device in
>>your kernel configuration:
>>
>>Device Drivers -->
>> Networking support -->
>> Network device support -->
>> <*> Universal TUN/TAP device driver support
>>
>>You can also build it as a module, and it will be called "tun".
>>Hope that helps!
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-06 18:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <42C84C4E.9000302@infoline.su>
[not found] ` <1120426341.22439.5.camel@localhost>
2005-07-06 17:17 ` [gentoo-user][SOLVED] /dev/net/tun doesn't exist Alexander Kirillov
2005-07-06 18:15 ` Alexander Kirillov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox