Re: freebsd mount windows or vise versa
Tsu-Fan Cheng wrote: hi people, does anyone know how to mount and read/write freebsd/windows disk from windows/freebsd? mount_ntfs command can only read, it there some app that can write as well? thanks!! You can check out UFS Explorer, which claims to be able to r/w UFS partitions from Windows: http://www.ufsexplorer.com/index.php I haven't tried it yet, but the project ntfs-3g looks like a promising attempt to r/w NTFS partitions: http://www.ntfs-3g.org/ -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.1 package add from disk 2
opbc wrote: Greetings to all, I’m proud to be upgrading from 4.2 – 6.1 this morning. After the initial install, from disk one, I want to add some stuff that I like AND make X work, KDE and all that . With sysinstall, it tells me to put in disk 2 for some of the packages. It starts to read them, then displays a great deal of “failure” to add package error messages. Q: is this a common occurrence? Is this what happens with 6.1? It's possible that CD2 is corrupted and/or burned at an incompatible speed. But if you have internet connectivity, just get them from the source: # pkg_add -r x11-fonts/webfonts will download and install them from the source, so you know you are getting the latest and greatest. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD question
Nikhil Patel wrote: 1. I want to teach basic unix command, shell scripting to my students, does BSD is same like Unix? Absolutely. 2. Can I install FreeBSD on Pentium PC that has 2 partition 1 has windows XP and 1 will have FreeBSD. Yes. 3. Is installation process easy? Not too bad, but you might check out PC-BSD. It uses FreeBSD as a base, but adds a very nice installer, some basic packages out of the box and a nice package method called PBI. http://www.pcbsd.org -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: system crontab
Zbigniew Szalbot wrote: Hello, I would like to daily run a certain script that cleans exim's queue from frozen messages: sudo exiqgrep -i -z | sudo xargs -L 1 exim -Mrm I have created a file called rm_frozen_msg.sh, gave it appropriate permissions and then installed it in my user crontab. Because it did not work I read the man and found out that I cannot run scripts as another (root) user. Therefore I edited /etc/crontab to instruct it to run the file daily. You shouldn't really edit /etc/crontab. Just add the job as the user root: $ sudo crontab -u root -e At first, it did not like sudo. As I was running it under user root anyway, I deleted sudo from the file. Then it complained about exiqgrep so I put the full path: /usr/local/sbin/ And yes, the crontab is quite finicky when it comes to paths. Do a man on it to read more: $ man 5 crontab But my question is why can I run the command sudo exiqgrep -i -z | sudo xargs -L 1 exim -Mrm from the command line but I cannot use it in a file with cron? Well, for one thing, sudo can ask for a password, and you won't be around to give it. For another, you'll need to give it the full path to sudo, or it won't even find it. And it won't find the other parts either. So you're just better off adding a root crontab job rather than hoping all these suod's will work. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports collection issue
Lane wrote: On Friday 27 October 2006 07:16, Roger 'Rocky' Vetterberg wrote: Lane wrote: Adrian, Use /usr/ports/net/cvsup-without-gui and create a cvsupfile. You can then selectively install src-all, src-contrib, ports-all and any of the various ports sub-trees that you need (but stick with ports-all). cvsup will get the proper Makefiles and whatnot for you. Email me if you need help setting that up. lane I would recommend using csup instead of cvsup. It has fewer dependencies, is very lightweight and works very well if you just want to occasionally checkout ports or src. I believe that csup is also part of the basesystem in newer releases. -- R OMG! I totally missed csup. Thanks for the tip! You might look into portsnap. I find it much easier and faster to use than c[v]sup: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/portsnap.html -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [EMAIL PROTECTED]: The results of your email commands]
Gary Kline wrote: Folks, how can I un-sub from the -queestions list that is sent to [EMAIL PROTECTED] when the mailer thinks I am NOT a Subscriber??? See my //HERE tag below Can't you unsubscribe via the web interface: http://lists.freebsd.org/mailman/listinfo/freebsd-questions -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's using the disk so much?
Patrik Jansson wrote: Hi, vmstat reports that quite a few processes are waiting for io (disk access) so I ran gstat to see how much the drive is working and it says more or less 100% constantly. How can I determine which process (if it's mostly one single process) is using the disk so much? top says the CPU is mostly idle. Check out the port sysutils/lsof -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rm command problem
DAve wrote: Efren Bravo wrote: Hi, Accidentally I've created a file called -exclude and now I cann't delete it. I tried with: rm -exclude and rm *exclude but it returns this: rm: illegal option -- - usage: rm [-f | -i] [-dIPRrvW] file ... unlink file How can I delete it? You have probably found that anything you try errors because the shell thinks -e is a switch. The easiest way is to find the files inode number and delete the file using that. director# ls -i 107008 .bash_history107760 .login 107759 .mail_aliases 107764 .profile 107765 .shrc 107758 .cshrc 107761 .login_conf 107762 .mailrc 107763 .rhosts then use find to remove the file. director# find . -inum 107763 -exec rm -i {} \; remove ./.rhosts? y Well, that was fun! I was wondering just how many different ways people could come up with deleting the file, but this one has to be crowned the winner of the all important Most Obscure Solution :-) To delete something based upon the inode - fantastic! -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why csh on Root?
Martin McCormick wrote: Is there any particular reason why FreeBSD has csh as the default root shell? Nothing really wrong with it except that I The stock answer is that bash is not guaranteed to be available, as it is neither in the standard installation package, nor is it on the / partition. After you have installed it, it will go in the /usr path, which is often a separate partition. If that gets corrupted, and you've changed your root shell to be /usr/local/bin/bash, you won't be able to login as root! Even if you were to copy it to /bin, there might be other dependencies that won't be available. There was a recent thread here that talked about how to work around this. Personally, I just type 'bash' as the first thing when I login as root in single user mode. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with USB Palm sync
Damian Wiest wrote: Here's what works for me on my FreeBSD 6.1 (x86) laptop and OpenBSD 3.9 (x86) workstation: To use pilot-xfer to sync your Palm device 1. Connect cradle to system via USB port 2. Press the sync button 3. Execute sudo pilot-xfer -p /dev/ttyU0 -s PalmDir where PalmDir is the location of your Palm data. 4. Files are transferred from the Palm device To use jpilot to sync your Palm device: 1. Execute sudo jpilot 2. Select the File-Preferences menu 3. Select the Settings tab 4. Change the serial port setting to /dev/ttyU0 5. Press the hotsync button on your cradle (or use the HotSync app.) 6. Press the sync button in J-Pilot 7. Palm device is synced I find that I have better luck pressing sync on my device before running pilot-xfer or using J-Pilot's sync feature. If you do it the other way around and aren't quick enough, the /dev/ttyU0 device won't be available and the application won't retry opening it. Thanks for all your help here! When I first read this, I said to myself that it wouldn't help, that I've tried all these various permutations. Imagine my surprise when it *did* work! I will post a complete followup on my blog, but I did have to load the 'uvisor' driver to get this process to work: # kldload uvisor Which I'm sure I played with before, but now it works. Now I am just struggling to get my Palm, which was recently hard-reset, back to where it was a few months ago. I have the data on my hard drive, but I can't seem to figure out the magical incantation to move it over to the Palm. It is in JPilot, but I haven't quite gotten that to work smoothly. I know I shouldn't be running the apps as root, but I haven't bothered to configure /etc/devd.conf and /etc/devfs.rules on my laptop. I've played with this a bit and it is a little weird. Again, I hope to have a full report on my blog some day real soon. And thanks for your (and Anish's) help. Learned a lot about run-time devices! -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with USB Palm sync
Anish Mistry wrote: On Tuesday 17 October 2006 23:22, Jonathan Arnold wrote: Anish Mistry wrote: On Tuesday 17 October 2006 16:29, Jonathan Arnold wrote: Has anyone had any luck using pilot-link to sync JPilot to a Palm device via the USB? I'm trying to sync my Handspring Visor and it just doesn't seem to be noticing it. I have the following in my /dev/usbd.conf file: First you shouldn't be using usbd.conf. You should be using devd.conf and devfs.rules. Disable usbd. Add to devd.conf: attach 0 { device-name ugen[0-9]+; match vendor 0x082d; match product 0x0100; match release 0x0100; action /usr/local/sbin/pilot-sync-ugen.sh $device-name; }; Setup devfs.rules if you have yet to do it: http://am-productions.biz/docs/devfs.rules.php Add your user to the operator group or change the mode to 0666 below. Add to devfs.rules: add path 'ugen*' group operator add path 'ugen*' mode 0660 In /usr/local/sbin/pilot-sync-ugen.sh: #!/bin/sh # JPILOT=/usr/X11R6/bin/jpilot-sync JPILOT_USER=your_username_here export JPILOT_HOME=/home/$JPILOT_USER PILOTPORT=usb:/dev/$1 COMMAND=`echo $JPILOT -p $PILOTPORT -b` # run command ie. (sync) /usr/bin/su $JPILOT_USER -c $COMMAND Thanks, this seems to work a little better. Now, when I hit the Hot Sync button on the cradle, I get the feedback that there's a connection and it says Identifying user on the Visor, but it just hangs there and eventually gives up. If I comment out the action and try it from the commandline, pilot-xfer says Listening for incoming connection on usb:/dev/ugen0... . It seems to me that both are waiting for the other to initiate something. ugen0 doesn't get created until I hit the HotSync button, but the pilot-link stuff seems to be waiting for that to happen again? You'll need to install the user: # install pilot-link username COMMAND=`echo /usr/local/bin/install-user -p $PILOTPORT -u $JPILOT_USER -i 1001` I thought it might be something like this, so I played quite a bit last night trying to get this command to work, but still no joy in mudville. I replaced the jpilot-sync COMMAND line with the install-user one, but it still does the same thing. I press the hot sync button, I get the confirmation that a connection was made from the Visor, but both ends just sit there at that point. I feel like I'm ever so close and am just missing one tweak to push it over into usability. BTW, what is the 'uvisor' driver for? Should I be trying to use this one instead of the 'ugen', which is the generic interface? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing and upgrading ports
Eric wrote: i find portmaster all. give it a whirl. No dependencies, its actively maintained, etc. Oh, yeah, I'd forgotten about that one. So there are three competing technologies - portupgrade, portmaster, and portmanage. And I'm not even sure what any of them offer over the simple 'make install clean' method. Doesn't the make method also take care of dependencies? All of them have a raft of options, most of which make me dizzy:-) I've been using portmanage, but only because the syntax is real easy. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE Control Center
Rem P Roberti wrote: When I bring up the Control Center in KDE the left column is now blank, and I have no options for changing preferences. Anyone know what happened there? Everything else seems to be functioning fine. Same with me, only worse - my KDE menu in general got messed up and lots of things got moved to the Lost Found item! I think it had to do with a kdelib upgrade or something. But I'm still looking for a way to restore my menu and my control center. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installing and upgrading ports
I'm confused - what is sort of the consensus pick for best port tool? Usually, I just cd /usr/ports// and do a 'make install clean', but I've also tried portmanager and portupgrade, but I'm not sure when to prefer one to another. Should I stick with one? Will mixing matching confuse things? portupgrade seems to take a lot longer than portmanager. And where does the pkgdb command fit in? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with USB Palm sync
Has anyone had any luck using pilot-link to sync JPilot to a Palm device via the USB? I'm trying to sync my Handspring Visor and it just doesn't seem to be noticing it. I have the following in my /dev/usbd.conf file: device Handspring Visor devname ugen[0-9]+ vendor 0x082d product 0x0100 release 0x0100 attach chmod 0666 /dev/ugen* as per the code that was in there for the coldsync. When I press the sync button on the cradle, these devices show up: crw-rw-rw- 1 root operator0, 181 Oct 17 13:45 /dev/ugen0 crw-rw-rw- 1 root operator0, 182 Oct 17 13:45 /dev/ugen0.1 crw-rw-rw- 1 root operator0, 183 Oct 17 13:45 /dev/ugen0.2 And the following shows up in my dmesg: ugen0: Handspring Inc Handspring Visor, rev 1.00/1.00, addr 5 ugen0: at uhub6 port 4 (addr 5) disconnected All threads purged from ugen0.2 All threads purged from ugen0.1 All threads purged from ugen0 ugen0: detached But the pilot-link command fails immediately: $ pilot-xfer -p /dev/ugen0 -l Unable to bind to port: /dev/ugen0 Please use --help for more information Any ideas? I've googled all over the place, but I only see similiar questions. And the FreeBSD.README on the pilot-link web site seems to be misleading at best. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with USB Palm sync
Damian Wiest wrote: On Tue, Oct 17, 2006 at 04:29:49PM -0400, Jonathan Arnold wrote: Has anyone had any luck using pilot-link to sync JPilot to a Palm device via the USB? I'm trying to sync my Handspring Visor and it just doesn't seem to be noticing it. I have the following in my /dev/usbd.conf file: device Handspring Visor devname ugen[0-9]+ vendor 0x082d product 0x0100 release 0x0100 attach chmod 0666 /dev/ugen* as per the code that was in there for the coldsync. When I press the sync button on the cradle, these devices show up: crw-rw-rw- 1 root operator0, 181 Oct 17 13:45 /dev/ugen0 crw-rw-rw- 1 root operator0, 182 Oct 17 13:45 /dev/ugen0.1 crw-rw-rw- 1 root operator0, 183 Oct 17 13:45 /dev/ugen0.2 And the following shows up in my dmesg: ugen0: Handspring Inc Handspring Visor, rev 1.00/1.00, addr 5 ugen0: at uhub6 port 4 (addr 5) disconnected All threads purged from ugen0.2 All threads purged from ugen0.1 All threads purged from ugen0 ugen0: detached But the pilot-link command fails immediately: $ pilot-xfer -p /dev/ugen0 -l Unable to bind to port: /dev/ugen0 Please use --help for more information Any ideas? I've googled all over the place, but I only see similiar questions. And the FreeBSD.README on the pilot-link web site seems to be misleading at best. I've had success syncing my Palm OS based phone (SPH-i500 FWIW) to my laptop using jpilot with a USB connection. Glad to hear it works for someone! What FreeBSD are you using? I'm using 6.1 (via PC-BSD 1.2). Do you have permissions to access /dev/ugen0? Yes, due to the attach command, which I added myself after much googling. It gives me: -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with USB Palm sync
(hope this isn't a double post:-( Damian Wiest wrote: On Tue, Oct 17, 2006 at 04:29:49PM -0400, Jonathan Arnold wrote: Has anyone had any luck using pilot-link to sync JPilot to a Palm device via the USB? I'm trying to sync my Handspring Visor and it just doesn't seem to be noticing it. I have the following in my /dev/usbd.conf file: device Handspring Visor devname ugen[0-9]+ vendor 0x082d product 0x0100 release 0x0100 attach chmod 0666 /dev/ugen* as per the code that was in there for the coldsync. When I press the sync button on the cradle, these devices show up: crw-rw-rw- 1 root operator0, 181 Oct 17 13:45 /dev/ugen0 crw-rw-rw- 1 root operator0, 182 Oct 17 13:45 /dev/ugen0.1 crw-rw-rw- 1 root operator0, 183 Oct 17 13:45 /dev/ugen0.2 And the following shows up in my dmesg: ugen0: Handspring Inc Handspring Visor, rev 1.00/1.00, addr 5 ugen0: at uhub6 port 4 (addr 5) disconnected All threads purged from ugen0.2 All threads purged from ugen0.1 All threads purged from ugen0 ugen0: detached But the pilot-link command fails immediately: $ pilot-xfer -p /dev/ugen0 -l Unable to bind to port: /dev/ugen0 Please use --help for more information Any ideas? I've googled all over the place, but I only see similiar questions. And the FreeBSD.README on the pilot-link web site seems to be misleading at best. I've had success syncing my Palm OS based phone (SPH-i500 FWIW) to my laptop using jpilot with a USB connection. Glad to hear someone has had success. What FreeBSD are you using? I'm using 6.1 (via PC-BSD 1.2). Do you have permissions to access /dev/ugen0? Yes: crw-rw-rw- 1 root operator0, 181 Oct 17 13:45 /dev/ugen0 But only because I added the 'attach chmod' command to usbd.conf: attach chmod 0666 /dev/ugen* Before, it was read-only. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with USB Palm sync
Anish Mistry wrote: On Tuesday 17 October 2006 16:29, Jonathan Arnold wrote: Has anyone had any luck using pilot-link to sync JPilot to a Palm device via the USB? I'm trying to sync my Handspring Visor and it just doesn't seem to be noticing it. I have the following in my /dev/usbd.conf file: First you shouldn't be using usbd.conf. You should be using devd.conf and devfs.rules. Disable usbd. Add to devd.conf: attach 0 { device-name ugen[0-9]+; match vendor 0x082d; match product 0x0100; match release 0x0100; action /usr/local/sbin/pilot-sync-ugen.sh $device-name; }; Setup devfs.rules if you have yet to do it: http://am-productions.biz/docs/devfs.rules.php Add your user to the operator group or change the mode to 0666 below. Add to devfs.rules: add path 'ugen*' group operator add path 'ugen*' mode 0660 In /usr/local/sbin/pilot-sync-ugen.sh: #!/bin/sh # JPILOT=/usr/X11R6/bin/jpilot-sync JPILOT_USER=your_username_here export JPILOT_HOME=/home/$JPILOT_USER PILOTPORT=usb:/dev/$1 COMMAND=`echo $JPILOT -p $PILOTPORT -b` # run command ie. (sync) /usr/bin/su $JPILOT_USER -c $COMMAND Thanks, this seems to work a little better. Now, when I hit the Hot Sync button on the cradle, I get the feedback that there's a connection and it says Identifying user on the Visor, but it just hangs there and eventually gives up. If I comment out the action and try it from the commandline, pilot-xfer says Listening for incoming connection on usb:/dev/ugen0... . It seems to me that both are waiting for the other to initiate something. ugen0 doesn't get created until I hit the HotSync button, but the pilot-link stuff seems to be waiting for that to happen again? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual Monitor problems
Well, I didn't get much input here. How about if I generalize it a little bit? Is *anyone* currently running a late model ATI card with dual monitors? If so, could you post or email me your xorg.conf? -- Jonathan Arnold Daemon Dancing in the Dark, a FreeBSD blog: http://freebsd.amazingdev.com/blog ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dual Monitor problems
I'm using FreeBSD 6.1 (by way of PC-BSD 1.2) and I'm trying to get my ATI x850 card to work with dual monitors. I have the xorg.conf set up correctly (see my blog post on the long hard battle to get that beachhead secured here: http://freebsd.amazingdev.com/blog/archives/000744.html ) but now I've run into further resistance and I can't seem to work around it. Soon after I get running using the dual monitors, the whole machine just freezes. This always happens, and usually while KDE is putting up its tip dialog box. I've tried using a different window manager (like fluxbox) but that didn't seem to help. Soon after logging in, the whole machine freezes solid. Anything else I can try? What sorts of things can I tweak? I run just fine if I don't do that dual monitor thing. You can see more or less what my xorg.conf file looks like on my blog post. I don't see any errors anywhere, including Xorg.0.log or .xsession-errors, or anything else in /var/log. The whole machine just freezes up. -- Jonathan Arnold Daemon Dancing in the Dark, a FreeBSD blog: http://freebsd.amazingdev.com/blog ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Serious disk problems
My power supply died and now my root file system seems to be having major problems. I run fsck -y on it and after complaining about dozens of sectors having problems being read and Unexpected soft updates, fsck ends with: fsck_ufs: cannot alloc 3962308096 bytes for inoinfo Can anything be done about this? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Jiggle The Handle, a personal bloghttp://jiggle.anaze.us Some days, it's not even worth chewing through the restraints ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how do you install wx-config in FreeBSD?
bob self wrote: JD Arnold wrote: Thanks. Things are starting to work. Now that wx-config works a couple more questions have come up about wxgtk2. I tried building the penguin sample that comes with wxWidgets. I get a link warning: /usr/bin/ld: warning: libm.so.3, needed by /usr/X11R6/lib/libGL.so.1, not found (try using -rpath or -rpath-link) When I try to run it, I get: /libexec/ld-elf.so.1: Shared object libm.so.3 not found, required by libGL.so.1 How do I fix this problem? All of my ports are supposed to be up-to-date. If I do a locate on libm.so.3, I see it in /usr/local/lib/compat. I see that the one in /usr/lib is libm.so.4. I don't know anything about either of these. That's why it is saying to use the -rpath option, to add /usr/local/lib/compat to your ld search path. You're probably pushing the envelope here, working with multimedia controls. You might try asking on the wxWidgets mailing list for more specific wxWidgets help. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Jiggle The Handle, a personal bloghttp://jiggle.anaze.us Procrastination is the art of keeping up with yesterday. - Don Marquis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: C++ compile error
David Miao wrote: On 12/16/05, Nathan Vidican [EMAIL PROTECTED] wrote: David Miao wrote: Dear list, I try to compile a hello world C++ program in FreeBSD 6.0, but get an error as below: [EMAIL PROTECTED] ~/cpp]% CC -o hello hello.C hello.C: In function `int main()': hello.C:5: error: `cout' undeclared (first use this function) hello.C:5: error: (Each undeclared identifier is reported only once for each function it appears in.) hello.C:5: error: `endl' undeclared (first use this function) I noticed that iostream file is located in /usr/include/c++/3.4/iostream, I guess my CC compiler cannot find this head file. Is it true? And how can I fix this problem? Your advice is appreciated. Thanks in advance. ==quote of hello world code== #include iostream int main() { cout Hello World! endl; return 0; } == end of quote== Regards, David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Also, noticed your code is flawed, you never used a namespace, nor explicitly stated one. cout is part of the 'std' namespace, so either ' using namespace std;' for global/local use of namespace, OR do 'std::cout ' instead. Try the hello.cpp I sent you in the last email, that one should work for ya :) -- Nathan Vidican [EMAIL PROTECTED] Windsor Match Plate Tool Ltd. http://www.wmptl.com/ Nathan, I'm learning c++ programming language by using The complete c++ training course - second edition (Harvey Deitel Paul Deitel), hello world is the first program in this book. I'm totally puzzled by this complex language when I compile my first program. Is this book out of date? No, Deitel and Deitel isn't too bad. If you are new to programming in general, I highly recommned C++ : A Dialog, by Steve Heller. He gradually takes someone along to learn programming with C++. In fact, the full text is available on his web site: http://www.steveheller.com/cppad/Output/dialogTOC.html -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question
John C. Bogard wrote: Root PW lost, need to access FBSD and am unable to now See my posting on the subject here: http://freebsd.amazingdev.com/blog/archives/99.html Also, search my site for other root password gotchas. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LiveCD on FreeBSD 5.x
[EMAIL PROTECTED] wrote: Hi, Does LiveCD work well with FBSD 5.x? If you're looking for a Live CD of FreeBSD, check out either the LiveCD list: http://www.frozentech.com/content/livecd.php Although it doesn't seem to show PC-BSD: http://www.pcbsd.org/ which, IIRC, is a live CD too. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nothing works
Timothy McLouth wrote: I also bought a book for $47 which is useless, the title is misleading...The design and implementation of FreeBSD Yeah, that's not the book for newbie help. I would recommend Greg Lehey's Complete FreeBSD (note: I helped proofread the book and got a free copy for it - but it's still a great book!). I also found FreeBSD Unleashed to be pretty solid as well. But my basic advice is to take a deep breath, take things step by step, and ask (nicely!) here if/when you have questions. Take a look at some web sites, as there are lots of them out there with helpful advice. Check out BSDForums.org for even more help. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing sqlite and pysqlite in home directory
Shahthureen Khan wrote: Hi, I am newbie to unix/FreeBSD. I want to install sqlite and pysqlite on my home directory of my FreeBSD shell account (they usually only allow person programs to installed there). I have got the files from FreeBSD ports and unpacked them. However, I can't seem to figure out how to get install in my home directory instead of trying to go to /var/db/ports/sqlite3 and asking to switch to root. I have been searching google for few hours and haven't found anything too useful. Any help would be appericiated. At least for sqlite, there really isn't much to install. Just do a normal make and copy three files to whereever you want them. The three files are libsqlite3.a, sqlite3.h and sqlite3. That's it! -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Invoking rc.conf changes w/o rebooting
I just upgraded webmin and it says it now needs : webmin_enable=yes in the rc.conf. Do I need to reboot in order to have this take effect, or is there some way I can get the same effect without rebooting? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Invoking rc.conf changes w/o rebooting
walker, mick wrote: Adi Pircalabu mailto:[EMAIL PROTECTED] scribbled on 17 June 2005 13:57: On Fri, 17 Jun 2005 14:50:23 +0100 walker, mick [EMAIL PROTECTED] wrote: You can drop to ren level 1 using the command init 1. No, there is no need for such an action. A simple entry as the one listed in pkg-message is enough to set up webmin for starting at boot time and run time. Cheers [Sorry forgot to copy the list in] Thanks I stand corrected. However this did not work for me for some reason, after installing sasl authd, however my previously mentioned method did. Yes, same here for my webmin. I added it to the rc.conf and then tried to use it and webmin wouldn't work. I rebooted and all was well. Good test for rebooting remotely anway. Thanks for everyone's help over the last couple of days. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Remote server warnings
I'm going to be moving my server to a remote site, where I'll only be able to ssh to it for any kind of service. It has been local, hooked up via a KVM switch, so it will be a new setup for me. What sorts of problems should I keep an eye out for? What kind of setup should I have? I've turned on ssh. What else should I do? How hard will it be to update my system remotely? Thanks in advance for any help you can provide. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote server warnings
John Brooks wrote: might be good to make sure you can actually ssh into the box before you move it, Thanks for the quick response. I've done this - in fact, I'm updateing to 4.10 as we speak via SSH with my box still local. make sure root logins are not permitted in sshd_config, If I do this, how do I do root stuff? Login as myself and use su? make sure the daily reports will be emailed to you Ahh, good idea. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: .iso
bertybadboy wrote: Which .iso files do i download and burn onto a cd? I was all set with a big explanation of what the ISOs were, and to complain that there wasn't a nice, easy to find, concise description in the handbook, when I actually looked for it and found it with no problem. The place to start, of course, when installing FreeBSD is Chapter Two in the handbook, entitled, appropriately enough, Installing FreeBSD: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html As part of section 2.2, Pre-installation Tasks, there is section 2.2.6 Obtain the FreeBSD Installation Files. And it points you to section 2.13 Preparing Your Own Installation Media: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-media.html And that has an excellent and concise description of the ISO files. The gist of that is you should download the -miniinst version (not the -mini version as described in the handbook) if you have a fast internet connection and want to install the packages online, or the -disc1 version if you want to have a CD with it prepackage. The biggest advantage to using the miniinst version is that you are sure to get the latest version of the package, while the -disc1 version is what was available when the ISO was created. Hope this helps. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot manager
Teilhard Knight wrote: Could you recommend a good boot manager, please? I mean, to boot several OSs, but not relying on Lilo. Not Xosl, because it doesn't work together with a Drive Overlay. I used to use System Commander, but have found the last few releases to be very unreliable, so I've since moved to BootIt NG, from Terabyte: http://www.terabyteunlimited.com/bootitng.html and have been very happy with it. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Setting up network
Something I've never been able to figure out. When installing a new machine, and you come to the Network Configuration dialog, what do you put in for the Host: and Domain: if it is a machine on an internal network (ie., 192.168.1.149)? Does it matter? Just give it a simple hostname and be done with it? Make something up? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
php5 problems
Well, I don't know where to begin, but my server, which has been running hands-off for months, is giving me fits now since I rebooted. Let's start with the most obvious problem - after installing php5 and php5-extenstions, I get a core dumped if I type: $ php And I think, by extension, I get a core dumped now if I try to run my apache1.3 :-( I've tried many many many permutations on install, deinstall, reinstall, but php dies. Googling a little, I see a bunch of complaints about this v5.0.2 release of PHP. Is this my problem? I turned on most extentions. Maybe I should go back and turn on only the ones I know I want? Thanks for any help or suggestions you might have. My server has been down for two days now, and there seems to be no hope in the horizon. -- Jonathan Arnoldmailto:[EMAIL PROTECTED] SimBase: http://www.iSimulacrum.com/GamesDB.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Perforce Repository
Marc UBM Bocklet wrote: (a long time ago!) Can anybody enlighten me on how to access / browse the p4 repository? On google I found two messages claiming that I could access / browse it via perforce.freebsd.org, but that doesn't seem to work anymore. I installed p4(1) from ports, studied the man page and tried p4 perforce.freebsd.org and p4 -H perforce.freebsd.org, but that did not work either, it fails with: Perforce is a tricky beast, and you need to set up P4PORT. You can also just browse it via the web: http://perforce.freebsd.org That worked for me this morning. P4PORT needs to be set to 'perforce.freebsd.org:1666'. And then you need to set up a client view for the project you are interested, which would look something like: //depot/projects/kgi4bsd/... //clientdir/... See the quick start doc on Perforce.com for more info. And I don't see the kgi4bsd project on the FreeBSD depot either. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
install problem
I downloaded the ISO from LiveBSD that installs 5.2.1: http://www.livebsd.com/livedesktop/ And I'm having problem when trying to boot the CD-ROM. I get the following errors, after it loads for a while: Mounting root from cd9660:acd0 setrootbyname failed iso_mountroot: can't find bootvp Root mount failed: 6 And then I get put into this : Manual root file specification: And it asks me for a partition to boot. Any ideas what could be going wrong? Is the ISO broken? There's nothing too weird about the computer. The CDROM drive is the secondary Master. There's a tape drive that is the secondary slave, while the 80gb hard drive is the primary master. It's a pretty vanilla setup - an 800mhz Intel chip on an ASUS motherboard. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Missing Port
Robert Huff wrote: Kevin D. Kinsey, DaleCo, S.P. writes: I am tring to install mrtg on my test FreeBSD 5.1 box. I change into my /usr/ports/net/mrtg directory and find that there is only a README.html /usr/ports/net-mgmt/mrtg In such cases, it is often useful to check /usr/ports/MOVED. Or just use the search command: $ make search name=mrtg Port: mrtg-ping-probe-2.2.0 Path: /usr/ports/net/mrtg-ping-probe Info: A Round Trip Time and Packet Loss Probe for MRTG Maint: [EMAIL PROTECTED] Index: net B-deps: R-deps: freetype2-2.1.7_3 gd-2.0.22,1 jpeg-6b_2 mrtg-2.10.13,1 p5-File-Spec-0.86 p5-IO-INET6-2.01 p5-PodParser-1.26 p5-SNMP_Session-1.03 p5-Socket6-0.17 png-1.2.5_3 Port: mrtg-2.10.13,1 Path: /usr/ports/net-mgmt/mrtg Info: The multi-router traffic grapher Maint: [EMAIL PROTECTED] Index: net-mgmt ipv6 B-deps: freetype2-2.1.7_3 gd-2.0.22,1 jpeg-6b_2 png-1.2.5_3 R-deps: freetype2-2.1.7_3 gd-2.0.22,1 jpeg-6b_2 p5-File-Spec-0.86 p5-IO-INET6-2.01 p5-PodParser-1.26 p5-SNMP_Session-1.03 p5-Socket6-0.17 png-1.2.5_3 -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ftp server
dave wrote: Hello, I've got a 4.9 system and i'm out looking for an ftp server for it as i do not want to use the base server. I've heard good reviews of pure-ftpd, but I've had good luck with the very easy to use bftpd. You can check it out at http://www.bftpd.org and it is found in the ports: /usr/ports/ftp/bftpd- -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can I shrink an existing slice
Tadimeti Keshav wrote: I know this might not be possible; but can I shrink a freeBSD slice to make room for linux? There's lots of partitioning utilities that will do this for you. Most run under Windows. I've often used Powerquest's (now Symantec, I guess) Partition Magic. There's even a few freeware ones out there, but that's a little scarey for me! -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: When I'm all done..
Mark wrote: For a small 'emergency' disk, I'd like to remove those directories, after the 4.9R install has fully completed. Can it be safely done? Or is anything needed, at runtime, from those directories? You have a couple of options for creating small emergency disks: 1] The Live CD is precisely for that - booting from in an emergency. 2] See the following entries on my blog for links to small distros: http://freebsd.amazingdev.com/blog/archives/37.html http://freebsd.amazingdev.com/blog/archives/28.html And PicoBSD, a 3.0 FreeBSD that can be put on a single floppy! http://freebsd.amazingdev.com/blog/archives/43.html -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DMA limited to UDMA33, non-ATA66 cable or device
Me wrote: --- When I try to change to udma100 --- atacontrol mode 0 udma100 biosdma Master = UDMA33 Slave = BIOSPIO - console output after i use atacontrol - ad0: DMA limited to UDMA33, non-ATA66 cable or device What does : $ atacontrol list say? It sure looks like you have a PIO device on the same cable as your UDMA hard drive. And are you sure you have a UDMA 100 cable? It should have a blue female plug for the motherboard side. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KVM Switches
Ron wrote: Need information on how to get a KVM switch to work with the FreeBSD mouse driver. The Monitor and keyboard work fine but I have to hook a mouse directly to the box for it to work. This is a problem that has been talked about in the past on this mailing list. Try searching the archives for some ideas. I remember when I first installed FreeBSD 4.0, I had problems with my KVM switch and the mouse. But I'm not sure if they are fixed or not, as I don't use X any more on my server, so I don't bother with the mouse at all. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.2.1 compiling error
Kris Kennaway wrote: On Wed, Mar 31, 2004 at 09:57:14PM -0300, j.c.f. wrote: greetings, below is the compiling error and attached is the kernel config. I've tried several times. GENERIC compiles without a hitch. any help is appreciated. thank you, karma compile stops at vesa: -warn-common -o vesa.ko vesa.kld 1 error *** Error code 2 That doesn't show the error. You truncated too much, and it looks like you're building with make -j, which obscures the error message. Rerun without -j and include more context. And if you are building with make -j, don't. It isn't officially supported and I've found on the rare times I've tried to use it, that it creates more headaches than it solves. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports/CD images?
Igor Skalski wrote: I would like to try to install FreeBSD on my home computer wchich is not connected to the Internet. In my opinion the most important aspect of using free software in such a conditions is possessing whole set of CD's containing both most important programs and source code. I can not find on the Internet CD images containing ports and sources. Are they available anywhere? I am not intend to buy the CD set - at least before trying the system. You're right, I don't see any CD image available online that contains all the packages, which is a little surprising. However, CDs containing lots of the packages are available very cheaply. I just checked http://www.cheapbytes.com , and they have 4 6 CD sets available for as low as US$6. So you might invest in one of those. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make options
Tadimeti Keshav wrote: I am trying to install some ports. But I do not know the various options we can specify during make such as WITH_GUI=yes How can I know them for a given port? As mentioned, one place is the Makefile found in the ports directory. But there's lots of other more general places too. I've slowly been discovering them and adding pointers to them in my web blog. Search on port makefile on my blog to get two entries. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cron job without emailing errors to root?
[EMAIL PROTECTED] wrote: A quick question-- I run MRTG for many boxes on my network at five minute intervals, and I am seeing massive amounts of email filling up roots inbox due to boxes that are currently offline for the night or something. What I am wondering is, is if there is a way to still have the entries in me /etc/crontab to run MRTG at 5 minute intervals without having any output emailed out. can i make it come out to concole instead? anything to get it from emailing would be great as I am seeing ~2000 messages a day :/ Here's a little note I wrote in my blog about making a cron job *not* send you email: http://freebsd.amazingdev.com/blog/archives/000125.html -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simple file count question
Dave Carrera wrote: I know this is going to be simple but I cant find a suitable answer by trawling the web so I ask how do I count the number of certain files in a directory? So I am in my dir and want to count how many files begin with db and show me the number. I hope you can help me and thank you in advance for any help you may give As you can see, the key command is 'wc'. It's a nice, simple little command that does one thing and one thing well - it counts words. If you don't give it any flags, it tells you the number of lines, words, and bytes. Using -l will count the number of lines. So you pipe the output of a command to it and it will count stuff for you. Thus: $ ls db* |wc -l will give you a single number telling you the number of lines in its input; in this case, the input is the output of 'ls db*', which is a simple listing of all the files in the current directory beginning with 'db'. Thus, you get a count of the number of files in the directory that begin with db. A very typical Un*x way of doing things - string together building block commands to get your output. Flexbile if arcane. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended GUI manager for MYSQL
Gareth Bailey wrote: Can anyone recommend a good GUI manager for MYSQL? In addition to the earlier mentioned ones, WebMin can manage MySQL, as well as pretty much everything else on FreeBSD: http://freebsd.amazingdev.com/blog/archives/64.html -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Amazing Developments http://www.buddydog.org Genius may have its limitations, but stupidity is not thus handicapped. -- Elbert Hubbard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade: uninstall error ???
I am seeing many uninstall errors lately when I do a portupgrade (particularily with Gnome). Of course one can manually # make deinstall make reinstall but this is becoming a bit tiresome. So I would like to know what is the reason of these errors: One should think either a port is out of date and will be updated by portupgrade or it isn't, shouldn't one? Have you done the UPDATING process on portupgrade? If not, you should read and follow the advice in /usr/ports/UPDATING to upgarde portupgrade (and ruby). -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GUI for user authentication
Cookski - RR wrote: My company is moving to our web services Verio which uses FreeBSD on their servers. They do not provide a GUI for securing directories from unauthorized access (htaccess). Is there a GUI application that you recommend or that is preferred by the FreeBSD community? I'm not sure what you are looking for. Do you want a way to easily create a .htaccess file that you can upload to your web folders? Or are you saying that Verio doesn't enable .htaccess at all? If the former, it is pretty easy to build one by hand. Here's a little page that will generate the username/password entry for you: http://www.e2.u-net.com/htaccess/make.htm -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ruby1.8 segmentation fault
[EMAIL PROTECTED] wrote: Hi BSDers, I read the ports/UPDATING about ruby stuff and do accordingly, after reinstall portupgrade, I did portupgrade -fr /usr/ports/land/ruby16 and here it goes: [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 435 packages found (-22 +61) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:467: [BUG] Segmentation fault ruby 1.8.1 (2003-12-25) [i386-freebsd4] Abort (core dumped) dont' have the balls the mess with this stuff, so...any idea? I assume you did the first step in UPDATING and did the pkg_delete step, right? If so, you might try fixing up your package database, with pkgdb -F. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: latest security advisory and 5.1R
fbsd_user wrote: Are the security advisory fixes rolled into the .iso ftp download images? You can grab ISO of the latest build from here: http://snapshots.jp.freebsd.org/ At least, you used to be able to. Not sure exactly how up to date they are. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipfw rules
RYAN vAN GINNEKEN wrote: I know this has probably been posted 1000's of times but i would like to set up a ipfw firewall i run many services on this machine. It acts as a gateway for my network APACHE web server IMAP mail server SMTP mail server BIND name server FTP server also i would like to be able to forward packets to a machine on my network for VNC and also gaming purposes. Just interested in where to find some good rules sets and documentation on the subject Here's a page that contains a long list of links posted by someone on this list: http://freebsd.amazingdev.com/blog/archives/000112.html -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UDMA error
RYAN vAN GINNEKEN wrote: I run FreeBSD 4.9 and keep getting this message in my dmesg both the cable and the drive are cable of UDMA 100 at least and the board is a newer Intel 865 chip set. Do i have to configure something in my kernel or what?? ad0: DMA limited to UDMA33, non-ATA66 cable or device ad0: 38204MB SAMSUNG SP0411N [77622/16/63] at ata0-master UDMA33 acd0: CD-RW HL-DT-ST GCE-8525B at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a We were talking about this very thing not too long ago on this list. Some have claimed this can happen if you: a] Plug the cable in backwards - ie., the end with the single plug should go into the motherboard and the end that has the two plugs closer together should go into the drives. b] Plug the wrong one of the two that are closer together into the driver. So I'd say try pulling out the cable and plugging it back in in a different way. Another thing to be sure of is that you have the UDMA 100 cable; ie, one end should have a blue connector and that end should go into the motherboard. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using ipfw
Karan Gupta wrote: Newbie here so pls excuse if this question sounds trivial Here's a bunch of links posted to questions a little while ago for ipfw help: http://freebsd.amazingdev.com/blog/archives/000112.html -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hard disc space availble? Hard drive size
[EMAIL PROTECTED] wrote: How do I free up save on my Hard disc. A good place to start is to figure out what files are hogging up all of your disk space. Use the 'du' command for that. See the short entry I have on my blog for how to use it effectively: http://freebsd.amazingdev.com/blog/archives/000109.html -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVSUP and the refuse file
I then put the refuse file in /usr/sup with the ports I don't want downloaded. Yet, they continue to be downloaded. What does your refuse file look like? Here's mine, so I don't download a lot of the foreign language ports: $ cat /usr/sup/refuse *ports/chinese* *ports/french* *ports/german* *ports/hebrew* *ports/japanese* *ports/korean* *ports/russian* *ports/ukrainian* *ports/vietnamese* *ports/arabic* This seems to work for me. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why would drive run at UDMA33? (Segate 80GB)
(Still going through some old messages, but this thread had some misconceptions and myths that I'd like to straighten out): ATA channel 0: Master: ad0 ST380021A/3.19 ATA/ATAPI rev 5 Slave: acd0 CD-RW 24X10X40/Y.IW ATA/ATAPI rev 0 ATA channel 1: Master: ad2 ST380011A/3.06 ATA/ATAPI rev 6 Slave: no device present Here is your problem. On channel 0 You have an UDMA100 disk and an UDMA33 cd-rw. The motherboard IDE controller steps down the speed to the speed of the slowest device. You have to move the cd-rw device This is not true. With today's computers, all disks will operate at their highest speed, not matter what other device they are paired with. Their transfer rate may be slowed down if *both* devices are accessed at the exact same time, but that's nothing to worry about generally. So just because you have a CD-ROM and an UDMA100 disk on the same channel, it doesn't mean the UDMA100 disk will be slowed in nearly any noticable fashion. Also mentioned in this thread was something about the cable being connected backwards. There is no motherboard and disk connecting direction in an IDE cable, be it a reguler one or a UDMA 100 one. Cables are made to be a little more convenient if you hook them up the right way (with two connectors closer together at one end), but it has no bearing on the speed or the UDMA detected. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why would drive run at UDMA33? (Segate 80GB)
JJB wrote: This is not true. With today's computers, all disks will operate at their highest speed, not matter what other device they are paired with. Their transfer rate may be slowed down if *both* devices are accessed at the exact same time, but that's nothing to worry about generally. So just because you have a CD-ROM and an UDMA100 disk on the same channel, it doesn't mean the UDMA100 disk will be slowed in nearly any noticable fashion. I have an PC with mfg date of 5/2003 and the motherboard manually has warning note about separating the cdrom drive to the secondary IDE controller because it will force the IDE controller to step down the max speed to the slowest device. This was not only for cdrom drives but also mixing UDMA100 and UDMA66 and UDMA33 disk on any IDE controller. IDE max controller speed is set by bios at boot time after the probe post process completes. So just exactly what time period are you referencing by With today's computers? DO you work for Bios chip manufacture, or write the FBSD bios's boot probe code? What is your technical background to make such an authoritative statement in light of so much information to the contrary? All you need to do is to Google for hard drive cd-rom myth and you'll get plenty of places that explain this. I guarantee you that a UDMA100 drive won't be set at PIO4 just because there's a CD-ROM drive on the same channel. Your manual is probably talking about exactly what I said - if both devices are accessed at the same time, the transfer will occur at the slower rate. But that does not mean either the bios or FreeBSD doesn't know that a UDMA100 drive is out there. In fact, my FreeBSD has both a UDMA66 and 100 on it, and FreeBSD knows all about the two. And if you are just getting stuff from the hard drive (which is probably 95+% of the time), then you have a perfectly functioning UDMA100 drive. second device to the ribbon. Now if the devices are jumper as master and slave it does make an difference which of the 2 closely spaced nipples are used as the nipples have default meanings. And I believe I don't think this is true either. I've hooked up a lot of drives in my time, and I've never seen this. And no build it yourself guide that I was able to find on the 'net mentioned anything at all about which nipple to plug into the slave or master drive. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports files
My port hierarchy seems to have gotten out of date or something. It is missing some subdirectories, like multimedia, even though I run cvsup every other night on it. Can I just download the whole ports from : ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz and then just untar it into /usr/ports? And then cvsup should pick up updates that come after that? Or will I confuse cvsup? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports files
andrew clarke wrote: On Thu, Feb 12, 2004 at 08:09:25AM -0500, Jonathan Arnold wrote: My port hierarchy seems to have gotten out of date or something. It is missing some subdirectories, like multimedia, even though I run cvsup every other night on it. I had this problem too with /usr/ports/dns not being updated, even though ports-dns was listed in my ports-supfile. Switched to another cvsup server and all was well. Actually, looking at the cvsup file I was using, it didn't include the multimedia port. I created it awhile ago, and commented out the ports-all line, because I didn't want to get the Chinese or Japanese, etc, ports. But there doesn't seem to be an easy way to get everything but those. There is a 'refuse' file, but that is based upon the file name, and I'm not sure I want to refuse everything with, say, 'chinese' in its filename. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RSS/RDF feed reader
Michael L. Hostbaek wrote: What are people using as a RSS/RDF feed reader on FreeBSD ? I tried out Krss but I am not too happy with it, I like to know if there are some alternatives.. This was asked long ago (I'm slowly working my way through my -questions backlog!) and I'd like to suggest Bloglines, a web based RSS reader that works incredibly well: http://www.bloglines.com/ -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse
Alex de Kruijff wrote: On Fri, Oct 10, 2003 at 09:30:30AM +0800, Gil Agno Virtucio wrote: and thanks again for reading this email. I had previously written an email to you about my mouse problems. Everytime I try to run KDE, when I move the mouse the cursor moves to the upper right hand corner. I changed the protocol to AUTO in the configuration file as per the suggestions of the people who responded to my email but this did not help. I know that the mouse works(for sure). Could there be anything else that I need to change? The mouse is a PS/2 type. It even works(moves around properly) when I'm in the terminal interface screen. This is the way i've set it up: Relevant /etc/rc.conf: moused_flags=-a .4 # This allows you to fine tune the mouse moused_enable=YES moused_port=/dev/psm0 moused_type=auto Someone will certainly correct me if I'm wrong, but moused has *nothing* to do with the mouse in X. moused runs the mouse when you are in text mode, if you have vidcontrol set to do that. If you never run in text mode, you can safely remove 'moused' from your rc.conf. And don't bother fiddling with it to fix an X11 problem. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD blog: http://freebsd.amazingdev.com/blog ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Make buildworld failure
Charles Howse wrote: cd /usr/src make buildworld (drat, I should have done make -j4 buildworld!) Actually, no, don't do the -j4 - I think that's why it worked. I was fiddling with the -j flag once and ran into a bunch of problems, when it was pointed out that this isn't a supported way of doing a make buildworld. I stopped using it and all was well. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD blog: http://freebsd.amazingdev.com/blog ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Make buildworld failure
Charles Howse wrote: cd /usr/src make buildworld (drat, I should have done make -j4 buildworld!) Actually, no, don't do the -j4 - I think that's why it worked. I was fiddling with the -j flag once and ran into a bunch of problems, when it was pointed out that this isn't a supported way of doing a make buildworld. I stopped using it and all was well. Very interesting. On page 490 of FreeBSD Unleashed it references the -j4 parameter as a way to speed up the make buildworld process by spawning multiple simultaneous processes. The same thing is referenced in Chapter 20 of the FreeBSD Handbook. Is this now depreciated? In fact, FreeBSD Unleashed is where I first saw it, and got caught by it. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) http://www.TheWargamer.com || http://www.iSimulacrum.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bftpd throttles upload speed
I have bftpd set up so I can shuffle files around in my local network. When I download from it to my windows machine I get the normal 8000KBs but when I try to send files to it the speed drops to around 80KBs. I also have an I would try emailing the author. I've done it a few times and found him to be extremely responsive to questions. http://www.bftpd.org/ -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD blog: http://freebsd.amazingdev.com/blog ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re-building sendmail
For an excellent fix for sendmail see: http://www.postfix.org/ I'm actually thinking of going this route. Is the migration that difficult? Any special gotchas for someone who has been using the default sendmail stuff in FreeBSD? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Amazing Developments http://www.buddydog.org It ain't what you don't know that gets you into trouble. It's what you know for sure that just ain't so. Mark Twain ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: crontab root not found
I seem to be having some trouble with cron. I edited my crontab file and added a line then ran #crontab /etc/crontab Now my email box is full of cron root not found. Nonsense, I said, I am I'd say you should post the new line you added to cron. Sounds like you have the formatting incorrectlying, and it is trying to run a bogus command called either 'cron' or 'root'. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD blog: http://freebsd.amazingdev.com/blog ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spamassassin question [was Re: Do I have an open relay?]
All tests performed, no relays accepted. My access file only contains a list of domains I reject: Why not just not have one at all? As the top line says: ## Mail relay access control list. Default is to reject mail unless the ## destination is local, or listed in /etc/mail/sendmail.cw Well, my /etc/mail/access-sample says as listed in /etc/mail/local-host-names. So just don't have a /etc/mail/access, right? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD blog: http://freebsd.amazingdev.com/blog ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: creating ftp users!
How to create users for Ftp server(inetd)? You just use the 'adduser' command normally, to add a normal user. If they are just going to be doing ftp, you can use the /sbin/nologin for their shell, so they can't login. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD blog: http://freebsd.amazingdev.com/blog ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quick question please
i know this might be common question but id really like to know, why your logo is a small devil? please reply thanks. See: http://www.mckusick.com/beastie/index.html For the History of the BSD Daemon -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Amazing Developments http://www.buddydog.org It ain't what you don't know that gets you into trouble. It's what you know for sure that just ain't so. Mark Twain ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pkgdb -F
I'm trying to clean up my pkgdb, so I'm going to take it one step at a time. First, is there any useful documentation on this? The man page is rather sparse on how to answer the questions that pop up. For instance, when I run: $ pkgdb -F I get the following output to start with: --- Checking the package registry database Stale origin: 'multimedia/libmpeg2': perhaps moved or obsoleted. Skip this for now? [yes] no no Browse CVSweb for the port's history? [no] Guessing... no idea. Not in due form category/portname: Fixed. (- multimedia/libmpeg2) Stale dependency: p5-CGI-Application-2.3 - p5-Test-Harness-2.26 (devel/p5-Test-Harness): p5-Test-Simple-0.47 (score:53%) ? ([y]es/[n]o/[a]ll) [no] What does Stale origin mean and how do I get rid of it? What does Stale dependency mean and how do I get rid of it? I take it to mean in this case that p5-CGI-Application-2.3 depends on p5-Test-Harness-2.26, and the latter is missing? old? unknown? And I think it is trying to tell me that a possible replacement is p5-Test-Simple-0.47. How do I tell if it is correct? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD blog: http://freebsd.amazingdev.com/blog ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: perl version in -STABLE build
branch. Note, however, that on 4.x there's no problem with keeping 5.8 installed from ports, and the default system perl in its usual place. There's a nice mechanism installed for choosing between them at will. And that would be ... ? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Amazing Developments http://www.buddydog.org Health nuts are going to feel stupid someday, lying in hospitals dying of nothing. -- Redd Foxx To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Internet blocked out?
I can't seem to get to my server machine via the Internet, and I'm pretty sure it has been since I did a buildworld/buildkernel/installkernel just the other day. It's like I'm running ipfw with deny all set, or something, but I don't run a firewall, and I can get to the server from my local network (it has 2 NICs, one on the world and one local). uname -a FreeBSD amazingdev.com 4.7-RELEASE-p1 FreeBSD 4.7-RELEASE-p1 #1: Tue Nov 12 17:51:47 EST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BUBBLES i386 What should I check next? I can't finger the machine or ftp to it. I'm fairly certain my ISP (speakeasy.net) isn't blocking access to it. -- Jonathan Arnold (mailto:jdarnold;buddydog.org) Amazing Developments http://www.buddydog.org Health nuts are going to feel stupid someday, lying in hospitals dying of nothing. -- Redd Foxx To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Internet blocked out?
ifconfig_dc0=inet 66.92.76.224 netmask 255.255.255.0 ifconfig_dc1=DHCP defaultrouter=66.92.76.1 hostname=amazingdev.com If I comment out the ifconfig_dc1 line, all is well. It is DHCP because I have a Linksys router on my internal network, so it picks up the 192.168.* address just fine if it is in there. How can I get it so that the default NIC is the 66.92 one, not the 192.168 one? I tried switching the order of the lines in rc.conf but that doesn't help. It's my understand that if you have the router, you sould not have the second NIC installed. You need to route using the router setup methinks. Sorry, but I'm not exactly sure what you mean. Do you mean that if I set up a router on my FreeBSD machine (the router in my rc.conf is actually from Speakeasy.net), I could connect directly to the Internet via my NIC, and yet somehow allow access to/from my local, 192.168.* address? -- Jonathan Arnold (mailto:jdarnold;buddydog.org) Amazing Developments http://www.buddydog.org Health nuts are going to feel stupid someday, lying in hospitals dying of nothing. -- Redd Foxx To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Internet blocked out?
[rc.conf] ppp_nat=YES Thanks for the idea, but I don't use PPP and, according to the rc.conf in /etc/default, this is the default setting anyway. I've got it fixed, sort of. My machine has two NICs (one to the world and one to my internal network). It seems the NIC that all the servers are using is the internal one now, although up until this latest upgrade, it had been the one to the outside world. Here's my rc.conf lines: ifconfig_dc0=inet 66.92.76.224 netmask 255.255.255.0 ifconfig_dc1=DHCP defaultrouter=66.92.76.1 hostname=amazingdev.com If I comment out the ifconfig_dc1 line, all is well. It is DHCP because I have a Linksys router on my internal network, so it picks up the 192.168.* address just fine if it is in there. How can I get it so that the default NIC is the 66.92 one, not the 192.168 one? I tried switching the order of the lines in rc.conf but that doesn't help. -- Jonathan Arnold (mailto:jdarnold;buddydog.org) Amazing Developments http://www.buddydog.org Health nuts are going to feel stupid someday, lying in hospitals dying of nothing. -- Redd Foxx To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ADMTek AN983
I searched the archives for an answer to this question, and, although it has been asked a few times, I didn't see any answers, so I thought I would try again. In fact, someone a couple of months ago asked about the very same motherboard I have. I just picked up an MSI MS-6378 board, which has an onboard NIC. It is an ADMTek AN983. I moved my hard drive over from the old machine (fairly painless, just fixing up fstab), but when booting GENERIC, the NIC didn't work. It was recognized just fine, although I'm pretty sure the MAC address is wrong. It says it is 07:00:07:00:07:00. I added back the NIC I had in my old box (an Network Anywhere), that is, actually, the same kind of NIC, and all is well. I'd like to use the built in one to access my internal network now, though. Here's the appropriate dmesg output: dc0: ADMtek AN985 10/100BaseTX port 0xdc00-0xdcff mem 0xd800-0xd80003ff irq 10 at device 8.0 on pci0 dc0: Ethernet address: 00:04:5a:5a:fb:d2 miibus0: MII bus on dc0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc1: ADMtek AN985 10/100BaseTX port 0xe000-0xe0ff mem 0xd8001000-0xd80013ff irq 11 at device 15.0 on pci0 dc1: Ethernet address: 07:00:07:00:07:00 miibus1: MII bus on dc1 One thing to note is that USB the builtin NIC share IRQ 11. Does FBSD support that? And here's the current output of ifconfig: dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 66.92.76.224 netmask 0xff00 broadcast 66.92.76.255 inet6 fe80::204:5aff:fe5a:fbd2%dc0 prefixlen 64 scopeid 0x1 ether 00:04:5a:5a:fb:d2 media: Ethernet autoselect (100baseTX) status: active dc1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::204:5aff:fe5a:fbd2%dc1 prefixlen 64 scopeid 0x2 inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255 ether 07:00:07:00:07:00 media: Ethernet autoselect (100baseTX full-duplex) status: active dc0 is the working NIC, while dc1 is the builtin, non-functioning NIC. Is the full-duplex part wrong? It doesn't have an inet address in this output, but I've using ifconfig to assign one and it doesn't help. Like I said, the identical setup worked with the old NIC. -- Jonathan Arnold Software Engineer inSORS Integrated Communications, Inc [EMAIL PROTECTED] Office/fax: 781.391.2818 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: X will not start as root - need help
moused_enable=YES One thing to note is that you don't *need moused, even if you are using X. moused just gives you a mouse when you are in a text console (note, *not* a console in X, but rather a plain ol' console). So if you always just boot into X, you don't need moused. -- Jonathan Arnold (mailto:jdarnold;buddydog.org) The Incredible Brightness of Seeing, a Home Theater weblog http://www.anaze.us/HomeTheater To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Upgrading Computer
I just aquired a pent 300 and was currently using a pent 200. But I used a GENERIC kernel that came with the FreeBSD because I never new how to modify it at the time. Because I never changed the Kernel can't I just switch the hardrives and network cards? From reading the boot up process I don't think I don't think there should be a problem, but I too will be experimenting with this. I just ordered a new mobo and CPU (nothing cutting edge - a 1.6 AMD) to replace my old dual 333mhz system, and that's exactly what I planned to do. Reboot using the GENERIC kernel. BTW, assuming you have a reasonably fast Internet connection, rebuilding the kernel is nothing to be that scared of. There's plenty of great resources, and as long as you know how to select which kernel at boot time, and you save your currently working one with a known name, you can always get back up and running. Just to change subject a bit, one thing a lot of the resources say when you want to select which kernel to boot is to hit some key besides enter at the prompt. Then, at the ok prompt, just say boot theotherkernel. But when I try this, I get a Kernel has already been loaded message. I finally figured out to do an unload kernel to get around this, but I was wondering why I had to do this? -- Jonathan Arnold (mailto:jdarnold;buddydog.org) The Incredible Brightness of Seeing, a Home Theater weblog http://www.anaze.us/HomeTheater To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: phpMyAdmin directory (newbie question)
gives better results for this package. This will however run into the problem that the /usr/local/www/data-dist directory and contents will be deleted if you ever update your apache port. You're really meant to break the data - data-dist link and create your own /usr/local/www/data directory if you are going to install your own website: Yes, exactly Matthew. I've been meaning to post this, as I was truly bitten by it a few months ago. Upgrading the Apache port with completely remove the default data folder, *without any warning*. Poof - your entire site is gone. So don't use data-dist. -- Jonathan Arnold (mailto:jdarnold;buddydog.org) The Incredible Brightness of Seeing, a Home Theater weblog http://www.anaze.us/HomeTheater To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: CVSup world/ports
line in the example ports supfile - should I/we make that: *default release=cvs tag=RELENG_4_7 Don't do that. The ports tree is not branched and tagged in the same way as the system sources, and using a system tag there will only lead to wailing and gnashing of teeth. I did this and found it to be quite disturbing:-) I wondered where all my ports went! I was going to ask about it, but lo and behold, here's my answer. -- Jonathan Arnold (mailto:jdarnold;buddydog.org) The Incredible Brightness of Seeing, a Home Theater weblog http://jdarnold.tzo.com/HomeTheater To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Problems building libiconv
Well, I've got my machine up and running 4.7 - thanks to everyone for their help, esp. Mike Hogsett, who's instructions on upgrading are about as clear as you could hope for. Thanks for taking the time! Now, I'm in the process, like John Bleichert, of doing a portupgrade on things, and I've run into a problem. I can't seem to get libiconv (whatever that is!) to upgrade. Here's the tail end of the make. I can see why it is complaining, because there certainly isn't a './autoconf' in my /usr/ports directory. Just for giggles, I installed autoconf, but that didn't help. There is a ./autoconf/mkinstalldirs in the Work directory for libiconv-1.8, though. But I'm just doing a portupgrade... Ooops, wait a minute, let me check something out .. Yup, that's the problem. I was doing a: portupgrade -m -j10 libiconv Where the -m -j10 passes the -j10 to the make, which set the number of jobs make will try to do at one time. I read somewhere that if you have a multi-CPU machine like I do, to try it with -j10. It has worked up til now, but it seems to break the make for libiconv. Should I post this as a bug somewhere? It works fine without it. Cut here = test -f /usr/ports/converters/libiconv/work/libiconv-1.8/lib/charset.alias orig=/usr/ports/converters/libiconv/work/libiconv-1.8/lib/charset.alias || orig=charset.alias; sed -f ref-add.sed $orig /usr/ports/converters/libiconv/work/libiconv-1.8/lib/t-charset.alias; install -c -o root -g wheel -m 444 /usr/ports/converters/libiconv/work/libiconv-1.8/lib/t-charset.alias /usr/ports/converters/libiconv/work/libiconv-1.8/lib/charset.alias; rm -f /usr/ports/converters/libiconv/work/libiconv-1.8/lib/t-charset.alias /bin/sh ./autoconf/mkinstalldirs /usr/ports/converters/libiconv/work/libiconv-1.8/lib ./autoconf/mkinstalldirs: Can't open ./autoconf/mkinstalldirs: No such file or directory *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error ** Command failed [exit code 2]: /usr/bin/script -qa /tmp/portupgrade3695.0 make -j10 ** Fix the problem and try again. ** The following packages were not installed or upgraded (*:skipped / !:failed) ! converters/libiconv (libiconv-1.7_2) (unknown build error) -- Jonathan Arnold (mailto:jdarnold;buddydog.org) The Incredible Brightness of Seeing, a Home Theater weblog http://jdarnold.tzo.com/HomeTheater To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Upgrade recommendations
I'm currently running 4.5, and want to upgrade my machine and was wondering what you might have for recommendations. It has dual 333mhz Pentium II cpus, an S3 video card, 256mb RAM and a 20gb hard drive - not cutting edge hardware by any means! All it does is serve my small web sites via Apache and run some low volume mailing lists via Mailman. It isn't kept too busy, but it shouldn't be down for long periods nonetheless. I'm thinking of 3 possible paths: 1] A binary upgrade using the latest 4.x (4.7?) 2] A binary upgrade to 5.0 3] A reformat and complete upgrade to 5.0 - I already have the web site mailing list dbs backed up. As scary as it sounds, I'm leaning towards #3. It seems it shouldn't be too hard to move the Mailman database stuff to a new machine, so my main concern is how stable 5.0 is at this point. I'm willing (heck, even want) to play with some bleeding edge technology, but I do need it to be running with extensive handholding. Is 5.0 at that stage? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) The Incredible Brightness of Seeing, a Home Theater weblog http://jdarnold.tzo.com/HomeTheater To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Upgrade recommendations
FreeBSD the hardest thing to beat into peoples heads has been don't use -current on critical machines. Thanks for insisting on that too! I don't have, by any means, a critical machine - it's just a play web site and mailing list - but I do like to have them up, so perhaps I'll stay away for now. time keeping up (bad). There have been serious issues with ssh, apache, and probably other things since 4.5. You may be vulnerable. All valid concerns. But I don't use ssh (have it turned off) and I have kept Apache patched. I do run some updates, just haven't jumped whole hog into the water. Make buildworld, make installworld, mergemaster, and make kernel can be performed on a running system. Then with any luck you are only a reboot away from being updated. That's what I do. You know, I will probably do that, to the recent 4.7, now that I think about it a little more. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) The Incredible Brightness of Seeing, a Home Theater weblog http://jdarnold.tzo.com/HomeTheater To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: CVSUP update from 4.6 - 4.7
*default compress The comments in the cvsup file say to comment this line out if you have less than a T1, while cvsupit says to not use compress if your connection is greater than a 56k connection. Which is right for a fast DSL connection? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) The Incredible Brightness of Seeing, a Home Theater weblog http://jdarnold.tzo.com/HomeTheater To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message