I've got a number of netopia routers and I'm trying to save their configs to my laptop via tftp. This is constantly failing with an unknown error. I've also tried ftping to my laptop from another machine. This also fails (just hangs) leading me to believe I have an ftp config error.
Does anyone know how to config OSX's (or OS 9s for that matter as I'm desperate) ftp to receive ftps from a netopia router or from anywhere else?
Netopia tech support has been unhelpful other than to send directions which don't work.
Thanks,
Hugh
Craig R. Arko
03-14-2002, 08:32 AM
Hugh: I saw your post about this at MFI. Are you needing a tftp client or a tftp server?
If so, man tftp or man tftpd, respectively, may be the best place to start. It looks like to run the server, you need to configure inetd to start it.
hschickel
03-14-2002, 09:23 AM
Craig - I need a server. I found one for OS9 - but the way netopias disconnect after a transfer it always causes a nasty hang and then system crash. Very messy. I'm about to try it via Classic - better if only that crashes and burns. The best solution would of course be to figure out how to crank up the OSX tftp server. The man pages seem a little sparse.
By the way - what's up w/ MFI right now. Everytime I try to reply to that post I get a browser hang that needs to be force quit.
Hugh
edit: thanks for tftpd - that seems to be what I need
ps - netopia is rewriting their mac instructions for their routers (transfer and retrieve configs via telnet w/ a mac) over this problem - maybe I can figure this out for them so they can use OSX.
hschickel
03-14-2002, 09:47 AM
hmmm....
It won't be me figuring this out. At least not without a lot more time. Has anyone set up tftp and tftpd via inetd.conf?
Any tips? What is the format? Particularly, how do you tell it which directory to use?
Thanks,
Hugh
Craig R. Arko
03-14-2002, 01:55 PM
Well, enabling the tftp server is easy; edit /etc/inetd.conf as root and uncomment the line with tftpd in it. Restart inetd.
Now the paths: that seem to be done at the tftp client as in:
connect <server_ip>
get <remotepath> <localpath> to tranfer from server to client
put <localpath> <remotepath> to transfer from client to server
The problem I'm running into is 'access violations' which I take to mean the anonymous tftp user can't read or write to the paths I'm trying.
Anybody able to take this up??
hschickel
03-14-2002, 02:11 PM
Craig,
The man pages seem to imply that one needs to add a locale in inetd.conf. I see issues with 3 areas in the commented config:
1. The user is nobody - is this correct? Should it be someone else?
2. The config pointer is to a non-existent directory.
3. The man pages imply that tftp will fail if an item does not already exist... Does a file need to be touch'd before it can be written to?
Hugh
gammelsmoelf
03-22-2002, 07:51 AM
I have been playing with this for the last few days, and I have the same problem as Craig R. Arko : Access violation. I have tried a few things with a guy who program VMS systems but we had no luck. (creating the file first and diffrent chmod settings)
If anybody gets it working please post it here.
hschickel
03-22-2002, 08:09 AM
I worked around the issue by configuring my routers manually. This works with 6 routers - it would not work with 60... or even very well with 20.
Thinking about it further - maybe a sharepoint has to be set up?
I'll bring a router home with me and futz around with it over the next few days.
Hugh
PS - the OS9 server does not work with Netopia routers (even netopia could not get this to fly.) It seems the resource fork that is added by OS9 messes things up. I did not try removing it with resedit or by copying /dev/null to file/rsrc - I ran out of time and needed to get the things working.