LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-30-2015, 12:59 PM   #1
taylorjp75
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, 07:28 AM   #2
malekmustaq
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.
 
  


Reply



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 01:44 AM
First UDEV Rule, Not quite there ... orbit Slackware 7 02-22-2009 10:08 PM
udev rule: need help DPenguin Linux - Hardware 0 08-04-2008 07:29 PM
Udev Rule Help Please Toods Slackware 1 11-23-2007 08:55 AM
need help with udev rule hussam Linux - Software 2 12-05-2006 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:49 AM.

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