Skip to content

WangHan2014/dogcom-zh-Hans

 
 

Repository files navigation

dogcom travis-ci badge version

Drcom-generic implementation in C. 已经部分汉化,说明没空写,没有测试,谨慎使用

Usage:
        dogcom -m <dhcp/pppoe> -c <FILEPATH> [options <argument>]...

Options:
        --mode <dhcp/pppoe>, -m <dhcp/pppoe>  set your dogcom mode
        --conf <FILEPATH>, -c <FILEPATH>      import configuration file
        --bindip <IPADDR>, -b <IPADDR>        bind your ip address(default is 0.0.0.0)
        --log <LOGPATH>, -l <LOGPATH>         specify log file
        --802.1x, -x                          enable 802.1x
        --daemon, -d                          set daemon flag
        --eternal, -e                         set eternal flag
        --verbose, -v                         set verbose flag
        --help, -h                            display this help

Config file is compatible with drcom-generic.

Example:

$ dogcom -m dhcp -c dogcom.conf
$ dogcom -m dhcp -c dogcom.conf -l /tmp/dogcom.log -v
$ dogcom -m dhcp -c dogcom.conf -d # (PS: only on Linux build)
$ dogcom -m pppoe -c dogcom.conf -x # (PS: only on Linux build)
$ dogcom -m pppoe -c dogcom.conf -e # eternal dogcoming (default times is 5)
$ dogcom -m pppoe -c dogcom.conf -v
$ dogcom -m dhcp -c dogcom.conf -b 10.2.3.12 -v

To build:

$ make # Linux
$ make win32=y # Windows(MinGW)
$ make test=y # For testing purposes
$ make force_encrypt=y # Force open encrypt mode in PPPoE version

Openwrt-package

https://github.com/mchome/openwrt-dogcom

Tutorial

asciicast

Thanks:

Special thanks:

License:

AGPL V3

About

Drcom-generic implementation in C.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 96.3%
  • HTML 3.1%
  • Makefile 0.6%