Koozali.org: home of the SME Server

ssh login and FTP very slow

Ari

Re: Solution: DHCP/DNS problem (Re: ssh login and FTP very s
« Reply #30 on: March 08, 2002, 07:17:30 AM »
>
> # drop the external link - note therefore that you can
> perform the
> # fix remotely using this procedure
> /sbin/ifdown eth1
> # Replace /etc/resolv.conf with the correct contents
> /sbin/e-smith/expand-template /etc/resolv.conf
> # Patch the ifup script to use the correct arguments to dhcpcd
> /usr/bin/perl -i.old -pe \
>     's/DHCPCDARGS="-d/DHCPCDARGS="-R -d/' \
>     /sbin/ifup
> # Now bring the external interface back up
> /sbin/ifup eth1

A million and one thank you's Charlie! I truly appreciate your help (and everyone else that contributed) in resolving this issue.

Cheers!
Ari

Berend

Re: Solution: DHCP/DNS problem (Re: ssh login and FTP very s
« Reply #31 on: March 08, 2002, 12:16:07 PM »
Hello,

The Charlie solution works like a charm.

Very much thanks ;-))

Greeting Berend,
from The Netherlands

Kevin Manderson

Re: Solution: DHCP/DNS problem (Re: ssh login and FTP very s
« Reply #32 on: March 11, 2002, 03:28:43 PM »
Thanks,

Now I have a fix for when I take my laptop so I can lecture at uni. I always had the resolv.conf overwritten when it booted (dhcp address from the uni) - now I won't :-}

Regards
kevin

sander

Re: Solution: DHCP/DNS problem (Re: ssh login and FTP very s
« Reply #33 on: March 12, 2002, 02:11:41 PM »
something strange: I haven't had time tu apply any updates to my 5.1.2 .
Mostly because the blades function doesn't work( An error occurred while fetching the list of available blades).

so the funny part is that ftp and ssh login was very slow. I repeat it WAS.
The server asks for my username and password quickly. Did the server update itself or what happened? Noone can apply any updates but me, and i haven't updated the system yet.

Thanks for any help
sander

Brando

Re: Solution: DHCP/DNS problem (Re: ssh login and FTP very s
« Reply #34 on: March 13, 2002, 06:29:14 AM »
Using this:
---
# drop the external link - note therefore that you can perform the
# fix remotely using this procedure
/sbin/ifdown eth1
# Replace /etc/resolv.conf with the correct contents
/sbin/e-smith/expand-template /etc/resolv.conf
# Patch the ifup script to use the correct arguments to dhcpcd
/usr/bin/perl -i.old -pe \
's/DHCPCDARGS="-d/DHCPCDARGS="-R -d/' \
/sbin/ifup
# Now bring the external interface back up
/sbin/ifup eth1
---

I'm still not able to resolve address from the net "unreachable host".   Say I try to ping www.msn.com - [unreachable host]

As well, From outside (from the net) I am not able to ping the box.

Would this be a DNS problem?
If I ping the box outside I am getting:
ICMP Host Unreachable from gateway 209.115.223.169
Which would be a DHCP server and not the DNS servers.

Any suggestions?