Jump to content


Photo

Once again about mounting.


  • Please log in to reply
24 replies to this topic

#1 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 18 January 2021 - 12:21

Good afternoon.I have never mounted,but now I decided to try.
Pli 8.0,I create a new connection save and the system freezes.After restarting,I go into the mount settings and my settings are in place,but there is no mount.
I mount via telnet by the team mount -t cifs -o rw,utf8,vers=3.0,nolock,username="guest",password="" '//192.168.1.123/video' '/media/net/PC'-the mount works, I can see the files and can run the files on the mounted device.
But in the mount settings there is a cross on the mount.After restarting the gui there is a mount,but it is not displayed in the settings.After a complete restart,the mount disappears.And also in the file fstab for some reason there is no mount line.
And again it is mounted via telnet.
 
automounts.xml
<?xml version="1.0" ?>
<mountmanager>
<cifs>
 <mount>
  <active>True</active>
  <hdd_replacement>False</hdd_replacement>
  <ip>192.168.1.123</ip>
  <sharename>PC</sharename>
  <sharedir>video</sharedir>
  <options>rw,vers=3.0,nolock</options>
  <username>guest</username>
  <password></password>
 </mount>
</cifs>
</mountmanager>

Attached Files


Edited by foxbob, 18 January 2021 - 12:24.


Re: Once again about mounting. #2 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 18 January 2021 - 13:26

Start Enigma from the commandline in debug mode, it will show you the mount commands issued, and any error messages.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Once again about mounting. #3 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 18 January 2021 - 14:14

Strange there is nothing in the log.

Only this is.

2021-01-18 15:02:21+0200 [-] [AutoMount.py] UMOUNT-CMD-3 ---> umount -fl '/media/net/PC'
2021-01-18 15:02:21+0200 [-] [AutoMount.py] CIFS MOUNT-CMD---> mount -t cifs -o rw,vers=3.0,nolock,username="guest",iocharset=utf8 '//192.168.1.123/video' '/media/net/PC'
2021-01-18 15:02:21+0200 [-] [Console] command: mount -t cifs -o rw,vers=3.0,nolock,username="guest",iocharset=utf8 '//192.168.1.123/video' '/media/net/PC'

2021-01-18 15:03:19+0200 [-] [Screen] Showing screen '['AdapterSetupConfiguration_summary', 'SimpleSummary']'.
2021-01-18 15:03:19+0200 [-] [Screen] Showing screen 'AdapterSetupConfiguration'.
2021-01-18 15:03:19+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:18 +0000] "GET /api/remotecontrol?command=352&_=1610963952547 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:19+0200 [-] [Console] finished: ('/usr/sbin/ethtool', '/usr/sbin/ethtool', 'eth0')
2021-01-18 15:03:19+0200 [-] [Console] command: ('/bin/ping', '/bin/ping', '-c', '1', 'www.openpli.org')
2021-01-18 15:03:19+0200 [-] [Console] command: ('/bin/ping', '/bin/ping', '-c', '1', 'www.google.nl')
2021-01-18 15:03:19+0200 [-] [Console] command: ('/bin/ping', '/bin/ping', '-c', '1', 'www.google.com')
2021-01-18 15:03:19+0200 [-] [Console] finished: ('/bin/ping', '/bin/ping', '-c', '1', 'www.google.com')
2021-01-18 15:03:19+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:19 +0000] "GET /grab?format=jpg&mode=all&t=1610974999830 HTTP/1.1" 200 245214 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:19+0200 [-] [Console] finished: ('/bin/ping', '/bin/ping', '-c', '1', 'www.openpli.org')
2021-01-18 15:03:19+0200 [-] [Console] finished: ('/bin/ping', '/bin/ping', '-c', '1', 'www.google.nl')
2021-01-18 15:03:20+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:20 +0000] "GET /api/pipinfo?_=1610963952548 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:21+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:20 +0000] "GET /grab?format=jpg&mode=all&t=1610975001324 HTTP/1.1" 200 295416 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:21+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:20 +0000] "GET /api/pipinfo?_=1610963952549 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:21+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:20 +0000] "GET /grab?format=jpg&mode=all&t=1610975001823 HTTP/1.1" 200 263902 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:22+0200 [-] [ActionMap] Keymap 'WizardActions' -> Action = 'down'.
2021-01-18 15:03:22+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:20 +0000] "GET /api/remotecontrol?command=108&_=1610963952550 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:22+0200 [-] [ActionMap] Keymap 'WizardActions' -> Action = 'down'.
2021-01-18 15:03:22+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:22 +0000] "GET /api/remotecontrol?command=108&_=1610963952551 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:22+0200 [-] [ActionMap] Keymap 'WizardActions' -> Action = 'down'.
2021-01-18 15:03:22+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:22 +0000] "GET /api/remotecontrol?command=108&_=1610963952552 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:23+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:22 +0000] "GET /api/pipinfo?_=1610963952553 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:23+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:23 +0000] "GET /grab?format=jpg&mode=all&t=1610975003826 HTTP/1.1" 200 261151 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:23+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:23 +0000] "GET /api/pipinfo?_=1610963952554 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:24+0200 [-] [ActionMap] Keymap 'WizardActions' -> Action = 'down'.
2021-01-18 15:03:24+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:23 +0000] "GET /api/remotecontrol?command=108&_=1610963952555 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:24+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:23 +0000] "GET /grab?format=jpg&mode=all&t=1610975004541 HTTP/1.1" 200 259710 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:25+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:23 +0000] "GET /api/pipinfo?_=1610963952556 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:25+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:25 +0000] "GET /api/pipinfo?_=1610963952557 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:25+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:25 +0000] "GET /grab?format=jpg&mode=all&t=1610975005942 HTTP/1.1" 200 251321 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:26+0200 [-] [ActionMap] Keymap 'WizardActions' -> Action = 'ok'.
2021-01-18 15:03:26+0200 [-] [WirelessLan] iStatus killing self.WlanConsole
2021-01-18 15:03:26+0200 [-] [ActionMap] Keymap(s) 'ShortcutActions, WizardActions' -> Undefined action(s) 'cancel'.
2021-01-18 15:03:26+0200 [-] [Skin] Processing screen 'AutoMountManager', position=(0, 0), size=(1920 x 1080) for module 'AutoMountManager'.
2021-01-18 15:03:26+0200 [-] [Skin] Processing screen 'SimpleSummary' from list 'AutoMountManager_summary, SimpleSummary', position=(0, 0), size=(1 x 1) for module 'SimpleSummary'.
2021-01-18 15:03:26+0200 [-] [Screen] Showing screen '['AutoMountManager_summary', 'SimpleSummary']'.
2021-01-18 15:03:26+0200 [-] [Screen] Showing screen 'AutoMountManager'.
2021-01-18 15:03:26+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:25 +0000] "GET /api/remotecontrol?command=352&_=1610963952558 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:26+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:26 +0000] "GET /api/statusinfo?_=1610963952559 HTTP/1.1" 200 328 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:27+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:26 +0000] "GET /api/pipinfo?_=1610963952560 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:27+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:27 +0000] "GET /api/pipinfo?_=1610963952561 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:27+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:27 +0000] "GET /grab?format=jpg&mode=all&t=1610975007892 HTTP/1.1" 200 278764 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:28+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:28 +0000] "GET /api/remotecontrol?command=108&_=1610963952562 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:29+0200 [-] [ActionMap] Keymap 'WizardActions' -> Action = 'ok'.
2021-01-18 15:03:29+0200 [-] [ActionMap] Keymap(s) 'ShortcutActions, WizardActions' -> Undefined action(s) 'cancel'.
2021-01-18 15:03:29+0200 [-] [NetworkBrowser] fallback to default translation for IP:
2021-01-18 15:03:29+0200 [-] [Skin] Processing screen 'AutoMountView', position=(0, 0), size=(1920 x 1080) for module 'AutoMountView'.
2021-01-18 15:03:29+0200 [-] [Skin] Processing screen 'SimpleSummary' from list 'AutoMountView_summary, SimpleSummary', position=(0, 0), size=(1 x 1) for module 'SimpleSummary'.
2021-01-18 15:03:29+0200 [-] [Screen] Showing screen '['AutoMountView_summary', 'SimpleSummary']'.
2021-01-18 15:03:29+0200 [-] [Screen] Showing screen 'AutoMountView'.
2021-01-18 15:03:29+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:28 +0000] "GET /api/remotecontrol?command=352&_=1610963952563 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:29+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:28 +0000] "GET /api/pipinfo?_=1610963952564 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:29+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:29 +0000] "GET /grab?format=jpg&mode=all&t=1610975009830 HTTP/1.1" 200 236466 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:30+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:29 +0000] "GET /api/pipinfo?_=1610963952565 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:30+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:29 +0000] "GET /grab?format=jpg&mode=all&t=1610975010736 HTTP/1.1" 200 235242 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:31+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:29 +0000] "GET /api/pipinfo?_=1610963952566 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:31+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:31 +0000] "GET /grab?format=jpg&mode=all&t=1610975011823 HTTP/1.1" 200 228048 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:32+0200 [-] [ActionMap] Keymap 'WizardActions' -> Action = 'back'.
2021-01-18 15:03:32+0200 [-] [Screen] Showing screen '['AutoMountManager_summary', 'SimpleSummary']'.
2021-01-18 15:03:32+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:31 +0000] "GET /api/remotecontrol?command=174&_=1610963952567 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:32+0200 [-] [Screen] Showing screen 'AutoMountManager'.
2021-01-18 15:03:32+0200 [-] [ActionMap] Keymap 'WizardActions' -> Action = 'back'.
2021-01-18 15:03:32+0200 [-] [Screen] Showing screen '['AdapterSetupConfiguration_summary', 'SimpleSummary']'.
2021-01-18 15:03:32+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:31 +0000] "GET /api/remotecontrol?command=174&_=1610963952568 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:32+0200 [-] [Screen] Showing screen 'AdapterSetupConfiguration'.
2021-01-18 15:03:32+0200 [-] [ActionMap] Keymap 'WizardActions' -> Action = 'back'.
2021-01-18 15:03:32+0200 [-] [Screen] Showing screen '['NetworkAdapterSelection_summary', 'SimpleSummary']'.
2021-01-18 15:03:32+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:32 +0000] "GET /api/remotecontrol?command=174&_=1610963952569 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:32+0200 [-] [Screen] Showing screen 'NetworkAdapterSelection'.
2021-01-18 15:03:32+0200 [-] [Screen] Showing screen 'MenuSummary'.
2021-01-18 15:03:32+0200 [-] [Screen] Showing screen '['menu_expert', 'Menu']'.
2021-01-18 15:03:32+0200 [-] [ActionMap] Keymap 'OkCancelActions' -> Action = 'cancel'.
2021-01-18 15:03:32+0200 [-] [Screen] Showing screen 'MenuSummary'.
2021-01-18 15:03:32+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:32 +0000] "GET /api/remotecontrol?command=174&_=1610963952570 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:32+0200 [-] [Screen] Showing screen '['menu_system', 'Menu']'.
2021-01-18 15:03:32+0200 [-] [ActionMap] Keymap 'OkCancelActions' -> Action = 'cancel'.
2021-01-18 15:03:32+0200 [-] [Screen] Showing screen 'MenuSummary'.
2021-01-18 15:03:32+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:32 +0000] "GET /api/remotecontrol?command=174&_=1610963952571 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:32+0200 [-] [Screen] Showing screen '['menu_setup', 'Menu']'.
2021-01-18 15:03:33+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:32 +0000] "GET /api/pipinfo?_=1610963952572 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:33+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:33 +0000] "GET /grab?format=jpg&mode=all&t=1610975013824 HTTP/1.1" 200 238033 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:33+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:33 +0000] "GET /api/pipinfo?_=1610963952573 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:34+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:33 +0000] "GET /grab?format=jpg&mode=all&t=1610975014436 HTTP/1.1" 200 240251 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:35+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:33 +0000] "GET /api/pipinfo?_=1610963952574 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:35+0200 [-] [ActionMap] Keymap 'OkCancelActions' -> Action = 'cancel'.
2021-01-18 15:03:35+0200 [-] [Screen] Showing screen 'MenuSummary'.
2021-01-18 15:03:35+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:35 +0000] "GET /api/remotecontrol?command=174&_=1610963952575 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:35+0200 [-] [Screen] Showing screen '['menu_mainmenu', 'Menu']'.
2021-01-18 15:03:35+0200 [-] [ActionMap] Keymap 'OkCancelActions' -> Action = 'cancel'.
2021-01-18 15:03:35+0200 [-] [Screen] Showing screen 'InfoBarSummary'.
2021-01-18 15:03:35+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:35 +0000] "GET /api/remotecontrol?command=174&_=1610963952576 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:35+0200 [-] [ActionMap] Keymap 'InfobarShowHideActions' -> Action = 'hide'.
2021-01-18 15:03:35+0200 [-] [Screen] Showing screen 'InfoBar'.
2021-01-18 15:03:35+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:35 +0000] "GET /api/remotecontrol?command=174&_=1610963952577 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:35+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:35 +0000] "GET /grab?format=jpg&mode=all&t=1610975015824 HTTP/1.1" 200 291616 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:35+0200 [-] [ActionMap] Keymap 'InfobarShowHideActions' -> Action = 'hide'.
2021-01-18 15:03:35+0200 [-] [Screen] Showing screen 'InfoBar'.
2021-01-18 15:03:35+0200 [-] [Screen] Showing screen 'SecondInfoBar'.
2021-01-18 15:03:35+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:35 +0000] "GET /api/remotecontrol?command=174&_=1610963952578 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:35+0200 [-] [ActionMap] Keymap 'InfobarShowHideActions' -> Action = 'hide'.
2021-01-18 15:03:35+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:35 +0000] "GET /api/remotecontrol?command=174&_=1610963952579 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:36+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:35 +0000] "GET /api/pipinfo?_=1610963952580 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:37+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:36 +0000] "GET /api/pipinfo?_=1610963952581 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:37+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:36 +0000] "GET /grab?format=jpg&mode=all&t=1610975017823 HTTP/1.1" 200 430869 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:38+0200 [-] [ActionMap] Keymap 'InfobarMenuActions' -> Action = 'mainMenu'.
2021-01-18 15:03:38+0200 [-] [InfoBarGenerics] loading mainmenu XML...
2021-01-18 15:03:38+0200 [-] [Skin] Processing screen 'menu_mainmenu' from list 'menu_mainmenu, Menu', position=(0, 0), size=(1920 x 1080) for module 'MainMenu'.
2021-01-18 15:03:38+0200 [-] [Skin] Processing screen 'MenuSummary', position=(0, 0), size=(1 x 1) for module 'MenuSummary'.
2021-01-18 15:03:38+0200 [-] [Screen] Showing screen 'MenuSummary'.
2021-01-18 15:03:38+0200 [-] [Screen] Showing screen '['menu_mainmenu', 'Menu']'.
2021-01-18 15:03:38+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:36 +0000] "GET /api/remotecontrol?command=139&_=1610963952582 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:39+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:39 +0000] "GET /api/pipinfo?_=1610963952583 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:39+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:39 +0000] "GET /api/pipinfo?_=1610963952584 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:39+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:39 +0000] "GET /grab?format=jpg&mode=all&t=1610975019832 HTTP/1.1" 200 199845 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:40+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:39 +0000] "GET /api/remotecontrol?command=103&_=1610963952585 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:41+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:40 +0000] "GET /api/pipinfo?_=1610963952586 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:41+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:41 +0000] "GET /api/pipinfo?_=1610963952587 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:41+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:41 +0000] "GET /api/statusinfo?_=1610963952588 HTTP/1.1" 200 328 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:41+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:41 +0000] "GET /grab?format=jpg&mode=all&t=1610975021937 HTTP/1.1" 200 202676 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:41+0200 [-] [ActionMap] Keymap 'OkCancelActions' -> Action = 'ok'.
2021-01-18 15:03:41+0200 [-] [Skin] Processing screen 'Menu' from list 'menu_shutdown, Menu', position=(0, 0), size=(1920 x 1080) for module 'Menu'.
2021-01-18 15:03:41+0200 [-] [Skin] Processing screen 'MenuSummary', position=(0, 0), size=(1 x 1) for module 'MenuSummary'.
2021-01-18 15:03:41+0200 [-] [Screen] Showing screen 'MenuSummary'.
2021-01-18 15:03:41+0200 [-] [Screen] Showing screen '['menu_shutdown', 'Menu']'.
2021-01-18 15:03:41+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:41 +0000] "GET /api/remotecontrol?command=352&_=1610963952589 HTTP/1.1" 200 86 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 15:03:42+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:13:03:41 +0000] "GET /api/pipinfo?_=1610963952590 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"



Re: Once again about mounting. #4 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 18 January 2021 - 14:23

2021-01-18 15:02:21+0200 [-] [AutoMount.py] CIFS MOUNT-CMD---> mount -t cifs -o rw,vers=3.0,nolock,username="guest",iocharset=utf8 '//192.168.1.123/video' '/media/net/PC'
2021-01-18 15:02:21+0200 [-] [Console] command: mount -t cifs -o rw,vers=3.0,nolock,username="guest",iocharset=utf8 '//192.168.1.123/video' '/media/net/PC'

Maybe need add ,password=""

when <password></password>
 


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Once again about mounting. #5 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 18 January 2021 - 14:24

I'm missing the "[Console] finished" line for the mount, suggesting the command is hanging somewhere, the shell hasn't returned yet.

 

Nothing weird about the mount command itself though, it looks fine.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Once again about mounting. #6 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 18 January 2021 - 14:25

Maybe need add ,password=""
when <password></password>

 
 Then it wouldn't work on the commandline either?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Once again about mounting. #7 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 18 January 2021 - 14:31

This is no OpenPLi log, or? Looks more like OpenATV.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Once again about mounting. #8 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 18 January 2021 - 14:31

 

Maybe need add ,password=""
when <password></password>

 
 Then it wouldn't work on the commandline either?

 

foxbob

I mount via telnet by the team mount -t cifs -o rw,utf8,vers=3.0,nolock,username="guest",password="" '//192.168.1.123/video' '/media/net/PC'-the mount works, I can see the files and can run the files on the mounted device.

https://github.com/O...d128a8da05fc015

 

These are just thoughts out loud.


Edited by Dimitrij, 18 January 2021 - 14:34.

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Once again about mounting. #9 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 18 January 2021 - 14:36

Ah, missed that.

 

Yes, that looks like it should be fixed. I don't have anything not password protected, never tried this... ;)


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Once again about mounting. #10 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 18 January 2021 - 14:46

Maybe

			if username or password:
				options.append('username="%s"' % (username or ""))
				options.append('password="%s"' % (password  or ""))

 


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Once again about mounting. #11 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 18 January 2021 - 14:55

Fix pushed (along those lines, yes ;)).

 

Is a blank username but a non-blank password a valid option? I don't think so.


Edited by WanWizard, 18 January 2021 - 14:56.

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Once again about mounting. #12 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 18 January 2021 - 15:01

There is no password line in the log,but there are no problems when mounting via telnet.

I added this log from the openvision-twisted.log.


Edited by foxbob, 18 January 2021 - 15:02.


Re: Once again about mounting. #13 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 18 January 2021 - 15:01

 

 

Is a blank username but a non-blank password a valid option? I don't think so.

			if username and password:
				options.append('username="%s"' % username)
				options.append('password="%s"' % password)

 

 


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Once again about mounting. #14 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 18 January 2021 - 16:29

Rebuilt with updates,on the screen you can see the password line,there is no such line in the log.

1970-01-01 03:00:26+0300 [-] [AutoMount.py] UMOUNT-CMD-3 ---> umount -fl '/media/net/PC'
1970-01-01 03:00:26+0300 [-] [AutoMount.py] CIFS MOUNT-CMD---> mount -t cifs -o rw,vers=2.1,nolock,username="guest",,iocharset=utf8 '//192.168.1.123/video' '/media/net/PC'
1970-01-01 03:00:26+0300 [-] [Console] command: mount -t cifs -o rw,vers=2.1,nolock,username="guest",,iocharset=utf8 '//192.168.1.123/video' '/media/net/PC'

Attached Files



Re: Once again about mounting. #15 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 18 January 2021 - 16:50

Maybe

options.append('password="%s"' % "" if password is None else password)

needs brackets:

options.append('password="%s"' % ("" if password is None else password))

?

 

Because now the entire option is blank...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Once again about mounting. #16 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 18 January 2021 - 17:28

			# and add any passed
-			if username or password:
+			if username:
				options.append('username="%s"' % username)
				options.append('password="%s"' % ("" if password is None else password))

Maybe so?


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Once again about mounting. #17 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 18 January 2021 - 17:31

Yes, already fixed (and updated the pinning for the next release build).

 

The issue was I was testing with python3, which evaluates left to right, but python2 needs the brackets.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Once again about mounting. #18 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 18 January 2021 - 17:39

The problem seems to be solved,but there is no complete restart of the mount.I went into the mount settings,opened them and saved them with the OK button.
Maybe it depends on the system time,although it seems it shouldn't.
1970-01-01 03:00:26+0300 [-] [AutoMount.py] UMOUNT-CMD-3 ---> umount -fl '/media/net/PC'
1970-01-01 03:00:26+0300 [-] [AutoMount.py] CIFS MOUNT-CMD---> mount -t cifs -o rw,vers=3.0,nolock,username="guest",password="",iocharset=utf8 '//192.168.1.123/video' '/media/net/PC'
1970-01-01 03:00:26+0300 [-] [Console] command: mount -t cifs -o rw,vers=3.0,nolock,username="guest",password="",iocharset=utf8 '//192.168.1.123/video' '/media/net/PC'

2021-01-18 18:31:06+0200 [-] [Screen] Showing screen 'AutoMountEdit'.
2021-01-18 18:31:13+0200 [-] [ActionMap] Keymap 'SetupActions' -> Action = 'ok'.
2021-01-18 18:31:13+0200 [-] [Skin] Processing screen 'MessageBox', position=(0, 0), size=(1920 x 1080) for module 'MessageBox'.
2021-01-18 18:31:13+0200 [-] [Screen] Warning: Skin is missing element 'autoresize' in <class 'Screens.MessageBox.MessageBox'>(Точка монтирования с таким именем уже существует!
2021-01-18 18:31:13+0200 [-] Обновить существующую запись и продолжить?
2021-01-18 18:31:13+0200 [-] ).
2021-01-18 18:31:13+0200 [-] [Skin] Processing screen 'MessageBox_summary' from list 'MessageBox_summary, SimpleSummary', position=(0, 0), size=(1 x 1) for module 'SimpleSummary'.
2021-01-18 18:31:13+0200 [-] [Screen] Showing screen '['MessageBox_summary', 'SimpleSummary']'.
2021-01-18 18:31:13+0200 [-] [Screen] Showing screen 'MessageBox'.

2021-01-18 18:31:16+0200 [-] [Screen] Showing screen 'AutoMountEdit'.
2021-01-18 18:31:16+0200 [-] [Skin] Processing screen 'MessageBox', position=(0, 0), size=(1920 x 1080) for module 'MessageBox'.
2021-01-18 18:31:16+0200 [-] [Screen] Warning: Skin is missing element 'autoresize' in <class 'Screens.MessageBox.MessageBox'>(Пожалуйста, подождите, обновления вашего сетевого монтирования...).
2021-01-18 18:31:16+0200 [-] [Skin] Processing screen 'MessageBox_summary' from list 'MessageBox_summary, SimpleSummary', position=(0, 0), size=(1 x 1) for module 'SimpleSummary'.
2021-01-18 18:31:16+0200 [-] [Screen] Showing screen '['MessageBox_summary', 'SimpleSummary']'.
2021-01-18 18:31:16+0200 [-] [Screen] Showing screen 'MessageBox'.
2021-01-18 18:31:16+0200 [-] [AutoMount.py] UMOUNT-CMD-3 ---> umount -fl '/media/net/PC'
2021-01-18 18:31:16+0200 [-] [AutoMount.py] CIFS MOUNT-CMD---> mount -t cifs -o rw,vers=3.0,nolock,username="guest",password="",iocharset=utf8 '//192.168.1.123/video' '/media/net/PC'
2021-01-18 18:31:16+0200 [-] [Console] command: mount -t cifs -o rw,vers=3.0,nolock,username="guest",password="",iocharset=utf8 '//192.168.1.123/video' '/media/net/PC'
2021-01-18 18:31:16+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:16:31:16 +0000] "GET /grab?format=jpg&mode=all&t=1610976677054 HTTP/1.1" 200 199908 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 18:31:16+0200 [-] [Console] finished: mount -t cifs -o rw,vers=3.0,nolock,username="guest",password="",iocharset=utf8 '//192.168.1.123/video' '/media/net/PC'
2021-01-18 18:31:16+0200 [-] [AutoMount.py] CheckMountPointFinished  0
2021-01-18 18:31:16+0200 [-] [AutoMount.py] CheckMountPointFinished, verifying:  /media/net/PC
2021-01-18 18:31:16+0200 [-] [AutoMount.py] CheckMountPointFinished, # of appContainers:  0
2021-01-18 18:31:16+0200 [-] [AutoMount.py] CheckMountPointFinished, callback timer
2021-01-18 18:31:17+0200 [-] "::ffff:192.168.1.123" - - [18/Jan/2021:16:31:16 +0000] "GET /api/pipinfo?_=1610976574377 HTTP/1.1" 200 33 "http://192.168.1.147/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
2021-01-18 18:31:17+0200 [-] self.automounts after mounting {'PC': {'username': 'guest', 'sharedir': 'video', 'ip': '192.168.1.123', 'isMounted': True, 'host': '', 'active': 'True', 'password': '', 'sharename': 'PC', 'hdd_replacement': 'False', 'options': 'rw,vers=3.0,nolock', 'mounttype': 'cifs'}}


Re: Once again about mounting. #19 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 18 January 2021 - 17:43

			# and add any passed
-			if username or password:
+			if username:
				options.append('username="%s"' % username)
				options.append('password="%s"' % ("" if password is None else password))

When username=None?

root@lunix3-4k:~# python
Python 2.7.13 (default, Mar 12 2019, 21:30:18)
[GCC 6.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> username=None
>>> options = []
>>> options.append('username="%s"' % username)
>>> print options
['username="None"']
>>>

 


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Once again about mounting. #20 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 18 January 2021 - 18:45

In Python3, this

options.append('password="%s"' % "" if password is None else password)

produces password=""
 

but in Python2, it produces an empty string.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users