So on each startup -- after booting gdm -- I need to plug it out, then plug it in physically, and then connect to my network. Won't connect otherwise.

I use wicd.

Is there a way to simulate hardware plug in/out with some script, or some configuration I should look into in order to fix this.