https://github.com/mchome/dogcom
Drcom-generic implementation in C.
https://github.com/mchome/dogcom
drcom
Last synced: about 1 month ago
JSON representation
Drcom-generic implementation in C.
- Host: GitHub
- URL: https://github.com/mchome/dogcom
- Owner: mchome
- License: agpl-3.0
- Created: 2016-11-03T12:24:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-10T19:29:47.000Z (about 1 year ago)
- Last Synced: 2025-04-12T18:56:41.987Z (about 1 month ago)
- Topics: drcom
- Language: C
- Homepage:
- Size: 97.7 KB
- Stars: 188
- Watchers: 15
- Forks: 41
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dogcom [](https://travis-ci.org/mchome/dogcom) [](https://github.com/mchome/dogcom) [](https://github.com/mchome/dogcom/tree/v1.6.2)
[Drcom-generic](https://github.com/drcoms/drcom-generic) implementation in C.
```
Usage:
dogcom -m -c [options ]...Options:
--mode , -m set your dogcom mode
--conf , -c import configuration file
--bindip , -b bind your ip address(default is 0.0.0.0)
--log , -l 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](https://github.com/drcoms/drcom-generic).
#### Example:
```bash
$ 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:
```bash
$ 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](https://github.com/mchome/openwrt-dogcom)#### Tutorial
[](https://asciinema.org/a/9j7cj1s61jiczx2s0206tosjr)### Thanks:
- [gdut-drcom](https://github.com/chenhaowen01/gdut-drcom 'chenhaowen01')
- [jlu-drcom-client](https://github.com/drcoms/jlu-drcom-client/tree/master/C-version 'feix')
- [leetking](https://github.com/leetking 'leetking')### Special thanks:
- [Drcom-generic](https://github.com/drcoms/drcom-generic 'ly0')### License:
