In J.M. Barrie's original Peter and Wendy (1911) and play Peter Pan, or The Boy Who Wouldn't Grow Up (1904), Captain Hook's former captain is never explicitly named. Barrie writes:
"He had been at a famous public school... and had sailed as bosun under a terrible pirate who was Blackbeard."
Wait—yes, Barrie does name him: Blackbeard (the historical Edward Teach). This appears in Chapter 14 of the novel. Hook served as boatswain under Blackbeard before striking out on his own.
Historical Note: Blackbeard died in 1718; Hook's timeline is fantasy-compressed. Barrie uses the name for instant "ultimate pirate" recognition.
So: Blackbeard is the canonical answer from Barrie's novel. Any other name is adaptation-specific.