Skip to content
stef edited this page Sep 14, 2010 · 33 revisions

wshare

wshare is a simple program to share an existing network connection.

the following parameters are to be set either via a configuration file (/etc/wshare.conf ~/.wshare.conf or in the same directory where the wshare script is located) or or superseding these via command line parameters.

Common settings

innet

set internal network, over which the external is shared

  • default: ath0
  • command line: -i

essid

set the essid of the shared network master

  • default: wshared
  • command line: -e

key

specify the key for WEP encryption of the internal network. beware this is yet untested and probably not working

  • default: unset
  • command line: -k

Master settings

h3.subnet

specify the subnet of the internal network. this must be in the /24 range currently… thus it is only possible to specify networks with 3 of four octets

  • default: 10.17.17
  • command line: -n

exnet

specify which network to share, this is the device that connects to the internet

  • default: ppp0
  • command line: -o

ownip

specify Master IP address, defaults to .1

  • default: 10.17.17.1
  • command line: -a

Clone this wiki locally