[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] ftpd connection problem



Hi all,

I've been changing my network startup script in init.d so that it can read a configuration file to determine dhcp/fixed IP at boot time from this file. Somewhere along the way, I seem to have broken the ftpd in some way: immediately after bootup, I can no longer ftp in to the board.

If I check ps, there is no ftpd running during/after the request. If I then do a "ifconfig eth0 down" followed by "ifconfig eth0 192.168.0.124", and retry the ftp connection, ftp works flawlessly, and checking ps, I now have two instances of /bin/ftpd -l running on the board.

Ping in and out, telnet, all work fine all the time. Ifconfig shows no differences before and after the down->up sequence.

I checked that the inetd.conf file seems rational, no change there. I turned on verbose debugging output (command line switch on ftpd) and didn't see any new messages that might have helped.

Rolled back my scripting and just used the normal fixed IP address, problem still there. Did a make clean, full rebuild - no help. Other than files I'm expecting to see I've touched, others don't show any sign of being modified in the petalinux environment.

I had noted previously that connecting to ftp seemed to take a highly variable amount of time, depending on the build I had just done, even though I had not (earlier) touched any of the ethernet setup/startup stuff.

Anyone seen anything like this or have a suggestion on approach to hunting down the issue?

Thanks,

Jim Law
Iris Power
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/