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!!!!!!!!!