You will need to enable internet connection sharing (ICS) on the PC with the dial up modem. Follow the wizard. It should provide an option for you to create a floppy which you can take to the other machine and run on that to enable ICS.
Control Panel | Network Connections. When that window opens click on the Help menu then Help & Support Centre. ICS is under Internet connections in the top left hand box (labelled Network Connections).