Re: add -powersave to hostname.if
On Tue, Jun 19, 2018 at 11:30:42PM +0100, Stuart Henderson wrote: > > If powersave is enabled, you'll see "powersave on (XXms sleep)" on the > ieee80211: [...] line. > > If powersave is disabled (which is the default), nothing special is printed. > Good to know, thank you. Ken
Re: add -powersave to hostname.if
On 2018/06/19 18:09, Ken M wrote: > On Tue, Jun 19, 2018 at 04:53:21PM +, Stuart Henderson wrote: > > > > hostname.if(5) has this: > > > > "Any lines not matching these packed formats are passed directly to > > ifconfig(8)." > > > > After reading the manpage again for hostname.if last night I spotted the way > it > suggests to put uptions at the end of the inet line, or the dhcp line. So I > made > my last line this: > > dhcp -powersave You can do that, or you can put options on a line by themselves and they're passed directly to ifconfig. > That seems to have solved my intermitten network issues that I was guessing > were > caused by the wireless powersave. To ask a side question I am not noticing a > way > to confirm powersave is disabled from the ifconfig command. If powersave is enabled, you'll see "powersave on (XXms sleep)" on the ieee80211: [...] line. If powersave is disabled (which is the default), nothing special is printed.
Re: add -powersave to hostname.if
On Tue, Jun 19, 2018 at 04:53:21PM +, Stuart Henderson wrote: > > hostname.if(5) has this: > > "Any lines not matching these packed formats are passed directly to > ifconfig(8)." > After reading the manpage again for hostname.if last night I spotted the way it suggests to put uptions at the end of the inet line, or the dhcp line. So I made my last line this: dhcp -powersave That seems to have solved my intermitten network issues that I was guessing were caused by the wireless powersave. To ask a side question I am not noticing a way to confirm powersave is disabled from the ifconfig command. Ken
Re: add -powersave to hostname.if
On 2018-06-18, Ken M wrote: > My thought was just to add the line > > -powersave > > in the file, just like I had added it to an iconfig commandline. Hostname.if > man > pages don't specify anything about it that I can see. > > Was my thought a stupid thought? > > Ken > > hostname.if(5) has this: "Any lines not matching these packed formats are passed directly to ifconfig(8)."
add -powersave to hostname.if
My thought was just to add the line -powersave in the file, just like I had added it to an iconfig commandline. Hostname.if man pages don't specify anything about it that I can see. Was my thought a stupid thought? Ken