Hi Onkar,

Wow, you are surely peeved at the method I use, which must mean that it is an incorrect way of doing it. I surely do not know why it is incorrect as I am not an experienced user or a programmer, I am just a simple villager living in a remote village running my computer on solar power.

I have the following three lines in my /etc/rc.local, at the bottom of
the file:


sudo -S modprobe usbserial vendor=0x12d1 product=0x1010 <
/path/to/filewithuserpassword
    
</snip>

Where did you learn about this *genius* way to load modules on
startup? And you are writing down your password in a file for that?
  
And yes, I am writing down my password in a file for that, which means it can be compromised. But then a lot us 'end-users' are not all that security conscious and share our machines with a lot of local people. What if someone hacks into this machine? Well, I do take the risk.
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?

Thanks, I will try this and see what happens.

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

Reply via email to