Skip to contentSkip to conversation

Networking problems, linuxppc2.4, RPX CLLF, Montavista

DISCUSSION Joakim Tjernlund 2 participants 3 messages May 4, 2001

lore
Share & tools
lore
#0 lore raw

Hi all

I have this strange network problem and I can not figure out whats wrong.

I running linuxppc2.4 from Cort's tree on a RPX CLLF(cpu PPC860T) and a file system
from the Montavista CDK 1.2(with the latest updates). I NFS mount my root fs, created a
local user(I can login on my local user). Ping works both ways(from RPX to my Linux host
and vice versa).

But I can not telnet or ftp from my linux host to RPX, I get "connection refused"(inetd is
running on RPX) and if I telnet(or ftp) from RPX to my Linux host it takes 1-2 minutes
until I get a login prompt.

BUT if I boot the 2.2.14 kernel that came with the Montavista CDK 1.2 everything works!

I have no idea what I am doing wrong. I have searched all www & mailing lists I can think of
but I seem to alone with this problem.

Please help.

Jocke

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

Jocke,

You can try adding /bin/strace before /bin/telnetd in your /etc/inetd.conf file on the target, so the line looks like:
telnet stream tcp nowait root /bin/strace /bin/telnetd telnetd -L/bin/login
Then try to telnet to the target. See what files it's reading, etc. before it boots you off. This may point you in the right direction.

HTH,
Mark Phillips

Quoted 23 lines · <[email protected]> wrote:

Hi all

I have this strange network problem and I can not figure out whats wrong.

I running linuxppc2.4 from Cort's tree on a RPX CLLF(cpu PPC860T) and a file system
from the Montavista CDK 1.2(with the latest updates). I NFS mount my root fs, created a
local user(I can login on my local user). Ping works both ways(from RPX to my Linux host
and vice versa).

But I can not telnet or ftp from my linux host to RPX, I get "connection refused"(inetd is
running on RPX) and if I telnet(or ftp) from RPX to my Linux host it takes 1-2 minutes
until I get a login prompt.

BUT if I boot the 2.2.14 kernel that came with the Montavista CDK 1.2 everything works!

Quoted 11 lines

I have no idea what I am doing wrong. I have searched all www & mailing lists I can think of
but I seem to alone with this problem.

Please help.

       Jocke

--
Please reply to [email protected]

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw

Thanks!

This solved my problem. I saw that ip address 127.0.0.1 was used in a telnet session and that made me to look over my dhcp server conf. Once I gave my board a real hostname and removed the nis domain option things started to work!

It seems that 2.4 needs a real hostname(2.2 does not) to operate correctly. If no hostname is specified in the dhcp conf, Linux will use the IP address as hostname and dnsdomaninname.

Jocke

-----Original Message-----
From: Mark Phillips [mailto:[email protected]]
Sent: Friday, May 04, 2001 15:53
To: [email protected]
Cc: [email protected]
Subject: Re: Networking problems, linuxppc2.4, RPX CLLF, Montavista

Jocke,

You can try adding /bin/strace before /bin/telnetd in your /etc/inetd.conf file on the target, so the line looks like:
telnet stream tcp nowait root /bin/strace /bin/telnetd telnetd -L/bin/login Then try to telnet to the target. See what files it's reading, etc. before it boots you off. This may point you in the right direction.

HTH,
Mark Phillips

Quoted 7 lines · <[email protected]> wrote:

Hi all

I have this strange network problem and I can not figure out whats wrong.

I running linuxppc2.4 from Cort's tree on a RPX CLLF(cpu PPC860T) and a

file

Quoted 16 lines

system
from the Montavista CDK 1.2(with the latest updates). I NFS mount my root fs, created a
local user(I can login on my local user). Ping works both ways(from RPX to my Linux host
and vice versa).

But I can not telnet or ftp from my linux host to RPX, I get "connection refused"(inetd is
running on RPX) and if I telnet(or ftp) from RPX to my Linux host it takes 1-2 minutes
until I get a login prompt.

BUT if I boot the 2.2.14 kernel that came with the Montavista CDK 1.2 everything works!

Quoted 11 lines

I have no idea what I am doing wrong. I have searched all www & mailing lists I can think of
but I seem to alone with this problem.

Please help.

       Jocke

--
Please reply to [email protected]

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/