[no subject]
� 0� � C TURKEY� P Ankara� T Cankaya� Z 06510� A 2139. Street 2/11� O Rakort Information Technologies� I Ibrahim Topbasi� M ibra...@rakort.com� U http://www.rakort.com� B 90-850-460-10-58� X 90-850-460-10-58� N More than 5 years, OpenBSD setup/installation/remote administration. Network engineering, software development� � � � (C/Python/PHP/PostgreSQL/MySQL). Also experienced with Solaris and Linux.� � � We specialize in providing solid open source solutions for businesses using OpenBSD,� � � � and Linux. MCSE, CCNA, RHCE certifications, VPNs, firewalls, wireless, DNS, squidGuard, mail - even training with OpenBSD.
there is a dhcp ipv6 server that can dynamically configurated?
the rad+slaacd scheme is described everywhere, but if Windows is used instead of slaacd then when you change the prefix, Windows gets the address from the new prefix, but does not remove the old one. as a result ipv6 routing does not work. so i want to make a stateful configuration in which(i hope) Windows will take new address and remove old addresses. but i can not find the dhcp server in the config where i can set a prefix as a "variable". maybe there are other ways that are not obvious for me?
(Konu yok)
� 0� � C TURKEY� P Ankara� T Cankaya� Z 06510� A 2139. Street 2/11� O Rakort Information Technologies� I Ibrahim Topbasi� M� ibra...@rakort.com� U� http://www.rakort.com� B� 90-850-460-10-58� X� 90-850-460-10-58� N More than 5 years, OpenBSD setup/installation/remote administration. Network engineering, software development� � � � (C/Python/PHP/PostgreSQL/MySQL). Also experienced with Solaris and Linux.� � � We specialize in providing solid open source solutions for businesses using OpenBSD,� � � � and Linux. MCSE, CCNA, RHCE certifications, VPNs, firewalls, wireless, DNS, squidGuard, mail - even training with OpenBSD.
ampd(8) -Z option
Hello, Since years I've been using a shell script of mine to shutdown my laptop when battery is critical. Convenient because I made it portable among unix-like systems. In the case of OpenBSD the script asks battery and AC status to apm(4). Now I gave a try to the apmd(8) -Z option but, so far, I couldn't make it work in a reliable way. I added to rc.conf.local: apmd_flags="-A -Z 20" But, after doing some tests, sometimes it works, other it seems like it's totally ignored. Curious because power management seems to work fine in my T410. It sleeps, resumes and hibernates perfectly. /var/log/messages and 'apmd -d' don't show significant errors. Do I need to set something else, add some -t value to ampd command or some script to /etc/apm? Walter
Re: ampd(8) -Z option
On Sun, Aug 04, 2019 at 05:33:41PM +0200, Walter Alejandro Iglesias wrote: > Hello, > > Since years I've been using a shell script of mine to shutdown my laptop > when battery is critical. Convenient because I made it portable among > unix-like systems. In the case of OpenBSD the script asks battery and > AC status to apm(4). > > Now I gave a try to the apmd(8) -Z option but, so far, I couldn't make > it work in a reliable way. I added to rc.conf.local: > > apmd_flags="-A -Z 20" > > But, after doing some tests, sometimes it works, other it seems like > it's totally ignored. Is your laptop plugged in during the tests? Edgar > > Curious because power management seems to work fine in my T410. It > sleeps, resumes and hibernates perfectly. /var/log/messages and 'apmd > -d' don't show significant errors. Do I need to set something else, add > some -t value to ampd command or some script to /etc/apm? > > > Walter >
Re: ampd(8) -Z option
I’ve also wrestled with this same issue and am eager to hear the responses. I did have much better results after adding -t 60 to my flags. I suspect my not exactly new x220’s battery was going from my given percentage to zero in less time than the default polling time of 10mins. I’m not sure mine is completely sorted out. I do find a dead laptop from time to time. ~Bryan
Re: ampd(8) -Z option
Hi Edgar, On Sun, Aug 04, 2019 at 11:43:19AM -0500, Edgar Pettijohn wrote: > On Sun, Aug 04, 2019 at 05:33:41PM +0200, Walter Alejandro Iglesias wrote: > > Hello, > > > > Since years I've been using a shell script of mine to shutdown my laptop > > when battery is critical. Convenient because I made it portable among > > unix-like systems. In the case of OpenBSD the script asks battery and > > AC status to apm(4). > > > > Now I gave a try to the apmd(8) -Z option but, so far, I couldn't make > > it work in a reliable way. I added to rc.conf.local: > > > > apmd_flags="-A -Z 20" > > > > But, after doing some tests, sometimes it works, other it seems like > > it's totally ignored. > > Is your laptop plugged in during the tests? First of all, thank you for answering. :-) The cable is plugged to a multiple socket that has and interrupter. I cut the energy from there while doing the tests, mainly because I'm interested it work in that way. I'm not an electricity expert but I think I understand why you're asking that question. If the AC cable is connected to the laptop, even when in the other end it's not connected to the source, since the converter holds some residual voltage could make the laptop think it's still connected to the main source, right? But when the source is cut (in the way I explained above,) apm(4) correctly says the AC power is "disconnected," that's why I assumed apmd(8) should not be tricked by the converter. > > Edgar > > > > > Curious because power management seems to work fine in my T410. It > > sleeps, resumes and hibernates perfectly. /var/log/messages and 'apmd > > -d' don't show significant errors. Do I need to set something else, add > > some -t value to ampd command or some script to /etc/apm? > > > > > > Walter > >
Re: ampd(8) -Z option
On Aug 4, 2019 12:10 PM, Walter Alejandro Iglesias wrote: > > Hi Edgar, > > On Sun, Aug 04, 2019 at 11:43:19AM -0500, Edgar Pettijohn wrote: > > On Sun, Aug 04, 2019 at 05:33:41PM +0200, Walter Alejandro Iglesias wrote: > > > Hello, > > > > > > Since years I've been using a shell script of mine to shutdown my laptop > > > when battery is critical. Convenient because I made it portable among > > > unix-like systems. In the case of OpenBSD the script asks battery and > > > AC status to apm(4). > > > > > > Now I gave a try to the apmd(8) -Z option but, so far, I couldn't make > > > it work in a reliable way. I added to rc.conf.local: > > > > > > apmd_flags="-A -Z 20" > > > > > > But, after doing some tests, sometimes it works, other it seems like > > > it's totally ignored. > > > > Is your laptop plugged in during the tests? > > First of all, thank you for answering. :-) > > The cable is plugged to a multiple socket that has and interrupter. I > cut the energy from there while doing the tests, mainly because I'm > interested it work in that way. > > I'm not an electricity expert but I think I understand why you're asking > that question. If the AC cable is connected to the laptop, even when in > the other end it's not connected to the source, since the converter > holds some residual voltage could make the laptop think it's still > connected to the main source, right? But when the source is cut (in the > way I explained above,) apm(4) correctly says the AC power is > "disconnected," that's why I assumed apmd(8) should not be tricked by > the converter. > Sounds good. I also have to add -t 60 for it to work on my laptop. Probably has a lot to do with the quality of the battery. Edgar > > > > Edgar > > > > > > > > Curious because power management seems to work fine in my T410. It > > > sleeps, resumes and hibernates perfectly. /var/log/messages and 'apmd > > > -d' don't show significant errors. Do I need to set something else, add > > > some -t value to ampd command or some script to /etc/apm? > > > > > > > > > Walter > > > >
Re: there is a dhcp ipv6 server that can dynamically configurated?
On 2019-08-04, 3 wrote: > the rad+slaacd scheme is described everywhere, but if Windows is used > instead of slaacd then when you change the prefix, Windows gets the > address from the new prefix, but does not remove the old one. as a > result ipv6 routing does not work. That is normal. The prefix is advertised with a "valid lifetime" and "preferred lifetime". The default "preferred lifetime" is 604800 seconds (7 days), "valid lifetime" is 2592000 seconds (30 days). In IPv6 it is allowed / "normal" to have multiple addresses in different prefixes at the same time. Seeing an advertisement for a new prefix does not mean that an old prefix is invalid, it is treated as additional. If you know that your prefix is going to change and the old one will become invalid, these timers should be lowered, e.g. the following would set to 1 hour "preferred lifetime", 1 day valid lifetime. interface vlan3 { auto prefix { preferred lifetime 3600 valid lifetime 86400 } } > so i want to make a stateful > configuration in which(i hope) Windows will take new address and > remove old addresses. but i can not find the dhcp server in the config > where i can set a prefix as a "variable". > maybe there are other ways that are not obvious for me? I can't help with that, the only time I use DHCPv6 is for prefix delegation (where I ask an upstream provider to tell me what LAN prefixes to use), for everything else I just use slaac.