View previous topic :: View next topic |
Author |
Message |
nxn n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 May 2004 Posts: 37
|
Posted: Thu Sep 29, 2005 6:51 pm Post subject: Internet Connection unavailable without local logon. |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
mw007 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Sonic/Sega_-_Sonic.gif)
Joined: 08 Nov 2004 Posts: 260
|
Posted: Thu Sep 29, 2005 10:57 pm Post subject: |
|
|
You said that eth0 gets started on boot, but just to make sure everything is in working order, please paste the output of |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nxn n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 May 2004 Posts: 37
|
Posted: Thu Sep 29, 2005 11:52 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
mw007 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Sonic/Sega_-_Sonic.gif)
Joined: 08 Nov 2004 Posts: 260
|
Posted: Fri Sep 30, 2005 10:27 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
nxn n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 May 2004 Posts: 37
|
Posted: Sat Oct 01, 2005 1:00 am Post subject: |
|
|
mw007 wrote: | I don't see FTP as a startup service, but you may be running that some other way. |
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 |
|
![](templates/gentoo/images/spacer.gif) |
|