Help ttyS0 how i change the speed from 9600 to 115200

changing modem speed

That's easy, type the following:

sudo gedit /etc/init.d/

and add one of the following lines at the very end of the file

if using an USB modem: stty -F /dev/ttyUSB0 115200
if using a serial modem: stty -F /dev/ttyS0 115200

save, and exit gedit. Next time you boot everything should be alright.