Re: USB repeater cable on Soekris net5501

2013-03-03 Thread Ingo Feinerer
On Sat, Mar 02, 2013 at 03:26:55PM -0700, Theo de Raadt wrote: Is your cable a usb2.0 only cable, or a usb1.1 only cable or some combination that won't work? The product description of the USB repeater cable claims: - Compatible with USB specification revision 2.0 and 1.1 - Supports USB low

Re: pppoe repeated disconnects

2013-03-03 Thread Pim van Pelt
Hoi once more, Closure on this. 2013/2/24 Stuart Henderson s...@spacehopper.org: On 2013-02-24, Pim van Pelt p...@ipng.nl wrote: .. , or the DSL has untrained It does seem like the line could well be dropping out then. .. and that was it. I have since replaced the DSL modem with a Fritz!Box

scanf(3) return value

2013-03-03 Thread Jan Stary
The following part of the scanf(3) manpage probably needs to be reworded: The value .Dv EOF is returned if an input failure occurs before any conversion such as an end-of-file occurs. (I won't even attempt it, as I am not sure what the behaviour actually is.)

Firefox 18 library link error

2013-03-03 Thread James Griffin
Hi I did a fresh install of the latest snapshot Feb 27. Installed Firefox 18 package. When it loads, I get an error I do not understand: firefox:/usr/lib/libstdc++.so.55.0: /usr/local/lib/libestdc++.so.14.0 : WARNING: symbol(_ZN11__gnu_debug17_S_debug_messagesE) size mismatch, relink your

Re: Firefox 18 library link error

2013-03-03 Thread Marc Espie
On Sun, Mar 03, 2013 at 11:58:40AM +, James Griffin wrote: Hi I did a fresh install of the latest snapshot Feb 27. Installed Firefox 18 package. When it loads, I get an error I do not understand: firefox:/usr/lib/libstdc++.so.55.0: /usr/local/lib/libestdc++.so.14.0 : WARNING:

Re: Firefox 18 library link error

2013-03-03 Thread James Griffin
[- Sun 3.Mar'13 at 13:35:15 +0100 Marc Espie :-] On Sun, Mar 03, 2013 at 11:58:40AM +, James Griffin wrote: Hi I did a fresh install of the latest snapshot Feb 27. Installed Firefox 18 package. When it loads, I get an error I do not understand:

Re: Disk layout: OpenBSD OT

2013-03-03 Thread Alexander Hall
On 03/03/13 00:04, Shoufu Luo wrote: usually, the inner tracks are fast, as I know Since the RPM is constant and they can fit more data can on the outer, longer, tracks, I believe you are wrong. Not that it matters, since we don't know which ones we're served. /Alexander -Shoufu Live,

Re: Disk layout: OpenBSD OT

2013-03-03 Thread Michał Markowski
2013/3/2 Friedrich Locke friedrich.lo...@gmail.com: just wonder in a typical hard drive nowadays (SATA/SAS), the sector 0 is in the inner or outter track ? Which tracks are faster: the inner ones or the outter ? First track is outer-most, hence faster linear transfer rates at beginning of

Get total size of all files in directory using unit Bytes?

2013-03-03 Thread f5b
for example 1. there is only two file in /home/test/ # ls -l /home/test/ total 8 -rw-r--r-- 1 root wheel 2 Mar 3 23:29 a.txt -rw-r--r-- 1 root wheel 3 Mar 3 23:29 b.txt So the total size of all files ( a.txt + b.txt ) should be 5 Bytes. How to get total size ( 5 Bytes ) directly but not

Re: Softraid 3TB Problems

2013-03-03 Thread Brandon Tanner
Joel, Would the fact that my two 3TB drives (ST3000DM001) use 4k sectors be the reason I wasn't getting it working then? I will try to zero the drives and start from scratch again, and see if that works too. I had a feeling that deleting the disklabels with 'z' option wasn't actually getting

Re: USB repeater cable on Soekris net5501

2013-03-03 Thread Christian Weisgerber
Ingo Feinerer feine...@logic.at wrote: I have a problem with a Digitus USB 2.0 repeater cable in combination with a Soekris net5501 running OpenBSD 5.2 (see full dmesg at the very end of this mail). Is this an active device? Essentially a single-port hub? However, the problem occurs when I

Re: Softraid 3TB Problems

2013-03-03 Thread Kenneth R Westerback
On Sun, Mar 03, 2013 at 11:15:54AM -0600, Brandon Tanner wrote: Joel, Would the fact that my two 3TB drives (ST3000DM001) use 4k sectors be the reason I wasn't getting it working then? Both of the drives in the dmesg you posted report 512-byte sectors. Ken I will try to zero the

Re: USB repeater cable on Soekris net5501

2013-03-03 Thread Matthias Appel
Am 03.03.2013 18:26, schrieb Christian Weisgerber: Ingo Feinerer feine...@logic.at wrote: I have a problem with a Digitus USB 2.0 repeater cable in combination with a Soekris net5501 running OpenBSD 5.2 (see full dmesg at the very end of this mail). Is this an active device? Essentially a

Re: Softraid 3TB Problems

2013-03-03 Thread Robert
On Sun, 3 Mar 2013 12:35:29 -0500 Kenneth R Westerback kwesterb...@rogers.com wrote: On Sun, Mar 03, 2013 at 11:15:54AM -0600, Brandon Tanner wrote: Joel, Would the fact that my two 3TB drives (ST3000DM001) use 4k sectors be the reason I wasn't getting it working then? Both of the

Re: Softraid 3TB Problems

2013-03-03 Thread Otto Moerbeek
On Sun, Mar 03, 2013 at 07:54:07PM +0100, Robert wrote: On Sun, 3 Mar 2013 12:35:29 -0500 Kenneth R Westerback kwesterb...@rogers.com wrote: On Sun, Mar 03, 2013 at 11:15:54AM -0600, Brandon Tanner wrote: Joel, Would the fact that my two 3TB drives (ST3000DM001) use 4k sectors be

Re: Softraid 3TB Problems

2013-03-03 Thread Nick Holland
On 03/03/13 00:34, Joel Sing wrote: On Sun, 3 Mar 2013, Brandon Tanner wrote: ... OpenBSD area: 64-5860533168; size: 2.7T; free: 0.0T #size offset fstype [fsize bsize cpg] a: 2.7T 64RAID c: 2.7T0 unused

Re: Softraid 3TB Problems

2013-03-03 Thread Alexander Hall
On 03/03/13 20:17, Nick Holland wrote: On 03/03/13 00:34, Joel Sing wrote: On Sun, 3 Mar 2013, Brandon Tanner wrote: ... OpenBSD area: 64-5860533168; size: 2.7T; free: 0.0T #size offset fstype [fsize bsize cpg] a: 2.7T 64RAID c:

Re: Get total size of all files in directory using unit Bytes?

2013-03-03 Thread Paul de Weerd
Not really an answer to your question, I know, but what would such a number mean ? What use do you have for it ? On Mon, Mar 04, 2013 at 12:01:25AM +0800, f5b wrote: | for example | | 1. | there is only two file in /home/test/ | # ls -l /home/test/ | total 8 | -rw-r--r-- 1 root wheel 2 Mar

Re: Softraid 3TB Problems

2013-03-03 Thread Kenneth R Westerback
On Sun, Mar 03, 2013 at 07:54:07PM +0100, Robert wrote: On Sun, 3 Mar 2013 12:35:29 -0500 Kenneth R Westerback kwesterb...@rogers.com wrote: On Sun, Mar 03, 2013 at 11:15:54AM -0600, Brandon Tanner wrote: Joel, Would the fact that my two 3TB drives (ST3000DM001) use 4k sectors be the

802.11n on obsd

2013-03-03 Thread Sean Shoufu Luo
Hi, Does OBSD support real 802.11n? It seems not. Although many 802.11n devices are claimed supported, 802.11n capability is mostly not excluded, like run(4), otus(4), urtwn(4). And, btw, how to find the official status page, for example, about supported hardward, the list provided in the page

Re: Get total size of all files in directory using unit Bytes?

2013-03-03 Thread Ted Unangst
On Sun, Mar 03, 2013 at 22:02, Paul de Weerd wrote: [weerd@despair] $ ls -l /tmp/test/* | awk '{SUM+=$5} END {print SUM}' heh. :) ~/bin cat filesizes #!/bin/sh ls -l $@ | awk '{sum += $5} END { print sum }'

Re: Softraid 3TB Problems

2013-03-03 Thread Brandon Tanner
I got it working!!! What Joel said was key. I had probably done it wrong the first time (didn't use the b option in disklabel), and everytime I re-tried it after that, I wasn't starting from scratch (zero'ing the two raid drives). So I booted the SeaTools for DOS CD, and zero'ed the two 3TB

Re: 802.11n on obsd

2013-03-03 Thread Jérémie Courrèges-Anglas
Sean Shoufu Luo luosho...@gmail.com writes: Hi, Hi, Does OBSD support real 802.11n? It seems not. Although many 802.11n devices are claimed supported, 802.11n capability is mostly not excluded, like run(4), otus(4), urtwn(4). This has already been asked many times in the past. From the

dhclient not receiving dhcpoffers with wep connection but fine with wpa

2013-03-03 Thread Jeff Richards
I have been trying to configure a HP Pavilion dv5000(5210us) laptop to connect to a WEP network.  I have tried OBSD 5.2 and CURRENT without success using WEP but can connect with WPA --personal hotspot. The network interfaces I have tried are Integrated wireless (bwi0 at pci3 dev 2 function 0

Re: USB repeater cable on Soekris net5501

2013-03-03 Thread Stuart Henderson
On 2013-03-03, Christian Weisgerber na...@mips.inka.de wrote: Ingo Feinerer feine...@logic.at wrote: I have a problem with a Digitus USB 2.0 repeater cable in combination with a Soekris net5501 running OpenBSD 5.2 (see full dmesg at the very end of this mail). Is this an active device?

Re: dhclient not receiving dhcpoffers with wep connection but fine with wpa

2013-03-03 Thread Kenneth R Westerback
On Sun, Mar 03, 2013 at 03:10:38PM -0800, Jeff Richards wrote: I have been trying to configure a HP Pavilion dv5000(5210us) laptop to connect to a WEP network.? I have tried OBSD 5.2 and CURRENT without success using WEP but can connect with WPA --personal hotspot. The network interfaces I

Broken dependency: automake 1.11.5 in sqlports

2013-03-03 Thread Alan Corey
While installing sqlports from ports under openbsd 5.2 I got pass #2 +++ converters/ruby-json,rbx +++ databases/db/v4,bootstrap,no_java,no_tcl Broken dependency: devel/automake/1.11.5 non existent +++ databases/ruby-activerecord,ruby19 Died at /usr/ports/databases/sqlports/files/mksqlitedb line

automake 1.11.5: never mind

2013-03-03 Thread Alan Corey
I'm defining setenv AUTOMAKE_VERSION 1.11.5 In my .cshrc, I don't know why exactly. -- Credit is the root of all evil. - AB1JX

Automake 1.11.5 IS an issue

2013-03-03 Thread Alan Corey
This is probably where it came from: d530# pkg_info | grep automake automake-1.10.3p6 GNU Standards-compliant Makefile generator automake-1.11.5p1 GNU Standards-compliant Makefile generator automake-1.9.6p10 GNU Standards-compliant Makefile generator I was defining AUTOMAKE_VERSION to the

Re: USB repeater cable on Soekris net5501

2013-03-03 Thread Ingo Feinerer
On 2013-03-03, Christian Weisgerber na...@mips.inka.de wrote: I have a problem with a Digitus USB 2.0 repeater cable in combination with a Soekris net5501 running OpenBSD 5.2 (see full dmesg at the very end of this mail). Is this an active device? Essentially a single-port hub? Exactly.

Re: automake 1.11.5: never mind

2013-03-03 Thread Brad Smith
On Mon, Mar 04, 2013 at 01:04:51AM -0500, Alan Corey wrote: I'm defining setenv AUTOMAKE_VERSION 1.11.5 In my .cshrc, I don't know why exactly. The value should be 1.11 not 1.11.5. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

Serial and parallel port detection

2013-03-03 Thread Jacques Pelletier
Hi, For use in the GUI of an application, I need to have a list of detected serial and parallel ports. This list is used to fill a combo box where the user select the port to use (example: in Windows, it would be a list with COM1,COM2, etc. On OpenBSD, how can we retrieve the detected

Re: Serial and parallel port detection

2013-03-03 Thread Theo de Raadt
For use in the GUI of an application, I need to have a list of detected serial and parallel ports. This list is used to fill a combo box where the user select the port to use (example: in Windows, it would be a list with COM1,COM2, etc. On OpenBSD, how can we retrieve the detected serial

Re: automake 1.11.5: never mind

2013-03-03 Thread Alan Corey
The distfile name is automake-1.11.5.tar.gz and pkg_info reports 1.11.5, but sqlports rejects it. In the ports tree there are 6 versions: d530# cd automake d530# ls 1.10 1.12 1.8 CVS Makefile.inc 1.11 1.4 1.9 Makefile Alan On