summaryrefslogtreecommitdiff
path: root/sys/src/cmd/ip/ipconfig/ppp.c
AgeCommit message (Collapse)Author
2018-05-01ip/ipconfig: populate /net/ndb from v6 router advertisements, configure ↵cinap_lenrek
multiple addresses in ndbconfig() we now update /net/ndb with the following information gathered from router advertisements (rfc6106 and plan9 specific options): - recursive dns servers (option 25, ndb: dns=) - dns search list (option 31, ndb: dnsdomain=) - plan9 fileserver (option 250, ndb: fs=) - plan9 authserver (option 251, ndb: auth=) note the plan9 specific options can be disabled with the -G flag. for ndbconfig (-N flag), we now collect all ip addresses in ndb belonging to the devices mac address and configue them all. v6 addresses are getting added when a link local address exists or the -6 flag has been specified to automatically configure one. move the dhcp code in its own dhcp.c file and make symbols static that are not used across modules.
2016-05-08ip/ipconfig, ip/ppp: preserve preexisting entries when writing /net/ndbcinap_lenrek
it is now possible to configure additional interfaces (like wifi) and store the network information while preserving old entries in /net/ndb. this allows to easily switch from ethernet to wifi and have dhcp configure dns without having to clear /net/ndb.
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen