Most (yet not all) European trains have WiFi onboard and the availability of trains with wireless internet is constantly increasing. Depending on the train and car class/type, WiFi may be available for free (for example, if you are traveling first class) or for an extra charge. Learn more by reading the description of your train
here.