RE: How to use Bochs?
I have installed Bochs successfully from ports. At first, I planned to install Windows in Bochs, but soon I found that Bochs needed to be configured before functioning properly. How to configure? I have no idea. I visited the homepage of Bochs just now, but with no gains. I strongly suggest you to give qemu a try. It installs from ports including a bios and I already successfully booted e.g. the netbsd installation cd from in it under FreeBSD5.4. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: RTCoreBSD
Hi, I found this real-time OS based on BSD: http://www.sdcsystems.com/realtime-linux.htm#rtcorebsd I m wondering what technology they used to make FreeBSD as a real-time OS. I thought kqueue/kevent is a key component? any comment? Thanks Sam I think it's just that *old* rtlinux concept of having a hard real time kernel and running the operating system as some kind of an idle task above that. As far as I remember FSMLabs earlier press information talked about using NetBSD for that. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: RTCoreBSD
Hi, I found this real-time OS based on BSD: http://www.sdcsystems.com/realtime-linux.htm#rtcorebsd I m wondering what technology they used to make FreeBSD as a real-time OS. I thought kqueue/kevent is a key component? any comment? Thanks Sam I think it's just that *old* rtlinux concept of having a hard real time kernel and running the operating system as some kind of an idle task above that. As far as I remember FSMLabs earlier press information talked about using NetBSD for that. Does current version of FreeBSD uses real-time scheduler at the kernel? If it does, which part of the code (in /usr/src) contains those code? Depends on what you mean. FreeBSD is no rtos, but has rtprio(1). It allows to have fixed process priorities in contrast to the usual 'varying' unix priorites. But it is still possible for a high priority process to be blocked by a lower priority process entering a system call for a non-deterministic amount of time. This is at least so for 4.X, but may be less true for 6.X whith the kernel becoming more and more preemptable. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: make clean install
cd /usr/ports/x11/kde3/ make clean install It took a long time to fetch and install some files so I had to interrupt the transfer coz I had to go home already When issue the following cd /usr/ports/x11/kde3/ make clean install Will it resume to the part where I interrupted or will it start the whole thing over again? Or do you have some suggestions to resume it You should issue 'make install clean' if you want to resume where you interrupted. Norebrt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: interrupt issue, storm on parallel port, 5.4
Hello, I've got a printserver that has an hp deskjet printer attached via parallel port. I just got an email with the following message: Interrupt storm detected on irq7: lpt0; throttling interrupt source I've checked lpt0 in dmesg and this error didn't come up then, do i have to worry about this? This is on a 5.4-p1 system, if so is there a fix? Thanks. Dave. I have a similar problem with my hp laserjet. Setting sysctl hw.intr_storm_threshold to a higher value seems to help. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: antivir-milter question
I've read the docs on antivir-milter, installed it, set it up to verify downloaded updates with gpg, tested it to see if it's checking mail with eicar, everything's working fine. Only thing is, I'd like it to show in my messages that they've been checked for viruses I can't seem to get it do that. I know that the AddXHeader setting only works in commercial version, but it says if you set the ModifySubject to YES that it'll show up, as I understand it, appended to the subject. I did that restarted it but still no notice. Any ideas/help appreciated. Denny White Just an idea: run antivir through amavis-milter, as amavis is possibly a bit more configurable. The port is security/amavisd-new. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: installing a HP Photosmart 7350 usb printer
System : 5.4-REL-#6 I've installed cups (via ports) and downloaded the .ppd file from linuxprinting.org so I could use it in the kde-printer wizard. No problem so far. I can see and modify the settings also via localhost:631. When printing, the cups error-log sais : stopped with status 2 !. So I've changed the level to debug (see below pls). The file gets in /var/spool/cups/ but nothing gets printed on paper :-( What still goes wrong ? Thx for any help. D [03/Aug/2005:16:16:33 +0200] AcceptClient: 7 from localhost:631. D [03/Aug/2005:16:16:33 +0200] ReadClient: 7 POST /printers/HPPhotosmart7350 HTTP/1.1 D [03/Aug/2005:16:16:34 +0200] print_job: auto-typing file... D [03/Aug/2005:16:16:34 +0200] print_job: request file type is application/postscript. D [03/Aug/2005:16:16:34 +0200] check_quotas: requesting-user-name = 'beni' D [03/Aug/2005:16:16:34 +0200] print_job: requesting-user-name = 'beni' D [03/Aug/2005:16:16:34 +0200] Adding default job-sheets values none,none... I [03/Aug/2005:16:16:34 +0200] Adding start banner page none to job 8. I [03/Aug/2005:16:16:34 +0200] Adding end banner page none to job 8. I [03/Aug/2005:16:16:34 +0200] Job 8 queued on 'HPPhotosmart7350' by 'beni'. D [03/Aug/2005:16:16:34 +0200] Job 8 hold_until = 0 D [03/Aug/2005:16:16:34 +0200] StartJob(8, 0x8091000) D [03/Aug/2005:16:16:34 +0200] StartJob() id = 8, file = 0/1 D [03/Aug/2005:16:16:34 +0200] job-sheets=none,none D [03/Aug/2005:16:16:34 +0200] banner_page = 0 D [03/Aug/2005:16:16:34 +0200] StartJob: argv = HPPhotosmart7350,8,beni,file:///,1,multiple-document-ha ndling=separate-documents-collated-copies orientation-requested=3,/var/spool/cups/d8-001 D [03/Aug/2005:16:16:34 +0200] StartJob: envp[0]=PATH=/usr/local/libexec/cups/filter:/bin:/usr/bin D [03/Aug/2005:16:16:34 +0200] StartJob: envp[1]=SOFTWARE=CUPS/1.1 D [03/Aug/2005:16:16:34 +0200] StartJob: envp[2]=USER=root D [03/Aug/2005:16:16:34 +0200] StartJob: envp[3]=CHARSET=iso-8859-1 D [03/Aug/2005:16:16:34 +0200] StartJob: envp[4]=LANG=en D [03/Aug/2005:16:16:34 +0200] StartJob: envp[5]=PPD=/usr/local/etc/cups/ppd/HPPhotosmart7350.ppd D [03/Aug/2005:16:16:34 +0200] StartJob: envp[6]=CUPS_SERVERROOT=/usr/local/etc/cups D [03/Aug/2005:16:16:34 +0200] StartJob: envp[7]=RIP_MAX_CACHE=8m D [03/Aug/2005:16:16:34 +0200] StartJob: envp[8]=TMPDIR=/var/spool/cups/tmp D [03/Aug/2005:16:16:34 +0200] StartJob: envp[9]=CONTENT_TYPE=application/postscript D [03/Aug/2005:16:16:34 +0200] StartJob: envp[10]=DEVICE_URI=usb:/dev/ulpt0 D [03/Aug/2005:16:16:34 +0200] StartJob: envp[11]=PRINTER=HPPhotosmart7350 D [03/Aug/2005:16:16:34 +0200] StartJob: envp[12]=CUPS_DATADIR=/usr/local/share/cups D [03/Aug/2005:16:16:34 +0200] StartJob: envp[13]=CUPS_FONTPATH=/usr/local/share/cups/fonts D [03/Aug/2005:16:16:34 +0200] StartJob: envp[14]=CUPS_SERVER=localhost D [03/Aug/2005:16:16:34 +0200] StartJob: envp[15]=IPP_PORT=631 D [03/Aug/2005:16:16:34 +0200] StartJob: statusfds = [ 8 9 ] D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[1] = [ 10 -1 ] D [03/Aug/2005:16:16:34 +0200] StartJob: filter = /usr/local/libexec/cups/filter/pstops D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[0] = [ 11 12 ] D [03/Aug/2005:16:16:34 +0200] start_process(/usr/local/libexec/cups/filter/pstops, 0xbfbef340, 0xbfbee6b0, 10, 12, 9) I [03/Aug/2005:16:16:34 +0200] Started filter /usr/local/libexec/cups/filter/pstops (PID 17668) for job 8. D [03/Aug/2005:16:16:34 +0200] StartJob: filter = /usr/local/libexec/cups/filter/foomatic-rip D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[1] = [ 10 13 ] D [03/Aug/2005:16:16:34 +0200] start_process(/usr/local/libexec/cups/filter/foomatic-rip, 0xbfbef340, 0xbfbee6b0, 11, 13, 9) I [03/Aug/2005:16:16:34 +0200] Started filter /usr/local/libexec/cups/filter/foomatic-rip (PID 17669) for job 8. D [03/Aug/2005:16:16:34 +0200] StartJob: backend = /usr/local/libexec/cups/backend/usb D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[0] = [ -1 11 ] D [03/Aug/2005:16:16:34 +0200] start_process(/usr/local/libexec/cups/backend/usb, 0xbfbef340, 0xbfbee6b0, 10, 11, 9) I [03/Aug/2005:16:16:34 +0200] Started backend /usr/local/libexec/cups/backend/usb (PID 17670) for job 8. D [03/Aug/2005:16:16:34 +0200] ProcessIPPRequest: 7 status_code=0 D [03/Aug/2005:16:16:34 +0200] CloseClient: 7 D [03/Aug/2005:16:16:34 +0200] [Job 8] /usr/local/libexec/cups/filter/foomatic-rip: No such file or directory D [03/Aug/2005:16:16:34 +0200] [Job 8] Page = 595x842; 10,36 to 585,833 D [03/Aug/2005:16:16:34 +0200] [Job 8] slowcollate=0, slowduplex=0, sloworder=0 D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%BoundingBox: 0 0 595 842 D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Creator: KDE 3.4.1 HTML Library D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Title: file:/// D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%CreationDate: Wed Aug 3 16:16:30 2005 D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Orientation: Portrait D
RE: using distcc
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Antoine Solomon Sent: Monday, August 01, 2005 8:59 PM To: [EMAIL PROTECTED] Subject: using distcc I just wanted to know if anyone ever used distcc with freebsd... I had some problems setting up and would like to know how anyone else setup their systems... Thanks -- Antoine W. Solomon Jr. I'm successfully running distcc in combination with ccache on two FreeBSD-4.11 boxes. What problems do you have? Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: KDE in FreeBSD
Hello. Explain how to adjust please dial-up connection in KDE about the help kppp? I have made all as it is necessary but by pressing connect there is a tablet modem is busy . The modem does not react. -- Best regards, Sergey mailto:[EMAIL PROTECTED] In the announcement/change list for KDE 3.4.2 at kde.org I read this: kppp: fixed PPP interface check on FreeBSD and possibly other systems So I'd suggest you to wait for 3.4.2 becoming the official port. The FreeBSD KDE team seems to be quite fast, so I'd expect this to be a question of days only. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Dead disk? READ_DMA Failure
I have a one year old Hitachi Travelstar 60GB/4200RPM disk. This night and since then, I get these errors: ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=48926527 ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=48926527 ad0: FAILURE - READ_DMA timed out or ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=50299455 ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=50299455 The LBA number varies, but otherwise it is consistent. Eventually the device is removed from /dev and no disk is accessible, although mount shows mounted devices. I have booted in single user mode and run fsck manually multiple times to correct all found errors, most errors are on /, /usr and some on /var, yet the problem reappears. I have tried to reinstall, toggling newfs to recreate /, /usr and /var hoping that any bad blocks or sectors would be removed or marked unusable. But the problem remains. Is there a way I can reformat or fix the disk so that broken areas will not be used again? Please, how far from the grave are my data? Any suggestion on which new drive to choose? I have looked at Western Digital Scorpio WD600VE 60 GB. Given the mentioned error, does this indicate an error that would be covered by standard guarantee? after all the disk is just one year old... The system: FreeBSD 5.4, Epia Mini-ITX CL1000, 256MB RAM, 60 GB HDD. Hello, I've seen these error messages too. And also WRITE_DMA TIMEOUT! You may have a hardware problem, but I'm not convinced. I had these messages on _new_ computers from time to time. After updating from 5.2 to 5.3, 5.4 it seems to have gone for me. But that's obviously not the case for you. I've read on a list to try to disable acpi, but that does not help. A collegue of mine sees this even with his dvd! I've had it with a plain ata drive (maxtor) using udma100 and with a promise ata raid controller (wd drives) at udma66. All _new_ hardware! I can't tell you if it is some 5.X specific problem. But the systems I am running under 4.11 never had these problems. Is there someone on this list with similar experiences? Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problem with isc-dhcp3-server and etherboot
after upgrading isc-dhcp3-server to 3.0.3, my etherboot bootprom (5.4.0, PXE) stopped working. It reports No IP Address. Has anyone else observed this? (I will also report this to the etherboot ML). I just upgraded to 3.0.3. I can only report to have no problems with etherboot 5.2.4. After downgrading the package to 3.0.1.r14_6, etherboot is working again. Some questions concerning portupgrade: - Is there any way to downgrade to a previous version? (In this case i was lucky that there still was an old binary package) sysutils/portdowngrade - Is there any config file i can change to make '-b' the default for portupgrade? I don't know that switch to make. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: make buildworld error
I keep getting the following on a 4.9 system when trying to move to 4.11. rm -f sa main.o pdb.o usrdb.o sa.8.gz sa.8.cat.gz rm -f .depend GPATH GRTAGS GSYMS GTAGS === usr.sbin/setkey .depend, line 1: Need an operator .depend, line 2: Need an operator .depend, line 3: Need an operator .depend, line 4: Need an operator .depend, line 6: Need an operator .depend, line 7: Need an operator .depend, line 8: Need an operator .depend, line 9: Need an operator .depend, line 10: Need an operator .depend, line 11: Need an operator .depend, line 12: Need an operator .depend, line 13: Need an operator .depend, line 14: Need an operator .depend, line 15: Need an operator .depend, line 16: Need an operator .depend, line 17: Need an operator .depend, line 18: Need an operator .depend, line 19: Need an operator .depend, line 20: Need an operator .depend, line 21: Need an operator .depend, line 22: Need an operator make: fatal errors encountered -- cannot continue Anyone offer some advice? I've tried updating my source again - I even went as far as nuking my /usr/src directory and re-fetching it. Are you trying to use gmake instead of the original bsd make? 'make -v' should give you 'make: no target to make' If you use gmake, you see something like GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Port Scan
Does anyone know what could be causing this? Some of these are probes from external IP's, but a lot of these are the servers probing itself. Connection attempt to TCP 127.0.0.1:80 from 127.0.0.1:65215 flags:0x02 Connection attempt to TCP 127.0.0.1:80 from 127.0.0.1:65215 flags:0x02 Connection attempt to TCP 127.0.0.1:80 from 127.0.0.1:65215 flags:0x02 Connection attempt to TCP 127.0.0.1:80 from 127.0.0.1:65215 flags:0x02 Connection attempt to TCP 127.0.0.1:80 from 127.0.0.1:65215 flags:0x02 Connection attempt to TCP 127.0.0.1:80 from 127.0.0.1:65215 flags:0x02 Connection attempt to TCP 127.0.0.1:80 from 127.0.0.1:65215 flags:0x02 Connection attempt to TCP 127.0.0.1:80 from 127.0.0.1:65215 flags:0x02 squid http proxy? Connection attempt to UDP 206.123.80.170:1026 from 218.66.104.140:38828 Connection attempt to UDP 206.123.80.170:1027 from 218.66.104.140:38828 Connection attempt to UDP 206.123.80.170:137 netbios-ns request to a samba server? Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: sysctl deadmantimer
In the BSD/OS there is a kernel countdown counter that can be used to reboot the machine in case of lock. It´s called deadmantimer. I used to put a cron entry to preset this counter every 3 min, so if it goes to zero the server is rebooted. In the past it save me some times. Is there anything like this in Freebsd? Have a look at watchdogd(8). Only available under 5X and above. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD 6
Is it just me or is -O2 now the default for kernel builds? What about -Os, safe to use? As I understand the gcc description, -Os is -O2 with options turned off that possibly lead to increased code size. So it should work. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD 6
As far as -O2 as the default for the kernel... I thought it was more important to have a small kernel then a faster but fatter one. The smaller the kernel the more you can put in L1,2, and 3 cache and the smaller the program the less it needs to hit ram, swap, and hard disk? Just my opinion. I am not sure if, under realistic conditions, -O2 is better than -Os. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: DNS settings in FreeBSD?
Yet, where is the DNS setting? If not in this file, which file does this setting reside in? /etc/resolv.conf P.S.: In solaris, I can use dos2unix to transfer txt file from DOS/Windows format to Unix format, what is the corresponding command in FreeBSD? The same. Just install it from ports. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: defragmentation in FreeBSD 4.11
How one could defragment a partition on FreeBSD ? Which tools are available for this ? None as I know. Usually there is no reason to defragment a ufs partition. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: question PPP FreeBSD
In an installation time of system I have not set parameters PPP. Whether it is possible to set them now when the system is installed? /etc/ppp/ppp.conf /usr/share/examples/ppp man 8 ppp (for userland ppp) Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: QUESTION.
I am trying to get BSD 5 on my system. I copied the image file on the CD, but cant get the system to boot form the CD. I have tried changing the boot order, but still does not work. I was wondering if I need to copy an additional file, like a boot.ini file to make the system boot form the image CD. Awaiting your reply. Thank you. You can't just copy the image file to the cd. What tool are you using to burn your cds. You should use a function to directly burn iso images to cd. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Samba without Cups ?
So for samba, you just need to make with WITHOUT_CUPS=1 and samba 3 with WITH_CUPS=0, either on the make line or through pkgtools.conf (portupgrade). I think that's not quite correct. For samba 3 you should just 'make'. WITH_CUPS=0 defines the symbol, and that's what is checked for in the Makefile, not the value. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Where to put scripts ?
I have a short script for Flexbackup ; #!/bin/sh # Backup using Flexbackup /bin/rm -f /data/IT/Backup_Log/data* /usr/local/bin/flexbackup -newtape /usr/local/bin/flexbackup -dir /data /usr/bin/mt -f /dev/sa0 rewind /usr/bin/mt -f /dev/sa0 offline I put this in /usr/bin/ and made exec In crontab I put ; # Flexbackup Nightly Backup Job 0 2 * * 1-5 root/usr/bin/backup If I run the script manually at the prompt it works perfectly and a new log is written to /data/IT/Backup_Log/ - Great ! (From flexbackup.conf $logdir = '/data/IT/Backup_Log'; # directory for log files) If cron runs it, the old log is rm'ed but no new one is written ??? Is it something to do with paths / perms ? Look into crontab(5). There is a section about the environment settings. My idea is that flexbackup calls some program w/o full path. Is flexbackup a shell/perl/* script? Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: First post
Dears, I'm newbie.I believe that BSD as server Linux as desktop. Now,I have a machine that i wanna install FreeBSD5.4,Slackware10.1,Debian Sarge windows on it. Of course,I installed slackware WinXP on it. Please explian me on multiboot process. Yours,Mohsen. Look here: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/multi-os/index.html Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: question FreeBSD
Norbert Koch [EMAIL PROTECTED] wrote: FreeBSD Disklabel Editor Disk: ad0 Partition name: ad0S2 Free: 0 blocks (0Mb) Part Mount SizeNewfs - - ad0s1 none20002 DOS ad0s2a / 128 UFS Y ad0s2b swap 503 swap ad0s2e /var 256 UFS+S Y ad0s2f /tmp 256 UFS+S Y ad0s2g /usr 6919UFS+S Y How to mount ad0s1? After you have finished your installation do this: # mkdir /dos # mount_msdosfs /dev/ad0s1 /dos To make that permanent you may add an entry in /etc/fstab(5). I've had problems with it on 5stable with putting it in fstab. I tend to have to manual fsck it every time on boot if I put it in there. I've found it to be better to write a quick little rc.d script to mount and unmount it. What kind of problems, because my mixed-os computers are just configured this way? Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: question FreeBSD
Norbert Koch [EMAIL PROTECTED] wrote: FreeBSD Disklabel Editor Disk: ad0 Partition name: ad0S2 Free: 0 blocks (0Mb) Part Mount SizeNewfs - - ad0s1 none20002 DOS ad0s2a / 128 UFS Y ad0s2b swap 503 swap ad0s2e /var 256 UFS+S Y ad0s2f /tmp 256 UFS+S Y ad0s2g /usr 6919UFS+S Y How to mount ad0s1? After you have finished your installation do this: # mkdir /dos # mount_msdosfs /dev/ad0s1 /dos To make that permanent you may add an entry in /etc/fstab(5). I've had problems with it on 5stable with putting it in fstab. I tend to have to manual fsck it every time on boot if I put it in there. I've found it to be better to write a quick little rc.d script to mount and unmount it. What kind of problems, because my mixed-os computers are just configured this way? Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: First post
Dears, I'm newbie.I believe that BSD as server Linux as desktop. Now,I have a machine that i wanna install FreeBSD5.4,Slackware10.1,Debian Sarge windows on it. Of course,I installed slackware WinXP on it. Please explian me on multiboot process. Yours,Mohsen. Look here: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/multi-os/index.html Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: First post
Dears, I'm newbie.I believe that BSD as server Linux as desktop. Now,I have a machine that i wanna install FreeBSD5.4,Slackware10.1,Debian Sarge windows on it. Of course,I installed slackware WinXP on it. Please explian me on multiboot process. Yours,Mohsen. Look here: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/multi-os/index.html Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: question FreeBSD
Norbert Koch [EMAIL PROTECTED] wrote: FreeBSD Disklabel Editor Disk: ad0 Partition name: ad0S2 Free: 0 blocks (0Mb) Part Mount SizeNewfs - - ad0s1 none20002 DOS ad0s2a / 128 UFS Y ad0s2b swap 503 swap ad0s2e /var 256 UFS+S Y ad0s2f /tmp 256 UFS+S Y ad0s2g /usr 6919UFS+S Y How to mount ad0s1? After you have finished your installation do this: # mkdir /dos # mount_msdosfs /dev/ad0s1 /dos To make that permanent you may add an entry in /etc/fstab(5). I've had problems with it on 5stable with putting it in fstab. I tend to have to manual fsck it every time on boot if I put it in there. I've found it to be better to write a quick little rc.d script to mount and unmount it. What kind of problems, because my mixed-os computers are just configured this way? Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: What to do when panic?
I've never debugged FreeBSD, but now I've decided to help the testing process of FreeBSD 6. I installed it, and then I had a panic. I got a debugger prompt, but I don't know what to do with that. I don't know the debugger commands. Please let me know what should I do when I have an another panic. What should I type and what kind of information should I send as a PR. You should also have a look at http://www.lemis.com/grog/Papers/Debug-tutorial/tutorial.pdf. That's Greg Lehey's script of his excellent tutorial on kernel debugging. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Strange securelevel
Hi, after playing a bit with securelevel i found a very strange one (well, i thought there will be just -1, 0, 1, 2 and 3). But look at this: #sysctl kern.securelevel kern.securelevel: 2147483647 Thats the highest securelevel i found on my FreeBSD 5.4-RELEASE. So, whatr does it mean? Getting electro shocks when touching the mouse and/or keyboard? And, the man page ha to be rewritten, to explain the rest of the 2147483644 securelevel. No, serious, is this a bug, or what? Well, that's 0x7FFF. That means a little less than 2^31 securelevels to document. And I'm expecting this to be about 2^63 for 64 bit systems ;-) Someone please correct me if I'm wrong, but as I understand sysctl_kern_securelvl() in kern_mib.c, it does not disallow setting the securelevel so high. It only disallows to lower it. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: question FreeBSD
FreeBSD Disklabel Editor Disk: ad0 Partition name: ad0S2 Free: 0 blocks (0Mb) Part Mount SizeNewfs - - ad0s1 none20002 DOS ad0s2a / 128 UFS Y ad0s2b swap 503 swap ad0s2e /var 256 UFS+S Y ad0s2f /tmp 256 UFS+S Y ad0s2g /usr 6919UFS+S Y How to mount ad0s1? After you have finished your installation do this: # mkdir /dos # mount_msdosfs /dev/ad0s1 /dos To make that permanent you may add an entry in /etc/fstab(5). Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: /etc/exports - a strange restriction
I'd like to share some directories hierarchy under /usr file system, but I don't want to share all /usr at all. On these lines in /etc/exports: /usr/tinderbox -ro -alldirs -maproot=0:0 localhost i get an error message: mountd[347]: -alldirs requested but /usr/tinderbox is not a filesystem mountpoint Why so strict restriction? As far as I know, it is a restriction of the nfs specification. If you only want to export a single directory, you could e.g. use mount_null/mount_nullfs(8). Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: /etc/exports - a strange restriction
Norbert Koch wrote: /usr/tinderbox -ro -alldirs -maproot=0:0 localhost As far as I know, it is a restriction of the nfs specification. If you only want to export a single directory, you could e.g. use mount_null/mount_nullfs(8). Well, in my example remote host is localhost. But if I need to share files on a network? I think I don't understand your problem here: /usr -ro -alldirs -maproot=0:0 -network 192.168.0.0 -mask 255.255.0.0 for an export into the local network 192.168.0.0/16. /usr -ro -alldirs -maproot=0:0 192.168.1.2 for an export to a specific host. I've made a quick look at RFC1813 but could not find this restriction. But why this restriction anyway for? It's very unconvenient. I am no nfs expert. May be it is not a specification restriction but an implementation restriction. But all references I found about /etc/exports always speak about exporting a file system, not a directory. And that seems to be so for other operating systems too. So if I understand you right, this may work (for FreeBSD 5.x): # mkdir /tinderbox # mount_nullfs /usr/tinderbox /tinderbox # echo '/tinderbox -ro -alldirs -maproot=0:0 any_local_or_remote_host' /etc/exports An other way to export /usr/tinderbox and all sub-directories is to specify _all_ of them in /etc/exports but w/o the -alldirs switch, e.g.: /usr/tinderbox /usr/tinderbox/dirA /usr/tinderbox/dirB -ro -maproot=0:0 any_host See also the FreeBSD handbook chapter about nfs. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: suicidally ambitious compilation?
I'm thinking of setting up a jail specifically to try and compile an OpenBSD release on FreeBSD. No 'cross compiling' will be involved (same target hardware architecture). Has anybody here ever tried, or heard of anybody trying this? I don't expect the journey to be without large potholes... That won't work. A jail is not something like vmware. It's just a FreeBSD inside a FreeBSD. I used emulators/qemu to install NetBSD into an image file from the installation cd. That worked for me as long as I did not try to start X inside qemu. So I think that OpenBSD will work too. (Interestingly the Knoppix live-cd runs emulated even in graphics mode!) Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: suicidally ambitious compilation?
I'm thinking of setting up a jail specifically to try and compile an OpenBSD release on FreeBSD. No 'cross compiling' will be involved (same target hardware architecture). Has anybody here ever tried, or heard of anybody trying this? I don't expect the journey to be without large potholes... That won't work. A jail is not something like vmware. It's just a FreeBSD inside a FreeBSD. I used emulators/qemu to install NetBSD into an image file from the installation cd. That worked for me as long as I did not try to start X inside qemu. So I think that OpenBSD will work too. (Interestingly the Knoppix live-cd runs emulated even in graphics mode!) Hi. I should have explained myself a little better. What I'm actually trying to do is compile a minimal OpenBSD snapshot so that I can distribute binaries to my very slow firewall machine (which also lacks a compiler, for security reasons). The jail is purely there because the OpenBSD compilation process seems to make the assumption that it's working in /usr/src so I thought it would be a good idea to partition the process off from the rest of the system. Although I think it is possible, to build OpenBSD under FreeBSD, I wouldn't try it. The problem is to correctly re-create the _complete_ OpenBSD build environment. That means compiler, linker, make, and other tools that may be used for building. For the compiler, that means to build a cross compiler. The cpu may be the same, but gcc is always configured for a combination of operating system/target cpu/binary format. And you have to find out what gcc version OpenBSD is usually been built with. Other tools may differ in behaviour or command line options. For example, may be FreeBSD is using a gnu tool while OpenBSD is using a non-gnu tool. What about e.g. make? There is make and gmake under FreeBSD. So again I suggest you try the qemu solution (or buy an additional computer ;-). Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: promiscuous mode enabled
Hi! I see this in dmesg.today: rl0: promiscuous mode enabled rl0: promiscuous mode disabled rl0: promiscuous mode enabled rl0: promiscuous mode disabled rl0: promiscuous mode enabled rl0: promiscuous mode disabled I dont understand, way my network card enter and out from promiscuous mode. My card is: rl0: RealTek 8139 10/100BaseTX port 0xec00-0xecff mem 0xeb203000-0xeb2030ff irq 18 at device 19.0 on pci0 miibus2: MII bus on rl0 rlphy0: RealTek internal media interface on miibus2 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Two possible reasons: dhcpd tcpdump Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ps -awux
When I run the command ps -awux from a user's bash shell(not root), it's listing the processes under the particular user only. Can anyone tell me why? see 'sysctl security.bsd.see_other_uids' Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ps -awux
sysctl security.bsd.see_other_uids sysctl: unknown oid 'security.bsd.see_other_uids' Did you try that as root? What is your FreeBSD version (uname -a)? Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Auto Reboot on Panic?
I would like the box to dump core and reboot on a panic. I think I have set the box up to do this, but on the last panic it didn't reboot. I followed the information at http://www.bsdatwork.com/2002/03/29/system_panics_part_1/, and I have compiled a kernel with makeoptions DEBUG=-g, options KDB, options KDB_UNATTENDED. /etc/rc.conf has these lines: dumpdev=/dev/ad6s1b, dumpdir=/usr/local/var/crash. The box has 768M of RAM, ad6s1b has at least that much space, and is configured as swap. Can anybody tell me what I have forgotten to do to make the box reboot on a panic? Many thanks in advance, Warren Hello. From my understanding of the kernel options: options PANIC_REBOOT_WAIT_TIME=xx # seconds before reboot options KDB_UNATTENDED # only required if compiled with kernel debugger # options RESTARTABLE_PANICS # should not be set May be, you should also set kern.shutdown.kproc_shutdown_wait in sysctl.conf to some reasonable time. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: `Content-Transfer-Encoding' SendMail
I have SendMail configured with the Smart_Host directive: define(~SMART_HOST'. `my.isp.com') since they are blocking out bound port 25. This works well. The problem I am experiencing is that all mail sent this way has the following in the email header: Content-Transfer-Encoding: quoted-printable I do not want to use that encoding specifically at all times. Even when set within my mail program for something else, such as 8-bit, it is still converted to the above format. What can I do to prevent this from happening? From my naive understanding of the smtp protocol I think that your sendmail and your provider's sendmail|qmail|postfix ask each other about supported encodings. When I telnet to my mail provider's port 25 and manually submit an EHLO I see a list of 250 responses. One shows me '250 8bitmime'. So I'd suggest you test this with your provider. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Three questions...
Q1: I have two drives, laid out as follows: Drive 1 /ad0a WinXP, NTFS, 16.06GB, primary /ad0e data, NTFS, 12.58GB, extended Drive 2 /ad1a currently empty, 14.36GB, primary (installation target) /ad1e /ad0 backup, NTFS, 14.27GB, extended I'd like to use XP's NTLDR to manage the dual boot process. I've seen the following trick for Linux ( www.redhat.com/advice/tips/dualboot.html): - Boot into Linux, copy the first sector of the boot partition as follows: dd if=/dev/hdb of=/bootsect.lnx bs=512 count=1 - Move bootsect.lnx to WinXP root (C:\), and add the following line to boot.ini: C:\bootsect.lnx=Linux Does this approach work with FreeBSD? Logic says it should, given the similarities, but when has logic applied consistently to computers? As I understand, you try to install from the second hard disk. When I last tried this (using FreeBSD 4) it did not work such way, because I found that in FreeBSD's boot sector code the drive number is hard-coded. So you would have to go to the source directory, change the drive number, assemble the boot sector and put it to drive C. This worked for me. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Can't access to gmail (maybe a port problem with ipfw)
Hi everybody. I'm trying to access gmail from my FreeBSD box (5.4). I'm usinf IPFW. The question is I can acces if I set ipfw to accept all from any to any, so I know there's a port that should be opened to access the main page of gmail. When the firewall is up (allowing only traffic through ports 21, 80 and above 1024) I can't even acces gmail main page (mozilla simply ignores the address I give it) Post your firewall configuration. You should at least have a rule to allow any tcp from your box to the world. Here is an fragment from my home computer's firewall rules: ... pass tcp from any to any established # allow established tcp connections pass ip from any to any frag # allow fragmented segments pass tcp from me to any setup # allow me to setup tcp connections pass udp from me to any keep-state# allow me to setup udp-connections ... This alone won't work, if you want your box to forward traffic from other hosts in your local net. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: daemon program.
Hello, I did a daemon program which uses sendmail milter. I would like the program to make a core file when it crashes. from time to time the daemon dies and I Am not able to find out why. If I had a core file I could use the debugger. Is there any way to tell hte program to die with a core dump in FreeBSD ? Why don't you let your program start and then attach gdb to it. Or just make periodic core dumps using gcore(1) to be able to inspect your program's current state. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Softupdates Question
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alex de Kruijff Sent: Thursday, July 14, 2005 4:57 PM To: Scott Sipe Cc: freebsd-questions@freebsd.org Subject: Re: Softupdates Question On Tue, Jun 28, 2005 at 03:40:41PM -0400, Scott Sipe wrote: Hi, At work we're running some rather old accounting software that tells us to disable oplocks and all caheing on our file server (and our clients)--Samba/FreeBSD isn't officially supported (the only platforms that are are Windows Server and Novell--yes, it's old) but we've been running fine on this configuration. The software is sensitive to data caching issues etc, and corruption is occasionally an issue. I have all oplocks disabled for the share in samba, and at the moment I have softupdates disabled on the accounting software mount. My question is, does activating softupdates add any risk of data loss? My guess is no, but I've wanted to play it safe. Our other samba shares all have softupdates enabled and do fine, and speed is becoming somewhat of an issue. No there's no risk of data loss. Yes, there is! Softupdates guarantees a consistent state of meta data. But there is a chance of losing a lot of recent file data changes. An other problem is, that Softupdates cannot know how much data is still in the hard disk's cache and not yet written back. I think it cannot easyly be answered, if it is better in this special configuration to run with or w/o Softupdates. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: better disk reliability on a desktop machine
1. RAID mirror filesystem questions: 1a: should this be vinum? I have read and can follow the handbook instructions for a vinum root filesystem. 1b: Will it help to upgrade to 5.x, to get this to go smoothly? I'd suggest to buy an ata raid controller, as hardware should be more easyly portable between operating systems. And it should be some standard hardware, which is known to work under FreeBSD*, e.g. Promise. 2. taking backups offsite. Seems to me that the best route is a number of external firewire hard disks. This machine doesn't have motherboard firewire, so I'll need to get a PCI firewire board. 2a: Recommendations for an affordable PCI firewire board? 2b: Should I upgrade to 5.x for the better firewire hardware support? Yes. And the same is true for usb. (My experience) Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Time not wanting to change
May be, you only specified your local time zone to KDE, not to the base system. I suggest setting the time zone in login.conf. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Warren Sent: Monday, July 11, 2005 3:35 PM To: freebsd-questions@freebsd.org Subject: Time not wanting to change im running FreeBSD5.4-STABLE For some damn reason my Clock in KDE reads the correct time but yet my system base time when doing a uname -a outputs to UTC time and not AEST. i have run rdate and other programs and not one of them manages to fix the time, i even checked BIOS, i even (gasp) stuck a windows hdd in this machine and it ran the correct time. So my question is .. why wont it change the time and what is there that i can use to force it to use the correct time. -- Yours Sincerely Shinjii http://www.shinji.nq.nu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ppp via null modem cable
Hello. I am trying to configure a FreeBSD box to serve as a ppp server for a Windows box. I have to use a null-modem cable with only RxD/TxD/GND. Here is my ppp.conf for userland ppp: default: set log ... ident ... direct0: set device /dev/cuaa0 set speed 19200 set timeout 0 set lqrperiod 10 enable lqr accept lqr set ctsrts off set cd off set accmap 000a set openmode passive enable pap chap set ifaddr 172.16.0.1/0 172.16.0.100-172.16.0.199 And I have a ppp.secret with one entry only: test test Neither ppp -dedicated direct0 nor interactive ppp work. Can someone verify, if there is something wrong with my ppp.conf, so that I _only_ need to investigate in finding Windows configuration problems? Thank you, Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ppp vial null modem cable
Hello. I am trying to configure a FreeBSD box to serve as a ppp server for a Windows box. I have to use a null-modem cable with only RxD/TxD/GND. Here is my ppp.conf for userland ppp: default: set log ... ident ... direct0: set device /dev/cuaa0 set speed 19200 set timeout 0 set lqrperiod 10 enable lqr accept lqr set ctsrts off set cd off set accmap 000a set openmode passive enable pap chap set ifaddr 172.16.0.1/0 172.16.0.100-172.16.0.199 And I have a ppp.secret with one entry only: test test Neither ppp -dedicated direct0 nor interactive ppp work. Can someone verify, if there is something wrong with my ppp.conf, so that I _only_ need to investigate in finding Windows configuration problems? Thank you, Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: suitability of freebsd 5.3 for 486 dx2 66?
If it is only for cli and learning programming, I'd suggest to install FreeBSD 4.11. All you need (gcc, perl, python, vim/emacs) is readyly available from the original install cd #1. I had a comparable box running as a samba fileserver under FreeBSD and even could run a make world on it. You need to have at least a cdrom drive or network card in your 486 box for installation. If you don't need the comfort of sysinstall, you could also give netbsd a try. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Cecil Sent: Friday, July 08, 2005 2:16 PM To: freebsd-questions@freebsd.org Subject: suitability of freebsd 5.3 for 486 dx2 66? I plan on running a 486 I found laying around as a freebsd box. It only has a floppy, and yes, it's a 486. It does have 500 meg hard disk and 20 megs of ram though. Any ideas as to what is realistic to expect out of this machine? I plan to run it as a CLI box only to learn perl, python, C++ and some other stuff on. Xeys ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: uplcom a callin only device?
-Original Message- From: Emanuel Strobl [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 9:22 PM To: freebsd-questions@freebsd.org Cc: Norbert Koch Subject: Re: uplcom a callin only device? Am Mittwoch, 29. Juni 2005 16:32 schrieb Norbert Koch: 5.4 has the new uplcom driver which checks the revision maybe you can apply the cvs version to your 5.3 (guess). -Harry I tested this with RELENG_5 as of last week. Hmm, then you have the new uplcom driver... The device seems to be correctly recognized. I see /dev/ucom0 appearing, when I connect the adaptor. That's the problem, the chipset has the same id although it's design has changed. What does usbdevs -v say? You'll have a line like: USB-Serial Controller(0x2303), Prolific Technology Inc.(0x067b), rev 3.00 Rev. 3.00 ist the latest I have, the former was 2.02. Maybe they once again designed a new chipset... Here's my usbdevs output USB-Serial Controller(0x2303), Prolific Technology Inc.(0x067b), rev 3.00 Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Matlab7 (R14)
There is a chapter about installing and running Linux software in the FreeBSD handbook. In 10.5 they describe installation of Matlab 6.5. May be that helps. Norbert -Original Message- From: Rodolphe Conan [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 6:48 PM To: Norbert Koch Cc: freebsd-questions@freebsd.org Subject: RE: Matlab7 (R14) I have installed it using the matlab install script : /usr/compat/linux/bin/sh install! ROd On Wed, 2005-06-29 at 18:24 +0200, Norbert Koch wrote: I am running FreeBSD 5.3 with linux_base-8 installed. I have installed the linux version of Matlab 7 (R14) and now when I start matlab 7 I have this warning message: /compat/linux/usr/local/Matlab/bin/matlab: line 1: /lib/libc.so.6: cannot execute binary file Any idea what does it mean? Matlab start anyway but I cannot make 3D surface plots (A simple mesh(zeros(20)) will run forever taking all my cpu!!) or even a simple help linspace will freeze matlab? How did you install it? May be, Matlab tries to run some executable, which is not marked as Linux executable. See brandelf(1). You could try to run Matlab under ktrace(1) and check for exec system calls. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pxe boot failure
Hello, I'm trying to get pxeboot running without any success so far. I get 'BTX halted' after a register dump showing an int 6. I read almost anything, I could find about that problem. I tried with/without LOADER_TFTP_SUPPORT, I uncommented those delay() lines in pxe.c and enlarged the delays. I even doubled some of the internal buffers. The crash is always at different locations. The last message usually is pxe_open: gateway ip: 10.47.11.1. Tcpdump shows no problems. So am I just having a buggy boot prom? My board has an intel 82559er chip and I was told by the board's manufacturer, that linux pxeboot does work fine, which not really helps. They have no newer bios update and know nothing about pxe problems. My environment is FreeBSD 4.11 with latest ISC dhcpd. Here are my settings: /usr/local/dhcpd.conf: default-lease-time 600; max-lease-time 7200; ddns-update-style ad-hoc; log-facility local7; subnet 10.47.11.0 netmask 255.255.255.0 { range dynamic-bootp 10.47.11.10 10.47.11.99; option routers 10.47.11.1; filename pxeboot; next-server 10.47.11.1; option root-path 10.47.11.1:/usr/local/diskless_root; } /etc/inetd.conf (for LOADER_TFTP_SUPPORT=yes): tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /usr/local/diskless_root /etc/exports: /usr -ro -maproot=0 -alldirs -network 10.47.11.00 -mask 255.255.255.0 BTW, booting via etherboot disk works. I just have to replace pxeboot with kernel in dhcpd.conf. Any hints? Thank you, Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
uplcom a callin only device?
Hello. I'm trying to get a sub-to-rs232 adaptor running with FreeBSD-5. The vendor of this adaptor is some chinese company named High-Edge Tech, but as usbdevs shows, it identifies as USB_VENDOR_PROLIFIC(0x067b) and USB_PRODUCT_PROLIFIC_PL2303(0x2303). For testing, I connect the adaptor with the same computer's cuaa0 and do an 'stty speed 9600 clocal' on /dev/ucom0 and /dev/cuaia0. Now, if I do 'cat /dev/ucom0' and 'cat /dev/cuaa0', I see typed characters coming in. If I try the opposite direction, nothing happens. Is that something, I should've expected, and if so, why? Does it have to do with the difference of callin and callout devices? Can I use /dev/ucom0 only as callin device like /dev/ttyd0? Thanks, Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: uplcom a callin only device?
5.4 has the new uplcom driver which checks the revision maybe you can apply the cvs version to your 5.3 (guess). -Harry I tested this with RELENG_5 as of last week. The device seems to be correctly recognized. I see /dev/ucom0 appearing, when I connect the adaptor. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Matlab7 (R14)
I am running FreeBSD 5.3 with linux_base-8 installed. I have installed the linux version of Matlab 7 (R14) and now when I start matlab 7 I have this warning message: /compat/linux/usr/local/Matlab/bin/matlab: line 1: /lib/libc.so.6: cannot execute binary file Any idea what does it mean? Matlab start anyway but I cannot make 3D surface plots (A simple mesh(zeros(20)) will run forever taking all my cpu!!) or even a simple help linspace will freeze matlab? How did you install it? May be, Matlab tries to run some executable, which is not marked as Linux executable. See brandelf(1). You could try to run Matlab under ktrace(1) and check for exec system calls. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: READ_DMA timed out on Promise FastTrak100
-Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Matthias F. Brandstetter Gesendet am: Freitag, 28. Januar 2005 13:58 An: freebsd-questions@freebsd.org Betreff: Re: READ_DMA timed out on Promise FastTrak100 -- quoting [EMAIL PROTECTED] -- However, when I boot FreeBSD, the system reports READ_DMA errors on the second drive, and the array reports a degraded state. I can still mount it, and both drive lights flash when accessing the volume. I had similar problems with my SATA RAID controller, lots of DMA errors. Looks like a bug in 5.3 -- or is it fixed now? I solved this issue in disabling DMA via sysctl... I am using a Promise FastTrak100 and I have no problems at all. I tried FreeBSD5.3 Release and the most current RELENG_5. So, no kernel bug, as far as I can tell. Norbert Koch ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
AW: enable linux compatibility
I tried to enable linux compatibility on my freebsd (5.3 Release)kernel by adding 'options COMPAT_LINUX' in my kernel config file and recompiled the kernel using this file.But even after, this is not enabled. kldstat o/p shows as # kldstat Id Refs AddressSize Name 13 0xc040 5ef620 kernel 2 14 0xc09f 537f0acpi.ko If you compile linux emulation into the kernel you don't see a linux.ko. The 'linux' command also not found. What linux command? See linux(4). You should also install the linux process file system linprocfs(5). And you need to install the linux_base port. What may be the problem? Sarav You need linux_enable=YES in rc.conf at least. I can't remember if there is more to do. I'm sure someone else can help. -- /Xian Work is the curse of the drinking class Unknown author ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ISDN connection problems
Ok, here are the differences to my configration: Am Mittwoch, 26. Januar 2005 22:03 schrieb Stefan Pietsch: Norbert Koch wrote: What ppp are you using: kernel, userland or netgraph-based? Can you post your isdnd.rc, ppp.conf, kernel conf? I login as normal user, enter ppp and type dial ... to open the internet connection. This is userland ppp I think. ppp.conf default: set cd 180 set log Phase Chat LCP IPCP CCP tun command set device /dev/i4brbch0 /dev/i4brbch1 set dial set hangup set login set logout set proctitle ppp-isdn set speed sync nat enable yes nat log yes arcor: set phone 010700192076 set authname arcor set authkey x set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 add default HISADDR add! default hisaddr set timeout 180 set filter in 0 deny any any tcp dst eq 22 set filter in 1 deny any any udp dst eq 137 set filter in 2 deny any any udp dst eq 138 set filter in 3 deny any any tcp dst eq 139 set filter in 4 deny any any udp dst eq 514 set filter in 5 deny any any tcp dst eq 3128 set filter in 6 permit any any all set filter out 0 deny 192.168.1.0/24 any tcp dst eq 80 set filter out 1 permit any any all allow users stefan I am using ipfw as firewall, so don't know if this is ok. nat deny_incoming yes isdnd.rc #== # SYSTEM section: isdnd global configuration parameters #== system # accounting # -- acctall = on# generate info for everything acctfile= /var/log/isdnd.acct # name location of accounting file useacctfile = yes # generate accouting info to file # monitor # --- monitor-allowed = no# global switch: monitor on/off monitor-port= 451 # default monitor TCP port # Monitor rights are granted due to the most specific host/net spec, i.e. in # the example below host 192.168.1.2 will have the rights specified on that # line, even so it belongs to net 192.168.1.0/24 as well. # # A monitor specification may either be: # # - the name of a local (UNIX-domain) socket; this MUST start with a / monitor = /var/run/isdn-monitor monitor-access = fullcmd monitor-access = channelstate, logevents monitor-access = callin, callout # # - a dotted-quad host spec monitor = 192.168.1.2 monitor-access = restrictedcmd, channelstate, callin, callout # # - a dotted-quad net spec with /len (CIDR-style) netmask spec monitor = 192.168.1.0/24 monitor-access = restrictedcmd, channelstate, callin, callout # # - a resolveable host name #monitor= rumolt monitor-access = restrictedcmd, channelstate, callin, callout # # - a resolveable net name with /len netmask (s.a.) appended monitor = up-vision-net/24 monitor-access = restrictedcmd, channelstate, callin, callout # regular expression pattern matching # --- #regexpr= connected.*XXX # look for matches in log messages #regprog= connectXXX# execute program when match is found regexpr = unknown incoming call from regprog = unknown_incoming # execute program whan match is found # realtime priority section # - rtprio = 25# modify isdnd's process priority #== # entry section: IP over ISDN example - i call back the remote end #== entry name= I4BPPP# name for reference. This name will # be used in the logfile to identfy # this entry. # the network or telephone device # the data traffic should be routed to: usrdevicename = rbch # ipr, isp, tel, rbch usrdeviceunit = 0 # unit number # the ISDN controller number to be # used for this entry: isdncontroller = 0 # controller to use or -1 to use any isdnchannel = -1# channel (1/2) to use or 0 or -1 for any # incoming only, outgoing only or both: direction = out # in, out, inout direction = out # numbers used to verify a DIAL IN: local-phone-incoming= 994362# this is my number remote-phone-incoming = 0123456789# this one can call in # numbers
AW: One-line global string replace in all files with sed (or awk?)
Well, shell lines may be quite long ;-) Do you mean something like this sed -Ee 's/search/replace/g' -i .BAK `find . -name '*.c' -type f` A few years ago, I'm sure I came across a one-line way of replacing every occurence of one string with another in an entire directory of files (potentially including all subdirectories as well). I think it used sed or awk. Now I can't find it. The examples on the Web are all multiline scripts or programs, but I'm sure I saw a way to do it all on just one line. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pxe boot: BTX halted
Hello, I am desperately trying to get pxe boot running. The client machine is a PentiumMMX/166MHz which successfully boots FreeBSD from hard disk. It is connected to the server machine's second ethernet card xl0 (3com). I can boot the client with etherboot from a floppy withoudt problems, but usually have no floppy connected to the machine. When I run ethereal on the server machine I see successful dhcp and tftp requests. No obvious problems. The client machine comes up with Intel UNDI PXE-2.0 (build 074). PXEBOOT usually crashes with int 6 or int d. CS:EIP points to nothing: ff ff ff ff ... The final message is: 'BTX halted'. Any idea? Thank you, Norbert Koch ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fdisk/bsdlabel: cannot write to disk
Hello. I am rather new to FBSD5.3. I did a custom install leaving some room on my (ata) hard disks. Later I decided to create a separate /usr/obj partition. I started /stand/sysinstall and tried to create a new slice and a new partition in it. Sysinstall reported that it cannot write to the hard disk. Next I only tried to create a new partition inside an existing slice. The same again. I tried the same manually with fdisk/bsdlabel and the same happens. I tried it in single user mode and even booted FREESBIE. Always the same problem. I must be doing something simple very wrong. But what? What f*cking manual did I not read? Is there some secret geom rdonly switch I have to turn off? (BTW: securelevel is at -1) Thank you, Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HTTP, FIN_WAIT_1 and ppp hangup delay
Hello. For connecting to internet I am using PPP via ISDN. One of my FreeBSD (4.10) boxes uses kernel sppp, the other one is configured with userland ppp. My isp charges the connection time in seconds resolution so I configured a very short hangup delay of 25 seconds after inactivity. This works fine for udp connections and also for smtp/pop/nntp, but not for http. After closing a web browser (I use konqueror or opera) netstat -nf inet shows a lot of active or closing connections. So I reduced all net.inet.tcp.* times I could find to not more than 15 seconds. This helped, but still from time to time I see a connection slowly dying in FIN_WAIT_1 state. That means, ppp disconnects and immediately dials again, disconnects again after 25 seconds without any traffic and dials again and so on... for about 3 minutes. I read through the tcp codebut, well, can't say, I really look through it. May be, there is still a hard-coded timeout, I could manipulate through an additional sysctl? I am rather sure that it is a problem of the tcp protocol (or its misuse), and not an isdn or ppp problem. (BTW, the windows software Fritz!ISDN, shipped with the AVM isdn card, does quite a good job with short hangup delays, but I don't know how) Any ideas? May be there is a way to RST a tcp connection in the ppp-down script? Or perhaps some stateful ipfw rule? Thank you, Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
using two keyboards at the same time
Hello. I know, the syscons driver does not allow to have two keyboards attached at the same time. So my idea was to have a userland application which polls the keyboard(s) currently _not_ attached to syscons using select(2) or poll(2). From reading the source code under /sys/dev/kbd I thought this should work. I made this simple test: I attached syscons to /dev/kbd1 and ran cat /dev/kbd0. As expected I saw characters coming from both keyboards. Then I wrote a program to do the selecting and switching. Well, it does not work. Select never returns. Does anyone have an idea? May be I just made some stupid mistake. Thank you. #include fcntl.h #include sys/types.h #include sys/stat.h #include sys/time.h #include machine/console.h #include unistd.h #include stdio.h #include stdlib.h #include string.h #include errno.h #define MAX_DEVICES 5 #define TEST #define STR(x) #x #define XSTR(x) STR (x) static void usage (void) { fprintf (stderr, usage: autosw [ -D ] [ -d ] [ [ -f device] ... ]\n -D : do not detach\n -d : enable debug output\n -f : specify keyboard device (up to XSTR (MAX_DEVICES) )\n if no keyboard devices specified\n /dev/kbd0 and /dev/kbd1 are polled\n); exit (1); } /* * borrowed from /usr/src/usr.sbin/kbdcontrol/kbdcontrol.c */ static int set_keyboard_fd (int fd) { keyboard_info_t info; if (ioctl (fd, KDGKBINFO, info) == -1) { close (fd); return -1; }; ioctl (fd, CONS_RELKBD, 0); close (fd); if (ioctl (0, CONS_SETKBD, info.kb_index) == -1) { return -1; }; return 0; } static int set_keyboard (char * device) { int fd; fd = open (device, O_RDONLY); if (fd 0) { return -1; }; return set_keyboard_fd (fd); } int main (int argc, char ** argv) { char * devices[MAX_DEVICES]; fd_set ifds, ofds; int ch, i, fd, maxfd, no_devices = 0, debug = 0, detach = 1, detached = 0; struct stat sb; while ((ch = getopt (argc, argv, Ddf:h)) != -1) { switch (ch) { case 'D': detach = 0; break; case 'd': ++ debug; break; case 'f': if (no_devices = MAX_DEVICES) { fprintf (stderr, too many devices\n); exit (1); }; if (stat (optarg, sb) 0) { fprintf (stderr, cannot stat %s: %s\n, optarg, strerror (errno)); exit (1); }; if ((sb.st_mode S_IFCHR) == 0) { fprintf (stderr, not a character device: %s\n, optarg); exit (1); }; devices[no_devices ++] = strdup (optarg); continue; case 'h': case '?': default: usage (); } }; /* * no devices specified, use default */ if (no_devices == 0) { devices[0] = /dev/kbd0; devices[1] = /dev/kbd1; no_devices = 2; if (debug) { fprintf (stderr, using default devices\n); }; }; /* * switch syscons to first keyboard */ #ifndef TEST for (i = -1; ++ i no_devices;) #else for (i = 1; i == 1; ++ i) #endif { if (set_keyboard (devices[i]) == 0) { if (debug) { fprintf (stderr, selecting keyboard %s\n, devices[i]); }; break; } }; for (;;) { /* * try to open all devices for select */ FD_ZERO ( ifds); maxfd = -1; #ifndef TEST for (i = -1; ++ i no_devices;) #else for (i = 0; i == 0; ++ i) #endif { fd = open (devices[i], O_RDONLY|O_NONBLOCK); if (fd = 0) { if (debug) { fprintf (stderr, polling %s, devices[i]); }; if (debug = 2) { fprintf (stderr, fd=%u, fd); }; if (debug) { fprintf (stderr, \n); }; FD_SET (fd, ifds); if (fd maxfd) { maxfd = fd; } } }; if (maxfd 0) { fprintf (stderr, could not open any device\n); exit (1); }; if (detach ! detached ! debug) { daemon (0, 0); detached = 1; }; ofds = ifds; if (debug = 2) { fprintf (stderr, polling maxfd=%u\n, maxfd); }; /* * !!! never returns !!! */ if (select (maxfd, ofds, NULL, NULL, NULL) == -1) { exit (0); }; if (debug) { fprintf (stderr, polled successfully\n); }; /* * find keyboard where select returned some activity */ for (fd = -1; ++ fd maxfd; ++ fd) { if (FD_ISSET (fd, ofds)) { if (debug) { fprintf (stderr, switching keyboard\n); }; if (debug = 2) { fprintf (stderr, fd=%u, fd); }; if (debug) { fprintf (stderr, \n); }; /* * switch to keyboard with activity */ set_keyboard_fd (fd);
Re: Problems connecting a digital camera
* v dot velox at vvelox dot net: | I find this second one works nicely. Turn on user mount and install | wmmount and it works nicely :) Hmm, still no onions. Using a card reader, I get umass0: SMSC 223 USB97C223, rev 2.00/1.95, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: SMSC 223 U HS-CF 1.95 Removable Direct Access SCSI-0 device da0: 650KB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present Looks like I'm still missing something ... norbert. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems connecting a digital camera
* Mike dot Jeays at rogers dot com: Hello Mike, Thanks for your answer. | If you are connecting the camera directly, you may need to use gphoto2, | provided of course it has an implementation for your camera. Unfortunately, It can't. | I have found a much better solution is to buy a card-reader, and mount | it as an msdos file system. This works every time for me. Well, that'll be it then. Thanks again, norbert. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems connecting a digital camera
Hi! I run into problems trying to connect a KONICA_MINOLTA DiMAGE Xg from my FreeBSD system, FreeBSD 4.10-STABLE i386. I think, I've got all the necessary devices in my kernel. Now, dmesg tells me umass0: KONICA_MINOLTA DiMAGE Xg, rev 2.00/1.00, addr 3 umass0: BBB reset failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB reset failed, TIMEOUT ... and I'm unable to mount /dev/da... This results in a 'device not configured' error message. Hmm, new messages (while a 'camcontrol rescan all' is on its way): Aug 12 18:57:19 arafel /kernel: (da0:umass-sim0:0:0:0): got CAM status 0x4 Aug 12 18:57:19 arafel /kernel: (da0:umass-sim0:0:0:0): fatal error, failed to attach to device Aug 12 18:57:19 arafel /kernel: (da0:umass-sim0:0:0:0): lost device Aug 12 18:57:19 arafel /kernel: (da0:umass-sim0:0:0:0): removing device entry Any pointers? Thanks, norbert. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: command-line calculator?
CD Baby [EMAIL PROTECTED] writes: What simple built-in command-line tools are available if I want to just do some simple math on the command line? If I'm there in a shell, and need to know what 17 times 36 equals? echo 17 * 36 | bc norbert. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Graphical Hex Editor
Jason Dusek [EMAIL PROTECTED] writes: Unfortunately, I do not have KDE. Is there some kind of EMACS mode for hexediting? XEmacs has hexl-mode which is part of the text-modes package. norbert. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[RELENG_4] Sound problems
Hi! After a cvsup and molding of a new stable world on 2004-01-26 I no longer have sound on my machine (mplayer and cdcontrol). I haven't changed the kernel configuration, so I rule this possible reason out. The option is set as # Audio support device pcm device sbc dmesg says: pcm0: Intel ICH4 (82801DB) port 0xa400-0xa43f,0xa800-0xa8ff mem 0xec00-0xecff,0xec80-0xec8001ff irq 9 at device 31.5 on pci0 pcm0: Analog Devices AD1980 AC97 Codec (and the speakers are plugged into the mic input, because the vendor is brain damaged, but that's another story). Could someone please give me a hint where I should start looking for causes? I've run a MAKEDEV after the installworld, so maybe this can count for the misbehaviour (but I've recreated the audio devices, to no avail). Thanks, norbert. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: periodic weekly and 'find' commands ...
Marc G. Fournier [EMAIL PROTECTED] writes: I can see my machine running /usr/bin/periodic weekly right now, and it has a find running that I can't seem to find in any of the weekly scripts: find -s / ! ( -fstype ufs ) -prune -or -path /tmp -prune -or -path /usr/tmp -prune -or -path /var/tmp -prune -or -print I did a 'grep' for find in /etc/periodic/weekly/*, and none of the ones that are returned look even close :( It looks like this is the find called by /usr/libexec/locate.updatedb to update your locate database. It's called from 310.locate. norbert. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems building firebird on 4.9-stable
Kris Kennaway [EMAIL PROTECTED] writes: Follow the example in the pkg_which(1) manpage to locate stale files in /usr/X11R6 and /usr/local. It is possible that you have old files lying around (e.g. from an incorrect port upgrade, or a port's broken pkg-plist), that are confusing the firebird build. Thanks, found it. Some three year old g[dt]k headers and libraries below /usr/local/ before they have been moved over to /usr/X11R6/. They had preference. norbert. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems building firebird on 4.9-stable
Hi! I'm unable to upgrade firebird to version 0.7. The build breaks at gmake[2]: Entering directory `/usr/local/ports/www/mozilla-firebird/work/mozilla/widget/src/gtkxtbin' gtk2xtbin.c cc -o gtk2xtbin.o -c -DOSTYPE=\FreeBSD4\ -DOSARCH=\FreeBSD\ -D_IMPL_NS_WIDGET -DUSE_XIM -I../../../dist/include/gtkxtbin -I../../../dist/include -I/usr/local/ports/www/mozilla-firebird/work/mozilla/dist/include/nspr -I/usr/local/include -I/usr/local/include -I. -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -O -pipe -D_THREAD_SAFE -pipe -DNDEBUG -DTRIMMED -ffunction-sections -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include-I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -include ../../../mozilla-config.h -DMOZILLA_CLIENT gtk2xtbin.c gtk2xtbin.c:170: warning: initialization from incompatible pointer type gtk2xtbin.c: In function `gtk_xtbin_get_type': gtk2xtbin.c:207: `GTK_TYPE_SOCKET' undeclared (first use in this function) gtk2xtbin.c:207: (Each undeclared identifier is reported only once gtk2xtbin.c:207: for each function it appears in.) gtk2xtbin.c: In function `gtk_xtbin_class_init': gtk2xtbin.c:218: `GTK_TYPE_SOCKET' undeclared (first use in this function) gtk2xtbin.c: In function `gtk_xtbin_realize': gtk2xtbin.c:271: warning: implicit declaration of function `gtk_socket_get_id' gtk2xtbin.c:279: warning: implicit declaration of function `gtk_socket_add_id' gmake[2]: *** [gtk2xtbin.o] Error 1 gmake[2]: Leaving directory `/usr/local/ports/www/mozilla-firebird/work/mozilla/widget/src/gtkxtbin' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/local/ports/www/mozilla-firebird/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 I've checked the dependencies and everything seems to be installed, so I'm sort of clueless which header is missing or can't be found and why that comes to pass. The file /usr/X11R6/include/gtk-2.0/gtk/gtksocket.h lies around. Any pointers? Thanks, norbert. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems building firebird on 4.9-stable
Kris Kennaway [EMAIL PROTECTED] writes: Hi Kris, The dependencies might be installed, but are they *all* up-to-date? You typically cannot build new versions of software with old dependencies. Use portupgrade to upgrade your ports. I've done a 'portupgrade -frR firebird' which leads to the same result. Should I use other options? Thanks, norbert. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: questions about static ipfw rules
Stephen D. Kingrea [EMAIL PROTECTED] writes: firewall_enable=YES firewall_type=/etc/rc.firewall.rules This should be one of client etc, see rc(8) for more information. norbert. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: none
shen chao [EMAIL PROTECTED] writes: Hi! 1.Can you tell me how to log off the user who had logged in manually. On a terminal? Type 'exit' (sans quotes) on the prompt. 2.how to add a Tab-reminding function for a new user.I want to change his shell . Either use pw(8) with the -s switch on the command line or vipw(8) to edit the passwd file. norbert. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: adduser
Cliff Sarginson [EMAIL PROTECTED] writes: adduser is broken. Jeez, people wonder why FreeBSD is not more popular. Your mailer is broken. It cut off the command you issued and the error message you got. norbert. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: adduser
Cliff Sarginson [EMAIL PROTECTED] writes: Hi! Your mailer is broken. It cut off the command you issued and the error message you got. What on earth are you talking about ? IOW: if you don't tell us, what you've tried and what's happened, we have no possibility to help you. norbert. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: adduser
Cliff Sarginson [EMAIL PROTECTED] writes: I tried the simple act of adding a user to my system. It failed, repeatingly asking me for a user name I had already given. You should not have to have the brain of Einstein in order to put a new user on your system. You misunderstood the first part of adduser which is the configuration part (done once). Here's a sample session from my machine: # adduser ,[ configuration part ] | /etc/adduser.conf: No such file or directory | Use option ``-silent'' if you don't want to see all warnings and questions. | | Check /etc/shells | Check /etc/master.passwd | Check /etc/group | Usernames must match regular expression: | [^[a-z0-9_][a-z0-9_-]*$]: | Enter your default shell: bash csh date no sh tcsh zsh [sh]: bash | Your default shell is: bash - /usr/local/bin/bash | Enter your default HOME partition: [/home]: /usr/users | Copy dotfiles from: /usr/share/skel no [/usr/share/skel]: | Send message from file: /etc/adduser.message no | [/etc/adduser.message]: | Use passwords (y/n) [y]: | | Write your configuration to /etc/adduser.conf? (y/n) [y]: ` Ok, let's go. Don't worry about mistakes. I will give you the chance later to correct any input. ,[ first entered user ] | Enter username [^[a-z0-9_][a-z0-9_-]*$]: testuser | Enter full name []: Test User | Enter shell bash csh date no sh tcsh zsh [bash]: | Enter home directory (full path) [/usr/users/testuser]: | Uid [1000]: | Enter login class: default []: | Login group testuser [testuser]: | Login group is ``testuser''. Invite testuser into other groups: guest no | [no]: | Enter password []: | Enter password again []: | | Name: testuser | Password: | Fullname: Test User | Uid: 1000 | Gid: 1000 (testuser) | Class: | Groups: testuser | HOME: /usr/users/testuser | Shell:/usr/local/bin/bash | OK? (y/n) [y]: ` So, you should keep the regexp at the beginning and set up a adduser.conf according to your needs. The rest is mainly hitting the return key. norbert. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: No route to host
Gene Bomgardner [EMAIL PROTECTED] writes: Did that. It really is set to accept all. Can you send the output of 'netstat -rn', and perhaps of 'ipfw list' (just to make sure). norbert. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: interactive fdisk
Murat Bicer [EMAIL PROTECTED] writes: Hi! Is there a linux fdisk like utility on freebsd that can be used interactively? What is /stand/sysinstall configure fdisk calling? From my understanding of the handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-adding.html I'd say it's calling a series of commands like those below. , | 12.3.2 Using Command Line Utilities | | 12.3.2.1 Using Slices | | This setup will allow your disk to work correctly with other operating | systems that might be installed on your computer and will not confuse other | operating systems' fdisk utilities. It is recommended to use this method for | new disk installs. Only use dedicated mode if you have a good reason to do | so! | | # dd if=/dev/zero of=/dev/da1 bs=1k count=1 | # fdisk -BI da1 #Initialize your new disk | # disklabel -B -w -r da1s1 auto #Label it. | # disklabel -e da1s1 # Edit the disklabel just created and add | # any partitions. | # mkdir -p /1 | # newfs /dev/da1s1e # Repeat this for every partition you created. | # mount /dev/da1s1e /1 # Mount the partition(s) | # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. | | If you have an IDE disk, substitute ad for da. On pre-4.X systems use wd. ` norbert. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: how do I add this route without rebooting ?
Josh Brooks [EMAIL PROTECTED] writes: [...] route_route3=10.20.30.1 198.78.1.1 So i have added another alias, and another route. Now, here's the question - in the past when I have done this, I have just rebooted the machine and let these settings in rc.conf do everything. This time, however I cannot reboot - I need to stay up and running. So, I add the new IP with: ifconfig fxp1 alias 10.20.30.0 netmask 255.255.255.0 but what is the command to do what I have listed above for rc.conf for adding the third static route ? route(8) comes to mind, maybe route add 10.20.30.2 198.78.1.1 norbert. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Cron script problem....
Jack L. Stone [EMAIL PROTECTED] writes: Hi! Eric: I'm no script expert, but perhaps if you added the full path to perl in the cron line. That's usually a problem Shouldn't be the case here, because then, the script wouldn't start at all, but as Eric has pointed out it runs up to the first SSH call. Eric, it might be a good idea to call ssh with the -v switch and capture the output of the command. Maybe it sheds some light into your problem. Do you use the same user for interactive and cronjob operation? norbert. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Cron script problem....
Eric Six [EMAIL PROTECTED] writes: That's the last line of the log.. nothing else is run. SCP should be invoked from there... Hmm, everything looks fine. You don't need a return value, so you could try and issue the command as system($SSH, @args) and examine the return code. But this is short of a wild goose chase :-/ norbert. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: please help: how do I replace words
adrian kok [EMAIL PROTECTED] writes: I tried: sed -n 's/192.168.0.1/172.16.0.1/w abc.com.tmp' abc.com file abc.com.tmp only shows l line abc.com 172.16.0.1 and missing localhost.abc.com 127.0.0.1 sed 's/192.168.0.1/172.16.0.1/' abc.com abc.com.tmp norbert. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message