It will depend on what sort of modem it is and what version of Ubuntu it is.

The team has set up a page at https://wiki.ubuntu.com/AustralianTeam/Projects/WirelessBroadbandInformation that would...