Doncaster Rovers will host Leeds United in the pick of the draw locally in the Capital One Cup first round.
Paul Dickov’s side will welcome the West Yorkshire giants to the Keepmoat in the week commencing August 10.
Sheffield Wednesday and Sheffield United will both face League Two opposition.
The Owls are to host Mansfield Town while the Blades will travel to Morecambe.
Rotherham United have been handed a home tie with Cambridge United while Chesterfield will travel to Carlisle United.
Barnsley face a reunion with former boss Mark Robins as they travel to Scunthorpe United.
Capital One Cup first round (ties to be played week commencing August 10):
Scunthorpe United v Barnsley
Doncaster Rovers v Leeds United
Sheffield Wednesday v Mansfield Town
Rotherham United v Cambridge United
Morecambe v Sheffield United
Carlisle United v Chesterfield
Nottingham Forest v Walsall
Fleetwood Town v Hartlepool United
Bolton Wanderers v Burton Albion
Accrington Stanley v Hull City
Rochdale v Coventry City
Oldham Athletic v Middlesbrough
Huddersfield Town v Notts County
Blackburn Rovers v Shrewsbury Town
Wigan Athletic v Bury
Northampton Town v Blackpool
Crewe Alexandra v Preston North End
York City v Bradford City
Port Vale v Burnley
Peterborough United v Crawley Town
Yeovil Town v Queens Park Rangers
Plymouth Argyle v Gillingham
Swindon Town v Exeter City
Bristol Rovers v Birmingham City
Ipswich Town v Stevenage
Luton Town v Bristol City
Charlton Athletic v Dagenham & Redbridge
Wolverhampton Wanderers v Newport County
Brentford v Oxford United
Portsmouth v Derby County
Southend United v Brighton & Hove Albion
Milton Keynes Dons v Leyton Orient
Cardiff City v AFC Wimbledon
Millwall v Barnet
Wycombe Wanderers v Fulham
Colchester United v Reading