MultiLinking ADSL connections
Just curious if anyone has experimented with multilinking adsl connections ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Which Releases are still"supported"
Hi all. I know things are very different in the Open Source world, so the concept of "officially supported" versions is probably nonsense, but here's my dilemma: I received an email from Cyclades in which they told me: "I am sorry to tell you, but the latest FreeBSD version supported by our driver is version 4.4. The driver is not tested with newer FreeBSD versions and therefor we cannot support it." Now, since 4.4 was dated September 2001, it is now more than two years old. I keep my servers up to date (currently at 4.8-p13). So - my question - is 4.4 still a "supported" branch, or has it now been consigned to history? I couldn't find any policy statement WRT older releases at freebsd.org, though I might have looked in the wrong places... Regards, Patrick O'Reilly. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Which Releases are still"supported"
On Thu, Oct 23, 2003 at 09:36:19AM +0200, [EMAIL PROTECTED] wrote: > Hi all. > > I know things are very different in the Open Source world, so the concept > of "officially supported" versions is probably nonsense, but here's my > dilemma: > I received an email from Cyclades in which they told me: > "I am sorry to tell you, but the latest FreeBSD version supported by our > driver is version 4.4. The driver is not tested with newer FreeBSD versions > and therefor we cannot support it." > > Now, since 4.4 was dated September 2001, it is now more than two years old. > I keep my servers up to date (currently at 4.8-p13). > > So - my question - is 4.4 still a "supported" branch, or has it now been > consigned to history? I couldn't find any policy statement WRT older > releases at freebsd.org, though I might have looked in the wrong places... Most forms of support provided by the FreeBSD Project are on an ad-hoc basis, since it's a community-supported project. Typically, old releases do not get bug fixes beyond security fixes (for a limited lifetime, see http://www.freebsd.org/security), so bug reports against old releases are usually dealt with by asking the originator to upgrade to the latest release to verify whether the problem still exists, at which point an interested developer might be able to address the problem. A similar situation exists with the ports collection. It is not guaranteed to work with old releases, and updated packages are only provided for the head of the -STABLE branch. Kris pgp0.pgp Description: PGP signature
Re: image a disk/partition?
Dmitry Mityugov wrote: Hi, I am looking for a program that would let me image HDDs in my test lab and restore them, either completely or just a few first partitions. I don't mind buying it (although freeware would be preferred of course) but I don't want to buy an OS to host this program on, so I would like to use FreeBSD for this project. I have modest experience with versions 4.7, 4.8 and 5.1 of FreeBSD and no bandwidth to stay current with version 5.1, so 5.1 released on the CDs is the latest version that I have. It works reasonably well in my test lab; it panics on reboot (shutdown -r) when I enable MP support on a test server with two "server Tualatin" processors but I can live with the standard kernel just fine. The data I am going to image are just test servers that store no valuable data so strictly speaking this is not vital data to me, I need this program just to speed up the setup, not for backup purposes (and to get rid of the HDDs in removable racks with different versions of various operating systems lying everywhere in my lab). However, I would prefer not to use beta software in this project because I need to use the time I get because of the improvement in speed for purposes other than helping the author find and fix bugs in the software. The software should be able to image partitions of any type, not just DOS/NTFS/etc like most commercial software does, compress the image well, because a typical test server in my lab occupies 5-15 GB that need to be imaged, and be smart enough to not compress the remaining free space on the disks (the typical HDD sizes in my lab start at 80 GB so I'd definitely not want to image the free space). The current number of servers is about 20 and of course it tends to grow. It would be nice to be able to image SCSI disks as well but almost all my HDDs except 2 are IDE. It would also be nice to be able to restore not the entire disk but just several partitions from it (yes, I believe I understand the possible consequences) but this is not critical for me. I searched the Packages and Ports collections, the documentation and the Internet (including archives of these lists) but found nothing that would (a) work on FreeBSD, (b) is not in the beta state, (c) can image everything and (d) compresses the images and does not image the free space. I suspect that there is a simple approach that does not require a third-party program at all (why did I get so many links to DD command? ) but I cannot figure out how to image the first 15 GB off a 80 GB HDD with DD and restore it to another (larger or smaller) HDD. I don't mind performing some arithmetic like in Greg Lehey's "The Complete FreeBSD" in the chapter about disks, I think I just need some enlightenment. Thank you in advance for any help you can provide P.S. I am not on the list, don't forget to copy me. Dmitry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Hello Dmitry, I don't know if my solution will fit your needs perfectly, but here is how I solved the same problem for my lab ... I have eight machines, all running five flavors of Windows ( 98SE, Me, 2000, XP Pro, XP Home ) on a single disc. Each OS is on it's own partition as follows: ad0s1 = Win98SE ad0s2 = WinMe ad0s3 = Win2000 ad0s4 = Logical Partition ad0s5 = Win XP Pro ad0s6 = Win XP Home First off, I use LiveCD ( http://livecd.sourceforge.net/ ) and I store my backups on a server running FreeBSD 4.8-RELEASE. The only downside to LiveCD is that the keyboard is not mapped to my US based keyboard. To fix this, the first command I enter is 'kbdcontrol -l ../usr/share/syscons/keymaps/us.iso.kbd'. To backup any of my partitions I use the following command, 'dd bs=2097152 if=/dev/ad0s? | gzip > /mounted/drive/os_name.gz' To backup the entire drive I would use, 'dd bs=2097152 if=/dev/ad? | gzip > /mounted/drive/os_name.gz' To restore any of my partitions I use the following command, 'cat os_name.gz | gunzip -c | dd bs=2097152 of=/dev/ad0s?' To restore the entire drive I would use, 'cat os_name.gz | gunzip -c | dd bs=2097152 of=/dev/ad?' One thing you must be careful about when restoring partitions. If you have OSes installed on the logical partitions as I do, you need to create /dev/ad0s5, /dev/ad0s6 and so on for each logical partition you have. A drive is only allowed 4 primary partitions but any number of logical partitions. To create /dev/ad0s5 and /dev/ad0s6 for WinXP Pro and WinXP Home I do the following; cd /dev; ./MAKEDEV ad0s5; ./MAKEDEV ad0s6; And just for yucks, before I create a new test machine I zero the drive so I don't backup useless data, 'dd bs=2097152 if=/dev/zero of=/dev/ad0 count=??g' This system allows me to refresh any partition in about 5 minutes. Creating the backups takes a little longer as I'm gziping the data over the network, but I create new machines far les
Re: Automatic mounting of removable meadia
Christopher T. Johnson wrote: Heinrich Rebehn wrote: Yes. Although it does not provide automatic mounting upon insertion of the disk (like windows does), it would be a solution. Unfortunately "man amd" does not say anything about the format of the map for a local device and i was unable to find anything in /usr/share/examples. Can anyone give me an example? This article provides a tutorial for adding this functionality using amd. It may be a little out-of-date, but it has worked for me in the past. http://www.daemonnews.org/200202/automounting.html This solution mounts the media on access, and unmounts it on quiescence. Not exactly "like windows does", but still useful. Hope this helps. ~brian I use amd for doing just this. it works for most cases. My map file looks like cdrom type:=cdfs;dev:=/dev/acd0c;addopts:=ro floppy type:=pcfs;dev:=/dev/fd0 zip type:=ufs;dev:=/dev/da0s1a pczip type:=pcfs;dev:=/dev/da0s4 pczipF type:=pcfs;dev:=/dev/da0 flash type:=pcfs;dev:=/dev/da0s1 (minus the NFS filesystems) This works for everything but the type:=ufs. When amd mounts a unix filesystem it will never unmount it. I had to patch amd to unmount ufs. My amd.conf is the default. The parameters for amd are: /usr/sbin/amd -p -a /.amd_mnt -l syslog /u /etc/amd.u Best, -Chris Thank you very much, it works perfect. I also added "-c 5 -w 10" to have the disk quickly unmounted when it is no longer used. "man (8) amd", as other posters suggested does not say anything about the format of the maps. Also, thanks for the link to the tutorial in deamonnews, but the solution provided above looks simpler to me Heinrich ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Which Releases arestill"supported"
Kris Kennaway writes: Most forms of support provided by the FreeBSD Project are on an ad-hoc basis, since it's a community-supported project. Typically, old releases do not get bug fixes beyond security fixes (for a limited lifetime, see http://www.freebsd.org/security), so bug reports against old releases are usually dealt with by asking the originator to upgrade to the latest release to verify whether the problem still exists, at which point an interested developer might be able to address the problem. A similar situation exists with the ports collection. It is not guaranteed to work with old releases, and updated packages are only provided for the head of the -STABLE branch. Kris Thanks Kris. It's a pity that Cyclades are so focussed on Linux that they are ignoring BSD... The fact that I have more than 10 of their devices (and I'm sure there must be many more in the field on BSD platforms) does not seem to concern them. One day when I'm big I'll learn some C and try including the if_cpc driver into the source tree. Regards, Patrick. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Firewall rules
www.kgb.ro/Ipfw-HOWTO HTH, petre On Wednesday 22 October 2003 18:05 Anno Domini, fbsd_user wrote using one of his keyboards: > The FBSD handbook gives the idea that IPFW is the only firewall. > FBSD also comes with ipfilter which is much easier to use and > sertup. Google the questions archives for loads of info about > configuring ipfilter. You will be glade you did. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Mihail > Sent: Wednesday, October 22, 2003 9:29 AM > To: [EMAIL PROTECTED] > Subject: Firewall rules > > Hello, > > I'm trying to set up a firewall with ipfw by using the client > firewall type given in rc.firewall as an example. My problem > is that the client rules don't allow me to do common > web-browsing. What should I add to the script to > resolve this without seriously compromising security? > > cheers, > Mihail > > > - > Hot Mobiil - helinad, logod ja piltsõnumid! > http://portal.hot.ee > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" -- Login: petreName: Petre Bandac Directory: /home/petre Shell: /usr/local/bin/zsh On since Sat Oct 18 00:13 (EEST) on ttyv0, idle 5 days 1:47 (messages off) On since Thu Oct 16 16:27 (EEST) on ttyv1, idle 5 days 10:35 (messages off) Last login Mon Oct 20 21:52 (EEST) on ttyp6 from lubyanka.kgb.ro No Mail. No Plan. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Freebsd 4.8 Command to finish typing
How do you have Freebsd 4.8 finish typing a line? On older version I just type Ma and escape to finish typing Make. Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd 4.8 Command to finish typing
DanB wrote: How do you have Freebsd 4.8 finish typing a line? On older version I just type Ma and escape to finish typing Make. Under csh, you can type CTRL-D ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: strange dump (dark matter?)
On Wed, Oct 22, 2003 at 10:01:51PM -0400, Ryan Sandridge wrote: > Well, as a newbie, it only took me about 10 hours to figure out on my > own that I needed to run fsck. It showed me that I had an unreferenced > file hiding on my disk; however fsck never seemed to work as > documented. I couldn't ever run it with 'fsck -p', I always received > (and still do receive): > > /dev/ad0s1g: NO WRITE ACCESS > /dev/ad0s1g: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. > > and when I ran it with just 'fsck', it would always answer "no" to the > prompts to fix the problems without giving me an opportunity to fix it. > No I didn't use the -n flag to force no responses, and I am aware of > the -y flag, but the documentation warns against doing this. Finally I > threw my hands up, and rebooted, which seemed to clear up the > unreferenced file. You should only be running fsck on unmounted filesystems, or those mounted read-only. Looks like you tried to fsck a mounted filesystem? Cheers, Scott -- === Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Firewall rules
Do a quick google search on "building freebsd firewall". I was building a FreeBSD firewall this week, and several of these sites were very helpful. There are sites for both ipfilter and ipfw. So, take your pick. I'm using ipfilter, but either firewall method will be sufficient for most people. Richard Coleman [EMAIL PROTECTED] Mihail wrote: Hello, I'm trying to set up a firewall with ipfw by using the client firewall type given in rc.firewall as an example. My problem is that the client rules don't allow me to do common web-browsing. What should I add to the script to resolve this without seriously compromising security? cheers, Mihail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd 4.8 Command to finish typing
On Thu, Oct 23, 2003 at 08:37:52AM +, DanB typed: > How do you have Freebsd 4.8 finish typing a line? On older version I > just type Ma and escape to finish typing Make. That depends on your shell. You're probably used to a bourne-shell variant like ksh, where is used for word completion. In csh, use the key. > > Dan > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Searching contents of files
Here is the classical way to do a recursive grep. For csh/tcsh, define the alias alias rgrep 'find . -type f -print | xargs egrep -i \!* /dev/null' For bash/zsh, define the shell function rgrep() { find . -type f -print | xargs egrep -i $1 /dev/null} There are several variations of these that will work. But these are both fast and portable, and should work on virtually any flavor of unix. Richard Coleman [EMAIL PROTECTED] jason dictos wrote: Hi All, I've always used grep text /*/*/* to recursivly search directories for files with the specified text string in them, however this method doesn't always work very well (sometimes it bails out halfway through with error "Argument list too long"). Is there a more effective way to search the contents of files? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Firewall rules
Hi, I've found fwbuilder (/usr/ports/fwbuilder) to be very useful. Nice GUI for writing your firewall policy. Some simple "Druids" :-/ for generating generic rulesets. Formerly, I've always configured the firewall from command line but this certainly helps in managing your policy. I admit, I'm an IPFW person myself but fwbuilder theoretically supports ipfilter on FreeBSD as well (I haven't used it). One quirk, when using fwbuilder with IPFW, the divert to natd isn't supported so I'm installing the rules with a little script that inserts the natd rule appropriately. --- #!/bin/sh .fw# Installs the rules generated by fwbuilder ipfw delete 1 # delete the check-state rule at 1 ipfw add 1 divert natd ip from any to any via # add new divert rule at 1 ipfw add 2 check-state# re-add the check-state 2 --- Phil. > -Original Message- > From: Petre Bandac [mailto:[EMAIL PROTECTED] > Sent: 23 October 2003 09:13 > To: [EMAIL PROTECTED]; Mihail; [EMAIL PROTECTED] > Subject: Re: Firewall rules > > > www.kgb.ro/Ipfw-HOWTO > > HTH, > > petre > > On Wednesday 22 October 2003 18:05 Anno Domini, fbsd_user > wrote using one of > his keyboards: > > The FBSD handbook gives the idea that IPFW is the only firewall. > > FBSD also comes with ipfilter which is much easier to use and > > sertup. Google the questions archives for loads of info about > > configuring ipfilter. You will be glade you did. > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Mihail > > Sent: Wednesday, October 22, 2003 9:29 AM > > To: [EMAIL PROTECTED] > > Subject: Firewall rules > > > > Hello, > > > > I'm trying to set up a firewall with ipfw by using the client > > firewall type given in rc.firewall as an example. My problem > > is that the client rules don't allow me to do common > > web-browsing. What should I add to the script to > > resolve this without seriously compromising security? > > > > cheers, > > Mihail > > > > > > - > > Hot Mobiil - helinad, logod ja piltsõnumid! > > http://portal.hot.ee > > > > ___ > > [EMAIL PROTECTED] mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" > > > > ___ > > [EMAIL PROTECTED] mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" > > -- > Login: petre Name: Petre Bandac > Directory: /home/petreShell: /usr/local/bin/zsh > On since Sat Oct 18 00:13 (EEST) on ttyv0, idle 5 days 1:47 > (messages off) > On since Thu Oct 16 16:27 (EEST) on ttyv1, idle 5 days 10:35 > (messages off) > Last login Mon Oct 20 21:52 (EEST) on ttyp6 from lubyanka.kgb.ro > No Mail. > No Plan. > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
icewm port: make error
Hi, while trying to install the icewm (a window manager) port, the make command stops with the error : . . "configure: error: Xinerama can not be found" . . . . . . . the full message is reported in the output included below (see OUTPUT of the make command). Anybody can help ? Thank you Bruno OUTPUT OF 'uname -a': FreeBSD seekingjob.singles.it 4.9-RC FreeBSD 4.9-RC #0: Wed Oct 15 00:12:26 CEST 2003 root@:/usr/obj/usr/src/sys/CURRENT_WINE i386 OUTPUT of the make command: ===> icewm-1.2.13 depends on executable: gmake - found ===> icewm-1.2.13 depends on executable: pkg-config - found ===> icewm-1.2.13 depends on shared library: intl.5 - found ===> icewm-1.2.13 depends on shared library: Xft.2 - found ===> icewm-1.2.13 depends on shared library: X11.6 - found ===> icewm-1.2.13 depends on shared library: esd.2 - found ===> icewm-1.2.13 depends on shared library: glib12.3 - found ===> icewm-1.2.13 depends on shared library: gtk12.2 - found ===> icewm-1.2.13 depends on shared library: Imlib.5 - found ===> Configuring for icewm-1.2.13 checking build system type... i386-portbld-freebsd4.9 checking host system type... i386-portbld-freebsd4.9 checking target system type... i386-portbld-freebsd4.9 checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking whether the C compiler (cc) understands C++... yes checking whether we are using the GNU C++ compiler... yes checking whether cc accepts -g... yes checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ANSI C... (cached) none needed checking whether the C++ compiler (cc) accepts no_rtti... yes checking whether the C++ compiler (cc) accepts no_exceptions... yes checking whether the C++ compiler (cc) accepts warn_xxx... yes checking whether the C++ compiler (cc) accepts permissive... yes checking if we need our own C++ allocation operators... no checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking how to run the C++ preprocessor... cc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking linux/threads.h usability... no checking linux/threads.h presence... no checking for linux/threads.h... no checking linux/tasks.h usability... no checking linux/tasks.h presence... no checking for linux/tasks.h... no checking kstat.h usability... no checking kstat.h presence... no checking for kstat.h... no checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for char... yes checking size of char... 1 checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking return type of signal handlers... void checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for putenv... yes checking for select... yes checking for socket... yes checking for strtol... yes checking for strtoul... yes checking for basename... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking for X... libraries /usr/X11R6/lib, headers /usr/X11
Re: SSHD Host Based Authentication NOT working
On Wed, Oct 22, 2003 at 10:03:23PM -0400, Gene Mats wrote: > Hello, > > I am having a problem with activating SSHD Host Based Authentication on > my > FreeBSD OS. Below is my /etc/ssh/sshd_config file. > > HostbasedAuthentication yes > PermitRootLogin no > VerifyReverseMapping yes > IgnoreRhosts yes > IgnoreUserKnownHosts yes > > My /etc/hosts.equiv and /etc/shosts.equiv have a few specific hostnames. > But > it seems I can still connect from any host -(. > > How can I block ALL hosts access to my SSHD. I tried putting in a minus > minus in the /etc/hosts.equiv and /etc/shosts.equiv and I have the > HostbasedAuthentication setting turned to up to yes. Still no success. > > Any help would be appreciated. Yes -- {,s}hosts.equiv don't control what hosts you can connect from, only what hosts will be allowed to bypass the usual authentication step. To prevent remote hosts connecting to your sshd(8), you can use tcpwrappers (/etc/hosts.allow) or you can set up a firewall to filter incoming packets to port 22. Do you really need to use host based access control? It is not generally recommended nowadays -- too many possibilites for spoofing or other nastyness unless you really know what you're doing and the rest of your network infrastructure is pretty bullet proof. It's generally held to be preferable to use key based authentication -- these can be passwordless keys for unattended oporation, and you should make full use of the features of the ~/.ssh/authorized_keys file that limit what hosts may connect and what commands they run using any particular key. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Fwd: Help: tar & find
On Wed, Oct 22, 2003 at 10:43:50PM -0600, Scott Gerhardt wrote: > > I am having trouble combining the tar and find command. I want to tar > and > delete all .bak,.Bak,.BAK files. > > I am using the following command but keep receiving errors. The tar > command > appears to be receiving a truncated file/path (some of the time, but not > always), and trying to procecss the file as two files. > > Any help on this would be great. > > The script is as follows > = > #! /bin/bash > set +x > TAR_DIR=/home/tarbackups; > FILES_DIR=/home/common; > tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.gz\ > `find $FILES_DIR -xdev -type f -iname "*.bak"`; > == > The -xdev is to not desend into an external smb-mounted drive to a > subdirectory. > > I have also tried substituting single quotes for the double quotes > around the > *.bak > > Here is some error output returned: > > tar: jobs/ROOF: Cannot stat: No such file or directory > tar: LAYOUTS/RESIDENTIAL/FRASER/219: Cannot stat: No such file or > directory > tar: LEWIS: Cannot stat: No such file or directory > tar: CRES.bak: Cannot stat: No such file or directory > tar: /home/technical/nfsapc30-my_documents/1999: Cannot stat: No such > file or > directory > tar: jobs/ROOF: Cannot stat: No such file or directory > tar: LAYOUTS/RESIDENTIAL/FRASER/THODE: Cannot stat: No such file or > directory > tar: RES.bak: Cannot stat: No such file or directory The problem is that you have file/directory names like 'ROOF LAYOUTS' which contain spaces and possibly other filenames containing characters with syntactic significance to the shell. Try: find $FILES_DIR -xdev -type f -iname "*.bak -print0 | \ xargs -0 tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.gz Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
RE: Dynamic Disks & FreeBSD
AFAIK it's impossible. The problem is that Micro$oft writes their own MBR. Although I think there are some distributions that can mount such drive, you can't boot different OS from this disk (yet). But still you can revert dynamic disk to basic from Disk administration utility in Windows 2000/XP. Regards, Ivailo Tanusheff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Sent: Thursday, October 23, 2003 6:44 AM To: [EMAIL PROTECTED] Subject: Dynamic Disks & FreeBSD Is it at all possible to use FreeBSD on hard disks that have been converted from basic to dynamic? I have two hard drives and have used Windows XP Professional to convert both to dynamic. Stephen (IST 225) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Fwd: Help: tar & find
On Thu, Oct 23, 2003 at 12:34:40PM +0100, Matthew Seaman wrote: > On Wed, Oct 22, 2003 at 10:43:50PM -0600, Scott Gerhardt wrote: > > > > I am having trouble combining the tar and find command. I want to tar > > and > > delete all .bak,.Bak,.BAK files. > > > > I am using the following command but keep receiving errors. The tar > > command > > appears to be receiving a truncated file/path (some of the time, but not > > always), and trying to procecss the file as two files. > > > > Any help on this would be great. > > > > The script is as follows > > = > > #! /bin/bash > > set +x > > TAR_DIR=/home/tarbackups; > > FILES_DIR=/home/common; > > tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.gz\ > > `find $FILES_DIR -xdev -type f -iname "*.bak"`; > > == > > The -xdev is to not desend into an external smb-mounted drive to a > > subdirectory. > > > > I have also tried substituting single quotes for the double quotes > > around the > > *.bak > > > > Here is some error output returned: > > > > tar: jobs/ROOF: Cannot stat: No such file or directory > > tar: LAYOUTS/RESIDENTIAL/FRASER/219: Cannot stat: No such file or > > directory > > tar: LEWIS: Cannot stat: No such file or directory > > tar: CRES.bak: Cannot stat: No such file or directory > > tar: /home/technical/nfsapc30-my_documents/1999: Cannot stat: No such > > file or > > directory > > tar: jobs/ROOF: Cannot stat: No such file or directory > > tar: LAYOUTS/RESIDENTIAL/FRASER/THODE: Cannot stat: No such file or > > directory > > tar: RES.bak: Cannot stat: No such file or directory > > The problem is that you have file/directory names like 'ROOF LAYOUTS' > which contain spaces and possibly other filenames containing > characters with syntactic significance to the shell. > > Try: > > find $FILES_DIR -xdev -type f -iname "*.bak -print0 | \ > xargs -0 tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.gz Let's try that again, and fix the typo: find $FILES_DIR -xdev -type f -iname "*.bak" -print0 | \ xargs -0 tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.g Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
irq conflict laptop with 5.1-current
Hello, Running my laptop Compaq Armada 7400 with 5.1-CURRENT from about two days ago. The OHCI (USB) is on IRQ 11 and the PCCARD/CARDBUS also. I now get a 'arp: unknown hardware address format (0x)' errors. The 0x can also be 0x2063 or oxfc00 or something else. I think it's an irq conflict, but don't know how to give the different device other irq's. In 5.1-RELEASE it all worked ok. Any idea's? Is my idea about the irq conflict right or is it something else? How van I solve this? I wil include the dmesg output here. Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-CURRENT #0: Wed Oct 22 05:41:44 CEST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src-current/src/sys/LAPTOP Preloaded elf kernel "/boot/kernel/kernel" at 0xc074a000. Preloaded elf module "/boot/kernel/if_ep.ko" at 0xc074a1a4. Preloaded elf module "/boot/kernel/elink.ko" at 0xc074a250. Preloaded elf module "/boot/kernel/snd_ess.ko" at 0xc074a2fc. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc074a3a8. Preloaded elf module "/boot/kernel/snd_sbc.ko" at 0xc074a454. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc074a500. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (266.68-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 100622336 (95 MB) avail memory = 92291072 (88 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 7 entries at 0xc00f0990 acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 can't fetch resources for \\_SB_.C09B - AE_AML_INVALID_RESOURCE_TYPE can't fetch resources for \\_SB_.C187 - AE_AML_INVALID_RESOURCE_TYPE can't fetch resources for \\_SB_.C188 - AE_AML_INVALID_RESOURCE_TYPE can't fetch resources for \\_SB_.C189 - AE_AML_INVALID_RESOURCE_TYPE can't fetch resources for \\_SB_.C18A - AE_AML_INVALID_RESOURCE_TYPE can't fetch resources for \\_SB_.C18B - AE_AML_INVALID_RESOURCE_TYPE can't fetch resources for \\_SB_.C18C - AE_AML_INVALID_RESOURCE_TYPE acpi_timer0: <32-bit timer at 3.579545MHz> port 0xc88-0xc8b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: _CRS resource entry has unsupported type 14 pcib0: _CRS resource entry has unsupported type 14 pcib0: _CRS resource entry has unsupported type 14 pcib1: at device 0.1 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.C000.C013 - AE_NOT_FOUND pci1: on pcib1 pci1: at device 0.0 (no driver attached) cbb0: mem 0x7fffe000-0x7fffefff irq 11 at device 12.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [MPSAFE] cbb1: mem 0x7000-0x7fff irq 11 at device 12.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [MPSAFE] isab0: at device 14.0 on pci0 isa0: on isab0 atapci0: port 0x1000-0x100f,0-0x3,0-0x7,0-0x3,0-0x7 at device 14.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] ohci0: mem 0x4408-0x44080fff irq 11 at device 14.2 on pci0 usb0: OHCI version 1.0 usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x0e11) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_cmbat2: on acpi0 acpi_cmbat3: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 ppc0 port 0x778-0x77a,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1: configured irq 4 not in bitmap of probed irqs 0 sio1: port may not be enabled fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio1: configured irq 4 not in bitmap of probed irqs 0 sio1: port may not be enabled pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounter "TSC" frequency 266677156 Hz quality 800 Timecounters tick every 4.000 msec system power profile changed to 'economy' ep0: <3Com Megahertz 589E> at port 0x100-0x10f irq 11 function 0 config 1 on pccard0 ep0: Ethernet address 00:50:da:d1:01:25 ad0: FAILURE - SETFEATURES status=51 error=4 GEOM: create disk ad0 dp=0xc193c170 ad0: 9590MB [19485/16/63] at ata0-master BIOSPIO
Re: firebird, java, artsd, sound
On Wed, 22 Oct 2003, John Nielsen wrote: > The problem I'm seeing is that when a java applet uses sound, and another > application tries to use sound, the applet crashes, soon followed by the > browser. Once the browser exits, the sound in the other application will > play. I am using KDE as my desktop, so I assume that this has something to > do with artsd. The other application in question that makes sounds in > kmess, which I use as an MSN Messenger clone. > > I don't know if this is a configuration issue or a bug, and if it's a bug I > don't know what program the bug is in. So I'm hoping someone can shed some > light on the situation--ideally one that leads to a solution. Any takers? There's probably contention over the sound devices. Have a look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html section 16.2.3 - maybe you can get the various subsystems using different virtual sound devices? -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ You see what happens when you have fun with a stranger in the Alps? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPFW Log anlysis tools
Hi, Does anyone know of any good tools for analysing the output from IPFW in /var/log/security? Thanks, Phil. - Email provided by http://www.ntlhome.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd 4.8 Command to finish typing
Ruben de Groot writes: > > How do you have Freebsd 4.8 finish typing a line? On older version I > > just type Ma and escape to finish typing Make. > > That depends on your shell. You're probably used to a > bourne-shell variant like ksh, where is used for word > completion. In csh, use the key. And note this is not "line completion" but file name completion - it will fill in as much as uniquely possible of the path starting with what you have already typed. Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrade to 4.8 RELEASE
Jud wrote: > On Sat, 18 Oct 2003 20:04:39 -0400, Robert H. Perry > <[EMAIL PROTECTED]> wrote: [...] > Unless there is a specific reason not to do so, cvsup and make world would > seem to be an easier and altogether better way to go for an upgrade from > one minor version number to the next. Many users do this quite routinely > (e.g., I do it once every week or two). See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html#CUTTING-EDGE-SYNOPSIS>. > While this section of the Handbook talks about the "cutting edge" > development branches, -CURRENT and -STABLE, the same process can be used > to upgrade to a -RELEASE. Do you find it impossible to install binary packages after such an update? Do you have to use ports after such an update? I could never get packages to install properly after cvsuping my source. I'm wondering if this is somehow by design, or if I did something wrong... ? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ATA Raid cards
Hi, I'm in a need of such a card, but I can't find out which cards are only doing raid under windows with specific drivers, and which cards are doing real hard raid. -- Mathieu Arnold pgp0.pgp Description: PGP signature
Re: ATA Raid cards
3ware is the way to go in my experience. They work really well under FreeBSD, Windows and Linux. The FreeBSD drivers were originally written by Mike Smith and Paul Saab is now maintaining them. They are not overly fancy in FreeBSD but they do what they are designed to do. I have used them extensively in RAID0, 1 and 10. RAID 5 is slow, but thats more RAID5 than anything. Also RAID 1 seems to be very intelligent about reads, using both drives to give better read performance as compared to the stats with just one drive. Writes on RAID 1 are not penalized at all. ---Mike At 09:42 AM 23/10/2003, Mathieu Arnold wrote: Hi, I'm in a need of such a card, but I can't find out which cards are only doing raid under windows with specific drivers, and which cards are doing real hard raid. -- Mathieu Arnold ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
can't print Postscript to HP 5si/mx printer.
We have an HP 5si/mx printer with PS installed, but when I try printing to it, the PS source is printed. The same printcap entry correctly prints onto an HP 5m printer. This is the printcap entry: lp:\ :sh:\ :rm=192.168.1.101:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: Is there any other option I need for this printer, such as a special escape sequence for it to interpret Postscript? pgp0.pgp Description: PGP signature
IDE Drives
Hello, I have a FreeBSD 4.7 box. It has a promise raid card supporting two drives in a mirrored config. It has two drives on the IDE bus. I had to physically move the motherboard to a different case. In the old case config, the drives were connected to a ATA card to get over the 137g limit and one to the motherboard. I now connected both to the ATA card. The drives were AD1 and AD9. Now they are AD9 and AD11. I can not mount the AD11. I have done a fdisk to make sure it is on ad11: 03 DING! /etc > fdisk /dev/ad11 *** Working on device /dev/ad11 *** parameters extracted from in-core disklabel are: cylinders=24792 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=24792 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 398283417 (194474 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: I can’t fsck /dev/ad11s1 nor mount it. Are there limitations to the IDE devices? Ideas? Thanks, dave --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.528 / Virus Database: 324 - Release Date: 10/16/2003 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Migrating from Linux: mounting ext2fs
Dear BSDers, I am about to move a workgroup server from Linux to FreeBSD. How stable is the FreeBSD support for ext2fs? Best regards, Miguel Gonçalves [EMAIL PROTECTED] -- http://www.fe.up.pt/~miguelg/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Probably dumb apache question
Probably not the most appropriate list for this, but the best of the ones I subscribe to... I have set up a new freebsd/apache/mod_ssl server. I want to force all connections to use SSL. I know I can simply turn off listening on port 80, but because I know people using this site will instinctivly type "http" instead of "https", I'd like to force a redirect. I'm guessing I'll need to use mod_rewrite, but was hoping there was an "out of box" way like "ForceSSL" directive or something. The box does not use vhosts if that matters at all... If mod_rewrite, anyone have a good rewrite rule handy? Cheers, Brent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Probably dumb apache question
> I have set up a new freebsd/apache/mod_ssl server. I want to force all > connections to use SSL. > > I know I can simply turn off listening on port 80, but because I know people > using this site will instinctivly type "http" instead of "https", I'd like > to force a redirect. # Redirect *everything* to SSL. RewriteEngine on RewriteRule ^(.*) https://secure.foo.com$1 [R=301] Dw ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Migrating from Linux: mounting ext2fs
Hi Miguel! Miguel_Gonçalves écrit: > Dear BSDers, > > I am about to move a workgroup server from Linux to FreeBSD. > > How stable is the FreeBSD support for ext2fs? I am currently using it happily (for the same purpose as yours). Beware that the fsck_ext2fs needs to be re-linked if you want to automount your partition (I still have the issue - I did not figure out how to statically link it so that it does not require libc.so before mounting /usr). Any help on this one, anyone? Thanks in advance Olivier ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Fwd: Help: tar & find
On Wed, Oct 22, 2003 at 10:43:50PM -0600, Scott Gerhardt wrote: > I am having trouble combining the tar and find command. I want to > tar and > delete all .bak,.Bak,.BAK files. > > I am using the following command but keep receiving errors. [...] > The script is as follows > = > #! /bin/bash > set +x > TAR_DIR=/home/tarbackups; > FILES_DIR=/home/common; > tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.gz\ > `find $FILES_DIR -xdev -type f -iname "*.bak"`; > == [...] > Here is some error output returned: > > tar: jobs/ROOF: Cannot stat: No such file or directory > tar: LAYOUTS/RESIDENTIAL/FRASER/219: Cannot stat: No such file or > directory > tar: LEWIS: Cannot stat: No such file or directory > tar: CRES.bak: Cannot stat: No such file or directory [...] --- --- --- Matthew Seaman <[EMAIL PROTECTED]> replied: > The problem is that you have file/directory names like 'ROOF LAYOUTS' > which contain spaces and possibly other filenames containing > characters with syntactic significance to the shell. > > Try: > > find $FILES_DIR -xdev -type f -iname "*.bak -print0 | \ > xargs -0 tar --remove-files -cvzpf $TAR_DIR/bak_files_`date > +%F`.tar.gz > --- --- --- Would the following approach also work? (Have sed surround each item returned by the find command with single quotes?) --- #! /bin/bash set +x TAR_DIR=/home/tarbackups; FILES_DIR=/home/common; tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.gz\ `find $FILES_DIR -xdev -type f -iname "*.bak" | sed "s/\(^.*$\)/'\1'/"`; --- or the backticks in the last line replaced with the newer alternative "$()": "$( find $FILES_DIR -xdev -type f -iname "*.bak" | sed "s/\(^.*$\)/'\1'/" )" ; Do the characters \ * $ in sed's argument need to be quoted further, to protect them from interpretation by the shell? The "find" portion of the command works correctly, as written above, on my FreeBSD machine using /bin/sh or /usr/local/bin/bash, but I don't know why those characters in sed's argument don't need to be further escaped. --- --- --- Steve D Portales, NM US ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Temporarily changing the time
Could someone point me to a man page, where I can temporarily change the time on FBSD 4.8. Im testing a php script and Im looking to see how it will handle the upcoming time change this weekend. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 5.1 release on a toshiba tecra 8000 - Sound Config?
hi gurus .. need help configuring sound card (opl3sa2) on a tecra 8000 laptop. It's been giving me hell for a while now ... Tried adding 'device pcm' and recompiled kernel ... no use. Tried adding 'options PNPBIOS' as well .. on config, it says 'unknown option PNPBIOS ...' something tells me PNPBIOS is not supported in 5.1 release ..? the laptop has a yamha opl3sa2 card .. any help here will be appreciated ... here's the kernel so far ... notice where 'device pcm' is right now, and where i've been trying to fit in 'options PNPBIOS'.. --- # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.384.2.2 2003/05/31 15:18:41 scottl Exp $ machine i386 cpu I486_CPU cpu I586_CPU cpu I686_CPU ident GENERIC #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" #Default places to look for devices. #makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols options SCHED_4BSD #4BSD scheduler options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options MD_ROOT #MD is a potential root device options NFSCLIENT #Network Filesystem Client options NFSSERVER #Network Filesystem Server options NFS_ROOT#NFS usable as root device, requires NFSCLIENT options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS #Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options SCSI_DELAY=15000#Delay (in ms) before probing SCSI options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~215k to driver. # Debugging for use in -current #optionsDDB #Enable the kernel debugger #optionsINVARIANTS #Enable calls of extra sanity checking options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS #optionsWITNESS #Enable checks to detect deadlocks and cycles #optionsWITNESS_SKIPSPIN#Don't run witness on spinlocks for speed # To make an SMP kernel, the next two are needed #optionsSMP # Symmetric MultiProcessor Kernel #optionsAPIC_IO # Symmetric (APIC) I/O options PNPBIOS device isa device eisa device pci device pcm # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # SCSI Controllers device ahb # EISA AHA1742 family device ahc # AHA2940 and onboard AIC7xxx devices device ahd # AHA39320/2932
RE: Probably dumb apache question
RewriteEngine on RewriteRule ^/ https://your.secure.domain.com [R] cheers Jay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brent Wiese Sent: Wednesday, October 22, 2003 9:03 PM To: [EMAIL PROTECTED] Subject: Probably dumb apache question Probably not the most appropriate list for this, but the best of the ones I subscribe to... I have set up a new freebsd/apache/mod_ssl server. I want to force all connections to use SSL. I know I can simply turn off listening on port 80, but because I know people using this site will instinctivly type "http" instead of "https", I'd like to force a redirect. I'm guessing I'll need to use mod_rewrite, but was hoping there was an "out of box" way like "ForceSSL" directive or something. The box does not use vhosts if that matters at all... If mod_rewrite, anyone have a good rewrite rule handy? Cheers, Brent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Temporarily changing the time
man date, is this what you are looking for? If you are running ntp you will want to turn it off while you are changing the time. cheers Jay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gerard Samuel Sent: Thursday, October 23, 2003 10:46 AM To: [EMAIL PROTECTED] Subject: Temporarily changing the time Could someone point me to a man page, where I can temporarily change the time on FBSD 4.8. Im testing a php script and Im looking to see how it will handle the upcoming time change this weekend. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Temporarily changing the time
Gerard Samuel wrote: Could someone point me to a man page, where I can temporarily change the time on FBSD 4.8. Im testing a php script and Im looking to see how it will handle the upcoming time change this weekend. Thanks Hmm, I'm going to step out on a limb and recommend: $man date You can also try the following, but be sure to have a scrollable terminal, or pipe it to your favorite PAGER: $apropos time $apropos date Plenty o' readin' there. HTH, Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Need some insight on error messages that I am getting.
> Try tweaking it up to, say, WDMA2, etc. and see what happens... OK I changed it to WDMA2 and it seems to behave! Well I went a little further and changed it back to UDMA33 and slowed the ad0 drive to UDMA33. It was previously set at UDMA66. Did the copy operation again, it did not show me any errors. I am assuming here that FreeBSD does not like drives with different speeds on the same bus??? Is my assumption correct?? From what little bit of fooling around that I did seems to support this. When putting everything back to the defaults, I start seeing the messages again. Interesting huh? One of the drives ad0 is capable of ATA100 though my motherboard is not capable of that. It uses UDMA66 and this transfer mode works well in other OS's. The drive that is driving me nuts the ad1 is only capable of UDMA33. This info may/maynot help but it might get one to thinking what could be causing this. Thanks for the help so far! Marshall ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How can I set up a STABLE machien to compile Gnome apps from source?
Wonderful as the ports system is, there comes a time in life when I need to compile packages outside that system. Lately I have been totaly unable to nuild anything Gnome related. I keep getting errors about gnomeConf.sh not being found. What do I need to do to set up my achine to allow building Gnome apps from upstream sources? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gaim and MSN
I'am using amsn 0.83 and it's working fine. The ports are still to 0.82 (Not working version) You have to download amsn from sourceforge Antoine Tak Pui LOU wrote: Thanks for telling me that. I was too busy so I try to look up the reason. I don't want to use applications that depend on so many packages. So, I guess I will install aMSN 0.83. --- Lou On Wed, 22 Oct 2003, Joe Marcus Clarke wrote: On Wed, 2003-10-22 at 12:33, Tak Pui LOU wrote: Hi, I use amsn and recently am unable to login. I saved the password on it so it can't be a wrong password. I can also login from work with a PC running W2k. Does anyone know what evil thing M$ has done this time? They changed the protocol version. This has been in the news for months. You need to have gaim-0.71_5, and you should be able to login to MSN just fine. Joe --- Lou On Wed, 22 Oct 2003, Kan Cai wrote: Yeah, it works, but there is another problem. When I try to log on, I got "error reading from server". Anything wrong with it? I am sure that the password is right. ;) Thanks a lot for the suggestions. cheers, --ken On Wed, 22 Oct 2003, Joe Marcus Clarke wrote: On Tue, 2003-10-21 at 22:31, Kan Cai wrote: Hi, All: I am installing gaim 0.71. Everything goes fine, but it seems that there is some problem with MSN lib. Whe I start it, I got plug-in error on finding MSN lib. I didn't install it actually, did I? I have installed Mozilla 1.4, but it seems that it is not able to make the SSL option on. Shall I specify the location, and how? Is there anybody can help me on this? If you're installing gaim from ports, SSL will be enabled automatically. Just make sure you have the port 0.71_5, and you'll be set. Joe Thanks a lot in advance. Cheers, ken ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- PGP Key : http://www.marcuscom.com/pgp.asc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- PGP Key : http://www.marcuscom.com/pgp.asc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Apache on two nic's
I've got Apache running on 4 stable. The server started out with one network card plugged into our privet network. We could get to the website on the server just fine. Here is what we want 1. access from the outside 2. some websites will be internal and others will be public Here is my quick solution 1. Added a second network card to the server 2. connected the network card to the outside of the network 3. tired to connect to the website on the new IP address 4. Got nothing 5. Added a virtual server that listened on the new address but got nothing. I've looked at the Apache config file and there is a place to put in an IP address but I left that alone. As fare as I can tell it's listening to all addresses. Can someone tell me what I need to do to get this working? NOTE: I don't have accesses to the proxy so I can't reprogram it to forward connections to the server. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Temporarily changing the time
Gerard Samuel wrote: Could someone point me to a man page, where I can temporarily change the time on FBSD 4.8. Im testing a php script and Im looking to see how it will handle the upcoming time change this weekend. Thanks Thanks for your replies. Time to go read... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Apache on two nic's
Look in your apache config for # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the # directive. # #Listen 12.34.56.78:80 and list all the IPs you want apache to listen on. HTH cheers Jay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Damien Hull Sent: Thursday, October 23, 2003 11:56 AM To: [EMAIL PROTECTED] Subject: Apache on two nic's I've got Apache running on 4 stable. The server started out with one network card plugged into our privet network. We could get to the website on the server just fine. Here is what we want 1. access from the outside 2. some websites will be internal and others will be public Here is my quick solution 1. Added a second network card to the server 2. connected the network card to the outside of the network 3. tired to connect to the website on the new IP address 4. Got nothing 5. Added a virtual server that listened on the new address but got nothing. I've looked at the Apache config file and there is a place to put in an IP address but I left that alone. As fare as I can tell it's listening to all addresses. Can someone tell me what I need to do to get this working? NOTE: I don't have accesses to the proxy so I can't reprogram it to forward connections to the server. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apache on two nic's
Damien Hull wrote: I've got Apache running on 4 stable. The server started out with one network card plugged into our privet network. We could get to the website on the server just fine. Here is what we want 1. access from the outside 2. some websites will be internal and others will be public Here is my quick solution 1. Added a second network card to the server 2. connected the network card to the outside of the network 3. tired to connect to the website on the new IP address 4. Got nothing 5. Added a virtual server that listened on the new address but got nothing. You did restart Apache after making changes? I've looked at the Apache config file and there is a place to put in an IP address but I left that alone. As fare as I can tell it's listening to all addresses. Does 'netstat -anf inet' confirm this? Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrade to 4.8 RELEASE
On Thu, 23 Oct 2003 09:21:13 -0400, "Jesse Guardiani" <[EMAIL PROTECTED]> said: > Jud wrote: > > > On Sat, 18 Oct 2003 20:04:39 -0400, Robert H. Perry > > <[EMAIL PROTECTED]> wrote: > > [...] > > > Unless there is a specific reason not to do so, cvsup and make world would > > seem to be an easier and altogether better way to go for an upgrade from > > one minor version number to the next. Many users do this quite routinely > > (e.g., I do it once every week or two). See > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html#CUTTING-EDGE-SYNOPSIS>. > > While this section of the Handbook talks about the "cutting edge" > > development branches, -CURRENT and -STABLE, the same process can be used > > to upgrade to a -RELEASE. > > Do you find it impossible to install binary packages after such an > update? > Do you have to use ports after such an update? > > I could never get packages to install properly after cvsuping my source. > I'm wondering if this is somehow by design, or if I did something > wrong... ? Last question first: IIRC, you were a bit confused regarding ports vs. packages, so the reason for failure of packages (or perhaps it was ports?) to install properly may be as simple as typing commands meant for ports when you really wanted to install a package, or vice versa. Installing a package is as easy as typing 'pkg_add' followed by a URL, or a directory location if you've downloaded the package first. Installing a port is also quite easy - just cd to the port's directory and type 'make install clean.' If you cvsup the -CURRENT or 5.x base system sources and make world, then packages expecting a 4.x base system won't install properly. However (again, IIRC), Mr. Perry was contemplating an update from 4.7 to 4.8, so packages built for 4.x should install fine. Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ATA Raid cards
On Thu, 23 Oct 2003, Mike Tancsa wrote: > > 3ware is the way to go in my experience. They work really well under > FreeBSD, Windows and Linux. The FreeBSD drivers were originally written by > Mike Smith and Paul Saab is now maintaining them. They are not overly > fancy in FreeBSD but they do what they are designed to do. I have used > them extensively in RAID0, 1 and 10. RAID 5 is slow, but thats more RAID5 > than anything. Also RAID 1 seems to be very intelligent about reads, using > both drives to give better read performance as compared to the stats with > just one drive. Writes on RAID 1 are not penalized at all. > > ---Mike I second that. I love 3Ware cards for IDE RAID, especially if you plan to implement IDE RAID on a server who's data is considered even remotely critical. They do run more then Promise/HighPoint/etc cards though, the 8506-4LP (4 port SATA CARD - forgive me if model # is wrong) runs ~$350 US on NewEgg, but they are worth it. I agree with Mike about the RAID 5 performance, but the SATA cards seem to be a lot faster with it then the PATA ones. -Jeremy D. Pavleck > > At 09:42 AM 23/10/2003, Mathieu Arnold wrote: > >Hi, > > > >I'm in a need of such a card, but I can't find out which cards are only > >doing raid under windows with specific drivers, and which cards are doing > >real hard raid. > > > >-- > >Mathieu Arnold > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Any Ideas On X Freezing up with NVIDIA Drivers?
Hi, What Nvidia card are you using? What drivers are you using? Can you post your dmesg, uname -a and XF86Config? chris --- Brian Black <[EMAIL PROTECTED]> wrote: > Hi, > I am also having alot of problems, my problem is when i load the > driver and try to run X i am getting crazy matrix like characters on the > > screen. X does not come up and the char's stay present until i reboot. > > I have been reading the postings but have been unsuccessful with finding > > a solution. It seems like others are having similar problems but i dont > > see any type of solution or it there is one for this card. It would be > > nice to be able to use the new card. Any Ideas? > > > __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ATA Raid cards
On Thu, 23 Oct 2003 15:42:25 +0200, "Mathieu Arnold" <[EMAIL PROTECTED]> said: > Hi, > > I'm in a need of such a card, but I can't find out which cards are only > doing raid under windows with specific drivers, and which cards are doing > real hard raid. Depends what you want to do with it. My experience is with my own desktop machines for RAID-0 or RAID-1, and for those the Promise cards (or equivalent onboard chips in my case) have never given me a problem beyond having to wait a few days for a bit of tweaking in -CURRENT once in a great while. These particular Promise chips don't do "real hard raid" AFAIK, but thanks to Soeren Schmidt they work fine in FreeBSD. Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Dynamic Disks & FreeBSD
On Thu, 23 Oct 2003 14:35:20 +0300, "Ivailo Tanusheff" <[EMAIL PROTECTED]> said: [snip] > But still you can revert dynamic disk to basic from Disk administration > utility in Windows 2000/XP. You will want to take an image of the drive(s) or otherwise backup desired apps and data beforehand. In Win2K, reversion from dynamic to basic disks is a data-destructive process. Has that changed in XP? Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: Apache on two nic's
The other network card is working. I can ssh into the server from our internall network on the outside address. I still can't connect to the website though. Apache seems to be the only thing that doesn't work on the new address. ---Original Message--- > From: Kevin D. Kinsey, DaleCo, S.P. <[EMAIL PROTECTED]> > Subject: Re: Apache on two nic's > Sent: Oct 23 2003 16:13:47 > > Damien Hull wrote: > > >I've got Apache running on 4 stable. The server started out with one > >network card plugged into our privet network. We could get to the > >website on the server just fine. > > > >Here is what we want > > > >1. access from the outside > >2. some websites will be internal and others will be public > > > > > >Here is my quick solution > >1. Added a second network card to the server > >2. connected the network card to the outside of the network > >3. tired to connect to the website on the new IP address > >4. Got nothing > >5. Added a virtual server that listened on the new address but got > >nothing. > > > > > > > You did restart Apache after making changes? > > >I've looked at the Apache config file and there is a place to put in an > >IP address but I left that alone. As fare as I can tell it's listening > >to all addresses. > > > > > > Does 'netstat -anf inet' confirm this? > > > Kevin Kinsey > DaleCo, S.P. ---Original Message--- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Open SSH, sshd_config on FreeBSD vs. NetBSD re: X11
>From the FreeBSD man page: X11Forwarding Specifies whether X11 forwarding is permitted. The argument must be ``yes'' or ``no''. The default is ``yes''. >From the NetBSD page: X11Forwarding Specifies whether X11 forwarding is permitted. The argument must be ``yes'' or ``no''. The default is ``no''. I don't mean to compare apples and oranges, nor to start a "My OS can kick your OSes butt" thread; but I am wondering about the difference. It seems the NetBSD default is safer, but I am also no security wonk. It occurred to me that the man page for FreeBSD could be incorrect; but I doubt that...it actually strikes me as a choice made to reflect a balance between options. Is the default set to no a more secure option? Or is it something that can be arguH^H^discussed at length? I do note that the man page for both OSes states that UseLogin defaults to no, and that if used, X11 forwarding is turned off. However, in the default config file for sshd, the line for UseLogin is commented out. Given this latter state of affairs, can I continue to assume that X11 forwarding is in fact _not_ enabled by default in FreeBSD? Oh, and what is the difference between the entry in the ssh_config file and the sshd_config file? Incoming vs. outbound traffic? That is, sshd_config accepts incoming X11 forwarding (that is, from a remote host, to the localhost), and ssh_config allows outbound (from the localhost to a remote host) X11 forwarding? It sure looks that way... Hmmmnow I'm thinking that this: serverargs="-nolisten tcp" in /usr/X11R6/bin/startx/ may make this a bit of a moot pointis this correct? -- The George W. Bush Five Point Economic Recovery Plan: Hunt, Kill, Eat, Hump, Shit. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: irq conflict laptop with 5.1-current
> Date: Thu, 23 Oct 2003 13:45:28 +0200 > From: Ronald Klop <[EMAIL PROTECTED]> > Sender: [EMAIL PROTECTED] > > (Forwarding to -current; -questions and searching the net didn't give an > answer.) > > Hello, > > Running my laptop Compaq Armada 7400 with 5.1-CURRENT from about two days > ago. > The OHCI (USB) is on IRQ 11 and the PCCARD/CARDBUS also. > I now get a 'arp: unknown hardware address format (0x)' errors. > The 0x can also be 0x2063 or oxfc00 or something else. > I think it's an irq conflict, but don't know how to give the different > device other irq's. > In 5.1-RELEASE it all worked ok. > Any idea's? Is my idea about the irq conflict right or is it something > else? > How van I solve this? It's something else. On recent FreeBSD releases, both V4 and V5, PCMCIA devices share the IRQ of the CardBus bridge. This is almost fixed. You can use a sysctl to use the old ISA interrupts which are not shared, but this is NOT a good idea. Try 'vmstat -i' and notice that the various network cards and many other PCI devices are not listed. Instead there is a 'mux' device which is the shared interrupt. PCI devices may use either the shared interrupt or a unique interrupt depending on how BIOS is configured, but the PCMCIA devices (either PCcard or CardBus) have to use the same IRQ as the bridge to which they are connected. The probable cause is a memory conflict (as indicated by the dmesg). This is being worked on, but, until it is fixed, you need to specify a start address for the card's memory. It must be greater then than the highest physical address of RAM and must not conflict with that of other devices. Add 'hw.cbb.start_memory="0x2000"' to /boot/loader.conf and see if that fixes it. If it does not, try other values. (If you have large amounts of memory, you may need to start larger.) You MAY also need to add 'hw.pci.allow_unsupported_io_range="1"'. These need to be in loader.conf. sysctl.conf will not work as it loads too late in the boot sequence. You also have some major ACPI issues that may be causing the failure. If your system supports APM, try using that, instead. Or, at least boot with ACPI disabled (hint.acpi.0.disabled="1" in /boot/device.hints). If you want to use APM, load the module in /boot/loader.conf and enable it in /boot/device.hints. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Running apache twice on the same system
How do I get apache to run twice on the same system? I want them to listen to different IP addresses. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Activesync?
Hi all, Possibly a newbie question, but I need to know if someone knows a utility to access a Windows CE based PDA? Regards, Mandfred. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD installation smothered Windows
Hello! I installed FreeBSD 5.1-RELEASE recently, on a hard drive that's split into one 26GB Windows partition, and one 12GB FreeBSD partition (yes, I know, it's really unfair, but I use the music program Logic from Emagic a lot, so I have to keep Windows...otherwise, it would be out the door...). When I installed FreeBSD, the installation program complained that 77504/16/63 couldn't possibly be a correct geometry for the hard drive, a Western Digital WD400BB-75DEA0. I found another geometry, 5166/240/63, which I gave sysinstall, and it seemed to accept it. I don't know which one is correct. Possibly, that's the reason that my Windows partition has some trouble booting up. If I choose to boot the Windows partition, all I get is a lousy blinking cursor, and no response to input (no CTRL-ALT-DEL is accepted). I can wait forever, and then I have to pull out the power cord. Now, I want to reinstall FreeBSD and Windows altogether (after finding some way to back up my 10 GB of precious data). How should I go about it? Windows first, the FreeBSD? Which geometry should I use? /Fredrik, Stockholm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPFW + BRIDGE: network capacity question
Hello everyone. I have an Intel D815EGEW board with a single PIII 1GHZ, 256MEG RAM, 2 Intel Pro 100MB cards. This will be used as an IPFW+bridging firewall with FreeBSD 4.8 (RELENG_4_8, perhaps RELENG_4_9 when available). My message is about network capacity. Assume that it will be processing at peak all of this at once: 500 TCP connections with long lived sessions (an hour or more at a time) 500 UDP 'connections' 500 web (HTTP port 80 tcp) connections per second (graphics, small html pages) The HTTP sessions will be short lived, so lots of TCP handshakes at *least* a good portion will not utilize persistant HTTP The total bandwidth could be 20-50 megabits, mostly outbound to clients on the internet. Should I tweak the kernel at all for this? NMBCLUSTERS or NMBUFS? Something else? For IPFW, I figure that adding accept rules that catch most of the packets up front will help lower CPU usage. Is this correct? Maybe allow TCP if the session is established, allow setup of outbound TCP, allow setup of incoming TCP/80, allow outbound UDP packets to be happy, etc. Does anyone see any possible issues with this configuration and the expected network load? Thank you, folks! Any suggestions are very appreciated. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Running apache twice on the same system
You shouldnt need to run it twice, use virtual host directives to make one virtual host listen to one IP and the other to the other. all in the apache docs. http://httpd.apache.org/docs-2.0/vhosts/ip-based.html for version 2. otherwise create different conf files and point your apache executable at one then the other. > -Original Message- > From: dhull [mailto:[EMAIL PROTECTED] > Sent: 23 October 2003 18:39 > To: [EMAIL PROTECTED] > Subject: Running apache twice on the same system > > > How do I get apache to run twice on the same system? > > I want them to listen to different IP addresses. > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Activesync?
Manfred Riem wrote: Possibly a newbie question, but I need to know if someone knows a utility to access a Windows CE based PDA? $ cat /usr/ports/palm/synce-libsynce/pkg-descr SynCE is a project for connecting to devices running Windows CE or Pocket PC. Libsynce provides common functions needed for communication with a Windows CE device. WWW: http://synce.sourceforge.net/ Regards. Antoine ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: RE: Running apache twice on the same system
Here is my setup 1. the system has two network cards in it 2. One is connected on the outside of the network and the other is inside 3. I can get to the website on the inside IP address but not the outside Here is what I want 1. Have a website on the inside of the network 2. Have a website on the outside of the network 3. Hosted on the same system For some reasion apache doesn't want to listen on the other network card. Any ideas?? ---Original Message--- > From: Vince Hoffman <[EMAIL PROTECTED]> > Subject: RE: Running apache twice on the same system > Sent: Oct 23 2003 17:50:25 > > You shouldnt need to run it twice, use virtual host > directives to make one virtual host listen to one > IP and the other to the other. > > all in the apache docs. > http://httpd.apache.org/docs-2.0/vhosts/ip-based.html for version 2. > > otherwise create different conf files and point your apache > executable at one then the other. > > > -Original Message- > > From: dhull [mailto:[EMAIL PROTECTED] > > Sent: 23 October 2003 18:39 > > To: [EMAIL PROTECTED] > > Subject: Running apache twice on the same system > > > > > > How do I get apache to run twice on the same system? > > > > I want them to listen to different IP addresses. > > ---Original Message--- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Fwd: Help: tar & find
Steve D <[EMAIL PROTECTED]> wrote: > Would the following approach also work? (Have sed surround each > item returned by the find command with single quotes?) > --- > #! /bin/bash > set +x > TAR_DIR=/home/tarbackups; > FILES_DIR=/home/common; > tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.gz\ > `find $FILES_DIR -xdev -type f -iname "*.bak" | sed "s/\(^.*$\)/'\1'/"`; > > or the backticks in the last line replaced with the newer > alternative "$()": > > "$( find $FILES_DIR -xdev -type f -iname "*.bak" | sed "s/\(^.*$\)/'\1'/" )" ; > --- Matthew Seaman <[EMAIL PROTECTED]> responded: > > You've apparently got double quotes inside a double quoted string. > That doesn't work. > > Trying to enclose the output of find in quote marks will sort of > work, but it's generally found to be flaky. Especially when the > filenames you're dealing with also contain quotation marks of various > types or return characters. This is exactly why the '-print0' > primitive for find(1) was invented: it puts out a list of file names > separated by ascii NULL characters, which is one of the two ascii > characters you can't get in a filename. (The other is '/' -- the > directory separator). > [...] --- Thank you Matthew for this information. Interestingly, the double quotes inside double quotes seems to work on my machine (using /usr/local/bin/bash), perhaps because the contents inside the "$( )" are processed in a subshell? Output of terminal session follows: ~/tmp/test> touch 'filename with spaces.bak' 'file two.bak' file3.txt file4.BAK ~/tmp/test> ls -l total 0 -rw-r--r-- 1 xscd xscd 0 Oct 23 11:45 file two.bak -rw-r--r-- 1 xscd xscd 0 Oct 23 11:45 file3.txt -rw-r--r-- 1 xscd xscd 0 Oct 23 11:45 file4.BAK -rw-r--r-- 1 xscd xscd 0 Oct 23 11:45 filename with spaces.bak ~/tmp/test> ~/tmp/test> echo "$(find . -xdev -type f -iname "*.bak" | sed "s/\(^.*$\)/'\1'/")" './filename with spaces.bak' './file two.bak' './file4.BAK' ~/tmp/test> Now because of your response I am motivated to read and learn more about find's -print0 option and about xargs. Thank you. Steve D Portales, NM US -- Civilization is a process in search of humanity. -Eli Khamarov ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrade to 4.8 RELEASE
Jud wrote: > > On Thu, 23 Oct 2003 09:21:13 -0400, "Jesse Guardiani" <[EMAIL PROTECTED]> > said: >> Jud wrote: >> >> > On Sat, 18 Oct 2003 20:04:39 -0400, Robert H. Perry >> > <[EMAIL PROTECTED]> wrote: >> >> [...] >> >> > Unless there is a specific reason not to do so, cvsup and make world >> > would seem to be an easier and altogether better way to go for an >> > upgrade from >> > one minor version number to the next. Many users do this quite >> > routinely >> > (e.g., I do it once every week or two). See > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html#CUTTING-EDGE-SYNOPSIS>. >> > While this section of the Handbook talks about the "cutting edge" >> > development branches, -CURRENT and -STABLE, the same process can be >> > used to upgrade to a -RELEASE. >> >> Do you find it impossible to install binary packages after such an >> update? >> Do you have to use ports after such an update? >> >> I could never get packages to install properly after cvsuping my source. >> I'm wondering if this is somehow by design, or if I did something >> wrong... ? > > Last question first: IIRC, you were a bit confused regarding ports vs. > packages, so the reason for failure of packages (or perhaps it was > ports?) to install properly may be as simple as typing commands meant for > ports when you really wanted to install a package, or vice versa. No. I wasn't confused about ports vs. packages. I was confused in that I thought the port cvsup had caused my problem. I've since discovered that it was the system source cvsup (to fix a security vulnerability) that caused my problems. I've updated ports on my laptop and I can still download and install package just fine. However, I'm sure that if I updated to -CURRENT I would no longer be able to install packages. [...] > If you cvsup the -CURRENT or 5.x base system sources and make world, then > packages expecting a 4.x base system won't install properly. However > (again, IIRC), Mr. Perry was contemplating an update from 4.7 to 4.8, so > packages built for 4.x should install fine. OK. That's what I thought. It's a shame that FreeBSD doesn't provide some sort of system to allow the use of packages with (at the very least) -STABLE. As an administrator, I find myself often torn between updating my system sources from -RELEASE to fix a security vulnerability (and thus give up my ability to install binary packages), and simply recompiling the effected program or library (and any linked programs that depend on it) by hand so I can still install binary packages. Is the ports/packages system actively maintained by anyone? If so, the above might be something to think about. For security updates, each effected package would have to be recompiled with the appropriate fix and somehow become the default choice (overriding the vulnerable package) for systems with a compatible bug fix level. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: RE: Running apache twice on the same system
too many variables to be able to give a definite answer but, 1) do other services (telnet/ftp/ssh/whatever) work on both IPs. 2) whats the output of grep ^Listen /path/to/httpd.conf(changing /path/to/ appropriately) (should just be Listen 80 ) 3) whats the output of sockstat |grep httpd should be something like www httpd 18413 tcp46 *:80 *:* www httpd 18373 tcp46 *:80 *:* www httpd 18363 tcp46 *:80 *:* www httpd 18353 tcp46 *:80 *:* www httpd 18183 tcp46 *:80 *:* I have it a similar setup and can access mine fine on both IPs. -Original Message- From: dhull [mailto:[EMAIL PROTECTED] Sent: 23 October 2003 18:56 To: Vince Hoffman Cc: [EMAIL PROTECTED] Subject: Re: RE: Running apache twice on the same system Here is my setup 1. the system has two network cards in it 2. One is connected on the outside of the network and the other is inside 3. I can get to the website on the inside IP address but not the outside Here is what I want 1. Have a website on the inside of the network 2. Have a website on the outside of the network 3. Hosted on the same system For some reasion apache doesn't want to listen on the other network card. Any ideas?? ---Original Message--- > From: Vince Hoffman <[EMAIL PROTECTED]> > Subject: RE: Running apache twice on the same system > Sent: Oct 23 2003 17:50:25 > > You shouldnt need to run it twice, use virtual host > directives to make one virtual host listen to one > IP and the other to the other. > > all in the apache docs. > http://httpd.apache.org/docs-2.0/vhosts/ip-based.html for version 2. > > otherwise create different conf files and point your apache > executable at one then the other. > > > -Original Message- > > From: dhull [mailto:[EMAIL PROTECTED] > > Sent: 23 October 2003 18:39 > > To: [EMAIL PROTECTED] > > Subject: Running apache twice on the same system > > > > > > How do I get apache to run twice on the same system? > > > > I want them to listen to different IP addresses. > > ---Original Message--- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Need some insight on error messages that I am getting.
On Thu, 23 Oct 2003 11:24:02 -0400 Marshall Heartley <[EMAIL PROTECTED]> probably wrote: > > > Try tweaking it up to, say, WDMA2, etc. and see what happens... > > OK I changed it to WDMA2 and it seems to behave! Well I went a little > further and changed it back to UDMA33 and slowed the ad0 drive to > UDMA33. It was previously set at UDMA66. Did the copy operation again, > it did not show me any errors. > > I am assuming here that FreeBSD does not like drives with different > speeds on the same bus??? Is my assumption correct?? From what little > bit of fooling around that I did seems to support this. When putting > everything back to the defaults, I start seeing the messages again. > > Interesting huh? One of the drives ad0 is capable of ATA100 though my > motherboard is not capable of that. It uses UDMA66 and this transfer > mode works well in other OS's. The drive that is driving me nuts the > ad1 is only capable of UDMA33. > > This info may/maynot help but it might get one to thinking what could be > causing this. \From ata(4) manpage: man> The use of UDMA4(66MHz) and higher together with non-UDMA4 devices on the man> same ATA channel is not recommended, unless they are run at the non-UDMA4 man> device's lower speed. The driver has been designed to handle that kind man> of setup but lots of older devices do not like this. > Thanks for the help so far! > > Marshall > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- DoubleF One Page Principle: A specification that will not fit on one page of 8.5x11 inch paper cannot be understood. -- Mark Ardis pgp0.pgp Description: PGP signature
Re: Open SSH, sshd_config on FreeBSD vs. NetBSD re: X11
On Thu, Oct 23, 2003 at 01:15:40PM -0400, Joe Altman wrote: > >From the FreeBSD man page: > > X11Forwarding > Specifies whether X11 forwarding is permitted. The > argument must be ``yes'' or ``no''. The default is > ``yes''. > > >From the NetBSD page: > > X11Forwarding > Specifies whether X11 forwarding is permitted. The > argument must be ``yes'' or ``no''. The default is > ``no''. > > I don't mean to compare apples and oranges, nor to start a "My OS can > kick your OSes butt" thread; but I am wondering about the > difference. It seems the NetBSD default is safer, but I am also no > security wonk. It occurred to me that the man page for FreeBSD could > be incorrect; but I doubt that...it actually strikes me as a choice > made to reflect a balance between options. > > Is the default set to no a more secure option? Or is it something that > can be arguH^H^discussed at length? By default it's enabled in the server but disabled in the client. > I do note that the man page for both OSes states that UseLogin > defaults to no, and that if used, X11 forwarding is turned off. > However, in the default config file for sshd, the line for UseLogin is > commented out. Given this latter state of affairs, can I continue to > assume that X11 forwarding is in fact _not_ enabled by default in > FreeBSD? That's incorrect; X11 forwarding does not depend on UseLogin. > Oh, and what is the difference between the entry in the ssh_config > file and the sshd_config file? Client vs server. > Hmmmnow I'm thinking that this: serverargs="-nolisten tcp" > > in /usr/X11R6/bin/startx/ may make this a bit of a moot pointis > this correct? No, ssh's X forwarding uses a local socket to communicate to the server. Kris pgp0.pgp Description: PGP signature
Re: Open SSH, sshd_config on FreeBSD vs. NetBSD re: X11
On Thu, Oct 23, 2003 at 01:15:40PM -0400, Joe Altman wrote: > >From the FreeBSD man page: > > X11Forwarding > Specifies whether X11 forwarding is permitted. The > argument must be ``yes'' or ``no''. The default is > ``yes''. > > >From the NetBSD page: > > X11Forwarding > Specifies whether X11 forwarding is permitted. The > argument must be ``yes'' or ``no''. The default is > ``no''. > > I don't mean to compare apples and oranges, nor to start a "My OS can > kick your OSes butt" thread; but I am wondering about the > difference. It seems the NetBSD default is safer, but I am also no > security wonk. It occurred to me that the man page for FreeBSD could > be incorrect; but I doubt that...it actually strikes me as a choice > made to reflect a balance between options. > > Is the default set to no a more secure option? Or is it something that > can be arguH^H^discussed at length? X11Forwarding is an interesting one. It doesn't expose the server where that option is set to any more security implications than having sshd(8) running anyway. On the other hand, you as a user ssh-ing into an untrusted machine are potentially exposed to having nasty things done to you. Same thing goes for servers with ForwardAgent=yes, which can lead to loss of your ssh keys. Moral of the story: never ssh into an untrusted machine without turning off X- and Agent- forwarding on the client side (that's 'ssh -a -x [EMAIL PROTECTED] ...') and remember that such things as rsync(1) default to running over ssh nowadays. netbsd seems to have specifically turned off the X11Forwarding option due to a security problem several years ago: ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2001-010.txt.asc As far as I can find, this didn't affect FreeBSD because the vulnerable version of OpenSSH was never imported into the base system. > I do note that the man page for both OSes states that UseLogin > defaults to no, and that if used, X11 forwarding is turned off. > However, in the default config file for sshd, the line for UseLogin is > commented out. Given this latter state of affairs, can I continue to > assume that X11 forwarding is in fact _not_ enabled by default in > FreeBSD? The convention in the OpenSSH config files is to show the default value of the setting, but commented out. That way it is obvious that any uncommented option in the config file is a local modification. > Oh, and what is the difference between the entry in the ssh_config > file and the sshd_config file? Incoming vs. outbound traffic? That is, > sshd_config accepts incoming X11 forwarding (that is, from a remote > host, to the localhost), and ssh_config allows outbound (from the > localhost to a remote host) X11 forwarding? It sure looks that way... Essentially yes. ssh_config(5) provides the client side defaults for a user ssh(1) session. However you can override the defaults either from the command line (ssh -X) or by having your own defaults settings in ${HOME}/.ssh/config You can't modify the sshd(8) settings as a mortal user. > Hmmmnow I'm thinking that this: serverargs="-nolisten tcp" > > in /usr/X11R6/bin/startx/ may make this a bit of a moot pointis > this correct? Turning off X's binding to tcp sockets is the default nowadays. However, that won't stop you tunnelling remote X sessions over ssh(1) -- just so long as the X11Forwarding flag is on for each end of the connection. In fact, this setup is the best and most secure way of running X applications over a network. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
How i can encode pcm to mp3
Hello All. I wnat record radio, when i absent. When i use # lame , sound don't rec. I'am sory, but me english is VERY poor. -- FreeBSD FOREVER, sfinks12 mailto:[EMAIL PROTECTED] OS: FreeBSD 4.7 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How i can encode pcm to mp3
> I wnat record radio, when i absent. > When i use # lame , sound don't rec. I'm not sure what you're using to actually record with, but lame can encode pcm data to mp3. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sendmail
Hello We are using the latest version of sendmail on a firewall running freebsd4.7. We have set it up to accept mail for our domain then using dnsrbl check if to accept mail. If it accepts the mail it then forwards it to or virus scanner which then forwards to our mail server. Our problem is that sendmail keeps sending mail back to forged addresses for 550 errors and the like. We would like to stop sendmail from sending any mail or reply's when it encounters these errors. Any Ideals. Best Regards, Joe Hartung JADE Technologies, Inc. 262-938-5950 [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: How i can encode pcm to mp3
Hello Mike, Friday, October 24, 2003, 12:59:14 AM, you wrote: >> I wnat record radio, when i absent. >> When i use # lame , sound don't rec. MM> I'm not sure what you're using to actually record with, but lame can encode MM> pcm data to mp3. MM> __ ./SOUND_REC 3600 | lame -[some options] - out.mp3 where ./SOUND_REC - my C program which read info from /dev/dsp. In the output file the bad sound, dont bad quatly. when i enter: ./SOUND_REC 3600 | oggenc -[some options] - wav out.wav The file is normal, but file is very large. When i try to enter: ./SOUND_REC 3600 | oggenc -[some options] - wav | lame -[some options] - out.mp3 oggenc -return error. FreeBSD FOREVER, sfinks12 mailto:[EMAIL PROTECTED] OS: FreeBSD 4.7 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Need some insight on error messages that I am getting.
> \From ata(4) manpage: > > man> The use of UDMA4(66MHz) and higher together with non-UDMA4 devices on the > man> same ATA channel is not recommended, unless they are run at the non-UDMA4 > man> device's lower speed. The driver has been designed to handle that kind > man> of setup but lots of older devices do not like this. This definitely would explain it. Shows how new I am to FreeBSD. Thanks! Is there a way to put the proper atacontrol command in somewhere so that it will slow the first hdd (ad0) down to UDMA33? Thank you! Marshall ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
icewm port: make error
Hi, while trying to install the icewm (a window manager) port, the make command stops with the error : . . "configure: error: Xinerama can not be found" . . . . . . . the full message is reported in the output included below (see OUTPUT of the make command). Anybody can help ? Thank you Bruno OUTPUT OF 'uname -a': FreeBSD seekingjob.singles.it 4.9-RC FreeBSD 4.9-RC #0: Wed Oct 15 00:12:26 CEST 2003 root@:/usr/obj/usr/src/sys/CURRENT_WINE i386 OUTPUT of the make command: ===> icewm-1.2.13 depends on executable: gmake - found ===> icewm-1.2.13 depends on executable: pkg-config - found ===> icewm-1.2.13 depends on shared library: intl.5 - found ===> icewm-1.2.13 depends on shared library: Xft.2 - found ===> icewm-1.2.13 depends on shared library: X11.6 - found ===> icewm-1.2.13 depends on shared library: esd.2 - found ===> icewm-1.2.13 depends on shared library: glib12.3 - found ===> icewm-1.2.13 depends on shared library: gtk12.2 - found ===> icewm-1.2.13 depends on shared library: Imlib.5 - found ===> Configuring for icewm-1.2.13 checking build system type... i386-portbld-freebsd4.9 checking host system type... i386-portbld-freebsd4.9 checking target system type... i386-portbld-freebsd4.9 checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking whether the C compiler (cc) understands C++... yes checking whether we are using the GNU C++ compiler... yes checking whether cc accepts -g... yes checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ANSI C... (cached) none needed checking whether the C++ compiler (cc) accepts no_rtti... yes checking whether the C++ compiler (cc) accepts no_exceptions... yes checking whether the C++ compiler (cc) accepts warn_xxx... yes checking whether the C++ compiler (cc) accepts permissive... yes checking if we need our own C++ allocation operators... no checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking how to run the C++ preprocessor... cc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking linux/threads.h usability... no checking linux/threads.h presence... no checking for linux/threads.h... no checking linux/tasks.h usability... no checking linux/tasks.h presence... no checking for linux/tasks.h... no checking kstat.h usability... no checking kstat.h presence... no checking for kstat.h... no checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for char... yes checking size of char... 1 checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking return type of signal handlers... void checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for putenv... yes checking for select... yes checking for socket... yes checking for strtol... yes checking for strtoul... yes checking for basename... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking for X... libraries /usr/X11R6/lib, headers /usr/X11
LACP/802.3ad
Does anyone know if FreeBSD supports 802.3ad? If so, does anyone know how to set it up? Thanks, -- Doug Fee, CISSP Network Design Engineer KYMMIS Project Unisys Corporation [EMAIL PROTECTED] Work1: 502-226-2143 Work2: 502-226-1148 Cell: 859-536-7584 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
DVD drive
I just bought a cheap ATAPI/IDE DVD drive from best buy. It's a Digital Research DRDVD1640. The box didn't say it was missing anything and I checked the box and there wasnt a IDE cable in there. It wasn't suppose to be one cause it didn't come with one. So, I was like thats fine for now I guess. So what I did was put the DVD drive in and took the plugs from my cd-rom drive and pluged them into my dvd. I don't know shit about hardware so maybe I shouldn't have done this. Thats why I'm here. The handbook says I should ln -sf /dev/acd0c /dev/dvd and ln -sf /dev/racd0c /dev/rdvd. Would this apply to me sence I didn't *actually* add the drive I just unpluged one and pluged another in? Some help would be appreciated. __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DVD drive
> DVD drive in and took the plugs from my cd-rom drive > and pluged them into my dvd. I don't know shit about > hardware so maybe I shouldn't have done this. Thats As long as it's jumpered correctly, this should be fine > why I'm here. The handbook says I should ln -sf > /dev/acd0c /dev/dvd and ln -sf /dev/racd0c /dev/rdvd. > Would this apply to me sence I didn't *actually* add > the drive I just unpluged one and pluged another in? > Some help would be appreciated. I believe the purpose of this is that programs like mplayer expect /dev/dvd, which of course doesn't exist in FreeBSD. I suppose that linking to the acd[n] device is the easiest way to make things work without having to remember which device is your DVD drive. You can also manually specify the device in mplayer, but perhaps this is a hard-wired value in other programs. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DVD drive
Well, I did that and when I try mplayer -vo dga -dvd 2 /dev/dvd I get the following error dev/dvd I get the following error Reading config file /usr/local/share/mplayer/mplayer.conf: No such file or directory Reading config file /home/bsdsys/.mplayer/config Reading /home/bsdsys/.mplayer/codecs.conf: can't open '/home/bsdsys/.mplayer/codecs.conf': No such file or directory Reading /usr/local/share/mplayer/codecs.conf: 50 audio & 136 video codecs font: can't open file: /home/bsdsys/.mplayer/font/font.desc font: can't open file: /usr/local/share/mplayer/font/font.desc Using usleep() timing Can't open input config file /home/bsdsys/.mplayer/input.conf: No such file or directory Input config file /usr/local/share/mplayer/input.conf parsed: 52 binds Playing DVD title 2 libdvdread: Could not open device with libdvdcss. libdvdread: Can't open /dev/dvd for reading Couldn't open DVD device: /dev/dvd Playing /dev/dvd File not found: '/dev/dvd' --- Mike Maltese <[EMAIL PROTECTED]> wrote: > > DVD drive in and took the plugs from my cd-rom > drive > > and pluged them into my dvd. I don't know shit > about > > hardware so maybe I shouldn't have done this. > Thats > > As long as it's jumpered correctly, this should be > fine > > > why I'm here. The handbook says I should ln -sf > > /dev/acd0c /dev/dvd and ln -sf /dev/racd0c > /dev/rdvd. > > Would this apply to me sence I didn't *actually* > add > > the drive I just unpluged one and pluged another > in? > > Some help would be appreciated. > > I believe the purpose of this is that programs like > mplayer expect /dev/dvd, > which of course doesn't exist in FreeBSD. I suppose > that linking to the > acd[n] device is the easiest way to make things work > without having to > remember which device is your DVD drive. You can > also manually specify the > device in mplayer, but perhaps this is a hard-wired > value in other programs. > __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
d/l,compiling question
Hello, I may have missed this. Sometimes in the docs for a application it will say at a point " you need to be root or have superuser permissions to do this " I normally login in as user then su - over to superuser. (I hope thats the right terminology). Then I do the ./configure makes etc. Is that okay to do ? or should I be just plain user till its time to make install ? Thanks Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd 4.8 Command to finish typing
On Thu, 23 Oct 2003 08:54:58 -0400 Robert Huff <[EMAIL PROTECTED]> wrote: > > Ruben de Groot writes: > > > > How do you have Freebsd 4.8 finish typing a line? On older > > > version I just type Ma and escape to finish typing Make. > > > > That depends on your shell. You're probably used to a > > bourne-shell variant like ksh, where is used for word > > completion. In csh, use the key. > > And note this is not "line completion" but file name completion > - it will fill in as much as uniquely possible of the path starting > with what you have already typed. > > > Robert Huff If the command is in your history, arrow-up does "line completion" (csh). -- Cogeco ergo sum pgp0.pgp Description: PGP signature
LINKSYS WPC11 802.1B Wireless Card, FREEBSD 4.8 STABLE, Toshiba Portege 7020 CT
Folks, I am running FreeBSD lumiere.ehr3.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 on a Toshiba Portege 7020CT notebook. Everything works fine. I recently looked at the supported hardware doc and found that the Linksys WPC11 wireless card was supported. I have pccard support in my configuration (as I have a 3COM 3c589 already up and running fine). I try and use the Linksys WPC11 and get the message "32 bit cardbus not supported" when I insert the card. Why? I am sure it is something silly. I apologize for any inconvenience. Ernie Rice ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Migrating from Linux: mounting ext2fs
On Wed, 2003-10-22 at 07:03, Miguel Gonçalves wrote: > How stable is the FreeBSD support for ext2fs? First, if you're planning to migrate your server permanently, you're probably better off reformatting in UFS: it's faster, and better for error recovery. And computers that mount nfs/Samba/whatever shares won't know the difference. If you insist on keeping your partitions in ext2fs: I've seen a couple of problems related to fsck. In particular, when a filesystem is dirty, fsck.ext2 sometimes finds and fixes the problems but then fails to mark the disk as clean (meaning that FreeBSD will refuse to mount it, if you've specified read/write, and it'll be checked again next time you reboot, and so forth). Personally, I've only seen this with ext3 (journaled) filesystems, but I don't know if that's universal. So, to be safe, you'll probably want an rc script that mounts -r any of your ext2 systems that were skipped. (Note that if /mnt/linux fails to mount because it was dirty, /mnt/linux/usr, etc. will also fail to mount.) This way, if the server gets hard-reset somehow, your users will still be able to access their files, even if they aren't able to update them, until you fix things. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Ftp changing times of files.
Hello all, The default ftp client from one of my servers, seems to be changing the time and datestamps of files it gets from other servers. All my servers are set to the same time (within a minute) and set to the same timezone (EDT | EST). I have gone completely cross-eyed trying to troubleshoot this. Does anyone one of any tidbits that might lead me in the right direction? -Grant Grant W. Peel Server Admin [EMAIL PROTECTED] http://thenetnow.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ATA Raid cards
Mathieu Arnold wrote: Hi, I'm in a need of such a card, but I can't find out which cards are only doing raid under windows with specific drivers, and which cards are doing real hard raid. HightPoint RocketRAID 1540 (4 ports SATA) works very well for me and is not expensive (only ~$150 CAD). Guillaume ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Blank terminals, no monitor signal, oh my...
This has happened to me 3-5 times so far, in the past two months. The ttyvs are all black, the monitor acts as though it gets no signal... kind of. Specifically, the monitor will power down the screen after a bit, as normal. However, instead of the light blinking on 1 second intervals or so, it will hardly blink -- almost looking solid, but having an ever so slight point where the led is off. I've never seen such a thing before. As for how it got this way, I'm not quite sure. This time, I plugged my USB drive, went to mount, invalid superblock.. ok, fsck it. [~]$ fsck /dev/da0" ** /dev/da0 ** Phase 1 - Read and Compare FATs hard drive reads for a considerable time (60g on usb 1.1 -- the adapter, not the enclosure). In the end, (repeat the line below in this space, thousands of times perhaps) swap_pager_getswapspace: failed pid 9907 (fsck_msdosfs), uid 0, was killed: out of swap space So now, as you can see, the da0 device is a msdosfs. There are no slices or anything else on the disk.. I created one when I made it, but it didn't show up in /dev and I was told to use da0. So I did. Works relatively well, I might add... though I somehow think it won't work so well on windows. But that's another topic. So, at this point fsck has just died, being out of swap space (192 physical + 384 swap). Arright.. mount.. it worked before, why not this time? "Invalid super block." ... ah well. Worth a shot. fsck /dev/da0 ** /dev/da0 ** Phase 1 - Read and Compare FATs *disk reads for a while, stops reading and the computer starts chunking away on the local hard drive. After a bit, it resumes reading from the USB drive* Now the fun stuff. The first time I only lost a mozilla session and abiword, being out of swap space. This time, it all goes out.. I'm still in X (where I've been doing this all from -- 1 xchat, 2 xterms, and acroread were all that were left running). Problem is, my mouse isn't moving, no keyboard response. So I ctrl-alt-F2 to the terminal I launched x from -- black. Nothing. alt F3, nothing. Alt F9, beep, no X.. so I go back to ttyv1, "startx" and x comes hopping right along. Moral of this paragraph, the consoles are still responsive, I just can't SEE them. The monitor acts somewhere in between "I'm getting a signal" and "I'm not getting a signal." At this point, I'm rather out of ideas. I've not rebooted yet as there's no real need. I know the consoles were working immediately before fsck took out my X as I was doing fsck from ttyv2 as root, rather than sudo. (all the fsck cmds above were sudo, pretty much). It had the same thing as root; run out of swap space. things to note: the file system is fat32; fdisk -s /dev/da0: /dev/da0: 7296 cyl 255 hd 63 sec PartStartSize Type Flags nothing more. fdisk by itself says all partitions are unused. I've never managed to completely fsck this file system; however, mount -t msdosfs /dev/da0 /mnt/USB does allow me to mount and use it. Not using -t will give me invalid superblock ;-) Howver, I believe ripping the USB cable out before unmounting has given me errors on the drive that fsck has fixed -- it just dies, I go to mount and it works. my kernel config is, in case you want any info about it or to see if I have any debug support built in (you'll have to tell me step-by-step if you want something done, as I've never used it before nor have I seen/found instructions), at: http://w3.uwyo.edu/~ablair/DrkAthlon.conf (copied, pasted, verified. On another note, if you can POSSIBLY not, do not attend this uni. Or if you must, avoid the dorms at all cost, unless you like the thought of the internet consisting of only WWW.*) uname -a: FreeBSD DrkAthlon 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Mon Oct 20 20:30:08 MDT 2003 [EMAIL PROTECTED]:/usr/home/obj/usr/home/src/sys/DrkAthlon i386 last cvsupped approximately... 10/20/03 As for the previous times this has happened, I don't remember what I was doing. It could have been this, it is also possible it wasn't. Any more info wanted/needed, let me know. Same goes for clarification. I tried to incude all I could, but who knows. As for my intent: I want a way to get my consoles back without rebooting. If I can pin down a bug for anyone, all the better -- I'm pretty flexible in time, uptime, stability, etc etc. And last, thanks for any help. -DrkShadow lightmoogle at hotmail dot com _ Want to check if your PC is virus-infected? Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Upgrading the kernel
I'm upgrading from 4.7 RELEASE to 4.8 RELEASE soon. My understanding is that once you have built the world with buildworld, it's time to build and install the new kernel. My current kernel is customized with a sound card device and nothing else. The FreeBSD Handbook indicates that the safest way to do this is to build and install a kernel based on GENERIC. After booting from GENERIC and verifying that your system works you can then customize your kernel. Can I use the commands, # make buildkernel and # make installkernel, or are #make buildkernel KERNCONF=GENERIC and # make installkernel KERNCONF=GENERIC the correct commands? Thank you, Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DVD drive
> Well, I did that and when I try mplayer -vo dga -dvd 2 > /dev/dvd I get the following error > > Reading config file > /usr/local/share/mplayer/mplayer.conf: No such file or > directory > Reading config file /home/bsdsys/.mplayer/config > Reading /home/bsdsys/.mplayer/codecs.conf: can't open > '/home/bsdsys/.mplayer/codecs.conf': No such file or > directory > Reading /usr/local/share/mplayer/codecs.conf: 50 audio > & 136 video codecs > font: can't open file: > /home/bsdsys/.mplayer/font/font.desc > font: can't open file: > /usr/local/share/mplayer/font/font.desc > Using usleep() timing > Can't open input config file > /home/bsdsys/.mplayer/input.conf: No such file or > directory > Input config file /usr/local/share/mplayer/input.conf > parsed: 52 binds > > Playing DVD title 2 > libdvdread: Could not open device with libdvdcss. > libdvdread: Can't open /dev/dvd for reading > Couldn't open DVD device: /dev/dvd > > > Playing /dev/dvd > File not found: '/dev/dvd' First, which is your DVD drive (i.e., acd0 or acd1)? Did you ln -s /dev/acd[n]c /dev/dvd? Are you root? If not, you'll have to chmod 666 acd[n]c. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading the kernel
Robert H. Perry wrote to FreeBSD-Questions: > I'm upgrading from 4.7 RELEASE to 4.8 RELEASE soon. My understanding > is that once you have built the world with buildworld, it's time to > build and install the new kernel. In your scenario, yes, you'll definitely want to build a new kernel. In fact, I hope you elected to go with the security branch (RELENG_4_8), so that you get the 13 or so security related fixes that have been applied since 4.8 was released. > My current kernel is customized with a sound card device and nothing > else. That's fine; you can continue to use your kernel config. (/usr/src/sys/i386/conf/WHATEVERYOUCALLEDYOURKERNELCONFIG) > The FreeBSD Handbook indicates that the safest way to do this is to > build and install a kernel based on GENERIC. After booting from > GENERIC and verifying that your system works you can then customize > your kernel. Well, you can if you want, but you won't have any issues from 4.7 -> 4.8. I'd just go with your custom kernel config. > Can I use the commands, # make buildkernel and # make installkernel, > or are #make buildkernel KERNCONF=GENERIC and # make installkernel > KERNCONF=GENERIC the correct commands? Have you specified KERNCONF in /etc/make.conf? If not, then it defaults to GENERIC. In your case, though, again, you shouldn't have any problems building from your custom conf. - Ryan -- Ryan Thompson <[EMAIL PROTECTED]> SaskNow Technologies - http://www.sasknow.com 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ftp changing times of files.
Grant Peel wrote to [EMAIL PROTECTED]: > Hello all, > > The default ftp client from one of my servers You mean /usr/bin/ftp? > , seems to be changing the time and datestamps of files it gets from > other servers. To what? From what? Which time zones? mtime? ctime? atime? > All my servers are set to the same time (within a minute) and set to > the same timezone (EDT | EST). Please send us a concrete example. (screen(1) or similar, from an actual session showing the problem). - Ryan -- Ryan Thompson <[EMAIL PROTECTED]> SaskNow Technologies - http://www.sasknow.com 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: d/l,compiling question
M.D. DeWar wrote to [EMAIL PROTECTED]: > Hello, > > I may have missed this. Sometimes in the docs for a application it > will say at a point " you need to be root or have superuser > permissions to do this " > > I normally login in as user then su - over to superuser. (I hope > thats the right terminology). Then I do the ./configure makes etc. > > Is that okay to do ? or should I be just plain user till its time to > make install ? Your approach is fine. - Ryan -- Ryan Thompson <[EMAIL PROTECTED]> SaskNow Technologies - http://www.sasknow.com 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to see website from the Internet
Hi, Well, it's not the router. I removed the router and went directly to the server. I actually installed another server on a windows box. And that didn't help. I called my ISP and they said they don't block ports. I'd be glad if anyone could point me in the right direction. I have set up everything as described from several sources and still the magic of appearing on the internet is not happening. It's like the dynamic ip is not forwarded to my network. I can't think of what else would be the problem. Thanks, Micke --- Viktor Lazlo <[EMAIL PROTECTED]> wrote: > > > On Tue, 21 Oct 2003, Micke P wrote: > > > Do you know what an ISP, earthlink, in this case, > > might do to keep you from serving pages? I'm using > > another port from 80, because I just get the ISP > modem > > status page when using the dynamic IP with the > normal > > 80 port. > > I doubt that would be the case, it is much more > likely to do with router > setup. What is the make and model of your router? > > Cheers, > > Viktor __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading the kernel
Robert H. Perry wrote to Ryan Thompson: > >In your scenario, yes, you'll definitely want to build a new kernel. > >In fact, I hope you elected to go with the security branch > >(RELENG_4_8), so that you get the 13 or so security related fixes > >that have been applied since 4.8 was released. > > Hadn't intended to, but now I'll have to consider it. This is my > first upgrade and I was sticking with the basics. Yep. If you're upgrading from source anyway, upgrading to RELENG_4_8 is no harder than -RELEASE. > > If not, then it defaults to GENERIC. In your case, though, again, > > you shouldn't have any problems building from your custom conf. > > Just to clarify then, is the following OK: > > # cd /usr/src > # make buildkernel KERNCONF=CUSTOM > # make installkernel KERNCONF=CUSTOM > > CUSTOM is the name of my kernel config file. Yes. For the full how-to, follow the instructions in: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html - Ryan -- Ryan Thompson <[EMAIL PROTECTED]> SaskNow Technologies - http://www.sasknow.com 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: netstat -m
hi, it may not be your mbufs in the first place. confirm the integrity of your layer 1 first. S H A N On Thu Oct 23, 2003 at 03:50:58AM SGT, Your Name wrote: > > -- > Hi all > > I increased the "kern.ipc.nmbclusters=129536" > > but still got the memory denied > > Can you help me what is the problem > > netstat -m > 41202/41440/518144 mbufs in use (current/peak/max): > 41096 mbufs allocated to data > 106 mbufs allocated to packet headers > 41095/41324/129536 mbuf clusters in use (current/peak/max) > 93008 Kbytes allocated to network (2% of mb_map in use) > 54 requests for memory denied > 0 requests for memory delayed > 0 calls to protocol drain routines > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pccardd - no PC-CARD slots on 5.1 release
Hey all, after googling for about 5 hours and trying everything I can think of on my own I hope someone can help. I just upgraded this morning from 4.9RC1 to 5.1 release and I can't seem to find my ethernet card. Laptop: Toshiba Tecra 8100 NIC: old 3Com 3C589C Kernel: Generic plus "device [tab] pcm" for soundcard Tricks I have tried (not in order): Adding "hw.pci.allow_unsupported_io_range=1" to /boot/loader.conf. Adding "irq [tab] 10" to /etc/pccard.conf Adding "device [tab] card 2" to my kernel (which made no sense to me but someone online said it worked for them) "pccardc dumpcis" - found 0 slots Manually forcing the IRQ of slot0 to 10 in device.hints Uncommenting the cbb, pcic, pccard and cardbus devices in varying combinations since someone in an old post had to turn one off for his card to work. The background is that this machine has run 4.4, 4.6, 4.7 and 4.9RC1 with the same card in the same slot. They worked this morning before the upgrade, so I'm pretty sure we can rule out hardware :). Yes I start pccardd in rc.conf and yes I recompile the kernel and install it before rebooting (without errors even!). I would love to include my entire dmesg since adding the "device pcic" actually got something loaded, but the command "mount_msdosfs /dev/fd0 /mnt" errors out since mount_msdosfs apparently wants a block device, not a char. Sigh, this is a painful painful day. Here are the lines that seems interesting from uncommenting pcic: pcic0 at port 0x3e0 iomem 0xd-0xd1fff irq 10 on isa0 pcic ident regs: 0x83 0x83 0xff 0xff pcic0: controller 0 (Intel 82365S Revision 1) has sockets A and B pccard0: <16-bit PCCard bus> on pcic0 pccard1: <16-bit PCCard bus> on pcic0 pcic0: bus_space_alloc range 0x0330-0x03ff (probed) pcic1: not probed (disabled) ... pccard1: Card has no functions! Thnx for anything and pass the bottle this way = --- Get a taste of Religion ... eat a priest! --- __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ftp changing times of files.
[ CC'ing this back to -questions, and not trimming original message. Please CC [EMAIL PROTECTED] with your replies! ] Grant Peel wrote to Ryan Thompson: > OK here goes > > I have 3 machines. > > enterprise > excelsior > voyager > > each have clients /usr/bin/ftp > > the forst two are running ProFTPD daemons. > (I have since set the TimeGMT off in those two). It could be a ProFTPD issue, although I run ProFTPD, here, and was not able to reproduce the problem. One way to find out quickly is to re-enable the stock ftpd on one of the machines and retry your tests. If the problem goes away with a different server, it's a ProFTPD issue. > I can PUT a file from any server to another and the timestamp on the file > will match from the client to the server machine. > > When I GET a file, the file I GET has its timestamp set 4 hours > backwards. Hmm. That really reeks of time zone issues somewhere in the chain. Try simpler testing--the stock ftpd, rcp/scp, and see if you can obtain different results. So far, it's not obvious to *me* where the specific problem is, but further testing will help, and maybe someone else on the list has encountered this before. > Here are some clues: > > enterprise# date > Thu Oct 23 18:27:36 EDT 2003 > > excelsior# date > Thu Oct 23 18:27:03 EDT 2003 > > voyager# date > Thu Oct 23 18:27:34 EDT 2003 > > > I have a file on enterprise "ent_orig.txt" > > -rw-r--r--1 root grant0 Oct 23 17:33 orig_ent.txt > > When I log in from excelsior, and GET it, the timestamp shows: > > -rw-r--r-- 1 grant wheel 0 Oct 23 13:33 orig_ent.txt > > Yet, when I PUT if (Loggin into excelsior FROM enterprise) it shows: > > -rw-r--r-- 1 grant wheel 0 Oct 23 18:30 orig_ent.txt > > (Note, of course, it really was 18:30 when I did this, so that stamp is OK) > > Any ideas? > > -Grant > > Grant W. Peel > Server Admin > [EMAIL PROTECTED] > http://thenetnow.com > - Original Message - > From: "Ryan Thompson" <[EMAIL PROTECTED]> > To: "Grant Peel" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Thursday, October 23, 2003 6:09 PM > Subject: Re: Ftp changing times of files. > > > > Grant Peel wrote to [EMAIL PROTECTED]: > > > > > Hello all, > > > > > > The default ftp client from one of my servers > > > > You mean /usr/bin/ftp? > > > > > , seems to be changing the time and datestamps of files it gets from > > > other servers. > > > > To what? From what? Which time zones? mtime? ctime? atime? > > > > > All my servers are set to the same time (within a minute) and set to > > > the same timezone (EDT | EST). > > > > Please send us a concrete example. (screen(1) or similar, from an actual > > session showing the problem). > > > > - Ryan > > > > -- > > Ryan Thompson <[EMAIL PROTECTED]> > > > > SaskNow Technologies - http://www.sasknow.com > > 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 > > > > Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon > > Toll-Free: 877-727-5669 (877-SASKNOW) North America > > > > -- Ryan Thompson <[EMAIL PROTECTED]> SaskNow Technologies - http://www.sasknow.com 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: can't print Postscript to HP 5si/mx printer.
On Thu, 23 Oct 2003, Guy Middleton wrote: > We have an HP 5si/mx printer with PS installed, but when I try > printing to it, the PS source is printed. The same printcap entry > correctly prints onto an HP 5m printer. > > This is the printcap entry: > > lp:\ > :sh:\ > :rm=192.168.1.101:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: Try adding an rp entry (remote printer, or print queue name): lp:\ :sh:\ :rm=192.168.1.101:rp=raw:\ :sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: That may get the 5si/mx to see it; I'm not sure about the behavior when no print queue name is specified. > Is there any other option I need for this printer, such as a special escape > sequence for it to interpret Postscript? I think the PJL sequence is something like escape %12345!, but you should first check the printer menus to see if it's set to auto-detect the print job type or just interpret them all as PCL. -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Probably dumb apache question
> > I have set up a new freebsd/apache/mod_ssl server. I want > to force all > > connections to use SSL. > > > > I know I can simply turn off listening on port 80, but > because I know people > > using this site will instinctivly type "http" instead of > "https", I'd like > > to force a redirect. > > > # Redirect *everything* to SSL. > RewriteEngine on > RewriteRule ^(.*) https://secure.foo.com$1 [R=301] > That works, except its changing the URL slightly. In the orignal http:// URI, I have a variable: &StatusOp=%3D After the rewrite, its appearing as: &StatusOp=%253D That's causing issues in the search. Any way to avoid that % being rewritten to %25? Thanks, Brent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
calcru: negative time... lots of odd "errors"
Hopefully this one will get through... I've searched exhaustively for an answer to this question, and can only get answers that aren't entirely clear to me. I'm getting messages like: calcru: negative time of -630883 usec for pid 537(sh). Getting probably 40 or so at boot and an occasional one during use. This a new 5.1 install on an older K6 500Mhz system that was given to me. I have read something about a sysctl command (no good.) Also have seen something about a kernel TIMECOUNTER (I think) config value. I've also seen something about PnP, bios settings, IRQ probs, etc. I'm a bit too new at this to know where to take it. Help! Thanks, Heats ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading the kernel
Ryan Thompson wrote: Robert H. Perry wrote to Ryan Thompson: In your scenario, yes, you'll definitely want to build a new kernel. In fact, I hope you elected to go with the security branch (RELENG_4_8), so that you get the 13 or so security related fixes that have been applied since 4.8 was released. Hadn't intended to, but now I'll have to consider it. This is my first upgrade and I was sticking with the basics. Yep. If you're upgrading from source anyway, upgrading to RELENG_4_8 is no harder than -RELEASE. If not, then it defaults to GENERIC. In your case, though, again, you shouldn't have any problems building from your custom conf. Just to clarify then, is the following OK: # cd /usr/src # make buildkernel KERNCONF=CUSTOM # make installkernel KERNCONF=CUSTOM CUSTOM is the name of my kernel config file. Yes. For the full how-to, follow the instructions in: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html - Ryan Ryan, Thanks for your time and assistance. Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Samba and ADS Support PLEASE...
Is it necessary to modify the Makefile of the samba-devel port on FreeBSD in order to build the package with ADS support? I am not very familiar with the syntax of a Makefile, but I can not seem to find anything in the FreeBSD 5.1 samba-devel Makefile that talks of OpenLDAP, a requirement to ADS support. If it is necessary could some one help me out with this? I have tried several times with still ADS support will not compile in. Also the /usr/include/gssapi.h file must be removed before any make (even the just plain "make") on samba completes. I have tried it about 3 times with 3 fresh installs of FreeBSD 5.1 and a cvsup. I think there is something wrong with the samba port but I am too inexperienced to know for sure. Has anyone else had this problem? Thanks in Advance, Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Static NAT with natd and ipfw
A client wants to "expose" a host on a LAN behind a NAT firewall to the Internet at large. The host is is behind a FreeBSD machine that's functioning as (among other things) a NAT router. The host already has an unregistered internal address (which it needs to keep), but also must allow others to connect to it from the outside world via a "real" IP address that's distinct from that of the router. In other words, from the point of view of the Internet, I want the host to look as if it's outside the firewall at a separate address from the firewall itself. The natd man page mentions a -redirect_address command line option which looks as if it would do PART of the job. But what other configuration do I have to do (e.g. changes to rc.firewall, rc.conf, etc.) to make this work? I'm sure I could tinker and figure all of this out, but this week is quite busy and I need to get things set up in a hurry. (Also, it's a production system and don't want to cause unnecessary downtime while I experiment.) Advice, and sample lines from configuration files, would be much appreciated. --Brett Glass ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPSEC tunnel issue..
Here's my situation. I've got 2 networks at different facilities that are using public routable IP's. Each end has a fbsd box in bridge mode as their firewall between the lan and the cisco routers at each end. I've been tasked to establish a secure tunnel between these two networks and I'm having some trouble. I've searched google for ipsec information on this but every thing that I have found depicts a private lan behind the public ip's of the tunnel endpoints. Has anyone been able to establish this type of tunnel successfully? If so, can you please direct me to some information on this? Thanks. -- Micheal Patterson Network Administration Cancer Care Network 405-917-0600 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"