how to automate - modprobe usbserial - in linux (fedora)
I have three types of USB wireless modems to work with fedora.
All 3 modems works fine with the (modprobe usbserial - wvdial)
Now What I have to do is on every boot, is probing the usbserial
driver with the respective product and vendor IDs , as below.
for first modem:
" modprobe usbserial vendor=0xYY product=0xZZ "
(where 0xYY and 0xZZ is IDs of first modem)
for inserting 2nd modem:
" rmmod usbserial "
" modprobe usbserial vendor=0xAA product=0xBB "
(where 0xAA and 0xBB is IDs of 2nd modem)
and so on,
I learnt that if I put this in rc.init , then modprobing
will be doing automatically, but this method will work only for
a single type of modem. How can I automate the procedure for
3 modems (say n modems)
Thanks in advance ..
Last edited by er.saurabh; 01-08-2010 at 05:08 AM.