Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-30-2015, 01:59 PM   #1
LQ Newbie
Registered: Jul 2009
Location: California
Distribution: RHEL,Debian,SUSE,SCO...
Posts: 10

Rep: Reputation: 0
udev rule for network connected terminal

Does anyone know if there is a way to create a udev rule for a network connected terminal? Basically I need the rule to say a specific MAC address is always given pseudo terminal /dev/pts/5 for example.

I've been different variations with this rule but so far nothing is working.
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="C8:CB:B8:04:61:87", ATTR{type}=="1", NAME="/dev/pts/5"
Old 11-05-2015, 08:28 AM   #2
Senior Member
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Try use "SYMLINK+== " instead of NAME="/dev/pts/5" then declare values on GROUP and MODE to allow certain users.
or try call KERNEL=="tty??" and make it your SYMLINK+.
Just play it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Using Udev Rule akash2happy Programming 3 01-23-2012 02:44 AM
First UDEV Rule, Not quite there ... orbit Slackware 7 02-22-2009 11:08 PM
udev rule: need help DPenguin Linux - Hardware 0 08-04-2008 08:29 PM
Udev Rule Help Please Toods Slackware 1 11-23-2007 09:55 AM
need help with udev rule hussam Linux - Software 2 12-05-2006 04:30 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration