LINUX LITE 7.4 RC1 RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help setting up FTP and Ping to my Linux Lite machine
#11
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
Reply
#12
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.



Reply
#13
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?
Reply
#14
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
Reply
#15
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
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply
#16
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
Reply
#17
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?
Reply
#18
Eh I just changed the directory name with no spaces lol.  Linux and it's spaces issues.  :Smile
Reply
#19
(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/
Reply
#20
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.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)