Giter VIP home page Giter VIP logo

openwrt-extra's Introduction

Openwrt extra package feed.

Description

This is the dev/experimental OpenWrt package feed containing unmerged Samba 4.12.x changes/modifications.

Download/ipks

Ready build ipk's for Snapshots based firmware, can be downloaded from here: snapshots/packages.

Note

Samba VFS modules are supported and can be added via luci.

The size of the Samba4-server/libs.ipk and deps are around 8 MB, so you need a >8MB NVRAM device to fit the final image or setup a ext-root (recommend for ad-dc operation).

The package includes untested options for: ad-dc (Needs manual setup via 'samba-tool' to create a custom smb.conf).

Usage

Basic

You can use the openwrt-package-builder, which will setup/build the packages and allows for local hosting as well.

Create/edit those lines in the *.txt file to the desired packages.

Samba4

FEED_1="src-git extra https://github.com/Andy2244/openwrt-extra.git"
FEED_1_PACKAGES="samba4-server luci-app-samba4 wsdd2"

Advanced (already setup OpenWrt sdk)

To use these packages, add the following line to your feeds.conf or feeds.conf.default in the OpenWrt buildroot:

src-git extra https://github.com/Andy2244/openwrt-extra.git

Than include and install all packages from your feeds.conf, while ensuring all extra packages are prefered via:

./scripts/feeds clean
./scripts/feeds update -a
./scripts/feeds uninstall -a
./scripts/feeds install -f -p extra -a
./scripts/feeds install -a

Make sure the install line notes the extra feed and afterwards run: make menuconfig or make defconfig to expand, create the .config

The packages should appear under Network->Samba4, Network->VPN->softethervpn5-server and Network->Filesystem->smbd-server.

Problems

Visibility (share names are not visible)

If you cant see your share in the Windows 10 explorer, make sure the wsdd2 package is installed and enabled.

On Windows 10 check those services:

  • Start the Function Discovery Provider Host and Function Discovery Resource Publication services, and then set them to Automatic (Delayed Start).
  • When you open Explorer Network, enable network discovery when you are prompted.
  • BUG: It seems, if you only use WSD discovery (SSDP/LLTD disabled) for other Win10 clients, you may need to manually restart the Function Discovery Resource Publication services after each Win10 reboot.

On Linux/macOS make sure the avahi-dbus-daemon package is installed and enabled.

Share invalid user access

If you encounter invalid user access errors, try enabling the Force Root option. This will ignore the Allowed users and force access rights via the root user.

CPU problems

The process priority/niceness can be set in the config and may avoid samba stalling other processes on low end devices.

config procd 'extra'
	option samba_nice '3'

Compatible Filesystems

You should use a native linux filesystem with samba4/smbd, like btrfs, ext2/3/4 or F2FS (ssd/flash drives). The NTFS driver in openWRT is readonly for none-root useres, so will not work correctly, you can instead use exFAT (enable build patented in menuconfig) if you need a Windows compatible FS. You can format a drive to ext2/3/4 on Windows via partitionwizard-portable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.