Trouble Configuring Vsftp

Using a Raspberry Pi w/ Debian

Read the manual and several "how-to"s and am getting nowhere

vsftp is running and making a log file. I can get to the Pi with putty or SAMBA

Ultimately want to be able to both(I) ftp in under the "pi" user to access files remotely and (II) have people sending me huge files ftp them in anonymously

Have tried (I) the ftp client in Windows 7 Internet explorer 11, (ii) the ftp client in the Windows 7 "map network drive" UI, and (iii) ES file explorer on my Android phone.

The android phone tells me there is no server there. Windows 7 gets no password challenge, gives no error indication, but does nothing useful. The vsftpd log file shows some attempt by the Windows machine, nothing for the Android.

Config file and log file attached.

The Android is trying to use port 21, the config file mentions something about port 20. Which ports do I need to forward in my router to enable remote access?

Any help appreciated.

Thanks. Jonathan


Similar Content



Getting Through SAMBA Security

Ugh - been working on this for days

I have a SAMBA server running on a Raspberry Pi. Should be pretty much up to date - retrieved today.

Want to get Windows 7 and Android smartphones to be able to access, but neither can. Ideally, I would like to generate no password challenge, but that does not seem to be on the agenda. Windows 7 cannot seem to send the account name in a way SAMBA understands. The Android phones similarly have no luck getting credentials to SAMBA.

Tried many, many variations, read many, many pieces of advice. Most recent smb.conf attached.

FYI
1) I have tried with and without SECURITY=USER
2) did smbpasswd -an nobody
3) the share has CHMOD 775
4) testparm seems happy

Any help appreciated.

Jonathan

What Should I Do So That I Can Access My Notes From Anywhere

Hi all,

I'm aspiring new Linux Administrator and I have been given tasks of looking at various Linux servers and clients. As a newbie, I often forget/confuse about the series of steps I should take to accomplish certain tasks against various types of Linux distro. So I have some large no of notes in text file format, which i often refer to.

Earlier I used Microsoft OneNote, which can be used to view/update/create notes from my home PC, my Android phone or through various web browsers at client's site. But now, I am not able to access notes simply because, (1) MS SkyDrive is too slow, (2) Many of Linux machines have no GUI, (3) I'm not allowed to carry my Android phone inside server rooms, etc.

Long story short, I should be able to access my text notes in terminal from any machine which has internet connection. And also if I may extend, also in my android phone.

What I have with me is one .com domain with hosting space for next 1 year.

Any Idea on how I should proceed will be really appreciated.

Many thanks.

Transferring Audio Files From A Media Player To An Android Phone

Hi all,

I'm not quite a newbie having been using Linux for around a year now and think I know some of the basics at least. In the main it does what I want, some things better than they ever did on Window while some things frustratingly more awkward!

I have a load of music files that I'd like to search through and transfer some to the external sd card of my android phone. This was something that was a doddle during my Windows days but seems unbelievably difficult now. Back then I used a media player I loved, Mediamonkey, and could simply drag and drop whichever tracks I wanted, or right click and move to a device that way. Sadly this doesn't work too well with WINE though so is fine on XP through Virtualbox, apart from a lack of USB function.

I'm using Linux Mint 17.1 with a KDE desktop.

When I plug my phone into a USB port, it is recognised straight away as an android phone and I can navigate around it with no problems in Dolphin. I could look for each individual file and transfer them that way but with around 30,000 mp3s the task would take quite some time!

None of the media players I've tried so far recognise the phone or the storage on it.

I've installed Windows XP on Virtualbox and have Mediamonkey on there with all my audio files. I can't seem to get Virtualbox to recognise any USB devices so I can't transfer files that way either.

I find it annoying that, in effect, Android is a variety of Linux yet connectivity between the two is so complicated. Airdroid has been the best way that I've found but that's not an option.

I've been trying for 4 hours now and have got nowhere. If anyone can help I'd be grateful Thanks

Urgent!! File Transfer From Windows To Linux Server Using Ftp

Dear All

I need your help.
I want to get a file from windows server using ftp.
Below is the script I have created but the connection is not established:

#!/bin/sh

lcd "directory in linux server"
USER="username of windows server"
PASS="password"

ftp -n "ip of windows server" <<EOF
user $USER $PASS

cd "C:\Users... directory in windows server where file is located"
bin
get test1234.txt

bye

EOF

I hope somebody can help me!
BR,

How To Open Linux File/software In Windows 8?

Hi,

Could anyone please explain as understandable as possible how could I on my Windows 8 open either single file or install (and use) entire software which is supposted to work on Linux and/or Ubuntu? I have absolutelly NO experience with Linux and have never used it. Honestly, I don't know if there is any difference between Linux and Ubuntu. I want to be inside my Windows 8 while using Linux files/sofware. The only solution I could think of are actually two but neither of them is useful for me:

1. Vmware (i don't know how to use it)
2. Rent remote computer (vps/rdp) with linux OS installed (this would let me be in Windows 8 while being able to use Linux file/software [on remote computer] but sooner or later I would want to have Windows installed there too)

Tried program Linux Reader but didn't work on my Windows 8. Although I would need solution for installation/usage of software (that can be used only on linux/ubuntu), regardless of details***, the current problem is basically related to single files only: I have two files, both in IMG extension. Don't know how to open them because Deamon Tools doesn't handle IMG. The problem is that filesystem in one of them is "Linux" and filesystem in another is "142". The error I am getting when I try to open them is:

"File with harddrive/disc snapshot is corrupted."

But this is most likely because they are supposted to be used in linux environment, hence such question.

*** when i said "details" I was referring to basically anything: type of software, size, purpose, whether or not it needs network connection, whether or not it contains logging in (username password, etc) requirement, etc.

The following solution for current situation (quoted error above) works only partially:

http://www.sysprobs.com/simple-tip-h...thout-software

I am able to open/run/mount IMG if I do what is described on this link (im basically opening iso in this case - see the website) but when opening the virtual drive, the following error message proves that the file can be used in linux/ubuntu only:

"Windows cannot access that drive. Drive could be corrupted. Make sure the drive is in condition that can be recognized by Windows. If drive isn't formatted then format it before usage."

Would need detailed instructions, for total beginner, who has never used linux/ubuntu, what to do in such case: how to use in win8 files/software that are supposted to be used in linux/ubuntu. Also answer on how to open IMG would be highly appreciated.

Kindest regards and thank you a million in advance.

Python Ftplib

hello all,

please help me with python ftplib. i was trying to copy files from my linux machine to a windows server using ftplib. everything was working good. but i'm only able to copy files from the same directory the script is. how do i copy files from a different directory? i always get "file not found error message". here's my code :

Code:
tester_name = str (socket.gethostname())
def upload(ftp, file):
    ext = os.path.splitext(file)[1]
    if ext in (".txt", ".htm", ".html"):
        ftp.storlines("STOR " + file, open(file))
    else:
        ftp.storbinary("STOR " + file, open(file, "rb"), 1024)



parse_source_path = ('/path/to/where/i/go/')
parse_source_file_list = os.listdir(parse_source_path)

ftp = ftplib.FTP("server_IP")
ftp.login("username", "pass")

folder_list = []

ftp.dir(folder_list.append)

if str(tester_name) not in str(folder_list) :
    ftp.mkd("%s"%tester_name)
    ftp.cwd("%s"%tester_name)
    for files in parse_source_file_list :
        print files
        upload(ftp, files)


else :
    print "later"

Is A DHCP Router A Network Server?



I have several computers connected to a D-Link DIR605L router, two with ethernet cables and two through wifi. The Windows XP computer can see itself and nobody else. The Ubuntu (trusty) desktop and Ubuntu (lucid) netbook computers see nobody (unable to retrieve file list from server) and the Windows Vista computer only sees itself. Clearly, I have failed to configure something or a set of somethings.
Do I have to have one of the computers always on, acting as some kind of file server or can the router do this job? This is a new router. My old one (whose power supply went phut) connected everybody without arguing about it and we could share files around, even with a mix of OSs.
Since this is a local network only, I have no firewalls enabled, as far as I know ...
All of the network set-up posts I've found rabbit on about how to get your internet connection working through your router, which is not an option for me. I have dial-up working on the XP computer and a mobile wireless USB dongle for internet access on the trusty desktop.
I've installed samba and a few other packages, but so far, none of them have solved my problem. Can someone please tell me where to start and which tutorials to read? If I have to set up a computer as a file server, I guess it will have to be the XP thing, as it's the only one that is always running, but I'd like to avoid that, if possible, as I speak XP worse than I speak Ubuntu.
BTW, D-Link are no help at all, two hours on the 'phone and they were still trying to get me to connect to an ADSL service I don't have ...

Restrict File Share Access To Only Certain LAN IP Addresses?

Hello
I have a few folders that I would like allow only access to certain ip schema
like for example
-folder "Products" allow access only to 10.10.20.x
-folder "Customers" allow access only to 10.10.21.x

Can this be dome using Samba?

machines connecting are windows machine from different networks coming true vpn

Thank you
-Fred

Why Can't My Windows Clients Write To My Samba Shares (Unbuntu 14.04)

I'm struggling with Samba with a new NAS/Media server I am trying to build. I have created some shares on my Unbuntu server with Samba that are visible and browseable from my home Windows 8.1 clients but when I try to write to any of them I receive a "try again" error.

I want to be able to copy files from my PC to my new Unbuntu server's shares. For now I have one user only on my Unbuntu server that's in the sudo group. From Windows I have tried to map network drive with "different credentials" but no matter what I try from Windows I still can't copy or move files from Windows to the shares.

Thank you

Fdisk Does Not Detect Android: Ubuntu / OR How To Find Android In Dmesg ?

Anybody can give me some insight how to get my Android device to show up in fdisk? Im having some trouble.

It isnt "just" showing up, and it isnt available with usbdebugging, mounting/unmounting, etc.