Hey again,
Have tried pulling a file from another computer via tftp and this works fine.
tftp 192.168.2.100 get boot.txt
however when trying to login to ftp it doesn’t accept the password.
[CODE]gordongecko@gruntbox:~$ ftp localhost
Connected to localhost.
220 (vsFTPd 2.3.5)
Name (localhost:gordongecko): fog
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.[/CODE]
However I can log in with sftp
[CODE]gordongecko@gruntbox:/etc$ sftp fog@localhost
fog@localhost’s password[/CODE]
Am I at least remotely on the right track here?
This is my vsftpd.conf file
[CODE]
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=NO
tcp_wrappers=YES
[/CODE]
This is my /var/www/fog/commons/config.php file. I am using the “beachwave11” password and it fails to connect?
I have also done sudo passwd fog and put in beachwave11
[CODE]
define( “IS_INCLUDED”, true );
define( “TFTP_HOST”, “192.168.2.100” );
define( “TFTP_FTP_USERNAME”, “fog” );
define( “TFTP_FTP_PASSWORD”, “beachwave11” );
define( “TFTP_PXE_CONFIG_DIR”, “/tftpboot/pxelinux.cfg/” );
define( “TFTP_PXE_KERNEL_DIR”, “/tftpboot/fog/kernel/” );
define( “PXE_KERNEL”, “fog/kernel/bzImage”);
define( “PXE_KERNEL_RAMDISK”, 127000 );
define( “USE_SLOPPY_NAME_LOOKUPS”, “1”);
define( “MEMTEST_KERNEL”, “fog/memtest/memtest” );
define( “PXE_IMAGE”, “fog/images/init.gz” );
define( “PXE_IMAGE_DNSADDRESS”, “192.168.2.100” );
define( “STORAGE_HOST”, “192.168.2.100” );
define( “STORAGE_FTP_USERNAME”, “fog” );
define( “STORAGE_FTP_PASSWORD”, “beachwave11” );
define( “STORAGE_DATADIR”, “/images/” );
define( “STORAGE_DATADIR_UPLOAD”, “/images/dev/” );
define( “STORAGE_BANDWIDTHPATH”, “/fog/status/bandwidth.php” );
define( “CLONEMETHOD”, “ntfsclone” ); // valid values partimage, ntfsclone
define( “UPLOADRESIZEPCT”, 5 );
define( “WEB_HOST”, “192.168.2.100” );
define( “WEB_ROOT”, “/fog/” );
define( “WOL_HOST”, “192.168.2.100” );
define( “WOL_PATH”, “/fog/wol/wol.php” );
define( “WOL_INTERFACE”, “eth0” );
define( “SNAPINDIR”, “/opt/fog/snapins/” );
define( “QUEUESIZE”, “10” );
define( “CHECKIN_TIMEOUT”, 600 );
define( “MYSQL_HOST”, “localhost” );
define( “MYSQL_DATABASE”, “fog” );
define( “MYSQL_USERNAME”, “root” );
define( “MYSQL_PASSWORD”, “” );
define( “DB_TYPE”, “mysql” );
define( “DB_HOST”, MYSQL_HOST );
define( “DB_NAME”, MYSQL_DATABASE );
define( “DB_USERNAME”, MYSQL_USERNAME );
define( “DB_PASSWORD”, MYSQL_PASSWORD );
define( “DB_PORT”, null );
define( “USER_MINPASSLENGTH”, 4 );
define( “USER_VALIDPASSCHARS”, “1234567890ABCDEFGHIJKLMNOPQRSTUVWZXYabcdefghijklmnopqrstuvwxyz_hB()^!” );
define( “NFS_ETH_MONITOR”, “eth0” );
define(“UDPCAST_INTERFACE”,“eth0”);
define(“UDPCAST_STARTINGPORT”, 63100 ); // Must be an even number! recommended between 49152 to 65535
define(“FOG_MULTICAST_MAX_SESSIONS”, 64 );
define( “FOG_JPGRAPH_VERSION”, “2.3” );
define( “FOG_REPORT_DIR”, “./reports/” );
define( “FOG_THEME”, “blackeye/blackeye.css” );
define( “FOG_UPLOADIGNOREPAGEHIBER”, “1” );
define( “FOG_VERSION”, “0.32” );
define( “FOG_SCHEMA”, 23);
DEFINE(‘BASEPATH’, rtrim($_SERVER[‘DOCUMENT_ROOT’], ‘/’) . rtrim(WEB_ROOT, ‘/’));[/CODE]