Re: Best USB NIC for obsd7.2

2023-01-09 Thread Nenhum_de_Nos
> Which 1Gbit USB 3.0A NIC is performing best with obsd 7.2?
>
> I am aware of the hardware list, but I am asking personal experience from
> users in here
>
> Regards, Lars.
>

Hi Lars,

I cannot tell much about network performance (I remember it not reaching
close to 1 Gbps), but I can tell about stability. This box is not yet
upgraded to 7.2, but I have it running for quite some time, upgraded since
at least 7.0 on a RPi 4B 4GB.

axen0 at uhub0 port 3 configuration 1 interface 0 "ASIX Elec. Corp.
AX88179" rev 3.00/1.00 addr 3
axen0: AX88179, address xxx
rgephy0 at axen0 phy 3: RTL8169S/8110S/8211 PHY, rev. 5

It's a Trendnet TU3-ETG/EUNL USB 3.0

matheus




Re: USB ethernet adapter?

2022-06-30 Thread Nenhum_de_Nos
> Hi,
>
> My PCEngines APU died and I need to rebuild my router.
>
> I'm throwing together an old desktop, but ultimately I'd like to use a
> Raspberry Pi that I bought to play with.
>
> My network configuration needs 2 wired interfaces.  I don't have a switch
> that will do vlans, and I don't want to have to configure all of that.
>
> This is only for a 20 Meg (bi directional) connection, so not stressing
> things too much.
>
> What would be a good USB to ethernet (RJ45) adapter that is supported by
> OpenBSD?
>
> Thanks,
> Steve W.

Hi Steve,

this bandwidth will be fine even on a RPI3 (tried here on old link, it was
fine up to 50Mbps without queuing).

I have now a RPI4 4GB and an USB Trendnet usb3 adapter:

rpi4_obsd /bsd: axen0 at uhub0 port 3 configuration 1 interface 0 "ASIX
Elec. Corp. AX88179" rev 3.00/1.00 addr 3
rpi4_obsd /bsd: axen0: AX88179, address xx
rpi4_obsd /bsd: rgephy0 at axen0 phy 3: RTL8169S/8110S/8211 PHY, rev. 5

that despite some messages like this:

rpi4_obsd /bsd: axen0: checksum err (pkt#1)

will do fine. Nowadays the link is 200/80 Mbps and I use queuing fine. For
20Mbps even the usb2 Linksys 100Mbps ethernet will do for you.

att,

matheus




Re: network interface becomes inoperable - No buffer space available

2022-06-25 Thread Nenhum_de_Nos



On June 25, 2022 3:45:11 PM GMT-03:00, Stuart Henderson 
 wrote:
>On 2022-06-24, Boyd Stephens  wrote:
>> On 6/23/22 05:34, Stuart Henderson wrote:
>>> How do the following look?
>>> 
>>> pfctl -si
>>> systat -b mbuf
>>> vmstat -m
>>> 
>>> Comparing normal + failed might be useful too.
>>> 
>>> Are you using queues in pf?
>>> 
>>> The ifconfig output you included looks normal. (rxpause/txpause is
>>> "has negotiated flow control" and doesn't indicate what flow control
>>> is actually blocking)
>>> 
>>> 
>>
>> Mr Stuart:
>>
>> Currently we are not utilizing any queues in pf.
>>
>> I'm not sure if the telco provider upstream has made some changes but
>
>> since our reboot 3 days back the system/services have not failed and
>we 
>> have not experienced a another Ofail on the ix0 interface.  When
>taking 
>> a peek via the netstat command the results below are from this am
>>
>> NameMtu   Network Address  Ipkts IfailOpkts 
>> Ofail Coll
>> ix0 1500  198.64.189. 198.64.189.20077302398 0 44506063 
>> 0 0
>>
>> Although I have obtained the data that you requested I have not been 
>> able to do so while the device is in a failed state due to this being
>a 
>> production machine and our not having experienced another failure
>since 
>> my initial post.
>>
>> Would you like to still review the data received while the device is 
>> working normally?
>>
>> Thank you much and I will await your feedback.
>
>I doubt there will be many clues while it's working, but it wouldn't
>hurt
>to post them in case anything looks amiss.

Hi,

I run my home router using openbsd on a rpi4 and had a rpi3 on a small link, 
and I got the same behavior on them on some occasions. Unfortunately I don't 
have don't have much evidences from the issues, apart from the info that 
reloading pf configuration file would set all back to working condition, and on 
most times the interface that had problems was the USB nic. I have memories 
that the internet uplink was reachable.

Sorry for not so much information.

Matheus 
--
"We will call you Cygnus,
the God of balance you shall be."



Re: Issue on RPi4 upgrade to 7.0

2021-10-25 Thread Nenhum_de_Nos



On Wed, October 20, 2021 22:25, beebeet...@posteo.de wrote:
> Have you tried replacing u-boot.bin with the one from 6.9 on the
> FAT partition of your SD card? Doing that solved the issue for me.
>
> https://marc.info/?l=openbsd-arm=163430263914511=2

Hi all,

for the record, that solved it.

thanks beebeetles

matheus

> On 10/20/21 10:12 AM, Nenhum_de_Nos wrote:
>> Hi,
>>
>> I just upgraded my RPi4B 4G router to 7.0 and, unlike the RPi3B that all
>> worked fine, it fails to boot and the log is:
>>
>> softraid0 at root
>> scsibus2 at softraid0: 256 targets
>> root on sd0a (978f2b14852ab222.a) swap on sd0b dump on sd0b
>> WARNING: CHECK AND RESET THE DATE!
>> gpio0 at bcmgpio0: 58 pins
>> bwfm0: address xx:xx:xx:xx:xx:xx
>> panic: do_el0_error
>> Stopped at  panic+0x160:cmp w21, #0x0
>>  TIDPIDUID PRFLAGS PFLAGS  CPU  COMMAND
>> *501374  57858  0   0  00  init
>> 7166  1  0 0x2  02K init
>> db_enter() at panic+0x15c
>> panic() at do_el0_error+0x10
>> athub_v2_1_set_clockgating() at handle_el0_error+0x74
>> handle_el0_error() at 0x14bf4fdea8
>> address 0x7d3be8 is invalid
>> https://www.openbsd.org/ddb.html describes the minimum info required in
>> bug
>> reports.  Insufficient info makes it difficult to find and fix bugs.
>> ddb{0}> reboot
>> rebooting...
>>
>> Searching the internet I got to this:
>> https://www.mail-archive.com/bugs@openbsd.org/msg17017.html
>>
>> So I did what was told there, disabled bcmpcie on boot and now the USB
>> won't work. I need it for my second NIC. It was all fine on 6.9 till
>> this morning.
>>
>> It was also mentioned on that mail thread that the U-Boot would matter,
>> so mine now is U-Boot 2021.07 (Aug 12 2021 - 02:45:29 -0600) Tried to
>> search for new U-Boot for it, no new version found so far. Will keep
>> looking.
>>
>> Has anyone seen this issue on updates?
>>
>> Now I am confused if I finish the upgrade by running sysmerge and
>> pkg_add -u or if I try to rollback to 6.9 where all worked fine.
>>
>> thanks,
>>
>> matheus
>>
>>
>
>


-- 
"We will call you Cygnus,
the God of balance you shall be."



Re: Issue on RPi4 upgrade to 7.0

2021-10-21 Thread Nenhum_de_Nos
Hi,

I gave it a thought and tried to find any options on sysupgrade to roll back, 
but I couldn't find no option foe this on its help page. Should I reinstall 6.9 
from scratch and config it again?

Thanks,

Matheus 

On October 20, 2021 7:44:40 PM GMT-03:00, Noth  wrote:
>You're better off rolling back to 6.9. Upgrade when the issue has been 
>solved.
>
>On 20/10/2021 16:12, Nenhum_de_Nos wrote:
>> Hi,
>>
>> I just upgraded my RPi4B 4G router to 7.0 and, unlike the RPi3B that
>all worked fine, it fails to boot and the log is:
>>
>> softraid0 at root
>> scsibus2 at softraid0: 256 targets
>> root on sd0a (978f2b14852ab222.a) swap on sd0b dump on sd0b
>> WARNING: CHECK AND RESET THE DATE!
>> gpio0 at bcmgpio0: 58 pins
>> bwfm0: address xx:xx:xx:xx:xx:xx
>> panic: do_el0_error
>> Stopped at  panic+0x160:cmp w21, #0x0
>>  TIDPIDUID PRFLAGS PFLAGS  CPU  COMMAND
>> *501374  57858  0   0  00  init
>> 7166  1  0 0x2  02K init
>> db_enter() at panic+0x15c
>> panic() at do_el0_error+0x10
>> athub_v2_1_set_clockgating() at handle_el0_error+0x74
>> handle_el0_error() at 0x14bf4fdea8
>> address 0x7d3be8 is invalid
>> https://www.openbsd.org/ddb.html describes the minimum info required
>in bug
>> reports.  Insufficient info makes it difficult to find and fix bugs.
>> ddb{0}> reboot
>> rebooting...
>>
>> Searching the internet I got to this:
>https://www.mail-archive.com/bugs@openbsd.org/msg17017.html
>>
>> So I did what was told there, disabled bcmpcie on boot and now the
>USB won't work. I need it for my second NIC. It was all fine on 6.9
>till this morning.
>>
>> It was also mentioned on that mail thread that the U-Boot would
>matter, so mine now is U-Boot 2021.07 (Aug 12 2021 - 02:45:29 -0600)
>Tried to search for new U-Boot for it, no new version found so far.
>Will keep looking.
>>
>> Has anyone seen this issue on updates?
>>
>> Now I am confused if I finish the upgrade by running sysmerge and
>pkg_add -u or if I try to rollback to 6.9 where all worked fine.
>>
>> thanks,
>>
>> matheus
>>
>>

-- 
"We will call you Cygnus,
the God of balance you shall be."


Issue on RPi4 upgrade to 7.0

2021-10-20 Thread Nenhum_de_Nos
Hi,

I just upgraded my RPi4B 4G router to 7.0 and, unlike the RPi3B that all worked 
fine, it fails to boot and the log is:

softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (978f2b14852ab222.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!
gpio0 at bcmgpio0: 58 pins
bwfm0: address xx:xx:xx:xx:xx:xx
panic: do_el0_error
Stopped at  panic+0x160:cmp w21, #0x0
TIDPIDUID PRFLAGS PFLAGS  CPU  COMMAND
*501374  57858  0   0  00  init
   7166  1  0 0x2  02K init
db_enter() at panic+0x15c
panic() at do_el0_error+0x10
athub_v2_1_set_clockgating() at handle_el0_error+0x74
handle_el0_error() at 0x14bf4fdea8
address 0x7d3be8 is invalid
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.
ddb{0}> reboot
rebooting...

Searching the internet I got to this: 
https://www.mail-archive.com/bugs@openbsd.org/msg17017.html

So I did what was told there, disabled bcmpcie on boot and now the USB won't 
work. I need it for my second NIC. It was all fine on 6.9 till this morning.

It was also mentioned on that mail thread that the U-Boot would matter, so mine 
now is U-Boot 2021.07 (Aug 12 2021 - 02:45:29 -0600) Tried to search for new 
U-Boot for it, no new version found so far. Will keep looking.

Has anyone seen this issue on updates?

Now I am confused if I finish the upgrade by running sysmerge and pkg_add -u or 
if I try to rollback to 6.9 where all worked fine.

thanks,

matheus


-- 
"We will call you Cygnus,
the God of balance you shall be."



Re: Raspberry Pi 4 Model B

2021-09-25 Thread Nenhum_de_Nos
On Fri, September 24, 2021 16:51, Joseph Olatt wrote:
> Hi,
>
> I'm trying to load OpenBSD on a Raspberry Pi 4 Model B and I'm not
> having much luck. I've tried OpenBSD 6.9's miniroot69.img and the
> install process does not go past the U-Boot prompt.
>
> I tried miniroot70.img from the snapshots directory, as of today, and
> after displaying the following line:
>
>   bwfm0: failed loadfirmware of file
> brcmfmac43455-sdio.raspberrypi,4-model-b.bin
>
> it reboots.
>
> Anybody else have success installing OpenBSD on this particular
> hardware? Any insights or suggestions?
>
> Thank you.
> joseph

Hi Joseph,

I followed https://ftp.openbsd.org/pub/OpenBSD/6.9/arm64/INSTALL.arm64 and
got two Raspberry Pi (3B and 4B) running fine since 6.8:

OpenBSD 6.9 (GENERIC.MP) #2: Tue Aug 10 08:28:07 MDT 2021

r...@syspatch-69-arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem  = 479776 (3920MB)
avail mem = 3952427008 (3769MB)
random: good seed from bootblocks
mainbus0 at root: Raspberry Pi 4 Model B Rev 1.1
cpu0 at mainbus0 mpidr 0: ARM Cortex-A72 r0p3
cpu0: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu0: 1024KB 64b/line 16-way L2 cache
cpu0: CRC32,ASID16
cpu1 at mainbus0 mpidr 1: ARM Cortex-A72 r0p3
cpu1: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu1: 1024KB 64b/line 16-way L2 cache
cpu1: CRC32,ASID16
cpu2 at mainbus0 mpidr 2: ARM Cortex-A72 r0p3
cpu2: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu2: 1024KB 64b/line 16-way L2 cache
cpu2: CRC32,ASID16
cpu3 at mainbus0 mpidr 3: ARM Cortex-A72 r0p3
cpu3: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu3: 1024KB 64b/line 16-way L2 cache
cpu3: CRC32,ASID16
efi0 at mainbus0: UEFI 2.8
efi0: Das U-Boot rev 0x20210100
apm0 at mainbus0
simplefb0 at mainbus0: 640x480, 32bpp
wsdisplay0 at simplefb0 mux 1
wsdisplay0: screen 0-5 added (std, vt100 emulation)
"system" at mainbus0 not configured
"axi" at mainbus0 not configured
simplebus0 at mainbus0: "soc"
bcmclock0 at simplebus0
bcmmbox0 at simplebus0

matheus

-- 
"We will call you Cygnus,
the God of balance you shall be."



Re: axen issue on OpenBSD 6.9 on raspberry pi 3B

2021-06-24 Thread Nenhum_de_Nos
On Sun, June 20, 2021 23:15, Nenhum_de_Nos wrote:
> On Sun, June 20, 2021 20:34, Nenhum_de_Nos wrote:
>> Hi,
>>
>> I updated my rpi 3B to 6.9 and after that I got this messages:
>>
>> axen0: watchdog timeout
>> axen0: usb error on tx: IN_PROGRESS
>> axen0: usb error on tx: TIMEOUT
>>
>> and the NIC is offline then. No network access on this nic (I have two
>> VLAN's there). The built-in NIC is connected to the internet and is
>> fine.
>>
>> rpi3_obsd# ping 8.8.8.8
>> PING 8.8.8.8 (8.8.8.8): 56 data bytes
>> 64 bytes from 8.8.8.8: icmp_seq=0 ttl=116 time=66.999 ms
>> ^C
>> --- 8.8.8.8 ping statistics ---
>> 1 packets transmitted, 1 packets received, 0.0% packet loss
>> round-trip min/avg/max/std-dev = 66.999/66.999/66.999/0.000 ms
>>
>> I looked the cvs web and saw no changes on if_axen after 6.8 was
>> released.
>> This box has 1 day uptime and this is the second time I get this. On 6.8
>> this never happened, and I had several days uptime.
>>
>> Is this a known bug?
>
> I tried here to ifconfig down and up it, and it got back to work. Will
> wait till tomorrow if it repeats the behavior.

Hi,

The same error after that ifconfig down and up. I then moved to the RPi 4B
4G and it worked fine. Then I tried the 3B again and error again. Will
change the USB NIC and try.



-- 
"We will call you Cygnus,
the God of balance you shall be."



Re: axen issue on OpenBSD 6.9 on raspberry pi 3B

2021-06-20 Thread Nenhum_de_Nos
On Sun, June 20, 2021 20:34, Nenhum_de_Nos wrote:
> Hi,
>
> I updated my rpi 3B to 6.9 and after that I got this messages:
>
> axen0: watchdog timeout
> axen0: usb error on tx: IN_PROGRESS
> axen0: usb error on tx: TIMEOUT
>
> and the NIC is offline then. No network access on this nic (I have two
> VLAN's there). The built-in NIC is connected to the internet and is fine.
>
> rpi3_obsd# ping 8.8.8.8
> PING 8.8.8.8 (8.8.8.8): 56 data bytes
> 64 bytes from 8.8.8.8: icmp_seq=0 ttl=116 time=66.999 ms
> ^C
> --- 8.8.8.8 ping statistics ---
> 1 packets transmitted, 1 packets received, 0.0% packet loss
> round-trip min/avg/max/std-dev = 66.999/66.999/66.999/0.000 ms
>
> I looked the cvs web and saw no changes on if_axen after 6.8 was released.
> This box has 1 day uptime and this is the second time I get this. On 6.8
> this never happened, and I had several days uptime.
>
> Is this a known bug?

I tried here to ifconfig down and up it, and it got back to work. Will
wait till tomorrow if it repeats the behavior.

matheus

> dmesg:
>
> rpi3_obsd$ dmesg
> OpenBSD 6.9 (GENERIC.MP) #0: Thu May 20 02:29:27 MDT 2021
> 
> r...@syspatch-69-arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP
> real mem  = 957116416 (912MB)
> avail mem = 895270912 (853MB)
> random: good seed from bootblocks
> mainbus0 at root: Raspberry Pi 3 Model B Rev 1.2
> cpu0 at mainbus0 mpidr 0: ARM Cortex-A53 r0p4
> cpu0: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
> cpu0: 512KB 64b/line 16-way L2 cache
> cpu0: CRC32,ASID16
> cpu1 at mainbus0 mpidr 1: ARM Cortex-A53 r0p4
> cpu1: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
> cpu1: 512KB 64b/line 16-way L2 cache
> cpu1: CRC32,ASID16
> cpu2 at mainbus0 mpidr 2: ARM Cortex-A53 r0p4
> cpu2: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
> cpu2: 512KB 64b/line 16-way L2 cache
> cpu2: CRC32,ASID16
> cpu3 at mainbus0 mpidr 3: ARM Cortex-A53 r0p4
> cpu3: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
> cpu3: 512KB 64b/line 16-way L2 cache
> cpu3: CRC32,ASID16
> efi0 at mainbus0: UEFI 2.8
> efi0: Das U-Boot rev 0x20210100
> apm0 at mainbus0
> simplefb0 at mainbus0: 656x416, 32bpp
> wsdisplay0 at simplefb0 mux 1
> wsdisplay0: screen 0-5 added (std, vt100 emulation)
> "system" at mainbus0 not configured
> "axi" at mainbus0 not configured
> simplebus0 at mainbus0: "soc"
> bcmclock0 at simplebus0
> bcmmbox0 at simplebus0
> bcmgpio0 at simplebus0
> bcmaux0 at simplebus0
> bcmdmac0 at simplebus0: DMA0 DMA2 DMA4 DMA5 DMA8 DMA9 DMA10
> bcmintc0 at simplebus0
> bcmrng0 at simplebus0
> pluart0 at simplebus0: console
> bcmsdhost0 at simplebus0: 250 MHz base clock
> sdmmc0 at bcmsdhost0: 4-bit, sd high-speed, mmc high-speed, dma
> dwctwo0 at simplebus0
> bcmdog0 at simplebus0
> bcmtemp0 at simplebus0
> "local_intc" at simplebus0 not configured
> sdhc0 at simplebus0
> sdhc0: SDHC 3.0, 200 MHz base clock
> sdmmc1 at sdhc0: 4-bit, sd high-speed, mmc high-speed
> simplebus1 at simplebus0: "firmware"
> "clocks" at simplebus1 not configured
> "expgpio" at simplebus1 not configured
> "power" at simplebus0 not configured
> "mailbox" at simplebus0 not configured
> "gpiomem" at simplebus0 not configured
> "fb" at simplebus0 not configured
> "vcsm" at simplebus0 not configured
> "virtgpio" at simplebus0 not configured
> "clocks" at mainbus0 not configured
> "phy" at mainbus0 not configured
> "arm-pmu" at mainbus0 not configured
> agtimer0 at mainbus0: 19200 kHz
> "leds" at mainbus0 not configured
> "fixedregulator_3v3" at mainbus0 not configured
> "fixedregulator_5v0" at mainbus0 not configured
> "bootloader" at mainbus0 not configured
> usb0 at dwctwo0: USB revision 2.0
> scsibus0 at sdmmc0: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0:  removable
> sd0: 30436MB, 512 bytes/sector, 62333952 sectors
> uhub0 at usb0 configuration 1 interface 0 "Broadcom DWC2 root hub" rev
> 2.00/1.00 addr 1
> uhub1 at uhub0 port 1 configuration 1 interface 0 "Standard Microsystems
> product 0x9514" rev 2.00/2.00 addr 2
> bwfm0 at sdmmc1 function 1
> manufacturer 0x02d0, product 0xa9a6 at sdmmc1 function 2 not configured
> smsc0 at uhub1 port 1 configuration 1 interface 0 "Standard Microsystems
> SMSC9512/14" rev 2.00/2.00 addr 3
> smsc0: address xx
> ukphy0 at smsc0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x0001f0, model 0x000c
> axen0 at uhub1 port 5 configuration 1 inte

axen issue on OpenBSD 6.9 on raspberry pi 3B

2021-06-20 Thread Nenhum_de_Nos
Hi,

I updated my rpi 3B to 6.9 and after that I got this messages:

axen0: watchdog timeout
axen0: usb error on tx: IN_PROGRESS
axen0: usb error on tx: TIMEOUT

and the NIC is offline then. No network access on this nic (I have two
VLAN's there). The built-in NIC is connected to the internet and is fine.

rpi3_obsd# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=116 time=66.999 ms
^C
--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 66.999/66.999/66.999/0.000 ms

I looked the cvs web and saw no changes on if_axen after 6.8 was released.
This box has 1 day uptime and this is the second time I get this. On 6.8
this never happened, and I had several days uptime.

Is this a known bug?

dmesg:

rpi3_obsd$ dmesg
OpenBSD 6.9 (GENERIC.MP) #0: Thu May 20 02:29:27 MDT 2021

r...@syspatch-69-arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem  = 957116416 (912MB)
avail mem = 895270912 (853MB)
random: good seed from bootblocks
mainbus0 at root: Raspberry Pi 3 Model B Rev 1.2
cpu0 at mainbus0 mpidr 0: ARM Cortex-A53 r0p4
cpu0: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu0: 512KB 64b/line 16-way L2 cache
cpu0: CRC32,ASID16
cpu1 at mainbus0 mpidr 1: ARM Cortex-A53 r0p4
cpu1: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu1: 512KB 64b/line 16-way L2 cache
cpu1: CRC32,ASID16
cpu2 at mainbus0 mpidr 2: ARM Cortex-A53 r0p4
cpu2: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu2: 512KB 64b/line 16-way L2 cache
cpu2: CRC32,ASID16
cpu3 at mainbus0 mpidr 3: ARM Cortex-A53 r0p4
cpu3: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu3: 512KB 64b/line 16-way L2 cache
cpu3: CRC32,ASID16
efi0 at mainbus0: UEFI 2.8
efi0: Das U-Boot rev 0x20210100
apm0 at mainbus0
simplefb0 at mainbus0: 656x416, 32bpp
wsdisplay0 at simplefb0 mux 1
wsdisplay0: screen 0-5 added (std, vt100 emulation)
"system" at mainbus0 not configured
"axi" at mainbus0 not configured
simplebus0 at mainbus0: "soc"
bcmclock0 at simplebus0
bcmmbox0 at simplebus0
bcmgpio0 at simplebus0
bcmaux0 at simplebus0
bcmdmac0 at simplebus0: DMA0 DMA2 DMA4 DMA5 DMA8 DMA9 DMA10
bcmintc0 at simplebus0
bcmrng0 at simplebus0
pluart0 at simplebus0: console
bcmsdhost0 at simplebus0: 250 MHz base clock
sdmmc0 at bcmsdhost0: 4-bit, sd high-speed, mmc high-speed, dma
dwctwo0 at simplebus0
bcmdog0 at simplebus0
bcmtemp0 at simplebus0
"local_intc" at simplebus0 not configured
sdhc0 at simplebus0
sdhc0: SDHC 3.0, 200 MHz base clock
sdmmc1 at sdhc0: 4-bit, sd high-speed, mmc high-speed
simplebus1 at simplebus0: "firmware"
"clocks" at simplebus1 not configured
"expgpio" at simplebus1 not configured
"power" at simplebus0 not configured
"mailbox" at simplebus0 not configured
"gpiomem" at simplebus0 not configured
"fb" at simplebus0 not configured
"vcsm" at simplebus0 not configured
"virtgpio" at simplebus0 not configured
"clocks" at mainbus0 not configured
"phy" at mainbus0 not configured
"arm-pmu" at mainbus0 not configured
agtimer0 at mainbus0: 19200 kHz
"leds" at mainbus0 not configured
"fixedregulator_3v3" at mainbus0 not configured
"fixedregulator_5v0" at mainbus0 not configured
"bootloader" at mainbus0 not configured
usb0 at dwctwo0: USB revision 2.0
scsibus0 at sdmmc0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0:  removable
sd0: 30436MB, 512 bytes/sector, 62333952 sectors
uhub0 at usb0 configuration 1 interface 0 "Broadcom DWC2 root hub" rev
2.00/1.00 addr 1
uhub1 at uhub0 port 1 configuration 1 interface 0 "Standard Microsystems
product 0x9514" rev 2.00/2.00 addr 2
bwfm0 at sdmmc1 function 1
manufacturer 0x02d0, product 0xa9a6 at sdmmc1 function 2 not configured
smsc0 at uhub1 port 1 configuration 1 interface 0 "Standard Microsystems
SMSC9512/14" rev 2.00/2.00 addr 3
smsc0: address xx
ukphy0 at smsc0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x0001f0, model 0x000c
axen0 at uhub1 port 5 configuration 1 interface 0 "ASIX Elec. Corp.
AX88179" rev 2.10/1.00 addr 4
axen0: AX88179, address d8:eb:xx:xx:xx:xx
rgephy0 at axen0 phy 3: RTL8169S/8110S/8211 PHY, rev. 5
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (1143bcaeeb0bb292.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!
gpio0 at bcmgpio0: 54 pins
bwfm0: address b8:27:eb:xx:xx:xx
duplicate IP address 10.1.6.92 sent from ethernet address xx
duplicate IP address 10.1.6.92 sent from ethernet address xx
duplicate IP address 10.1.6.92 sent from ethernet address xx
duplicate IP address 10.1.6.92 sent from ethernet address xx
duplicate IP address 10.1.6.92 sent from ethernet address xx
duplicate IP address 10.1.6.92 sent from ethernet address xx
duplicate IP address 10.1.6.92 sent from ethernet address xx
duplicate IP address 10.1.6.92 sent from ethernet address xx
axen0: watchdog 

Re: SSL issue on 6.8 arm64 when upgrading to 6.9

2021-06-18 Thread Nenhum_de_Nos



On Fri, June 18, 2021 23:27, Theo de Raadt wrote:
> Your clock is wrong.

The boot process had such a line telling me my clock was wrong, but every
date command got me the right date and time, so I ignored the message.

>> Unable to connect using https. Use http instead? [no]
>
> Say yes.  (And thus, understand and accept that openbsd file
> distribution is signed using a very reliable static key -- more
> than good enough).

That did it. Using different mirror on http made it through.

thanks,

matheus

-- 
"We will call you Cygnus,
the God of balance you shall be."



SSL issue on 6.8 arm64 when upgrading to 6.9

2021-06-18 Thread Nenhum_de_Nos
Hi,

I can't update my raspberry pi 3B to 6.9. I get errors like this:

Let's upgrade the sets!
Location of sets? (disk http nfs or 'done') [http]
HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none]
(Unable to get list from ftp.openbsd.org, but that is OK)
HTTP Server? (hostname or 'done') [cloudflare.cdn.openbsd.org]
Server directory? [pub/OpenBSD/6.9/arm64]
Unable to connect using https. Use http instead? [no]
Location of sets? (disk http nfs or 'done') [http]
HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none]
(Unable to get list from ftp.openbsd.org, but that is OK)
HTTP Server? (hostname or 'done') [cloudflare.cdn.openbsd.org]
Server directory? [pub/OpenBSD/6.9/arm64]
Unable to connect using https. Use http instead? [no] yes
Unable to get a verified list of distribution sets.
TLS handshake failure: handshake failed: error:1404B410:SSL
routines:ST_CONNECT:sslv3 alert handshake failure
Looked at http://cloudflare.cdn.openbsd.org/pub/OpenBSD/6.9/arm64 and
found no OpenBSD/arm64 6.9 sets.  The set names looked for were:
bsd man69.tgz   xserv69.tgz
bsd.mp  game69.tgz  site69.tgz
bsd.rd  xbase69.tgz site69-rpi3_obsd.tgz
base69.tgz  xshare69.tgz
comp69.tgz  xfont69.tgz

This line:

TLS handshake failure: handshake failed: error:1404B410:SSL
routines:ST_CONNECT:sslv3 alert handshake failure

is also present when I try to install any package on 6.8. I looked for it
over google and found no clues, just one patch that looks like to issue
tihs, but a full recompile would last longer then a fresh 6.9 install.

Has anyone seen this?

Thanks.

matheus

-- 
"We will call you Cygnus,
the God of balance you shall be."



Re: Low throughput with 1 GigE interface

2020-01-31 Thread Nenhum_de_Nos



On Thu, January 30, 2020 11:43, livio wrote:
> Dear all,
>
> I am unable to achieve decent throughput with a 1 GigE interface
> (Intel I210) on OpenBSD 6.6. When running iperf3 I get around 145Mbit/s.
>
> The config/setup is: APU2c4, Win10 notebook, no switch, Cat.6a cable,
> MTU 1500, 1000baseT, full-duplex, pf disabled, BSD.mp, no custom Kernel
> parameters/optimizations.
>
> With an increased MTU of 9000 (on both devices) the throughput is around
> 230-250Mbit/s.
>
> When running the same test with a FreeBSD 12.1 on the APU I achieve
> around 940Mbit/s (MTU 1500).
>
> The BIOS has been updated to the latest version (v4.11.0.2). The
> hardware of the device is: https://pcengines.ch/apu2c0.htm
>
> dmesg output:
> https://paste.ee/p/OeRbI
>
> Any inputs and help is highly appreciated.
>
> Many thanks,
> Livio
>
> PS: I ran the same tests on an APU1c4 with Realtek RTL8111E interfaces.
> The results were lower - around 95Mbit/s.
> https://pcengines.ch/apu1c4.htm
>
> PPS: Others also seem to have low throughput. None of the tuning
> recommendations I found online substantially improved my results:
> https://www.reddit.com/r/openbsd/comments/cg9vhq/poor_network_performance_pcengines_apu4/

I would cut Windows from it. I always get lower numbers when it is on one
end of the test. I know FreeBSD got higher results, would cut anyway.

Try one APU to the other. Did already?

matheus


-- 
"We will call you Cygnus,
the God of balance you shall be."



Re: Free OpenBSD Puffy Stickers

2017-12-04 Thread Nenhum_de_Nos

On Mon, December 4, 2017 06:58, x9p wrote:
> forgot subject.
>
>> Hi,
>>
>> I ordered about 40 stickers 10x10 to see if quality is ok with local
>> maker. They arrive in a week or 2.
>>
>> Intention isnt to make money out of it for myself, I can post via mail
>> to
>> the ones willing to try/see the sticker quality - maybe is crappy, who
>> knows...
>>
>> Just send me your name+address. I will be posting from Rio de Janeiro /
>> Brazil, if mail fee gets expensive to me, will ask the ones who want the
>> sticker to cover it via BTC or Paypal.
>>
>> If project agrees, I am fine with putting them in an online store and
>> forwarding the income to the project, minus expenses of the maker.
>>
>> cheers.
>>
>> x9p

Hi x9 (funny name for Rio),

have you an image of it?

Here in Brazil its tempting :)

-- 
"We will call you Cygnus,
the God of balance you shall be."



Re: OpenBSD 5.6/current on Soekris 6501-70

2014-12-09 Thread Nenhum_de_Nos

On 2014-12-08 05:03, Stuart Henderson wrote:

On 2014-12-08, Martin Hanson greencopperm...@yandex.com wrote:

I would like to be able to run ~100-120 MB/s from one NIC to the other
on this box, if possible?


MB/s (megabytes): no.
Mb/s (megabits): yes.


I second that.

Even using no pf rules, can't reach 1Gbps rates.

See the manual before buying, its internal buses are thin :)

matheus

--
We will call you Cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: low power device

2014-09-18 Thread Nenhum_de_Nos
On September 18, 2014 9:59:01 PM GMT-03:00, Stan Gammons sg063...@gmail.com 
wrote:
On 09/18/14 19:22, Chuck Burns wrote:
 On Thursday, September 18, 2014 7:52:38 PM Steve Litt wrote:
 I just remembered a third question: I can plug in a USB keyboard,
but
 how do I view the computer's output while installing OpenBSD or
 troubleshooting? Ssh is good when it's running smoothly, but not for
 preboot stuff.

 Thanks,
 Usually, it's a serial console


Yes, the APU has a serial console.  Baud rate is 115,200.  To install 
OpenBSD, boot from a CD. At the boot prompt, before it times out and 
continues to boot, type stty com0 115200 and press return. Then type 
set tty com0 and press return. Then press return at the boot prompt 
to continue the boot process.  Choose yes when the install ask if you 
want to use com0 as the console.


Stan

Does this network card support vlan? 

Thanks, 

Matheus 


-- 
We will call you Cygnus,
the God of balance you shall be.



Re: USB ethernet for OpenBSD

2013-10-02 Thread Nenhum_de_Nos
On Wed, October 2, 2013 16:50, obsd, cgi wrote:
 Hi!

 Can someone please mention a working USB to Ethernet adapter for OpenBSD 5.3? 
 (anybody has a
working one and can share the name of it?)

 It doesn't need to be Gbit big... just a 10/100 would be more then enough..

 +1 if it could be buyed from:

 http://www.ebay.co.uk/

 Many Thanks, have a nice day!

I used a bunch of
http://www.amazon.com/Cisco-Linksys-USB200M-EtherFast-Network-Adapter/dp/B85ZKV
 on OpenBSD
4.something and was ok. Very stable.

matheus

-- 
We will call you Cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text. Q: Why is 
top-posting such a
bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: www.openbsd.org down?

2013-06-25 Thread Nenhum_de_Nos
On Tue, June 25, 2013 06:56, Yusof Khalid - FreeBSD / OpenBSD wrote:
 Yeah can't access from here (Kuala Lumpur, MY)

Can't access from Brazil.

matheus

-- 
We will call you Cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: USB to ethernet adapter

2011-12-07 Thread Nenhum_de_Nos
On Thu, December 8, 2011 03:11, Wesley M. wrote:
 Hi,

 I'm going to build a small firewall with proxy cache for web.
 Using an Apple Mac mini. For the second ethernet, i will use :
 - Trendnet TU2-ETG OR Apple MC704ZM.
 What is better ? using trendnet or Apple Adapter ?
 And is it enough stable to use a USB Adapter ?

 Thank you very much for your answers.

 Wesley.

I can't say about Macs and these usb lan you're using. But I've used for a 
couple of years OpenBSD
and some usb lan nic without problems. I used an old 10Mbps one I can't 
remember the name/module,
and more recently Linksys 200M (or is it 100M), that can handle up to 100Mbps. 
It was used for
altq+hfsc, and it did the job as was expected.

matheus

--
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: Linux or OpenBSD

2010-09-22 Thread Nenhum_de_Nos
On Wed, September 22, 2010 18:56, Luis F Urrea wrote:
 On Wed, Sep 22, 2010 at 4:11 PM, Fabio Almeida mente...@gmail.com wrote:

 Iptables is ok, until you know PF, after knowing PF you'll never use
 Linux, at least for firewalls, anymore.

 +1

+1

matheus

-- 
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: OpenBSD users.

2010-07-20 Thread Nenhum_de_Nos
On Tue, 20 Jul 2010 21:25:24 -0300
Limaunion limaun...@fibertel.com.ar wrote:

 On 07/17/2010 08:07 PM, Mateusz Gierblinski wrote:
  Hi misc@
 
  I'm just wondering. Where are you OpenBSD users from?
 
  I'm from Belgium, anyone else?
 
  Take care
 
 

 Buenos Aires, Argentina, South America.

Joco Pessoa, Paramba - Brazil, South America.

matheus

--
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: OpenBSD users.

2010-07-20 Thread Nenhum_de_Nos
On Tue, 20 Jul 2010 21:55:56 -0300
Nenhum_de_Nos math...@eternamente.info wrote:

 On Tue, 20 Jul 2010 21:25:24 -0300
 Limaunion limaun...@fibertel.com.ar wrote:
 
  On 07/17/2010 08:07 PM, Mateusz Gierblinski wrote:
   Hi misc@
  
   I'm just wondering. Where are you OpenBSD users from?
  
   I'm from Belgium, anyone else?
  
   Take care
  
  
 
  Buenos Aires, Argentina, South America.
 
 Joco Pessoa, Paramba - Brazil, South America.
 
 matheus

damn locales (and relatives :)

Joao Pessoa, Paraiba - Brazil, South America.

matheus

-- 
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: traffic management

2010-06-02 Thread Nenhum_de_Nos
On Wed, June 2, 2010 13:37, Theo de Raadt wrote:
  Hello Misc,
 
Ideally this control altq the similarity in the tc tool in Linux.
 Who would want this? This was the main reason for me to switch my
 routers to OpenBSD. (consistency, ease of configuring)
 I didn't want to fiddle with iptables and tc, search in outdated
 tc documentations or make (or use) huge scripts just to set a sane
 firewall-trafficshaping with a little extensibility. The native OpenBSD
 tools are just fine.

me too ... iptables naver more ...

damn prerouting and postrouting ...

 (wifi-configuration's the same)

 Well, Andreas, don't worry -- it won't be changing.

great, thanks for pf !

matheus

-- 
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: Recommended 802.11g adapter

2010-05-27 Thread Nenhum_de_Nos
On Tue, May 25, 2010 03:51, Piotr Komborski wrote:
 Hi,

 What kind of Ralink chipset does it have?Alix has a usb port but I prefer
 miniPCI.

 Thank you

port 2 addr 2: high speed, power 300 mA, config 1, 54M.USB...(0x2573),
Ralink(0x148f), rev 0.01

rum0: flags=108843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT
metric 0 mtu 1500
ether 00:21:27:c0:86:92
inet6 fe80::221:27ff:fec0:8692%rum0 prefixlen 64 scopeid 0x1
inet 10.1.2.81 netmask 0xff00 broadcast 10.1.2.255
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
status: associated
ssid  channel 11 (2462 Mhz 11g) bssid 00:21:27:c0:86:92
authmode WPA2/802.11i privacy MIXED deftxkey 3 AES-CCM 2:128-bit
AES-CCM 3:128-bit txpower 50 scanvalid 60 bgscan bgscanintvl 300
bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 protmode OFF
dtimperiod 1

if needed more info. :)

matheus

 2010/5/25 Nenhum_de_Nos math...@eternamente.info

 On Mon, May 24, 2010 17:10, Piotr Komborski wrote:
  Hello,
 
  I'm going to set OpenBSD based AP on ALIX board.  I've red ral(4) and
  ath(4)
  manpages but mentioned mPCI card models are really hard to find on the
  market. I found only Ralink RT2800 based Sparklan WMIR-200N which is
 too
  expensive for me (60$).
  Can anybody recommend me 802.11g miniPCI card that is able to work in
 host
  AP mode?

 never tested on OpenBSD, but I have a ral usb nic that runs ok on
 freebsd
 (pfsense), if you have usb on this alix.


 http://www.tp-link.com/products/productDetails.asp?class=wlanpmodel=TL-WN321G

 matheus

 --
 We will call you cygnus,
 The God of balance you shall be

 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?

 http://en.wikipedia.org/wiki/Posting_style




 --
 Pozdrawiam
 --
 Piotr Komborski



-- 
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: Recommended 802.11g adapter

2010-05-24 Thread Nenhum_de_Nos
On Mon, May 24, 2010 17:10, Piotr Komborski wrote:
 Hello,

 I'm going to set OpenBSD based AP on ALIX board.  I've red ral(4) and
 ath(4)
 manpages but mentioned mPCI card models are really hard to find on the
 market. I found only Ralink RT2800 based Sparklan WMIR-200N which is too
 expensive for me (60$).
 Can anybody recommend me 802.11g miniPCI card that is able to work in host
 AP mode?

never tested on OpenBSD, but I have a ral usb nic that runs ok on freebsd
(pfsense), if you have usb on this alix.

http://www.tp-link.com/products/productDetails.asp?class=wlanpmodel=TL-WN321G

matheus

-- 
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: Brazil resellers of OpenBSD - Tempo Real?

2010-04-19 Thread Nenhum_de_Nos
On Mon, 19 Apr 2010 15:24:32 -0700 (MST)
Austin Hook aus...@computershop.ca wrote:

 Does anyone know if the bookstore Tempo Real still exists and if they have
 a physical mailing address?   Or does anyone know of a potential reseller
 of OpenBSD in Brazil?

it looks like is alive. http://www.novatemporeal.com.br/temporeal/contato.asp

unfortunately there is no physical address I could find on the site.

the devil store (http://www.devilstore.com.br/) deals FreeBSD discs, they may 
have interest in OpenBSD as well. their comercial mail is 
comerc...@freebsdbrasil.com.br.

HTH,

matheus

-- 
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: PER-C10L

2010-03-26 Thread Nenhum_de_Nos
On Fri, 26 Mar 2010 16:36:38 + (UTC)
Stuart Henderson s...@spacehopper.org wrote:

 On 2010-03-26, alf a...@sbrowell.net wrote:
  That would take some minor case modification and a female RJ-45, any
 
 as long as you have a way to connect the port to the minipci card,
 and are happy with the modifying/soldering/whatever else might
 be necessary, there shouldn't really be a problem with the nic
 itself working.
 
 note that connectors on minipci cards often have a rather
 fine pitch.
 
  suggestions on compatible/reliable USB adapters?

I used two kind so far. one based on admtek chip that used aue(4) module and 
another that used realtek chip and url module. the first attached ok, but is 
useless (just sees packets, can't send a bit), the second works and has altq 
support. both can't push more than 5Mbps on wire (tested the aue based in 
FreeBSD 8).

I'm about to test a belkin gigabit that uses axe module.

matheus

-- 
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: axe(4) USB Adapter detected, but not working.

2010-03-15 Thread Nenhum_de_Nos
On Mon, March 15, 2010 18:33, Alexandru Diaconu wrote:
 Hi,

 The adapter in question is a LevelOne USB-0201 which, AFAIK, uses the ASIX
 AX88178 chipset. When I plug in the UTP cable, its status doesn't change,
 it remains set to no carrier as if nothing happened (yes, the other end
 of the cable is plugged in.)

 I get the same behavior on OpenBSD 4.6, OpenBSD 4.6-STABLE and on the
 latest snapshot. However, it worked without a hitch on FreeBSD 8 (using
 the 'ue' pseudo-device -- there were no man pages for 'ue'.)

freebsd related. the ue loads also axe. can read axe man page.

matheus

 Currently running the latest snapshot on an ASUS EEEBOX B202.

 $ uname -a
 OpenBSD localhost 4.7 GENERIC.MP#447 i386

 ifconfig output: http://pastie.org/870996
 dmesg output: http://pastie.org/870992

 Any ideas?




-- 
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: USB Ethernet

2010-01-02 Thread Nenhum_de_Nos
On Sat, January 2, 2010 23:03, Vijay Sankar wrote:
 I am trying to use a USB 2.0 Gigabit Ethernet adapter

 axe0 at uhub1 port 1 configuration 1 interface 0 ASIX Electronics
 AX88178 rev 2.00/0.01 addr 2
 axe0: AX88178, address 00:80:c8:ff:ff:a1
 ukphy0 at axe0 phy 0: Generic IEEE 802.3u media interface, rev. 9: OUI
 0x1e525e, model 0x0014

 $ ifconfig axe0
 axe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  lladdr 00:80:c8:ff:ff:a1
  priority: 0
  media: Ethernet autoselect (none loopback)
  status: no carrier
 inet6 fe80::280:c8ff:feff:ffa1%axe0 prefixlen 64 scopeid 0x5
 inet 10.0.0.212 netmask 0xff00 broadcast 10.0.0.255

 I can see packets on the interface if I use tcpdump but the status shows
 No Carrier. However the lights on the adapter are on and I can do a
 tcpdump and see packets arriving at the interface.

 I tried this on different systems -- a netbook, a laptop, and two
 desktops and in each case got the same result (4.5 -stable, 4.6 release,
 and 4.6 -stable, all i386 and a 4.5 -stable amd64). I also tried
 changing the media and mediaopt settings to 100BaseTX, 10BaseT, and
 1000BaseT in addition to the default autoselect.

 Will this device work on OpenBSD or if this was a dumb purchase on my
 part can someone suggest a USB ethernet adapter that will work properly?

I never used this axe based, but can say some about fast ethernet
adapters. I have admtek (aue based) and realtek (url based) ethernet
nic's, and the realtek was the one to solve my problem. the aue based was
only able to see what was happening on the wire, but never got to send a
packet. the url based did the job ok, had altq support (what I was looking
for) but not good throughput though ( 5Mbps for a 100Mbps nic ... I guess
it's usb 1.1 based despite all docs says it's 2.0).

My next step someday was to try gigabit nic's, as this one you're talking
:) so I guess I not so in a hurry now :)

matheus

-- 
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: LiveUSB based on 4.6 project at sourceforge

2009-11-13 Thread Nenhum_de_Nos
On Sat, November 14, 2009 01:47, Girish Venkatachalam wrote:
 Hello misc,

 Kindly spare a moment for this site:

 http://liveusb-openbsd.sourceforge.net

 Hope you like it.

 You know that OpenBSD already comes with cwm and several other
 networking daemons.

 This USB stick is a great way to carry OpenBSD 4.6 with you wherever you
 go.

 Enjoy!

 -Girish

hey ... there is even a version with mplayer !!!

now I don't have to use ubuntu anymore in the work notebook :)

really thanks, the hell of a great thing :)

matheus

-- 
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: Soekris Net 5501 RT2860/2850 hangs in 4.6-beta

2009-07-07 Thread Nenhum_de_Nos
On Tue, July 7, 2009 03:43, Ian Lindsay wrote:
 To clarify, can you give an exact procedure to reproduce?
 (E.g. an ftp transfer of a 100MB file from the internet to
 another box, routed through onboard ethernet on the Soekris)

 I've been getting seemingly random occasional hangs with ral
 in HostAP mode that I haven't been able to correlate with
 any kind of traffic.

as is hostap the subject, here it goes: I've always seen people say to do
OpenBSD based AP, but I always get to see hostap on OpenBSD just makes
inter-AP stuff. can I make a wpa/wpa2 based ap using OpenBSD ? I have an
atheros card that is well suported.

based on:
http://www.openbsd.org/cgi-bin/man.cgi?query=hostapdapropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html

thanks,

matheus

-- 
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



pf and hfsc

2009-05-16 Thread Nenhum_de_Nos
hail,

I use OpenBSD 4.5 as a firewall at home. my main issue is limit p2p and
fah client upload. this is been well done. but I always why not always the
rules did what I thought they should do (I know I may write wrong rules).

here are the altq rules:

# pfctl -sq
queue root_tun0 on tun0 bandwidth 300Kb priority 0 {out_ack, out_dns,
out_ssh, out_jogos, out_web, out_smtp, out_bolo, out_p2pFah}
queue  out_ack on tun0 bandwidth 30Kb priority 8 hfsc( realtime 60Kb )
queue  out_dns on tun0 bandwidth 15Kb priority 7 hfsc( realtime 15Kb )
queue  out_ssh on tun0 bandwidth 30Kb priority 6 hfsc( realtime 30Kb )
queue  out_jogos on tun0 bandwidth 45Kb priority 5 hfsc( realtime 45Kb )
queue  out_web on tun0 bandwidth 30Kb priority 4 hfsc( realtime 30Kb )
queue  out_smtp on tun0 bandwidth 15Kb priority 3 hfsc( realtime 45Kb )
queue  out_bolo on tun0 bandwidth 15Kb priority 2 hfsc( default )
queue  out_p2pFah on tun0 bandwidth 15Kb hfsc( upperlimit 160Kb )
{out_fah, out_p2p}
queue   out_fah on tun0 bandwidth 12Kb priority 7
queue   out_p2p on tun0 bandwidth 3Kb priority 2

and here is pftop:

pfTop: Up Queue 1-11/11, View: queue, Cache: 1 
19:50:21

QUEUE   BW SCH  PR  PKTS BYTES DROP_P DROP_B QLEN BORR SUSP
P/S  B/S
root_tun0 300K hfsc  0 0 0  0  00
00
 out_ack 3 hfsc  8 0 0  0  00
00
 out_dns 15000 hfsc  7 2   134  0  00
00
 out_ssh 3 hfsc  6 0 0  0  00
00
 out_jogos   45000 hfsc  5 6   402  0  00
00
 out_web 3 hfsc  4 0 0  0  00
00
 out_smtp15000 hfsc  3  2525 3634K  0  01
11  16K
 out_bolo15000 hfsc  2 0 0  0  00
00
 out_p2pFah  15000 hfsc0 0  0  00
00
  out_fah12000 hfsc  7 0 0  0  00
00
  out_p2p 3000 hfsc  2  6495 4771K 63  43271   25
26  19K

the p2pFah is always up to the limit, and working ok.

but now, smtp is sending some huge mail and I think it should get more
from upload bandwidth that it is now. but it never does it :(
I feel is like it is fighting to p2p and losing, as p2p has so much
connections and smtp has one only, or some that aren't close to p2p queue.

is this what was expected from pf+altq and I'm just worried over nothing ?

what made me think this way is the fact that I give more priority to fah
uploads (twice a day) than p2p (all day long). so when fah is uploading,
p2p goes down to 3KBps, whats defined for it.

just trying now ssh, higher priority, got me the same result:

pfTop: Up Queue 1-11/11, View: queue, Cache: 1 
20:00:58

QUEUE   BW SCH  PR  PKTS BYTES DROP_P DROP_B QLEN BORR SUSP
P/S  B/S
root_tun0 300K hfsc  0 0 0  0  00
00
 out_ack 3 hfsc  810   760  0  00
00
 out_dns 15000 hfsc  710   779  0  00
00
 out_ssh 3 hfsc  6  1207 1652K  0  00
10  15K
 out_jogos   45000 hfsc  5 8   536  0  00
00
 out_web 3 hfsc  422  5984  0  00
00
 out_smtp15000 hfsc  3  4901 7043K  0  00
00
 out_bolo15000 hfsc  2 0 0  0  00
00
 out_p2pFah  15000 hfsc0 0  0  00
00
  out_fah12000 hfsc  7 0 0  0  00
00
  out_p2p 3000 hfsc  2 23312   16M608 397702   34
24  20K

so, am I doing it wrong, or is it supposed to be this way ? I once read
that PRIQ would let lower priorities starve to death (I've seen this once)
and hfsc would not. but it is way too permissive like this ?

thanks,

matheus

ps: demesg, as required :)

$ dmesg
OpenBSD 4.5-stable (GENERIC) #0: Sat May  2 23:53:46 BRT 2009
r...@phoenix.apartnet:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Transmeta(tm) Crusoe(tm) Processor TM5700 (GenuineTMx86 586-class)
799 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,CX8,SEP,CMOV,SER,MMX
real mem  = 251146240 (239MB)
avail mem = 234528768 (223MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/10/04, BIOS32 rev. 0 @ 0xfa260,
SMBIOS rev. 2.3 @ 0xf0800 (32 entries)
bios0: vendor Phoenix Technologies, LTD version 786R1 v1.07 date 12/10/2004
bios0: Hewlett-Packard hp t5000 series
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP
acpi0: wakeup devices PCI0(S5) LAN0(S5) USB0(S4) USB1(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C3, C2
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc/0x9000 0xcc000/0xa000
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Transmeta LongRun Northbridge rev 0x04
Transmeta Mem1 rev 0x00 at pci0 dev 0 function 1 not configured
Transmeta Mem2 rev 0x00 at pci0 dev 0 

Re: redirecting UDP traffic?

2009-05-12 Thread Nenhum_de_Nos
On Tue, May 12, 2009 10:30, Coert Waagmeester wrote:
 Hello all,

 how can i port forward UDP traffic to a host?

 I have googled, FAQd, and tried this rule:

 rdr on any proto udp from any to $ext_ip port 1194 - vpnserver

try

rdr on $ext_if proto udp from any to any port 1194 - $vpnserver

matheus

-- 
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: bsd-airtools and Ralink

2009-05-10 Thread Nenhum_de_Nos
On Sun, May 10, 2009 16:09, Kaltashkin Eugene wrote:
 Vadim Zhukov wrote:
 On Sunday 10 May 2009 22:40:18 Kaltashkin Eugene wrote:

 Hi ppls.

 On my EEEPC 1000H i cannot use any program which use direct access to
 my Ralink 2860 :(
 i'm not see any devices in /dev named ral0, but many programs, for
 example: wmwlmon, wmnetload see my card correctly.
 How i can resolve this problem ?
 Maybe who know some params for mknod or another way ?


 Well, you should start from reading some Unix literature first...

 Network devices are not presented in filesystem because it creates too
 much overhead. If you want to do that you should definitely go to
 Hurd... What programs do you run that require such access? What do you
 want to do this way?

 for example dstumbler
 zhecka:/home/zhecka# /usr/local/sbin/dstumbler
 usage: /usr/local/sbin/dstumbler device [-d] [-osn] [-m int] [-g
 gps device] [-l logfile]
 zhecka:/home/zhecka# /usr/local/sbin/dstumbler /dev/ral0
 error: unable to ioctl device socket: Device not configured

 zhecka:/home/zhecka# /usr/local/sbin/dwepdump -w -s /dev/ral0 123

 * dwepdump v0.2 by h1kari h1k...@dachb0den.com *
 * Copyright (c) Dachb0den Labs 2002 [http://dachb0den.com] *

 starting pcap capture loop...
  device: /dev/ral0
 error: unable to open device for packet capture: /dev/ral0: Device not
 configured

 somebody generate wrong packets on my wifi channel and block access to
 my ap.
 i need dump some info from air packets for detect this intruder and
 block it by mac.

you should not use /dev/ral0. use just ral0 instead.

matheus

-- 
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style



Re: RES: Migration from IPTABLES to PF

2009-05-06 Thread Nenhum_de_Nos
On Wed, May 6, 2009 02:41, TomC!E! BodEC!r wrote:
 I think,that in case of pf is good start point this site
 http://home.nuug.no/~peter/pf/ and then FAQ parts

it always helps me to read https://calomel.org/ when in doubt. :)

(the new photo looks cool also =] )

matheus

 2009/5/5 William Chivers william.chiv...@newcastle.edu.au:
 Hello Ricardo,

 This is not a beginners' mailing list, people here expect questions to
 1. be very specific, and
 2. demonstrate that you have spent a lot of time trying to solve the
 problem
 yourself, reading the documentation etc.

 Start with http://www.openbsd.org/faq/pf/index.html
 If you still need help, there are several books on pf, for example The
 Book
 of PF (http://nostarch.com/pf.htm).

 Look back through the misc mailing list to see how specific questions
 about
 pf are. When you have a specific question, the best help available is
 right
 here.

 Bill

 -
 William J. Chivers
 Lecturer in Information Technology
 School of DCIT
 Faculty of Science and Information Technology
 University of Newcastle---Ourimbah Campus
 PO Box 127, Ourimbah, NSW 2259
 Australia
 CRICOS Provider Number: 00109J

 phone: B  +61 2 4349 4473
 fax: B  B  +61 2 4349 4565
 email: B william.chiv...@newcastle.edu.au
 -
 Ricardo Augusto de Souza ricardo.so...@cmtsp.com.br 05/06/09 5:08
 AM

 Thanks for this 'polite' reply.
 As I Said i spent some years away from Unix/Linux world,
 I worked with business intelligence this years.
 Now i AM back to network administration and B i got this Project to B
 do.
 I used openbsd before version 3. I do like B it.

 This is my current senario.
 - B 2 firewalls with 2 carp+pfsync that B Will handle 2 internet
 connections, B 1
 mpls connection, 1 lan to handle around 60 bus company that transport 2
 million users per Day, each user has your own myfair card. Each bus has
 a
 system that store this data in a file. This files Will be imported to
 Oracle
 later. After this import, there are a lot of specific applications that
 uses
 this informations.
 - behind this 2 firewalls B  we have around 30 servers: ( most Windows)
 iis,
 file transfer servers,ws, and some other servers like some red hat
 enterprise
 running Oracle 10g.
 - at the beginning the firewalls Will do Nat B + filter B + gateway +
 mpd5+squid
 ( the fucking operators Who need Access to the Windows servers were
 surfing
 on
 web from there. )
 - our applications has around 5,000 users per Day, but we have a lot of
 web
 services and some etl process ( i dont have statistics about volume yet)

 So that B is it.


 -Mensagem original-
 De: William Chivers [mailto:william.chiv...@newcastle.edu.au]
 Enviada em: segunda-feira, 4 de maio de 2009 22:46
 Para: Ricardo Augusto de Souza; misc@openbsd.org
 Assunto: Re: Migration from IPTABLES to PF

 This is a great advertisement for OpenBSD, PF, and keeping things simple
 in
 general, mind if I use it Ricardo?

 As for your original question, I wouldn't even try to convert your
 iptables,
 especially using some magic tool to do it. Decide what you want your
 firewall
 to do and start from scratch with PF. That way you will know it is
 working
 and
 you will be able to maintain it reliably.

 Cheers, Bill


 -
 William J. Chivers
 Lecturer in Information Technology
 School of DCIT
 Faculty of Science and Information Technology
 University of Newcastle---Ourimbah Campus
 PO Box 127, Ourimbah, NSW 2259
 Australia
 CRICOS Provider Number: 00109J

 phone: B  +61 2 4349 4473
 fax: B  B  +61 2 4349 4565
 email: B william.chiv...@newcastle.edu.au
 -
 Ricardo Augusto de Souza ricardo.so...@cmtsp.com.br 05/05/09 3:17
 AM

 Hi,

 I have a firewall running on a Fedora Core 4 (STentz) with iptables. The
 Guy
 Who installed it left our company some months ago.
 I spent some years far from iptables, now i have to migrate this
 firewall
 to
 PF.
 THere are some 'special' features on this firewall, B i need some
 documentation
 or help about implementing this features at new firewall ( PF ).

 This is the iptables scripts:

 #!/bin/bash
 FW=/sbin/iptables
 LOAD=/sbin/modprobe
 #__

 # Carregando Modulo do IPTABLES
 . /etc/rc.d/init.d/prodata/fw_modulos

 # Carregando Variaveis
 . /etc/rc.d/init.d/prodata/fw_variaveis

 if [ $KERNEL = sim ]
 B  then . /etc/rc.d/init.d/prodata/fw_kernel
 fi


 #___
 # Cria politicas de LOGs

 #___

 if [ $LOGS = sim ]
 B  then . /etc/rc.d/init.d/prodata/fw_politicas
 fi

 Normal rules here
  EOF



 /etc/rc.d/init.d/prodata/fw_modulos
 #$LOAD nfnetlink

 $LOAD ip_conntrack
 $LOAD 

Re: Transparent firewall (bridge) with DMZ + LAN

2009-04-26 Thread Nenhum_de_Nos
On Sun, April 26, 2009 08:01, FRLinux wrote:
 On Sun, Apr 26, 2009 at 1:39 AM, Daniel Ouellet dan...@presscom.net
 wrote:
 But he is suggesting to avoid it at any cost when possible.

 Sorry but I do not understand why?

 Cheers,
 Steph

me too. really curious about his.

matheus

-- 
We will call you cygnus,
The God of balance you shall be



Re: Low power OpenBSD machine

2009-04-16 Thread Nenhum_de_Nos
On Wed, April 15, 2009 23:24, Marco Peereboom wrote:
 to quote from my own email:
 OpenBSD 4.4-beta (GENERIC) #976: Fri Jul 11 16:41:38 MDT 2008
 pvalc...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Transmeta(tm) Crusoe(tm) Processor TM5800 (GenuineTMx86 586-class)
 732 MHz
 cpu0: FPU,V86,DE,PSE,TSC,MSR,CX8,SEP,CMOV,SER,MMX
 real mem  = 251146240 (239MB)
 avail mem = 234598400 (223MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 10/10/03, BIOS32 rev. 0 @ 0xfa2b0,
 SMBIOS rev. 2.3 @ 0xf0800 (31 entries)
 bios0: vendor Phoenix Technologies, LTD version 786W2 v1.07 date
 10/10/2003
 bios0: Hewlett-Packard hp t5000 series

 The flash is just a disk so nothing special at all to install openbsd on
 it.  I do use a usb flash for more storage.

I have a t5xxx also and want to do the same, but if I use usb flash (tried
and worked fine), how to limit at max disk writes ? so the flash can live
longer ...

thanks,

matheus


-- 
We will call you cygnus,
The God of balance you shall be



Re: Low power OpenBSD machine

2009-04-16 Thread Nenhum_de_Nos
On Thu, April 16, 2009 12:52, Rodolfo Gouveia wrote:
 On Thu, Apr 16, 2009 at 12:10:19PM -0300, Nenhum_de_Nos wrote:
 I have a t5xxx also and want to do the same, but if I use usb flash
 (tried
 and worked fine), how to limit at max disk writes ? so the flash can
 live
 longer ...

 From section 14.17.2 of the FAQ:

 Write fatigue: Much has been written about the finite number of times an
 individual flash cell can be rewritten before failure. Practically
 speaking,
 however, there are many ways a flash device can fail, write fatigue is
 just
 one of them. Modern flash devices will verify writes, and in the event of
 failure, will automatically remap the failed sectors with one of the many
 spare sectors. Most users with most flash devices will not have to worry
 about write fatigue. You would probably experience more down time due to
 failure of clever tricks done to avoid writing to the flash drive than
 you will by just using the drives as read-write media.

that I was known, I just want to be sure it won't die out of a sudden.
thanks anyway.

and marco, yep I know they're cheap, my issue is not knowing the rate its
write count is going so not be get by surprise.

bob, sorry, I can't help you there.

thanks,

matheus

-- 
We will call you cygnus,
The God of balance you shall be



Re: aue0 can't send packets

2009-03-03 Thread Nenhum_de_Nos
On Tue, March 3, 2009 18:30, Fred Crowson wrote:
 On 3/3/09, Nenhum_de_Nos math...@eternamente.info wrote:

 On Mon, March 2, 2009 21:04, Fred Crowson wrote:
 What's the output of: ifconfig -a ?

 # ifconfig -a
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33204
 groups: lo
 inet 127.0.0.1 netmask 0xff00
 inet6 ::1 prefixlen 128
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
 vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 lladdr 00:11:85:e3:2a:17
 groups: egress
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 inet6 fe80::211:85ff:fee3:2a17%vr0 prefixlen 64 scopeid 0x1
 inet 10.1.1.90 netmask 0xff00 broadcast 10.1.1.255
 enc0: flags=0 mtu 1536
 aue0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 lladdr 00:60:6e:00:18:c0
 media: Ethernet autoselect (none)
 status: no carrier
 ^^
 If the status is no carrier then that usually implies a cabling issue.

 Not sure if this is your problem.

 HTH

 Fred

thanks for asnwering, but it is not. this ifconfig was taken when I put
the cable on the other nic to access and send you what you wanted :)
I'd be really glad if that was my problem :)

thanks,

matheus

-- 
We will call you cygnus,
The God of balance you shall be



Re: aue0 can't send packets

2009-03-02 Thread Nenhum_de_Nos
On Mon, March 2, 2009 01:43, Nenhum_de_Nos wrote:
 hail,

 I have an usb th ethernet and can't use it on OpenBSD 4.4. It detects ok,
 ifconfigs shows but can't ever get an ip from dhcp server, if I force ip
 with ifconfig I can't use either.

 the device is:

 aue0 at uhub2 port 1 ADMtek USB To LAN Converter rev 1.10/2.01 addr 2
 aue0: address 00:60:6e:00:18:c0
 ukphy1 at aue0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
 0x000749, model 0x0001

 and dmesg:

 # dmesg
 OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Transmeta(tm) Crusoe(tm) Processor TM5700 (GenuineTMx86 586-class)
 799 MHz
 cpu0: FPU,V86,DE,PSE,TSC,MSR,CX8,SEP,CMOV,SER,MMX
 real mem  = 251146240 (239MB)
 avail mem = 234381312 (223MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 12/10/04, BIOS32 rev. 0 @ 0xfa260,
 SMBIOS rev. 2.3 @ 0xf0800 (32 entries)
 bios0: vendor Phoenix Technologies, LTD version 786R1 v1.07 date
 12/10/2004
 bios0: Hewlett-Packard hp t5000 series
 acpi0 at bios0: rev 0
 acpi0: tables DSDT FACP
 acpi0: wakeup devices PCI0(S5) LAN0(S5) USB0(S4) USB1(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpicpu0 at acpi0: C3, C2
 acpibtn0 at acpi0: PWRB
 bios0: ROM list: 0xc/0x9000 0xcc000/0xa000
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Transmeta LongRun Northbridge rev 0x04
 Transmeta Mem1 rev 0x00 at pci0 dev 0 function 1 not configured
 Transmeta Mem2 rev 0x00 at pci0 dev 0 function 2 not configured
 vendor Transmeta, unknown product 0x0399 (class memory subclass RAM, rev
 0x00) at pci0 dev 0 function 3 not configured
 uhci0 at pci0 dev 9 function 0 VIA VT83C572 USB rev 0x61: irq 15
 uhci1 at pci0 dev 9 function 1 VIA VT83C572 USB rev 0x61: irq 5
 ehci0 at pci0 dev 9 function 2 VIA VT6202 USB rev 0x63: irq 10
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1
 vga1 at pci0 dev 13 function 0 ATI Radeon VE QY rev 0x00
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 drm at vga1 unsupported
 pcib0 at pci0 dev 17 function 0 VIA VT8231 ISA rev 0x10
 pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA100,
 channel 0 configured to compatibility, channel 1 configured to
 compatibility
 pciide0: channel 0 disabled (no drives)
 pciide0: channel 1 ignored (disabled)
 viaenv0 at pci0 dev 17 function 4 VIA VT8231 PMG rev 0x10: failed to map
 PM I/O space
 vr0 at pci0 dev 18 function 0 VIA RhineII-2 rev 0x51: irq 15, address
 00:11:85:e3:2a:17
 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 10: OUI
 0x004063, model 0x0032
 usb1 at uhci0: USB revision 1.0
 uhub1 at usb1 VIA UHCI root hub rev 1.00/1.00 addr 1
 usb2 at uhci1: USB revision 1.0
 uhub2 at usb2 VIA UHCI root hub rev 1.00/1.00 addr 1
 isa0 at pcib0
 isadma0 at isa0
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pcppi0 at isa0 port 0x61
 midi0 at pcppi0: PC speaker
 spkr0 at pcppi0
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 biomask fdfd netmask fdfd ttymask 
 umass0 at uhub0 port 2 configuration 1 interface 0 Genesys Logic USB TO
 IDE rev 2.00/0.02 addr 2
 umass0: using SCSI over Bulk-Only
 scsibus0 at umass0: 2 targets, initiator 0
 sd0 at scsibus0 targ 1 lun 0: SAMSUNG, SV2044D, 0811 SCSI0 0/direct
 fixed
 sd0: 19464MB, 2481 cyl, 255 head, 63 sec, 512 bytes/sec, 39862368 sec
 total
 aue0 at uhub2 port 1 ADMtek USB To LAN Converter rev 1.10/2.01 addr 2
 aue0: address 00:60:6e:00:18:c0
 ukphy1 at aue0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
 0x000749, model 0x0001
 softraid0 at root
 root on sd0a swap on sd0b dump on sd0b
 #

 in earlier installations I could get it to drop a message in logs about TX
 error, but I couldn't reproduce so far.

 if anyone knows how to make it run ok,

 thanks,

 matheus

 --
 We will call you cygnus,
 The God of balance you shall be

if anyone can give me any hint to what I could do, I'm no developer, but I
could try if there is no other way. would make a great deal for me, as I
will make OpenBSD router on existing hardware (no need to buy another).

thanks again,

matheus

-- 
We will call you cygnus,
The God of balance you shall be



Re: aue0 can't send packets

2009-03-02 Thread Nenhum_de_Nos
On Mon, March 2, 2009 21:04, Fred Crowson wrote:
 What's the output of: ifconfig -a ?

# ifconfig -a
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33204
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:11:85:e3:2a:17
groups: egress
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::211:85ff:fee3:2a17%vr0 prefixlen 64 scopeid 0x1
inet 10.1.1.90 netmask 0xff00 broadcast 10.1.1.255
enc0: flags=0 mtu 1536
aue0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:60:6e:00:18:c0
media: Ethernet autoselect (none)
status: no carrier
inet6 fe80::260:6eff:fe00:18c0%aue0 prefixlen 64 scopeid 0x4


 What's the output of: route show -inet ?

if I use the vr0 if, all is ok, I have keyboard access to the box, so when
on aue0 I have no ip nor routing anything :)

 What happens when you do: /sbin/dhclient aue0

it can't send packets over the wire. just receive (as tcpdump gets
something), so it tries till giving up.

dhclient aue0
DHCPDISCOVER on aue0 to 255.255.255.255 port 67 interval 1
DHCPDISCOVER on aue0 to 255.255.255.255 port 67 interval 2
DHCPDISCOVER on aue0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on aue0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on aue0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on aue0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on aue0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on aue0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

if I use vr0 that is ok, I have this:

# dhclient vr0
DHCPREQUEST on vr0 to 255.255.255.255 port 67
DHCPACK from 10.1.1.10
bound to 10.1.1.90 -- renewal in 43200 seconds.
#

I'm asking for help in here cause I have tried this same adapter in
FreeBSD and also get this error, so I exclude here the hardware. Just
FreeBSD 8-current with new drivers make it run ok. is the same tx error.

everything else is ok.

thanks,

matheus

 A bit more information would be helpful.
 Fred

 On 3/2/09, Nenhum_de_Nos math...@eternamente.info wrote:
 On Mon, March 2, 2009 01:43, Nenhum_de_Nos wrote:
 hail,

 I have an usb th ethernet and can't use it on OpenBSD 4.4. It detects
 ok,
 ifconfigs shows but can't ever get an ip from dhcp server, if I force
 ip
 with ifconfig I can't use either.

 the device is:

 aue0 at uhub2 port 1 ADMtek USB To LAN Converter rev 1.10/2.01 addr 2
 aue0: address 00:60:6e:00:18:c0
 ukphy1 at aue0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
 0x000749, model 0x0001

 and dmesg:

 # dmesg
 OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Transmeta(tm) Crusoe(tm) Processor TM5700 (GenuineTMx86
 586-class)
 799 MHz
 cpu0: FPU,V86,DE,PSE,TSC,MSR,CX8,SEP,CMOV,SER,MMX
 real mem  = 251146240 (239MB)
 avail mem = 234381312 (223MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 12/10/04, BIOS32 rev. 0 @
 0xfa260,
 SMBIOS rev. 2.3 @ 0xf0800 (32 entries)
 bios0: vendor Phoenix Technologies, LTD version 786R1 v1.07 date
 12/10/2004
 bios0: Hewlett-Packard hp t5000 series
 acpi0 at bios0: rev 0
 acpi0: tables DSDT FACP
 acpi0: wakeup devices PCI0(S5) LAN0(S5) USB0(S4) USB1(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpicpu0 at acpi0: C3, C2
 acpibtn0 at acpi0: PWRB
 bios0: ROM list: 0xc/0x9000 0xcc000/0xa000
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Transmeta LongRun Northbridge rev 0x04
 Transmeta Mem1 rev 0x00 at pci0 dev 0 function 1 not configured
 Transmeta Mem2 rev 0x00 at pci0 dev 0 function 2 not configured
 vendor Transmeta, unknown product 0x0399 (class memory subclass RAM,
 rev
 0x00) at pci0 dev 0 function 3 not configured
 uhci0 at pci0 dev 9 function 0 VIA VT83C572 USB rev 0x61: irq 15
 uhci1 at pci0 dev 9 function 1 VIA VT83C572 USB rev 0x61: irq 5
 ehci0 at pci0 dev 9 function 2 VIA VT6202 USB rev 0x63: irq 10
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1
 vga1 at pci0 dev 13 function 0 ATI Radeon VE QY rev 0x00
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 drm at vga1 unsupported
 pcib0 at pci0 dev 17 function 0 VIA VT8231 ISA rev 0x10
 pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA100,
 channel 0 configured to compatibility, channel 1 configured to
 compatibility
 pciide0: channel 0 disabled (no drives)
 pciide0: channel 1 ignored (disabled)
 viaenv0 at pci0 dev 17 function 4 VIA VT8231 PMG rev 0x10: failed to
 map
 PM I/O space
 vr0 at pci0 dev 18 function 0 VIA RhineII-2 rev 0x51: irq 15, address
 00:11:85:e3:2a:17

aue0 can't send packets

2009-03-01 Thread Nenhum_de_Nos
hail,

I have an usb th ethernet and can't use it on OpenBSD 4.4. It detects ok,
ifconfigs shows but can't ever get an ip from dhcp server, if I force ip
with ifconfig I can't use either.

the device is:

aue0 at uhub2 port 1 ADMtek USB To LAN Converter rev 1.10/2.01 addr 2
aue0: address 00:60:6e:00:18:c0
ukphy1 at aue0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
0x000749, model 0x0001

and dmesg:

# dmesg
OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Transmeta(tm) Crusoe(tm) Processor TM5700 (GenuineTMx86 586-class)
799 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,CX8,SEP,CMOV,SER,MMX
real mem  = 251146240 (239MB)
avail mem = 234381312 (223MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/10/04, BIOS32 rev. 0 @ 0xfa260,
SMBIOS rev. 2.3 @ 0xf0800 (32 entries)
bios0: vendor Phoenix Technologies, LTD version 786R1 v1.07 date 12/10/2004
bios0: Hewlett-Packard hp t5000 series
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP
acpi0: wakeup devices PCI0(S5) LAN0(S5) USB0(S4) USB1(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C3, C2
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc/0x9000 0xcc000/0xa000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Transmeta LongRun Northbridge rev 0x04
Transmeta Mem1 rev 0x00 at pci0 dev 0 function 1 not configured
Transmeta Mem2 rev 0x00 at pci0 dev 0 function 2 not configured
vendor Transmeta, unknown product 0x0399 (class memory subclass RAM, rev
0x00) at pci0 dev 0 function 3 not configured
uhci0 at pci0 dev 9 function 0 VIA VT83C572 USB rev 0x61: irq 15
uhci1 at pci0 dev 9 function 1 VIA VT83C572 USB rev 0x61: irq 5
ehci0 at pci0 dev 9 function 2 VIA VT6202 USB rev 0x63: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1
vga1 at pci0 dev 13 function 0 ATI Radeon VE QY rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
drm at vga1 unsupported
pcib0 at pci0 dev 17 function 0 VIA VT8231 ISA rev 0x10
pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA100,
channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 ignored (disabled)
viaenv0 at pci0 dev 17 function 4 VIA VT8231 PMG rev 0x10: failed to map
PM I/O space
vr0 at pci0 dev 18 function 0 VIA RhineII-2 rev 0x51: irq 15, address
00:11:85:e3:2a:17
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 10: OUI
0x004063, model 0x0032
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 VIA UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 VIA UHCI root hub rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask fdfd netmask fdfd ttymask 
umass0 at uhub0 port 2 configuration 1 interface 0 Genesys Logic USB TO
IDE rev 2.00/0.02 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: SAMSUNG, SV2044D, 0811 SCSI0 0/direct fixed
sd0: 19464MB, 2481 cyl, 255 head, 63 sec, 512 bytes/sec, 39862368 sec total
aue0 at uhub2 port 1 ADMtek USB To LAN Converter rev 1.10/2.01 addr 2
aue0: address 00:60:6e:00:18:c0
ukphy1 at aue0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
0x000749, model 0x0001
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
#

in earlier installations I could get it to drop a message in logs about TX
error, but I couldn't reproduce so far.

if anyone knows how to make it run ok,

thanks,

matheus

-- 
We will call you cygnus,
The God of balance you shall be



Re: user-friendliness and netbsd

2009-02-23 Thread Nenhum_de_Nos
On Mon, February 23, 2009 17:02, Lars NoodC)n wrote:
 Dave Wilson wrote:
 ... I find OpenBSD remarkably user-friendly. Almost everything I want
 is already in base, most things are set up with intelligent and safe
 defaults...

 +1

 Also, there is *really* good documentation.  Concise at times, but not
 deficient.

 -Lars

this was good part of what made me move from linux. *BSD have one
distro, not that amount. you can make OpenBSD (FreeBSD as well) what you
need just reading the online docs at its homepage. the rc.conf way of
configuring thins also makes things cleaner. rc.conf is great
user-friendly point :)

matheus


-- 
We will call you cygnus,
The God of balance you shall be



usb lan adapter - ADMtek USB To LAN Converter

2009-02-09 Thread Nenhum_de_Nos
hi,

does anyone knows any of this adapter ?

aue0 is created ok, but I can't ping at all.

# cat hostname.aue0
inet 10.1.2.30 255.255.255.0 NONE

and tcpdump gets something, but can't punt any info on the wire. (was what
I could figure out)

if anyone can help,

TIA

matheus

# dmesg
OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Transmeta(tm) Crusoe(tm) Processor TM5700 (GenuineTMx86 586-class)
799 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,CX8,SEP,CMOV,SER,MMX
real mem  = 116924416 (111MB)
avail mem = 104345600 (99MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/10/04, BIOS32 rev. 0 @ 0xfa260,
SMBIOS rev. 2.3 @ 0xf0800 (32 entries)
bios0: vendor Phoenix Technologies, LTD version 786R1 v1.07 date 12/10/2004
bios0: Hewlett-Packard hp t5000 series
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP
acpi0: wakeup devices PCI0(S5) LAN0(S5) USB0(S4) USB1(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C3, C2
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc/0x9000 0xcc000/0x4000 0xd/0xa000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Transmeta LongRun Northbridge rev 0x04
Transmeta Mem1 rev 0x00 at pci0 dev 0 function 1 not configured
Transmeta Mem2 rev 0x00 at pci0 dev 0 function 2 not configured
vendor Transmeta, unknown product 0x0399 (class memory subclass RAM, rev
0x00) at pci0 dev 0 function 3 not configured
uhci0 at pci0 dev 9 function 0 VIA VT83C572 USB rev 0x61: irq 11
uhci1 at pci0 dev 9 function 1 VIA VT83C572 USB rev 0x61: irq 15
ehci0 at pci0 dev 9 function 2 VIA VT6202 USB rev 0x63: irq 5
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1
pciide0 at pci0 dev 11 function 0 CMD Technology SiI3114 SATA rev 0x02: DMA
pciide0: using irq 15 for native-PCI interrupt
pciide0: port 0: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: SAMSUNG SV2044D
wd0: 16-sector PIO, LBA, 19464MB, 39862368 sectors
wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 4
vga1 at pci0 dev 13 function 0 ATI Radeon VE QY rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
drm at vga1 unsupported
pcib0 at pci0 dev 17 function 0 VIA VT8231 ISA rev 0x10
pciide1 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA100,
channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide1: channel 0 disabled (no drives)
pciide1: channel 1 ignored (disabled)
viaenv0 at pci0 dev 17 function 4 VIA VT8231 PMG rev 0x10: failed to map
PM I/O space
auvia0 at pci0 dev 17 function 5 VIA VT82C686 AC97 rev 0x40: irq 5
ac97: codec id 0x56494161 (VIA Technologies VT1612A)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
audio0 at auvia0
vr0 at pci0 dev 18 function 0 VIA RhineII-2 rev 0x51: irq 11, address
00:13:21:ee:26:00
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 10: OUI
0x004063, model 0x0032
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 VIA UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 VIA UHCI root hub rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask fdfd netmask fdfd ttymask 
aue0 at uhub2 port 2 ADMtek USB To LAN Converter rev 1.10/2.01 addr 2
aue0: address 00:60:6e:00:18:c0
ukphy1 at aue0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
0x000749, model 0x0001
uhidev0 at uhub1 port 1 configuration 1 interface 0 GM-TEK USB Composite
Device rev 1.01/0.01 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub1 port 1 configuration 1 interface 1 GM-TEK USB Composite
Device rev 1.01/0.01 addr 2
uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b


-- 
We will call you cygnus,
The God of balance you shall be



Re: OT: Hard Disk Problems (was: Re: Dealing with Seagate's problematic 7200.11 firmware.)

2009-01-26 Thread Nenhum_de_Nos
On Sun, January 25, 2009 16:01, Toni Mueller wrote:
 Hi,

 On Fri, 23.01.2009 at 21:28:34 +, Dieter
 open...@sopwith.solgatos.com wrote:
 Recovering from Seagate's problematic 7200.11 firmware.


 first off, several other product lines are affected, too. In
 particular, the popular ES and ES.2 server grade disks are also
 affected, to the best of my knowledge. Seagate only admits to problems
 with ES.2 drives, not ES drives, though.

where you read that from ?

I have a couple of 750GB ES.2 and now I'm worried !

matheus

-- 
We will call you cygnus,
The God of balance you shall be



Re: OT: Hard Disk Problems (was: Re: Dealing with Seagate's problematic 7200.11 firmware.)

2009-01-26 Thread Nenhum_de_Nos
On Mon, January 26, 2009 18:48, Stuart Henderson wrote:
 On 2009-01-26, Nenhum_de_Nos math...@eternamente.info wrote:
 On Sun, January 25, 2009 16:01, Toni Mueller wrote:
 Hi,

 On Fri, 23.01.2009 at 21:28:34 +, Dieter
 open...@sopwith.solgatos.com wrote:
 Recovering from Seagate's problematic 7200.11 firmware.


 first off, several other product lines are affected, too. In
 particular, the popular ES and ES.2 server grade disks are also
 affected, to the best of my knowledge. Seagate only admits to problems
 with ES.2 drives, not ES drives, though.

 where you read that from ?

 I have a couple of 750GB ES.2 and now I'm worried !

 http://seagate.custkb.com/seagate/crm/selfservice/search.jsp?DocId=207931NewLang=en

thanks, yet OT, but I also heard of new firmwares being worse than old
ones, from seagate first try to fix things. anyone already updated some
ES.2 and all went fine ?

thanks,

matheus

-- 
We will call you cygnus,
The God of balance you shall be



Re: Intel D945GCLF2

2009-01-02 Thread Nenhum_de_Nos
On Fri, January 2, 2009 17:40, Chris Cohen wrote:
 Has anyone installed openbsd on the Atom board D945GCLF2? If so could
 you post a dmesg and does it run stable?

 --
 Thanks
 Chris

has anyone seen any atom dual core with two lan ?

I'd like a pf router that would be low energy :)

Alix is openbsd friend right ? ( 2d3 in this case )
I did like alix but a mini itx with regular vga is better for me :)

thanks,

matheus


-- 
We will call you cygnus,
The God of balance you shall be



Re: OpenBSD 4.4 pre-orders

2008-09-05 Thread Nenhum_de_Nos
On Thu, September 4, 2008 4:59 pm, Theo de Raadt wrote:
 Pre-orders for OpenBSD 4.4 (CD, tshirt, poster) are up at

  http://www.openbsd.org/orders.html

 As well, the new song for the release is also being made available at
 the same time.  This can be found at

  http://www.openbsd.org/lyrics.html

 Enjoy the song, and think about ordering some of our things, since
 purchases help fund the project.  Thanks.

is there any way to buy using paypal ?

how can I find out shipping costs to Brazil ?

thanks,

matheus

-- 
We will call you cygnus,
The God of balance you shall be



Re: atheros - just curious, ot

2008-07-28 Thread Nenhum_de_Nos
On Mon, July 28, 2008 11:47, Eric Furman wrote:
 Who can we write to at atheros to tell them I will never
 ever purchase one of their products?

 On Mon, 28 Jul 2008 04:18:34 -0500, Jacob Yocom-Piatt
 [EMAIL PROTECTED] said:
 Reyk Floeter wrote:
  On Sun, Jul 27, 2008 at 09:28:10AM -0500, Marco Peereboom wrote:
 
  I threw my git saving throw so I was able to avoid looking at it.
 
 
 
  There is a version in the OpenWRT tree:
  https://dev.openwrt.org/cgi-bin/trac.fcgi/browser/trunk/package/ath9k/src/drivers/net/wireless/ath9k
 
  The following thread also carries some information:
  http://thread.gmane.org/gmane.linux.kernel.wireless.general/18019
 
  Actually, I'm confused.  It carries an ISC license with an Atheros
  copyright.  Luis Rodriguez (madwifi/ath5k) and Jouni Malinen (Linux
  Prism2 HostAP) are working for Atheros now.  The code seems to include
  open source HAL-code, there is no binary blob.
 
  The only missing thing is the documentation, but even the existing
  driver might help to port it to OpenBSD.  Actually, the ath9k stuff is
  very similar to ath5k which is indeed based on my ar5k driver (OpenBSD
  ath(4))... too bad that Atheros did not decide to use a copyright like
 
Copyright (c) 2008 Atheros Communications Inc.
Copyright (c) 2004-2007 Reyk Floeter [EMAIL PROTECTED]
 
  They neither apologized for all the trouble nor give me any credits
  for my work.  ath9k would not exist without my work on the OpenBSD
  ar5k driver, it was a door opener, the base of the ath5k port, and
  Atheros' way into the Linux kernel.  It was the reason why Luis
  Rodriguez got his new job.  It might help Atheros to gain market
  shares again, after they lost so many to more open companies like
  Ralink Tech.
 
 


 it is really reassuring to see that a company like atheros is doing the
 right things here:

 - not releasing proper documentation
 - then not giving credit for WORK DONE FOR FREE THAT THEY CAN REUSE AT
 THEIR LEISURE

 it's a good thing that companies like atheros are so mindful of the
 people that help expand their user base, especially at no expense to
 them.

 whoever makes these garbage decisions at atheros should have their
 employment terminated.

as I'm just a user, what you developers think about the above message
being forwarded to:

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

would it make it better to the developers ? worse or wouldn't make any diff ?

because I buy atheros as it works on every BSD I use just fine. and I tell
everybody to do the same.

thanks,

matheus
-- 
We will call you cygnus,
The God of balance you shall be



Re: Is NV supposed to be SLOW?

2008-05-04 Thread Nenhum_de_Nos
On Sun, May 4, 2008 at 9:52 AM, Marco Peereboom [EMAIL PROTECTED] wrote:
 It is in this thread:
  http://marc.info/?l=openbsd-miscm=120926655909874w=2

thanks for the link :)

well, the chat on the thread just fires bombs on nVidia, what is not new.
apart from some info from you about radeonhd, no info from ATi on Open
Source OS.

radeonhd has any 3D ?
is it possible to run 3D games on it, even if its on linux. my doubt
is about 3D driver on any opensource OS.

the thing is that I'm colecting info for my next video card buy.

thanks for all, :)

matheus

  On Sun, May 04, 2008 at 01:59:14AM -0300, Nenhum_de_Nos wrote:
   On Sat, May 3, 2008 at 8:35 PM, Marco Peereboom [EMAIL PROTECTED] wrote:
Just a few days ago I answered this question.  Simply look for it.
  
if you could tell me the email subject. I've looked for every mail
   from [EMAIL PROTECTED] in the misc (from gmail's search options) and
   found none nvidia reletad (apart from this). may be me being
   unfortunate.
  
   no luck also from
   
 http://www.google.com/custom?q=nvidiahl=enclient=pub-1916336824448304cof=FORID:1%3BGL:1%3BLBGC:336699%3BLC:%23ff%3BVLC:%23663399%3BGFNT:%23ff%3BGIMP:%23ff%3BDIV:%23336699%3Bdomains=openbsd.monkey.orgsitesearch=openbsd.monkey.orgoe=ISO-8859-1start=10sa=N
  
   :(
  
   if you for any reason (regardless) can't say, no problem.
  
   thanks anyway,
  
   matheus
  
 On Sat, May 03, 2008 at 05:47:57PM -0300, Nenhum_de_Nos wrote:
  On Sat, May 3, 2008 at 4:18 PM, Marco Peereboom [EMAIL PROTECTED] 
 wrote:
   Yes.  NVIDIA refuses to make a useful open source driver.  It is 
 barely
functional and it generally sucks really really bad.  Stay away 
 from
NVIDIA when doing open source.
 
  by any means this is criticism, just for information only.
 
  so, for open source should I look for what in graphics subject ?
  I had bad time using ATi some time ago so I bought nVidia. but there
  is no luck in running 64bits FreeBSD on it :(
 
  if you have any info on this please :)
 
  thanks,
 
  matheus
 
 
  --
  We will call you cygnus,
  The God of balance you shall be
 
   
  
  
  
   --
   We will call you cygnus,
   The God of balance you shall be
  




-- 
We will call you cygnus,
The God of balance you shall be



Re: Is NV supposed to be SLOW?

2008-05-03 Thread Nenhum_de_Nos
On Sat, May 3, 2008 at 4:18 PM, Marco Peereboom [EMAIL PROTECTED] wrote:
 Yes.  NVIDIA refuses to make a useful open source driver.  It is barely
  functional and it generally sucks really really bad.  Stay away from
  NVIDIA when doing open source.

by any means this is criticism, just for information only.

so, for open source should I look for what in graphics subject ?
I had bad time using ATi some time ago so I bought nVidia. but there
is no luck in running 64bits FreeBSD on it :(

if you have any info on this please :)

thanks,

matheus


-- 
We will call you cygnus,
The God of balance you shall be



Re: Is NV supposed to be SLOW?

2008-05-03 Thread Nenhum_de_Nos
On Sat, May 3, 2008 at 8:35 PM, Marco Peereboom [EMAIL PROTECTED] wrote:
 Just a few days ago I answered this question.  Simply look for it.

 if you could tell me the email subject. I've looked for every mail
from [EMAIL PROTECTED] in the misc (from gmail's search options) and
found none nvidia reletad (apart from this). may be me being
unfortunate.

no luck also from
http://www.google.com/custom?q=nvidiahl=enclient=pub-1916336824448304cof=FORID:1%3BGL:1%3BLBGC:336699%3BLC:%23ff%3BVLC:%23663399%3BGFNT:%23ff%3BGIMP:%23ff%3BDIV:%23336699%3Bdomains=openbsd.monkey.orgsitesearch=openbsd.monkey.orgoe=ISO-8859-1start=10sa=N

:(

if you for any reason (regardless) can't say, no problem.

thanks anyway,

matheus

  On Sat, May 03, 2008 at 05:47:57PM -0300, Nenhum_de_Nos wrote:
   On Sat, May 3, 2008 at 4:18 PM, Marco Peereboom [EMAIL PROTECTED] wrote:
Yes.  NVIDIA refuses to make a useful open source driver.  It is barely
 functional and it generally sucks really really bad.  Stay away from
 NVIDIA when doing open source.
  
   by any means this is criticism, just for information only.
  
   so, for open source should I look for what in graphics subject ?
   I had bad time using ATi some time ago so I bought nVidia. but there
   is no luck in running 64bits FreeBSD on it :(
  
   if you have any info on this please :)
  
   thanks,
  
   matheus
  
  
   --
   We will call you cygnus,
   The God of balance you shall be
  




-- 
We will call you cygnus,
The God of balance you shall be



Re: wireless access point woes

2008-01-21 Thread Nenhum_de_Nos
any special reason ?

thanks for the answer :)

matheus

-- 
We will call you cygnus,
The God of balance you shall be



Re: wireless access point woes

2008-01-19 Thread Nenhum_de_Nos
hail,

I've read araound for some time and never saw how to make a wpa access
point using atheros and OpenBSD.
As far as I could go, the hostap included in OBSD is for intra-ap
stuff (I dont know much about this).

All I've found on this is:

http://www.openbsd.org/plus40.html:
Implement the Michael MIC as defined in IEEE 802.11i for TKIP. This
generates a weak 64-bit digest protected by an additional key -
required for future IEEE 802.11i/WPA support.

http://www.openbsd.org/plus42.html:
Lots of 802.11 improvements and code in preparation for WPA and other
auth styles.

As I saw twice the word preparation, I tend to think it is not done already.

am I right ?

is there any way to change my FreeBSD WPA+AES based AP to OpenBSD ?

thanks in advance ;)

matheus


-- 
We will call you cygnus,
The God of balance you shall be



Re: Perpetually Current

2008-01-02 Thread Nenhum_de_Nos
On Dec 27, 2007 11:17 AM, new_guy [EMAIL PROTECTED] wrote:
 I would like to install OpenBSD *once* and keep it patched and secured for
 many years there after (5 - 7 years) in a production environment. Would it
 be feasible to get a snapshot today and follow -current for many years w/o
 having to reinstall? Basically, this approach would skip -stable and
 -release and always be -current. I understand the implications of being
 current and that things might change and break and may need re-configuring
 on occasion. I'm OK with that... I just don't want to reinstall a -release
 every year... although I'll still buy CDs as they are released to support
 the project.

I have quite the same problem. my OBSD routers are usually old PII
boxes and doing this kind of upgrade on them is not trivial. other, I
have some remote routers I cant do this, so They run FBSD. I'd rather
use OBSD on my routers, but this thing of not been able to make 4.1
become 4.2 without a cdrom (as is recommended) makes me use OBSD only
in the closest routers. i'm not here to make comparissons from OSes,
or to make trouble. I just felt that would be good to say that if
anytime in OBSD this upgrade was possible it would be a great feature
(well, at least for me an the new_guy :) )

:)

matheus


-- 
We will call you cygnus,
The God of balance you shall be



Re: Perpetually Current

2008-01-02 Thread Nenhum_de_Nos
On Jan 2, 2008 4:57 PM, Ingo Schwarze [EMAIL PROTECTED] wrote:
 Hi Matheus,

 Nenhum_de_Nos wrote on Wed, Jan 02, 2008 at 01:42:01PM -0300:

  my OBSD routers are usually old PII boxes
  and doing this kind of upgrade on them is not trivial.

 Saying this kind of upgrade, you refer to the official upgrade
 process, i presume?

 The official upgrade process is completely trivial on any imaginable
 kind of i386 Pentium II box, believe me.  A Pentium II may seem old
 to you, but for running a standard router, it is more than enough,
 including the handling of the official upgrade process, of course.
 The dmesg of my own three-leg (internal/dmz/Internet) statefully
 filtering and NATing main router (saturating a 100 Mbit/s uplink,
 about 200 user accounts in the internel network, about 50 users
 regularly accessing us from the Internet, plus multiple web sites
 and mailing list hosting) is included below.

 Ya, i do have a couple of 600-900 MHz boxen on the shelf that
 people have been throwing away recently, so i could upgrade for
 free, but there's simply no need to hurry...

 About five years ago, i had to use an old 486-SX25, 24 MB RAM,
 Harddisk 160 MB (yes, zero dot one six Gigabytes) for the same
 task.  With 16 MB of RAM, i saw occasional shortages of memory -
 although the users did not even notice that - but with 24 MB,
 even that crappy thing saturated our 100 Mbit/s uplink just fine.
 I just checked my notes, it was installed on May 13, 2001 with
 OpenBSD 2.8, upgraded to OpenBSD 2.9 on June 3, upgraded
 to OpenBSD 3.1 on June 22, 2002, upgraded to OpenBSD 3.2 on
 Jan 17, 2003.  No, for those upgrades with 160 MB of total disk
 space, i could not use the official upgrade process,
 go figure...  :-)

 But honestly, with any kind of Pentium II, what's your problem?

 All the best for the New Year,
   Ingo

 --

first of all I'd like to thank everyone that responded me in so short time.

my problem is not running it, ingo. I do love my PII and they do just
fine to keep my home lan security :)

the problem for me is to take a cdrom, burn the iso, and have to do it
not from a remote ssh window ;)

but as many stated that it works, just have to be carefull about the steps :)
I'll install a fresh 4.1 just to practice and walk through this process.

thank you all for your attention :)
I'm kinda new in OpenBSD, a user for about one year, but I already liked it :)
I learned too much in this time :)

thanks,

matheus
-- 
We will call you cygnus,
The God of balance you shall be



Re: keeping OBSD up to date and secure throughout time

2007-11-11 Thread Nenhum_de_Nos
I had a busy week, but that solved my problem.

thanks to all :)

matheus
-- 
We will call you cygnus,
The God of balance you shall be



Re: keeping OBSD up to date and secure throughout time

2007-11-05 Thread Nenhum_de_Nos
On 11/5/07, Chad M Stewart [EMAIL PROTECTED] wrote:
 I think that should be

 cd /usr
 cvs -d$CVSROOT checkout -rOPENBSD_4_2 -P src



 -Chad

hey !!! I really think that is my problem ! :)

cvs'ing now and recompiling !! :)

I'll tell later the results :D

matheus
-- 
We will call you cygnus,
The God of balance you shall be



Re: keeping OBSD up to date and secure throughout time

2007-11-03 Thread Nenhum_de_Nos
this made me curious.

I did:

bash-3.2# cat cvs.sh
export [EMAIL PROTECTED]:/cvs

# src
cd /usr/src
cvs -d$CVSROOT checkout -rOPENBSD_4_2 -P src


and compiled all. then I have.

bash-3.2# dmesg | head
OpenBSD 4.2-current (xxx) #5: Fri Nov  2 22:39:58 BRT 2007
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/xxx
cpu0: Intel Pentium II (GenuineIntel 686-class, 512KB L2 cache) 300 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX
real mem  = 268005376 (255MB)
avail mem = 251445248 (239MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/16/97, BIOS32 rev. 0 @ 0xfd7b1
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown


so, I know change in releases is not supported. But shouldnt berak ?

I thought I was about to have -stable ...

what am I doing bizzare ?

thanks again,

matheus

-- 
We will call you cygnus,
The God of balance you shall be



Re: keeping OBSD up to date and secure throughout time

2007-11-01 Thread Nenhum_de_Nos
On 11/1/07, Steve Shockley [EMAIL PROTECTED] wrote:
 Nenhum_de_Nos wrote:
  but my main question is, how to make obsd allways up to date, keeping
  it bug free. mas from time to time there is security bugs found and so
  on.

 Simple way: upgrade every six months, and follow the -stable branch.

hmm, thats what I'll do then. but, there is no way to make my
4.2-current to rebirth as an ordinary 4.2 just born ?

 Complex way: Follow -current, upgrade your machines almost constantly.

 If you have anything approaching production, run -stable.  Downgrading
 is difficult, and sooner or later you'll hit something that makes your
 life difficult, like changing a major feature (ipf - pf) or upgrading
 to packages that were built the day the shared library numbers change.

  my question is, how to keep up to date if putting a cdrom and boot for
  upgrade for me is too much of a problem for me ? and also, just as an
  example (I'm really not trying to make flame wars or such things, I
  just want to know how to make things in obsd) in Freebsd i can compile
  and make almost everything yep online and running. just reboot and if
  everything is fine, the downtime is just of the reboot itself.

 You can do an unpack the install files over the running OS upgrade,
 that's detailed in the upgrade guide in the FAQ.  Better yet, you can
 put two machines together with CARP and not have any downtime at all.

by what I saw, the way Nick said is what I'll do :)

just want to be 4.2 release again ! :)

(if I cant, I'll install a 4.1 and then do the moves to be 4.2 and
begin the training :) )

thanks all,

matheus

-- 
We will call you cygnus,
The God of balance you shall be



keeping OBSD up to date and secure throughout time

2007-10-31 Thread Nenhum_de_Nos
hail all,

I use FreeBSD for a long time and now I'm changing my routers slowly
to OpenBSD. I have one router running 4.2-current (or anything like
this, uname shows 4.2 but motd shows 4.2-current. I confess this still
confuses me) and I'm studying it to be confident enough to make it the
one.

but my main question is, how to make obsd allways up to date, keeping
it bug free. mas from time to time there is security bugs found and so
on.

for what I saw in obsd web
site(http://www.openbsd.org/faq/faq5.html#Flavors), when 4.1 is
released 3.9 is not suported aymore.

my question is, how to keep up to date if putting a cdrom and boot for
upgrade for me is too much of a problem for me ? and also, just as an
example (I'm really not trying to make flame wars or such things, I
just want to know how to make things in obsd) in Freebsd i can compile
and make almost everything yep online and running. just reboot and if
everything is fine, the downtime is just of the reboot itself.

as a pf fan, and as i prefer to use pf in obsd itself, is there a way
to do things this way in obsd ?

thanks,

matheus

-- 
We will call you cygnus,
The God of balance you shall be



Re: pf

2007-10-05 Thread Nenhum_de_Nos
On 10/5/07, Calomel [EMAIL PROTECTED] wrote:
 padilla,

 Perhaps if you take a step back and look at an example of pf everything
 might make more sense. It might help if you had a working pf.conf to learn
 from and a basic explanation of what each part of pf does.

OpenBSD Pf Firewall how to ( pf.conf )
http://calomel.org/pf_config.html

 This example might be more than you really wanted for your machine, but it
 should point you in the right direction for a secure nat'ed firewall. When
 you become more fluent in pf, I have included a few of the more useful
 options in the same example. If you have any questions I would be happy to
 help.

 --
  Calomel @ http://calomel.org

hi,

i read the reffered link and this as well

http://calomel.org/pf_hfsc.html

but if you let me, I do have a question. when you say:
pass out on $ExtIf inet proto tcp from ($ExtIf) to any flags S/SA
modulate state queue (bulk, ack)
pass out on $ExtIf inet proto tcp from ($ExtIf) to any port ssh flags
S/SA modulate state queue (ssh_bulk, ssh_login)

The first rule is passing out bulk traffic on the external interface
and prioritizing ack packets. The second rule is passing out data on
port 22(ssh) and prioritizing the interactive ssh traffic. This
traffic is originating on our internal network or on the firewall
itself.

you say the two queues are bound to that rule in that line ? I never
got 100% this bindings from queues and rules. how will pf know that in
the first rule, it will treat ack packets differente from bulk ones ?
thats my main doubt ...

is the order (bulk,ack) that does it ? or anything with the flags
(S/SA) ? I really never got the mechanics of this ...

if anyone could explain,

thanks,

matheus
-- 
We will call you cygnus,
The God of balance you shall be