Re: Problems with ordinary user permissions
carmoda wrote: ~sigh~ seems like an awful lot of stuffing around for something that a user/developer should be able to access by default *in my opinion*. so far i have about 30% of functionality of my previous W2K system after several times the time required for setup. [as a workstation] FreeBSD may be 'free' and more stable, but after i add my time to a setup it is over twice the price of XP Pro. You charge too much. 8-) 8-). Something HAS to be done on the install front. I did select 'developer + X-windows' in the sysinstall and i think it would make more sense if the account security was more 'open' for the average user given they would be 'developing' on the platform. i mean, half of my apps didnt work due to permissions being short. again, i did select that i wanted a 'developer - x-windows' install. Windows defaults to everyone on the Internet can write my disk; FreeBSD defaults to only root can write my disk; OpenBSD defaults to only God can write my disk, and even he needs a 1024 bit key. It's all a matter of trading security vs. ease of use. For the most part, you should install all software as root, and then expect that the software can be configured to do the right thing as part of the install. In general, I would say that most of your problems arise from the UNIX security model, and the failure of the software vendors or ports maintainers or both to anticipate you using your machine as if it's a signle use box. FWIW, if you are going to use the machine as a single user box, you probably want to create your user as uid 0:0, even if the name is not actually root, and then auto-login the user without a password into something like a KDE environment. Then the console user owns all the hardware, and there's no issues for single user use that need you to go to root to resolve. -- Terry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Weirdness with permissions after mounting USB flash drive
* Paul Murphy: I _can_ read/write to it as root, but I would really like to use it as a non-root user. Any thoughts as to why this is happening? See FreeBSD FAQ[1]. Also, in /etc/fstab you may adjust the mode, see below -m700 for msdos filesystem: /dev/da0s1 /mnt/usbkey msdos rw,-m700,noauto 0 0 If /dev is mounted via devfs (FreeBSD 5), you may want to edit /etc/devfs.conf and add a line like below: perm da0s1 0666 Cheers, -- Jean-Baptiste Quenot http://caraldi.com/jbq/ [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to get out of Africa?
Hi Wayne! Dear FreeBSD, During installation, I accidentally hit Africa for my timezone. I have looked all over the documentation, and I cannot find out to reset my time zone. Does anybody else know? I installed 5.1 from the CD. Did you try running sysinstall and redefine your timezone there? Olivier ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Where to find info on how to clean up port database properly?
I have got to be missing something here... I need to find pointers on how to handle the various questions from running pkgdb -F. I'm afraid I may have made a mess, because I keep getting stuck trying to clean up the database. I didn't find any advice about these questions in the FreeBSD handbook or the various portupgrade/pkgdb/portsdb/pkg_* man pages. I have done the following recently though: cvsup -g -L 2 /etc/cvsup_ports (includes ports-all and doc-all) cd /usr/ports make INDEX portsdb -u make readmes # not essential but nice pkgdb -fuF # on advice to someone else here ... but I get confused by what pkgdb starts asking. My general practice (off the top of my head) has been - Change origin to a higher version number of a port when pkgdb recommends it or I believe the new will work in place of the old. - Allow a port origin to be regressed to an older version if pkgdb seems to insist it has problems unless I change the origin and it only lists an older choice. - pkg_deinstall ports I don't need that (1) cause pkgdb to complain and (2) can be uninstalled without extra and surely overzealous options like -r/-R. The last of these tonight caused me to begin deinstalling gnome, but I seem to continue tripping over port database issues. Tonight's whole bout with ports was spurred by my need to clean up a MySQL problem (summary: I once installed MySQL 3.23 server and client, then went to 4.1 but noted the client stayed at 3.23, then somehow--I forget how--upgraded the client but now find Perl/DBI/DBD:mysql is too old to talk the current password authentication protocol with a 4.1 server). In case it helps, this is my last run of pkgdb -F, in which I just pressed Enter at every prompt, to do more recording than altering. I welcome any help, but again as the subject implies, I'm assuming I've missed a wealth of how-to info somewhere regarding the proper care and feeding of pkgdb -F prompts. Script started on Tue Oct 21 03:49:06 2003 # pkgdb -F --- Checking the package registry database Stale origin: 'print/ghostscript55': perhaps moved or obsoleted. Skip this for now? [yes] To skip it without asking in future, please list it in HOLD_PKGS. Stale origin: 'audio/gnomeaudio': perhaps moved or obsoleted. - The port 'audio/gnomeaudio' was removed on 2003-07-15 because: removed as part of GNOME 1.4 desktop phase out - Hint: gnomeaudio-1.0.0 is required by the following package(s): gnumeric-0.61 gconf-0.12_1 electriceyes-0.3.12 gnomecore-1.2.4 bonobo-0.37 py-gnome-1.0.53 gnomevfs-0.5 gal-0.5 glade-0.5.11 gnomepim-1.2.0 gnomeusersguide-1.2 - Hint: checking for overwritten files... - No files installed by gnomeaudio-1.0.0 have been overwritten by other packages. Deinstall gnomeaudio-1.0.0 ? [no] Stale origin: 'x11/gnomecore': perhaps moved or obsoleted. - The port 'x11/gnomecore' was removed on 2003-07-15 because: removed as part of GNOME 1.4 desktop phase out - Hint: gnomecore-1.2.4 is required by the following package(s): gnumeric-0.61 gconf-0.12_1 electriceyes-0.3.12 bonobo-0.37 py-gnome-1.0.53 gnomevfs-0.5 gal-0.5 glade-0.5.11 gnomepim-1.2.0 gnomeusersguide-1.2 - Hint: checking for overwritten files... - No files installed by gnomecore-1.2.4 have been overwritten by other packages. Deinstall gnomecore-1.2.4 ? [no] Stale origin: 'misc/gnomeusersguide': perhaps moved or obsoleted. Skip this for now? [yes] To skip it without asking in future, please list it in HOLD_PKGS. Stale origin: 'graphics/mpeg-lib': perhaps moved or obsoleted. Skip this for now? [yes] To skip it without asking in future, please list it in HOLD_PKGS. Stale origin: 'x11-toolkits/qt22': perhaps moved or obsoleted. Skip this for now? [yes] To skip it without asking in future, please list it in HOLD_PKGS. Stale origin: 'misc/rpm': perhaps moved or obsoleted. Skip this for now? [yes] To skip it without asking in future, please list it in HOLD_PKGS. Stale origin: 'editors/vim6': perhaps moved or obsoleted. Skip this for now? [yes] To skip it without asking in future, please list it in HOLD_PKGS. Duplicated origin: delete - gnomeaudio-1.0.0 gnomecore-1.2.4 Unregister any of them? [no] Stale dependency: gtkextra-0.99.17 - imake-4.3.0_1 (devel/imake-4): imap-uw-2002_1,1 (score:16%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: gtkextra-0.99.17 - XFree86-libraries-4.3.0_6 (x11/XFree86-4-libraries): New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: gtkextra-0.99.17 - fontconfig-2.2.90_3 (x11-fonts/fontconfig): New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: libiodbc-3.0.5_1 - imake-4.3.0_1 (devel/imake-4): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency:
Hosed system
/usr/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.2: Shared object has no run-time symbol table I was messing around with libdes trying to get Diablo to compile... and am now getting this error :( Pretty much hosed the system. Any idea how I can fix this? HELP. :) Reinstalling the crypto package made no difference running 4.8-RELEASE ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hosed system
/usr/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.2: Shared object has no run-time symbol table I was messing around with libdes trying to get Diablo to compile... and am now getting this error :( Pretty much hosed the system. Any idea how I can fix this? HELP. :) Reinstalling the crypto package made no difference running 4.8-RELEASE Try installing openssl from ports Running ./Configure from openssl results in the same error... and the port bombs with so : Operating system: i386-pc-freebsd4.8 /usr/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.2: Shared object has no run-time symbol table /usr/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.2: Shared object has no run-time symbol table This system (FreeBSD-elf) is not supported. See file INSTALL for details. === Building for openssl-0.9.7b_1 make: don't know how to make freebsd-shared. Stop *** Error code 2 Stop in /usr/ports/security/openssl. :( ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Dialup firewalling with FreeBSD
Hello, I followed this doc to install my firewall. Upon reboot I get about 12 lines more or less like this: ipfw: size mismatch (have 176 need..) It also says that dev tun0 doesn't exist. Does the tun0 device exist after boot? If so, I have faced a similar problem in the past. However, I did have some people at a SeaFUG (now SeaBUG) meeting come up with a solution. I basically had to open the tun0 port before ipfw got started. I can past in the examples if you need them. (if you have tun0 after boot) And allthough dmesg showed several errors, the firewall did work as expected. I, perhaps like you, dont like looking at errors. How do I correct this. Do you have pseudo-device tun in your kernel config file? Is it remmed out? I am not sure if GENERIC has it or not. TIA j hullATmonisys.ca ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Hacking calendar(1)
On Sunday, 19 October 2003 at 16:13:09 -0500, Charles Howse wrote: Hi, When I get my daily calendar email, there is no explanation of which entries come from which calendars. Other than hacking the source code, is there a way to get some headers like this? Music History: Oct 20 Three members of Lynyrd Skynyrd die in a plane crash, 1977 World History: Blah blah blah Computer History: Blah blah blah The daily calendar information comes from the script /etc/periodic/daily/300.calendar. It should be relatively straightforward to change that script. My solution... I found an old post by Greg Lehey that I have modified. I run it from cron at midnight every day. It's working great so far! See it in action as a cgi script, w/o the mail line: http://howse.homeunix.net/calendar.shtml Comments, suggestions? - #!/usr/local/bin/bash # # Go through the calendars and find out what happened today. dir=/usr/share/calendar file=/root/today_cal if [ -a $file ] ; then rm $file fi if [ -n `/usr/bin/calendar -f $dir/calendar.birthday` ] ; then echo Birthdays: $file /usr/bin/calendar -f $dir/calendar.birthday $file echo $file fi if [ -n `/usr/bin/calendar -f $dir/calendar.christian` ] ; then echo Christian: $file /usr/bin/calendar -f $dir/calendar.christian $file echo $file fi if [ -n `/usr/bin/calendar -f $dir/calendar.computer` ] ;then echo Computer: $file /usr/bin/calendar -f $dir/calendar.computer $file echo $file fi if [ -n `/usr/bin/calendar -f $dir/calendar.music` ] ; then echo Music: $file /usr/bin/calendar -f $dir/calendar.music $file echo $file fi if [ -n `/usr/bin/calendar -f $dir/calendar.usholiday` ] ; then echo U.S. Holidays: $file /usr/bin/calendar -f $dir/calendar.usholiday $file fi cat $file | mail -s Today's Calendar charles ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Noob FreeBSD 5.1 install question
On Mon, Oct 20, 2003 at 05:22:07PM -0400, [EMAIL PROTECTED] wrote: A) I have reinstall freeBSD many times over and over. I work with W2k machine at work and do a Unattended install when I don't want to select the same options over and over again on multiple machines. Is there a way I can create a install Config file to select all my options for me? Is there a way I can take a snapshot of the way the OS is currently configured and make a Install Config File? Maybe something that will auto set my TimeZone, Partition / Slice sizes, just to get the Base OS installed without any ports (except for maybe Lynx Text Web Browser) sysinstall(8) is scriptable -- as described in that man page you can generate a configuration file which supplies answers to the questions that sysinstall asks. As far as I know, there's no way of automatically generating such a config file. Note too that the setting you make in sysinstall are usually just the beginning: most people will use sysinstall in order to get the system able to boot up from it's own disks, and then carry on configuring the system by adding ports/packages and so forth just using the standard system tools. However, it is possible to auto-install a pretty much completely configured system: this is a standard action for people that netboot systems via PXE. Googling for FreeBSD and PXE will get you plenty of examples, for instance see http://seattle.simerson.net/computing/freebsd.netboot.shtml B) after installing Various ports on the system, do I have to do a Make Clean after each install or can I run Make Clean after installing all of my required Ports? No, you can save the 'make clean' step until you're ready. As running 'make clean' in a port directory will run 'make clean' recursively in the directories of all of the dependencies, this can be a lot more time consuming than is really necessary. Here's a couple of things that can help: *) When cleaning for a single port, you can do: # make clean NOCLEANDEPENDS=yes which will just clean that port directory, and not the dependencies. *) If you want to clean out the whole ports tree wholesale, you can do it by: # cd /usr/ports # ls -d */*/work | xargs rm -rf or if you install the portupgrade(1) tools, # portsclean -C will achieve the same effect with less potential for accidentally removing more than you intend by having 'rm -rf' run wild... Just as FYI I am running FreeBSD 5.1, I have downloaded and Burned the 2 ISO's (Full Install and Repair / Fix It) I run the install from the cd, then I choose to NOT install the ports, download the 19.x meg file from FreeBSD.org/ports and un Tar it into the /usr folder. Well, there's no law that says you *have* to use the ports system, but it's pretty strange not to take advantage of something so good... There are pre-compiled packages available, but these generally don't track the latest upstream updates to the ported software very efficiently. The ports tree does: updates to popular packages like apache generally go into the ports tree within a day or so of them being published. Rather than installing the ports and system sources by downloading tarballs from the FTP sites, there are arguments in favour of installing by running cvsup(1) to populate an empty directory. -- 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: Oracle client question
On Monday 20 October 2003 20:07, Louis LeBlanc wrote: Netra running Solaris8) to FreeBSD 5.x. The problem is that I am inextricably tied to Oracle. Oh dear. You have my most sincere sympathies ;) And no, I don't believe Linux is being considered as an actual runtime platform option. LOL -- =NPG= ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to get out of Africa?
During installation, I accidentally hit Africa for my timezone. I have looked all over the documentation, and I cannot find out to reset my time zone. As root type /stand/sysinstall then select Configure from the menu and TimeZone from the next menu. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help with NV driver - More information part 2
On Tuesday 21 October 2003 04:49, Jason Dictos wrote: Section Monitor Identifier NEC2080UX HorizSync 74.9 VertRefresh 59.9 EndSection Hmmm, are you sure this is correct? Shouldn't they rather be _ranges_ ? Just a stab in the dark... -- =NPG= ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPC with socket connection?
hi- I have two processes running on the same computer communicating with sockets created with AF_INET. It works extraordinarily well. I choose all the normal stuff to make the sockets, but I think if I choose some other flags, specific to IPC on the same computer, then the connection will be much more optimized. Where should I look for optimization flags? I looked in all the normal places, but can't find any. TIA- -lance ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What is a unit number of a device
What is a unit number of a device and how does it relate to the minor number of the device. Is there a generic relationship or dowes it differ between devives. TIA Riaan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Weirdness with permissions after mounting USB flash drive
On Tue, 21 Oct 2003 09:15:58 +0200 Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Paul Murphy: I _can_ read/write to it as root, but I would really like to use it as a non-root user. Any thoughts as to why this is happening? See FreeBSD FAQ[1]. Also, in /etc/fstab you may adjust the mode, see below -m700 for msdos filesystem: /dev/da0s1 /mnt/usbkey msdos rw,-m700,noauto 0 0 usbd.conf: device Flash Drive devname umass0 vendor 0x0ea0 product 0x2168 release 0x0200 attach /sbin/mount /flash_drive fstab: /dev/da0s1 /flash_drivemsdos rw,-m775,noauto 0 0 mounted permisions: d-1 root wheel22016 Dec 31 1979 flash_drive cd to /flash_drive as non-root user: flash_drive: Permission denied. FWIW: vfs.usermount: 1 (Mounting is no problem, usbd does that for me. It's _how_ it's mounted that is the problem) As a side note, the device has a little slider that is supposed to lock the drive from being written to. Does FreeBSD honour this? Is this a software or hardware lock? I'm pretty sure in the above case it is in the unlock position. -- Cogeco ergo sum pgp0.pgp Description: PGP signature
Re: Oracle client question
Here's the real question: Is anyone out there linking CLIENT applications that successfully connect to a separate Oracle server? Procedures for installing Oracle 9i under FreeBSD 5.X were posted to the freebsd-databases mailing list recently. Since the server install also installs client software this might be a solution to your problem. Mike Squires ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Recommendation for a live streamer that can take audio input
Hello BSDers, Wanted to know if anyone out there had a recommendation for a good audio streaming program. I had used the shoutcast DSP plugin and shoutcast executable server from shoutcast previously on 4.8, but I was never able to get it to work on 5.0. Has anyone set anything like this up on 5.0? I know that icecast can do mp3s and ogg, but i'm looking for something that can take audio input(from a stereo) and then channel that out. scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wireless setups
Luke Kearney [EMAIL PROTECTED] writes: On 19 Oct 2003 21:53:15 -0400 Lowell Gilbert [EMAIL PROTECTED] spake thus: Luke Kearney [EMAIL PROTECTED] writes: Hi There, I have recently installed 4.8R on my IBM Thinkpad notebook which fortunately includes a wireless NIC. The nic is recognised as wi0 for which I am grateful as Linux did not recognise the card first time around. Now I often move between networks and having to set the wepkey and ssid etc etc by hand will become very tiresome very quickly. I was wondering if any one can point me in the direction of a better way to set these. I am guessing that this will still have to be done after the boot but what do people use ? I was able to get the interface up and ping other hosts so no problems there but can this NIC be set for dhcp rather than having to go through the grief of setting everything manually ? Doesn't WEP have to be configured *before* you can communicate with the DHCP server in the first place? Hi, You are of course absolutely correct, so I am kinda wondering how to manage this. Without connecting using the correct WEP it is a bit tough to get an IP. Again, any insights into this are appreciated. Well, I'm not sure what you'd really like, so it's a little hard to say. Obviously there is a chicken-and-egg problem that will keep you from using DHCP to figure out the correct WEP key. You will need to start with the WEP key from some a priori knowledge and then (at best) let the machine use that to run DHCP. I suppose you could choose a pccard configuration by hand to select the WEP key and then reload the interface. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question for portupgrade
Michael Lee(HINET) [EMAIL PROTECTED] writes: Hi, After cvsupping the port tree ( originally installed by FreeBSD 5.1 Release CD ), I tried to do a portupgrade -acCv last night. Everything seems to be upgraded fine except for Apache. The originally installed apache is apache-1.3.27_4. The portupgrade attempts to upgrade it from apache-1.3.27_4 to apache-1.3.28. Should I command portupgrade -f apache to force it update to the new version ? Or will it be better for me to first uninstall apache then do portupgrade -N apache ? Since I also installed mod_fastcgi, mod_php4, mod_gzip, and phpMyAdmin previously, I think these packages depends on apache. Any suggestion ? Thanks! Here is the error message I got. Stop in /usr/ports/www/apache13. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade5405.2 make WITH_APACHE_SUEXEC=yes reinstall egrep: /var/db/pkg/apache-1.3.27_4/+CONTENTS: No such file or directory --- Restoring the old version ** Fix the installation problem and try again. [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 78 packages found (-0 +1) . done] --- Skipping 'www/mod_fastcgi' (mod_fastcgi-2.2.12) because 'www/apache13' (apache-1.3.27_4) failed --- Skipping 'www/mod_php4' (mod_php4-4.3.1,1) because 'www/apache13' (apache-1.3.27_4) failed --- Skipping 'www/mod_gzip' (mod_gzip-1.3.26.1a) because 'www/apache13' (apache-1.3.27_4) failed --- Skipping 'databases/phpmyadmin' (phpMyAdmin-2.3.2) because 'www/mod_php4' (mod_php4-4.3.1,1) failed ** The following packages were not installed or upgraded (*:skipped / !:failed) ! www/apache13 (apache-1.3.27_4)(install error) * www/mod_fastcgi (mod_fastcgi-2.2.12) * www/mod_php4 (mod_php4-4.3.1,1) * www/mod_gzip (mod_gzip-1.3.26.1a) * databases/phpmyadmin (phpMyAdmin-2.3.2) Your package-database entry for Apache is corrupt. Either of your suggestions ('portupgrade -f' or deleting and rebuilding) should work, but I would tend to do it by hand to keep a closer eye on it (in case something else goes wrong, primarily). Your choice. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mplayer + sound problem
please. top-post, Don't Bryan Cassidy [EMAIL PROTECTED] writes: I had a big problem yesterday with the PC. Don't want to get into that but I had to reinstall.. Now that I did a reinstall I can play the video in mplayer but no sound. For example I am tryin to play the new IBM/Linux commercial located here http://rxns-rbn-sea02.rbn.com/ibmpdc/pdc/open/qtdemand/aug03/prodigy90_med.mpg The vid plays fine but no sound at all this time.. Do you have sound functionality at all? Did you remember to load it into your kernel (either in the kernel itself or by loading the kernel module)? Can you do a simple audio test from the command line? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with /usr/libexec/save-entropy
Ok, I'm an idiot! I MUST have done something to my system yesterday. It's been running fine, and around 3:00pm yesterday, I started receiving emails from Cron /usr/local/save-entropy saying: *User: not found I've tried everything, and looking into everything. I've checked my master.passwd and group (compared 'em to /usr/src/etc). I've checked crontab (/etc/crontab), and root's crontab (empty). I've also compared to another 5.1 (Release) box, and everhthing is the same. Could someone point me in the right direction? I'm running: 5.1 Current. I even did another update, build world, kernel and merge this morning, all to no avail! The line in my crontab is: */11 * * * * operator /usr/libexec/save-entropy And when I try to run it from the command line I get: /etc# /usr/libexec/save-entropy *User: not found Any/all help would be appreciated. Thanks! Robert Please CC me as I'm not currently subscribed to this list. THANKS! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: restoring DOS partition from a tar file
Kent Hauser [EMAIL PROTECTED] writes: Is it possible to backup a DOS partition (bootable) restore it from a tar file? I recently had a disk failure used dump/restore on FreeBSD partitions made a tar dump of the DOS one. After newfs_msdos tar x, the partition is not bootable. Is there a way to do this? Not from a tar file. I've only needed to do this once, and I used dd. [Plus fdisk(8), I guess...] The other obvious approach is to do a clean and basic DOS install and then restore the tar file on top of it. This won't work as well as you get to more recent versions of Microsoft OS, but I think it should still be possible. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
console connectivity question.
I have installed FreeBSD v4.8 on an Intel system that had a monitor and a keyboard attached at the time of install. I would now like to remove the monitor and keyboard and have a headless unit however I can't seem to make the serial port work as a console. Can't someone direct me to where to go to solve this problem? Thanks Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with /usr/libexec/save-entropy
On Tue, Oct 21, 2003 at 08:10:55AM -0500, Robert Small typed: Ok, I'm an idiot! I MUST have done something to my system yesterday. It's been running fine, and around 3:00pm yesterday, I started receiving emails from Cron /usr/local/save-entropy saying: *User: not found Look for the string *User in /etc/rc.conf (and remove it). -Ruben I've tried everything, and looking into everything. I've checked my master.passwd and group (compared 'em to /usr/src/etc). I've checked crontab (/etc/crontab), and root's crontab (empty). I've also compared to another 5.1 (Release) box, and everhthing is the same. Could someone point me in the right direction? I'm running: 5.1 Current. I even did another update, build world, kernel and merge this morning, all to no avail! The line in my crontab is: */11 * * * * operator /usr/libexec/save-entropy And when I try to run it from the command line I get: /etc# /usr/libexec/save-entropy *User: not found Any/all help would be appreciated. Thanks! Robert Please CC me as I'm not currently subscribed to this list. 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: console connectivity question.
On Tue, Oct 21, 2003 at 07:11:53AM -0600, Tim Hogan typed: I have installed FreeBSD v4.8 on an Intel system that had a monitor and a keyboard attached at the time of install. I would now like to remove the monitor and keyboard and have a headless unit however I can't seem to make the serial port work as a console. Can't someone direct me to where to go to solve this problem? Putting -Dh (without quotes) in /boot.config works for me. -Ruben Thanks Tim ___ [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: Where is the config file?
On Tue, Oct 21, 2003 at 05:27:42AM -0700, Dinesh Nadarajah wrote: I would like to know where pkg_add keeps its configuration file? I mean when I execute the command 'pkg_add -r bzip2' how does it know that it needs to fetch it from ftp://ftp.freebsd.org/./packages-4-stable/ as opposed to packages-4-current? There isn't any configuration file. pkg_add determines the directory name to be used from the version of FreeBSD that is is running under. Also, along the same note, I searched through the handbook but could not find any information on how to convert a 4-STABLE to a 4-CURRENT. I want to only use CURRENT software not update my kernel to CURRENT. Is this possible? Since 4-STABLE is newer than 4-CURRENT, I don't see why you would want to do that. 4-CURRENT was the name used to refer to the development branch of FreeBSD after the 3.x branch had been created and before 4.0-RELEASE had been made. After 4.0-RELEASE had been made the development branch was called 5-CURRENT. 4-STABLE is the branch that all the 4.x releases come from. If pkg_add -r is provided a URL to a CURRENT directory, would it fetch all dependencies from the same directory or would it revert to its configured URL to fetch the dependencies? Thanks in advance. If you want to override where pkg_add fetches packages from you can set the PACKAGEROOT and PACKAGESITE environment variables to appropriate values as described in the pkg_add(1) manpage. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cvsuping 5.x source
Hi I have been trying to use cvsup to update my 5.1 install, but something is not working right on this end. I have read the section in the handbook several times but still can't get it to work. This is the supfile that I am using with cvsup: # *default host=cvsup9.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_5 *default delete use-rel-suffix *default compress # src-all # # eof But when I go to /usr/src and do the make buildkernel KERNELCONF=LOWFAT as root of course it tells me that make doesn't know how to make buildkernel. and when I ls the directory all that's there is sys. Shouldn't there be some sort of Makefile in there? I figure that's why make doesn't know what to do. Can someone tell me what I'm doing wrong here? I do have a kernel that I built with the source I downloaded after installing 5.1 using the LOWFAT configuration file, and it works fine. However to do this I had to use the first procedure listed in the handbook, because of course when I cd to /usr/src and make buildkernel it doesn't know what to do. Thanks -- Lute * Power Provided * * by * * FreeBSD 5.1 RELEASE * ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: console connectivity question.
Tim, I usually add -h to /boot.config and edit the ttyd0 line in /etc/ttys to look something like: ttyd0 /usr/libexec/getty std.9600 vt100 on secure Also see the FreeBSD handbook entry on this subject: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html -- Brendan Kelliher Tim Hogan wrote: I have installed FreeBSD v4.8 on an Intel system that had a monitor and a keyboard attached at the time of install. I would now like to remove the monitor and keyboard and have a headless unit however I can't seem to make the serial port work as a console. Can't someone direct me to where to go to solve this problem? Thanks Tim ___ [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: Where is the config file?
On Tue, Oct 21, 2003 at 05:27:42AM -0700, Dinesh Nadarajah wrote: I would like to know where pkg_add keeps its configuration file? I mean when I execute the command 'pkg_add -r bzip2' how does it know that it needs to fetch it from ftp://ftp.freebsd.org/./packages-4-stable/ as opposed to packages-4-current? pkg_add works out the path it looks for on the FTP servers from the system version number -- there isn't a specific configuration file for it. You can override the defaults by setting various environment variables: PACKAGEROOT, PACKAGESITE as described in the pkg_add(1) man page. If you're interested in exactly how pkg_add works out what URL to use, look at the definition of the 'releases' array near the top of /usr/src/usr.sbin/pkg_install/add/main.c Hmmm... I do believe I can see what might be a bijou little buglette there. Seems that there's no mention of packages-4.8-release or the impending packages-4.9-release. (Checks cvsweb...) Hmmm... Looks like only RELENG_4_8 branch gets an indication of where the 4.8-RELEASE packages are. Makes a certain kind of sense. Also, along the same note, I searched through the handbook but could not find any information on how to convert a 4-STABLE to a 4-CURRENT. I want to only use CURRENT software not update my kernel to CURRENT. Is this possible? Firstly, there's no such thing as 4-CURRENT and there hasn't been for several years. Your choices at the moment (other than one of the -RELEASE branches) are 4-STABLE or 5-CURRENT. Similarly, there is no 5-STABLE just yet: the omens are that it may appear alongside 5.3 release. This is documented in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html and http://www.freebsd.org/doc/en_US.ISO8859-1/articles/5-roadmap/index.html Using 5-CURRENT is not recommended unless you are of FreeBSD developer calibre, as it is the bleeding edge and you will need quite a lot of code-fu to be able to deal with the fine messes it can get you into. You seem to be on 4-STABLE already -- unless you have a pressing reason, like you have hardware only supported in 5.x or insatiable curiosity, then I'd stick with that. If you must run a 5.x version go with 5.1-RELEASE which is the best and most recent 5.x code right now. As for upgrading from 4.x-STABLE to 5.x-RELEASE: this can be done by compiling the 5.x sources under 4.x, but it is by no means a trivial task, and there are various new features (like UFS2 filesystems) that you won't be able to take advantage of without extreme pain. Take a look at the instructions in /usr/src/UPDATING (see http://www.freebsd.org/cgi/cvsweb.cgi/src/UPDATING?rev=1.251.2.12content-type=text/x-cvsweb-markuponly_with_tag=RELENG_5_1 for details from the UPDATING file for 5.1-RELEASE -- the bit you want is pretty much right at the end of the file) On the whole, you may find it more productive to cut yourself some 5.1 Installation media, wipe your present system and do a fresh install. If pkg_add -r is provided a URL to a CURRENT directory, would it fetch all dependencies from the same directory or would it revert to its configured URL to fetch the dependencies? From reading the source code, I believe that the first option will be the case, unless you set PKG_ADD_BASE in the environment. But I could be wrong. Trying a combination of the '-n' and -v' flags to pkg_add should let you confirm your suppositions without screwing up your system. 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: Where is the config file?
The reason I am asking all these questions is that I am exploring the possibility of of writing an apt-get like application for FreeBSD (call it apt-pkg). Apt-get was written to help out dpkg in Debian. pkg_add has a lot more features than dpkg but not the update/upgrade features of apt-get. So pkg_add simply requires an 'aide' applcation that simply provides pkg_add information on what to install - kind of a gentler user interface for pkg_add. anyone aware of such a project. Do not want to reinvent the wheel here. But having used debian for some time, I have come to appreciate the appeal this has for ne users and users who simply want to install binaries. Thanks for the rseponses. -D PS: I am thinking of writing it in Python. Good/Bad --- Matthew Seaman [EMAIL PROTECTED] wrote: On Tue, Oct 21, 2003 at 05:27:42AM -0700, Dinesh Nadarajah wrote: I would like to know where pkg_add keeps its configuration file? I mean when I execute the command 'pkg_add -r bzip2' how does it know that it needs to fetch it from ftp://ftp.freebsd.org/./packages-4-stable/ as opposed to packages-4-current? pkg_add works out the path it looks for on the FTP servers from the system version number -- there isn't a specific configuration file for it. You can override the defaults by setting various environment variables: PACKAGEROOT, PACKAGESITE as described in the pkg_add(1) man page. If you're interested in exactly how pkg_add works out what URL to use, look at the definition of the 'releases' array near the top of /usr/src/usr.sbin/pkg_install/add/main.c Hmmm... I do believe I can see what might be a bijou little buglette there. Seems that there's no mention of packages-4.8-release or the impending packages-4.9-release. (Checks cvsweb...) Hmmm... Looks like only RELENG_4_8 branch gets an indication of where the 4.8-RELEASE packages are. Makes a certain kind of sense. Also, along the same note, I searched through the handbook but could not find any information on how to convert a 4-STABLE to a 4-CURRENT. I want to only use CURRENT software not update my kernel to CURRENT. Is this possible? Firstly, there's no such thing as 4-CURRENT and there hasn't been for several years. Your choices at the moment (other than one of the -RELEASE branches) are 4-STABLE or 5-CURRENT. Similarly, there is no 5-STABLE just yet: the omens are that it may appear alongside 5.3 release. This is documented in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html and http://www.freebsd.org/doc/en_US.ISO8859-1/articles/5-roadmap/index.html Using 5-CURRENT is not recommended unless you are of FreeBSD developer calibre, as it is the bleeding edge and you will need quite a lot of code-fu to be able to deal with the fine messes it can get you into. You seem to be on 4-STABLE already -- unless you have a pressing reason, like you have hardware only supported in 5.x or insatiable curiosity, then I'd stick with that. If you must run a 5.x version go with 5.1-RELEASE which is the best and most recent 5.x code right now. As for upgrading from 4.x-STABLE to 5.x-RELEASE: this can be done by compiling the 5.x sources under 4.x, but it is by no means a trivial task, and there are various new features (like UFS2 filesystems) that you won't be able to take advantage of without extreme pain. Take a look at the instructions in /usr/src/UPDATING (see http://www.freebsd.org/cgi/cvsweb.cgi/src/UPDATING?rev=1.251.2.12content-type=text/x-cvsweb-markuponly_with_tag=RELENG_5_1 for details from the UPDATING file for 5.1-RELEASE -- the bit you want is pretty much right at the end of the file) On the whole, you may find it more productive to cut yourself some 5.1 Installation media, wipe your present system and do a fresh install. If pkg_add -r is provided a URL to a CURRENT directory, would it fetch all dependencies from the same directory or would it revert to its configured URL to fetch the dependencies? From reading the source code, I believe that the first option will be the case, unless you set PKG_ADD_BASE in the environment. But I could be wrong. Trying a combination of the '-n' and -v' flags to pkg_add should let you confirm your suppositions without screwing up your system. 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 ATTACHMENT part 2 application/pgp-signature ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW Antics
Tom Servo [EMAIL PROTECTED] writes: Each time that I see the request dialog come up in my IRC client the request times out because I think that my gateway is dropping the request packets instead of forwarding them to my IRC machine. I know that ircd usually runs on port 6667 so I am guessing that DCC requests must land in the same area. I specified all ports from -7000 to be safe but maybe these are the wrong ports??? You'd need to check the IRC docs for that. Or look at the traffic on the wire; I use tcpdump(1) for that. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
log_in_vain trouble
I've got two very similar systems, the one in question - FreeBSD janis 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #0: Thu Oct 16 09:58:29 CDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM i386 I can't seem to get log_in_vain to work. I've added log_in_vain=YES to rc.conf. I went so far as to reboot the computer but attempts aren't logged. I ran the following two commands - # sysctl -w net.inet.tcp.log_in_vain=1 # sysctl -w net.inet.udp.log_in_vain=1 and restarted syslogd. Still no joy. A telnet janis 21 should activate this directive but it does not. It does on my other FreeBSD system. What am I missing in order to get this to work? Thanks, Kent -- I am always doing that which I can not do, in order that I may learn how to do it. --Pablo Picasso ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] root passwd change
On Tue, 21 Oct 2003 08:55:54 -0400 Lowell Gilbert [EMAIL PROTECTED] wrote: Eric Pogroski [EMAIL PROTECTED] writes: On Tue, 07 Oct 2003 19:37:19 + DanB [EMAIL PROTECTED] wrote: Is there other way to change the root password that been lost without shutting down the computer. Old way shutdown space barboot -s #mount -t ufs -a #passwd # exit to multiusers. Try this: # shutdown now hit return to accept 'sh' as the default shell # passwd # exit Did you try that? many, many times in the past... :) Won't it still be in the raised securelevel? nope. sorry about the brevity of my previous reply, in a bit of a rush then. here's whats needed: presuming a full, multiuser system is running # shutdown now # hit return at the prompt for 'sh' (csh tcsh both go fubar in single-user mode) at this point, all of the filesystems are still mounted # passwd root --- this is important - lost one system by NOT doing this # exit -or-reboot --- I prefer a reboot, but that's me. work's about 9 times out of 10. It's the tenth one that makes you bald from frustration... :) ps: cc your replies to [EMAIL PROTECTED] so this stuff will get to the archives. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: VXA-2 Packet Drive
Jeronimo Romero [EMAIL PROTECTED] writes: Does anyone know if FreeBSD supports Exabyte VXA-2 Packet Drives?? We are interested in purchasing one but i didn't see it in the hardware compatibility list and we wanted to make sure. I believe those devices are SCSI, in which case they should work fine. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB and routing...
...but not necessarily in relation to one another. ;-) This is my second go at FreeBSD, and it's my umpteenth one with UNIXes in general. Having done my share of Linux (with one recent battle being setting up a web/mail/NFS/NIS/Samba server for a school project. *puh* I thought I knew what frustration was, but boy was I wrong!), I've moved onto FreeBSD because - well, I think it's easier to set up, and you don't have to relate to several different versions of the same OS. Now, onto my questions: 1. I have installed onto a laptop computer, with a USB mouse and a touchpad. Now, up until very recently, the USB mouse worked fine when I inserted it and took it out while the system was on, and the console output showed usbd doing its thing. However, the other day this stopped working, and I now have to have the USB mouse inserted at startup for it to function at all. This is, of course, no biggie, but it kinda defeats the purpose of the whole USB thing, doesn't it? The touchpad, however, works perfectly, always. 2. I have one built-in NIC and a Wireless NIC, both of which work perfectly, the way they're supposed to. Now, my beef is that the Wireless NIC is used for home, and gets IP via DHCP from my router. The built-in NIC is used for school, must have IP assigned manually (from rc.conf), and has a totally different IP range that my network at home. This, of course, leads to mayhem when the default route is to be established. If I enter the gateway at school statically, my laptop gets online at school, but not at home. If I don't, my laptop gets online at home, but I have to manually route add default etc everytime I want to go online at school. Is there a tidy way to do this automatically? One default route per NIC, for instance? Thanks for all help, please CC me, as I'm on digest mode. :-D -- Henrik W Lund ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: console connectivity question.
Thnaks to all who replied. Tim http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setu p.html - Original Message - From: Ruben de Groot [EMAIL PROTECTED] To: Tim Hogan [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 2:20 PM Subject: Re: console connectivity question. On Tue, Oct 21, 2003 at 07:11:53AM -0600, Tim Hogan typed: I have installed FreeBSD v4.8 on an Intel system that had a monitor and a keyboard attached at the time of install. I would now like to remove the monitor and keyboard and have a headless unit however I can't seem to make the serial port work as a console. Can't someone direct me to where to go to solve this problem? Putting -Dh (without quotes) in /boot.config works for me. -Ruben Thanks Tim ___ [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] ___ [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: Where is the config file?
You might want to look at the portupgrade tool in the ports collection. It supports a '-P' flag that tells it to use packages instead of compiling from source. It does an excellent job of handling dependencies (if used correctly), and is very easy to use. It may be better to create a friendly face to using portupgrade, rather than creating yet another tool that does the same thing. I am not familiar with apt-get but I believe portupgrade would provide a solid package management engine to whatever interface you choose to build around it. Seeya...Q On Tue, 2003-10-21 at 23:40, Dinesh Nadarajah wrote: The reason I am asking all these questions is that I am exploring the possibility of of writing an apt-get like application for FreeBSD (call it apt-pkg). Apt-get was written to help out dpkg in Debian. pkg_add has a lot more features than dpkg but not the update/upgrade features of apt-get. So pkg_add simply requires an 'aide' applcation that simply provides pkg_add information on what to install - kind of a gentler user interface for pkg_add. anyone aware of such a project. Do not want to reinvent the wheel here. But having used debian for some time, I have come to appreciate the appeal this has for ne users and users who simply want to install binaries. Thanks for the rseponses. -D PS: I am thinking of writing it in Python. Good/Bad --- Matthew Seaman [EMAIL PROTECTED] wrote: On Tue, Oct 21, 2003 at 05:27:42AM -0700, Dinesh Nadarajah wrote: I would like to know where pkg_add keeps its configuration file? I mean when I execute the command 'pkg_add -r bzip2' how does it know that it needs to fetch it from ftp://ftp.freebsd.org/./packages-4-stable/ as opposed to packages-4-current? pkg_add works out the path it looks for on the FTP servers from the system version number -- there isn't a specific configuration file for it. You can override the defaults by setting various environment variables: PACKAGEROOT, PACKAGESITE as described in the pkg_add(1) man page. If you're interested in exactly how pkg_add works out what URL to use, look at the definition of the 'releases' array near the top of /usr/src/usr.sbin/pkg_install/add/main.c Hmmm... I do believe I can see what might be a bijou little buglette there. Seems that there's no mention of packages-4.8-release or the impending packages-4.9-release. (Checks cvsweb...) Hmmm... Looks like only RELENG_4_8 branch gets an indication of where the 4.8-RELEASE packages are. Makes a certain kind of sense. Also, along the same note, I searched through the handbook but could not find any information on how to convert a 4-STABLE to a 4-CURRENT. I want to only use CURRENT software not update my kernel to CURRENT. Is this possible? Firstly, there's no such thing as 4-CURRENT and there hasn't been for several years. Your choices at the moment (other than one of the -RELEASE branches) are 4-STABLE or 5-CURRENT. Similarly, there is no 5-STABLE just yet: the omens are that it may appear alongside 5.3 release. This is documented in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html and http://www.freebsd.org/doc/en_US.ISO8859-1/articles/5-roadmap/index.html Using 5-CURRENT is not recommended unless you are of FreeBSD developer calibre, as it is the bleeding edge and you will need quite a lot of code-fu to be able to deal with the fine messes it can get you into. You seem to be on 4-STABLE already -- unless you have a pressing reason, like you have hardware only supported in 5.x or insatiable curiosity, then I'd stick with that. If you must run a 5.x version go with 5.1-RELEASE which is the best and most recent 5.x code right now. As for upgrading from 4.x-STABLE to 5.x-RELEASE: this can be done by compiling the 5.x sources under 4.x, but it is by no means a trivial task, and there are various new features (like UFS2 filesystems) that you won't be able to take advantage of without extreme pain. Take a look at the instructions in /usr/src/UPDATING (see http://www.freebsd.org/cgi/cvsweb.cgi/src/UPDATING?rev=1.251.2.12content-type=text/x-cvsweb-markuponly_with_tag=RELENG_5_1 for details from the UPDATING file for 5.1-RELEASE -- the bit you want is pretty much right at the end of the file) On the whole, you may find it more productive to cut yourself some 5.1 Installation media, wipe your present system and do a fresh install. If pkg_add -r is provided a URL to a CURRENT directory, would it fetch all dependencies from the same directory or would it revert to its configured URL to fetch the dependencies? From reading the source code, I believe that the first option will be the case, unless you set PKG_ADD_BASE in the environment. But I could be wrong. Trying a combination of the '-n' and -v' flags to pkg_add should let
Re: USB and routing...
On Tuesday 21 October 2003 17:26, Henrik W Lund wrote: ...but not necessarily in relation to one another. ;-) This is my second go at FreeBSD, and it's my umpteenth one with UNIXes in general. Having done my share of Linux (with one recent battle being setting up a web/mail/NFS/NIS/Samba server for a school project. *puh* I thought I knew what frustration was, but boy was I wrong!), I've moved onto FreeBSD because - well, I think it's easier to set up, and you don't have to relate to several different versions of the same OS. Now, onto my questions: 1. I have installed onto a laptop computer, with a USB mouse and a touchpad. Now, up until very recently, the USB mouse worked fine when I inserted it and took it out while the system was on, and the console output showed usbd doing its thing. However, the other day this stopped working, and I now have to have the USB mouse inserted at startup for it to function at all. This is, of course, no biggie, but it kinda defeats the purpose of the whole USB thing, doesn't it? The touchpad, however, works perfectly, always. I think you don't have usbd running. Check if you have usbd_enable=YES in /etc/rc.conf 2. I have one built-in NIC and a Wireless NIC, both of which work perfectly, the way they're supposed to. Now, my beef is that the Wireless NIC is used for home, and gets IP via DHCP from my router. The built-in NIC is used for school, must have IP assigned manually (from rc.conf), and has a totally different IP range that my network at home. This, of course, leads to mayhem when the default route is to be established. If I enter the gateway at school statically, my laptop gets online at school, but not at home. If I don't, my laptop gets online at home, but I have to manually route add default etc everytime I want to go online at school. Is there a tidy way to do this automatically? One default route per NIC, for instance? You could create a script that checks every X-seconds if the network card is connected. If the status goes to active, add your schools gateway. If the status goes to no carrier, change to your wireless gateway. (you can get the status from ifconfig) grtz, Daan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SCSI Host Adapter recommendation
Greetings, I am building a department level server and am going to be running Freebsd Samba on it instead of the windows headache. The machine is going to have a 12/24GB Dat tape drive, and so I'm looking to find an inexpensive, but works straight out of the box with FreeBSD scsi host adapter. Anybody want to chime in ? Or should I just choose an Adaptec card and be done ? thanks, Darryl ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SCSI Host Adapter recommendation
I used to go with adeptecs, but now use tekrams - they seem faster. On Tue, 21 Oct 2003, Darryl Hoar wrote: Greetings, I am building a department level server and am going to be running Freebsd Samba on it instead of the windows headache. The machine is going to have a 12/24GB Dat tape drive, and so I'm looking to find an inexpensive, but works straight out of the box with FreeBSD scsi host adapter. Anybody want to chime in ? Or should I just choose an Adaptec card and be done ? thanks, Darryl ___ [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]
gettext compile problem
Hello viewers. Can someone talk me through on what to look for so I can start solving these myself.. Information: 4.8 stable / gettext-0.12.1 I have tried removing from distfiles and remaking and reinstall.. I can follow some of what is going on here, but can you give me some detail? What is my next step in thinking? -verbose Thanks! Aaron Making all in lib Making all in libasprintf make all-am /bin/sh ./libtool --mode=link c++ -O -pipe -L/usr/local/lib -o libasprintf.la -rpath /usr/local/lib lib-asprintf.lo autosprintf.lo c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o .libs/ lib-asprintf.o .libs/autosprintf.o -Wl,--whole-archive /usr/local/lib/./ libstdc++.a -Wl,--no-whole-archive -L/usr/local/lib/gcc-lib/ i386-portbld-freebsd4.8/../.. -L/usr/ports/lang/gcc33/work/build/gcc -L/ usr/ ports/lang/gcc33/work/build/i386-portbld-freebsd4.8/libstdc++-v3/src/.li bs -L/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd4.8/libstdc++-v3/ src -L/usr/local/lib -L/usr/lib -lm -lgcc /usr/lib/crtendS.o /usr/lib/crtn.o -Wl,-soname -Wl,libasprintf.so.0 -o .libs/libasprintf.so.0 /usr/lib/libgcc.a(new.o)(.data+0x0): multiple definition of `__new_handler' /usr/local/lib/./libstdc++.a(new_handler.o)(.bss.__new_handler+0x0): first defined here /usr/lib/libgcc.a(tinfo2.o): In function `__dynamic_cast': tinfo2.o(.text+0x7d8): multiple definition of `__dynamic_cast' /usr/local/lib/./libstdc++.a(tinfo.o)(.text.__dynamic_cast+0x0): first defined here /usr/libexec/elf/ld: Warning: size of symbol `__dynamic_cast' changed from 250 to 75 in /usr/lib/libgcc.a(tinfo2.o) *** Error code 1 Stop in /usr/ports/devel/gettext/work/gettext-0.12.1/gettext-runtime/ libasprintf. *** Error code 1 Stop in /usr/ports/devel/gettext/work/gettext-0.12.1/gettext-runtime/ libasprintf. *** Error code 1 Stop in /usr/ports/devel/gettext/work/gettext-0.12.1/gettext-runtime. *** Error code 1 Stop in /usr/ports/devel/gettext/work/gettext-0.12.1/gettext-runtime. *** Error code 1 Stop in /usr/ports/devel/gettext/work/gettext-0.12.1. *** Error code 1 Stop in /usr/ports/devel/gettext. Aaron Sloan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where is the config file?
On Tue, Oct 21, 2003 at 05:27:42AM -0700, Dinesh Nadarajah wrote: I would like to know where pkg_add keeps its configuration file? I mean when I execute the command 'pkg_add -r bzip2' how does it know that it needs to fetch it from ftp://ftp.freebsd.org/./packages-4-stable/ as opposed to packages-4-current? There is no packages-4-current (or 4-CURRENT). See the pkg_add manpage for the list of available options and environment variables that control its behaviour. Kris pgp0.pgp Description: PGP signature
Re: Hosed system
Operating system: i386-pc-freebsd4.8 /usr/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.2: Shared object has no run-time symbol table /usr/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.2: Shared object has no run-time symbol table This system (FreeBSD-elf) is not supported. See file INSTALL for details. === Building for openssl-0.9.7b_1 make: don't know how to make freebsd-shared. Stop *** Error code 2 Stop in /usr/ports/security/openssl. pkg_add -r openssl ? Well... thought it was fixed, but am now getting this : /usr/libexec/ld-elf.so.1: /usr/lib/libskey.so.2: Undefined symbol crypt any insight appreciated... thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Help with NV driver - More information part 2
Well, I've tried ranges too with the same results -Jason -Original Message- From: Nicolai P Guba [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 3:40 AM To: [EMAIL PROTECTED] On Tuesday 21 October 2003 04:49, Jason Dictos wrote: Section Monitor Identifier NEC2080UX HorizSync 74.9 VertRefresh 59.9 EndSection Hmmm, are you sure this is correct? Shouldn't they rather be _ranges_ ? Just a stab in the dark... -- =NPG= ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: unable to use multiple exports for mountd
On Tuesday, October 21, 2003, at 11:21 AM, Jason Cribbins wrote: I have been dealing with this problem for many years and never really found a reasonable solution or explanation and now it has come to a point where I can no longer find work arounds to make it work the way I need it. How do I export more than one folder for export with different options for each? Use symlinks to create seperate export points which refer to that same one folder. I've written up a document which might give you some insight: http://www.pkix.net/~chuck/NFS/article.html -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SCSI Host Adapter recommendation
On Tue, Oct 21, 2003 at 11:30:15AM -0400, Steve Hovey wrote: I used to go with adeptecs, but now use tekrams - they seem faster. On another mailing the general opinion is that Adaptec host adapters are overpriced. I am using a LSI Logic U160 adapter in my system. Marc -- Marc Wiz [EMAIL PROTECTED] Yes, that really is my last name. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help with NV driver - More information part 2
On Tuesday 21 October 2003 17:30, Jason Dictos wrote: Well, I've tried ranges too with the same results I'd suggest you leave the ranges in for starters... then what does the XServer's log file say? Logging has been vastly improved in XFree over the years... -- =NPG= ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trying to see website from the Internet
Hi, I'm having all kinds of trouble trying to get things set up to see my website on the Internet. I know people like to claim to be newbies, but I actually am. :-) My machine (ethernet card) IP is 192.168.254.25 and I'm serving on port 8080. I can bring up the site no problem on my LAN- http://192.168.254.25:8080/, but not outside. My ISP is earthlink and it's a dynamic IP account. Right now the WAN IP is: 68.164.84.178. Trying http://68.164.84.178:8080/ doesn't work. I've opened the port, 8080, on the router. What should I look at to solve this? I have unsuccessfully scoured the complete freebsd book, handbook, and archives. But haven't found anything to address this specific problem yet, although it seems straightforward. If you think I don't understand networks exactly, you are correct; but it's not for lack of trying. Thanks for help, Micke __ 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: Trying to see website from the Internet
Hi Viktor, See comments below. --- Viktor Lazlo [EMAIL PROTECTED] wrote: On Tue, 21 Oct 2003, Micke P wrote: Hi, I'm having all kinds of trouble trying to get things set up to see my website on the Internet. I know people like to claim to be newbies, but I actually am. :-) My machine (ethernet card) IP is 192.168.254.25 and I'm serving on port 8080. I can bring up the site no problem on my LAN- http://192.168.254.25:8080/, but not outside. My ISP is earthlink and it's a dynamic IP account. Right now the WAN IP is: 68.164.84.178. Trying http://68.164.84.178:8080/ doesn't work. I've opened the port, 8080, on the router. What should I look at to solve this? I have unsuccessfully scoured the complete freebsd book, handbook, and archives. But haven't found anything to address this specific problem yet, although it seems straightforward. If you think I don't understand networks exactly, you are correct; but it's not for lack of trying. I'm assuming since you say you can view it at http://192.168.254.25:8080/ Yes. On my LAN only. that you've told apache to listen to port 8080 Yes. --have you also entered your hostname or IP address under ServerName? Yes. There seems to be no problem with Apache. The site is being served fine. It's the internet getting the signal, that's the problem. __ 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: Postfix smtp connect problem
Hi, dhull [EMAIL PROTECTED] wrote: I am running FreeBSD stable (4.9 pre) I installed Postfix from ports. If I log onto the server I can send mail using the quot;mailquot; command. If I try an external mail client it times out. For some reasion postfix is not allowing connections other then local host. Can someone tell me how to fix this? if you post some output (errors) from /var/log/mail, there is a chance to help you. the output from `postconf -n` would be interesting too. Sven -- 6. I will not gloat over my enemies' predicament before killing them. --Peter Anspach's list of things to do as an Evil Overlord --[rand. sig. #11] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Noob FreeBSD 5.1 install question
Well, there's no law that says you *have* to use the ports system, but it's pretty strange not to take advantage of something so good... There are pre-compiled packages available, but these generally don't track the latest upstream updates to the ported software very efficiently. The ports tree does: updates to popular packages like apache generally go into the ports tree within a day or so of them being published. Rather than installing the ports and system sources by downloading tarballs from the FTP sites, there are arguments in favour of installing by running cvsup(1) to populate an empty directory. Sorry, what i was saying is that instead of installing the PORTS from the cd I was downloading the latest and greatest ports Tarball from the www.freebsd.org/ports site. Not the fact that I don't use them.. But thank you for the valuable info. I will put it in my book so I can remember to use it tonight. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re: Postfix smtp connect problem
I think I found the problem. It had something to do with the quot;aliasesquot; file. I noticed this when I ran quot;postfix startquot; at the command line. Before that I was doing everything from webmin. Webmin is nice but in this case it didn't give me any error messages. Not good. ---Original Message--- gt; From: Sven Pfeifer lt;[EMAIL PROTECTED]gt; gt; Subject: Re: Postfix smtp connect problem gt; Sent: Oct 21 2003 19:38:05 gt; gt; Hi, gt; gt; dhull wrote: gt; gt; I am running FreeBSD stable (4.9 pre) gt; gt; gt; gt; I installed Postfix from ports. gt; gt; gt; gt; If I log onto the server I can send mail using the quot;mailquot; gt; gt; command. If I try an external mail client it times out. gt; gt; gt; gt; For some reasion postfix is not allowing connections other then local host. gt; gt; gt; gt; Can someone tell me how to fix this? gt; gt; if you post some output (errors) from /var/log/mail, there is gt; a chance to help you. the output from `postconf -n` would be gt; interesting too. gt; gt; gt; gt; Sven gt; gt; -- gt; 6. I will not gloat over my enemies' predicament before killing them. gt; --Peter Anspach's list of things to do as an Evil Overlord gt; --[rand. sig. #11] gt; ___ gt; [EMAIL PROTECTED] mailing list gt; http://lists.freebsd.org/mailman/listinfo/freebsd-questions gt; To unsubscribe, send any mail to quot;[EMAIL PROTECTED]quot; ---Original Message--- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vncserver, rc.local, and blackbox problem
Ok, for today's edition of Show Scott What Stupid Thing He Missed... Trying to set up a dedicated VNC/ethereal server, so I'm trying to have vncserver run from rc.local (using su to run it as a user and not root). Ran into some path issues to make vncserver happy, which I resolved, but for some reason blackbox won't run and it doesn't _seem_ to be paths. Strangely enough, ethereal (which is loaded from the same ~/.vnx/xstartup file as blackbox) DOES launch (I just have no wm). So I know that file is being used. And if I launch vncserver manually as the user. both blackbox and ethereal launch fine. (for those of you wondering, I don't use fluxbox because of cosmetic quirks, or openbox because it doesn't play nice over vnc) Anyhow, my /etc/rc.local file is: PATH=$PATH:/usr/X11R6/bin:/usr/local/bin HOME=/home/ben su ben -c /usr/local/bin/vncserver -depth 8 -geometry 1024x768 And /home/ben/.vnc/xstartup is currently: #!/bin/sh #PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/b in:/usr/X11R6/bin:/home/ben/bin HOME=/home/ben [ -r $HOME/.Xresources ] xrdb $HOME/.Xresources xsetroot -solid grey #xterm -geometry 80x24+10+10 -ls -title $VNCDESKTOP Desktop #twm /usr/X11R6/bin/ethereal /usr/X11R6/bin/blackbox (note the commented-out path declaration... that was my attempt to see if making the path match what it is when ben is just logged in would make blackbox happy, which it didn't). The :1.log file only offers a vague clue. When I normally start vncserver manually as ben, it looks like this: 21/10/03 15:28:53 Xvnc version 3.3.7 - built Oct 21 2003 11:01:44 21/10/03 15:28:53 Copyright (C) 2002-2003 RealVNC Ltd. 21/10/03 15:28:53 Copyright (C) 1994-2000 ATT Laboratories Cambridge. 21/10/03 15:28:53 All Rights Reserved. 21/10/03 15:28:53 See http://www.realvnc.com for information on VNC 21/10/03 15:28:53 Desktop name 'X' (aaa.bbb.ccc.com:1) 21/10/03 15:28:53 Protocol version supported 3.3 21/10/03 15:28:53 Listening for VNC connections on TCP port 5901 21/10/03 15:28:53 Listening for HTTP connections on TCP port 5801 21/10/03 15:28:53 URL http://aaa.bbb.ccc.com:5801 BScreen::BScreen: managing screen 0 using visual 0x22, depth 16 But when I try and start vncserver from bootup, it looks like this: 21/10/03 15:32:22 Xvnc version 3.3.7 - built Oct 21 2003 11:01:44 21/10/03 15:32:22 Copyright (C) 2002-2003 RealVNC Ltd. 21/10/03 15:32:22 Copyright (C) 1994-2000 ATT Laboratories Cambridge. 21/10/03 15:32:22 All Rights Reserved. 21/10/03 15:32:22 See http://www.realvnc.com for information on VNC 21/10/03 15:32:22 Desktop name 'X' (aaa.bbb.ccc.com:1) 21/10/03 15:32:22 Protocol version supported 3.3 21/10/03 15:32:22 Listening for VNC connections on TCP port 5901 21/10/03 15:32:22 Listening for HTTP connections on TCP port 5801 21/10/03 15:32:22 URL http://aaa.bbb.ccc.com:5801 BScreen::BScreen: managing screen 0 using visual 0x22, depth 8 21/10/03 15:32:32 Xvnc version 3.3.7 - built Oct 21 2003 11:01:44 21/10/03 15:32:32 Copyright (C) 2002-2003 RealVNC Ltd. 21/10/03 15:32:32 Copyright (C) 1994-2000 ATT Laboratories Cambridge. 21/10/03 15:32:32 All Rights Reserved. 21/10/03 15:32:32 See http://www.realvnc.com for information on VNC 21/10/03 15:32:32 Desktop name 'X' (aaa.bbb.ccc.com:1) 21/10/03 15:32:32 Protocol version supported 3.3 X connection to :1.0 broken (explicit kill or server shutdown). Gdk-ERROR **: X connection to :1.0 broken (explicit kill or server shutdown). It's almost as if it's getting called twice (???) and there's some sort of collision. And/or maybe that broken connection is blackbox dying somehow. Any advice? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Help with NV driver - More information part 2 - SOLVED
Hi All, After setting the sysctl machdep.disable_mtrrs=1 in loader.conf I was able to re-use the nvidia.ko module without it hosing my server! Thanks, -Jason -Original Message- From: Jason Dictos [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 9:30 AM To: 'Nicolai P Guba'; [EMAIL PROTECTED] Well, I've tried ranges too with the same results -Jason -Original Message- From: Nicolai P Guba [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 3:40 AM To: [EMAIL PROTECTED] On Tuesday 21 October 2003 04:49, Jason Dictos wrote: Section Monitor Identifier NEC2080UX HorizSync 74.9 VertRefresh 59.9 EndSection Hmmm, are you sure this is correct? Shouldn't they rather be _ranges_ ? Just a stab in the dark... -- =NPG= ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
natd question
i am running freebsd 4.6.2. i have 2 nic cards on the machine, one which is the external interface and connects to a router which connects to dsl. the other is internal interface for our subnet. i have enabled natd on the machine, but still cannot get packets out when on the subnet. i can ssh to the external interface, but can't ssh to a machine that is outside of our network. i checked ps aux to make sure natd is running and checked the firewall rules to make sure the natd divert rule is there. is there something else i need to configure? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: natd question
The next question on my mind would be whether or not you've established routes? `man route` Hope it helps, Tyler McGeorge ...to the rescue... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michelle Sent: Tuesday, October 21, 2003 3:00 PM To: [EMAIL PROTECTED] Subject: natd question i am running freebsd 4.6.2. i have 2 nic cards on the machine, one which is the external interface and connects to a router which connects to dsl. the other is internal interface for our subnet. i have enabled natd on the machine, but still cannot get packets out when on the subnet. i can ssh to the external interface, but can't ssh to a machine that is outside of our network. i checked ps aux to make sure natd is running and checked the firewall rules to make sure the natd divert rule is there. is there something else i need to configure? ___ [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: ATA mirroring solution required
Well, if you're willing to spend some money, getting a hardware RAID1 2-channel IDE controller would be the way to go. As a cheaper alternative, I, personally, would change the drive configuration so that each channel had a HDD master and a CDROM slave. Hope this helps, Tyler McGeorge ...to the rescue... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Smith Sent: Tuesday, October 21, 2003 2:48 PM To: [EMAIL PROTECTED] Subject: ATA mirroring solution required Hi, Got a bit of a sticky situation. I have a bog standard Compaq AP230 workstation with two IDE channels and 3 devices so far (two CDROM devices and a hard disk). I want to add a second disk as a software RAID1 mirror of the primary disk. I know how to do this in FreeBSD so thats not a problem - the hardware side is. The only available IDE port I have would be shared with the existing hard disk i.e two hard disks in RAID1 on the primary IDE chain. AFAIK this is bad for performance reasons. Drives are both Seagate 7200rpm 40Gb ATA100 and the controller supports ATA100 also. Running 4.8-STABLE. Where do I go? I was looking for a secondary controller to give each drive it's own channel on the controller (ie a promise/HPT one) but have no experience with these under FreeBSD. Can someone recommend one if possible that works flawlessly or an alternative solution? Solutions must be cheap i.e under 50 UKP as the wife will kill me for spending any more ;-) Cheers all -- Chris Smith http://www.infinitemonkeys.org.uk/ ___ [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]
Equal bandwidth sharing by all hosts using dummynet
Hi all, First of all, I have spent a lot of time reading up on it. Anyway, I live in a shared accomodation with 2 roommates and a landlord and we share a cable internet connection. It is 2Mbit/400Kbit connection. Sometimes when one of us is downloading a song through Kazaa or a new Linux or FreeBSD iso, the bandwidth gets hogged and other users can't get through. I was trying to configure dummynet using Fair Queues but I seem to be missing something. I tried to modify some of the examples on Luigi Rizzo's web site (http://info.iet.unipi.it/~luigi/ip_dummynet/) but it doesn't seem to be working. It is a very simple setup. Private network (192.168.42.0/24) FreeBSD 5.1 firewall doing NAT (DHCP on external interface) My configuration file excerpt: ipfw pipe 1 config bw 400Kbit/s ipfw pipe 2 config bw 1000Kbit/s ipfw add queue 1 ip from 192.168.42.0/24 to any via fxp0 ipfw queue 1 config weight 5 pipe 1 mask src-ip 0x ipfw add queue 2 ip from any to 192.168.42.0/24 via fxp0 ipfw queue 2 config weight 5 pipe 2 mask dst-ip 0xfff When I do a ipfw pipe show, the output is: firewall# ipfw pipe list 1: 400.000 Kbit/s0 ms 50 sl. 0 queues (1 buckets) droptail mask: 0x00 0x/0x - 0x/0x 2: 1.000 Mbit/s0 ms 50 sl. 0 queues (1 buckets) droptail mask: 0x00 0x/0x - 0x/0x q1: weight 5 pipe 1 50 sl. 0 queues (64 buckets) droptail mask: 0x00 0x/0x - 0x/0x q2: weight 5 pipe 2 50 sl. 0 queues (64 buckets) droptail mask: 0x00 0x/0x - 0x/0x The queues are always 0. So, it seems to me like they are not getting created. What am I missing? I have looked everywhere for answers. Any help would be greatly appreciated. Cheers, Alhagie. __ 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]
pppoe for 5.1 doesn't work IAW handbook or rc.conf options
The title just about says it all. The handbook, rc.conf, and the ppp man page don't jive and no single one them works. This is really annoying because I had this working with DSL some time ago, but I can't get it going with my cable modem (Redhat and XP worked). Could someone please post the REAL ppp and pppoe options needed in rc.conf and post the ppp.conf file you are using? Please? I guess I should mention that I need my IP address determined by DHCP, which I thought was handled by enable dns. Am I wrong? And yes, I know my ethernet card works - dc0. I'll even send a diff for the handbook if you send me something that works. Thank you very, very much. If possible, send a cc to jhestess at yahoo.obvious Take care. __ 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: Trying to see website from the Internet
--- Paul Everlund [EMAIL PROTECTED] wrote: Micke P wrote: My machine (ethernet card) IP is 192.168.254.25 and I'm serving on port 8080. I can bring up the site no problem on my LAN- http://192.168.254.25:8080/, but not outside. My ISP is earthlink and it's a dynamic IP account. Right now the WAN IP is: 68.164.84.178. Trying http://68.164.84.178:8080/ doesn't work. I've opened the port, 8080, on the router. Right now the IP is 68.164.84.178? Yes. This is not an direct answer to your question, but if you're using a dynamic IP I suggest you go to, for an example DynDNS, and get a name for your site. After that you should install some kind of daemon that updates (in this case) DynDNS to reflect your dynamic IP-changes. In that way you should always be able to connect to your box! But all that I guess you've already figured out. :-) Thanks. Yes. I have a domain. But setting it up doesn't do any good since there is no IP it can connect to. __ 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: Trying to see website from the Internet
--- [EMAIL PROTECTED] wrote: I opened the port on my (hardware) router box, not the FreeBSD firewall. Internet - ISP - Modem - Router - FreeBSD box. Hopefully that's all I need to do to forward the port 8080 packets. Do I need to configure the FreeBSD firewall settings as well to reflect the port? no, if you can get to the website from inside your hardware firewall (a machine other then your freeBSD box) then the problem ly's with either your hardware firewall, or your ISP. What Brand firewall do you have? Remeber that just opening port 8080 will not work, you have to go into the Port Forwarding section of your firewall and forward the 8080 port to your inside box While it's not called Port Forwarding on the router setup, I'm certain that is what I've set up. 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'm afraid I'm just frustratedly baffled. __ 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: Weirdness with permissions after mounting USB flash drive
On Tue, 21 Oct 2003 14:26:17 +0200 Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Paul Murphy: Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Paul Murphy: I _can_ read/write to it as root, but I would really like to use it as a non-root user. Any thoughts as to why this is happening? [...] in /etc/fstab you may adjust the mode, see below -m700 for msdos filesystem: /dev/da0s1 /mnt/usbkey msdos rw,-m700,noauto 0 0 fstab: /dev/da0s1 /flash_drive msdos rw,-m775,noauto 0 0 mounted permisions: d- 1 root wheel 22016 Dec 31 1979 flash_drive FWIW you could check if your specific FreeBSD supports the -m switch by looking at the mount_msdosfs man page. Seems to, at least the man page says so. Also tried 'chmod 755 /flash_drive' after the fact, but it is silently ignored. I'm stumped! -- Cogeco ergo sum pgp0.pgp Description: PGP signature
/dist directory missing on 5.1 mfsroot disk??
Hi, I am having a peculiar problem with installing 5.1, has anyone successfully used the floppies (made from the ISO image) to boot and install from a CD or DOS partion? When I try I get the following error: Error mounting /dev/acd0 on /dist: No such file or directory (2) My cd rom appears to be fine, appears in dmesg as: acd0: CD-RW LITE-ON LTR-52327S at ata0-slave BIOSPIO When I use a fixit disk, I discover that indeed the /dist directory does not exist!! I have tried this now on two computers, a P2 266, and a P1120. They both report the same problem, even when I try and use a DOS partion to load the dist. Any help appreciated, - jacob Jacob RhodenPhone: +61 3 8344 4478 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: natd question
Are you using ipfw or ipfilter? --- Michelle [EMAIL PROTECTED] wrote: i am not aware of a natd.conf file. i edited the rc.conf file to enable natd and specify the interface. the firewall rule i am using for natd is: add divert natd all from any to any via fxp0. On Tuesday, October 21, 2003, at 03:09 PM, Alhagie Puye wrote: What does your natd.conf and firewall script look like? Details would be helpful in diagnosing the problem. Cheers, Alhagie. --- Michelle [EMAIL PROTECTED] wrote: i am running freebsd 4.6.2. i have 2 nic cards on the machine, one which is the external interface and connects to a router which connects to dsl. the other is internal interface for our subnet. i have enabled natd on the machine, but still cannot get packets out when on the subnet. i can ssh to the external interface, but can't ssh to a machine that is outside of our network. i checked ps aux to make sure natd is running and checked the firewall rules to make sure the natd divert rule is there. is there something else i need to configure? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com __ 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: Trying to see website from the Internet
On Tue, 21 Oct 2003 15:28:51 -0700 (PDT) Micke P [EMAIL PROTECTED] wrote: --- [EMAIL PROTECTED] wrote: I opened the port on my (hardware) router box, not the FreeBSD firewall. Internet - ISP - Modem - Router - FreeBSD box. Hopefully that's all I need to do to forward the port 8080 packets. Do I need to configure the FreeBSD firewall settings as well to reflect the port? no, if you can get to the website from inside your hardware firewall (a machine other then your freeBSD box) then the problem ly's with either your hardware firewall, or your ISP. What Brand firewall do you have? Remeber that just opening port 8080 will not work, you have to go into the Port Forwarding section of your firewall and forward the 8080 port to your inside box While it's not called Port Forwarding on the router setup, I'm certain that is what I've set up. 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'm afraid I'm just frustratedly baffled. Are you sure Earthlink is not blocking all the obvious HTTP server ports? Try using some arbitrary port 32000 -- Cogeco ergo sum pgp0.pgp Description: PGP signature
Re: natd question
On Tuesday, October 21, 2003, at 04:08 PM, Alhagie Puye wrote: Are you using ipfw or ipfilter? ipfw --- Michelle [EMAIL PROTECTED] wrote: i am not aware of a natd.conf file. i edited the rc.conf file to enable natd and specify the interface. the firewall rule i am using for natd is: add divert natd all from any to any via fxp0. On Tuesday, October 21, 2003, at 03:09 PM, Alhagie Puye wrote: What does your natd.conf and firewall script look like? Details would be helpful in diagnosing the problem. Cheers, Alhagie. --- Michelle [EMAIL PROTECTED] wrote: i am running freebsd 4.6.2. i have 2 nic cards on the machine, one which is the external interface and connects to a router which connects to dsl. the other is internal interface for our subnet. i have enabled natd on the machine, but still cannot get packets out when on the subnet. i can ssh to the external interface, but can't ssh to a machine that is outside of our network. i checked ps aux to make sure natd is running and checked the firewall rules to make sure the natd divert rule is there. is there something else i need to configure? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com __ 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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: natd question
Check this out: http://freebsd.peon.net/tutorials/12/ Cheers, Alhagie --- Michelle [EMAIL PROTECTED] wrote: On Tuesday, October 21, 2003, at 04:08 PM, Alhagie Puye wrote: Are you using ipfw or ipfilter? ipfw --- Michelle [EMAIL PROTECTED] wrote: i am not aware of a natd.conf file. i edited the rc.conf file to enable natd and specify the interface. the firewall rule i am using for natd is: add divert natd all from any to any via fxp0. On Tuesday, October 21, 2003, at 03:09 PM, Alhagie Puye wrote: What does your natd.conf and firewall script look like? Details would be helpful in diagnosing the problem. Cheers, Alhagie. --- Michelle [EMAIL PROTECTED] wrote: i am running freebsd 4.6.2. i have 2 nic cards on the machine, one which is the external interface and connects to a router which connects to dsl. the other is internal interface for our subnet. i have enabled natd on the machine, but still cannot get packets out when on the subnet. i can ssh to the external interface, but can't ssh to a machine that is outside of our network. i checked ps aux to make sure natd is running and checked the firewall rules to make sure the natd divert rule is there. is there something else i need to configure? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com __ 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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ 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]
make buildworld error
Hello, I installed 4.8 yesterday and i need to upgrade it but I'm getting this error when i try to do make buildworld: === usr.sbin/boot0cfg cc -O -pipe -march=k6 -W -Wall -Wstrict-prototypes -Wmissing- prototypes -W pointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wwrite- strings - Wswitch -Wshadow -c /usr/src/usr.sbin/boot0cfg/boot0cfg.c cc -O -pipe -march=k6 -W -Wall -Wstrict-prototypes -Wmissing- prototypes -W pointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wwrite- strings - Wswitch -Wshadow -o boot0cfg boot0cfg.o gzip -cn /usr/src/usr.sbin/boot0cfg/boot0cfg.8 boot0cfg.8.gz === etc === etc/sendmail make: don't know how to make freebsd.cf. Stop *** Error code 2 Stop in /usr/src/etc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. First i tried to redownload sources and rm -rf /usr/obj/* but it didnt help. Did anyone have same problem ? # uname -v FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC # cat checkouts.cvs:RELENG_4 F 5 1066771415 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
errors with orb drive
I have a castlewood 2.2 gig orb drive in my system. Today, it gave me the follow error: ad1: hard error reading fsbn 0 (ad1 bn 0; cn 0 tn 0 sn 0) trying PIO mode ad1: DMA problem fallback to PIO mode ad1: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. ad0: DMA limited to UDMA33, non-ATA66 cable or device done ad1: hard error reading fsbn 0 (ad1 bn 0; cn 0 tn 0 sn 0) status=51 error=40 ad1: reading primary partition table: error reading fsbn 0 ad1: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. ad0: DMA limited to UDMA33, non-ATA66 cable or device done ad1: hard error reading fsbn 0 (ad1 bn 0; cn 0 tn 0 sn 0) status=51 error=40 ad1: reading primary partition table: error reading fsbn 0 I'm not sure if this is a message the relates to the 'media' (the removable disk) or the head (if its broke, its dead) Any one else using orb drives? -- David Bear phone: 480-965-8257 fax:480-965-9189 College of Public Programs/ASU Wilson Hall 232 Tempe, AZ 85287-0803 Beware the IP portfolio, everyone will be suspect of trespassing ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Freebsd Amanda?
How can you tell if Amanda backup is running and where it is sending the backups to? Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portupgrade problems, please help
Hello, I use 5_1_RELEASE. I do not know what happened but now I get: -su-2.05b# portupgrade -arR /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:325:in `deorigin': failed to convert nil into String (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:918:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:931:in `sort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:935:in `sort_build!' from /usr/local/sbin/portupgrade:674:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1846 Can someone tell how to fix it. I tried pkgdb -uf but it doesn't help. Ivan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: natd question
have you tried this reading this? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html dont forget to set the gateway IP address of your network clients to the IP address of your FreeBSD nat server. hope this helps... - Gil Agno Virtucio Janitor/Collector/Messenger NEC System Integration and Construction Philippines Inc. 15th Floor BPI Buendia Center.__ ___ ___ . Gil Puyat Ave. Makati City 1200 / _/|__|/ | \|| Cellphone : +639163989695 / \ ___| /~\| Office Phone: +6328914167 \\_\ \ \Y/|___ \__ /__|\___|_ /|___ \ \/ \/ \/ - -Original Message- From: Michelle [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 6:00 AM To: [EMAIL PROTECTED] Subject: natd question i am running freebsd 4.6.2. i have 2 nic cards on the machine, one which is the external interface and connects to a router which connects to dsl. the other is internal interface for our subnet. i have enabled natd on the machine, but still cannot get packets out when on the subnet. i can ssh to the external interface, but can't ssh to a machine that is outside of our network. i checked ps aux to make sure natd is running and checked the firewall rules to make sure the natd divert rule is there. is there something else i need to configure? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ** Get your free E-Mail account at WWW.DIGITELONE.COM ** ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
My sound card can't work
Hi! I have installed FreeBSD 5.1 release+KDE 3.1,my sound card is Creative SB Vibra 128,I haved added device pcm to kernel and rebuided it,but when I reboot my computer,the system can't initilize my card,I typedmesg|grep pcm without output,when I start kde, the system noticed me that no /dev/dsp found(no such file),what can I do? Sorry my poor English!Thanks! __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vinum Offset for Swap: 265 or 281?
So, my understanding of the bsdlabel process seemed correct: 1) modify swap partition size to be 281 less than what sysinstall created the partition as 2) have the swap offset at 281 instead of 0 3) add vinum partition set to the size of c minus 16 4) have vinum partition offset at 16 I might have misunderstood the vinum subdisks settings in the vinum configuration file though. I thought the process was: 1) Each vinum subdisks uses the size of the partition it will be taking over from 2) The subdisk offset is = (partition offset - 16) Should the subdisk offset be equal to the partition offset? Again, this is in respect to FreeBSD 5.1 RELEASE with mirrored vinum boot disks. Are there known major bugs related to the 5.1 RELEASE as well? Thanks for your help, Richard Greg 'groggy' Lehey wrote: On Sunday, 19 October 2003 at 0:42:38 -0700, [EMAIL PROTECTED] wrote: Hi, Sanity check whether the mirrored vinum root drive is setup correctly. Going to setup two more machines the same way, so wanted to make sure the reference machine was setup correctly. Was surprised to see that the vinum dumpconfig shows the offset for the swap partition to be 265. Remember vaguely that it was supposed to be 281. Do I have a misconfigured machine? The bsdlabel reports the offset to be 281. The vinum.conf used driveoffset of 265s for swap - would think it should have been 281s. The machine works, but have had a couple of unexplained reboots. The mirrored drives are ad4s1 and ad8s1. Vinum uses the first 265 sectors on a drive for configuration information. That has never changed. It leaves the first 7 sectors free for other stuff and puts the Vinum label in sector 8. Unfortunately, this isn't compatible with bootstraps, which use sectors 1 to 16. The result is that if you put a Vinum drive exactly at the beginning of a bootable disk, you will overwrite the bootstrap. Thus the recommendation to put the drive at offset 16, so that nothing will get clobbered. This means that the first subdisk in the drive will be at offset 281 from the beginning of the disk. The offset of the first subdisk in the drive remains the same at 265. That's what you have on your system: b: 4194023 281 swap h: 398283401 16 vinum If you're having reboots (I suppose you mean panics or spontaneous resets), it's almost certainly not because of the disk layout. Follow the instructions and we can probably find out what it is. Note that Vinum seems to be tickling bugs in -CURRENT ata code at the moment. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD files' heads
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, all. I've got a question (easier -- ``interesting in'') -- why all FreeBSD files' heads starts with this: # $FreeBSD: src/etc/shells,v 1.3.2.1 2000/07/10 08:47:17 obrien Exp $ - - Why there are buks (am I pronounce right ? :-) ``$'' -- on the start end of this string? - - And what do mean ``Exp'' at the end? 10x alot,... - -- CBuH. CG[CX] XVyGYjau [EMAIL PROTECTED], ICQ#70929413 GnuPG(PGP) public key is: http://ccclike.chat.ru/my_public_key.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/lZ1A5Cj3gqxcdCoRAsZAAJ40k67CQapGju+ePSgNbje8nVogcgCfdPlT lk3D5fOh9qZU6k1SfMsQVds= =bJuj -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with ordinary user permissions
On Wed, 22 Oct 2003 10:37 am, Nicole wrote: An example of how spliting BSD into BSD server and BSD desktop could be a benefit. Hrmmm. /stand/sysinstall /stand/desktopinstall Jacob RhodenPhone: +61 3 8344 4478 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Regarding spam
Hi All, I run my own mailsever, and I just wanna know its possible for someone to send an email to my mail box, but yet have no one specified in the TO or CC fields. I guess those fields are probably optional, but how can I adjust my mailserver to reject messages sent to someones mailbox without their name being in the TO or CC fields? P.S. My mailserver is a CLOSED relay. Thanks, -Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
toshiba satellite (small screen)
Sorry, My LCD appears in 640x480, and I can't change it. Can somebody help me? Thanks in advance, Vitor. %uname -a FreeBSD sanjuro 4.7-RELEASE FreeBSD 4.7-RELEASE #8: Tue Oct 21 22:19:49 BRST 2003 [EMAIL PROTECTED]:/usr/src/sys/compile/SANJURO i386 %X -version XFree86 Version 4.2.1 / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 3 September 2002 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/) Build Operating System: FreeBSD 5.0-CURRENT i386 [ELF] Module Loader present ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade problems, please help
On Tuesday 21 October 2003 05:48 pm, ivan georgiev wrote: I use 5_1_RELEASE. I do not know what happened but now I get: -su-2.05b# portupgrade -arR /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:325:in `deorigin': failed to convert nil into String (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:918:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:931:in `sort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:935:in `sort_build!' from /usr/local/sbin/portupgrade:674:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1846 Can someone tell how to fix it. I tried pkgdb -uf but it doesn't help. You may try to remove /var/db/pkg/pkgdb.db and pkgdb -u again. Thanks, but it didn't cure it :( I would force upgrade portupgrade before you do anything using portupgrade -Rf portupgrade. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade problems, please help
On Tuesday 21 October 2003 09:02 pm, Kent Stewart wrote: On Tuesday 21 October 2003 05:48 pm, ivan georgiev wrote: I use 5_1_RELEASE. I do not know what happened but now I get: -su-2.05b# portupgrade -arR /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:325:in `deorigin': failed to convert nil into String (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:918:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:931:in `sort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:935:in `sort_build!' from /usr/local/sbin/portupgrade:674:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1846 Can someone tell how to fix it. I tried pkgdb -uf but it doesn't help. You may try to remove /var/db/pkg/pkgdb.db and pkgdb -u again. Thanks, but it didn't cure it :( I would force upgrade portupgrade before you do anything using portupgrade -Rf portupgrade. /usr/local/sbin/pkgdb -fuF /usr/local/sbin/portupgrade -arR -- Best regards, Chris __ PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363 PGP Mail encouraged / preferred - keys available on common key servers __ 01010010011101100011011001010111001001011000 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Regarding spam
Hi Jason, On Tue, 21 Oct 2003 06:44:13 -0700 GMT (10/21/2003, 8:44 AM +0500 GMT my time), jason dictos wrote: jI run my own mailsever, and I just wanna know its possible for someone to j send an email to my mail box, but yet have no one specified in the TO or CC j fields. I guess those fields are probably optional, but how can I adjust my j mailserver to reject messages sent to someones mailbox without their name j being in the TO or CC fields? If it isn't too much trouble, would you mind specifying just the basics, like what MTA you are using? A null sender is authorized by the RFCs and this is for bounces. We need a lot more info. Do you run / use DNS, do you have a backup MX, etc.. j P.S. My mailserver is a CLOSED relay. As it should be, and how do you know? -- Gary A snooze button is a poor substitute for no alarm clock at all. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: restoring DOS partition from a tar file
On Mon, 20 Oct 2003, Kent Hauser wrote: Is it possible to backup a DOS partition (bootable) restore it from a tar file? I recently had a disk failure used dump/restore on FreeBSD partitions made a tar dump of the DOS one. After newfs_msdos tar x, the partition is not bootable. Is there a way to do this? This is actually a really interesting issue. The short answer to this question is, no. The long answer is, I don't really know. Maybe. There are two problems: (Warning: it has been a very very long time since I looked into this. My memory could easily be faulty.) 1) There are two very special files that have to be contiguos and at fixed locations in the file system: the msdos kernel and something else. The something else might have a name similar to io.sys. These are hidden system files. To see them from MSDOS you have to specify a special DIR command option. Normally these files are installed by specifying a special option with the MSDOS FORMAT command or by using a special MSDOS command (possibly the SYS command) that installs a copy of the basic OS from the currently running MSDOS system. There may also be an issue involving the MSDOS command interpreter program (which may be COMMAND.COM or some such thing). 2) MSDOS files may have special attributes that don't map in any obvious way to traditional unix file mode bits. These attributes tend to get lost when you read an MSDOS file system on unix or store MSDOS files in a unix style file archive (e.g. tar, cpio, ...). Fortunately, most MSDOS files don't have any essential special attributes. It might be possible to restore an MSDOS partition from a tar file and then fix it up (make it bootable) with the SYS command when running off an MSDOS floppy. I make backups of my MS OS partitions by making raw copies in unix files. (e.g. dd if=/dev/ad0s1 of=/wherever/msos_backup bs=128k) You can extract individual files from these backups by mounting pseudo disk devices configured with the vnconfig program on FreeBSD 4.x (or perhaps the mdconfig on FreeBSD 5.x). Dan Strick [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gaim and MSN
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? 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]
Re: Regarding spam
Hey Gary, Before you or anyone else on this lists continues to waste time with a n00b like me, I'm going to first educate myself by reading /usr/share/sendmail/cf/README (paying special attention to ANTI-SPAM CONFIGURATION) :P Thanks! -Jason On Tuesday 21 October 2003 19:10, Gary wrote: Hi Jason, On Tue, 21 Oct 2003 06:44:13 -0700 GMT (10/21/2003, 8:44 AM +0500 GMT my time), jason dictos wrote: jI run my own mailsever, and I just wanna know its possible for someone to j send an email to my mail box, but yet have no one specified in the TO or CC j fields. I guess those fields are probably optional, but how can I adjust my j mailserver to reject messages sent to someones mailbox without their name j being in the TO or CC fields? If it isn't too much trouble, would you mind specifying just the basics, like what MTA you are using? A null sender is authorized by the RFCs and this is for bounces. We need a lot more info. Do you run / use DNS, do you have a backup MX, etc.. j P.S. My mailserver is a CLOSED relay. As it should be, and how do you know? -- Gary A snooze button is a poor substitute for no alarm clock at all. ___ [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: portupgrade problems, please help
I use 5_1_RELEASE. I do not know what happened but now I get: -su-2.05b# portupgrade -arR /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:325:in `deorigin': failed to convert nil into String (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:918:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:931:in `sort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:935:in `sort_build!' from /usr/local/sbin/portupgrade:674:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1846 Can someone tell how to fix it. I tried pkgdb -uf but it doesn't help. You may try to remove /var/db/pkg/pkgdb.db and pkgdb -u again. Thanks, but it didn't cure it :( I would force upgrade portupgrade before you do anything using portupgrade -Rf portupgrade. /usr/local/sbin/pkgdb -fuF /usr/local/sbin/portupgrade -arR Thanks for the input, portupgrade -Rf portupgrade. did not help. As well as /usr/local/sbin/pkgdb -fuF Still :( ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD files' heads
These are RCS tags used to identify the revision of the file in question, along with who commited the change and when. RCS is used by the FreeBSD community (in the form of CVS) to manage changes to the source code, and RCS in turn uses '$' to surround special identifiers that get expanded when the file is checked out or exported from the repository. The 'Exp' on the end is an RCS state value which denotes 'Experimental', however this can be ignored as it is not used. You can also use the 'ident' command to extract these strings from a binary file to determine which version of the source code it was compiled from. Seeya...Q On Wed, 2003-10-22 at 06:55, CBuH. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, all. I've got a question (easier -- ``interesting in'') -- why all FreeBSD files' heads starts with this: # $FreeBSD: src/etc/shells,v 1.3.2.1 2000/07/10 08:47:17 obrien Exp $ - - Why there are buks (am I pronounce right ? :-) ``$'' -- on the start end of this string? - - And what do mean ``Exp'' at the end? 10x alot,... - -- CBuH. CG[CX] XVyGYjau [EMAIL PROTECTED], ICQ#70929413 GnuPG(PGP) public key is: http://ccclike.chat.ru/my_public_key.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/lZ1A5Cj3gqxcdCoRAsZAAJ40k67CQapGju+ePSgNbje8nVogcgCfdPlT lk3D5fOh9qZU6k1SfMsQVds= =bJuj -END PGP SIGNATURE- ___ [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: Regarding spam
yes they can send using the BCC field. or put your email in a mailing-list or use mail forwarding and other sort of stuff :) You can try using Spamassassin. if you are using postfix you can try this. :) http://ezine.daemonnews.org/200309/postfix-spamassassin.html hope this helps... - Gil Agno Virtucio Janitor/Collector/Messenger NEC System Integration and Construction Philippines Inc. 15th Floor BPI Buendia Center.__ ___ ___ . Gil Puyat Ave. Makati City 1200 / _/|__|/ | \|| Cellphone : +639163989695 / \ ___| /~\| Office Phone: +6328914167 \\_\ \ \Y/|___ \__ /__|\___|_ /|___ \ \/ \/ \/ - -Original Message- From: jason dictos [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 9:44 PM To: [EMAIL PROTECTED] Subject: Regarding spam Hi All, I run my own mailsever, and I just wanna know its possible for someone to send an email to my mail box, but yet have no one specified in the TO or CC fields. I guess those fields are probably optional, but how can I adjust my mailserver to reject messages sent to someones mailbox without their name being in the TO or CC fields? P.S. My mailserver is a CLOSED relay. Thanks, -Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ** Get your free E-Mail account at WWW.DIGITELONE.COM ** ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question for portupgrade
- Original Message - From: Lowell Gilbert [EMAIL PROTECTED] To: Michael Lee(HINET) [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 9:03 PM Subject: Re: question for portupgrade Michael Lee(HINET) [EMAIL PROTECTED] writes: Hi, After cvsupping the port tree ( originally installed by FreeBSD 5.1 Release CD ), I tried to do a portupgrade -acCv last night. Everything seems to be upgraded fine except for Apache. The originally installed apache is apache-1.3.27_4. The portupgrade attempts to upgrade it from apache-1.3.27_4 to apache-1.3.28. Should I command portupgrade -f apache to force it update to the new version ? Or will it be better for me to first uninstall apache then do portupgrade -N apache ? Since I also installed mod_fastcgi, mod_php4, mod_gzip, and phpMyAdmin previously, I think these packages depends on apache. Any suggestion ? Thanks! Here is the error message I got. Stop in /usr/ports/www/apache13. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade5405.2 make WITH_APACHE_SUEXEC=yes reinstall egrep: /var/db/pkg/apache-1.3.27_4/+CONTENTS: No such file or directory --- Restoring the old version ** Fix the installation problem and try again. [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 78 packages found (-0 +1) . done] --- Skipping 'www/mod_fastcgi' (mod_fastcgi-2.2.12) because 'www/apache13' (apache-1.3.27_4) failed --- Skipping 'www/mod_php4' (mod_php4-4.3.1,1) because 'www/apache13' (apache-1.3.27_4) failed --- Skipping 'www/mod_gzip' (mod_gzip-1.3.26.1a) because 'www/apache13' (apache-1.3.27_4) failed --- Skipping 'databases/phpmyadmin' (phpMyAdmin-2.3.2) because 'www/mod_php4' (mod_php4-4.3.1,1) failed ** The following packages were not installed or upgraded (*:skipped / !:failed) ! www/apache13 (apache-1.3.27_4)(install error) * www/mod_fastcgi (mod_fastcgi-2.2.12) * www/mod_php4 (mod_php4-4.3.1,1) * www/mod_gzip (mod_gzip-1.3.26.1a) * databases/phpmyadmin (phpMyAdmin-2.3.2) Your package-database entry for Apache is corrupt. Either of your suggestions ('portupgrade -f' or deleting and rebuilding) should work, but I would tend to do it by hand to keep a closer eye on it (in case something else goes wrong, primarily). Your choice. Thanks for your suggestion. I finally did pkg_delete apache, mod_fastcgi, mod_php4, mod_gzip, and phpmyadmin and reinstall them all from the begining. I don't know why the package database was corrupt if I follow the normal way to portupgrade them. It could be quite annoying if there are a lot of packages depends on a single corrupted package. (since I have to first deinstall them and reinstall them. Just take a lot of time. ) Michael Lee ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Regarding spam
[EMAIL PROTECTED] writes: You can try using Spamassassin. if you are using postfix you can try this. :) http://ezine.daemonnews.org/200309/postfix-spamassassin.html SpamAssassin also works with Sendmail; see the mail/spamass-milter port for more information. Robert Huff (satisfied customer) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A couple of ATI video questions
Hi, I have a radeon 8500 , and I have DRI working. Can you paste a copy of your XF86Config in, as well as the log? and dmesg while your at it. I moght be able to help. Thanks David Hi again. I've got a few more questions, this time about ATI Mach64/Rage video support. Under Linux (until the 2.4.22 kernel's ServerWorks fix broke mtrr support on my machine), I was able to get xv and DRI support on my system (ATI 3D Rage IIc), over a number of versions of XF86 (previously with the gatos ati.2 drivers, but those are now part of the core XF86 distribution). Under FreeBSD-5.1, using XFree86-Server-4.3.0_11 from the ports collection, I'm not getting either. I checked the XF86Config file, and everything's fine there. Looking at xfree86.0.log, the dri module and the ati module are both getting loaded, and there are no gross write-combining errors like I've seen recently in linux. But when I run (e.g.) glxgears, I get: Xlib: extension XFree86-DRI missing on display :0.0. Similarly, xvinfo finds X-Video extension 2.2, but finds no xv-compatible adaptors present. And I have no idea how to track down why this is happening. (For example, unlike linux 2.4.22, write-combining works under FreeBSD 5.1.) I'm having problems with xvidix, as well. In particular, when I try to use xvidix output from mplayer, it completely hangs my system. Under linux, xvidix works fine (other than spraying some visual noise over other windows if I don't run full-screen). I can't find much documentation on xvidix anywhere (just a single rambling file in the mplayer distribution, duplicated on the mplayer website). I'm also having svgalib problems. I can't get it to accept anything better than the 1024x768x64K setting. It recognizes a Mach 64/Rage card and loads the newer driver, just as in linux, but it rejects all higher modelines. In svgalib under linux (and in X in both OS's), I can use 1600x1200x64K (and even higher resolutions). I haven't dug into the code too deep yet. Also, once you've grabbed a new vt in svgalib, stdout and stderr both goes to that vt, so there's no way to log errors, etc. And once the program has completed and you've switched back to your original console (or X) there's no way to get back to the dead vt to see what was left there. Also, if an svgalib program locks up while it's got virtual console switching locked, there seems to be no way to recover other than to ssh into the machine from outside and kill [-9] the program. Usually, this works, although in one case, it apparently froze up the machine completely (no response from the keyboard--even the lock-leds went dead--or over the network), and I had to hard-reset. Most of that last question probably has nothing to do with svgalib, but with differences between linux's and BSD's vt's Under linux, I could forcibly switch vt's, kill everything running on the console, or even kill the vt (I might have to type blind for a few seconds, but I could get things fixed). If I ssh'd in, I could use chvt to bring up a usable console to fix things remotely. Does FreeBSD have equivalents to any of this functionality? Anyway, again, any help, or pointers to where to get help, would be appreciated. ___ [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: FreeBSD 4.8 v/s 5.1
mkisofs --- for creating iso's burncd --- for ATAPI CDRW cdrecord --- for SCSI CDRW, and SCSI emulation of ATAPI CDRW -- With Best Regards, Shantanoo Mahajan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xlock + xautolock question
I've read through the man page for xlockmore and xautolock and cant figure out (must be over looking it or something) but can't figure out how to setup a .rc file for the two and how to setup xlockmore to interact with xautolock.. So any help would be apprecited even if its from the man page it's self. i dont mind to read. Must be over looking it or something. pgp0.pgp Description: PGP signature
Re: My sound card can't work
Tried this $su password: #cd /dev #sh MAKEDEV snd0 reboot. I know FreeBSD 5.x is suppose to add those devices in automatically but I had the same problem in FreeBSD 5.1 when i used it.. HTH On Wed, 22 Oct 2003 08:54:19 +0800 (CST) stevens root [EMAIL PROTECTED] wrote: Hi! I have installed FreeBSD 5.1 release+KDE 3.1,my sound card is Creative SB Vibra 128,I haved added device pcm to kernel and rebuided it,but when I reboot my computer,the system can't initilize my card,I typedmesg|grep pcm without output,when I start kde, the system noticed me that no /dev/dsp found(no such file),what can I do? Sorry my poor English!Thanks! __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: PGP signature
Re: mplayer + sound problem
I've already fixed the problem. Thanks anyways. On 21 Oct 2003 09:05:08 -0400 Lowell Gilbert [EMAIL PROTECTED] wrote: please. top-post, Don't Bryan Cassidy [EMAIL PROTECTED] writes: I had a big problem yesterday with the PC. Don't want to get into that but I had to reinstall.. Now that I did a reinstall I can play the video in mplayer but no sound. For example I am tryin to play the new IBM/Linux commercial located here http://rxns-rbn-sea02.rbn.com/ibmpdc/pdc/open/qtdemand/aug03/prodigy90_med.mpg The vid plays fine but no sound at all this time.. Do you have sound functionality at all? Did you remember to load it into your kernel (either in the kernel itself or by loading the kernel module)? Can you do a simple audio test from the command line? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: PGP signature
Re: pppoe for 5.1 doesn't work IAW handbook or rc.conf options
I found this website in my quest to get my DSL modem working...I found it very informative. It doesn't mention anything about DHCP but it works extremely well with mine(mine uses DHCP too...go figure) Good luck!!! http://renaud.waldura.com/doc/freebsd/pppoe/ DonW --- John Estess [EMAIL PROTECTED] wrote: The title just about says it all. The handbook, rc.conf, and the ppp man page don't jive and no single one them works. This is really annoying because I had this working with DSL some time ago, but I can't get it going with my cable modem (Redhat and XP worked). Could someone please post the REAL ppp and pppoe options needed in rc.conf and post the ppp.conf file you are using? Please? I guess I should mention that I need my IP address determined by DHCP, which I thought was handled by enable dns. Am I wrong? And yes, I know my ethernet card works - dc0. I'll even send a diff for the handbook if you send me something that works. Thank you very, very much. If possible, send a cc to jhestess at yahoo.obvious Take care. __ 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: portupgrade problems, please help
On Tuesday 21 October 2003 07:50 pm, ivan georgiev wrote: I use 5_1_RELEASE. I do not know what happened but now I get: -su-2.05b# portupgrade -arR /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:325:in `deorigin': failed to convert nil into String (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:918:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:931:in `sort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:935:in `sort_build!' from /usr/local/sbin/portupgrade:674:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1846 Can someone tell how to fix it. I tried pkgdb -uf but it doesn't help. You may try to remove /var/db/pkg/pkgdb.db and pkgdb -u again. Thanks, but it didn't cure it :( I would force upgrade portupgrade before you do anything using portupgrade -Rf portupgrade. /usr/local/sbin/pkgdb -fuF /usr/local/sbin/portupgrade -arR Thanks for the input, portupgrade -Rf portupgrade. did not help. As well as /usr/local/sbin/pkgdb -fuF Still :( What versions of ruby do you have installed? I can remember back a few versions, that uninstalling portupgrade and ruby and then making and installing portupgrade was faster than fighting the problems with ruby. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vinum Offset for Swap: 265 or 281?
On Tuesday, 21 October 2003 at 18:16:05 -0700, [EMAIL PROTECTED] wrote: Greg 'groggy' Lehey wrote: On Sunday, 19 October 2003 at 0:42:38 -0700, [EMAIL PROTECTED] wrote: Sanity check whether the mirrored vinum root drive is setup correctly. Going to setup two more machines the same way, so wanted to make sure the reference machine was setup correctly. Was surprised to see that the vinum dumpconfig shows the offset for the swap partition to be 265. Remember vaguely that it was supposed to be 281. Do I have a misconfigured machine? The bsdlabel reports the offset to be 281. The vinum.conf used driveoffset of 265s for swap - would think it should have been 281s. The machine works, but have had a couple of unexplained reboots. The mirrored drives are ad4s1 and ad8s1. Vinum uses the first 265 sectors on a drive for configuration information. That has never changed. It leaves the first 7 sectors free for other stuff and puts the Vinum label in sector 8. Unfortunately, this isn't compatible with bootstraps, which use sectors 1 to 16. The result is that if you put a Vinum drive exactly at the beginning of a bootable disk, you will overwrite the bootstrap. Thus the recommendation to put the drive at offset 16, so that nothing will get clobbered. This means that the first subdisk in the drive will be at offset 281 from the beginning of the disk. The offset of the first subdisk in the drive remains the same at 265. That's what you have on your system: b: 4194023 281 swap h: 398283401 16 vinum So, my understanding of the bsdlabel process seemed correct: 1) modify swap partition size to be 281 less than what sysinstall created the partition as 2) have the swap offset at 281 instead of 0 3) add vinum partition set to the size of c minus 16 4) have vinum partition offset at 16 Yes, that's about it, making a lot of assumptions which you don't mention here. For the full story, see http://www.vinumvm.org/cfbsd/vinum.pdf. I might have misunderstood the vinum subdisks settings in the vinum configuration file though. I thought the process was: 1) Each vinum subdisks uses the size of the partition it will be taking over from No, you're confusing it with drives. You shouldn't have more than one drive per spindle. 2) The subdisk offset is = (partition offset - 16) No. Should the subdisk offset be equal to the partition offset? It depends on where you're measuring from. Physically, you're just trying to get to the same sectors from different mappings. Take a look at the link above and tell me if anything is unclear. Again, this is in respect to FreeBSD 5.1 RELEASE with mirrored vinum boot disks. This is not release dependent. Are there known major bugs related to the 5.1 RELEASE as well? Not to me. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature