Hi, I am a undergrad senior who eventually wants to enroll in a decent or good PhD program, but I have an abyssal cumulative gpa of ~2.5 (~3.1 for my major). I obviously am aware that I will not be able to get into any PhD program (or even a Masters program) with these grades, so I would like to ask for advice as to what I should do now. I am going to work for a company after I graduate related to my field (I also have some generic work experience) and I currently have good GRE scores and letters of recommendations (will get more later when I can). I am going to take some classes (how many do people usually take in this sort of situation before being accepted? What sort of classes should I take? etc) and I assume that I should then attempt to apply to a Masters programs somewhere, do well in that, and then apply to a PhD program.
Is there any advice, tips, etc that might be beneficial for me to be aware of? (If there is any more information I should mention so that I get better advice, please let me know.)