Re: Bourne shell if syntax

2013-06-11 Thread Christoph Kukulies
On 10.06.2013 20:53, lcon...@go2france.com wrote: script fragment: PTR=`dig @some.dns +short +norec -x a.b.c.d` echo $PTR if [ $PTR ==] ; then Use something like (== is wrong, btw.) #!/bin/sh if [ X$1 = X ] ; then echo foo fi -- Christoph echo $PTR

Re: 5.25 floppy drive

2010-10-02 Thread Christoph Kukulies
changed significantly since Joerg Wunsch and Bruce Evans worked on them in the early FreeBSD days back in 1995 :) -- Christoph Am 01.10.2010 19:18, schrieb Warren Block: On Fri, 1 Oct 2010, Christoph Kukulies wrote: I'm in the need of reading some data from old 5.25 floppy media (1.2MB). I lent 2

5.25 floppy drive

2010-10-01 Thread Christoph Kukulies
I'm in the need of reading some data from old 5.25 floppy media (1.2MB). I lent 2 drives from neighbour institutes at the university and after having recalled that the floppies have to be enabled in the BIOS I'm now seeing the fd0 device in dmesg (FreeBSD 8.0 RELEASE). I can do a dd

Re: copying a disk with ignoring errors

2010-07-06 Thread Christoph Kukulies
Am 05.07.2010 21:39, schrieb Polytropon: On Mon, 05 Jul 2010 16:09:23 +0200, Christoph Kukuliesk...@kukulies.org wrote: I tried PHKs' recoverdisk with recoverdisk -b 1024000 /dev/ad2 ad2.dmp and it went off quite promising just few dma read timeouts and when I was at 7% of recovery it

Re: copying a disk with ignoring errors

2010-07-05 Thread Christoph Kukulies
Am 06.01.2010 02:30, schrieb Polytropon: On Tue, 05 Jan 2010 15:31:46 +0100, Christoph Kukuliesk...@kukulies.org wrote: It copies a disk sector by sector to a file (kind of dd), but ignores errors, it just skips sectors it couldn't read (after a couple of retries). The result was, that

FreeBSD splash screen - freezes my Dell Inspiron 9400

2010-04-01 Thread Christoph Kukulies
not sure whether it is a splash screen issue at all, butr I thought so, since it would have come up earlier otherwise. -- Christoph Kukulies ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: dd cloning slightly different disks

2010-03-31 Thread Christoph Kukulies
partition of whatever OS uses it to include this lost space -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Christoph Kukulies Sent: Tuesday, March 30, 2010 8:48 AM To: freebsd-questions@freebsd.org Subject: dd

Re: dd cloning slightly different disks

2010-03-31 Thread Christoph Kukulies
5344.4 12.4 -- Christoph Christoph Kukulies schrieb: Thanks, Peter and all others. Indeed, in contrary to the expected, I went into my office this morning, swapped the HD against the SSD, and was able to boot both FreeBSD, Windows without a hitch or any other tweaking. The dd over USB 2.0

dd cloning slightly different disks

2010-03-30 Thread Christoph Kukulies
Though not 100% FreeBSD centric, my question, I know that disk partitioning experts are around here. My noteook HD is a WD 5000BEVT, (500GB). Today I bought a Kingston SDnowV+ Solid State drive, 512GB, with the intention to make my notebook a bit faster. It's an Intel Core 2 Duo, 7400 CPU.

Re: dd cloning slightly different disks

2010-03-30 Thread Christoph Kukulies
Jerry McAllister schrieb: On Tue, Mar 30, 2010 at 05:47:44PM +0200, Christoph Kukulies wrote: Though not 100% FreeBSD centric, my question, I know that disk partitioning experts are around here. My noteook HD is a WD 5000BEVT, (500GB). Today I bought a Kingston SDnowV+ Solid State drive

md5 of /dev/acd0

2010-03-08 Thread Christoph Kukulies
I was trying to determine a md5sum from a DVD I had inserted into a FreeBSD 8.0 on my Dell Inspiron 9400 notebook. I thought dd if=/dev/acd0 | md5 would work but I got Invalid argument. Trying dd if=/dev/acd0 bs=1048k | md5 worked in so far that it didn't yield an error but after the DVD

Re: Cannot boot FreeBSD (8.0) from USB stick (Dell Inspiron 9400)

2010-01-23 Thread Christoph Kukulies
Fbsd1 schrieb: Christoph Kukulies wrote: I don't know why you shout. (?) Not shouting, just making my inserted comments visible within the old post as in different from bottom or top posting. Ok, writing in capitals is normally treated as shouting (see netiquette) or only allowed when

Re: Cannot boot FreeBSD (8.0) from USB stick (Dell Inspiron 9400)

2010-01-22 Thread Christoph Kukulies
I don't know why you shout. (?) Fbsd1 schrieb: Christoph Kukulies wrote: Fbsd1 schrieb: Christoph Kukulies wrote: I installed FreeBSD 8.0 on an USB-stick and was able to boot it on my Desktop PC and install 8.0 from it. DO YOU MEAN YOU INSTALLED THE 8.0 ISO ON A USB STICK. BOOTED FROM

Re: Cannot boot FreeBSD (8.0) from USB stick (Dell Inspiron 9400)

2010-01-22 Thread Christoph Kukulies
Here is some more info: The file I copied to the USB stick was ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.0/8.0-RELEASE-i386-memstick.img Actually, I don't remember how I got the image to the USB stick. I believe I used a free tool from HP from within Windows XP. I will

Cannot boot FreeBSD (8.0) from USB stick (Dell Inspiron 9400)

2010-01-21 Thread Christoph Kukulies
I installed FreeBSD 8.0 on an USB-stick and was able to boot it on my Desktop PC and install 8.0 from it. Now I plugged the same stick into my Dell Inspiron 9400 and the USB stick (2GB) is not even listed in the F12 Bios boot menu. Any clues? -- Christoph

Re: Cannot boot FreeBSD (8.0) from USB stick (Dell Inspiron 9400)

2010-01-21 Thread Christoph Kukulies
Fbsd1 schrieb: Christoph Kukulies wrote: I installed FreeBSD 8.0 on an USB-stick and was able to boot it on my Desktop PC and install 8.0 from it. Now I plugged the same stick into my Dell Inspiron 9400 and the USB stick (2GB) is not even listed in the F12 Bios boot menu. Any clues

Re: Salvage files from harddrive

2010-01-19 Thread Christoph Kukulies
Your computers date/time is wrong. It's dated in the future. -- Christoph jeffry killen schrieb: Thank you in advance for guidance, suggestions. JK ___ freebsd-questions@freebsd.org mailing list

Re: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-19 Thread Christoph Kukulies
Paul B Mahol schrieb: Argh sorry, you need to use: create_args_wlan0=wlanmode hostap Yep, it works now: rc.conf: wlans_rum0=wlan0 create_args_wlan0=wlanmode hostap network_interfaces=lo0 rl0 wlan0 # List of network interfaces (or auto). ifconfig_lo0=inet 127.0.0.1 # default loopback

Re: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Christoph Kukulies
Paul B Mahol schrieb: On 1/15/10, Christoph Kukulies k...@kukulies.org wrote: I'm not sure wether syntax has changed but I wanted to cretae an wlan acess point and tried various things. Under 7.0 I got it working with the following command ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid

Re: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Christoph Kukulies
, 2010 at 3:43 PM, Christoph Kukulies k...@kukulies.orgwrote: Paul B Mahol schrieb: On 1/15/10, Christoph Kukulies k...@kukulies.org wrote: I'm not sure wether syntax has changed but I wanted to cretae an wlan acess point and tried various things. Under 7.0 I got it working

Re: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Christoph Kukulies
Paul B Mahol schrieb: On 1/18/10, Christoph Kukulies k...@kukulies.org wrote: Craig Butler schrieb: On Mon, 2010-01-18 at 16:25 +0100, Samuel Martín Moro wrote: in my rc.conf: ifconfig_rum0=DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid ReseauWIFI Maybe your problem

Re: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Christoph Kukulies
Craig Butler schrieb: ifconfig_wlan0=10.0.0.1/24 wlanmode hostap ssid OFFICE wepmode on wepkey 0xf00baaf00baaweptxkey 1 channel 1 erm missing inet ??? missing space between the wepkey and weptxkey ?? This only was a cut/paste error in the email text, not actually in the rc.conf. But I

rum0 acting as an Access point (belkin router) 8.0 R

2010-01-15 Thread Christoph Kukulies
I'm not sure wether syntax has changed but I wanted to cretae an wlan acess point and tried various things. Under 7.0 I got it working with the following command ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE wepmode on wepkey 0xf00baf00ba weptxkey 1 channel 1 I tried this

Re: copying a disk with ignoring errors

2010-01-12 Thread Christoph Kukulies
be getting a replacement in a few weeks. But before I'll giv back that disk I would like to erase the disk thoroughly. Now, is the a way to do that in the opposite direction? Would dd noerror do that? Christoph Kukulies schrieb: Thanks to all. recoverdisk was the one, indeed. phk

Re: copying a disk with ignoring errors

2010-01-06 Thread Christoph Kukulies
Thanks to all. recoverdisk was the one, indeed. phk was the original author. And that was the one that already helped me once. Maybe I could have searched the archives also and would have been able to find that previous message a couple of years ago. I also found by searching archives,

copying a disk with ignoring errors

2010-01-05 Thread Christoph Kukulies
I recall a case when I had a hard disk that had got bad sectors and it wasn't accessible through normal mounting anymore. Then a tool came into the game that - I believe - Poul Henning had recommended or written for this purpose. It copies a disk sector by sector to a file (kind of dd), but

7.1 rum0 belkin USB AP

2009-04-06 Thread Christoph Kukulies
I'm in the need of getting a FreeBSD box acting as a router for a 11b wlan. It seemed to have worked with 11g but the Dell treumobile card which is in an older Inspiron 8000 only seems to understand 11b. It doesn't seem to connect to the wlan my FreeBSD is offering at the moment with the belkin

mod_php5 and apache22

2009-03-24 Thread Christoph Kukulies
I moved a site from some FreeBSD 5.2 or something (with apache2 and mod_php5 at that time, about 3 years old) to 7.1 (Beta though) and apache22. Now I don't find something that looks like mod_php5 in /usr/ports/www. Has that changed somehow? -- Christoph Kukulies

phpBB3, php5 and mysql

2009-03-24 Thread Christoph Kukulies
. Is there some module or driver to be compiled in? I installed php5 now from ports with the apache mod_php5 module being installed. Any help welcome, -- Christoph Kukulies ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

libxml-2-7-3 (php5 pkg_add)

2009-03-23 Thread Christoph Kukulies
I wanted to do a pkg_add -r php5 under 7.1 Beta1 and got a warning: pkg_add: warning: package 'php5-5.2.8' requires 'libxml2-2.7.3', but 'libxml2-2.6.32' is installed Should I care and if, how do I repair this? -- Christoph Kukulies

7.1 mysql-server-60 stalls

2009-03-20 Thread Christoph Kukulies
I did a pkg_add -r mysql60-server and then # mysql_install_db --user=mysql Installing MySQL system tables... 090320 17:11:24 [Note] Falcon: unable to open system data files. 090320 17:11:24 [Note] Falcon: creating new system data files. ^T ^T load: 0.01 cmd: mysqld 1028 [uwait] 0.01u 0.01s 0%

wlan disappears on rum0

2008-11-28 Thread Christoph Kukulies
have no idea right now when it disappears or why. Could it be that some nightly periodic is causing this? -- Christoph Kukulies ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send

Re: wlan disappears on rum0

2008-11-28 Thread Christoph Kukulies
Mel schrieb: On Friday 28 November 2008 11:25:34 Christoph Kukulies wrote: Could it be that some nightly periodic is causing this? Easy to rule out by running periodic daily by hand, when it's not 3am in the morning. Easier said than done. /etc/periodic/daily/ is a bunch

vnconfig virtual nodes - how is that done nowadays in 7.x?

2008-11-13 Thread Christoph Kukulies
or whatever that is called now. -- Christoph Kukulies ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-12 Thread Christoph Kukulies
Christoph Kukulies schrieb: Hi, don't know whether it's the CDROM drive (a Creative 52x mx) or the motherboard (ASUS P4S8X) or what. Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) and the installation hangs right in the boot process of the installation CD disc1. I see

Re: 7.1-BETA2 installation from floppies - has anyone tried lately?

2008-11-06 Thread Christoph Kukulies
In the vein of getting a way to install FreeBSD 7.1-BETA2 onto my SATA IDE drive (otherwise still running 5.2.1. from IDE drives) I found in the seek of other methods to bootstrap myself, that the boot floppy hangs after asking for kern1 floppy. Could that be just bad media or could it have

hit some FS/slice size limit?

2008-11-06 Thread Christoph Kukulies
I partitioned my Seagate 500 GB Sata drive under the FreeBSD 7.1 sysinstall (booted from the install CD while having the drive attached to USB on my notebook). When creating the filesystems I chose 472 G for the / partition (wanted to put everything into one partition - yeah, I know, one

Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-05 Thread Christoph Kukulies
Christoph Kukulies schrieb: Hi Al, thanks for pointing me to safe mode install. That I will probably try tomorrow. The day ended up in havoc: I tried to boot a floppy to do an ASUS BIOS upgrade and somehow messed with the power cable. A big flash occurred originating from the power supply. I

Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-05 Thread Christoph Kukulies
Christoph Kukulies schrieb: Christoph Kukulies schrieb: Hi Al, thanks for pointing me to safe mode install. That I will probably try tomorrow. The day ended up in havoc: I tried to boot a floppy to do an ASUS BIOS upgrade and somehow messed with the power cable. A big flash occurred

Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Christoph Kukulies
burner hoping to get along with this. -- Christoph Kukulies (and I'm still unable to burn a CD/DVD) On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote: Hi, don't know whether it's the CDROM drive (a Creative 52x mx) or the motherboard (ASUS P4S8X) or what. Anyway, I tried to install

Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Christoph Kukulies
Christoph Kukulies schrieb: Julien Cigar schrieb: I've this problem too on almost all my machines. The only solution I've found is to disable DMA (atapi_dma), but then performances are very poor What I've found is enable/disable IDE Master in the BIOS settings. I disabled it to no avail

Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Christoph Kukulies
, Christoph Kukulies wrote: Hi, don't know whether it's the CDROM drive (a Creative 52x mx) or the motherboard (ASUS P4S8X) or what. Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) and the installation hangs right in the boot process of the installation CD disc1. I see acd0

7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Christoph Kukulies
MEDIUM ERROR asc=0x11 ascq=0x00 run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config and so on. Any clues? -- Christoph Kukulies

fastest raw device copy?

2008-10-31 Thread Christoph Kukulies
Hi list, I'm considering using a bootable USB stick with FreeBSD to perform a backup of my notebooks' 500 GB hard disk to a physically identical (same make, same type, same size) hard disk attached to USB. What would be the fastest way to do that sector by sector copy? I'm using dd right

Re: fastest raw device copy?

2008-10-31 Thread Christoph Kukulies
Ivan Voras schrieb: Jeremy Chadwick wrote: On Fri, Oct 31, 2008 at 09:48:16AM +0100, Christoph Kukulies wrote: What would be the fastest way to do that sector by sector copy? I'm using dd right now, dd if=/dev/ad0 of=/dev/da0 bs=1000 On the flip side, your

Re: fastest raw device copy?

2008-10-31 Thread Christoph Kukulies
Christoph Kukulies schrieb: Ivan Voras schrieb: Jeremy Chadwick wrote: On Fri, Oct 31, 2008 at 09:48:16AM +0100, Christoph Kukulies wrote: What would be the fastest way to do that sector by sector copy? I'm using dd right now, dd if=/dev/ad0 of=/dev/da0 bs=1000

Re: fastest raw device copy?

2008-10-31 Thread Christoph Kukulies
Jeremy Chadwick schrieb: On Fri, Oct 31, 2008 at 03:36:02PM +0100, Christoph Kukulies wrote: Ivan Voras schrieb: Jeremy Chadwick wrote: On Fri, Oct 31, 2008 at 09:48:16AM +0100, Christoph Kukulies wrote: What would be the fastest way to do that sector

Re: fastest raw device copy?

2008-10-31 Thread Christoph Kukulies
Jerry McAllister schrieb: On Fri, Oct 31, 2008 at 09:48:16AM +0100, Christoph Kukulies wrote: Hi list, I'm considering using a bootable USB stick with FreeBSD to perform a backup of my notebooks' 500 GB hard disk to a physically identical (same make, same type, same size) hard disk

could not determine fs type - fsck

2006-05-08 Thread Christoph Kukulies
I replaced a disk that had trouble with fsck in a 5.3 system and connected it to a 5.2.1 system for further examinaton. starting fsck /dev/ad3 gave me an error: could not determine file system type. Had there been some change in FS right between FreeBSD 5.2 and 5.3 such that either systems

tun0, firewall, natd

2004-07-19 Thread Christoph Kukulies
Somehow I haven´t yet managed to get my FreeBSD 5.2 current system boot up smoothly with initiatiying the network properly. I´m running ADSL and tun0 doesn´t seem to be initialized when the firewall rules are being applied and when natd ist started. I´m getting an error socket not available or

natd, ipfw and MS netmeeting

2004-06-03 Thread Christoph Kukulies
I have problems getting a MC netmeeting seession established across a FreeBSD gateway (5.2-current). Anyway, the prsent (simple) natd rules don't seem to suffice. Does anyone have a set of rules to accomplish this? Thanks. -- Chris Christoph P. U. Kukulies kuku_at_kukulies.org

tr A-Z a-z

2004-05-07 Thread Christoph Kukulies
Strange: I was used to do upper case lower case conversion always like this and it suddenly doesn't work anymore: $ echo Z | tr [A-Z] [a-z] ÿ -- Chris Christoph P. U. Kukulies kuku_at_kukulies.org ___ [EMAIL PROTECTED] mailing list

firewall settings and dhcpd

2004-04-25 Thread Christoph Kukulies
I'm getting this in my log/messages: Apr 25 13:25:42 mybox dhcpd: send_packet: Permission denied Could it be that a certain firewall setting or something missing would be causing this? -- Chris Christoph P. U. Kukulies kuku_at_kukulies.org ___ [EMAIL

majordomo question

2004-04-23 Thread Christoph Kukulies
I was trying to find out why I din't receive any mail from the freebsd-java list and sent a which command to majordomo at freebsd.org but didn't get me listed with my email address. That's strange since I'm definitely subscribed to a couple of lists and I'm receiving messages. -- Chris

USB stick

2003-09-08 Thread Christoph Kukulies
Hi, I inserted an USB stick into a 5.1 FreeBSD box and was pleasantly surprised to see it being autodetected: umass0: UrDisk USB FLASH DISK, rev 1.10/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: UrDisk USB FLASH DISK 1.00 Removable Direct Access SCSI-2 device da0: 1.000MB/s

FreeBSD fdisk/sysinstall

2003-08-09 Thread Christoph Kukulies
I tried to invoke sysinstall to write an additional FreeBSD slice to the disk I was currently booted from. I intentionally chose the W option to write the changes since I didn't want to do an installtion. But I got an error that I could not write to the disk. Why is that? Because I'm booted from

grub and FreeBSD

2003-08-07 Thread Christoph Kukulies
I was trying to do a grub-install /dev/ad0 but only get /dev/ad0 does not have any corresponding BIOS drive -- Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de ___ [EMAIL PROTECTED] mailing list

cvsup tag for 4.8-STABLE?

2003-06-27 Thread Christoph Kukulies
I wanted to cvsup src-all from 4.8-STABLE and tried with *default release=cvs tag=RELENG_4 Is this correct? The cvsup went fine but building the src tree resulted in errors. First I got some from some multiply defined typedef (first make world). Then I did a 'make includes' FWIW, and the

Bad IP version for 1.44.2.5

2002-11-24 Thread Christoph Kukulies
Strange, I kill -HUP inetd and get the following: Nov 24 20:44:50 host inetd[201]: bad IP version for 1.44.2.5 Any clues? (FreeBSD 4.4) -- Chris Christoph P. U. Kukulies [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message

xmcd - rcd0 YAMAHA CRW4260

2002-07-18 Thread Christoph Kukulies
I ran xmcd on a different CD drive today in my 4.5 system since racd0c wasn't available for the moment and got the following errors: CD audio: (pass2:ncr0:0:5:0): READ SUB-CHANNEL. CDB: 42 2 40 0 0 0 0 0 30 0 (pass2:ncr0:0:5:0): ILLEGAL REQUEST asc:24,0 (pass2:ncr0:0:5:0): Invalid field in CDB