Take a telephone cord and look on the back of the machine. If it plugs into any ports, it's got a modem. However, that modem may not work under linux.
Are your two boxes wired together with ethernet? If so and your other machine is also Ubuntu, you could setup an apt-proxy
on your machine with internet access.