Skip to contentSkip to conversation

/dev/net/tun devices via udev?

DISCUSSION Mike Snitzer 3 participants 5 messages Mar 17, 2004 – Mar 18, 2004

lore
Share & tools
lore
#0 lore raw

How can I get /dev/net/tun devices created via udev?

Thanks.
Mike

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 1 line · Mike Snitzer

How can I get /dev/net/tun devices created via udev?

You load the tun/tap driver.

Signature · 13 lines
ciao, |
Marco | [5149 ost1pl2Lt198Q]


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#2 lore raw
In reply to Mike Snitzer
Quoted 4 lines · Marco d'Itri
Quoted 1 line · Mike Snitzer

How can I get /dev/net/tun devices created via udev?

You load the tun/tap driver.

I have the driver compiled into the kernel.

the Tun/tap driver doesn't have support for sysfs or hotplug; so what would loading the driver (as a module) buy me?

Mike

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#3 lore raw
In reply to Mike Snitzer
Quoted 9 lines · Mike Snitzer
Quoted 4 lines · Marco d'Itri
Quoted 1 line · Mike Snitzer

How can I get /dev/net/tun devices created via udev?

You load the tun/tap driver.

I have the driver compiled into the kernel.

What kernel are you using? I think we added netfilter devices in 2.6.4. I know my /dev has all of the tap* devices in it and I'm using udev :)

thanks,

greg k-h

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#4 lore raw
In reply to Mike Snitzer
Quoted 6 lines · Greg KH
Quoted 5 lines · Mike Snitzer
Quoted 2 lines · Marco d'Itri

On Mar 17, Mike Snitzer <[email protected]> wrote:

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Quoted 1 line

How can I get /dev/net/tun devices created via udev?

You load the tun/tap driver.

I have the driver compiled into the kernel.

What kernel are you using? I think we added netfilter devices in 2.6.4. I know my /dev has all of the tap* devices in it and I'm using udev :)

Ah cool; I'm using 2.6.3. I'll check out the differences in tun.c

thanks.
Mike

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel