Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kodi - Open ports to allow smb/samba browsing #3503

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Nov 11, 2017

  1. open ports to browse smb

    browsing smb/samba shares requires having ports 1025 - 65535 open.
    this patch grabs the ip address from wlan0 and opens the ports when the source ip is within the local subnet.
    zguithues authored Nov 11, 2017
    Configuration menu
    Copy the full SHA
    0343c6b View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2017

  1. use better command to get ip address

    switched from: ip -4 -o addr show dev wlan0| awk '{split($4,a,"/");print a[1]}'
    to: ip route get 1 | awk -F 'src ' '{ split($2,a," ");print a[1];exit}'
    
    also used a variable to get line length down.
    zguithues authored Nov 12, 2017
    Configuration menu
    Copy the full SHA
    1a5877c View commit details
    Browse the repository at this point in the history
  2. change test to see if command succeeds

    removed the -n from the test to check whether it succeeds, rather than whether the return exists.
    zguithues authored Nov 12, 2017
    Configuration menu
    Copy the full SHA
    749acc0 View commit details
    Browse the repository at this point in the history
  3. improve syntax

    thanks @divx118
    zguithues authored Nov 12, 2017
    Configuration menu
    Copy the full SHA
    a3c6eb8 View commit details
    Browse the repository at this point in the history
  4. fixed indentation

    zguithues authored Nov 12, 2017
    Configuration menu
    Copy the full SHA
    bbed58d View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2017

  1. Fixed spacing

    zguithues authored Nov 15, 2017
    Configuration menu
    Copy the full SHA
    9f676c1 View commit details
    Browse the repository at this point in the history