The League Two side reached the fourth round of the FA Cup before losing 3-1 to Fulham.
The Mackems will host Colchester, while Hartlepool (2-0 winners over Sheffield United) are at home to Wigan.
Middlesbrough travel to Millwall.
The matches will be played in the week commencing August 23.
Carling Cup Second Round
Accrington v Newcastle
Portsmouth v Crystal Palace
Leeds v Leicester
Wolves v Southend
Blackburn v Norwich
MK Dons v Blackpool
Tranmere v Swansea
Everton v Huddersfield
Peterborough v Cardiff
Reading v Northampton
Scunthorpe v Sheffield Wednesday
Brentford v Hull
Sunderland v Colchester
Leyton Orient v West Brom
Morecambe v Burnley
Birmingham v Rochdale
Crewe v Ipswich
Watford v Notts County
West Ham v Oxford
Southampton v Bolton
Bradford v Preston
Fulham v Port Vale
Millwall v Middlesbrough
Stoke v Shrewsbury
Hartlepool v Wigan
Ties to be played w/c August 23.