R
R
rudejah2014-08-07 08:20:44
Debian
rudejah, 2014-08-07 08:20:44

USB mapping in debian-like systems, or what else can it be called?

Good morning, well, at least I have =) I
have lubuntu 13.10
When you connect a USB modem, it accepts some kind of tty (/ttyUSB*).
Can I set my tty to it? so that when defining a modem, it becomes ttyUSB99 (or give it its own name like 3g-modem) and only it can take this name. And not some other USB devices ..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuriy Malygin, 2014-08-07
@rudejah

You need to write your own rule for udev. Here's how I did it in Gentoo for naming network interfaces:

ph@laptop ~ $ cat /etc/udev/rules.d/70-my-network.rules 
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:11:22:33:44:55", NAME="eth0"

Here is a good example of how to do it in Ubuntu - ubuntuforums.org/showthread.php?t=168221

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question