I an attempting to network the android phone. using WiFi
The router is a billion BP 7800NXL with a WiFi port
The computer file manager is Dolphin
I changed the phone IP to 192.168.1.220 to avoid router DHCP
I modified the "hosts" file to reflect the phone IP address
When the phone connects to the router I open the phone's File Manager.
The phone File Manager menu option is "Connect to Computer"
and then "Start" > select int/ext storage and then directs me to
enter "ftp://192.168.1.220:2121" into the computer file manager.
This always fails the first time because the computer file manager
removes one of the double forward slashes in the ftp address and then
says "no host name specified"
When I correct the ftp address the computer file manager displays the
phone directory structure and the contents . But they are not accessible.
If I use the computer file manager to copy a phone file to the computer
only the meta data is transferred and then a pop up says "Could not read
file "
But I can copy a file from computer to the phone
If I enter the ftp address into the computer browser Firefox, then I can
read and copy files to the computer
I changed the phone IP to 192.168.1.220 to avoid router DHCP
If you are not going to use DHCP I would disable it if you are
going to enable your router wireless device.
You do need to disable SSID broadcasting and use strongest protocol
possible with a long key.
I have not bothered to study your modem manual. On mine, I found a
section where I can set mine to only allow devices by mac id.
Also, I have no experience with mobile phones.
If I use the computer file manager to copy a phone file to the computer
only the meta data is transferred and then a pop up says "Could not read
file "
Hmmm, I would have thought you would not even have access to meta data
let alone file data.
If by the "ftp directory" you mean the window in Dolphin displaying the
But I can copy a file from computer to the phone
Then I can guess the file is in the "ftp directory"
At this point, I concede I know nothing about why Dolphin fails and
firefox works on the ftp address.
If no one gets you some answers, you might want to post over on comp.os.linux.networking
That assumes you have entered something like
linux wireless android ftp access
in the first box at
https://encrypted.google.com/advanced_search
I tried it and got About 4,710,000 results (0.90 seconds)
On 29/11/19 10:35 am, Bit Twister wrote:
I changed the phone IP to 192.168.1.220 to avoid router DHCP
If you are not going to use DHCP I would disable it if you are
going to enable your router wireless device.
Yes I suppose with the hosts file properly configured, the DHCP is not
needed
You do need to disable SSID broadcasting and use strongest protocol
possible with a long key.
I just tried that and the phone could not detect the WiFi signal.
If by the "ftp directory" you mean the window in Dolphin displaying the
Then I can guess the file is in the "ftp directory"
phone files, then yes.
Hey!! the USB cable still works. I just though the WiFi would be more
elegant
Then I can guess the file is in the "ftp directory"If by the "ftp directory" you mean the window in Dolphin displaying the
phone files, then yes.
The "ftp directory" is like a web server directory. It is where you
have configure the server for file storage/permissions for world read/write access.
Hey!! the USB cable still works. I just though the WiFi would be more
elegant
Yeah, and much easier access for the neighbor criminal. My wireless
cameras have been cracked, and malware installed allowing the criminal
to connect to them and has been scanning ports, trying to get into the desktop systems.
Woah really. He got past all your passwords and stuff. That's impressive!!
Are you going to build a honeypot?
On Sat, 30 Nov 2019 08:33:29 +1100, faeychild wrote:
Woah really. He got past all your passwords and stuff. That's
impressive!!
Are you going to build a honeypot?
Only if I had a spare computer.
You might want to read
https://en.wikipedia.org/wiki/Wi-Fi_Protected_Access
As an aside - do you remember all the networking episode and the
169.x.x.x address in the routing table caused by zeroconf.
The address is back and my "/etc/sysconfig/network" file was down to
only three entries again
HOSTNAME
NETWORKING
CRDA_DOMAIN
Tuesdays backup (mageia_bu) of the file is the same.
I wonder if a recent update does this?
No one else has this event though. Curious!
I understand why you have scripts monitoring everything.
I have since corrected the "network" file
On Sat, 30 Nov 2019 16:57:31 +1100, faeychild wrote:
As an aside - do you remember all the networking episode and the
169.x.x.x address in the routing table caused by zeroconf.
Yes.
The address is back and my "/etc/sysconfig/network" file was down to
only three entries again
HOSTNAME
NETWORKING
CRDA_DOMAIN
Tuesdays backup (mageia_bu) of the file is the same.
I wonder if a recent update does this?
Not on my system.
No one else has this event though. Curious!
Maybe you dinking around with wireless helped you into the ditch.
I understand why you have scripts monitoring everything.
I have since corrected the "network" file
Yep, easy enough for you to have a sys_audit script to run daily for
a check. Easy test, you need to change line count to match yours.
_count=$(wc -l < /etc/sysconfig/network)
if [ $_count -ne 5 ] ; then
echo "$_app /etc/sysconfig/network line count not equal 5" >> $_rpt_fn
mail -s $_app failures root < $_rpt_fn
fi
Or you can use grep to see if NOZEROCONF disappeared.
At this point, I concede I know nothing about why Dolphin fails and
firefox works on the ftp address.
Maybe you dinking around with wireless helped you into the ditch.
I understand why you have scripts monitoring everything.
I have since corrected the "network" file
Yep, easy enough for you to have a sys_audit script to run daily for
a check. Easy test, you need to change line count to match yours.
On Sat, 30 Nov 2019 03:56:15 -0600, Bit Twister wrote:
On Sat, 30 Nov 2019 16:57:31 +1100, faeychild wrote:
As an aside - do you remember all the networking episode and the
169.x.x.x address in the routing table caused by zeroconf.
Yes.
The address is back and my "/etc/sysconfig/network" file was down to
only three entries again
HOSTNAME
NETWORKING
CRDA_DOMAIN
Tuesdays backup (mageia_bu) of the file is the same.
I wonder if a recent update does this?
Not on my system.
No one else has this event though. Curious!
Maybe you dinking around with wireless helped you into the ditch.
I understand why you have scripts monitoring everything.
I have since corrected the "network" file
Yep, easy enough for you to have a sys_audit script to run daily for
a check. Easy test, you need to change line count to match yours.
_count=$(wc -l < /etc/sysconfig/network)
if [ $_count -ne 5 ] ; then
echo "$_app /etc/sysconfig/network line count not equal 5" >> $_rpt_fn
mail -s $_app failures root < $_rpt_fn
fi
Oops, the mail command should have subject quoted.
mail -s "$_app failures" root < $_rpt_fn
Or you can use grep to see if NOZEROCONF disappeared.
Best test would be to have a reference file so you can use diff to
warn you about any change to the file.
On 29/11/19 10:35 am, Bit Twister wrote:
At this point, I concede I know nothing about why Dolphin fails and
firefox works on the ftp address.
I have an Android phone and an Android tablet. My Wifi router can see
both without modification. I haven't given them specific addresses; the next number in the 192.168 set is allocated automatically. Firefox in
Linux can read the Firefox history from the tablet, and display the
history in the sidebar in Linux.
I did read somewhere that a while back, changes were made to the Android
OS which made file transfer much more difficult,
On 1/12/19 4:49 am, Doug Laidlaw wrote:
On 29/11/19 10:35 am, Bit Twister wrote:
At this point, I concede I know nothing about why Dolphin fails and
firefox works on the ftp address.
I have an Android phone and an Android tablet. My Wifi router can see
both without modification. I haven't given them specific addresses; the >> next number in the 192.168 set is allocated automatically. Firefox in
Linux can read the Firefox history from the tablet, and display the
history in the sidebar in Linux.
I did read somewhere that a while back, changes were made to the Android
OS which made file transfer much more difficult,
Now requires an "ftp" client / server
For the infrequent time I need to transfer files, the usb connection is fine. Leaving a wireless port open on a router is not acceptable.
regards
Yes, they now use and mtp filesystem to present to the Linux OS, which
does not seem to actually be monted anywhere, so you cannot access it
via the usual Linux filesystem commands. However, the program
On 1/12/19 9:37 am, William Unruh wrote:
Yes, they now use and mtp filesystem to present to the Linux OS, which
does not seem to actually be monted anywhere, so you cannot access it
via the usual Linux filesystem commands. However, the program
Yes I had noticed that the phone on USB, unlike an actual USB stick, had
no unmount option in the file manger right click menu.
A bit of magic
regards
On 29/11/19 10:35 am, Bit Twister wrote:I have an Android phone with ES File Explorer. If I select Network/View
At this point, I concede I know nothing about why Dolphin fails and
firefox works on the ftp address.
I have an Android phone and an Android tablet. My Wifi router can see
both without modification. I haven't given them specific addresses; the next number in the 192.168 set is allocated automatically. Firefox in
Linux can read the Firefox history from the tablet, and display the
history in the sidebar in Linux.
I did read somewhere that a while back, changes were made to the Android
OS which made file transfer much more difficult, and killed the playing
of media files in other OSs, but I can set up file transfers over
wireless, using an Android app or an advanced file manager, and read the directory structure and move files across the network using FileZilla at
the Linnux end. Both Android apps give me an address and port number to enter into FileZilla. The port numbers are not the same in both: one is 2221.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 482 |
Nodes: | 16 (2 / 14) |
Uptime: | 40:28:50 |
Calls: | 9,566 |
Files: | 13,656 |
Messages: | 6,141,779 |