Re: CVSup question
On Tue, Jan 30, 2007 at 10:20:03AM -0800, Charlie McElfresh wrote: After the update finished, I noticed that some of my ports that were there before, notably php5-cgi, were no longer there. Check out Freshports: http://www.freshports.org/commits.php This gives you an overview of recently changed ports. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpkrsiGoO8SE.pgp Description: PGP signature
Re: [Fwd: Looking to upgrade my hardware and run 6.2-RELEASE]
On Sun, Jan 28, 2007 at 09:56:22PM -0500, Glenn Sieb wrote: I said... Since I tend to build my own boxes, I'd like to make sure my choice of CPU/MB is good fro FBSD before I buy :-) I'm looking at an AMD X2 64 5400 and an Abit AN9 32X. The AN9 has: NVIDIA nForce SPP 190/nForce 590 SLI MCP Dual NV Gigabit LAN The nve(4) driver supports the following chipsets: o nForce o nForce2 o nForce3 o nForce4 It doesn't look like nForce5 is supported yet. 6x SATA 3gb/s ports with RAID 0/1/0+1/5 JBOD support (plus 2x SATA ports non-RAID) The ata(4) driver supports the following chipsets: nVidia: nForce, nForce2, nForce2 MCP, nForce3, nForce3 MCP, nForce3 Pro, nForce4. No nForce5 here either. I know that NVIDIA chipsets (at least used to) require separate downloads of the chipset drivers. Is this still the case? According to nve(4): This driver is a reimplementation of the NVIDIA supported Linux nvnet driver and uses the same closed source API library to access the underly- ing hardware. There is currently no programming documentation available for this device, and therefore little is known about the internal archi- tecture of the MAC engine itself. I've been using Abit MBs for years now, but I'm not necessarily tied to them, if there are better suggestions from the list. Looks like you'd better stick with a KN9 (nForce4) for now. Asus has the M2V-MX with VIA chipset that looks OK. Not sure about the Realtek RTL8100C ethernet chip though. Same goes for the MSI K9VGM-V. It has a RTL8201 ethernet chip. I've never had trouble with MSI mobos with VIA chipsets. They might not be the fastest, but generally everything works. AMD chipsets are fine as well. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpChQ8Le87Sw.pgp Description: PGP signature
Re: conflict between gimp-print and gutenprint
On Sun, Jan 28, 2007 at 11:44:38PM -0800, David Benfell wrote: Hello all, I am running FreeBSD 6.2 with CUPS and a printer--specifically an HP Color LaserJet 5500-DN--that only seems to want to print with the Gutenprint port installed. Even with the Gutenprint port installed, I had to copy the PPD file over from a Linux laptop to get color working. You have to install the PPD file into CUPS. This can be done via administration/Add Printer or Printers/Modify Printer. I used the lpadmin app to add the ppd file: /usr/local/sbin/lpadmin -E -p clj2550 -v parallel:/dev/lpt0 -P clj2550.ppd Then I decided to install the Gimp. The Gimp entails gimp-print which conflicts with Gutenprint. So I uninstalled Gutenprint. And now I can't get anything to print. In the GIMP, set up the printer as PostScript level 2, and also provide the PPD file. Works fine with my 2550L. HTH, Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpWNnZVIK6K9.pgp Description: PGP signature
Re: via dri ?
On Mon, Jan 29, 2007 at 01:04:43PM +0500, [EMAIL PROTECTED] wrote: Has anybody VIA CLE266 integrated video card? If any - have you set up direct rendering with it? It should be possible to get it working, but you might need to tweak Xorg: http://www.altlinux.com/index.php?module=sisyphuspackage=xorg-x11-drv-via Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpdBx0YSaoi1.pgp Description: PGP signature
Re: conflict between gimp-print and gutenprint
On Mon, Jan 29, 2007 at 11:57:40AM -0800, David Benfell wrote: On Mon, 29 Jan 2007 18:39:44 +0100, Roland Smith wrote: On Sun, Jan 28, 2007 at 11:44:38PM -0800, David Benfell wrote: Hello all, I am running FreeBSD 6.2 with CUPS and a printer--specifically an HP Color LaserJet 5500-DN--that only seems to want to print with the Gutenprint port installed. Even with the Gutenprint port installed, I had to copy the PPD file over from a Linux laptop to get color working. You have to install the PPD file into CUPS. This can be done via administration/Add Printer or Printers/Modify Printer. I used the lpadmin app to add the ppd file: /usr/local/sbin/lpadmin -E -p clj2550 -v parallel:/dev/lpt0 -P clj2550.ppd The -E option didn't work for me: earth# /usr/local/sbin/lpadmin -E -p home -v socket://192.168.18.20 -P /usr/local/share/cups/model/custom/hp_color_LaserJet_5500.ppd lpadmin: Unable to connect to server: Bad file descriptor Omitting it worked, but I had to go through a cycle of enabling the printer before it claimed it accepted a request to print a test page. The man page for lpadmin claims both that the -E option forces encryption to the server and enables the printer. Put the -E option after the -p option. But even after all this, the test page still didn't actually print. The printer just sits there blissfully unaware that it is supposed to be printing something. Have a look at the logfiles, especially /var/log/cups/error_log. After a new install I had problems because the device permissions weren't set correctly. I've documented this on my FreeBSD page: http://www.xs4all.nl/~rsmith/freebsd/index.html#parport Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpw22g9Y2yjF.pgp Description: PGP signature
Re: Sorta OT - Backup solutions Mac to FreeBSD
On Mon, Jan 29, 2007 at 12:45:45PM -0700, Kenny Dail wrote: I have been poking around the 'Net a bit looking for an easy to use backup solution for our Mac's (1 mini, 1 powerbook, more in the future). Basically there is a server, offsite (FBSD 6.2) with 2 RAID 5 arrays. I would like to be able to set the 2 (for now) clients to automatically, incrementally backup certain directories, nightly. Something encrypted would be nice aswell. I like Bacula (www.bacula.org) easier to set up than Amanda IMHO, and works with FreeBSD, MacOS X, Windows, and Linux. Full, Differential, and incremental backups, plus encryption. You could use rsyncx over ssh? Google for OS X rsync and you'll find several tutorials. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpjwrhpsFdor.pgp Description: PGP signature
Re: conflict between gimp-print and gutenprint
On Mon, Jan 29, 2007 at 01:16:44PM -0800, David Benfell wrote: snip Okay, it prints now. Inexplicably, the printer thought it was paused. (My cat must have done it.) Now to try this... In the GIMP, set up the printer as PostScript level 2, and also provide the PPD file. Okay, I did this, but CUPS never sees print jobs from the Gimp. How is one to debug something that fails silently? I'm not even getting a clue what's wrong here. In the printer setup dialog, you also have to specify the print command. I use lp -s -dclj2550 -oraw. You'll need to adapt that to the name of your printer. BTW, I've got the following variables set in /etc/make.conf, so that the base system will not override the cups binaries after the next buildworld: CUPS_OVERWRITE_BASE=true NO_LPR=true Next question: How to get OpenOffice to recognize all the printer attributes? Spadmin doesn't seem to want to deal with PPD files. Since I don't use openoffice, I can't help you here. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpiW7KUGzZ6E.pgp Description: PGP signature
Re: 6.2: upgrade, or just install and restore rc.conf?
On Mon, Jan 29, 2007 at 02:44:43PM -0700, Steve Franks wrote: Presuming you have a 1 or 2 user system, and haven't done alot of mods, is there any reason to upgrade to 6.2 as opposed to just install it? Of the maybe 10 files I've modified, I have backed them up elsewhere, and it's fresh in my mind still. The only issues I can think of are (1) users/groups (of which I again have a whopping 2), and I would rather use csup to update the sources and do a build/install cycle. That way you get to run mergemaster, which shows you all the changes in the configuration files, and gives you the choice to apply them or not. (2) installed packages - this could be a problem, as I have no idea how we (the os) know what's installed, and that info may or may not be deleted on a new install. If you haven't kept your ports/packages up-to-date, it might be beneficial to make a list of all installed ports, delete all ports and build/pkg_add them all again, so that you get the latest versions. (3) sysinstall/label doesn't seem happy about putting things on an existing slice(s) - when I fubared my 6.1 install it complained about insufficient space until I deleted all slices on the disk. Using csup and build/install kernel/world doesn't have this problem either. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpYYsFSTiRuS.pgp Description: PGP signature
Re: 6.1-STABLE spontaneously reboots!
On Tue, Sep 05, 2006 at 10:55:04AM -0400, [EMAIL PROTECTED] wrote: This server was in production and rock steady with 4.10-STABLE for years. Before moving it to a colo center, I took it offline and did a clean install of 6.1, cvsup'd to STABLE on 8/30/06 and then installed the latest stable versions of all the applications and mods. It's now back in production and for no cause that I can find, it reboots itself roughly twice a day. Nothing in the syslog or console log, it looks basically like a power event...system comes back up with uncleanly dismounted file systems. However, it is on very clean power, has dual power supplies and none of the other boxes on that circuit has any pwer problems. It sounds like hardware trouble to me. I had a box go buggy on me after it had been running for a long time. After I powered it on again it became unstable. I suspect some part in the powersupply or on the mobo got fried. But there are some things you could check. Get syslog to log to another machine. That way you can check at which time the reboots happen. If they are regular, there might be a connection to running programs, cron jobs etc. On boot, I had noticed some complaints about ACPI, but I even tried disabling it, but it still did this several hours later. The ONLY hardware change I'd made was to remove a SCSI passthrough cable that enabled the on-board SCSI (it's an L440GX+) to be used with an external tape drive. Check all internal connections; cables, and PCI cards if any. Check if the RAM is properly seated. Maybe run a RAM test. Check the board for bad capacitators. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpR5MOHht3cr.pgp Description: PGP signature
Re: this AMD motherboard?
On Wed, Dec 14, 2005 at 06:16:41PM -0800, Gary Kline wrote: Can anyone tell if the graphics chips on this card will work with X? snip http://www.ecs.com.tw/ECSWeb/Products/ProductsDetail.aspx?DetailID=422MenuID=24LanID=9 Looks like it will work: http://www.winischhofer.at/linuxsispart1.shtml#12 Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpMvhDpykgCR.pgp Description: PGP signature
Re: this AMD motherboard?
On Thu, Dec 15, 2005 at 08:48:55AM -0800, Gary Kline wrote: On Thu, Dec 15, 2005 at 11:50:42AM +0100, Roland Smith wrote: On Wed, Dec 14, 2005 at 06:16:41PM -0800, Gary Kline wrote: Can anyone tell if the graphics chips on this card will work with X? snip http://www.ecs.com.tw/ECSWeb/Products/ProductsDetail.aspx?DetailID=422MenuID=24LanID=9 Looks like it will work: http://www.winischhofer.at/linuxsispart1.shtml#12 On the specs sheet URL I see Sis Real256E 2D/3D; I don't see the same designation on the winischhofer.at page. What am I missing? I quote from section 2: Finally, Real256, Ultra256 and Mirage are marketing names for the 3D engines of the 661, 741, 760 and 761. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpQ3WGUxQYoM.pgp Description: PGP signature
Re: run commands on boot/loading modules
On Thu, Dec 15, 2005 at 02:13:01PM -0700, TuxGirl wrote: Hi, There are 3 commands I was having to run each time that I started up my computer, and I'm trying to figure out the correct way to have them run automatically. kldload if_iwi iwicontrol -i iwi- -d /usr/local/share/iwi-firmware -m bss kldload snd_ich To load the modules, put the following in /boot/loader.conf if_iwi_load=YES snd_ich_load=YES So, I'm guessing that /etc/rc.conf isn't the right place to add these 3 lines. Yes. :-) Every rc script sources rc.conf, so your commands are all executed dozens of times. rc.conf is only for setting variables. I just want the commands to run once during the boot, and probably sometime near the end of boot so that I don't have to worry about them depending on something that's done earlier on (at least for the wireless stuff). If you have a single iwi device, it will be named iwi0, I think. From looking at /etc/rc.d/netif, you'll see that it executes a shell function ifscript_up for every interface. You can find ifscript_up in /etc/network.subr. Looking at it, you can see that you should create a script /etc/start_if.iwi0, with the iwicontrol command in it. HTH, Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpSryx9Qtj4f.pgp Description: PGP signature
Re: Off-Topic
On Tue, Dec 13, 2005 at 09:35:18PM +, Uncle Deejy-Pooh wrote: We've another contender for the 'Signature-of-the-Forum' award. This one spotted from Jayesh Jayan: The box said Requires Windows 95, NT, or better, so I installed Linux. Although I'm SURE it should read . FreeBSD ! But, still in No1 spot: Windows: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming or what? A few choicy ones: I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL Microsoft spel chekar vor sail, worgs grate! For a new monitor, nail here: [x] Unix was not designed to stop people from doing stupid things, because that would also stop them from doing clever things. -- Doug Gwyn Windows caters to everyone as though they are idiots. UNIX makes no such assumption. It assumes you know what you are doing, and presents the challenge of figuring it out for yourself if you don't. MCSE: Must Consult Someone Experienced The No. 1 remote administration tool for Windows NT is a car. The best way to accellerate a computer running Windows is at 9.81 m/s^2 Unix _is_ user-friendly. It's just a little picky about who it's friends are. When in doubt, use brute force -- Ken Thompson Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgppJtTjdzl1K.pgp Description: PGP signature
Re: devd.conf question
On Sat, Dec 10, 2005 at 04:01:03PM +0100, Wojciech Puchar wrote: snip attach 0 { device-name da[0-9]+; action /usr/sbin/chown root:umass $device-name;chmod 660 $device-name; }; after inserting USB DataTraveller this action isn't performed and i still needs to be root to access it. Such things are better handled in /etc/devfs.rules. Put the following ruleset in /etc/devfs.rules: [localrules=10] add path 'da*s*' mode 0660 group usb And activate the ruleset in /etc/rc.conf devfs_system_ruleset=localrules Of course, you can choose any ruleset label instead of localrules. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpXBOE3c7gHl.pgp Description: PGP signature
Re: how to track 6.0 increments ?
On Mon, Dec 05, 2005 at 01:20:06AM +0800, ke.han wrote: I have installed 6.0 and would like to follow important changes before something labeled 6.1 comes out. What is the prescribed method for this? I don't want to follow current or stable (I don't think). I just want security fixes and other changes that might be termed 6.01 if there were such a thing. Create a cvsup-file with *default release=cvs tag=RELENG_6_0 This will only give you important security fixes. If there are fixes, you can find them on the FreeBSD homepage, under SECURITY ADVISORIES. If a advisory has come out, use cvsup to update the sources, and rebuild your kernel and userland as documented at the end of /usr/src/UPDATING under the heading 'To rebuild everything and install it on the current system. Note; you have to be in /usr/src to build world+kernel. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpGpKO4AIEb4.pgp Description: PGP signature
Re: how to track 6.0 increments ?
On Mon, Dec 05, 2005 at 01:39:34AM +0800, ke.han wrote: Roland Smith wrote: On Mon, Dec 05, 2005 at 01:20:06AM +0800, ke.han wrote: I have installed 6.0 and would like to follow important changes before something labeled 6.1 comes out. What is the prescribed method for this? I don't want to follow current or stable (I don't think). I just want security fixes and other changes that might be termed 6.01 if there were such a thing. Create a cvsup-file with *default release=cvs tag=RELENG_6_0 thanks...so now that I have sync'd my source incorrectly by using stable-supfile and standard-supfile, can I get things back to where I want just by sync'ing again with the RELENG_6_0 tag ?? Yes. Be sure to make good backups before you rebuild world+kernel, in case you screw it up. This goes especially for the settings in the files in /etc and /usr/local/etc. I tend to keep a copy of the files in those directories in my home directory under revision control, with an install script. So I can easily install my changed configuration files. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpYcgcdOiCBM.pgp Description: PGP signature
Re: The question that wont die: What size partitions should I make?
On Sun, Dec 04, 2005 at 01:40:01PM -0500, wrangled wrote: I have dual-boot laptop, 30GB Fat32 Win2000 and 70GB FreeBSD 6.0-R. I plan to use this for normal home desktop use (not as a server). I have 512MB RAM. According to this page: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html I should use: / = 100MB /swap = 1GB /var = 50MB /usr = rest (68GB) Some apps make heavy use of /tmp. It's wise to have that on a separate slice. I want /usr to be as big as possible (obviously), so my primary user account will have as much space as possible in /use/home/account. I'd make /home into a separate slice. Easier for backups. You can easily reinstall ports, but if you loose your personal data... Should I use: / = 1GB /swap = 1GB /var = 5GB /usr = rest (63GB) Running 6.0-STABLE on my amd64 workstation with 260 ports installed, 'df -m' gives the following: Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/ar0s1a 49577 37917%/ /dev/ar0s1g123067 21700 9152119%/home /dev/ar0s1e 495 0 456 0%/tmp /dev/ar0s1f 19832 3601 1464320%/usr /dev/ar0s1d 196355 1751 3%/var So I'd say, give / 0.5 GB, /usr 5GB, /tmp .5 GB, /var 1.5 GB and give the rest to /home. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpENC99gDgeA.pgp Description: PGP signature
Re: newbie
On Thu, Dec 01, 2005 at 03:54:46PM -0600, Douglass, Erik wrote: After being an Windows/Cisco IT professional for the past 7 years, I have decided to make the plunge over to FreeBSD on my own time. I have it installed, and it is quite overwhelming. If anyone has any recommendations/tips or books for acquainting one's self with FreeBSD with no *nix experience I would greatly appreciate them. It's easiest to start with the stuff that comes with it: the FreeBSD Handbook. It should be installed in /usr/share/doc/en_US.ISO8859-1/books/handbook/ For a beginner, I would especially reccommend chapters 3, 11 and 13. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpw05RHNjniV.pgp Description: PGP signature
Re: pf blocking nfs
On Wed, Nov 30, 2005 at 06:52:25AM -0600, Will Maier wrote: On Tue, Nov 29, 2005 at 09:56:59PM -0600, Aaron P. Martinez wrote: Aaron P. Martinez wrote: [...] I realize i could just accept all udp packets from the NFS server or even just ports 2049, but the underlying question is, why isn't my keep state rule handling this. I don't use pf (or NFS), but UDP is a stateless protocol. I wouldn't be surprised if pf couldn't keep track of its state... It is supposed to work, except for FTP. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpqrdTn87PMP.pgp Description: PGP signature
Re: pf blocking nfs
On Wed, Nov 30, 2005 at 05:42:30PM -0600, Aaron Martinez wrote: On Wednesday 30 November 2005 11:02, Roland Smith wrote: On Tue, Nov 29, 2005 at 08:58:48PM -0600, Aaron P. Martinez wrote: I am running FreeBSD 6.0-release and setting up a very basic firewall using pf on my workstation. The ruleset is as follows: block in log all pass quick on lo0 all #pass in on $ext_if proto tcp from any to $ext_if port 22 keep state pass out on fxp0 proto { tcp, udp, icmp } all keep state snip I can't tell why this isn't working. I know that udp is stateless, but i was inclined to believe that you could still use state tracking with pf. I'd really like to have the firewall in place when this machine is connected to the internet... Reading the pf manuals, it is supposed to work. Have you tried explicitly letting the required traffic through? pass out on fxp0 proto { tcp, udp } to $nfsserver port { sunrpc, nfsd-status, nfsd, lockd } keep state Where $nfsserver is the server's IP address. If that still doesn't work, try: pass out on fxp0 proto { tcp, udp } from any to $nfsserver port { sunrpc, nfsd-status, nfsd, lockd } pass in on fxp0 proto { tcp, udp } from $nfsserver to any port { sunrpc, nfsd-status, nfsd, lockd } Roland I thought for sure the last example here would solve the issue, but i'm still stumped. My current ruleset is as follows: block in log all pass quick on lo0 all #pass in on $ext_if proto tcp from any to $ext_if port 22 keep state pass out on fxp0 proto { tcp, udp, icmp } all keep state pass out on fxp0 proto { tcp, udp } to 192.168.3.94 port { sunrpc, nfsd, nfsd-status, lockd } keep state pass in on fxp0 proto { tcp, udp } from 192.168.3.94 port { sunrpc, nfsd, nfsd-status, lockd } keep state That didn't work so i tried: block in log all pass quick on lo0 all #pass in on $ext_if proto tcp from any to $ext_if port 22 keep state pass out on fxp0 proto { tcp, udp, icmp } all keep state pass out on fxp0 proto { tcp, udp } to 192.168.3.94 port { sunrpc, nfsd, nfsd-status, lockd } pass in on fxp0 proto { tcp, udp } from 192.168.3.94 port { sunrpc, nfsd, nfsd-status, lockd } I think this should be pass in on fxp0 proto { tcp, udp } from 192.168.3.94 to any port { sunrpc, nfsd, nfsd-status, lockd } You could also try: pass in on fxp0 proto { tcp, udp } from 192.168.3.94 to $workstation pass out on fxp0 proto { tcp, udp } from $workstation to 192.168.3.94 If that doesn't work, I don't know what will. which was even worse, with this setup i couldn't even switch to the /home directory. Still no go. I'm not sure if i have to reboot after changing the pf.conf ruleset, i have just been stopping pf with pfctl -d, flushing the rules with pfctl -F rules, loading the modified rules from /etc/pf.con with, pfctl -f /etc/pf.conf and then re-enabling pf with, pfctl -e. Hope someone can shed some light on this. Part of my whole reason for switcing to the BSDs was my interest in pf, but this not keeping state is really letting me down. I think the best way is to use '/etc/rc.d/pf reload'. I've said this before but i feel like it's worth mentioning again, even with the single line: pass out on fxp0 proto { tcp, udp, icmp } all keep state i can switch to the /usr/home directory and even go into any directory that doesn't have a lot of files/folders in it. I only seem to have problem with one home directory that is really loaded up. In your original post, there was something about a short packet. I'm guessing this might screw things up. You might try adding 'scrub in all' before the filtering rules. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpJqFztPKXSJ.pgp Description: PGP signature
Re: HOWTO write udf (on cd/dvd/hd wherever)
On Mon, Nov 28, 2005 at 09:46:50PM +0100, Wojciech Puchar wrote: I see mount_udf(8), and I see many mentions of dvd+rw-tools, and growisofs. tried to use mount_udf - no success. can't even mount dvd+rw that was treated with newfs_udf (which works) I couldn't find a newfs_udf on 6.0, although there is a userspace implementation called UDFclient: http://www.13thmonkey.org/udfclient/ As I understand it, UDF is an extension of ISO9660. An explanation of UDF can be found here: http://homepage.mac.com/wenguangwang/myhome/udf.html Dvd+rw-tools uses ISO9660, not UDF. Using dvd+rw-tools for burning backups on single-layer (4GB) disks works fine. You don't really need UDF for that. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpN0RX1msajA.pgp Description: PGP signature
Re: HOWTO write udf (on cd/dvd/hd wherever)
On Tue, Nov 29, 2005 at 12:48:24AM +0100, Wojciech Puchar wrote: On Mon, Nov 28, 2005 at 09:46:50PM +0100, Wojciech Puchar wrote: I see mount_udf(8), and I see many mentions of dvd+rw-tools, and growisofs. tried to use mount_udf - no success. can't even mount dvd+rw that was treated with newfs_udf (which works) I couldn't find a newfs_udf on 6.0, although there is a userspace implementation called UDFclient: http://www.13thmonkey.org/udfclient/ thats what i used. As I understand it, UDF is an extension of ISO9660. An explanation of no it is not an extension. See the wikipedia entry: http://en.wikipedia.org/wiki/Universal_Disk_Format It [UDF] is an implementation of the ISO/IEC 13346 standard (also known as ECMA-167), and an extension of ISO 9660. And (somewhat paraphrased): A variable-length 'packet-written' CD-R(W) can be closed to a ISO9660 format by writing just by writing a table of contents on the CD. UDF can be found here: http://homepage.mac.com/wenguangwang/myhome/udf.html Dvd+rw-tools uses ISO9660, not UDF. dvd+rw-tools do't use any filesystem! they just write to device. I beg to differ. Growisofs is a front-end for mkisofs, combined with a DVD recording program. See the growisofs manual page. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpL2VTS5xNwb.pgp Description: PGP signature
Re: make index make fetchindex
On Sun, Nov 27, 2005 at 10:11:08AM +0100, bsd wrote: Hello, I have a little script that I run twice a week that updates my ports automatically. I have quite often errors with the make index line because I have a refuse file to fasten the process of updating my server. My question is : can I safely replace the make index by the a make fetchindex ? Yes, as long as you have internet connectivity. What will be the main differences if I do so ? 'make index' builds the index locally, 'make fetchindex' gets the latest index from http://www.FreeBSD.org/ports/ What are the risks ? It will fail if www.FreeBSD.org is unavailable. Looking at the ftp servers, the index file isn't mirrored. And the index file might be slightly out of sync with the ports you cvsupped from a mirror. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgp5cChDQdQLt.pgp Description: PGP signature
Re: Very slow printing on 5.4 with cups anh HP LaserJet 4L
On Sun, Nov 27, 2005 at 10:18:49AM -0500, [EMAIL PROTECTED] wrote: how did you change the setting? My 932c used to print 3 or 4 lines per pass and now it does one line per pass I had the exact same problem, except with a Deskjet 932C. Someone on the list said man lptcontrol and set your printer to poll. I used this command: % lptcontrol -p -d /dev/lpt0 and it fixed my problem. where so you install the command? You should run this command as root from the command line. If you want to make it permanent, add the follwoing to /boot/device.hints: hint.ppc.0.flags=0x28 This puts the port in ECP mode (flag 0x08), and disables the IRQ (flab 0x20), thus enabling polling mode. If your chipset doesn't support ECP mode (unlikely for a reasonably modern one) use 0x20 instead of 0x28. The hint will take eddect on the next reboot. The lptcontrol command will take care of things until you reboot. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpOWWiRvcSbB.pgp Description: PGP signature
Re: are there some function in C to notify about the OS used?
On Sun, Nov 27, 2005 at 07:16:21PM +0100, Javier Matos wrote: I was programming an application to work with system process that can be found in /proc path and now I must to migrate my application to a linux OS but the structure of status file is different. I made two procedures to take information about status files, one for FreeBSD and another for Linux... , now I need some function in C to notify about the OS used to run the application to select between two procedures... but I can?t find it, can anyone help me? FILE *f = popen(uname, r); Read the name from the pipe f, and then pclose(f); -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpey3R5TXohd.pgp Description: PGP signature
Re: Some questions about ports system
On Sat, Nov 26, 2005 at 10:29:07AM +0100, Guillaume R. wrote: Hi At the end of a portsclean -LPPDDC I got this: ** Clean out /usr/local/lib/compat/pkg manually on occasions. ** Try using libchk(1) (sysutils/libchk) to find out unreferenced libraries. I'm asking thus some questions, the one is how could I clean manually the /usr/local/lib/compat/pkg directory The directory /usr/local/lib/compat/pkg is where portsclean puts old and orphaned libraries. If the libraries are no longer used, you can remove them. and the second is about the nature of libchk. I got no man page on this soft and it doesn't seem to be installed on my box. It's in the ports system. /usr/ports/sysutils/libchk Before running it I wish to know what is it? Could someone explain me what this software is and figure out is utility for a system? Read /usr/ports/sysutils/libchk/pkg-descr Finally I got a question about pkgdb, when I run it with the F options I often have questions to which I have to answer thx to yes or no. I never know what I must choose. I read the man page of pkgdb but it's not clear in my mind could someone explain me how this soft works? Basically, what it does when it finds a missing or outdated dependancy, is search for packages that have a name that looks like the dependancy it's looking for. It then asks you if you think it's guess is correct. Try 'pkgdb -aF' that will fix anything that can be fixed securely, and leaves the rest. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgp0QXkv5XFaM.pgp Description: PGP signature
Re: Yesterday's -STABLE kernel corrupts LAN
On Sat, Nov 26, 2005 at 06:38:07PM +0100, P.U.Kruppa wrote: Hi, I updated -STABLE yesterday and since my FreeBSD machine is set up as gateway my home network broke down completely. I rebooted into last weeks kernel and everything worked as usual. Has anyone else seen this or have I been unlucky with my download? There was a change to if_ether.c that messed things up, but it's fixed now. You should have either version 1.137.2.4 or 1.137.2.6 of if_ether.c Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpLGJaBUjFiP.pgp Description: PGP signature
Re: args to `make` within the ports tree
On Wed, Nov 23, 2005 at 10:50:19AM -0500, Mike Hernandez wrote: On Wed, Nov 23, 2005 at 06:35:13PM +0300, Odhiambo Washington wrote: There appears to be so many arguments to `make` when compiling applications fro the ports tree. What beats me is where they are documented ;) /etc/make.conf? Try /usr/ports/KNOBS for the most common ones, and the Makefile of each port for specific ones. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpKMad20E9Qn.pgp Description: PGP signature
Re: cannot erase cd-rw
On Sun, Nov 20, 2005 at 12:16:35PM -0600, Brian John wrote: For some reason, I can't erase cd-rws. I have tried K3b, cdrecord and burncd. Below is the output from cdrecord, can someone please help out? Well, I can confirm the issue. I have the same problem with 6.0-STABLE amd64. Additionally, burning DVD+RW (with dvd+rwtools) sometimes produces unmountable discs. Forcebly erasing the disks and retrying helps. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgp81HAH9DkDv.pgp Description: PGP signature
[OT] Re: Mach kernel and Unix over 68k : well before OS X
On Sat, Nov 19, 2005 at 07:29:41PM +0100, Gilbert Fernandes wrote: snip But Unix has been available for MacOS users for a long time, far before MacOS X went out and using a Mach kernel. It has been since 1996, over a Mach kernel. Apple had its own UNIX running on 68k hardware since 1998: A/UX. See http://en.wikipedia.org/wiki/A/UX Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpZDcBT0Rtaz.pgp Description: PGP signature
Re: Switching from AMD64 to IA32
On Fri, Nov 18, 2005 at 10:07:41AM -0500, Ian Lord wrote: Hi, I installed freebsd 6.0 AMD64 version. I'm starting to feel it aint a so good idea because some commercial vendors doesnt provide binairies for it... PDFLIb, zend optimizer, etc So I was wandering, in the worst case scenario where I would need to install the ia32 version of freebsd 6.0 is there an easy way to make buildworld (while specifying I need IA32 instead of AMD64) or is it a complete install from scratch ? This has been answered in detail already, see the list archives. Bottom line is, save yourself the hassle and reinstall. Also: when you do a make buildworld, does it recompile all ports on the systhem or just the os ? Buildworld only compiles the OS. The command 'portupgrade -af' will recompile all ports. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpHLOhoLibwV.pgp Description: PGP signature
Re: Creating bootable DOS floppy w/FreeBSD
On Wed, Nov 16, 2005 at 12:32:13PM -0600, Doug Poland wrote: Hello, I'm stuck... I need a bootable DOS floppy (for BIOS upgrade) to fix a broken Windows box. I have no problem formatting and putting an msdosfs on a floppy but it appears I cannot make it bootable with native tools. I've used FreeDOS [http://www.freedos.org/] to run utilities for flashing a motherboard bios. The technique I used was to build a FreeDOS bootable CD with the extra stuff I needed on it. That enabled me to run the utilities. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpSWxfKE4rhO.pgp Description: PGP signature
Re: USB Problems with Scanjet 3400c
On Tue, Nov 15, 2005 at 09:00:41PM +0100, Blue Raccoon wrote: Joe, Thanks for your tips. On Tuesday 15 November 2005 18:37, Joe Altman wrote: I suggest trying to put this after the niash in the dll.conf file: :/dev/uscanner0 I did, but it makes no difference. You should verify that /usr/local/etc/sane.d/dll.conf has the line niash in it. You cut put a line like usb /dev/uscanner0 in /usr/local/etc/sane.d/niash.conf You will also need to set up device bits, in /etc/devfs.conf: #Scanner permuscanner0 the perms you wish to have, like 0660 or 0666 Perms I wish to have? I'm afraid that means nothing to me. SANE communicates with the scanner by reading and writing from a special file in the /dev directory. Normally, only the root user has write access to these files. You need to set up /etc/devfs.rules (not /etc/devfs.conf) for hotpluggable devices like USB. The most simple solution would be to have the following in /etc/devfs.rules: [devrules=10] add path 'uscanner*' mode 0666 You'll also have to activate the ruleset 'devrules' by putting the following line in /etc/rc.conf: devfs_system_ruleset=devrules Iy that's done, you should either reboot the machine, or run the command '/etc/rc.d/devfs restart' as root (with the scanner unplugged). It that is done, and you plug in the scanner, a device file /dev/uscanner0 should appear that everybody can use. They have a patch (source code) that can alter the SANE source to become Scanjet3400c compatible. I may have to look into that, but I also found this in the patch documentation: before trying to make your scanner work, call: $ less /proc/bus/usb/devices if your scanning device is not listed by name, you probably have a 3400C or 4300C and difficulties with the kernel-usb. The forum will give you information, how to change the kernel code, to make your scanner work. My /proc/ is totally empty. This is about the /proc filesystem in Linux. Good point, since I have no /dev/uscanner* - but I have no MAKEDEV command either! And there are more lines I simply do not understand: Again, this is Linux specific. FreeBSD 5.x and 6.0 don't have a MAKEDEV command anymore, because they make device files automatically when a device is available. I come straight from Windows XP. Perhaps I bit off a bit more than I can chew... Can this be solved by a newbie? Try the things I have suggested above, plug in the scanner and run sane-find-scanner. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpUu3M8l9lW0.pgp Description: PGP signature
Re: Printer prints garbage
On Tue, Nov 15, 2005 at 09:15:50PM +0100, Ron wrote: 2005/11/15, James Bailie [EMAIL PROTECTED]: Ron wrote: I am using Cups(I forgot to mention this). I know nothing of CUPS. The manual is online however, at: http://www.cups.org/doc-1.1/sum.html#3_7 After a quick perusal, it appears one uses lpstat to get a job id, and then one invokes cancel [id] and then lprm [id] to cancel the job. I had this problem two months ago, and someone suggested to do lpstat the next time it happened, but lpstat didn't give any output. So, in short, the issue remains. Maybe someone else reads this sometime and post me the solution. If you run CUPS, you have to change settings so that CUPS overwrites the BSD LPR commands (they have the same name for compatibility). Add CUPS_OVERWRITE_BASE=true and NO_LPR=true to /etc/make.conf before installing CUPS. If that's done, you can give the command 'lprm -' as root to cancel all jobs. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpC6trF6XMr4.pgp Description: PGP signature
Re: aacPlus audio stream?
On Tue, Nov 15, 2005 at 01:16:16PM -0800, Gary Kline wrote: Does FBSD have any ports that can play the new gee-whiz aacPlus audio? It should work with faad2; /usr/ports/audio/faad. There are also xmms plugins that use faad, but they're not in ports, AFAICT. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpTw9dzCNBn9.pgp Description: PGP signature
Re: USB Problems with Scanjet 3400c
On Tue, Nov 15, 2005 at 10:52:07PM +0100, Blue Raccoon wrote: Then I rebooted, plugged the scanner in and got this: I missed that at first reading. :-/ uscanner0: vendor 0x03f0 product 0x045, rev 1.00/0.00, addr 2 Are you sure about these numbers? The product number should be four digits. According to /usr/src/sys/dev/usb/usbdevs, the product number should be 0x0405. uscanner0: setting config no failed device_attach: uscanner0 attach returned 6 Reading through the USB code, there are different failures that can cause this error. The failure originates in the function usbd_set_config_no (from usb_subr.c) called in uscanner.c. From there on the possible code paths branch out. If you could rebuild the kernel with 'options USB_DEBUG' it would generate more verbose messages, that would make it easier to follow the code path. uhub0: port 2, set config at addr 2 failed uhub0: device problem (STALLED), disabling port 2 Which is almost identical to the boot-errors I had before (the first line is slightly different). Needless to say SANE still can't find the device. What can I say? 'Helaas'? Inderdaad ;-) Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgp9lg0FOXKqU.pgp Description: PGP signature
Re: USB Problems with Scanjet 3400c
On Tue, Nov 15, 2005 at 05:08:54PM -0500, Joe Altman wrote: On Tue, Nov 15, 2005 at 09:25:12PM +0100, Roland Smith wrote: You should verify that /usr/local/etc/sane.d/dll.conf has the line niash in it. It did exist on my 5.4 machinebut then: You cut put a line like usb /dev/uscanner0 in /usr/local/etc/sane.d/niash.conf Roland, do you know if niash.conf is in, and/or unique to, the 6.x release? I do not see it on my 5.4 machine. Since sane is a port, I don't think it would be in one release, but not another. It is a new sane backend, so perhaps it is not yet in the ports tree, somehow? Could be. The site for the driver said it had been merged into sane, but not into which version. snip Is it perhaps sufficient to create the niash.conf file? I wonder, because some of the conf files look like they may have aspects that are necessary for the correct functioning of the scanner. I missed something in reading the original mail. The fault occurs in the FreeBSD driver code, and prevents the creation of a uscanner device. Maybe the device is USB 2.0 only and needs the ehci driver? Otherwise building a kernel with 'options USB_DEBUG' might give a clearer picture of what's happening. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpK1gSEPhUt8.pgp Description: PGP signature
Re: Makefile and Kernel Optimizations in 6.0
On Mon, Nov 14, 2005 at 10:23:22AM -0500, Gerard Seibert wrote: I have read on this forum that the /etc/make.conf file has been moved in version 6.0. I assume that although it has been moved, that it still serves the same purpose as it did in the 5.4 version. Is that correct? It hasn't been moved. It's still /etc/make.conf. The names of some variables have changed from NOFOO to NO_FOO. I also read somewhere that version 6 has CFLAGS=O2 set by default. Does it also have COPTFLAGS=-O2 set or does it make any difference? I didn't notice the difference on a 2.4 GHz amd64. Makeoptions COPTFLAGS=O2 - pipe Actually it goes on to recommend '-funroll-loops' and '-ffast-math' as well. Since I do not know what those two are about, I never used them. In any case, is it recommended to use any optimization in the kernel in the new 6.0 version? You can have it in the config file or in make.conf, both work. I don't think that the kernel uses floating point, so -ffast-math shouldn't make a lot of difference. The -pipe flag speeds up the compilation somewhat, but has no effect on the generated code. The -funroll-loops replaces loops of which the size is known by serial instructions. This is somewhat faster but generates larger binaries. Complete information about what an option does is available in the info file of gcc. You can type 'info gcc' to read it, or use the info reader built into emacs. Unless you have an app that takes hours or days to run, I wouldn't worry about optimization settings. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpUcRyRwcjae.pgp Description: PGP signature
Re: device pf
On Sun, Nov 13, 2005 at 10:23:05AM +0100, dick hoogendijk wrote: I cannot find the device pf settings anylonger in de GENERIC kernel config, /nor/ is it mentioned in NOTES. It isn't mentioned in the architecture specific notes (/usr/src/sys/$ARCH/conf/NOTES) but it is mentioned in the architecture independant NOTES file (/usr/src/sys/conf/NOTES). Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpstG8CDfyBJ.pgp Description: PGP signature
Re: converting a .chm file
On Sun, Nov 13, 2005 at 11:38:53AM -0500, Dave wrote: Hello, I've got some .chm files i'd like to move. I was wondering if anyone know of a cli tool to convert them to another format, perhaps pdf, rtf, html, or plain text? If you mean Compiled HTML files as used by Windows, there is a non-free convertor to plain html: http://chm2web.aklabs.com/ There are also free readers for UNIX available: xCHM: http://xchm.sourceforge.net/ GnoCHM: http://gnochm.sourceforge.net/ Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpVXkQ5zfY7L.pgp Description: PGP signature
Re: Help: Asus P5WD2 mobo and ITE IDE controller problem
On Mon, Nov 14, 2005 at 10:13:51AM +1100, Murray Taylor wrote: Hi all, I have had a system configured using this mobo and have hit a showstopper. The HDD (a seagate 330GB IDE) have been connected to the ITE IDE controller while the DVDrom has been connected to the primary IDE controller. It seems that the ITE device is a RAID controller, and the BIOS and the 5.4 FreeBSD installer dont see the HDD at all. Which is not very useful! The ASUS site doesn't mention what type the ITE controller is. According to the ata(4) manual page, only the IT8211F and IT8212F are supported. But according to the motherboard layout drawing in the manual, it is indeed a IT8211F, so it should be supported. Are you sure it is enabled? The mobo has a SATA port as well, and the question is Does 5.4 support SATA drives for install? Yes. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpSOqcPfiaWN.pgp Description: PGP signature
Re: disk layout
On Sat, Nov 12, 2005 at 10:18:52AM +0100, Dick Hoogendijk wrote: I have still a small question. I'll install FreeBSD-6 on a 160G drive. Is it OK to just use the normal layout (/ /var /tmp /usr) or will it be smarter to create some slices extra like /home or /data ? All slices are on the same disk, but I wonder if it will be better from fragmentation or other reasons unknown to me to have more slices. For backup purposes, I'd separate at least /home. As a general rule, try to keep filesystems small enough so that a full dump (or other backup) fits on your preferred backup medium. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpIgkwGT1erP.pgp Description: PGP signature
Re: usb flashdrive not working on 6.0
On Fri, Nov 11, 2005 at 08:42:10AM -0500, Lowell Gilbert wrote: Roland Smith [EMAIL PROTECTED] writes: Hi, After my old flashdrive broke down, I bought a new one and updated my machine to 6.0-STABLE (amd64). The new flashdrive is not recognized when I plug it in. There is no reaction whatsoever from the usb subsystem. This is the flash drive in question: http://www.supermediastore.com/pqi-cool-drive-256mb-usb-20-usb-flash-drive.html snip Can anybody shed some light on this? Not offhand, but why don't you just try adding ehci to your kernel and see what happens? I didn't because the manpage says it's buggy, but I'll try. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpte1GI0Q2tT.pgp Description: PGP signature
Re: question regarding portupgrade for php on 5.3
On Fri, Nov 11, 2005 at 11:33:05AM -0500, Steve wrote: Forgive me if this is either a n00b or dumb question...this is the first time I'm trying things this way. I'm using 5.3 on i386 architechture. I have installed the portupgrade package with the intention of upgrading php4 on my box from 4.3.10 to 4.4. I installed portupgrade then I made a backup of /var/db/pkg (following the Lehey FreeBSD book) and tried: portupgrade -v php4 Expecting it would just go and upgrade to the current php4.4.1 package, instead I get the message: no need to upgrade php4-4.3.10_2 (= php4-4.3.10_2). specify -f to force. So what should I do? You should bring your ports tree up to date with cvsup (see the handbook) and try again. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgprN3Bq7bKz5.pgp Description: PGP signature
Re: usb flashdrive not working on 6.0
On Fri, Nov 11, 2005 at 08:42:10AM -0500, Lowell Gilbert wrote: Not offhand, but why don't you just try adding ehci to your kernel and see what happens? I didn't because the manpage says it's buggy, but I'll try. Adding ehci to the kernel seems to have fixed the problem. A da device is created as soon as i plug in the flashdrive. I can mount the drive without problems. Looks like this device is USB 2.0 only, even though the packaging says it should also work with USB 1.1. Thanks! Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpqqdWQItI5r.pgp Description: PGP signature
usb flashdrive not working on 6.0
Hi, After my old flashdrive broke down, I bought a new one and updated my machine to 6.0-STABLE (amd64). The new flashdrive is not recognized when I plug it in. There is no reaction whatsoever from the usb subsystem. This is the flash drive in question: http://www.supermediastore.com/pqi-cool-drive-256mb-usb-20-usb-flash-drive.html I have uhci, usb, umass, scbus, pass and da built into the kernel; uhci0: VIA 83C572 USB controller port 0xc400-0xc41f irq 21 at device 16.0 on p ci0 uhci0: [GIANT-LOCKED] usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0xc800-0xc81f irq 21 at device 16.1 on p ci0 uhci1: [GIANT-LOCKED] usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: VIA 83C572 USB controller port 0xd000-0xd01f irq 21 at device 16.2 on p ci0 uhci2: [GIANT-LOCKED] usb2: VIA 83C572 USB controller on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: VIA 83C572 USB controller port 0xd400-0xd41f irq 21 at device 16.3 on p ci0 uhci3: [GIANT-LOCKED] usb3: VIA 83C572 USB controller on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered I do get a funny message about a device without a driver: pci0: serial bus, USB at device 16.4 (no driver attached) But I suspect that is the USB 2.0 device, which isn't recognized because I don't have ehci in my kernel. When I plug in a SDDR-31 CompactFlash card reader, everything works: umass0: SanDisk Corporation ImageMate CompactFlash USB, rev 1.10/0.09, addr 2 umass0: Get Max Lun not supported (STALLED) da0 at umass-sim0 bus 0 target 0 lun 0 da0: SanDisk ImageMate II 1.30 Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 61MB (125441 512 byte sectors: 64H 32S/T 61C) (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 1 ea 0 0 0 1 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): MEDIUM ERROR asc:0,0 (da0:umass-sim0:0:0:0): No additional sense information (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) The messages notwithstanding, I can mount the CF card just fine. So I think the usb subsystem works fine. My precious flash drive (apacer) also worked without problems. Can anybody shed some light on this? Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpmpT2hy5x8i.pgp Description: PGP signature
Re: 5.4 to 6.0 upgrade
On Tue, Nov 08, 2005 at 08:38:00AM -0500, Tsu-Fan Cheng wrote: Hi fbsder, I just upgraded my 5.4 to 6.0 last night and encounter some problems, please forgive me if this has already been brought up... I cvsup the source by changing RELENG_5 to RELENG_6, do the cvsup and follow the old routine (make buildowlrd mergemaster..), after reboot, I noticed that (1) my system is still called FREEBSD 5.4, (2) pgrep: kvm_getprocs() failed.. ??? (3) my network (DHCP) doesn't work, can't install write filter program: Invalid argument any advice is appreciated... Did you build and installed a new kernel as well? See /usr/src/UPDATING, lines 265 - 297; To rebuild everything and install it on the current system Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpVIfDUGS28T.pgp Description: PGP signature
Re: upgrade package questions
On Tue, Nov 08, 2005 at 01:33:33PM -0600, Lonnie Cumberland wrote: Hello All, Could someone please tell me how to upgrade a package over the web? The -r option of pkg_add allows you to get remote packages. So you could first forcibly deinstall the old package with 'pkg_delete -f', and than get the new one with 'pkg_add -r'. And then you should fix the package database dependancies with 'pkgdb -F', I think. Personally, I find it easier to use the portupgrade program, because not everything is available as a package, and it takes care of the messy detail. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpdE0n9QGajF.pgp Description: PGP signature
Re: 5.2 x hangs
On Mon, Nov 07, 2005 at 10:27:23AM +0300, Ivan S. Anisimov wrote: Hello, I've recently upgraded from 5.0 to 5.2 (custom kernel with the only addition - device pcm) and encountered the following problem: x server hangs the whole system time after time on initialization or shutdown. x starts clearly once out of three-four times. video card is radeon 8500 (card is not listed, I pointed xf86cfg to use ati driver). some video modes (low resolution and bitrate) seem to be more stable, but all of those I tried cause a lock up. Previously installed 5.0 on the same machine worked perfectly. Could you please help solve this? The FreeBSD version that you use, and presumably the X server are very much out of date. You should install the current FreeBSD version 6.0, and with it the current Xorg port (version 6.8.2, IIRC). I would recommend doing a fresh install from CD instead of a cvsup upgrade, but that's your choice. Chances are that this will solve your problem. If the problem persists, let us know. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpIacYCgPJzk.pgp Description: PGP signature
Re: Subject: Re: Diagnosing reboot under load
On Mon, Nov 07, 2005 at 07:11:42AM -0800, Micah wrote: I cleaned out all the fans, but they weren't that dirty. I can't test the temps while the system is under load (have to reboot and check them in the bios). Try xmbmon of mbmon from the/usr/ports/sysutils/xmbmon port. That should help you read the temperatures. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpiENw2uCAwX.pgp Description: PGP signature
Re: Subject: Re: Diagnosing reboot under load
On Mon, Nov 07, 2005 at 08:17:48AM -0800, Micah wrote: Roland Smith wrote: On Mon, Nov 07, 2005 at 07:11:42AM -0800, Micah wrote: I cleaned out all the fans, but they weren't that dirty. I can't test the temps while the system is under load (have to reboot and check them in the bios). Try xmbmon of mbmon from the/usr/ports/sysutils/xmbmon port. That should help you read the temperatures. Roland Tried that before. It doesn't properly support my mobo. It displays a constant temp for both MB and CPU as 127 deg celsius (260.6 F). Try forcing another access method. With the standard method my mobo also give bogus values: slackbox:~$ mbmon -c1 Temp.= 127.0, 127.0, 0.0; Rot.=0,0,0 Vcore = 0.00, 0.00; Volt. = 0.00, 0.00, 0.00, 0.00, 0.00 Forcing access via an ISA port gives the correct result: slackbox:~$ mbmon -c1 -I Temp.= 26.0, 39.5, 21.5; Rot.= 1117, 2280,0 Vcore = 1.39, 2.99; Volt. = 3.34, 5.05, 15.50, 1.54, -6.10 Hope this helps, Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgppTbPt0WFQ6.pgp Description: PGP signature
Re: enable smp / hyperthreading
On Mon, Nov 07, 2005 at 07:53:20PM +0100, [EMAIL PROTECTED] wrote: Hi I've just installed 6.0-RELASE and am trying to get SMP to work (I have af Pentium 4 with HT). So I've compiled the kernel with 'options SMP' and according to dmesg the two CPUs are found: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 But I'm not sure that both are enabled, because at this is at the end of dmesg and I dont see the other CPU being enabled somewhere: SMP: AP CPU #1 Launched! I think it is referring to the Auxiliary Processor (AP), because the BSP (don't know what that stands for, though) is obviously already active. According to 'sysctl -a' there are 2 CPUs, but only 1 active and SMP doesnt seem to be disabled: kern.smp.cpus: 2 kern.smp.disabled: 0 kern.smp.active: 1 sysctl -d kern.smp.active kern.smp.active: Number of Auxillary Processors (APs) that were successfully started This is the number of _extra_ CPUs, which chould be 1. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpnrnQu316T8.pgp Description: PGP signature
Re: relocating /tmp to other media
On Mon, Nov 07, 2005 at 01:54:29PM -0500, Dave wrote: Hello, I'm trying to run bitdefender on a 5.4 system. It works fine up until / fills up, i'm having it scan a 40 gb smb mounted windows share and when / fills specifically /tmp bitdefender cores out. My / filesystem on this box is i believe either 130mb or 256mb, and this issue does not occur when scanning a 20 gb drive. I was wondering if it's possible to relocate /tmp to other media ramdisk, tmpfs, or the like? If you have a partition with enough space (e.g. /usr); Create a directory /usr/tmp. Drop into single user mode and move everything from /tmp to /usr/tmp. Remove /tmp, and create a symlink /tmp to /usr/tmp. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgp3fdhsuxFSM.pgp Description: PGP signature
Re: NFS Installation Issues
On Sun, Nov 06, 2005 at 07:51:29PM +1030, Matthew Smith wrote: Hi Having used AIX for about twenty years and Linux for nearly ten, I have decided to start exploring the possibilities of FreeBSD and have just downloaded the ISOs for Version 6/i386. I have attempted to do an install from CD, but am getting failures on quite a few files - possibly because I only had yucky CDRWs to put my ISOs on and the CD drive in the machine is quite old. So, I decided to copy the CD to a directory on another machine, make an NFS share (which works - I checked it from yet another machine), and just use the CD to boot. My problem is that when I select the installation source, Ethernet is not amongst the options (just SLIP, PPP and something else weird). That something weird could well be the ethernet card. unlike Linux, the ethernet devices are not all named ethX', but are named after the driver. So it could be e.g. sk0, xl0, dc0, de0, fxp0, vr0 etc. I assume that there's a kernel module not loaded, so after looking further through the documentation, I found that I should be able to put a line in /boot/defaults/loader.conf. Since the installation so far was actually bootable (that's one up on Linux!), I did this. All this did for me was to generate a warning that the module was already loaded. Then try to use the something weird as the ethernet device. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpA664usGSb0.pgp Description: PGP signature
Re: NFS Installation Issues
On Mon, Nov 07, 2005 at 06:58:38AM +1030, Matthew Smith wrote: I assume that there's a kernel module not loaded, so after looking further through the documentation, I found that I should be able to put a line in /boot/defaults/loader.conf. Since the installation so far was actually bootable (that's one up on Linux!), I did this. All this did for me was to generate a warning that the module was already loaded. Then try to use the something weird as the ethernet device. Thanks for that Roland - I've had another look, but the something weird is PLIP, which I believe to be some parallel port communication system. Yes, that's IP over a parallel port. So, my real question remains: how does one get a network card recognised? You don't have to. The GENERIC kernel comes with all network card drivers built as modules. If FreeBSD has a driver for your network chip/card, it should show up. If it doesn't, make sure that it's not disabled in the BIOS and that the cable is actually connected to the hub/router. If none of that works, try to give us some details about the chip/card. Make and model if possible. I've never done a network install, but look at section 2.2.4 of the Handbook. It describes what info you need to have on-hand for a network install. If you don't want to type all these numbers in, configure a machine on the network that you are connecting to as a DHCP server. Of course, you must also have an FTP server available if you want to do an FTP install. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgp2KDwIIgl5r.pgp Description: PGP signature
Re: More help with find
On Sun, Nov 06, 2005 at 01:40:12PM -0800, Jeffrey Ellis wrote: snip What I really need is an expression which will ls all files found which have a mod. date/time of more than a certain number of days from today, but that are *not* in the Volumes directory, i.e., only those results which exist on the startup volume. Is there a way to do this? The FreeBSD version of find has the '-x' option that does what you want. Don't know what kind of 'find' darwin uses. GNU find has a similar option. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpk1IDz4KbCX.pgp Description: PGP signature
Re: Installing wine on 6.0 RC
On Fri, Nov 04, 2005 at 01:11:52AM +1100, paul thodiyil wrote: I am sort of new to FreeBSD and still learning the ropes. I am having great trouble installing WINE and indeed other packages on my AMD64 desktop running FreeBSD ver 6.0. I had added this package during the installation process. With the 'whereis wine' command, I get: /usr/ports/emulators/wine Then when I type pkg_add wine, I get 'can't stat package file wine' Could someone tell me what I could be doing wrong? Apart from the fact that wine only works on i386, you're confusing packages and ports. The command 'pkg_add wine' tells pkg-add to install a package from a file called 'wine' in the current directory. You can read the manual page for pkg_add with the command 'man pkg_add'. /usr/ports/emulators/wine is the ports directory you can use to build wine. To do so, do the following as root: cd /usr/ports/emulators/wine make make install clean On an amd64 machine, you'll get an error when running make, because wine is only for i386. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgprEO84kNMkQ.pgp Description: PGP signature
Re: MAKEDEV FreeBSD 5.x or higher.....
On Wed, Nov 23, 2005 at 10:28:56PM +0330, Mohsen Pahlevanzadeh wrote: Dears,FreeBSD community removed MAKEDEV script in FreeBSD 5.x or later. I have refered to online handbook,But it explains everything with MAKEDEV script. Please introduction a replacement of MAKEDEV. 5.x and later don't need a MAKEDEV script; they use devfs, wich makes device nodes for every device that has a driver available. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpMj6CYkYgnm.pgp Description: PGP signature
Re: running subversion as non-root
On Tue, Nov 01, 2005 at 03:40:47PM +0200, Giorgos Keramidas wrote: On 2005-11-01 08:32, Cerion Armour-Brown [EMAIL PROTECTED] wrote: On Tue, 1 Nov 2005 15:25:57 +0200, Giorgos Keramidas wrote If you used the standard Ports stuff to install these and they have these broken permissions, it may be a side-effect of a broken umask setting for the root user. What do you see if you log in as 'root' and issue: # umask Is this 0022 or something similar, or not? If not, what value does it print? ahh, that's interesting: mine is 0027 Ugh! That's a bit Evil(TM). It means all the files root creates get their 'other' permissions zeroed out unconditionally, so this explains why your libraries can only be used by people in the 'wheel' group. I guess I should set that to 0022, and reinstall everything... (groan) Very likely. Sorry for the bad news :-/ You could also have find search for files with bad permissions, and correct them with chmod. something like find /usr/local/lib -type f -perm 750 -name *.so*|xargs chmod 755 (try the find part separately first) Something analogous can be done to bad binaries in /usr/local/bin. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgprcpk60uYng.pgp Description: PGP signature
Re: WiFi Nintendo-DS and FreeBSD
On Tue, Nov 01, 2005 at 01:48:57PM +0100, Dick Hoogendijk wrote: In november my DS goes WiFi (in Holland). Naturaly I want to play games that support this feature. (MarioKart-DS i.e.) at home ;-) The FreeBSD related question is: My main server runs 4.11-stable, some other machines run 5.4 What do I have to do to give this DS wireless access to the net? What is the best approach? Only my main server is 24/7 connected (without a hardware router;-) Do I put a wireless card in this machine? Is this possible or do I have to upgrade FreeBSD to 6.0 to have WiFi? It's all new to me (this wireless stuff). All my machines are wired. So I can use some tips, reading points or suggestions from you. Verify that a card contains a supported chip before you buy it. some manufacturers change chipsets without changing the model number. The handbook has a section on wireless networking: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html Some stuff about setting up a secure connection: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html Apparently the standard encryption (WEP) is not very secure and easily cracked. At least you should have the firewall reject any packets whose MAC address doesn't match your DS and/or laptop. And you should probably restrict the ports that can be accessed via the wireless link. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpGJyA1gJCvD.pgp Description: PGP signature
Re: user limits
On Tue, Nov 01, 2005 at 05:24:19PM -0500, kalin mintchev wrote: hi all... i was reading the login.conf man to figure out a way to limit user from a class to only certain directories. apparently that isn't possible there. there is a path, but thats $PATH for the particular user... not really what s/he can see or not... if i can not restrict user cd-ing into certain directories using login.conf how can i do it? chmod 750 directory/ Now only the owner and members of the group can access the directory. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpb8F80cuyyY.pgp Description: PGP signature
Re: user limits
On Tue, Nov 01, 2005 at 05:55:48PM -0500, kalin mintchev wrote: chmod 750 directory/ thanks... i can't do that to /etc or /usr.. No you can't. But those directories cannot be written to by normal users. For finer-graines access control, you can try Mandatory Access Control, see .e.g. mac(4) and ugidfw(8) or mac_mls(4) and setfmac(8). Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpUa43F3UDLr.pgp Description: PGP signature
Re: Canonical upgrade procedure for 6.0?
On Sun, Oct 30, 2005 at 10:28:35AM +, Stacey Roberts wrote: Hello, Is there anywhere on the FreeBSD.org site that has any (even if semi-official) procedure for upgrading a FreeBSD-5Stable machine (i386) to 6.0? Chapter 20 of the Handbook details how to update your system with cvsup and how to rebuild your kernel+world. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpKdrdX2cEBW.pgp Description: PGP signature
Re: Canonical upgrade procedure for 6.0?
On Sun, Oct 30, 2005 at 11:44:24AM +, Stacey Roberts wrote: Hello Roland, Thanks for the response. On Sun, 30 Oct 2005, Roland Smith wrote: On Sun, Oct 30, 2005 at 10:28:35AM +, Stacey Roberts wrote: Hello, Is there anywhere on the FreeBSD.org site that has any (even if semi-official) procedure for upgrading a FreeBSD-5Stable machine (i386) to 6.0? Chapter 20 of the Handbook details how to update your system with cvsup and how to rebuild your kernel+world. I know about the procedures details in that chapter, however, I'm recalling the fact that at one point in time, there was a migrating link (http://www.freebsd.org/old/releases/5.4R/migration-guide.html) on the old website that included, if you will, *the way* to migrate from FreeBSD-4 to FreeBSD-5 - that included changes and extra steps as against what is mentioned in chapter 20 in the Handbook. The migration from 4 to 5 was much more involved, because some subsystems had been radically changed. The changes from 5 to 6 are less so, AFAIK. If chapter 20 is the way, then fair enough, but I thought it a simple thing to ask. Actually, the instructions in /usr/src/UPDATING are considered to be canonical, AFAIK. Chapter 20 refers to it. Look for COMMON ITEMS, especially To upgrade in-place from 5.x-stable to current. That being said, I guess the least troublesome route is to make a backup of your data (including configuration files), wipe the disks and do a re-install of 6.0. That way you can be sure there are no leftovers from 5.x. And then you can port your config files to the new release. Especially, it gives you an opportinity to tune things like slices and their sizes. Personally I like to have /home on a separate slice for easy dumps and backups, since my /usr is to big to fit on DVD with /usr/home in it. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpJwnkfjcvqa.pgp Description: PGP signature
Re: Canonical upgrade procedure for 6.0?
On Sun, Oct 30, 2005 at 05:55:09PM +, Stacey Roberts wrote: Okay.., I took the view that following the Handbook was the way to go, changing *default release=cvs tag=RELENG_5 to *default release=cvs tag=RELENG_6. All went fine, that is, I was able to cvsup sources to upgrade a FreeBSD-5-Stable machine to FreeBSD-6.0-RC-1: $ uname -a FreeBSD snipped 6.0-RC1 FreeBSD 6.0-RC1 #0: Sun Oct 30 16:09:08 GMT 2005 snipped:/usr/obj/usr/src/sys/GENERIC i386 $ All looks well, whereby I can log in successfully, and load X as before (I know that at some point I need to rebuild all installed ports), however I now need to configure, compile and install a custom kernel. But when I checked the location of where (the default in FreeBSD) I'd expect to see a new GENERIC, I see the following: /usr/src/sys/i386/conf $ ls -tla total 92 drwxr-xr-x 2 root wheel512 Oct 30 18:05 . drwxr-xr-x 14 root wheel512 Oct 29 19:48 .. -rw-r--r-- 1 root wheel 1741 Oct 29 19:48 GENERIC.hints -rw-r--r-- 1 root wheel372 Oct 28 20:21 DEFAULTS -rw-r--r-- 1 root wheel 10211 Oct 28 20:21 GENERIC -rw-r--r-- 1 root wheel 33284 Oct 7 15:00 NOTES -rw-r--r-- 1 root wheel322 Sep 18 04:37 SMP -rw-r--r-- 1 root wheel 1766 Jul 29 17:02 PAE -rw-r--r-- 1 root wheel 13 Jun 20 17:52 .cvsignore -rw-r--r-- 1 root wheel120 Feb 26 2003 Makefile /usr/src/sys/i386/conf $ After copying GENERIC to MYKERNEL, I'd have expected to go through MYKERNEL to add / delete as required, as well as remove the debugging statements that I'd come across from reading various suggestions (like options INVARIANTS, etc), but I've found that the GENERIC on this system doesn't have the entries for any of those debugging statements to remove. Here's a snippet where I'd have expected to see some of those entries: snip Any information, would be appreciated, please. There were some messages about this on the mailing lists recently. Apparently some options and devices were moved into DEFAULTS (which is combined with the chosen kernel configuration by config(8).), so that people wouldn't leave them out by accident, such as 'mem' and 'io' (important for running X). My system (recently installed from 6.0-RC1 CD's) doesn't have the changes yet. They must have been implemented after RC1 was released. It does look somewhat like a kludge to me. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgp7ZDeIvNyaL.pgp Description: PGP signature
Re: Canonical upgrade procedure for 6.0?
On Sun, Oct 30, 2005 at 08:23:20PM +, Stacey Roberts wrote: There were some messages about this on the mailing lists recently. Apparently some options and devices were moved into DEFAULTS (which is combined with the chosen kernel configuration by config(8).), so that people wouldn't leave them out by accident, such as 'mem' and 'io' (important for running X). I saw those posts today, but DEFAULTS don't appear to have the regular WITNESS / INVARIANTS entries either.., Moot at this point, though, as the host is now unable to do much more than sit there - keeps panicking whenever I try to build a custom kernel, or even cvsup a fresh source (using either standard-supfile, or stable-supfile) :-( Does it work with the backup kernel in /boot/kernel.old? BTW, one of the first things I do after install is to copy /boot/kernel to /boot/kernel.generic, so I have a working kernel at hand in case something is FUBAR. My system (recently installed from 6.0-RC1 CD's) doesn't have the changes yet. They must have been implemented after RC1 was released. It does look somewhat like a kludge to me. Hrmph.., Looks like this machine (previously running 5-Stable since 5.3) is completely hosed now. I have a think about what I can do here.., Reinstall the base system from CD, I guess. If you have /usr on a separate slice, you won't lose the ports you've installed, I think. I've attached info.0 from the crash dir, if anyone cares to look at it, please. Dump header from device /dev/ad0s1b Architecture: i386 Architecture Version: 2 Dump Length: 200867840B (191 MB) Blocksize: 512 Dumptime: Sun Oct 30 19:32:34 2005 Hostname: omni.vickiandstacey.com Magic: FreeBSD Kernel Dump Version String: FreeBSD 6.0-RC1 #0: Sun Oct 30 16:09:08 GMT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Panic String: ffs_valloc: dup alloc Looks like the panic occurred in the filesystem code, and it has to do with memory allocation. If you really want to know what caused it, read the chapter on kernel debugging in the developers handbook. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpIS9f984Gyy.pgp Description: PGP signature
Re: HP 1315
On Thu, Oct 27, 2005 at 05:07:41PM -0600, Slavik wrote: Hi! Help me please.I have HP 1315 All-in-one.How can I set it in FreeBSD(6.0RC). You'll find a driver at http://hpinkjet.sourceforge.net/. It was written for Linux, but might work in FreeBSD, because the printer drivers usually reside in GhostScript or CUPS, and not in the kernel. But I haven't looked closely at it. HTH, Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpm72LKrVk0V.pgp Description: PGP signature
Re: increasing mount size
On Thu, Oct 27, 2005 at 08:28:12PM +0100, eoghan wrote: Hello My /var mount has no more space left. I was wondering if there is some way to increase the size of it without loosing anything? That depends. If you have enough free space left on your harddrive, you could make a new slice, copy /var there, unmount the old /var, and remount the new /var. Another option is to copy everything in /var to another directory on another slice that has enough space, unmount /var and make it a symlink to the new location. All these tricks are best done in single user mode. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpExZcokVBAX.pgp Description: PGP signature
Re: Upgrade from FreeBSD 32bit to 64bit
On Tue, Oct 25, 2005 at 11:24:43PM -0700, Warren Liddell wrote: As per topic ... is it possible to upgrade from the 32 bit version of FreeBSD to the 64 bit version or is it better to do a new installation ? If upgrade can be done .. any URL/Links to a guide on how to do it ? This has been handled multiple times on the -amd64 list. See the archives. Upgrading is not impossible, but doing a new installation is less painfull. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpGedRqQ2lGY.pgp Description: PGP signature
Re: problems with cd/dvd-device
On Tue, Oct 25, 2005 at 02:19:04PM +0200, Linnea Forslund wrote: On 10/25/05, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote: On Tuesday, 25 October 2005 at 14:04:25 +0200, Linnea Forslund wrote: I know, I know. I ask a lot of questions right now, but it's just because I've waited until it's very acute until I got myself to start fixing these things. So, I can't seem to find my cd/dvd-device. What do I do? That depends on what you've already done. What did you do? Greg Well, what I did originally I didn't do. Someone else did and I feel a bit handicapped not knowing what's reallt been done and not. Now I tried som commands in the newbie guide like these: supermoccine# mount /cdrom cd9660: /dev/acd0: Invalid argument supermoccine# /sbin/mount_cd9660 /dev/cd0a /cdrom mount_cd9660: /dev/cd0a: No such file or directory That should be /dev/acd0 or /dev/cd0, not /dev/cd0a. Check that CD devices are actually there, with ls /dev/*cd*. On my system this returns: /dev/cd0 /dev/cd1 but that's because I use SCSI emulation. A system with a GENERIC kernel would probably show /dev/acd0. And I tried inserting a cd with musicfiles and find it from xmms, but there was nothing in /cdrom. Playing music is very different from mounting, so that's perfectly normal. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgptHCPA4U4Ey.pgp Description: PGP signature
Re: Installation problem with Freebsd 5.4
On Tue, Oct 25, 2005 at 07:09:05PM +0530, Jayesh Jayan wrote: an update to the issue. the error what i get is panic : page fault Cannnot Dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort Without knowing which program produces the fault, it's hard to diagnose the problem. One thing you could try is to burn a 6.0-RC1 CD and try that. Test your memory with memtest86 (http://www.memtest86.com/). On 10/25/05, Jayesh Jayan [EMAIL PROTECTED] wrote: Hi, I am having problem with installing freebsd on my old HP Pavillion PC. The below is the configuration of the pc. AMD K6 2 550 MHz 10 GB Maxtor HDD Sony CD RW 64 MB sd ram It is having phoenix BIOS 4.0 release 6.0 B -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpNuvcO9kKgP.pgp Description: PGP signature
Re: Fwd: problems with cd/dvd-device
On Tue, Oct 25, 2005 at 03:52:08PM +0200, Linnea Forslund wrote: From: Linnea Forslund [EMAIL PROTECTED] Date: Oct 25, 2005 3:51 PM Subject: Re: problems with cd/dvd-device To: Greg 'groggy' Lehey [EMAIL PROTECTED] On 10/25/05, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote: On Tuesday, 25 October 2005 at 14:19:04 +0200, Linnea Forslund wrote: On 10/25/05, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote: On Tuesday, 25 October 2005 at 14:04:25 +0200, Linnea Forslund wrote: I know, I know. I ask a lot of questions right now, but it's just because I've waited until it's very acute until I got myself to start fixing these things. So, I can't seem to find my cd/dvd-device. What do I do? That depends on what you've already done. What did you do? Well, what I did originally I didn't do. Someone else did and I feel a bit handicapped not knowing what's reallt been done and not. Now I tried som commands in the newbie guide like these: supermoccine# mount /cdrom cd9660: /dev/acd0: Invalid argument supermoccine# /sbin/mount_cd9660 /dev/cd0a /cdrom mount_cd9660: /dev/cd0a: No such file or directory supermoccine# OK, that's part of what I wanted to know. Now what version of FreeBSD are you running? I don't know. I suppose there are ways to check this? uname -r What does this say? # dmesg | grep cd0 dmesg | grep cd0 acd0: DVDR NEC DVD RW ND-3520A/1.04 at ata0-master UDMA33 Well, at least your DVD rewriter is recognized. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpvuyGHbJFzT.pgp Description: PGP signature
Re: problems with cd/dvd-device
On Tue, Oct 25, 2005 at 03:48:59PM +0200, Linnea Forslund wrote: snip Check that CD devices are actually there, with ls /dev/*cd*. On my system this returns: /dev/cd0 /dev/cd1 but that's because I use SCSI emulation. A system with a GENERIC kernel would probably show /dev/acd0. A whole bunch shows up: ls /dev/*cd* /dev/acd0 /dev/acd0t03/dev/acd0t06/dev/acd0t09/dev/acd0t12 /dev/acd0t01/dev/acd0t04/dev/acd0t07/dev/acd0t10/dev/acd0t13 /dev/acd0t02/dev/acd0t05/dev/acd0t08/dev/acd0t11 Try using /dev/acd0. If you run the following command as root, does it work? (there should be a data CD in the drive btw, not a music CD) mount -t cd9660 /dev/acd0 /cdrom And I tried inserting a cd with musicfiles and find it from xmms, but there was nothing in /cdrom. Playing music is very different from mounting, so that's perfectly normal. So what should I do to play musicfiles from cd? .mp3, .sid and so on.. Music encoded as .mp3 sits on a data CD (usually CD-ROM mode 1), and should be mounted first. See above. Regular music CDs are written in different format (CD-DA). You do not have to mount these. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpOorHvGl9MF.pgp Description: PGP signature
Re: i get stuck installing kernel
On Tue, Oct 25, 2005 at 07:11:22AM -0700, Micah wrote: snip pkg_add cvsup-16.1h_2.tbz man/man1/cvpasswd.1.gz: Can't open 'man/man1/cvpasswd.1.gz': File exists man/man1/cvsup.1.gz: Can't open 'man/man1/cvsup.1.gz': File exists man/man8/cvsupd.8.gz: Can't open 'man/man8/cvsupd.8.gz': File exists bin/cvpasswd: Can't open 'bin/cvpasswd': File exists bin/cvsup: Can't open 'bin/cvsup': File exists sbin/cvsupd: Can't open 'sbin/cvsupd': File exists share/cvsup/License: Can't open 'share/cvsup/License': File exists pkg_add: extract_plist: can not invoke 179 byte tar pipeline: /usr/bin/tar cf - man/man1/cvpasswd.1.gz man/man1/cvsup.1.gz man/man8/cvsupd.8.gz bin/cvpasswd bin/cvsup sbin/cvsupd share/cvsup/License|/usr/bin/tar --unlink -xpf - -C /usr/local Looks like cvsup is already installed? There are some example datafiles for cvsup in /usr/share/examples/cvsup Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpq47IwuEE6D.pgp Description: PGP signature
Re: qemu
On Sun, Oct 23, 2005 at 02:28:50PM +0200, dick hoogendijk wrote: I discouvered QEMU today and I think it is an amazing program. Indeed. Very usefull to check out other OS on your FreeBSD box. Just to be sure and on the safe site: Will the command qemu -hda win98se.img -boot d -user-net do as I think it will do: .. boot from my cdrom device so I can install windows from it to the win98se.img file? You'll have to add '-cdrom /dev/cd0' (substitute your CD-ROM drive for cd0). Alternatively, you can use an ISO image as CD-ROM. snip On oszoo.org they say you can even create a compressed clone of the image file by giving this cmd: qemu-img convert -f qcow -c win98se.img -O qcow image_compressed.img but this does not work form me. The msg is that compression is not supproted for this format. Is this right? Or do I do something wrong? I get the same. According to the qemu-img manual page, this command should be formatted as convert [-c] [-e] [-f fmt] filename [-O output_fmt] output_filename but that doesn't work either; it just produces a help message. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpTV6zFLd4tN.pgp Description: PGP signature
Re: How do I name my network interface?
On Sun, Oct 23, 2005 at 06:30:35PM +0200, Andreas Davour wrote: Hi! I have realized that my new motherboard has a built-in network interface, and I'd like to use it as well as the PCI based one I have. But, what do I call it when I plumb it with ifconfig? The PCI card I have is identified during boot as rl0, and the built-in as rlphy0: RealTek internal media interface on miibus0. This is not another network card, but another interface to the rl0 card. Using dmesg |grep 'Ethernet address'|sort|uniq gives a list of network interfaces. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpVR3sZHXEP2.pgp Description: PGP signature
Re: promail error message
On Sun, Oct 23, 2005 at 01:13:52PM -0400, stan wrote: I'm trying to implement a new users .procmailrc file, and I'm getting this: Suspicious rcfile /home/sff/.procmailrc in /var/mail/log Here's the .prcmailrc file snip @ will simply be /dev/null'd '@' should be '#', I think. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpS51wzmTqco.pgp Description: PGP signature
Re: How do I name my network interface?
On Sun, Oct 23, 2005 at 09:36:38PM +0200, Andreas Davour wrote: Using dmesg |grep 'Ethernet address'|sort|uniq gives a list of network interfaces. It unfortunately just shows my rl0 device. Then it seems that the other device is not supported my the FreeBSD kernel, or it could be disabled in the BIOS. If you could post the make and type of your motherboard, it might be easier to tell... Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpuHrIVgaLlb.pgp Description: PGP signature
Re: procmail/formail syntax question
On Sun, Oct 23, 2005 at 03:09:51PM -0400, stan wrote: I'm trying to get procmail to rewrite the TO: header. I've tried something like: TO=`formail -xTo:` I think this command is expanded only once, and gives an empty string because you didn't give formail any input. # is moved to viruses. :0: * ^X-Virus-Status: Yes | formail -I To: is_virus, $TO snip But this does not seem to be working. What am I doing wrong? Why don't you put it in an appropriate mailbox directly? E.g: :0: * ^X-Virus-Status: Yes /home/username/Mail/virus :0: * ^X-Spam-Status: Yes /home/username/Mail/probably_spam Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpk5BDfQAFVK.pgp Description: PGP signature
Re: How do I name my network interface?
On Sun, Oct 23, 2005 at 10:00:55PM +0200, Andreas Davour wrote: Having done that I conclude it is a Realtek 8201BL chip. Wouldn't there be another rl interface, then? The re nor the rl driver seem to support the 8201BL. What does 'pciconf -lv' say? Quite a lot. The parts that looks relevant is this: [EMAIL PROTECTED]:11:0: class=0x02 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter' class= network subclass = ethernet and [EMAIL PROTECTED]:18:0:class=0x02 card=0x80ed1043 chip=0x30651106 rev=0x78 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT6102 Rhine II PCI Fast Ethernet Controller' class= network subclass = ethernet But none2 doesn't sound much like the name of a network device. I guess it does confirm that there exists such a thing. It says nothing about Realtek, like the docs, though. The none only means it's not bound to a driver. You might try the vr(4) driver, although the 6102 is not mentioned in vr(4). Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpd7cewIfxRy.pgp Description: PGP signature
Re: How do I name my network interface?
On Sun, Oct 23, 2005 at 10:52:39PM +0200, Andreas Davour wrote: The none only means it's not bound to a driver. You might try the vr(4) driver, although the 6102 is not mentioned in vr(4). Ok, then none makes more sense. It read about the vr driver and it worked! How did you know the vr(4) driver was for Rhine I/II/III controllers? It feels like there's something I have missed... By using this command: grep Rhine /usr/src/sys/i386/conf/GENERIC, which returned: device vr # VIA Rhine, Rhine II. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpM3TrStVx17.pgp Description: PGP signature
Re: Firewall or not ...
On Wed, Sep 21, 2005 at 09:05:36PM +0200, Kiffin Gish wrote: I have installed FreeBSD 5.4 on my Dell Inspiron 8200 using WiFi to access the Internet. My question is what are the pros and cons of running a firewall on my client, e.g. is it really necessary. A pro would be that a firewall enables you to keep people from accessing your laptop remotely. WiFi connections aren't that secure, unless you encrypt the traffic. So if your laptop is not a server, use a firewall to disable all incoming packets except those related to connections you initiated. That way you can secure necessary services like mail and printing. I mean it's not like I am running Windows and have to bloat it with all McAfee, Zonealarm ad infinitum -- or do I? I've got pf on my workstation. I haven't noticed any performance or network speed loss while using it. So I can see few reasons not to use a firewall. If you're not running windows, don't bother with a virus scanner. Do filter your mail for spam, though. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgp96Um1BuSkP.pgp Description: PGP signature
Re: HP Deskjet 720c won't print ...
On Sun, Sep 18, 2005 at 10:18:51AM +0200, Kiffin Gish wrote: I've been trying to get my hp deskjet 720c to print but nothing happens. I've followed step-by-step the instructions in the handbook, but when I run 'lptest /dev/lpt0' nothing happens. The handbook assumes that printers can print plain test. Het 720C can't. You need to install a printing formatter/spooler like apsfilter. You'll also need the pnm2ppa port. See http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_720C and http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/077001.html Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpT2CyFcPPoA.pgp Description: PGP signature
Re: osx-fbsd-winxp
On Sun, Sep 18, 2005 at 01:36:14PM +0200, dick hoogendijk wrote: What is the best way to let the winxp machine communicate with the mac/osx? And what about the fbsd machine. Is there a protocol I can use for all three of them? Depends on when you mean with communicate. For exchanging files, all three support SMB/CIFS. Install /usr/ports/net/samba on FreeBSD. You can then publish a 'share' from the FreeBSD that the others can connect to. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpkN8sJUndmv.pgp Description: PGP signature
Re: Setting a serial port
On Wed, Sep 14, 2005 at 10:08:11AM +0100, [EMAIL PROTECTED] wrote: How could I set the parameters of connection of /dev/cuaa0 under a console? (I mean something similar to the Linux setserial command) stty -f /dev/cuaa0 speed 9600 -parenb cs8 -cstopb Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpfpfSX382Y0.pgp Description: PGP signature
Re: IE in FreeBSD?
On Wed, Sep 14, 2005 at 11:55:25PM +0800, Yuan Jue wrote: On Wednesday 14 September 2005 23:46, Matt Kosht wrote: Does anybody successfully run Internet Explorer under Wine in FreeBSD? What should I do to get it run? Any suggestion will be appreciated. I would suggest instead of Wine using an RDP client (rdesktop in ports for example) and run IE via terminal services on a Windows server or XP desktop PC. Thanks. It is a way to solve this problem. But my particular problem is I do not have a Windows server or XP desktop PC around. My laptop is the only computer I have. So is there any other suggestion? You mean apart from dumping IE and using firefox? ;-) Install windoze on a virtual machine on your FreeBSD laptop. You could use bochs or qemu. The latter is probably faster. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgp1qzBVkM9cP.pgp Description: PGP signature
Re: Sound on Thinkpad and Networking questions
On Tue, Sep 13, 2005 at 10:59:34AM +0200, Lars Lindblad wrote: New problems with FreeBSD 5.4 on my IBM Thinkpad 600E: 1. I try to get the sound to work, but I never manage to make! I have tried to recompile the kernel, as described in the FreeBSD Handbook I chapter 8. First I found a website dedicated to Thinkpad600E and FreeBSD 4.7, but the lines presented there didn't work. Instead I went to chapter 7 in the handbook where it describes how I will change the kernel to work with a Crystal 4232 Soundcard, so I guess I got the right lines for the kernel. But when it comes to building the kernel it says that it doesn't know devices with the names pcm or csa. So, I am kind of stuck... HELP! How do you know it doesn't work? Because you don't hear anything? 1) Make sure you have a sound driver loaded. To see if ou have a sound driver loaded, try 'cat /dev/sndstat'. If that returns 'No such file or directory' there is indeed no sound driver loaded. I'm not sure is the 4232 is supported. Grepping through the sound driver sources, I see the following CS chips: CS4281, CS4610/CS4611, CS4280/CS4614/CS4622/CS4624/CS4630, CS4615 No 4232 to be found. 2) IIRC, the output volume is set to 0 when you first load a sound driver. You can change that with the 'mixer' program, e.g. 'mixer vol 50'. snip 3. The network I try to build is just a small LAN at home, with computers 192.168.0.1 (my 2.2GHz) and .2 (my 600E) involved. Could I give them other names? Could I be use Terminal or Konqueror to reach them from each other? You can give them names by setting the hostnames on each in /etc/rc.conf. Add the IP addresses with the corresponding hostnames to /etc/hosts on both machines, and check that /etc/nsswitch.conf contains a line 'hosts: files dns', so that the names can be resolved to IP addresses. To chare files between the two PCs, set up an NFS share on the desktop that you can mount on the laptop. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpizPlEvFseG.pgp Description: PGP signature
Re: Bochs always exited with BIOS panic.
On Sun, Sep 11, 2005 at 09:38:57AM +0800, Kenny wrote: The error message is as this: [BIOS] BIOS panic at rombios.c , line 1558 Try qemu instead of bochs. It is faster. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgp7lIKKcpzlV.pgp Description: PGP signature
Re: Accessing the Digital IO pins on a VIA EPIA-PD motherboard - Second question
On Sat, Sep 10, 2005 at 09:13:20PM +0800, Paul Hamilton wrote: Ok, so it doesn't look like anyone knows anything about how to access the DIO pins on this MB. Next question, How does one go about analysing the hardware to find out what the io and interrupt addresses might be? Looking at page 5 of the manual for this mobo (http://www.viaembedded.com/product/Download.jsp?motherboardId=241), it looks like there is a VT1211 super I/O chip connected to the VT8235 southbridge. The GPI/O is nowhere to be to been seen on this drawing, but the webpage for the VT1211 (http://www.via.com.tw/en/products/peripherals/super-io/) lists 56 General Purpose I/O Pins My guess would be that that's what you're looking for. You'd have to talk to VIA how the 8 pins on the mobo are connected to the VT1211. VIA has released an IrDA driver for the VT1211, but it is Linux-only and binary-only. You could write VIA and ask them to release enough documentation to allow a driver for the digital I/O pins to be written. Good luck. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpSVD8laInmI.pgp Description: PGP signature
Re: Compatibility
On Sat, Sep 10, 2005 at 05:38:39PM -0400, [EMAIL PROTECTED] wrote: Hello, I was wondering if the FreeBSD Unix program that I have on cd's would It's an operating system, not a program. be compatible with a Compaq Presario 5430US. I came close to installing it till at the end when it gave a last warning involving a message that asked if I was sure I wanted to install and that I could loose data on disk once installed. Do you know if this program will work on my computer? If you don't know what kind of particular hardware is inside your PC (e.g. graphics-, sound- and network chip) it is impossible to tell. The best way to find out is to try running something like FreeSBIE (a system you can run from CD without installing; http://www.freesbie.org/). If everything works in FreeSBIE, you should be able to install without worry. Some tips though: - Make a full backup of your harddisk's data. - Then repartition the disk to make room for FreeBSD. - If you want to dual-boot with windows, reinstall it before FreeBSD, but leave unpartitioned space for it. If you are not comfortable messing with your windows parition and reinstalling windows, add another harddisk to the PC and install FreeBSD on that. Or buy vmware or download qemu or bochs so you can run FreeBSD inside a virtual machine on windows. Thanks and hope to hear from you soon. I am taking a Unix course at a University and could use a program like this (version 4.11) to help with my homework at home Better use 5.4. 4.11 is a legacy version. See the FreeBSD website. and while you're there, read the handbook. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgp55lh1cwPVd.pgp Description: PGP signature
Re: Fwd: Re: C program to write to the com port - RESOLVED
On Fri, Sep 09, 2005 at 01:53:49PM +0200, vittorio wrote: As a C++ absolute beginner I'm trying to compile your testssc.c file with g++ testssc.c -o testssc (under freebsd 5.4, gcc version 3.4.2) The C and C++ languages are different. Use cc or gcc instead of g++ to compile C code. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpOtOStnYFks.pgp Description: PGP signature
Re: need more info
On Fri, Sep 09, 2005 at 12:56:37PM -0400, [EMAIL PROTECTED] wrote: What exactly is FreeBSD? See the freeBSD homepage: http://www.freebsd.org/ Can it be used by the computer beginner or do you need to be a very knowledgable computer user? Some knowledge definitely comes in handy. For an absolute beginner it can be quite a learning curve. Reed the FreeBSD Handbook, especially the section about installation: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html Is it compatible with my computer? It is a compaq presario 5000 series with an AMD Duron 750MHz processor. Probably yes. The processor should not be a problem, but other devices like network- or graphics chip tend to vary in brand name computers, so it's impossible to tell. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpBfK53o3ufP.pgp Description: PGP signature
Re: software updating for multiple machines
On Fri, Sep 09, 2005 at 11:39:59AM -0400, dave wrote: Hello, I've got four physical machines, all running 5.4, three of them have between 1 and 3 jails on them, and all have similar software installed. Updating each box and jail manually is becoming tedious manually, even with portupgrade saving my make options. I was wondering if anyone had a system for packaging software then pushing the packages to the individual machines? The -p option of portupgrade can be used to build a package from a upgraded port. You can use this p[ackage to install on the other machines, provided they have the same architecture. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpiQTjFYCLrf.pgp Description: PGP signature
Re: keyboard bug?
On Fri, Sep 09, 2005 at 03:38:29PM +, Lucas Galete wrote: i have a nootebook toshiba satellite a20. i've installed the freebsd 5.4-release with the X and enliigghtenment.. buut sometimes when I press a key, this''s show twice onn screen. (just readind this email you'll seen what's goinng wroonng here! ) i hhave no ideia whhat is going on... theree is some way to configg thhe keyboard repeat rate on X ? ideias are weelcome.. thanks all.. The most permanent way to set the keyboard is to edit xorg.conf, and add/change the AutoRepeat option in the keyboards InputDevice section. To experiment with different rates you can use xset with the 'r rate' option. In both cases, you need to give two numbers; the first being the delay in milliseconds before autorepeat starts, and the second being the number of characters per second. So 'xset r rate 250 40' means a delay of 250 ms and 40 characters/second. To see the current settings: 'xset q|less'. The keyboard settings are the first seven lines. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpidywbgyhsf.pgp Description: PGP signature
Re: configuring xterm
On Wed, Sep 07, 2005 at 10:28:32AM -0700, Rem Roberti wrote: I am a new user, have FreeBSD 5.4 up and running, and am very grateful to be rid of the blue screen of death. I'm going to have a bunch of questions, but first things first: 1) When I start X three xterm windows appear. Can I configure it so that only one appears? Yes. Copy /usr/X11R6/lib/X11/xinit/xinitrc.default to your home directory, and name it .xinitrc (mind the period at the front); cp /usr/X11R6/lib/X11/xinit/xinitrc.default ~/.xinitrc The last lines of this file are: twm xclock -geometry 50x50-1+1 xterm -geometry 80x50+494+51 xterm -geometry 80x20+494-0 exec xterm -geometry 80x66+0+0 -name login Remove two xterms, so that it becomes: twm xclock -geometry 50x50-1+1 exec xterm -geometry 80x66+0+0 -name login If you close the xterm, it will end your X session. If you don't want that, change it to xclock -geometry 50x50-1+1 xterm -geometry 80x66+0+0 -name login exec twm 2) The font size in the xterm window is quite small. How do I change the font size? You can do this in seceral ways. First is to use the '-fn' option when you start an xterm, e.g: xterm -fn '-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-15' You can use the xlfonts and xfontsel programs to see all available fonts. A better solution is to define some so-called 'resources' in a file called .Xresources in your home directory. My .Xresources file has the following for xterms (lines starting with ! are comments): ! for xterm XTerm*foreground: white XTerm*background: #010040 XTerm*font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-15 XTerm*title: Shell XTerm*loginShell: True XTerm*scrollBar: False XTerm*saveLines: 0 XTerm*ttyModes: erase ^H XTerm*vt100.translations: #override \ Home: string(\033[1~) \n\ Delete:string(\033[3~) \n\ End: string(\033[4~) ! For use with LC_ALL=en_US.UTF-8 ! XTerm*font: -adobe-courier-medium-r-normal--14-140-75-75-m-90-iso10646-1 The resources that can be set for xterm are documented in the xterm manual, accessible by typing 'man xterm' in a terminal window. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpLomU0wJg1H.pgp Description: PGP signature
Re: What is DRM?
On Tue, Sep 06, 2005 at 01:16:55PM +, T.J. Filipi wrote: Hi, I'm wading thru the section of kernel configuration can't find an explanation of the DRM options. Since I have an AGP Radeon see that it has a device listed, I figure it might be important for me to know. DRM is the Direct Rendering Manager; a framewrk for allowing direct access to the graphics hardware under the X Window System. It is mainly used to make OpenGL 3D rendering faster. Also, I notice that the entry in NOTES puts quotes around the device r128drm, but not any of the others. Why is that? Because it contains numbers. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpYXx0BSG5YU.pgp Description: PGP signature
Re: [OT] Life expectancy of powered down hard drives....
On Tue, Sep 06, 2005 at 11:36:52PM +1000, Norberto Meijome wrote: I read somewhere (sorry, cant remember where) that hard drives fail if not powered up every so often (not sure of time frames, but the discussion was about tapes still being better for backups than hard drives if planning for long term storage). It was also mentioned a knock on the centre of the drive to bring it back to life (??). How much truth is in this? I have EIDE drives that I havent used in years and I just tested them and they work fine...but again, I've had an instance of a new drive, used twice to backup some info and then left untouched for 10 months, and it wouldn't even spin up... When a disk spins down, the heads move to the landing zone, stop floating on an air-cushion that forms when the platters are spinning and come in contact with the platters. So the disk platters are lubricated to prevent wear and tear during stops/starts. Now in the past these lubricants used to become sticky over time, preventing the drive from starting up. I'm not sure if it is still a problem these days; my workstation is on 24/7. Does this affect SCSI drives? I suppose it would be more likely to affect desktop-quality IDE / SATA drives... The difference between SCSI and IDE is in the controller. The underlying technology is the same. SCSI drives might be built to higher specifications though. The only real solution to the parking problem that I'm aware of is IBM's load/unload technology. See http://www.pcguide.com/ref/hdd/perf/qual/featuresHead-c.html Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpv6RQb8b3xN.pgp Description: PGP signature
Re: Internal SD card reader, Dell laptop
On Mon, Sep 05, 2005 at 10:36:40AM +0100, Ben Paley wrote: Anyone got any idea how I can access the built-in sd card reader on my dell inspiron 6000 laptop? Is there anything in /var/log/messages? If not, try 'pciconf -lv', 'usbdevs' and 'camcontrol devlist -v' to see if it is on the PCI, USB or SCSI bus respectively. If you can't get it to work, the SanDisk SDDR-93 sd card reader is supposed to work with Linux, so using it with FreeBSD should be possible. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpKtYQjfyM1B.pgp Description: PGP signature
Re: Internal SD card reader, Dell laptop
On Mon, Sep 05, 2005 at 11:24:33AM +0100, Ben Paley wrote: On Monday 05 September 2005 11:04, Roland Smith wrote: On Mon, Sep 05, 2005 at 10:36:40AM +0100, Ben Paley wrote: Anyone got any idea how I can access the built-in sd card reader on my dell inspiron 6000 laptop? Is there anything in /var/log/messages? Not so far as I can see, nor in dmesg If not, try 'pciconf -lv', $ pciconf -lv snip/ [EMAIL PROTECTED]:1:2: class=0x080501 card=0x01881028 chip=0x08221180 rev=0x17 hdr=0x00 vendor = 'Ricoh Co Ltd' device = 'SD Bus Host Adapter' class= base peripheral Is that it? I think so. According to the following page, http://www.math.ucla.edu/~jimc/insp6000/p-proc.html#sd it is a Ricoh R5c576A chip. Looking at the Ricoh page for this chip, http://www.ricoh.com/LSI/product_pcif/pcc/5c576a/ there seems to be no programming info available. AFAICT, there is no Linux driver either, but someone seems to be working on it: http://list.drzeus.cx/pipermail/wbsd-devel/2005-March/000261.html You could try contacting this person to see how far his efforts have come, and who the FreeBSD kernel developer is who is working on this. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpFyelBWo4D3.pgp Description: PGP signature
Re: Internal SD card reader, Dell laptop
On Mon, Sep 05, 2005 at 03:26:22PM +0100, Ben Paley wrote: Is that it? I think so. According to the following page, http://www.math.ucla.edu/~jimc/insp6000/p-proc.html#sd it is a Ricoh R5c576A chip. Looking at the Ricoh page for this chip, http://www.ricoh.com/LSI/product_pcif/pcc/5c576a/ there seems to be no programming info available. AFAICT, there is no Linux driver either, but someone seems to be working on it: http://list.drzeus.cx/pipermail/wbsd-devel/2005-March/000261.html You could try contacting this person to see how far his efforts have come, and who the FreeBSD kernel developer is who is working on this. Thanks a lot for your advice - I shall follow it, even if it is slightly dispiriting. Perhaps I should learn C properly and start writing some drivers... :-) Not that I want to discourage you, but that seems like a tall order. Apart from knowing C, you'd have to get familiar with the FreeBSD kernel and writing device drivers. I guess a driver for an SD card reader should be similar to the USB umass(4) driver. It should also handle disks by using the CAM transport layer and da(4) devices. If you are serious about writing a driver, I would recommend reading The Design and Implementation of the FreeBSD Operating System by McKusick and Neville-Neil. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgp16A3fSGmbP.pgp Description: PGP signature