Re: using interface groups in pf tables stopped working in 13.0-RELEASE

2021-04-27 Thread Peter Ankerstål
>>> >> I can >> It looks like there’s some confusion inside pfctl about the network group. >> It ends up in pfctl_parser.c, append_addr_host(), and expects an AF_INET or >> AF_INET6, but instead gets an AF_LINK. >> >> It’s probably related to 250994 or possibly >>

Re: using interface groups in pf tables stopped working in 13.0-RELEASE

2021-04-14 Thread Peter Ankerstål
const { trusted:network mgmt:network dmz:network >> guest:network edmz:network \ >>admin:network iot:network client:network } >> If I reload the configuration I get the following: >> # pfctl -f /etc/pf.conf >> /etc/pf.conf:12: cannot create address buffer: Invalid argument >> pfctl:

Re: using interface groups in pf tables stopped working in 13.0-RELEASE

2021-04-14 Thread Peter Ankerstål
> On 14 Apr 2021, at 16:16, Peter Ankerstål wrote: > > In pf I use the interface group syntax alot to make the configuration more > readable. All interfaces are assigned to a group representing its use/vlan > name. It seems that the rest of my ruleset i

using interface groups in pf tables stopped working in 13.0-RELEASE

2021-04-14 Thread Peter Ankerstål
In pf I use the interface group syntax alot to make the configuration more readable. All interfaces are assigned to a group representing its use/vlan name. For example: ifconfig_igb1_102="172.22.0.1/24 group iot description 'iot vlan' up" ifconfig_igb1_102_ipv6="inet6 2001:470:de59:22::1/64"

Re: 802.1X authenticator for FreeBSD

2017-10-19 Thread Peter Ankerstål
> On 18 Oct 2017, at 21:39, Charles Sprickman <sp...@bway.net> wrote: > > >> On Oct 18, 2017, at 1:10 PM, Peter Ankerstål <pe...@pean.org> wrote: >> >>> >>> I’m under the impression that the authenticator function in a wired network

Re: 802.1X authenticator for FreeBSD

2017-10-18 Thread Peter Ankerstål
> > I’m under the impression that the authenticator function in a wired network > is usually part of the switch, and the switch will talk to some > authentication server like RADIUS, giving it the port number of the connected > device and additional information. > > If FreeBSD had such a

Re: 802.1X authenticator for FreeBSD

2017-10-18 Thread Peter Ankerstål
> On 17 Oct 2017, at 22:27, Chris Ross wrote: > > > wpa_supplicant is the client we use at work, on Linux systems. But, it’s > also the tool described in the FreeBSD wireless configuration pages, so I > know it can be used there. > > I haven’t tried FreeBSD

802.1X authenticator for FreeBSD

2017-10-17 Thread Peter Ankerstål
Hi! I’ve been looking for a 802.1X authenticator for FreeBSD for a while without any real success. Im pretty familiar with hostapd and use it my self for WPA2 Enterprise authentications (with the build in RADIUS server) and it works fine. But what now I would really like to have the same type

Realtek RTL8192EU on FreeBSD 11.1

2017-10-05 Thread Peter Ankerstål
Hi! I recently bought a noname usb wifi card to use in my gateway but I fail to get it to work. It seems to work out of the box on my NanoPI running CURRENT: root@nanopi:~ # uname -a FreeBSD nanopi.pean.org 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r320481: Sat Jul 1 13:10:46 CEST 2017

Re: Upgrade to 11.1-RELEASE fails to boot on aws EC2.

2017-07-31 Thread Peter Ankerstål
> On 28 Jul 2017, at 23:28, Peter Ankerstål <pe...@pean.org> wrote: > >> >>> On 28 Jul 2017, at 12:41, Peter Ankerstål <pe...@pean.org> wrote: >>> >>> Hi! >>> >>> It seems that FreeBSD 11.1-RELEASE also breaks on EC2

Re: Upgrade to 11.1-RELEASE fails to boot on aws EC2.

2017-07-28 Thread Peter Ankerstål
> >> On 28 Jul 2017, at 12:41, Peter Ankerstål <pe...@pean.org> wrote: >> >> Hi! >> >> It seems that FreeBSD 11.1-RELEASE also breaks on EC2 in some cases. I had >> this problem before when upgrading to 11.0. This problem was noticed in the >

Upgrade to 11.1-RELEASE fails to boot on aws EC2.

2017-07-28 Thread Peter Ankerstål
Hi! It seems that FreeBSD 11.1-RELEASE also breaks on EC2 in some cases. I had this problem before when upgrading to 11.0. This problem was noticed in the ERRATA: https://www.freebsd.org/releases/11.0R/errata.html#open-issues and later said to have been resolved with a EN:

Problem with snmp_wlan

2017-03-13 Thread Peter Ankerstål
When I try to do a snmpwalk of the BEGEMOT-WIRELESS-MIB I get the follwing on the client side: BEGEMOT-WIRELESS-MIB::wlanIfaceRegDomain."wlan2" = INTEGER: etsi(3) Error in packet. Reason: (genError) A general failure occured Failed object: BEGEMOT-WIRELESS-MIB::wlanIfaceRegDomain."wlan2" and on

Booting Raspberry Pi with input on serial console

2017-03-10 Thread Peter Ankerstål
Hi! I have a problem that should (?) have a simple solution but I havent found one. I have a raspberry pi with a NMEA-GPS constantly hooked up to the serial console of the Pi. My problem is that when booting the Pi it will interpet the output from the GPS as input to the boot process and

11.0-RELEASE cant boot on aws.

2016-10-02 Thread Peter Ankerstål
Hi, I recently updated one of my machines hosted on AWS EC2 running 10.3 to 11.0 using freebsd-update. Now the machine cant boot. Its gets stuck in the loader. Last thing that shows is: FreeBSD/x86 bootstrap loader, Revision 1.1 (r...@releng2.nyi.freebsd.org, Thu Sep 22 21:38:48 UTC 2016) _

Re: PPS input on a generic GPIO pin on Raspberry Pi.

2016-03-22 Thread Peter Ankerstål
> On 05 Mar 2016, at 07:54, Peter Ankerstål <pe...@pean.org> wrote: >>>> >>> GPIO is supported on the Pi, I'm using it on 11-Current on my home >>> control software to drive relays on my pool hardware (e.g. valves, >>> heater, VFD motor d

Re: PPS input on a generic GPIO pin on Raspberry Pi.

2016-03-04 Thread Peter Ankerstål
> On 4 mars 2016, at 19:00, Ian Lepore <i...@freebsd.org> wrote: > >> On Fri, 2016-03-04 at 10:54 -0600, Karl Denninger wrote: >>> On 3/3/2016 12:57, Peter Ankerstål wrote: >>> Hi! >>> >>> I have sort of exactly the same question a

PPS input on a generic GPIO pin on Raspberry Pi.

2016-03-03 Thread Peter Ankerstål
Hi! I have sort of exactly the same question as Erik: http://lists.freebsd.org/pipermail/freebsd-questions/2014-July/259055.html I have bought a https://learn.adafruit.com/adafruit-ultimate-gps and want to use the PPS output to discipline my clock. But the only source of information on how PPS

Re: /dev/led soekris 6501.

2016-03-02 Thread Peter Ankerstål
On 03/03/2016 04:18 AM, Tom Samplonius wrote: How come there is no support for “ready" and “error" leds on the soekris 6501 even though it seems fairly easy to control them? a) perhaps no developer have that board? b) nobody has written the necessary code to do so? c) There is no

/dev/led soekris 6501.

2016-03-02 Thread Peter Ankerstål
Hi! How come there is no support for “ready" and “error" leds on the soekris 6501 even though it seems fairly easy to control them? Please see http://www.mail-archive.com/soekris-tech@lists.soekris.com/msg06738.html and http://ross.vc/?p=183 smime.p7s Description: S/MIME cryptographic

amdtemp does not find my CPU.

2013-03-13 Thread Peter Ankerstål
but it doesnt seem to detect the CPU. The manual states that it should support K8-class. The amdtemp.c isnt huge so maybe it is very simple to make it work? Best Regards Peter Ankerstål. ___ freebsd-stable@freebsd.org mailing list http

Re: amdtemp does not find my CPU.

2013-03-13 Thread Peter Ankerstål
On 03/13/2013 11:16 AM, Milan Obuch wrote: you need to try amdtemp.c from CURRENT aka HEAD. I did it for both E-350 and C-60 CPU and it works for me. If you need something more to test it, I can help, but it is really easy. Regards, Milan Thanks! That worked nicely! Regards, Peter

Re: amdtemp does not find my CPU.

2013-03-13 Thread Peter Ankerstål
On 03/13/2013 12:00 PM, Milan Obuch wrote: Glad it helps :) Just one small thing I encountered - temperature read via sysctl from amdtemp module was ~ 7 degrees higher than those reported via BIOS setup screen. As it was some months already, maybe these vaules are now in line, but it would be

Make use of RACCT and rctl

2013-03-02 Thread Peter Ankerstål
Hi! Im trying to limit memory usage for jails with the rctl API. But I don't really get it. I have compiled the kernel with the right options and rctl show me stuff like: jail:jail22:memoryuse:deny=268435456 jail:jail22:swapuse:deny=268435456 jail:jail20:memoryuse:deny=268435456

Re: Make use of RACCT and rctl

2013-03-02 Thread Peter Ankerstål
On Mar 2, 2013, at 5:15 PM, Edward Tomasz Napierała tr...@freebsd.org wrote: [..] Could you please do jls jid name and verify that a jail named jail20 is actually running? -- If you cut off my head, what would I say? Me and my head, or me and my body? Oh! My bad, I thought

Logging of installed packages.

2012-11-20 Thread Peter Ankerstål
In the light of this: http://www.freebsd.org/news/2012-compromise.html It would be nice if there was default way to log all package installations from both pkgs and ports. Is there? If not, what would you recommend for doing this? Thanks. ___

Re: Logging of installed packages.

2012-11-20 Thread Peter Ankerstål
On 11/20/2012 10:42 AM, Volodymyr Kostyrko wrote: 20.11.2012 11:24, Peter Ankerstål wrote: In the light of this: http://www.freebsd.org/news/2012-compromise.html It would be nice if there was default way to log all package installations from both pkgs and ports. Is there? If not, what would

Re: Poor iSCSI performance with istgt.

2012-11-20 Thread Peter Ankerstål
On 11/19/2012 04:05 PM, Daniel Braniss wrote: On 11/19/2012 02:48 PM, Daniel Braniss wrote: try increasing the tag opening - see camcontrol(8) danny I tried camcontrol tags daX -N 32 (and a few different values) but cant see any change in speeds. (pass25:iscsi0:0:0:0): dev_openings 30

Poor iSCSI performance with istgt.

2012-11-19 Thread Peter Ankerstål
Hi! Im using two FreeBSD machines trying to get iSCSI to work and it works allright, but extremley slow. It peaks at about 50MB/s if I have multiple dd's runningt against the target. I have two separate networks but I get no difference in speed whichever I use. One regular 1G network

Re: Poor iSCSI performance with istgt.

2012-11-19 Thread Peter Ankerstål
On 11/19/2012 02:48 PM, Daniel Braniss wrote: try increasing the tag opening - see camcontrol(8) danny I tried camcontrol tags daX -N 32 (and a few different values) but cant see any change in speeds. (pass25:iscsi0:0:0:0): dev_openings 30 (pass25:iscsi0:0:0:0): dev_active2

AUDIT and jails.

2012-05-15 Thread Peter Ankerstål
I have tried to enable audit trails for jails but I can't get it to work, is there something special I need to do? Nothing shows up in the logs when I do anything inside a jail. ___ freebsd-stable@freebsd.org mailing list

Lenovo X220 wont boot.

2012-03-07 Thread Peter Ankerstål
Hi, I just got a Lenovo X220, a one with a i7-2640M CPU. I can boot from cd and install the OS without any problem, but when im going to boot the system for the first time it just stops and give me a menu to choose boot-order (bios). I figured out that this has something to to with the EFI

Re: Disable DMA.

2012-02-12 Thread Peter Ankerstål
On Feb 11, 2012, at 9:34 PM, Alexander Motin wrote: On 02/11/12 20:15, Peter Ankerstål wrote: In FreeBSD 8 i used the loader-variable hw.ata.ata_dma=0 to get my computer boot on a CF card. But in FreeBSD 9.0 it doesn't seem to work. Could it be another variable or is it something else

Disable DMA.

2012-02-11 Thread Peter Ankerstål
but when it is present it stops right after the Timecounter stuff. -- Peter Ankerstål pe...@pean.org http://www.pean.org/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail

Re: Swap on zvol - recommendable?

2012-02-07 Thread Peter Ankerstål
I can just tell you I had this problem still in 8.1 and it was a HUGE problem. System stalled every two weeks or so. Now when the swap is moved away from zfs it works fine. On Feb 6, 2012, at 11:57 AM, Patrick M. Hausen wrote: Hi, all, is it possible to make a definite statement about swap

device names changes for adX.

2010-10-02 Thread Peter Ankerstål
Hi, When I installed FreeBSD 8.1-RELEASE (freebsd-update) the adX devices changed index number and the machine obviously didnt boot. Due to this I hesitate to install 8.1 on my servers remote. How do I know if and to what the devices will change? -- Peter Ankerstål pe...@pean.org http

Re: device names changes for adX.

2010-10-02 Thread Peter Ankerstål
Peter Ankerstål wrote: Hi, When I installed FreeBSD 8.1-RELEASE (freebsd-update) the adX devices changed index number and the machine obviously didnt boot. Due to this I hesitate to install 8.1 on my servers remote. How do I know if and to what the devices will change? -- Peter

Re: FreeBSD on MacBook Pro.

2010-04-25 Thread peter Ankerstål
On Apr 25, 2010, at 8:14 AM, Patrick Lamaiziere wrote: Le Sat, 24 Apr 2010 14:31:18 +0200, Peter Ankerstål pe...@pean.org a écrit : Actuall it seems to work with US ISO och US UNIX too but only with the fixit cd. In the FreeBSD boot-meny I also can use the keyboard properly, but when

Re: FreeBSD on MacBook Pro.

2010-04-24 Thread Peter Ankerstål
gives me ^F on the screen and L clears it like ctrl+L does) -- Peter Ankerstål pe...@pean.org http://www.pean.org/ On 24 apr 2010, at 13.34, Patrick Lamaiziere wrote: Le Fri, 23 Apr 2010 23:42:37 +0200, Peter Ankerstål pe...@pean.org a écrit : Im trying to install FreeBSD on a macbook

FreeBSD on MacBook Pro.

2010-04-23 Thread Peter Ankerstål
Im trying to install FreeBSD on a macbook with dualboot. Everyting works out fine but the keymap doesnt work at all. I've tried alot of keymaps but everyting it produces is mumbojumbo. What keymap should I use to get the macbook working in console? -- Peter Ankerstål pe...@pean.org http

Re: SASL problems with spnego on 8.0-BETA4

2009-09-21 Thread Peter Ankerstål
/freebsd-questions/2009-September/205525.html -- Peter Ankerstål pe...@pean.org http://www.pean.org/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr

SMART for mpt raid.

2009-04-07 Thread Peter Ankerstål
Hi, I have a mpt raid and want to run smart on the individual drives. But the examples in the config all seems linux-specific. Is there a way to get SMART-status for the drives in a mpt-raid? -- Peter Ankerstål pe...@pean.org http://www.pean.org

LSI Logic raid status

2009-03-24 Thread Peter Ankerstål
Hi, I have a LSI Logic sata/sas raid running, is there a way to see the state of the volume, like optimal, degraded or resyncing? I've tried several commands with camcontrol but I cant figure it out. -- Peter Ankerstål pe...@pean.org http://www.pean.org

Re: LSI Logic raid status

2009-03-24 Thread Peter Ankerstål
On Mar 24, 2009, at 2:08 PM, Ruben van Staveren wrote: On 24 Mar 2009, at 13:40, Peter Ankerstål wrote: Hi, I have a LSI Logic sata/sas raid running, is there a way to see the state of the volume, like optimal, degraded or resyncing? There is sysutils/linux-megacli Sorry about

Re: LSI Logic raid status

2009-03-24 Thread Peter Ankerstål
. It did, but just as you say it paniced when I pulled the drive and when is was resynced. But it sound great if someone is working on this problem! -- Peter Ankerstål pe...@pean.org http://www.pean.org/ ___ freebsd-stable@freebsd.org mailing list http

Re: LSI Logic raid status

2009-03-24 Thread Peter Ankerstål
On Mar 24, 2009, at 8:20 PM, Scott Long wrote: Peter Ankerstål wrote: On Mar 24, 2009, at 8:00 PM, Charles Sprickman wrote: dev.mpt.0.nonoptimal_volumes: 0 Don't test whether the nonoptimal_volumes parameter works, it does - but if you pull a drive, FreeBSD likes to panic both

Re: LSI Logic raid status

2009-03-24 Thread Peter Ankerstål
On Mar 24, 2009, at 8:50 PM, Marat N.Afanasyev wrote: Scott Im running RELENG_7 cvsuped and built like 15 hours ago. I still have this problem. Please come back to me if you want some additional information about the setup. -- Peter Ankerstål pe...@pean.org http://www.pean.org

dhclient cant renew lease.

2009-02-23 Thread Peter Ankerstål
cone dhclient[1623]: SENDING DIRECT until the lease runs out and then the connection drops. I guess 172.21.248.127 is the real dhcp-server. A 'dhclient fxp0' sends a new request to 255.255.255.255 and it immediately fixes the connection. -- Peter Ankerstål pe...@pean.org http://www.pean.org

Re: dhclient cant renew lease.

2009-02-23 Thread Peter Ankerstål
172.21.248.127. I guess a workaround is to set a shorter rebind-interval.. -- Peter Ankerstål pe...@pean.org http://www.pean.org/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail

Re: Jail resource limits

2008-05-23 Thread Peter Ankerstål
On May 22, 2008, at 1:31 PM, Alexander Leidinger wrote: Quoting Miroslav Lachman [EMAIL PROTECTED] (from Thu, 22 May 2008 13:19:55 +0200): Peter Ankerstål wrote: http://wiki.freebsd.org/JailResourceLimits If the are somebody with skills and time to resurrect some mentioned projects, I

Jail resource limits

2008-05-22 Thread Peter Ankerstål
http://wiki.freebsd.org/JailResourceLimits Is this anthing people are working on? Is it on its way to RELENG_7? Is there a 7-version of the patch or anything? This would be a _VERY_ useful feature. -- Peter Ankerstål [EMAIL PROTECTED] ___ freebsd

Re: Jail resource limits

2008-05-22 Thread Peter Ankerstål
If the are somebody with skills and time to resurrect some mentioned projects, I am willing to help with testing. I will also be happy to help in whatever way I can. I have no coding- experience to talk about. But testing in various env and so on. (and help with docs/wiki) -- Peter

Re: Packet-corruption with re(4)

2008-05-18 Thread Peter Ankerstål
On Apr 29, 2008, at 2:08 PM, Jeremy Chadwick wrote: I'd recommend staying away from Realtek NICs. Pick up an Intel Pro/ 1000 GT or PT. Realtek has a well-known history of issues. Just wanted to tell you guys that so far a em(4) seems to have fixed the problem. -- Peter Ankerstål

Packet-corruption with re(4)

2008-04-29 Thread Peter Ankerstål
Hi, Im using a built in re(4) card and it seems like its causes data- corruption as soon as it gets some load (or after a few hours online) The machine is running FreeBSD 7.0R: FreeBSD ninja 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Wed Apr 16 22:49:15 CEST 2008 [EMAIL

Re: Packet-corruption with re(4)

2008-04-29 Thread Peter Ankerstål
On Apr 29, 2008, at 2:08 PM, Jeremy Chadwick wrote: tcpdump reporting bad cksum can occur due to TX/RX checksum offloading. Do you not see this message normally, but only when the problem begins? Have you tried turning off TX/RX offloading to see if the erroneous behaviour goes away? Have

Sata controller Sil 3512 - Kernel Panic.

2007-03-05 Thread Peter Ankerstål
Hi, I've recently installed a new sata-controller on a fresh installed FreeBSD 6.2. I gave the manual ata(4) a quick look before I bought the controller and it tells me this chip should be supported. But the machine panics every few minutes when I have a disk connected to it. Is there a way

6.2 RELEASE - READ_DMA timed out

2007-01-14 Thread Peter Ankerstål
I have a router running NanoBSD on a CF-card, 512MB SanDisk and yesterday when installed 6.2-RELEASE I encountered some problems. The systems seems to boot properly but when it tries to mount the filesystem I get errors like this: ad0: FAILURE - READ_DMA timed out LBA=1000941 When I try to

Re: 6.2 RELEASE - READ_DMA timed out

2007-01-14 Thread Peter Ankerstål
Pietro Cerutti wrote: On 1/14/07, Peter Ankerstål [EMAIL PROTECTED] wrote: ad0: FAILURE - READ_DMA timed out LBA=1000941 This kind of errors usually denote a hardware problem, either at the disk or at the controller level. Check sysutils/smartmontools in the ports. But there was no problem

Re: 6.2 RELEASE - READ_DMA timed out

2007-01-14 Thread Peter Ankerstål
The reason it works in safe mode is that DMA is not used there. Are you sure it worked with DMA before ? I cant be sure, I never looked it up. But it worked just fine before. The _only_ difference is the soruce-code i compiled NanoBSD from. I was RELENG_6_1 before and now it is RELENG_6_2