* tftp server configuration help needed.
@ 1998-06-08 4:00 kbeau
1998-06-08 4:00 ` Scott Farmer
0 siblings, 1 reply; 4+ messages in thread
From: kbeau @ 1998-06-08 4:00 UTC (permalink / raw)
Hello:
I am attempting to back up the configuration on our Cisco
workgroup switch to an Alpha running DEC Unix.
The upload/download utility used by the switch relies on
having a tftp server on the net. I've managed to configure
the Alpha's tftpd/inetd to permit a tftp client to download
files, but whenever I try to upload a file to the server from
the switch, I get an "Access violation" error.
Changes I've made include:
edit /etc/inetd.conf to uncomment tftp line
send signal to inetd to reread /etc/inetd.conf
create file in /tmp directory with the name specified to upload
verified that /tmp's permissions are 777
verified that the target file's permissions are 666 or 777
I know that some versions of tftp require additional environment
variables to be set, or certain accounts and file permissions. I've
tried to set TFTPTYPE to OVERWRITE, and also tried creating
a /tftpboot directory and numbered files in /tmp, but so far with
no success.
Any suggestions are welcome.
Thanks in advance.
Kevin B.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tftp server configuration help needed.
1998-06-08 4:00 tftp server configuration help needed kbeau
@ 1998-06-08 4:00 ` Scott Farmer
1998-06-09 4:00 ` John Hascall
0 siblings, 1 reply; 4+ messages in thread
From: Scott Farmer @ 1998-06-08 4:00 UTC (permalink / raw)
I don't know if this will help at all, but before I can do a config backup
via tftp I have to touch a file in the tftp directory.
EX.
tftpdir/$ touch aetns1.conf
Then my router will copy run to tftp. Unfortunately we are running tftp on
HP/UX so I don't think comparing tftp setups will do a lot of good.
Scott Farmer
kbeau@pp132.facmgmt.ualberta.ca wrote in message
<6lhpc8$89i$2@pulp.ucs.ualberta.ca>...
>Hello:
>
>I am attempting to back up the configuration on our Cisco
>workgroup switch to an Alpha running DEC Unix.
>etc...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tftp server configuration help needed.
1998-06-08 4:00 ` Scott Farmer
@ 1998-06-09 4:00 ` John Hascall
1998-06-09 4:00 ` kbeau
0 siblings, 1 reply; 4+ messages in thread
From: John Hascall @ 1998-06-09 4:00 UTC (permalink / raw)
Scott Farmer <sfarmer1@pdq.net> wrote:
}I don't know if this will help at all, but before I can do a config backup
}via tftp I have to touch a file in the tftp directory.
}tftpdir/$ touch aetns1.conf
}Then my router will copy run to tftp. Unfortunately we are running tftp on
}HP/UX so I don't think comparing tftp setups will do a lot of good.
}>I am attempting to back up the configuration on our Cisco
}>workgroup switch to an Alpha running DEC Unix.
}>etc...
This is also the case with DEC's tftp daemon -- quoting
from "man tftpd":
Files can be written only if they
already exist and are publicly writable.
May I suggest:
touch /my/tftpd-dir/router-cnfg
chmod 777 /my/tftpd-dir/router-cnfg
(do copy command on cisco)
chmod 400 /my/tftpd-dir/router-cnfg
mv /my/tftpd-dir/router-cnfg /my/tftpd-dir/router-cnfg.`date '+%Y%m%d.%H%M'`
John
--
John Hascall, Software Engr. Shut up, be happy. The conveniences you
ISU Computation Center demanded are now mandatory. -Jello Biafra
mailto:john@iastate.edu
http://www.cc.iastate.edu/staff/systems/john/welcome.html <-- the usual crud
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tftp server configuration help needed.
1998-06-09 4:00 ` John Hascall
@ 1998-06-09 4:00 ` kbeau
0 siblings, 0 replies; 4+ messages in thread
From: kbeau @ 1998-06-09 4:00 UTC (permalink / raw)
john@iastate.edu (John Hascall) wrote:
>Scott Farmer <sfarmer1@pdq.net> wrote:
>> I don't know if this will help at all, but before I can do a config
>> backup via tftp I have to touch a file in the tftp directory.
>
> This is also the case with DEC's tftp daemon -- quoting
> from "man tftpd":
>
> Files can be written only if they
> already exist and are publicly writable.
Got it! Two-way is now working. The switch automatically adds a stack-
identifying file suffix to the supplied prefix, but using touch to create
the target on the server and rechecking both the permissions and paths
seems to have gotten it going.
Thanks to Scott and John for their help.
Kevin Beauchamp
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-06-09 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-08 4:00 tftp server configuration help needed kbeau
1998-06-08 4:00 ` Scott Farmer
1998-06-09 4:00 ` John Hascall
1998-06-09 4:00 ` kbeau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox