nanobsd: UsbDevice broken?

2012-07-08 Thread Reinhard Haller
Hi,

I'm trying to get nanobsd working on an USB-stick.

Encountered the following problem in _.di (tail):

Filesystem  1K-blocks   Used  Avail Capacity iused  ifree %iused  Mounted on
/dev/md0s1a947643 236357 63547527%4712 1176864%  
/usr/obj/nanobsd.NANOBSD/_.mnt
Generating mtree...
Creating /dev/md0s3 with /usr/obj/nanobsd.NANOBSD//_.w/var/empty
(mounting on /usr/obj/nanobsd.NANOBSD//_.mnt)
newfs -b 4096 -f 512 -i 8192 -O1 -U -LNANOs3 /dev/md0s3
/dev/md0s3: 7.8MB (16065 sectors) block size 4096, fragment size 512
using 4 cylinder groups of 1.96MB, 503 blks, 256 inodes.
with soft updates
super-block backups (for fsck -b #) at:
 32, 4056, 8080, 12104
/usr/obj/nanobsd.NANOBSD//_.mnt/.
0 blocks
Filesystem 1K-blocks Used Avail Capacity iused ifree %iused  Mounted on
/dev/md0s3  78401  7212 0%   2  10200%  
/usr/obj/nanobsd.NANOBSD/_.mnt
Writing out _.disk.image...
dd: /dev/md0s1: Input/output error
12559+0 records in
12559+0 records out
823066624 bytes transferred in 58.897047 secs (13974667 bytes/sec)
Running exit trap code
Filesystem  1K-blocksUsed Avail Capacity iusedifree %iused 
Mounted on
/dev/ada0p2 379804760 7180384 342239996 2%  470776 236828222%   /
umount: /usr/obj/nanobsd.NANOBSD//_.mnt: not a file system root directory

Replacing the line

UsbDevice Generic 1000

with

FlashDevice SanDisk 1G

gives

Filesystem  1K-blocks   Used  Avail Capacity iused  ifree %iused  Mounted on
/dev/md0s1a982527 236354 66757026%4712 1225824%  
/usr/obj/nanobsd.NANOBSD/_.mnt
Generating mtree...
Creating /dev/md0s3 with /usr/obj/nanobsd.NANOBSD//_.w/var/empty
(mounting on /usr/obj/nanobsd.NANOBSD//_.mnt)
newfs -b 4096 -f 512 -i 8192 -O1 -U -LNANOs3 /dev/md0s3
/dev/md0s3: 1.5MB (3024 sectors) block size 4096, fragment size 512
using 4 cylinder groups of 0.37MB, 95 blks, 64 inodes.
with soft updates
super-block backups (for fsck -b #) at:
 32, 792, 1552, 2312
/usr/obj/nanobsd.NANOBSD//_.mnt/.
0 blocks
Filesystem 1K-blocks Used Avail Capacity iused ifree %iused  Mounted on
/dev/md0s3  14151  1301 0%   2   2521%  
/usr/obj/nanobsd.NANOBSD/_.mnt
Writing out _.disk.image...
15615+1 records in
15615+1 records out
1023386112 bytes transferred in 22.597459 secs (45287663 bytes/sec)

Any suggestions?

Thanks
Reinhard

nanobsd config:

NANO_NAME=NANOBSD
NANO_PMAKE=make -j 4
NANO_KERNEL=GENERIC
NANO_ARCH=i386
NANO_IMAGES=1
NANO_BOOTLOADER=boot/boot0
NANO_LABEL=NANO

CONF_BUILD='
NO_KLDLOAD=YES
NO_NETGRAPH=YES
NO_PAM=YES
'

CONF_INSTALL='
NO_BLUETOOTH=YES
NO_CVS=YES
NO_FORTRAN=YES
NO_HTML=YES
NO_LPR=YES
NO_MAN=YES
NO_SENDMAIL=YES
NO_SHAREDOCS=YES
NO_EXAMPLES=YES
NO_INSTALLLIB=YES
NO_CALENDAR=YES
NO_MISC=YES
NO_SHARE=YES
'

CONF_WORLD='
NO_MODULES=YES
NO_KERBEROS=YES
NO_GAMES=YES
NO_RESCUE=YES
NO_SYSCONS=YES
NO_INFO=YES
'
#USB Stick
UsbDevice Generic 1000

#FlashDevice SanDisk 1G

# allow root to login via SSH
customize_cmd cust_allow_ssh_root


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


nanobsd on usb-stick

2012-06-10 Thread Reinhard Haller
Hi,

I'm struggling with nanobsd (9.0). Tried with cd-rom (error 19).

The USB-Config (UsbDevice Generic 8000) with NANO_DRIVE=da0 contains no
real image and
dd if=...disk.full of=/dev/da0 bs=64k woks but is not mountable after
writing.

Is there any current and complete documentation how to use an usb-stick
with nanobsd?

Thanks
Reinhard



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


nfsen and localtime/strftime

2010-10-13 Thread Reinhard Haller
 Hi,

after my last update (freebsd 8.1 ports) nfsen spreads warnings on the
website:

*Warning*: localtime() [function.localtime
http://netflow.interactive.de/function.localtime]: It is not safe to
rely on the system's timezone settings. You are *required* to use the
date.timezone setting or the date_default_timezone_set() function. In
case you used any of those methods and you are still getting this
warning, you most likely misspelled the timezone identifier. We selected
'Europe/Berlin' for 'CEST/2.0/DST' instead in
*/usr/local/www/nfsen/nfsenutil.php* on line *257*

Any suggestions?

Thanks
Reinhard



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ipv6 network traffic monitoring -- searching a working probe software

2010-05-25 Thread Reinhard Haller
Hi,

currently I'm monitoring the network traffic with ng_netflow and
nfdump/nfsen is used to collect, display and analyze the network traffic.

I'm reviewing the tools to monitor ipv6. ng_netflow doesn't support ipv6
(is there a schedule to implement the needed protocol version 9?).
I tried it with softflowd, seeing there is a constant offset of
4294959.134 in the duration and the nfsen filtering (in/out  if x)
doesn't work at all.
YAF flows aren't recognized by nfsen.

Any suggestions how to monitor ipv6 traffic?

Thanks
Reinhard

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8.0 upgrade geometry does not match label

2010-04-30 Thread Reinhard Haller
Am 29.04.2010 16:29, schrieb Marcel Moolenaar:
 On Apr 29, 2010, at 6:07 AM, Reinhard Haller wrote:

   
 Hi,

 as far as I know my disk is not operating in dangerously dedicated mode.
 Despite this I'm unable to upgrade to freebsd 8.0.
 
 Please explain how or why you can't upgrade. The information you gave
 does not point towards any problems. All looks good.

 Also, the subject line mentions geometry does not match label, but
 you did not mention anything it in your email about it. Again, it
 by itself does not indicate a problem.

 Thanks,

   
the kernel reboots and one of the last lines contains the well known
geometry string and a bufwrite error -- and no entry in any logfile.
Currently I'm preparing a kernel with debugging enabled to track down
the issue. I don't believe the disk geometry problems are responsible
for the reboot, but having solved this issue should help.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


8.0 upgrade geometry does not match label

2010-04-29 Thread Reinhard Haller
Hi,

as far as I know my disk is not operating in dangerously dedicated mode.
Despite this I'm unable to upgrade to freebsd 8.0. Here is what the
gpart, mount, bsdlabel say.

gpart show
=   63  488397105  ad4  MBR  (233G)
 63  4883920021  freebsd  [active]  (233G)
  488392065   5103   - free -  (2.5M)

=0  488392002  ad4s1  BSD  (233G)
  02097152  1  freebsd-ufs  (1.0G)
2097152   16777216  2  freebsd-swap  (8.0G)
   18874368   16777216  4  freebsd-ufs  (8.0G)
   356515844194304  5  freebsd-ufs  (2.0G)
   39845888   83886080  6  freebsd-ufs  (40G)
  123731968  188743680  7  freebsd-ufs  (90G)
  312475648  175916354 - free -  (84G)

mount
/dev/ad4s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad4s1g on /jails (ufs, local, soft-updates)
/dev/ad4s1e on /tmp (ufs, local, soft-updates)
/dev/ad4s1f on /usr (ufs, local, soft-updates)
/dev/ad4s1d on /var (ufs, local, soft-updates)

bsdlabel ad4
bsdlabel: /dev/ad4: no valid label found

bsdlabel ad4s1
# /dev/ad4s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  2097152   634.2BSD0 0 0
  b: 16777216  2097215  swap
  c: 488392002   63unused0 0 # raw part,
don't edit
  d: 16777216 188744314.2BSD0 0 0
  e:  4194304 356516474.2BSD0 0 0
  f: 83886080 398459514.2BSD0 0 0
  g: 188743680 1237320314.2BSD0 0 0
partition c: partition extends past end of unit
bsdlabel: partition c doesn't start at 0!
bsdlabel: An incorrect partition c may cause problems for standard
system utilities

I remember problems with the initial sysinstall because of geometry
problems -- the only way to get FreeBSD installed was to dedicate all of
the available space to FreeBSD.

I've found a suggested solution to repair the mbr/label problem with

dd if=/dev/zero of=/dev/ad4 count=1 oseek=1

and a warning not trying it on boot disks.

Is there a better / safer solution around?

Thanks
Reinhard

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


[8.0R] vimage + virtual lan

2009-12-06 Thread Reinhard Haller
Hi,

I'm testing the virtual network stack in 8.0. I configured 2 jails in a
virtual lan. The documentation regarding vimage is not very detailed. 
I started with the following configuration:

/etc/rc.d/route6d start
setenv D1 /jails/dns1
mkdir -p $D1
setenv D2 /jails/dns2
mkdir -p $D2
cd /usr/src
make buildworld
make installworld DESTDIR=$D1
make distribution DESTDIR=$D1
cd $D1
find . | cpio -pmud $D2
mount -t devfs devfs $D1/dev
mount -t devfs devfs $D2/dev
jail -c vnet name=d1 host.hostname=dns1.intern.de path=/jails/dns1 persist
jail -c vnet name=d2 host.hostname=dns2.intern.de path=/jails/dns2 persist
ifconfig bridge0 create
ifconfig epair create
ifconfig epair create
ifconfig bridge0 inet6 fd08:e8a3:4825:10::1 addm epair0a addm epair1a up
ifconfig epair0b vnet 1
ifconfig epair1b vnet 2
jexec 1 csh
ifconfig epair0b inet6 fd08:e8a3:4825:10::11
route -n add -inet6 default fd08:e8a3:4825:10::1
exit
jexec 2 csh
ifconfig epair1b inet6 fd08:e8a3:4825:10::12
route -n add -inet6 default fd08:e8a3:4825:10::1
exit

Is this the suggested way to set up jails with vnet network stacks 
in a virtual lan?

Thanks
Reinhard
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


problem with check_dhcp in nagios

2009-07-23 Thread Reinhard Haller
Hi,

I'm trying to test the dhcp server with

./check_dhcp -i em1 -v

and got

DHCP socket: 3
Error: Couldn't get hardware address from em1. sysctl 2 error - No such
file or directory.

nagios 3.1.2
nagios-plugins 1,4,13,1
FreeBSD 7.2 (amd64)

Any suggestions?

Thanks
Reinhard Haller

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ng_netflow and ipv6

2009-07-23 Thread Reinhard Haller
Hi,

I'm monitoring the network traffic with ng_netflow and
collecting/displaying it with nfsen.

I'm missing ipv6 traffic (all ssh-traffic is going over ipv6) in the
filtered netflow output.
I've checked the netflow data with tcpdump/wireshark, there is no ipv6
netflow monitored.

My config:

FreeBSD 7.2 with netgraph included in kernel configuration

ngctl -f /usr/local/etc/netflow.conf is started after boot with the
following config:

mkpeer em0: netflow lower iface0
name em0:lower netflow
connect em0: netflow: upper out0
mkpeer netflow: ksocket export inet/dgram/udp
msg netflow:export connect inet/192.168.0.31:9996
connect em1: netflow: lower iface1
connect em1: netflow: upper out1
connect nfe0: netflow: lower iface2
connect nfe0: netflow: upper out2
msg netflow: setconfig {iface=0 conf=7}
msg netflow: setconfig {iface=1 conf=7}
msg netflow: setconfig {iface=2 conf=7}

Any suggestions?

Thanks
Reinhard Haller


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ipv6 aliases in rc.conf

2009-02-14 Thread Reinhard Haller
Hi,

I'm trying to add ipv6 aliases for my jails (7.1) in rc.conf.

ifconfig_lo0_alias0=inet 192.168.64.1 netmask 255.255.255.0
ifconfig_lo0_alias1=inet 192.168.64.2 netmask 255.255.255.255
ipv6_ifconfig_lo0_alias0=inet6 fd08:2548:a3e8:40::1 prefixlen 48
ipv6_ifconfig_lo0_alias1=inet6 fd08:2548:a3e8:40::2 prefixlen 128

The ipv6 aliases aren't configured as expected. I tried also  the  variants

ipv6_ifconfig_lo0_alias2=inet6 fd08:2548:a3e8:40::1 prefixlen 48

ipv6_ifconfig_lo0=inet6 alias fd08:2548:a3e8:40::1 prefixlen 48

without success. Btw the man page for rc.conf suggests the following
as replacement for the alias syntax (for ipv4):

ipv4_addrs_lo0=127.0.0.1/8 192.168.64.1-7/24
ipv6_addrs_lo0=::1/128 fe80::1/64 fd08:2548:a3e8:40::1-7/48

Which syntax is suggested and working for mixed ipv4/ipv6 aliases in
rc.conf?





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ipv6 ntp multicast address specification

2008-08-12 Thread Reinhard Haller

Hi,

what is the suggested address spec for manycastclient/manycastserver in 
ntp.conf?


manycastserver ff02::101
manycastserver ff02::101%em0
manycastserver ff02:1::101

manycastclient ff05::101

Thanks
Reinhard

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dhcp for ipv6

2008-08-11 Thread Reinhard Haller

Hi,

is there a working dhcp port for ipv6 which is able to populate dynamic 
zones in Bind and

deliver ipv4/ipv6 addresses to the clients?

Thanks
Reinhard

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


7.0b2 and Quantum DLT V4 Sata

2007-11-10 Thread Reinhard Haller

Hi,

I installed a Quantum DLT V4 Sata drive.

dmesg (GENERIC) reports:

ast0 FAILURE - MODE_SENSE ILLEGAL REQUEST asc=0x24 ascq=0x00 sks= 0x4d 
0x00 0x02


debian seems to accept the drive.

Any suggestions?

Thanks
Reinhard

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CDROM Sony CDU55E not detected

2007-10-17 Thread Reinhard Haller

Hi,

I recently installed freebsd 6.2 from cd. After the reboot the cdrom drive
wan't discovered.

Any suggestions?

Thanks
Reinhard

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]