Tuyosi Takesima | 23 Jul 01:10 2014
Picon

add a new partition in USB

Hi all .

i have 32GB USB memory . and this is clone of ' 2GB live USB '.
so i want to extend 'this clone 2GB' to about 8GB .
in order to this , i want to make  ' partion d ' in 32GB USB .
so i do next steps .

# fdisk -e sd0
fdisk: 1> edit 0
Partition id ('0' to disable) [0 - FF]: [0] (? for help) 1
fdisk: 1> setpid 0
Partition id ('0' to disable) [0 - FF]: [1] (? for help) A6
fdisk:*1> w
fdisk: MBR contains more than one OpenBSD partition!  <------- attention
Write MBR anyway? [n] y

now
# fdisk -e sd0
fdisk: 1> p
Disk: sd0       geometry: 3840/255/63 [61702144 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: A6    243   0   1 -   1000   0   1 [     3903795:    12161206 ] OpenBSD
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
*3: A6      0   1   2 -    242 254  63 [          64:     3903731 ] OpenBSD

i want to make partition d in
(Continue reading)

Felipe Mesquita de Oliveira | 22 Jul 23:28 2014
Picon

Re: Problem with PPPoE

Mihai,

There it is:

# dmesg
OpenBSD 5.4 (GENERIC.MP) #44: Tue Jul 30 12:13:32 MDT 2013
    deraadt <at> i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) Dual CPU E2220  <at>  2.40GHz ("GenuineIntel"
686-class) 2.40 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-
CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF
real mem  = 1062113280 (1012MB)
avail mem = 1033289728 (985MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/19/08, BIOS32 rev. 0  <at>  0xffea0,
SMBIOS rev. 2.5  <at>  0xf0450 (73 entries)
bios0: vendor Dell Inc. version "A03" date 02/19/2008
bios0: Dell Inc. OptiPlex 330
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET SLIC SSDT SSDT SSDT
acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI2(S5) PCI3(S5) PCI1(S5)
PCI5(S5) PCI6(S5) MOU_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Pentium(R) Dual CPU E2220  <at>  2.40GHz ("GenuineIntel"
(Continue reading)

Felipe Mesquita de Oliveira | 22 Jul 22:28 2014
Picon

Problem with PPPoE

Hi there,

I've been using OepnBSD for a while (10yr now, basically as router/server
at home and small office).
Right now, I have 2 OpenBSD servers:
1) OpenBSD 4.9 running on amd64 (Sun Fire v20z - old and noisy)
2) OpenBSD 5.4 running on i386 (Dell Optiplex DualCore)

I want to disable the old one, staying only with the "newer". I have 2
internet connections (one DHCP and other PPPoE).
The DHCP connection migration were fine. But I'm having problem with the
PPPoE connection.
On the old server it runs fine, but in the new one, when I enable debug on
ifconfig
(ifconfig pppoe0 debug) I get this:

Jul 22 16:47:16 BSD /bsd: pppoe0 (8863) state=1, session=0x0 output ->
ff:ff:ff:ff:ff:ff, len=18
Jul 22 16:48:16 BSD /bsd: pppoe0: timeout

And:

# ifconfig pppoe0
pppoe0: flags=28855<UP,DEBUG,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST,NOINET6>
mtu 1492
        priority: 0
        dev: bge0 state: PADI sent
        sid: 0x0 PADI retries: 7 PADR retries: 0
        sppp: phase establish authproto pap authname "xxx <at> xxx.com.br"
        groups: pppoe
(Continue reading)

Matthew Weigel | 22 Jul 20:52 2014
Picon

ldapd(8) binary incompatibility, 5.4 -> 5.5

I finally upgraded my last machine - that runs ldapd(8) for user
logins, mail aliases, and a few other odds and ends - from 5.4 to 5.5.

I'm left wondering if I'm the only one who actually uses the stock
ldapd(8), because it is not called out at all in upgrade55.html as
having problems with the Year 2038 fixes that went into 5.5.

I ended up having to create a 5.4 VM (I stuck with the same amd64 arch
as my actual server, and have not investigated or tested under what
constraints this might work across architectures) to load the ldapd(8)
database files, use third party LDAP tools to create a text dump in
LDIF format, and then load the LDIF into an empty database of 5.5
ldapd(8).

It looks like particularly the btree_stat and btree_meta structs used
in the ldapd(8) btree implementation are the culprits, as it looks like
they are the only time_t bits actually stored on disk.  Since it
appears my problems are now solved, I'm mostly sending this message as
a heads up in case there is anyone still getting ready to upgrade to
5.5 that uses ldapd(8).

Something probably deserves to be in update55.html as well, but I don't
have a repeatable, documented procedure for what I did.
--

-- 
  Matthew Weigel
  hacker
  unique & idempot . ent

Kim Zeitler | 22 Jul 16:08 2014
Picon

libiconv-1.14p1 - library c not found, bad major

Hello,
yesterday I had to do a clean reinstall of a machine (RELEASE) and on
installing additional packages I ran into a libc error bad major with
libiconv.

# uname -a
OpenBSD gaia 5.5 GENERIC.MP#126 amd64

# export PKG_PATH=http://openbsd.cs.fau.de/pub/OpenBSD/5.5/packages/amd64/
# pkg_add -iv libiconv
Update candidates: quirks-1.113 -> quirks-1.113 (ok)
Can't install libiconv-1.14p1 because of libraries
|library c.73.1 not found
| /usr/lib/libc.so.75.0 (system): bad major

Cheers,

--

-- 
Kim Zeitler

Peer Janssen | 22 Jul 17:17 2014
Picon

SHA file missing on CD1 of OpenBSD 5.5

Hi,

I'm writing this
- in order to provide some feedback about my user experience (before it
even started, that is),
- because others might find a modicum of help here if they happen to
stumble on the same issue,
- in order to suggest a check for completeness for building the CD sets,
- and maybe someone might want to supply a bit of data I'm still
missing, e.g. a CD hash to cross-check. So,

I'm trying to establish a clean and uninterrupted trail of trust
(integrity-wise) from Alice the OpenBSD devs to the OpenBSD 5.5 CD set I
recently bought in a bookshop in a big german city. This proves
surprisingly difficult.

I tried to check the CDs in person with one of the devs in that city,
but he was not available at that moment (that would have been best
solution, a second channel besides all this web machinery), so I tried
other venues.

The OpenBSD 5.5 web page provides a build key (no idea what kind of
format it's in) and the web site strongly recommends checking the CD
beforehand (just what I'm trying to do) using the signify tool, but
since I have to somehow bootstap OpenBSD, I didn't have that tool nor
any other means of verification, e.g. a md5sum, sha256sum or so of the
CD is not provided on the website (that would have helped the
bootstrapping process). (With hindsight, I could have manually scripted
some SHA check for the OpenBSD hash file format.)

(Continue reading)

Craig R. Skinner | 22 Jul 14:17 2014
Picon

[OT] Commonwealth Games Ceremonies

Last night at a dress reversal of the 2014 Commonwealth Games Opening
Ceremony, I thrilled to walk my New Zealand flag in to the packed
stadium of 71 nations from the British Empire!!!

The opening is on Wednesday (tomorrow) & closing on 3rd August.

They're a lot of fun - I know as I'm performing the beauty of Scottish
culture in both!

Live an adventure,
--

-- 
Craig Skinner | http://twitter.com/Craig_Skinner | http://linkd.in/yGqkv7

pae3 | 21 Jul 21:50 2014
Picon

/etc/rc: no closing quote

Hi.

After upgrade from iso file (21 july) local daemons from 
/etc/rc.conf.local not started.
During  boot process 1  odd messages has been seen :
"/etc/rc: no closing quote"
( on i386 & amd64).

Alex

OpenBSD 5.6-beta (GENERIC) #236: Mon Jul 21 02:35:53 MDT 2014
     deraadt <at> i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Atom(TM) CPU N270  <at>  1.60GHz ("GenuineIntel" 686-class) 
1.60 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE,LAHF,PERF
real mem  = 1600483328 (1526MB)
avail mem = 1561890816 (1489MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/26/08, BIOS32 rev. 0  <at>  0xfdc40, 
SMBIOS rev. 2.5  <at>  0xdf010 (24 entries)
bios0: vendor LENOVO version "14CN34WW" date 08/26/2008
bios0: LENOVO Lenovo
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC HPET MCFG TCPA TMOR APIC BOOT ASF! SSDT 
SSDT SSDT
acpi0: wakeup devices HDEF(S4) PXS1(S4) PXS2(S4) PXS3(S4) USB1(S4) 
(Continue reading)

Maximilian Fillinger | 21 Jul 20:31 2014
Picon

faq/current.html: Lynx removed

Since lynx has been removed from base, should something like this be
added to the "Following -current" page?

========================================================================

--- faq/current.html.orig       Mon Jul 21 20:00:14 2014
+++ faq/current.html    Mon Jul 21 20:18:02 2014
 <at>  <at>  -62,6 +62,7  <at>  <at> 
 <li><a href="#20140710">2014/07/10 - ifconfig(8) ABI break</a>
 <li><a href="#20140711">2014/07/11 - IPv6 autoconf changes</a>
 <li><a href="#20140713">2014/07/13 - Addition of sendsyslog(2) system call</a>
+<li><a href="#20140716">2014/07/16 - lynx(1) moved to ports</a>

 </ul>

 <at>  <at>  -628,6 +629,17  <at>  <at> 
 <p>
 A kernel containing the system call is required perhaps even for getting
 single user; so use of upgrades is recommended.
+
+<a name="20140716"></a>
+<h3>2014/07/16 - lynx(1) moved to ports</h3>
+Lynx has been removed from the base system and has been moved to ports.
+The following files and directories should be deleted:
+<pre>
+       rm -f /usr/bin/lynx
+       rm -f /etc/lynx.cfg
+       rm -f /usr/share/man/man1/lynx.1
+       rm -rf /usr/share/doc/html/lynx_help
+</pre>
(Continue reading)

Gordon Turner | 21 Jul 02:35 2014
Picon

l2tp / ipsec issue

Hey List,

I am trying to use OpenBSD 5.5 as an VPN end point for iOS 7.0 and OSX 
10.9 native VPN clients, using L2TP / IPsec.

At the moment I am running the VPN end point on an internal server and 
forwarding appropriate ports from the router:
   - UDP 500  - Internet Key Exchange (IKE)
   - UDP 1701 - L2TP traffic
   - UDP 4500 - IPSec Network Address Translation (NAT-T)

(Long term plan is to replace the router with an OpenBSD box and 
terminate the VPN there.)

It would seem that I am close, but can't over come this last issue.

When I attempt to connect from an iOS device, in /var/log/messages I see 
this error message repeated several times:

--
Jul 20 17:51:52 access isakmpd[2979]: responder_recv_HASH_SA_NONCE: peer 
proposed invalid phase 2 IDs: initiator id 25.1.65.61, responder id 
XXX.XXX.XXX.XXX
Jul 20 17:51:52 access isakmpd[2979]: dropped message from 
YYY.YYY.YYY.YYY port 16659 due to notification type 
INVALID_ID_INFORMATION
--

Where XXX.XXX.XXX.XXX is the public ip address (in my case the cable 
modem's external ip) and YYY.YYY.YYY.YYY is the iOS device attempting to 
(Continue reading)

Tuyosi Takesima | 21 Jul 03:37 2014
Picon

Re: DVD & how to overcome mkisofs

acording to
 https://wiki.archlinux.org/index.php/Optical_Disc_Drive_  ,

-use-the-force-luke=spare:none may be good for growisofs.

---tuyosi


Gmane