Re: rc.conf.local question

2006-01-12 Thread Alexander Hall
Dave Feustel wrote: I added the statement dchpd_flags="-d sis0 sis1 sis2 sis3" to rc.conf.local, but dhcpd is not started at bootup. Is something else needed to get dhcpd started automatically? Why would you want the output to stderr when starting from /etc/rc? That could be your problem. On

Re: isakmpd debug syntax query

2006-01-12 Thread Alexander Hall
nuffnough wrote: Hi. I need to log the output of isakmpd -DA=90 to a file, and I am at a loss as to exactly what syntax to use. I am using OpenBSD 3.8 default shell (ksh now...) and trying stuff like isakmpd -T -DA=90 2>&1 > logfile which just gives me the reports for log levels but doens't

Re: isakmpd debug syntax query

2006-01-12 Thread Alexander Hall
nuffnough wrote: Hi. I need to log the output of isakmpd -DA=90 to a file, and I am at a loss as to exactly what syntax to use. I am using OpenBSD 3.8 default shell (ksh now...) and trying stuff like isakmpd -T -DA=90 2>&1 > logfile This would redirect stderr to stdout (screen) and stdout to

Re: mergemaster

2006-01-12 Thread Alexander Hall
Christian Weisgerber wrote: The questions is, what *do* people use for updating /etc? I use a (originally) small shell script that, if all parts are available works as follows: 1. Back up stuff 2. Extract the last etcXX.tgz to some temporary directory ("last") 3. Extract the new etcXX.tgz to

Re: Problem mounting msdos fs on usb device

2006-01-11 Thread Alexander Hall
Tilo Stritzky wrote: Hi, I just tried to get my brand new iaudio mp3-player to work with OpenBSD-current. I just bought one, too! U3, though. 1GB :-) ... and failed. Not me! When I plug it in it is properly recognized, fdisk and disklabel look just fine (see below). The sizes reported m

Re: problems compiling helloworld.cpp on openbsd3.8

2006-01-10 Thread Alexander Hall
Jeffrey R. Meyer wrote: Hello all, I have a recently built openBSD 3.8 machine and I wanted to be able to do some simple c++ programming on it. I wrote the following helloworld program: #include using namespace std; int main() { cout << "Hello World!\n"; } I installed the following p

Re: balancing traffic with two links

2005-12-19 Thread Alexander Hall
Marcos Marconcini wrote: I not sure, I saw someone ask a similar question some weeks ago, but mail from the openbsd list was incidentally deleted. /.../ With so many fine archives that should not be a problem, right? ;-d Here's one: http://marc.theaimsgroup.com/?l=openbsd-misc /Alexander

Re: ruby on rails derailed, chroot httpd reported DOA

2005-12-18 Thread Alexander Hall
Stuart Henderson wrote: On 12/18/05, Michael Steinfeld <[EMAIL PROTECTED]> wrote: any ideas? You're probably dealing with FAQ item #10.16: dealing with Apache's chroot() http://www.openbsd.org/faq/faq10.html#httpdchroot "/var/www/users/mike/rails/public/dispatch.fcgi" (pid 9195), chdir() f

Re: root / wheel login incorrect ??

2005-12-17 Thread Alexander Hall
Stefan Wvhrer wrote: Hi, .. I gotta very confusing problem running OpenBSD. I've installed OpenBSD at a mashine and where able to do anything I wanted to ( just have added an user in the wheel group an another in the user group ) Then I tried to log in from network as root via ssh. Didn't w

Re: pf rule

2005-12-14 Thread Alexander Hall
Alexander Hall wrote: You should propably use somthing like: block all pass out proto tcp from any to 10.0.0.1 port ssh Forgot to keep state; modulate state could be useful too: pass out proto tcp from any to 10.0.0.1 port ssh keep state /Alexander

Re: pf rule

2005-12-14 Thread Alexander Hall
raff wrote: Hello. i have 1 rule in my pf.conf, with wich i want to allow locally generated traffic ONLY to 10.0.0.1 and port 22: block out on $int_if proto {tcp,udp} from $int_ip to ! 10.0.0.1 \ port != 22 this rule allow to connect to only 10.0.0.1, BUT to any port instead only 22. A

Re: "arp -da" hangs my laptop

2005-12-08 Thread Alexander Hall
Alexander Hall wrote: Lately, I've been adding two new subnets to my internal LAN here, and from time to time I have had to run `arp -ad' to delete arp entries. (Or at least I have thought it would be userful.) However, every now and then after running that specific command, the co

"arp -da" hangs my laptop

2005-12-06 Thread Alexander Hall
Hi! Lately, I've been adding two new subnets to my internal LAN here, and from time to time I have had to run `arp -ad' to delete arp entries. (Or at least I have thought it would be userful.) However, every now and then after running that specific command, the computer has stopped respondin

Re: Something hosing my msdos/FAT32 file system

2005-11-27 Thread Alexander Hall
Pedro Martelletto wrote: On Sat, Nov 26, 2005 at 01:45:47AM -0800, Ted Unangst wrote: there may be a missing cache_purge in msdosfs_rename. I've looked at the code and yes, you're correct. There was a missing cache_purge() in msdosfs_rename(), and that fixed the issue for me. Alexander, can

Re: "FileSystem" versus "File System"

2005-11-26 Thread Alexander Hall
[EMAIL PROTECTED] wrote: J.C. Roberts wrote: The think I found interesting is that HIER(7) uses the term "filesystem" without a space, while other man pages use "file system" with a space. Other documentation on the OpenBSD.org web site also shows both spellings are used in fairly equal measu

Re: Something hosing my msdos/FAT32 file system

2005-11-25 Thread Alexander Hall
Pedro Martelletto wrote: On Sat, Nov 26, 2005 at 12:57:06AM +0100, Alexander Hall wrote: $ dd if=/dev/zero of=msdos_fs bs=1024 count=1024 $ sudo vnconfig vnd0 msdos_fs $ sudo newfs_msdos /dev/rvnd0c $ sudo mount_msdos -m 777 -l /dev/vnd0c /mnt/test/ $ cd /mnt/test $ mkdir a aa ab $ find

Re: Something hosing my msdos/FAT32 file system

2005-11-25 Thread Alexander Hall
A long time ago, Pedro Martelletto wrote: Alexander, can you please try to build a test-case that rules out NFS, if at all possible? I ran into this just this week while moving stuff like crazy. Succeeded to boil stuff down to a very limited set of operations that fscks things up. I run test

Re: New idea on CPU fan problem

2005-11-25 Thread Alexander Hall
PARAMVIR DHINDSA wrote: It's not very clear. May you please elaborate on that. Actually I want to know whether I can replace the kernel (generic kernel of OpenBSD with that of floppy37.fs one) No. The kernel on the floppy is a ramdisk kernel, so swapping /bsd with it would not work. /Ale

Re: New idea on CPU fan problem

2005-11-24 Thread Alexander Hall
PARAMVIR DHINDSA wrote: Date : Nov 25, 2005 Dear Sir, I want to know whether I can replace the generic kernel included in the OpenBSD distribution with Kernel included in the bootable(installat

Re: additional features in bsd.rd

2005-11-24 Thread Alexander Hall
Stuart Henderson wrote: (echo "cd /pub/incoming put |dmesg dmesg.txt") | ftp -a some.server I still can't work out how to pipe the output directly through ftp but this is better and less confusing anyway. Thanks for the prod. Something like { echo "put - kalle"; cat; } | ftp -a localhos

bugtracker is getting spammed

2005-11-22 Thread Alexander Hall
I just noticed a lot of "cannot mount cf/sd card with usb adapter and could cause panic" reports on the bugtracker. Some misconfigured mailserver possibly? Just notifying since It's been going on for a while. Is anyone on it? /Alexander

adjtime and settimeofday

2005-11-17 Thread Alexander Hall
From looking through the kernel code, it does not seem that settimeofday(2) resets the action of a previous call to adjtime(2). Would it not be reasonable to assume that to happen? I see four possibilities: 1. It does reset it. I am wrong. And blind. 2. No, it is not reasonable. (Why?) 3. It w

Slow system clock

2005-11-17 Thread Alexander Hall
I'm getting a lot of these in /var/log/daemon: Nov 17 06:51:57 birger ntpd[11807]: adjusting local clock by 0.171021s Nov 17 08:10:53 birger ntpd[11807]: adjusting local clock by 0.269530s Nov 17 08:17:04 birger ntpd[11807]: adjusting local clock by 0.165216s Nov 17 08:57:51 birger ntpd[11807]: a

Re: Booting without keyboard

2005-11-15 Thread Alexander Hall
Mailinglist wrote: can someone tell me how to set up openbsd running without a keyboard? Is the answer not in http://www.openbsd.org/faq/faq7.html ? If not, you need to be more specific.

Re: FTPd and MFS

2005-11-14 Thread Alexander Hall
knitti wrote: have something like the following in your rc.local: mount_mfs -s size /dev/wd0b /home/user cp -R /home/userx/* /home/user/ Or something like this in /etc/fstab: /dev/wd0b /home/user mfs rw,nodev,nosuid,-P=/home/userx,-s=10 /Alexander

Re: timekeeping on Soekris net4801 w/ ntpd. 3.8

2005-11-14 Thread Alexander Hall
J Moore wrote: OpenNTPd is working as expected. It is using adjtime(2) to skew the clock, not set it -- in your case, it is slowing it down until it is synced. Hmmm... OK - I read man for adjtime(2), and I appreciate your explanation with skewing vs setting. However, the output says "adjusti

Re: timekeeping on Soekris net4801 w/ ntpd. 3.8

2005-11-14 Thread Alexander Hall
Moritz Grimm wrote: Alexander Hall wrote: You might be interested in the -s switch of ntpd, which is set by default by rc(8). Not any longer. It was removed again to not tempt people to interrupt the booting process via CTRL+C in case it hangs for the one or other reason. It's easy t

Re: timekeeping on Soekris net4801 w/ ntpd. 3.8

2005-11-14 Thread Alexander Hall
J Moore wrote: I just installed 3.8 on a Soekris net4801 that's been laying around for a while (unused, unpowered). I noticed after install that time was off by like 5 months, so I set it to within a few minutes of current time/date from the wall clock. I've been checking the logs, and this i

Re: OpenBSD Desktop Document

2005-11-11 Thread Alexander Hall
Lawrence Teo wrote: Roy Morris wrote: May I suggest shortening the tarball extraction command in the "Installing Open Office 2.0" section... From this: A. gzip -d Ooo_2.0.0_LinuxIntel_install.tar.gz; \ tar -xvf Ooo_2.0.0_LinuxIntel_install.tar To this: A. gzip -cd Ooo_2.0.0_L

Re: Can't set environment variable on OpenBSD 3.8

2005-11-08 Thread Alexander Hall
Tomas wrote: I cant set environment variable on OpenBSD 3.8. I issue command env testvar=var and I get printout with all the environment variables: PS1=# ... testvar=var And after that I issue command env and I get printout without my testvar: PS1=# ... What could I be doing wrong? env

Re: OT: Compact Flash Longevity; was Re: dd image file to compact flash takes very long

2005-11-08 Thread Alexander Hall
Matt Garman wrote: Has anyone else out there been brave enough to go rw on their CF cards? Results? I have been brave (read: lazy) enough to keep my Soekris running with a single root partition mounted r/w on my (home) gateway Soekris box since i got it for my birthday in June (how pleased

Re: know any neat tricks for 2 * dhclient?

2005-10-26 Thread Alexander Hall
Graham Toal wrote: I could force the traffic from one interface to the other with pf and a route-to option, but only if I know which interface the dhcp server is connected to. Since I cannot make that assumption (it depends on where in the network the bridge is inserted) I can't see a solution.

Re: Migrating to a new HD

2005-10-26 Thread Alexander Hall
Han Boetes wrote: It started with my HD failing to sync when I was rebooting. And some odd errormessages I saw. So I was holding my breath hoping for it to be something else or just an incident. DejC!-vC9. You are describing my laptop with its crappy Hitachi hard drive. But it only got worse.

Re: mount_null

2005-10-26 Thread Alexander Hall
Jonas Carlsson wrote: In what ways will I suffer if I simply re-enable null mounts to bring some discspace from /home into my apache chroot on a much smaller /var partition? I've used this solution without problems for a few versions. Maybe you won't suffer at all, maybe you get corrupted file

Re: mounting MS-DOS disk in a USB floppy drive?

2005-10-09 Thread Alexander Hall
James Hartley wrote: I'm unable to mount a MS-DOS disk within a USB floppy drive on OpenBSD 3.7/i386. disklabel doesn't recognize the MS-DOS filesystem either: There was a thread about disklabels and floppys not too long ago. I don't think a disklabel is used for floppys, since you seldom (

Re: FileSystem Corruptions? Very important Files at stake.

2005-10-08 Thread Alexander Hall
Justin Wong wrote: Hi, I was wondering if you could help me. ... Some of these files are photographs of my now deceased grandfather and are very important. After some disasters here, although in my/our case caused by human errors, I have written two programs that scans a file of choice for 1)

Re: Add a PF rule from the command line

2005-10-08 Thread Alexander Hall
Roy Morris wrote: I would like to be able to add/remove a rule from the command line on those systems which may have only a ram drive and or read only pf.conf. Anyone know how to do it, or would you need to create a new pf.conf in memory someplace and then load it? Maybe using anchors is the wa

Re: Something hosing my msdos/FAT32 file system

2005-09-28 Thread Alexander Hall
Pedro Martelletto wrote: It should be of no surprise that if you don't step up and report an issue, it won't get fixed. As I did not know if it was an issue or if I had done something stupid myself, I never filed a report. I have never claimed I did so. I was wondering what hosed my filesyste

Re: Something hosing my msdos/FAT32 file system

2005-09-28 Thread Alexander Hall
frantisek holop wrote: i think mount_msdos should be disabled as of now. it is/was causing me too much grief... i don't understand how can be the quality of the vfat file system so bad in openbsd. it does not go hand in hand with the great quality and stability of the system. if nobody cares to

Re: is there a way to block sshd trolling?

2005-09-28 Thread Alexander Hall
Rico wrote: I am using this 'table persist file "/root/pf/sshdhackers"' I don't get any entries in the sshdhackers file and I don't get blocked from the system. A table modification is not automatically added to the file the table was once populated from. Use # pfctl -t sshdtrolls -T sho

Re: disk is full

2005-09-27 Thread Alexander Hall
Dulmandakh Sukhbaatar wrote: Alexander Hall wrote: Dulmandakh Sukhbaatar wrote: Few days ago I installed new OBSD system, which has /, /var and /usr. Today I found out that /usr is not mounted and all the /usr stuffs installed in /. When I tried to extract src.tar.gz something was wrong. I

Re: disk is full

2005-09-27 Thread Alexander Hall
Dulmandakh Sukhbaatar wrote: Few days ago I installed new OBSD system, which has /, /var and /usr. Today I found out that /usr is not mounted and all the /usr stuffs installed in /. When I tried to extract src.tar.gz something was wrong. I have /dev/wd0d, which is not used and free. Mounted it

Re: customizing /etc/daily.local

2005-09-21 Thread Alexander Hall
frantisek holop wrote: hi there, i would like to use /etc/daily.local for flushing some pf tables. kripel> cat /etc/daily.local #!/bin/sh echo "flushing bad_ssh: " pfctl -t bad_ssh -T flush i don't run sendmail, so i modified root's crontab: 30 1 * * * /bin/sh

Re: Wifi + wired laptop

2005-09-21 Thread Alexander Hall
Edd Barrett wrote: ... Thats exactly what I do right now. I have a script with the suid bit set that i can run to switch interfaces. Its the suid bit I dont like. > ... Maybe you would feel more comfortable using sudo, if it is just that suid bit that annoys you?

Re: VirtualHost and SSL in httpd.conf

2005-09-20 Thread Alexander Hall
Jasper wrote: Hi All, I've configured the httpd.conf file the following: # General setup for the virtual host DocumentRoot "/home/jabal/public_html" ServerName mercatortrading.nl ServerAdmin [EMAIL PROTECTED] ErrorLog logs/ssl_error_log TransferLog logs/ssl_access_log *snip* DocumentRoo

Re: Something hosing my msdos/FAT32 file system

2005-09-15 Thread Alexander Hall
Ted Unangst wrote: On Wed, 14 Sep 2005, Alexander Hall wrote: I think that bad stuff happens when I move directories around. Windows checkdisk (at boot time) once complained about a lot of "." and ".." directory entried that were invalid. I cannot recall if this was

Re: Something hosing my msdos/FAT32 file system

2005-09-14 Thread Alexander Hall
Forgot this: $ grep wd0 /etc/fstab /dev/wd0k /mnt/images msdos rw,nodev,nosuid,noexec,-m=0777,-l 0 0 $ mount | grep wd0 /dev/wd0k on /mnt/images type msdos (NFS exported, local, nodev, noexec, nosuid, mask=0777, long) I (Alexander Hall) wrote: Hi all. I wonder if anyone has any idea what

Something hosing my msdos/FAT32 file system

2005-09-14 Thread Alexander Hall
Hi all. I wonder if anyone has any idea what could be hosing my msdos file system. The file system itself is "necessary" since I occasionally need to dual-boot with windows. However, in this case, I do not believe that windows is causing my problems. The problem that arises is that some dire

Re: OpenBSD website Design.

2005-09-09 Thread Alexander Hall
Dave Feustel wrote: I have not seen a sitemap for openbsd.org. Is there one? If not, how hard would it be to create one and add a link to the website for it? What about http://www.openbsd.org/cgi-bin/cvsweb/www/ ? :-)

Re: adding a partition, fdisk, disklabel, and other fun

2005-09-07 Thread Alexander Hall
Bruno Rohee wrote: On Wed, Sep 07, 2005 at 09:20:51AM +0200, Alexander Hall wrote: Not that I have an issue with this now, but would it be possible to extend the current A6 partition and then update the disklabel accordingly, if there is free space is directly after, or could/will this hose

Re: adding a partition, fdisk, disklabel, and other fun

2005-09-07 Thread Alexander Hall
Ted Unangst wrote: On Tue, 6 Sep 2005, Kelly Martin wrote: I've got an A6 primary partition with various /usr and /var style partitions within. Pretty standard, but I ran out of disk space. I added a second primary A6 partition in the freespace of the same disk using fdisk, but don't do thi

Re: ccdconfig not giving me all available space?

2005-09-02 Thread Alexander Hall
Ted Unangst wrote: > you have to leave room for the real disk labels. > > sd1: |label--| > sd2: |label--| > ccd0:|label--| > > if you set things up like above, the sd labels get trounced. I am just astonished about the above explanation. So

Re: adding configure time flags to a port build?

2005-08-23 Thread Alexander Hall
stan wrote: I need to rebuild Amanda to help using it in a situation where soem of the clients are behind a firewall. To do this I need to pass a couple of arguments to configure. I've been suing the standard port build for Amanda on the OpenBSD machines. Can I somehow add thes flags to the port

Re: howto determine boot device?

2005-07-04 Thread Alexander Hall
Uwe Werler wrote: hi, is it possible to determine, after the kernel has loaded, from which device it has booted? regards uwe # grep "^root on " /var/run/dmesg.boot ...will tell you where root is situated if that's what you're after. Don't know if it's possible to know (for sure) which boot(8

Re: more file descriptors for user www

2005-06-15 Thread Alexander Hall
eric wrote: On Tue, 2005-06-14 at 13:05:54 +0200, Alexander Hall proclaimed... Create a new class (e.g. www or httpd) and use sudo (as root) to run httpd using that new class. What the hell are you talking about? Just change the www users' class and modify /etc/login.conf. It will

Re: more file descriptors for user www

2005-06-14 Thread Alexander Hall
-f wrote: i have processes running as www, eating up file descriptors. after a while i get errors because i need more. this is not about serving pages, this is about processes which run as www. so how can i raise the number of file descriptors for www? can be this done from /etc/login.conf ? i

Re: Network performance

2005-05-26 Thread Alexander Hall
Henning Brauer wrote: * Philip Olsson <[EMAIL PROTECTED]> [2005-05-20 21:34]: More Mhz. Not crappy nics, get xl,fxp,dc etc. Or maybe gigabit nics like em(4). xl is crap. sk is probably the best you can get currently. and they are amazingly cheap. Can anyone comment on the fxp cards and dr

Re: BIOS/hw/OS limitations and hw RAID

2005-05-18 Thread Alexander Hall
Nick Holland wrote: On Wed, May 18, 2005 at 03:46:48PM +0200, Alexander Hall wrote: Hello, Does BIOS and/or hardware and/or OS limitations on disk size apply when using a hw RAID card (in my case, the LSI MegaRaid 150-4). If so, which ones? I assume the "root within 504M" does, bu

Re: BIOS/hw/OS limitations and hw RAID

2005-05-18 Thread Alexander Hall
Stuart Henderson wrote: --On 18 May 2005 15:46 +0200, Alexander Hall wrote: Does BIOS and/or hardware and/or OS limitations on disk size apply when using a hw RAID card (in my case, the LSI MegaRaid 150-4). If so, which ones? I assume the "root within 504M" does, but is there anythi

BIOS/hw/OS limitations and hw RAID

2005-05-18 Thread Alexander Hall
Hello, Does BIOS and/or hardware and/or OS limitations on disk size apply when using a hw RAID card (in my case, the LSI MegaRaid 150-4). If so, which ones? I assume the "root within 504M" does, but is there anything else to think about? If there is, would configuring a few smaller virtual disk

Re: LSI MegaRAID 150-4 (a.k.a. LSI/Symbios 523)

2005-05-17 Thread Alexander Hall
Alexander Hall wrote: Per-Olov Sjvholm wrote: LSI 150-4 works like a charm (OpenBSD 3.6 + driver cleanup patches from CVS)... I have many of them. Both in 32 and 64 bit slots. Now I use it on some OpenBSD 3.7 installations as well. What can I say... I wont buy any adaptec cards ;-) /Per-Olov

Re: LSI MegaRAID 150-4 (a.k.a. LSI/Symbios 523)

2005-05-15 Thread Alexander Hall
Per-Olov Sjvholm wrote: LSI 150-4 works like a charm (OpenBSD 3.6 + driver cleanup patches from CVS)... I have many of them. Both in 32 and 64 bit slots. Now I use it on some OpenBSD 3.7 installations as well. What can I say... I wont buy any adaptec cards ;-) /Per-Olov So they work well in 32-

<    3   4   5   6   7   8