Erect a perpendicular at the center of the circle
Set the divider to the radius of the circle
Swing at the four intersections of the circle with the baseline and perpendicular
Connect the opposing intersections
Connect each lines intersection with the circle to complete the octagon