Linux Lite Forums
Help setting up FTP and Ping to my Linux Lite machine - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Hardware - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=6)
+--- Forum: Network (https://www.linuxliteos.com/forums/forumdisplay.php?fid=24)
+--- Thread: Help setting up FTP and Ping to my Linux Lite machine (/showthread.php?tid=5899)

Pages: 1 2 3


Re: Help setting up FTP and Ping to my Linux Lite machine - timbuck2 - 01-02-2019

Eh I uninstalled and purged ufw.  I will manually manage iptables.  ufw had too much overhead for me and obfuscated my understanding of what is going on.  Thanks for your help though.  It helped me get back into iptables after so long.  Smile


Re: Help setting up FTP and Ping to my Linux Lite machine - bitsnpcs - 01-02-2019

Glad it was of some use for you in making your choice for LL your way  Smile
I want to suggest you check an app called fail2ban, it works with any firewall using iptables (including UFW), it is for people running servers like yourself.






Re: Help setting up FTP and Ping to my Linux Lite machine - timbuck2 - 01-02-2019

Ok, something deeper than iptables is going on with LL 4.2.

I still can't even ping my LL machine for the other computer.

I flushed iptables with
Code:
sudo iptables -F

and allowed all chains to accept:
Code:
sudo iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination 

and still can't get a ping response from LL. 

Any suggestions on what could be happening?


Re: Help setting up FTP and Ping to my Linux Lite machine - timbuck2 - 01-02-2019

Setup another machine on the LAN and it can ping and ftp to the LL machine fine.  I guess it's a problem on my first computer.  :o


Re: Help setting up FTP and Ping to my Linux Lite machine - trinidad - 01-02-2019

Check your BIOS on the unresponsive machine.
You can try this too: https://linux.die.net/man/8/dmidecode if you can't access BIOS normally.
Possible commands below:
dmidecode -t 24 and dmidecode -t 30
Otherwise look for other hard block switches on the system.

TC



Re: Help setting up FTP and Ping to my Linux Lite machine - timbuck2 - 01-02-2019

No bios, this is a vintage Atari ST computer.  Turned out it was the IOGear wired-to-wifi adapter causing the problems.  I connected the computer directly to the router with a cat5 cable and everything works now.  Smile


Re: Help setting up FTP and Ping to my Linux Lite machine - timbuck2 - 01-02-2019

One last issue remains.  In my vsftpd.conf file I have the local_root set but the path has a directory with spaces in it and vsftpd won't switch to it and it dumps me in my home directory.

Code:
local_enable=YES
local_root=/mnt/windows/home/users/My FTP Files/

What is the proper way to format this line to allow the path with spaces in it?


Re: Help setting up FTP and Ping to my Linux Lite machine - timbuck2 - 01-03-2019

Eh I just changed the directory name with no spaces lol.  Linux and it's spaces issues.  :Smile


Re: Help setting up FTP and Ping to my Linux Lite machine - Valtam - 01-03-2019

(01-03-2019, 12:48 AM)timbuck2 link Wrote: Eh I just changed the directory name with no spaces lol.  Linux and it's spaces issues.  :Smile

It doesn't have any 'spaces issues'. Use back slashes like so:

Code:
/mnt/windows/home/users/My\ FTP\ Files/



Re: Help setting up FTP and Ping to my Linux Lite machine - timbuck2 - 01-04-2019

Yes, I tried that of course but it dumped me to my linux home directory instead of the local_root until I took the spaces out of the pathname.

Btw, thanks for LL.  It's a great distro and am really enjoying it.  I donated $20 to the project.