Forum Discussion
Altera_Forum
Honored Contributor
21 years agoAnyone have a working FTP?
If anyone has a working ftp server (ftpd) on their uClinux box please, tell me how you got it to work. By working I mean that you can upload to it and see the directory structure and dowload from it....
Altera_Forum
Honored Contributor
21 years agorc file sniplet
# Make a big Ramdisk! /bin/mke2fs -q -m0 /dev/ram3 /bin/mount -t ext2 /dev/ram3 /home/ftp -n /bin/chmod 777 /home/ftp # mount proc file system /bin/mount -t proc proc /proc -n # mount sysfs /bin/mount -t sysfs sysfs /sys -n # manually assign ip address (uncomment and edit as appropriate)# note: first ifattach (no args) sets local loopback /bin/ifattach /bin/ifattach --addr 192.168.1.2 --mask 255.255.255.0 --net 192.168.1.0 --gw 192.168.1.11 --if eth0 # start up the internet superserver /bin/inetd & # start up the web server /bin/boa & ******************************************************************* inetd.conf sniplet ftp stream tcp nowait root /bin/ftpd telnet stream tcp nowait root /bin/telnetd uptime stream tcp nowait root cat /proc/uptime /etc/issue ****************************************************************** services sniplet # Here is a simple services file.# ftp-data 20/tcp ftp 21/tcp telnet 23/tcp uptime 24/tcp http 80/tcp ******************************************************************