You can get a contract without a minimun period, both mobile as fixed (dsl), but then you normally have to pay for the hardware (usb modem,or dsl router). This is the best way, when you finish cancel the contract.
A good option is also if you have a good 3G phone,use this with datacable to connect computer to internet.