Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2012 13:27:52 +0100
From:      "Clayton Milos" <clay@milos.co.za>
To:        <Freebsd-stable@freebsd.org>
Subject:   RE: [CFT] Need Testers for: sysutils/bsdconfig
Message-ID:  <006001cd5072$84247cd0$8c6d7670$@milos.co.za>
In-Reply-To: <4FE431C0.8040509@rdtc.ru>
References:  <2322BE6D-24A8-4F4A-84B2-4DFE33BCA65B@fisglobal.com>	<4FE3EB9D.9070509@fuzzwad.org>	<4FE419CD.60708@rdtc.ru>	<F34D40AA-3AE4-4A1F-B521-CEC2A06ABC79@fisglobal.com>	<4FE4245C.3040806@rdtc.ru>	<90361FE2-2298-48E5-B8B6-2BA704781098@fisglobal.com> <4FE431C0.8040509@rdtc.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> 5. Same for vlan16. For vlan9 is shows right 'IEEE 802.1Q VLAN network
interface'.
>>>>> It should work same way for vlan1-vlan4095 interfaces at least.
>>>>>
>>>>
>>>> I'd like to know if the sysctl MIB's for describing network interfaces
is reliable. Maybe I'll keep the static list as a fallback. But yes, you're
absolutely right -- I should have supported up to 5 digits even (ifconfig
has internal limits of 16-bit unsigned integer for the interface
instance-number).
>>>>
>>>>
>>>>> 6. Same for ipfw0 pseudo-interface.
>>>>>
>>>>
>>>> Curious what sysctl says about it.
>>>
>>> I do not know what sysctl subtree do you refer to.
>>>
>> 
>> If you're using em(4) device, try:
>> 
>> sysctl dev.em.0.%desc
>> 
>> Otherwise (for example), if using fxp(4), try:
>> 
>> sysctl dev.fxp.0.%desc
>> 
>> Or for your vlan:
>> 
>> sysctl dev.vlan.16.%desc
>> 
>> And try for your ipfw(4) interface:
>> 
>> sysctl dev.ipfw.0.%desc
>> 
>> Are each of those meaningful?
>> 
>> NOTE: They aren't available unless you have the hardware -- so I can't
(for example) try "sysctl dev.fxp.0.%desc" unless I have an fxp0 device
displayed in ifconfig(8).

>That's driver-dependent. For example, lagg does not presents %desc nor
ipfw0 and I suppose pretty many others do not. You could use %desc if it's
present and fall back to internal static list otherwise.


Just something cosmetic but when I add a user when it comes to select the
shell it does not have a title like: Select a shell

Also it said that my user add failed but it was actually added as uid 1005.
I added another user and it stated the uid 1005 when I was creating it but
showed 1006 in the summary screen. It also said that adding the user failed.
Perhaps I used to short a password as there was no password field entered in
/etc/master.passwd
twat:*:1005:1005::1340540161:1340626570:twat:/home/twat:/bin/sh
test1:*:1006:1006::1340454020:1340496000:test1:/home/test1:/bin/tcsh

When selecting user account expiry the calendar starts at 1 January 1970. I
understand that this is when Unix time started but it would be nice for it
to start from the current date.

//Clay




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006001cd5072$84247cd0$8c6d7670$>