LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (https://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   Connecting Nokia mobile through CA101 RHEL5 (https://www.linuxquestions.org/questions/linux-mobile-81/connecting-nokia-mobile-through-ca101-rhel5-775314/)

sathsishravan 12-13-2009 06:26 AM

Connecting Nokia mobile through CA101 RHEL5
 
I have tried to connect internet through Nokia 3120C and usb cable ca101. Succeeded by typing these commands.
sudo /sbin/modprobe cdc-acm
sudo /sbin/modprobe usbserial
sudo /bin/mknod /dev/ttyACM0 c 166 0

then configured wvdial and connected internet through kppp. Browsed the internet happily. Now the problem is after disconnecting the kppp, unplugging the cable hangs the PC (kernel panic!!!!!!!!). Tried to compile the kernel with cdc-acm in-built, the gcc3.2 is the need. Downloaded gcc3.2 and unable to load it. Unable to `make all`. The help i require is how to alleviate the typing of these commands every time i login with root privilege. How to safely eject the ca101 cable from the usb port without kernel panic. Cant I configure the things in one go and login with a user account and browse the internet happily. Linux Gurus please help me!!!!!!!!!

sathsishravan 12-25-2009 02:10 AM

I have corrected myself by
(a) Shelled the command /sbin/lsusb
(b) Noted the device ID as 0421 00ae (I am using nokia 3120c.)
(c) echo modprobe cdc-acm >> /etc/rc.modules
(d) echo modprobe usbserial vendor=0x421 product=0x0ae >> /etc/rc.modules
(e) chmod +x /etc/rc.modules.

Added modem lights to panel. Browsing internet happily.


All times are GMT -5. The time now is 08:36 PM.