Hi Onkar

I initially thought you read the instructions on some public forum,
hence such reaction. I didn't mean to *slap* anyone and I apologize if
the tone of my reply that way.
  
Apology accepted, I do not get offended easily. People have different perspectives all the time.
Few more points.
1. All the command in /etc/rc.local are run as root user at the
startup. So you don't need to add sudo to any command. I can
understand that this came from your less knowledge about linux system.
I hope you will keep this tip in mind next time.
  
I changed the line in /etc/rc.local and it works fine.
2. Even though a normal user is ignorant about security, there is no
reason why one should remain in that state. In my opinion security is
a necessary not luxury. Hence I told you the correct way.
  
Agreed and thanks...
If you want to load a module on startup, simply add it to
/etc/modules. If you want the module to be added with specific options
then create a file /etc/modprobe.d/modulename and add options to that
file.


Thanks for this Onkar, but I do not know enough to follow your advice. So I
add usbserial to /etc/modules? And create a file /etc/modprobe.d/usbserial
with the vendor and product options as above?
    

Yes, you understood it correctly. You can read other files in
/etc/modprobe.d to see how options are actually written
I tried this but it does not work. I had to travel so I could not check the dmesg output and so on, but the error message I kept on getting was that ttyUSB0 does not exist. And when I check the /dev folder, it actually did exist. I will try to check that when I get back home.

Regards

Moz
-- 
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in

Reply via email to