Luci-app-samba opkg for wr1043v1.4 18.06.09 OpenWrt

where to enter config 'samba' not work in softwer lui now in ssh

Unknown package 'smbcontrol'. lui


login as: root
root@192.168.1.27's password:
Access denied
root@192.168.1.27's password:


BusyBox v1.28.4 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 18.06.9, r8077-7cbbab7246
 -----------------------------------------------------
root@TL-WR1043v1:~# config 'samba'
-ash: config: not found
root@TL-WR1043v1:~#
root@TL-WR1043v1:~# smbcontrol
-ash: smbcontrol: not found
root@TL-WR1043v1:~#
`

in mozila same

Not Found

The requested URL /etc/config/samba was not found on this server.

i download samba samba-4.15.3.tar how to start to set pass on router ntfs mount point ist some extension i first time see

how to open waf?

tar ?
Are you compiling from scratch?

Did you install the samba luci package ?

1 Like

i dont know what i do ? i see some py seem like its pyton languag wihc i dont know also i see some sh extensions how to open that

samba luci is installed on router
Package luci-app-samba (git-20.356.64372-1259bb1-1) installed in root is up to date.

i understud i only can do from pc with some programms i dont know what or how

in main point how to set pwd?

why is that so complicated

second would be how to acces from unnatet net to nated wr1043 with hdd? need set port? how need set acces ? how

now is like these

did sda1 will be mounted after i enter password and user name wich i no idea how to set or have how
did mounted sda1 should be on link ui mounted points or that and mounted file system

and is it ok all installed? all packaged frollic where is my wrong in all these?

dear openwrt i will finish topic dont worry i just need know how to setup username pass acces on open wrt i never do that these is why i ask so much sorry

how to go in common options?


These are the default settings for the common options:

config 'samba'
	option 'name' 'lede'
	option 'workgroup' 'lede'
	option 'description' 'Samba on lede'
	option 'charset' 'UTF-8'
	option 'homes' '0'
	option 'interface' 'loopback lan'

whu i cant connect on 23 via telnet?

putty says permisson denied? so what now why that


 -----------------------------------------------------
root@TL-WR1043v1:~# config 'samba'
-ash: config: not found
root@TL-WR1043v1:~# config
-ash: config: not found
root@TL-WR1043v1:~# config -ash
-ash: config: not found
root@TL-WR1043v1:~# -ash
-ash: -ash: not found
root@TL-WR1043v1:~# help
-ash: help: not found
root@TL-WR1043v1:~# cd
root@TL-WR1043v1:~# cd/tmp
-ash: cd/tmp: not found
root@TL-WR1043v1:~# cd
root@TL-WR1043v1:~# config
-ash: config: not found
root@TL-WR1043v1:~# /etc/config/samba
-ash: /etc/config/samba: Permission denied
root@TL-WR1043v1:~# ^C
root@TL-WR1043v1:~#


nothing 



root@TL-WR1043v1:~# # cd /etc/
root@TL-WR1043v1:~# # l -d samba
root@TL-WR1043v1:~# # l samba
root@TL-WR1043v1:~# config
-ash: config: not found
root@TL-WR1043v1:~# /etc/selinux/config
-ash: /etc/selinux/config: not found
root@TL-WR1043v1:~#
root@TL-WR1043v1:~#
root@TL-WR1043v1:~# ^C
root@TL-WR1043v1:~# /etc/config/samba
-ash: /etc/config/samba: Permission denied
root@TL-WR1043v1:~#

am so sorry i forgoted vi


 -----------------------------------------------------
 OpenWrt 18.06.9, r8077-7cbbab7246
 -----------------------------------------------------
root@TL-WR1043v1:~#  /etc/config/samba
-ash: /etc/config/samba: Permission denied
root@TL-WR1043v1:~# vi  /etc/config/samba

config samba
        option name 'OpenWrt'
        option workgroup 'WORKGROUP'
        option description 'OpenWrt'
        option homes '1'

config sambashare
        option read_only 'no'
        option browseable 'yes'
        option name 'sda1'
        option path '/dev/sda1'
        option users 'samba1'
        option create_mask 'abc'
        option dir_mask 'abc'
        option guest_ok 'yes'

config sambashare
        option read_only 'no'
        option browseable 'yes'
        option users 'samba2'
        option name 'sda0'
        option path '/dev/sda0'
- /etc/config/samba 1/27 3%

To set user and password just follow instructions here (5 & 6) from @psherman earlier link.

2 Likes

no way i can create user i trayd so much

i go in winscp open passwd file and set my username save that go in telnet use username to set passwd set restart samba and go in ip link enter user and pass i set says wrong but some times says that sda1 is not avaible

seems like i dont know to save password why that what i miss

another thing i notice after restart service samba in ip shows sda1 sda2 and folder with user name is that ok

i addeded username via scp in file password than go on 6 set password for user and 7 after that sda1 shows but password dont work

In looking at the documentation, luci-app-samba was released in OpenWRT version 19.07.0.

Your version 18.06 of OpenWRT is no longer supported. The oldest version that is still supported is 19.07.8

You might consider upgrading to that.

However, your device only has 32 MB of memory, so running Samba with that limitation will be problematic.

From the wiki article...

On devices with 32Mbyte of RAM you will most likely run into memory issues, adding swap might help but devices with at least 128Mbyte is recommended and a 128-256Mbyte swap if possible.

Since there is overhead with running swap, you may need to purchase a device with more RAM in order to do what you want.

Ok i flashing now

Ui is better but still i cant acces hdd

Error say: error code 0x80070035
The network path was not found

Maybe user pass is ok its path error



What to do?

Did you follow the troubleshooting steps in the OpenWRT Samba docs?