Originally Posted by umwai
I have an usb modem and I want to know how to configure it in ubuntu
Plug it in, and it'll probably show up as /dev/ttyUSB<something>. Configure your PPP dialer program to use that device.
If you want more details, provide more information. You don't say anything about your hardware, what version of Ubuntu, or what dialer software you're trying to use.