2014-10-22 21:34:41 +00:00
|
|
|
Installation instructions for WMiFS.
|
2014-10-22 21:34:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
NOTE!
|
|
|
|
--------------------------------------------------------------
|
2014-10-22 21:34:41 +00:00
|
|
|
Installing this program requires root privileges, ask your
|
2014-10-22 21:34:28 +00:00
|
|
|
local system/network administrator kindly if she/he wants
|
|
|
|
to install this software for you ;-)
|
|
|
|
|
|
|
|
|
|
|
|
Requirements
|
|
|
|
----------------------------------------------------------
|
|
|
|
- root access
|
|
|
|
|
|
|
|
To be able to complete the installation you'll need
|
|
|
|
to make changes in the system's /etc directory,
|
|
|
|
the installation copies the GLOBAL config file
|
|
|
|
there, don't worry, nothing will be overwritten ;-)
|
|
|
|
|
2015-08-25 01:25:27 +00:00
|
|
|
Make sure libdockapp (at least version 0.7.0) is installed. It
|
|
|
|
may be obtained at
|
|
|
|
http://windowmaker.org/dockapps/?name=libdockapp
|
2014-10-22 21:34:28 +00:00
|
|
|
|
|
|
|
Installation
|
|
|
|
--------------------------------------------------------------
|
2016-04-19 20:48:29 +00:00
|
|
|
1) % ./autogen.sh
|
|
|
|
2) % ./configure
|
|
|
|
3) % make
|
|
|
|
4) % su root
|
|
|
|
5) # make install
|
|
|
|
6)* # vi ~/.wmifsrc and/or $sysconfdir/wmifsrc
|
2014-10-22 21:34:28 +00:00
|
|
|
set up the paths to your pppd
|
|
|
|
start, stop & restart scripts
|
2016-04-19 20:48:29 +00:00
|
|
|
7) % wmifs & (or wmifs -h for brief help).
|
2014-10-22 21:34:28 +00:00
|
|
|
|
2016-04-19 20:48:29 +00:00
|
|
|
6)* This is optional, WMiFS also works fine without them,
|
2014-10-22 21:34:28 +00:00
|
|
|
it's entirely up to you ;-)
|
2016-04-19 20:48:29 +00:00
|
|
|
See sample.wmifsrc for an example configuration file.
|
|
|
|
Note that $sysconfdir defaults to /usr/local/etc. You may
|
|
|
|
change this by running
|
|
|
|
./configure --sysconfdir=DIR
|
|
|
|
prior to building.
|
2014-10-22 21:34:28 +00:00
|
|
|
|
|
|
|
|
2014-10-22 21:34:41 +00:00
|
|
|
|
2014-10-22 21:34:28 +00:00
|
|
|
Extra Install Info For Site Administrators!
|
|
|
|
--------------------------------------------------------------
|
|
|
|
For site administrators who don't want their users messing
|
2014-10-22 21:34:41 +00:00
|
|
|
up pppd's configuration files, WMiFS now supports an
|
2016-04-19 20:48:29 +00:00
|
|
|
$sysconfdir/wmifsrc.fixed file.
|
2014-10-22 21:34:28 +00:00
|
|
|
|
2014-10-22 21:34:41 +00:00
|
|
|
The installation will install the normal user and global
|
2016-04-19 20:48:29 +00:00
|
|
|
wmifsrc files in $HOME and $sysconfdir, NOT the fixed one!
|
2014-10-22 21:34:28 +00:00
|
|
|
|
|
|
|
WMiFS scan for 3 files at startup, in the following order:
|
|
|
|
|
2016-04-19 20:48:29 +00:00
|
|
|
1. $sysconfdir/wmifsrc
|
2014-10-22 21:34:28 +00:00
|
|
|
2. $HOME/.wmifsrc
|
2016-04-19 20:48:29 +00:00
|
|
|
3. $sysconfdir/wmifsrc.fixed
|
2014-10-22 21:34:41 +00:00
|
|
|
|
2014-10-22 21:34:28 +00:00
|
|
|
If no .wmifsrc file is found in the users home directory,
|
2016-04-19 20:48:29 +00:00
|
|
|
WMiFS will use the global one ($sysconfdir/wmifsrc, if present
|
2014-10-22 21:34:28 +00:00
|
|
|
and valid).
|
|
|
|
|
2016-04-19 20:48:29 +00:00
|
|
|
When WMiFS finds a $sysconfdir/wmifs.fixed file, all settings
|
|
|
|
that WMiFS detected in $sysconfdir/wmifsrc and/or $HOME/.wmifsrc
|
2014-10-22 21:34:41 +00:00
|
|
|
will be discarted i.e. OVERRIDDEN!
|
2014-10-22 21:34:28 +00:00
|
|
|
|
2014-10-22 21:34:41 +00:00
|
|
|
If you want your users to be able to dialout, but you
|
2014-10-22 21:34:28 +00:00
|
|
|
don't want them to mess around, simply move or copy
|
2016-04-19 20:48:29 +00:00
|
|
|
the default $sysconfdir/wmifsrc to $sysconfdir/wmifsrc.fixed :)
|
2014-10-22 21:34:28 +00:00
|
|
|
|
|
|
|
Note: When NO wmifsrc files are found at all, WMiFS will
|
|
|
|
work, but quite obvious, WMiFS won't launch any scripts.
|
|
|
|
Make sure there are valid and FULL pathnames in the wmifsrc
|
|
|
|
file(s) if you want WMiFS to launch your pppd scripts ;-)
|
|
|
|
|
|
|
|
|
|
|
|
Usage
|
|
|
|
-------------------------------------------------------------
|
|
|
|
WMiFS support the following commandline options:
|
|
|
|
|
|
|
|
-h helpscreen
|
|
|
|
-display X server display where wmppp should
|
|
|
|
appear (default = 0:0)
|
|
|
|
-i interface name, note: 'lo' can ONLY
|
|
|
|
be specified with '-i lo' ;-)
|
|
|
|
(default = default interface as it
|
2014-10-22 21:34:41 +00:00
|
|
|
appears in /proc/net/route)
|
2014-10-22 21:34:28 +00:00
|
|
|
-w draw the statistics graph in waveform
|
|
|
|
like mode, try it! (default = normal)
|
|
|
|
-v print wmifs version number
|
|
|
|
|
|
|
|
|
|
|
|
General Notes
|
|
|
|
--------------------------------------------------------------
|
2016-04-19 20:48:29 +00:00
|
|
|
Note: Please DO read the HINTS, this file contains some
|
2014-10-22 21:34:41 +00:00
|
|
|
very usefull tips about WMiFS.
|
2014-10-22 21:34:28 +00:00
|
|
|
|