Click to See Complete Forum and Search --> : remote login problems
yourfriendlylinuxnewbie
11-19-2000, 02:57 AM
I installed the new mandrake 7.2 on my system, have everything running fine except the sound. My problem is that I can't seem to access it from any other computer. I can browse the net and all, and can even telnet/ftp in locally, but it won't even detect any other connections. I've already checked out the access.conf and my permissions are fine, I set it to accept ALL. I just don't know why it won't accept any outside connections. Have any ideas?
Fandelem
11-19-2000, 12:06 PM
need more information:
1. using dynamic IP or static IP?
2. you can type telnet 127.0.0.1 and it works, right? (from the computer running mandrake)
3. access.conf is for http daemon (apache, for example).. you would want to check /etc/hosts.allow...
4. type ifconfig, and write down your ip address for your outside connection (if you use dialup, it's probably ppp, if you connect from a campus or maybe your work, it might be your eth0)
5. try to telnet to that ip address from your local server (the computer that is running mandrake), if you can, good, then go to another computer somewhere else (outside your LAN (local area network)), and try to telnet in using the IP address you wrote down.
6. if you still cannot connect (from outside computer), then perhaps you have a firewall, not at YOUR computer, but at the next hop, whether that be your companies firewall, schools firewall, or ISPs firewall, that prevents telnet access.
7. perhaps try performing a traceroute and ping to that IP address you wrote down (from an outside computer). if it works, then you know step #6 might be right. if it doesn't, then come back here with the error message and we'll go from there.
your mileage may vary, but try to do all the steps before you come back.. i just woke up, so if you don't understand something that i wrote, ask again, and i'll try to reply, :}
regards,
~kyle
[This message has been edited by Fandelem (edited 19 November 2000).]
yourfriendlylinuxnewbie
11-19-2000, 05:09 PM
1. using dynamic IP or static IP?
static
2. you can type telnet 127.0.0.1 and it works, right? (from the computer running mandrake)
yep
3. access.conf is for http daemon (apache, for example).. you would want to check /etc/hosts.allow...
oops, ok, well, i left the access.conf alone, still has my settings, and for hosts.allow, i set it to:
+:<username>:ALL
that's the same i put in to my access.conf as well.
5. try to telnet to that ip address from your local server (the computer that is running mandrake), if you can, good, then go to another computer somewhere else (outside your LAN (local area network)), and try to telnet in using the IP address you wrote down.
connection refused...
6. if you still cannot connect (from outside computer), then perhaps you have a firewall, not at YOUR computer, but at the next hop, whether that be your companies firewall, schools firewall, or ISPs firewall, that prevents telnet access.
no, because other people here can telnet into their boxes...
7. perhaps try performing a traceroute and ping to that IP address you wrote down (from an outside computer). if it works, then you know step #6 might be right. if it doesn't, then come back here with the error message and we'll go from there.
it's alive...
your mileage may vary, but try to do all the steps before you come back.. i just woke up, so if you don't understand something that i wrote, ask again, and i'll try to reply, :}
LOL, ok, thx http://www.linuxnewbie.org/ubb/smile.gif
-john
Fandelem
11-19-2000, 06:36 PM
sounds to me like your telnet daemon isn't running.
as root, try typing something like:
/usr/sbin/in.telnetd
and/or look in /etc/inetd.conf and make sure you have not uncommented your telnet daemon from loading :}
if you can traceroute and ping, then we have narrowed the scope of the problem down to that specific application :}
hope this helps,
~kyle
hrm, re-reading your first post, if you can telnet into your box, your telnet daemon should be active.. have you tried adding ALL : ALL into your /etc/hosts.allow file? you are sure you have no other firewall type apps running to possibly deny telnet? still check /etc/inetd.conf.. then.. hmm...
here's my /etc/hosts.allow:
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
in.proftpd: 192.168.0. : ALLOW
in.proftpd: 172.16. : ALLOW
in.proftpd: 150.176. : ALLOW
in.proftpd: 150.178. : ALLOW
in.proftpd: 63.97.188.5 : ALLOW
in.proftpd: 128.227. : ALLOW
in.sshd: 192.168.0. : ALLOW
in.sshd: 172.16. : ALLOW
in.sshd: 150.176. : ALLOW
in.sshd: 150.178. : ALLOW
in.sshd: 199.244.86. : ALLOW
in.sshd: 209.212.133. : ALLOW
in.sshd: 63.97.188.5 : ALLOW
in.sshd: 128.227. : ALLOW
ALL: 127.0.0.1 : ALLOW
ALL: 150.176.244. : ALLOW
ALL: 192.168.0. : ALLOW
ALL: 63.97.188.5 : ALLOW
ALL: 128.227. : ALLOW
then in my hosts.deny, i have ALL : ALL
[This message has been edited by Fandelem (edited 19 November 2000).]
yourfriendlylinuxnewbie
11-19-2000, 08:35 PM
hmm.. my access files are fine.. is there some sort of file elsewhere that may be restricting my entire computer instead of just those services? or it could be a firewall I might've placed on myself. the only problem is that I don't know of any firewall apps I could be running...
Fandelem
11-20-2000, 05:57 PM
hmm..
try this?
/sbin/ipchains -F input
/sbin/ipchains -F forward
/sbin/ipchains -F output
this will flush any IPCHAINS rules.
go so far as to:
kill -HUP `cat /var/run/inetd.pid`
to reset your inetd :}
now try?
the only thing is that you're using mandrake, and i've only worked with redhat.. so i don't know much more then to tell you to get redhat! :} hehe.. sorry..
hope this could help,
~kyle
yourfriendlylinuxnewbie
11-21-2000, 06:18 PM
hmm.. which file do I put all that in?
Fandelem
11-21-2000, 06:27 PM
those are just command line stuff that you type in at the command line
yourfriendlylinuxnewbie
11-21-2000, 08:20 PM
hmm.. the first three lines gave me errors, but the kill one works fine. i went to look in my sbin and i have no ipchains... explain this to me VERY slowly, hehe
Fandelem
11-22-2000, 11:45 AM
scrap mandrake, go with redhat ;b
hehe sorry, i just have never played aroudn with mandrake, so i don't know why it's not working :}