If it was a newer 3GS (serial xx132 or higher) and you flashed the iPad baseband, you destroyed the cellular radio chip.
The only fix is replacing the chip.
I know Beijing iPhone Repair sells the chips and has directions online, but it is a tricky process.