O'Connor returned to Bournemouth for a short loan spell last season
Luton Town have signed Irish midfielder Garreth O'Connor, following a three-week trial at the League Two club.
O'Connor, who is right-footed and can play anywhere in midfield, has been handed a deal until January 2009.
The 29-year-old has been without a club since being released by Championship side Burnley at the end of April.
Hatters manager Mick Harford told the club's website: "Garreth's got a chance to make a name for himself, he knows what we expect of him."
O'Connor, who has been handed the number seven shirt, impressed Harford after scoring three goals in two reserve team games.
He has also had a five-year spell at Bournemouth and has made a total of 212 league appearances, scoring 31 goals.