Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Internet Connection unavailable without local logon.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nxn
n00b
n00b


Joined: 21 May 2004
Posts: 37

PostPosted: Thu Sep 29, 2005 6:51 pm    Post subject: Internet Connection unavailable without local logon. Reply with quote

I have services running on my gentoo box that are depended on an internet connection to function properly. However, for some reason they are unable to do this unless someone logs in locally first. This is a major problem since I moved out to go to college and I can't depend on ssh to log in since there is no way to establish a connection.

Originally I thought the problem was with the configuration of the services, but this doesn't seem to be the case. I can not even ping the computer, even though I am positive eth0 gets loaded on bootup. Again, the strange thing is that as soon as someone just logs in (any user in the system), everything works just fine, I can ping, ssh, ftp, etc. Any ideas on what might be causing this behavior?
Back to top
View user's profile Send private message
mw007
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 260

PostPosted: Thu Sep 29, 2005 10:57 pm    Post subject: Reply with quote

You said that eth0 gets started on boot, but just to make sure everything is in working order, please paste the output of
Code:
rc-update show
Back to top
View user's profile Send private message
nxn
n00b
n00b


Joined: 21 May 2004
Posts: 37

PostPosted: Thu Sep 29, 2005 11:52 pm    Post subject: Reply with quote

Code:

           alsasound | boot
               aumix |
            bootmisc | boot
             bttrack |
             checkfs | boot
           checkroot | boot
               clock | boot
         consolefont | boot
         crypto-loop |
               cupsd |
         dante-sockd |
            ddclient |      default
          domainname |      default
              esound |
                famd |
                 gpm |
              hdparm |
            hostname | boot
             keymaps | boot
               local |      default nonetwork
          localmount | boot
             metalog |      default
             modules | boot
            net.eth0 |      default
              net.lo | boot
            net.ppp0 |
            netmount |      default
                nscd |
             numlock |
             portmap |
             proftpd |      default
           rmnologin | boot
              rsyncd |
              serial | boot
                sshd |      default
             urandom | boot
          vixie-cron |      default
              vmware |
                 xdm |
                 xfs |

If boot vs default actually makes a difference, than excuse my newbishness, but seeing eth0 being started at boot up made me think the problem was somewhere else.
Back to top
View user's profile Send private message
mw007
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 260

PostPosted: Fri Sep 30, 2005 10:27 pm    Post subject: Reply with quote

It is most definitely better to have net.eth0 startup in the default, which is where you have it. I was looking to see if the SSH and other things you were trying to access were starting up in default as well. I don't see FTP as a startup service, but you may be running that some other way.

Also, the computer you're trying to access isn't behind some sort of firewall is it? If this is the case, you'll need to forward the appropriate ports to that computer. Though, I don't know why you can access that machine once you login locally...
Back to top
View user's profile Send private message
nxn
n00b
n00b


Joined: 21 May 2004
Posts: 37

PostPosted: Sat Oct 01, 2005 1:00 am    Post subject: Reply with quote

mw007 wrote:
I don't see FTP as a startup service, but you may be running that some other way.

Code:
proftpd |      default

mw007 wrote:
Also, the computer you're trying to access isn't behind some sort of firewall is it? If this is the case, you'll need to forward the appropriate ports to that computer. Though, I don't know why you can access that machine once you login locally...

And nah, it's not behind a firewall, and if it was I'd most likely be unable to connect at any time at all.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum