Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
fuss:openwrt [2019/03/01 17:11] – [Create TAP Interface on Boot] officefuss:openwrt [2019/03/25 14:19] – [Getting Python Running Properly] office
Line 68: Line 68:
  
 To resolve the issue, the ''cygwin'' terminal information from ''C:\cygwin64\usr\share\terminfo\63\cygwin'' (assuming the cygwin install root is at ''C:\cygwin64'') should be copied over to ''/usr/share/terminfo/c/cygwin''. Note that the ''terminfo'' OpenWrt package does not contain the ''c'' directory under ''/usr/share/terminfo'' such that it will have to be created before copying over the file. To resolve the issue, the ''cygwin'' terminal information from ''C:\cygwin64\usr\share\terminfo\63\cygwin'' (assuming the cygwin install root is at ''C:\cygwin64'') should be copied over to ''/usr/share/terminfo/c/cygwin''. Note that the ''terminfo'' OpenWrt package does not contain the ''c'' directory under ''/usr/share/terminfo'' such that it will have to be created before copying over the file.
 +
 +====== Making Samba Bind to Interfaces ======
 +
 +On OpenWrt version ''18.06.1'', the Samba template files contains a variable that should be interpolated:
 +<code>
 +interfaces = |INTERFACES|
 +</code>
 +
 +unfortunately, the interfaces do not seem to be configurable via LuCi and even using ''uci'' to set the variable ''samba.@samba[0].interfaces'' to some value will only make OpenWrt interpolate an empty string instead of the configured value.
 +
 +Seeing that the interfaces to listen on cannot be configured via LuCi, removing the ''interfaces = |INTERFACES|'' line and hardcoding the interfaces to listen on seems to be the best option.
 +
 +====== Getting Python Running Properly ======
 +
 +Unfortunately for quite a few releases (LEDE), the python ''setuptools'' package seems to be broken such that running depending software may bomb out with:
 +<code>
 +pkg_resources.DistributionNotFound: The 'setuptools' distribution was not found and is required by
 +</code>
 +
 +The solution is to install ''pip'' via:
 +<code bash>
 +opkg install python-pip
 +</code>
 +
 +and then reinstall ''pip'' and ''setuptools'':
 +<code bash>
 +pip install -U pip setuptools
 +</code>
 +
 +
 +

fuss/openwrt.txt · Last modified: 2022/06/17 19:08 by office

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.