The following is based on the assumption that you're using Gentoo, as mentioned in your user id.
Is net.eth0 in your default runlevel? You can try
Code:
# rc-update add net.eth0 default
This will add net.eth0 to your default runlevel if it's not there and will do nothing if it is already there (except tell you that it is there). Of course, this will start the networking on boot rather than after logging in as a normal user, which I realize is not exactly what you were asking for.
Also, make sure that the entry for eth0 in /etc/conf.d/net looks like config_eth0=("dhcp") and that net.eth0 is symlinked to net.lo (to check, use:
Code:
ls -l /etc/init.d/ | grep net
). That has worked without much problem for me. And if I lose the network connection I just use the following to bring it back up:
Code:
# /etc/init.d/net.eth0 restart
I imagine to have startx executed you would have to be logged in automatically as well. Check out the following thread from Gentoo's forums for suggestions:
http://forums.gentoo.org/viewtopic-t...tic+login.html