network not connected

I get a message saying " Not Connected to network" when trying to install repositories but when I go into setting it says I am. Even main page shows Top movies (which means your connected to the internet).Has anyone else get this? Should I re-jailbreak!