yellowman / nsh

OpenBSD networking configuration shell
http://www.nmedia.net/nsh/
Other
177 stars 27 forks source link

various flags/options for pppoe not saved #5

Closed sthen closed 8 years ago

sthen commented 11 years ago

authname/authkey/authproto and pppoedev are essential, some other flags may also be useful.

(also related, various flags for 802.11 interfaces could be useful; wpa, wpakey).

khorsmann commented 10 years ago

Yes. Thats a point iam missing to. How to configure pppoe uplinks?

sthen commented 8 years ago

Ugh: seems that authkey can't be fetched from the kernel. I'm hacking around this for now by configuring pppoe separately using netstart, and stripping out interface pppoe0 in save.sh...

yellowman commented 8 years ago

Stuart Henderson [notifications@github.com] wrote:

Ugh: seems that authkey can't be fetched from the kernel. I'm hacking around this for now by configuring pppoe separately using netstart, and stripping out interface pppoe0 in save.sh...

This isn't necessary. There is a mechanism to save this using sqlite. I'll provide a patch.

yellowman commented 8 years ago

i suspect peerkey needs to be saved too

yellowman commented 8 years ago

https://github.com/yellowman/nsh/commit/1487471bf46ac8dee4b2e7e67af1770ee37dd0af