Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
How do i connect externally via FTP? get connection refused
Re: How do i connect externally via FTP? get connection refu
Now i do not remember the shell login command, remember i used a long time finding it last time. Anyone has a table of bubba/debain commands?
Ty
Ty
Re: How do i connect externally via FTP? get connection refu
That message completely failed to parse in my brain...Now i do not remember the shell login command, remember i used a long time finding it last time. Anyone has a table of bubba/debain commands?
What are you trying to do?
If you have a shell prompt you are already logged in.
If you want a *nix cheat sheet, you only have to type those words into google.
Best regards,
Cheeseboy
Re: How do i connect externally via FTP? get connection refu
when i login with putty, i login with my username and password. But i forgot the command that logs me in to the root folder. found it right now anyway, it was su.
Re: How do i connect externally via FTP? get connection refu
Hi,86ivar wrote:when i login with putty, i login with my username and password. But i forgot the command that logs me in to the root folder. found it right now anyway, it was su.
I think it's quite important to make distinction between logging into a folder and "Change the effective user id and group id to that of USER." when it comes to linux/Unix.
I mean "can I login to your root folder" and "can I have unlimited access to your computer" have slightly different meaning.
Re: How do i connect externally via FTP? get connection refu
Hi.
From the command:
cat /etc/proftpd/proftpd.conf|grep ServerName
I get:
ServerName "Bubba"
I have been trying the commands, looged in as root
echo "192.168.10.1 b2.localdomain b2">>/etc/hosts
/etc/init.d/proftpd start
but i get:
Starting ftp server: proftpd - ipv4 getaddrinfo 'bubba' error: Name or service not known
warning, unable to determine ip adress of 'bubba'
error: no valid servers configured
fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
failed!
When i try to open or edit the proftpd.conf i get access denied.
I also tried to open the /etc/hosts folder and i also get permission denied.
My lan and wan settings is set to automatic, should i go manual?
Is it possible to copy the text output in putty to post it here?
Thank you.
From the command:
cat /etc/proftpd/proftpd.conf|grep ServerName
I get:
ServerName "Bubba"
I have been trying the commands, looged in as root
echo "192.168.10.1 b2.localdomain b2">>/etc/hosts
/etc/init.d/proftpd start
but i get:
Starting ftp server: proftpd - ipv4 getaddrinfo 'bubba' error: Name or service not known
warning, unable to determine ip adress of 'bubba'
error: no valid servers configured
fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
failed!
When i try to open or edit the proftpd.conf i get access denied.
I also tried to open the /etc/hosts folder and i also get permission denied.
My lan and wan settings is set to automatic, should i go manual?
Is it possible to copy the text output in putty to post it here?

Thank you.
Re: How do i connect externally via FTP? get connection refu
post4ivo wrote:Well, been tinkering some and managed to get it working!
Thanks for all the instructions in this post!!
What did you do? i also have bubba2.
Update:
been trying different combinations:
b2.localdomain b2,
b2.localdomain bubba2
When i now try to start the proftpd i get only the text:
starting ftp server: proftpd failed!
Have i fucked the settings totally now? im a noob as you might imagine.
Is it possible to backup the settings?
Re: How do i connect externally via FTP? get connection refu
Hi 86ivar,
The host name of bubba_2 is NOT b2 I think it is bubba. So Bubba 1 and 2 has the same hostname which is bubba. Bubba 3 was renamed to B3 instead of Bubba 3.
But to make sure what your own bubba has run the command and use that name in the /etc/hosts file. You should edit that file and remove all the wrong entries you have added to that file. The command you have run adds a line to that file each time you run it so I guess you have quite a lot of lines in that file now.
The host name of bubba_2 is NOT b2 I think it is bubba. So Bubba 1 and 2 has the same hostname which is bubba. Bubba 3 was renamed to B3 instead of Bubba 3.
But to make sure what your own bubba has run the command
Code: Select all
hostname
Re: How do i connect externally via FTP? get connection refu
what do you mean *exactly* by "have been trying different combinations?". COuld you please be more specific in your posts as you seem to skip some vital details that may seem trivial to you but make it very very hard for us to understand what you mean or what you did.
* what happens when you type "hostname" ?
* it seems you are getting access denied to the config files because you are not root.
* make backups of the original files BEFORE editing them.I ususally make a small shell script so I can make simple backups with a single command:
then in the file copy
Now you have a backup command that makes a time-stamped copy of your config file.
* what happens when you type "hostname" ?
* it seems you are getting access denied to the config files because you are not root.
* make backups of the original files BEFORE editing them.I ususally make a small shell script so I can make simple backups with a single command:
Code: Select all
touch /usr/bin/backup
chmod 755 /usr/bin/backup
nano /usr/bin/backup
Code: Select all
I=`date +%Y%m%d-%H%M%S`
if [[ $1A != A && -f $1 ]]; then
echo "Backing up $1 to $1-$I";
cp -a $1 $1-$I;
else
echo "Argument missing or not existent";
Re: How do i connect externally via FTP? get connection refu
The hostname command gives:ryz wrote:Hi 86ivar,
The host name of bubba_2 is NOT b2 I think it is bubba. So Bubba 1 and 2 has the same hostname which is bubba. Bubba 3 was renamed to B3 instead of Bubba 3.
But to make sure what your own bubba has run the commandand use that name in the /etc/hosts file. You should edit that file and remove all the wrong entries you have added to that file. The command you have run adds a line to that file each time you run it so I guess you have quite a lot of lines in that file now.Code: Select all
hostname
bubba
I have deleted all the lines now, but i still cant get is to work, am i supposed to write "localdomain" or my localdomain, if so how do i find my localdomain?


I wrote exactly:
echo "192.168.10.1 bubba.localdomain bubba">>/etc/hosts
I still get, when staring the proftpd:
starting ftp server:proftpd failed!
But if i restart proftpd instead i get:
starting ftp server: proftpd - ipv6 getaddrinfo 'bubba.localdomain' error: Name or service not known
I see that the list in the hosts file has 6 more lines than the ones posted by the guys in this tread. I have:
127.0.0.1 localhost.localdomain localhost
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ffo2::3 ip6-allhosts
192.168.10.1 bubba.localdomain bubba (wich i added)
Thank you for your help

Re: How do i connect externally via FTP? get connection refu
just for fun: if you're not using IPv6, can you turn it off and try again?
in /etc/proftpd/proftpd.conf, find the line that says "UseIPv6" and set it to "off"
in /etc/proftpd/proftpd.conf, find the line that says "UseIPv6" and set it to "off"
Re: How do i connect externally via FTP? get connection refu
Cant find that lineUbi wrote:just for fun: if you're not using IPv6, can you turn it off and try again?
in /etc/proftpd/proftpd.conf, find the line that says "UseIPv6" and set it to "off"


I also tried to remove those six lines in the host file, but it didnt help.
Re: How do i connect externally via FTP? get connection refu
it' should be there, but you can always add it manually.
Code: Select all
echo "UseIPv6 off" >> /etc/proftpd/proftpd.conf
Re: How do i connect externally via FTP? get connection refu
That did it!! FTP up and running! Thank you!!Ubi wrote:it' should be there, but you can always add it manually.Code: Select all
echo "UseIPv6 off" >> /etc/proftpd/proftpd.conf
Re: How do i connect externally via FTP? get connection refu
I have the same problem you had with connection to ftp refused. I have problems to understand how you you got it solved and Im very hesitant to editing something outside the user interface, so I rather wait until this gets solved by regular sofware updates.
Now. I just updated my B3 to version 2.5.0.2. Unfortunately the problem remains for me.
Is there an easier way to explain how it can be solved?
Now. I just updated my B3 to version 2.5.0.2. Unfortunately the problem remains for me.
Is there an easier way to explain how it can be solved?