Southern League side Histon have been rewarded for their shock first round win over Shrewsbury with a home draw against Yeovil. Slough, who dumped out Paul Merson's Walsall in the first round, will face fellow non-league outfit Yeading, who beat Halesowen 2-1 to progress.
Hinckley United, who saw off Torquay, host Brentford.
League One leaders Luton travel to managerless Wycombe and minnows Bath face a trip away to Peterborough.
FA Cup second round draw in full:
Northampton v Bury
Halifax Town v Chester City
Stockport County v Swansea City
Blackpool v Port Vale
Rushden & Diamonds v Colchester
Bournemouth v Carlisle
Hinckley United v Brentford
Cambridge City v Milton Keynes Dons
Swindon Town v Notts County
Hull City v Macclesfield
Wycombe Wanderers v Luton Town
Slough Town v Yeading
Scunthorpe United v Wrexham
Histon v Yeovil Town
Stevenage Borough v Rochdale
Hartlepool United v Aldershot Town
Oldham Athletic v Leyton Orient
Hereford United v Boston United
Peterborough United v Bath City
Exeter City v Doncaster Rovers