Mark Weinem | 1 Apr 2008 11:34
Picon

Re: Upgrading without sysinst and installation media (was: how to upgrade from NetBSD 3.1 to 4 ?)

On Mon, 31 Mar 2008, Jason Lingohr wrote:

> My question is rather simple -- why has this method of upgrading been 
> removed from the documentation?

I think apart from mailing list messages, this method was not documented 
as yet.

Best regards, Mark

--

-- 
Mark Weinem
Jabber: weinem <at> jabber.cz

Simon Truss | 1 Apr 2008 12:52
Picon
Picon

Re: Upgrading without sysinst and installation media (was: how to upgrade from NetBSD 3.1 to 4 ?)

Mark Weinem wrote:
> On Mon, 31 Mar 2008, Jason Lingohr wrote:
> 
>> My question is rather simple -- why has this method of upgrading been 
>> removed from the documentation?
> 
> I think apart from mailing list messages, this method was not documented 
> as yet.

The procedure outlined is similar to the following:
http://www.netbsd.org/docs/current/index.html#updating

Simon

Martin Seibold | 1 Apr 2008 19:17
Picon
Favicon

Hitachi HDD need LBA48-QUIRK

Hi NetBSD-users,

i am trying to use RAIDframe mode 5 on 500GB Hitachi
"Deskstar" series disks. I use the satalink driver[1].
While writing initial paririty on the disks i
discovered that these discs have also problems with
LBA48-addressing like the Seagates. I got "error
reading fsbn 268435424 of 268435424 - 268435455". So i
changed my LBA48_TRESHHOLD to 0xfffffe0 instead the
default 268435455 in my dev/ata/wd.c and built a new
kernel. Everything seemed fine, the raid5 got
correctly initialized, i made a LFS on it and then i
put about some 10s of GB of data on it.

Because the manpage for raidctl says that it is
"highly recommended that before using the RAID driver
for real file systems that the system administrator(s)
become quite familiar with the use of raidctl, and
that they understand how the component reconstruction
process works" i manually faild one of my disks and
started reconstruction. After about one hour the
reconstruction progress stopped with the same error
message "error reading fsbn 268435424".

Finally i set my LBA48_TRESHHOLD to 0xfffffd0 and
reconstruction finished.

Conclusion: Hitachi drives have problems with
LBA-border.
Fix: Someone should add HD* disks like my HDP725050 to
(Continue reading)

Martin Seibold | 1 Apr 2008 19:31
Picon
Favicon

Hitachi HDD need LBA48-QUIRK

Hi NetBSD-users,

i am trying to use RAIDframe mode 5 on 500GB Hitachi
"Deskstar" series disks. I use the satalink driver[1].
While writing initial paririty on the disks i
discovered that these discs have also problems with
LBA48-addressing like the Seagates. I got "error
reading fsbn 268435424 of 268435424 - 268435455". So i
changed my LBA48_TRESHHOLD to 0xfffffe0 instead the
default 268435455 in my dev/ata/wd.c and built a new
kernel. Everything seemed fine, the raid5 got
correctly initialized, i made a LFS on it and then i
put about some 10s of GB of data on it.

Because the manpage for raidctl says that it is
"highly recommended that before using the RAID driver
for real file systems that the system administrator(s)
become quite familiar with the use of raidctl, and
that they understand how the component reconstruction
process works" i manually faild one of my disks and
started reconstruction. After about one hour the
reconstruction progress stopped with the same error
message "error reading fsbn 268435424".

Finally i set my LBA48_TRESHHOLD to 0xfffffd0 and
reconstruction finished.

Conclusion: Hitachi drives have problems with
LBA-border.
Fix: Someone should add HD* disks like my HDP725050 to
(Continue reading)

Matthias Scheler | 1 Apr 2008 21:39
Picon
Favicon

Re: Basic guide to use suse10 emulator?


On 29 Mar 2008, at 15:24, Cem Kayali wrote:
>
> Is there a basic guide that shows how to use "meta-pkgs/suse100"
> environment?

Running Linux binaries it is documented on the website:

http://www.netbsd.org/docs/guide/en/chap-linux.html
http://www.netbsd.org/docs/compat.html

> I have single (compiled) executable file that works under standard  
> (any)
> linux environment and i prefer to try/use it through NetBSD's suse  
> emulator

If it doesn't require special Linux kernel support it shouldn't be  
hard to
get it working.

	Kind regards

--

-- 
Matthias Scheler                           http://zhadum.org.uk/

Carl Brewer | 2 Apr 2008 06:42
Picon

openvpn bridge using NetBSD 4.0(i86) and XP?


I'm looking to hook up a VOIP phone from a client's home to their work, 
at home they have a PC running XP hooked up to a generic DSL router 
doing NAT, and their work system has NetBSD 4.0 (i386) as their network 
gateway (also NAT'ing) and the PBX is inside their network.  The easiest 
way to do this that I can see is to use OpenVPN as an ethernet bridge, 
SIP's a terrible protocol to pass through firewalls etc, and I figure 
the simplest way (if not necessarily the most efficient) will be to 
bridge the network.

Before I go any further, has anyone here got anything similar actually 
working?  I've read this :

http://mail-index.netbsd.org/tech-net/2005/07/11/0007.html

And this :

http://mail-index.netbsd.org/netbsd-users/2006/06/27/0001.html

But they weren't terribly conclusive as to final success or not?  I need 
the setup to be "press a button" simple at the PC end to start and stop 
the link which is why I figured OpenVPN would be a good choice.

Any clues or pointers to more NetBSD-specific doco much appreciated, 
almost all the OpenVPN doco is loonucks-specific.

Thankyou,

Carl

(Continue reading)

thilo | 2 Apr 2008 09:13
Picon

Re: openvpn bridge using NetBSD 4.0(i86) and XP?

The internal network is 192.168.0.*
And the server is *.9

Keys and certs are as described in the openvpn manual

===========WINDOWS PC configuration======================================
# Edit this file, and save to a .ovpn extension
# so that OpenVPN will activate it when run
# as a service.

remote --SERVERNAME THAT RESOLVES (ip or dns name)
tls-client
ns-cert-type server
dh dh1024.pem              ==  I'm not sure if the diffie hellman is 
used, Its an artefact==
port 8843

proto tcp-client

dev tap
tun-mtu 1500
tun-mtu-extra 32
mssfix

;dev-node VPN-TAP     === You can specify which TAP to use on the PC if 
you want

ca C:\\Program\ Files\\OpenVPN\\config\\ca.crt            == Those are 
the created certs (use ossl to create them)
cert C:\\Program\ Files\\OpenVPN\\config\\boy.crt
(Continue reading)

thilo | 2 Apr 2008 09:21
Picon

Re: openvpn bridge using NetBSD 4.0(i86) and XP?

Sorry forgot the tap configs:

I'm not sure whether my ifconfig.* are correct, but essentially
create a tap device create a bridge add the tap to the real internal 
interface

bash-2.05b# ifconfig tap1 create
bash-2.05b# ifconfig tap1 10.11.11.0/24 up
bash-2.05b# ifconfig bridge3 create
bash-2.05b# brconfig bridge3  add tap1 add rtk0 up

bash-2.05b# cat /etc/ifconfig.tap0
create
inet 10.8.0.1 netmask 255.255.255.0
!brconfig $int add tap0 add rtk0 up

bash-2.05b# cat /etc/ifconfig.bridge0
create
!brconfig $int add tap0 add rtk0 up

Carl Brewer wrote:
> thilo wrote:
>> I have a Win-PC (openvpn using tcp) -> netbsd firewall/openvpn 
>> tap-bridge connection working reliable.
>>
>> Pinging in all directions etc works fine. The roaming pc is part of 
>> the local nw. Nbsd(4.0).
>>
>> The only issue I encounter, is that the /etc/ifconfig.br0 and 
>> /etc/ifconfig.tap0 don't actually work.
(Continue reading)

David Brownlee | 2 Apr 2008 10:52
Gravatar

Microsoft Wireless Optical Mouse 4000

 	Anyone using one of these under NetBSD? It appears to be detected
 	fine, but is non responsive (works fine under Windows)

uhidev0 at uhub1 port 2 configuration 1 interface 0
uhidev0: Microsoft Microsoft Wireless Optical MouseM-BM-. 1.00, rev 
2.00/0.07, addr 2, iclass 3/1
uhidev0: 23 report ids
ums0 at uhidev0 reportid 17: 5 buttons and Z dir.
wsmouse1 at ums0 mux 0
uhid0 at uhidev0 reportid 18: input=0, output=0, feature=1
uhid1 at uhidev0 reportid 19: input=1, output=0, feature=0
uhid2 at uhidev0 reportid 20: input=1, output=0, feature=0
uhid3 at uhidev0 reportid 21: input=3, output=0, feature=0
uhid4 at uhidev0 reportid 23: input=0, output=0, feature=1

--

-- 
 			   David Brownlee -- abs <at> absd.org

Stephen Borrill | 2 Apr 2008 12:50
Picon
Favicon

Re: openvpn bridge using NetBSD 4.0(i86) and XP?

On Wed, 2 Apr 2008, Carl Brewer wrote:
> I'm looking to hook up a VOIP phone from a client's home to their work, at 
> home they have a PC running XP hooked up to a generic DSL router doing NAT, 
> and their work system has NetBSD 4.0 (i386) as their network gateway (also 
> NAT'ing) and the PBX is inside their network.  The easiest way to do this 
> that I can see is to use OpenVPN as an ethernet bridge, SIP's a terrible 
> protocol to pass through firewalls etc, and I figure the simplest way (if not 
> necessarily the most efficient) will be to bridge the network.
[snip]

Not quite what you are asking, but I've had no problems at all with using 
OpenVPN in routing (i.e. tun) mode to do exactly this. I've even gone as 
far as making client to client calls.

--

-- 
Stephen


Gmane