Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: jyoung on September 11, 2007, 04:56:14 PM
-
I am linux newbie. I have a USB wireless modem( can't get DSL or Cable) and i have been able to get it to connect to the internet after much searching thru forums. My problem is everytime I reboot, I have to redo the modprobe command for the usbmodem. So I log into root and type :
modprobe usbserial vendor=xxxx product=xxxx
Then i can connect and go on. My question is where and how do add this to the modprobe.conf template to work properly so I don't have to configure it each time.
I have tried each of the following with now luck
install usbserial vendor=xxxx product=xxxx
alias usbserial vendor=xxxx product=xxxx
install usbserial (/sbin/modprobe usbserial vendor=xxxx product=xxxx)
Can someone help me out with the correct line to add to the template if that is the correct place to put it? Thanks
-
U might ofcourse try to set these lines at the bottom of /etc/rc.d/rc.local
AFAIK the rc.local is not affected by reboots and/or template rebuilds.
-
Thanks! I can try that tonight. Do you know if that will load before the usb ports initialize? whenever i run the modprobe command from the root, the modem isn't recognized until i unplug and re-insert it or disable and then re-enable the usb ports.
-
Try it and let us know .
-
I tried adding
/sbin/modprobe usbserial vendor=xxx product=xxxx
to the rc file like was suggeseted, but it didn't completely work. It would load the module, but the comm drivers (ttyUSB0,1,2,3) were not available until i unplugged the modem and re-inserted it. so i then modified the rc file as this
/sbin/rmmod uhci_hcd
/sbin/modprobe usbserial vendor=xxx product=xxxx
/sbin/modprobe uhci_hcd
Now the module loads at boot, and the drivers are ready. I can call my script to log into the network. Now i am trying to use the ttyUSB0 as the default modem and get SME to use it instead of a serial port or isdn for default connection to the internet!
Thanks for the help, i am sure i will be back!