How to mount USB memory (Thumb Drive) and then to copy files
Could anybody assist me on how to mount a USB memory drive/thumb drive, so that I can copy file to and from it. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: How to mount USB memory (Thumb Drive) and then to copy files
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of williamkow Sent: Tuesday, 16 October 2007 4:04 PM To: freebsd-questions@freebsd.org Subject: How to mount USB memory (Thumb Drive) and then to copy files Could anybody assist me on how to mount a USB memory drive/thumb drive, so that I can copy file to and from it. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello, This would be a good start: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html Cheers, Terry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What branch of TV-box should I buy?
I would like to buy a TV-box to watch TV. And I found that some TV-box claims it can do the trick without turning on the PC. I am not sure if there is any kind of guild line to choose the suitable one for the FreeBSD system or all kinds of TV-box works under the Freebsd box? Thanks. -- Ronggui Huang Department of Sociology, Fudan University, Shanghai, China Department of Public and Social Administration, CityU, HK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to mount USB memory (Thumb Drive) and then to copy files
man mount_msdos man cp On Tue, 16 Oct 2007, williamkow wrote: Could anybody assist me on how to mount a USB memory drive/thumb drive, so that I can copy file to and from it. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] proper editor
On Tue, 16 Oct 2007 08:47:17 +0300 Manolis Kiagias [EMAIL PROTECTED] wrote: If the goal is to study Python (assuming no previous experience), go along with the easiest for you. For starters, if you are using a GUI, go with Python's own IDLE environment. It is not advanced, but neither are you at this point. And it does have some advantages (like immediate execution of commands to try out things). you can also try python inside of Eclipse, with the pydev extension. Yes, eclipse is a big thing, but like Manolis said, it is worth learning a good environment. What you learn about Eclipse IDE will be useful for other languages such as Java, Perl, C++ or PHP, which can all be developed under Eclipse. b _ {Beto|Norberto|Numard} Meijome Time exists so everything doesn't happen at once Albert Einstein I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hello sir
On Mon, Oct 15, 2007 at 06:24:26PM -0400, Jerry McAllister wrote: On Mon, Oct 15, 2007 at 11:07:33AM -0500, [EMAIL PROTECTED] wrote: Hello sir i would like to run freebsd.sd to supoort freebsd on Sudan .. do i need to follow any steps before i run it and join freebsd.org as mirror ? Mohammed Tayeb SysAdmin. There is documentation somewhere on setting up a mirror, but I just did a quickie search and didn't find it. I don't have time right now to look more. Maybe someone else will provide the information or maybe a useful link will be added on the main web site documentation somewhere. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/index.html -- Sincerely, Daniel Gerzo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Inner workings of turnstiles and sleepqueues
Ed Schouten wrote: Hello, For some reason, I want to understand how the queueing of blocked threads in the kernel works when waiting for a lock, which is if I understand correctly done by the turnstiles and sleepqueues. I'm the proud owner of The Design and Implementation of the FreeBSD Operating System book, but for some reason, I can't find anything about it in the book. Is there a way to obtain information about how they work? I already read the source somewhat, but that shouldn't be an ideal solution, in my opinion. Yours, I think this is a question to ask on hackers@ Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error when launch realplay and flashplugins
Thanks. The problem is some dependency of linux_base_fc4 are not installed. Thanks again. 2007/10/14, Boris Samorodov [EMAIL PROTECTED]: On Sat, 13 Oct 2007 22:47:05 +0800 ronggui wrote: realplay /usr/local/lib/RealPlayer/realplay.bin: error while loading shared libraries: /usr/lib/libstdc++.so.5: ELF file OS ABI invalid What does the above msg mena ? What's the cause of such an problem? and what I should do? Please show the output of commands uname -a, locate libstdc++.so.5, pkg_info | grep linux, sysctl -a | grep linux. nspluginwrapper -a -i -v /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory What packages should I install to get the libfreetype.so.6? Thanks. - srv% locate libfreetype.so.6 /usr/compat/linux/usr/lib/libfreetype.so.6 /usr/compat/linux/usr/lib/libfreetype.so.6.3.7 srv% pkg_info -W /compat/linux/usr/lib/libfreetype.so.6 /compat/linux/usr/lib/libfreetype.so.6 was installed by package linux_base-fc-4_9 - Did you enable linux support (i.e. kldload linux)? WBR -- bsam -- Ronggui Huang Department of Sociology, Fudan University, Shanghai, China Department of Public and Social Administration, CityU, HK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help: the Input problem
Thanks. Finally, I set all the env variables in ¬/.tcshrc, It works. 2007/10/8, Jerry McAllister [EMAIL PROTECTED]: On Mon, Oct 08, 2007 at 10:23:01AM +0800, ronggui wrote: I use scim as my input. When I use bash as my login shell, I add these lines to ~/.profile export LANG=zh_CN.eucCN export LC_ALL=zh_CN.eucCN export G_BROKEN_FILENAMES=1 export G_FILENAME_ENCODING=GBK export XMODIFIERS='@im=SCIM' scim -d All is fine. But I would like to use tcsh as my login shell, and try to add the followings to ~/.login_conf me:\ :lang=zh_CN.eucCN:\ :charset=gbk:\ :setenv=LC_ALL=zh_CN.eucCN:\ :setenv=LC_COLLATE=zh_CN.eucCN:\ :setenv=LC_CTYPE=zh_CN.eucCN:\ :setenv=LC_MESSAGES=zh_CN.eucCN:\ :setenv=LC_MONETARY=zh_CN.eucCN:\ :setenv=LC_NUMERIC=zh_CN.eucCN:\ :setenv=LC_TIME=zh_CN.eucCN:\ :setenv=G_BROKEN_FILENAMES=1:\ :setenv=G_FILENAME_ENCODING=GBK:\ :setenv=XMODIFIERS=@im=SCIM: and add scim -d to the ~/.xsession. I can't toggle on the scim. PS: I login in with kdm. What should I do to use tcsh as my login shell? Change the last field in your /etc/passwd entry to '/bin/tcsh' and make sure /bin/tcsh is listed in /etc/shells You can then put whatever you want to set for your account in your /home_directory_path/.cshrc file jerry Thanks -- Ronggui Huang Department of Sociology, Fudan University, Shanghai, China Department of Public and Social Administration, CityU, HK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Ronggui Huang Department of Sociology, Fudan University, Shanghai, China Department of Public and Social Administration, CityU, HK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Xorg.0.log (what's this info about?)
Dear list. In my /var/log/Xorg.0.log I find this at the end: ...snap (II) NVIDIA(0): Setting mode nvidia-auto-select (**) Option BaudRate 1200 (**) Option StopBits 2 (**) Option DataBits 8 (**) Option Parity None (**) Option Vmin 1 (**) Option Vtime 0 (**) Option FlowControl None SetGrabKeysState - enabled ...snap As far as I know, (**) means that it's from the config file, but I have put *nothing* about this in my /etc/X11/xorg.conf. To me it looks like a modem is being initiated... It doesn't arise directly after boot, it comes later when the computer has been running for a while. FreeBSD 6.2 RELEASE, all ports up to date. The nvidia driver is 96.43.01 (GForce4 Mx420). Is there someone that can explain what it is, if it's a modem it shouldn't be on, because I have direct connection to Internet. -- /Peo signature.asc Description: This is a digitally signed message part
Re: NIS interoperability with Linux, was Re: Following directions doesn't seem to work: Adding users in NIS
Manolis Kiagias [EMAIL PROTECTED] writes: Olivier Nicole wrote: Linux doesn't normally use master.passwd. If I recall correctly, it uses /etc/shadow instead (but I don't have such a box at hand right now to check). And yes, the internal format is different (and, again, I don't remember details). If I am not wrong, NIS does not know anything about master.passwd or shadow, it has only passwd.byname passwd.byuid as password maps, both maps including password in them. Olivier You are probably right, I don't remember the exact files right now, the thing is the maps are not linux compatible, so if anyone has a NIS Makefile for this, I'd be glad to get a copy. I already tried a patch I found but was not successful. Don't patch anything. Just edit /var/yp/Makefile to remove the comment character from the UNSECURE line, rebuild, and you're done. This is fully explained inline in that file, as well as in the manual for ypserv(8). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to mount USB memory (Thumb Drive) and then to copy files
williamkow [EMAIL PROTECTED] writes: Could anybody assist me on how to mount a USB memory drive/thumb drive, so that I can copy file to and from it. Thank you. Or, alternatively, install the mtools port, which will let you copy files back and forth without mounting the device into your filesystem. Much less danger of removing it without remembering to unmount it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NIS interoperability with Linux, was Re: Following directions doesn't seem to work: Adding users in NIS
Lowell Gilbert wrote: Manolis Kiagias [EMAIL PROTECTED] writes: Olivier Nicole wrote: Linux doesn't normally use master.passwd. If I recall correctly, it uses /etc/shadow instead (but I don't have such a box at hand right now to check). And yes, the internal format is different (and, again, I don't remember details). If I am not wrong, NIS does not know anything about master.passwd or shadow, it has only passwd.byname passwd.byuid as password maps, both maps including password in them. Olivier You are probably right, I don't remember the exact files right now, the thing is the maps are not linux compatible, so if anyone has a NIS Makefile for this, I'd be glad to get a copy. I already tried a patch I found but was not successful. Don't patch anything. Just edit /var/yp/Makefile to remove the comment character from the UNSECURE line, rebuild, and you're done. This is fully explained inline in that file, as well as in the manual for ypserv(8). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I've read this the first time I tried and decided not to go with it. The manual says: If you plan to use a FreeBSD system to serve non-FreeBSD clients that have no support for password shadowing (which is most of them), you will have to disable the password shadowing entirely by uncommenting the UNSECURE=True entry in /var/yp/Makefile. Linux certainly uses password shadowing, and I can see in my debian server maps passwd.byname and shadow.byname files If I perform ypcat passwd.byname from a client I get the standard passwd file with no passwords (exactly like /etc/passwd) The encrypted passwords are in the shadow.byname map. Now, if I understand correctly, the above solution would put the passwords in the passwd.byname map, thus making the system less secure, where in fact I should be able to make FreeBSD export a shadow.byname map that would be compatible with Linux. Am I missing something here / are my assumptions wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] proper editor
On Tue, 2007-10-16 at 17:32 +1000, Norberto Meijome wrote: On Tue, 16 Oct 2007 08:47:17 +0300 Manolis Kiagias [EMAIL PROTECTED] wrote: If the goal is to study Python (assuming no previous experience), go along with the easiest for you. For starters, if you are using a GUI, go with Python's own IDLE environment. It is not advanced, but neither are you at this point. And it does have some advantages (like immediate execution of commands to try out things). you can also try python inside of Eclipse, with the pydev extension. Yes, eclipse is a big thing, but like Manolis said, it is worth learning a good environment. What you learn about Eclipse IDE will be useful for other languages such as Java, Perl, C++ or PHP, which can all be developed under Eclipse. Okay, I'll also check out Eclipse, thanks! -- Byung-Hee HWANG [EMAIL PROTECTED] Tell my father I wish to be his son. -- Michael Corleone, Chapter 24, page 352 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] proper editor
On Tue, 2007-10-16 at 08:47 +0300, Manolis Kiagias wrote: Byung-Hee HWANG wrote: Hi there, I'm beginner. Please recommend for proper editor so that ... I want to practice *Python* under best environment ... vim, emacs, gedit, or notepad.exe, ... If you give me good advice about that, I'll study very hard ... So which one is best editor? ... There is no such thing as a best editor. Which one you know better NOW? If the goal is to study Python (assuming no previous experience), go along with the easiest for you. For starters, if you are using a GUI, go with Python's own IDLE environment. It is not advanced, but neither are you at this point. And it does have some advantages (like immediate execution of commands to try out things). Spending time learning a complex editor like vi or emacs, will certainly pay up in the long run though. Nope. I don't care what it costs. I don't care even if I have to learn a complex editor for long time ... To tell truth, I really want to learn Python with a complex editor like Emacs. I feel so sorry for I object to your professional opinion;; -- Byung-Hee HWANG [EMAIL PROTECTED] Are you willing to take my advice this time? -- Vito Corleone, Chapter 1, page 37 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] proper editor
Byung-Hee HWANG wrote: On Tue, 2007-10-16 at 08:47 +0300, Manolis Kiagias wrote: Byung-Hee HWANG wrote: Hi there, I'm beginner. Please recommend for proper editor so that ... I want to practice *Python* under best environment ... vim, emacs, gedit, or notepad.exe, ... If you give me good advice about that, I'll study very hard ... So which one is best editor? ... There is no such thing as a best editor. Which one you know better NOW? If the goal is to study Python (assuming no previous experience), go along with the easiest for you. For starters, if you are using a GUI, go with Python's own IDLE environment. It is not advanced, but neither are you at this point. And it does have some advantages (like immediate execution of commands to try out things). Spending time learning a complex editor like vi or emacs, will certainly pay up in the long run though. Nope. I don't care what it costs. I don't care even if I have to learn a complex editor for long time ... To tell truth, I really want to learn Python with a complex editor like Emacs. I feel so sorry for I object to your professional opinion;; :) :) This is not a professional opinion, it is just a way of thinking that may or may not apply to you in this case (or generally). You are welcome to start learning both Python and Emacs at the same time, and delve deep at both. In fact, there are so many editors and programming languages available in FreeBSD you can spend an entire lifetime learning. It *is* my exact defintion of *having fun* ! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to mount USB memory (Thumb Drive) and then to copy files
1. plug in the drive 2. read your dmesg, look for device such as da0 (for me) 3. su as root, run mount_msdos /dev/da0s1 /mnt then check /mnt, u should be able to use it now after u finish, 4. umount -f /mnt TFC On 10/16/07, Lowell Gilbert [EMAIL PROTECTED] wrote: williamkow [EMAIL PROTECTED] writes: Could anybody assist me on how to mount a USB memory drive/thumb drive, so that I can copy file to and from it. Thank you. Or, alternatively, install the mtools port, which will let you copy files back and forth without mounting the device into your filesystem. Much less danger of removing it without remembering to unmount it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ipod software
Written by Rem P Roberti on 10/14/07 19:05 Thanks for the suggestions. I am trying out gtkpod now, and it seems to work fine, although I wish that there was a non/gui type program. BTW, is it possible to convert mp3 files that were purchased originally from the Apple store via iTunes so that they could be used on non/iTunes players? Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Not on FreeBSD. But you can go grab QTFairUse from somewhere on the net and, using it in conjunction with iTunes on a Windows machine, remove the DRM. From what I can tell, all it really does is control the iTunes player and make it output the audio stream to another file instead of decoding it to the sound system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg.0.log (what's this info about?)
On Tue, 16 Oct 2007, Peo Nilsson wrote: In my /var/log/Xorg.0.log I find this at the end: ...snap (II) NVIDIA(0): Setting mode nvidia-auto-select (**) Option BaudRate 1200 (**) Option StopBits 2 (**) Option DataBits 8 (**) Option Parity None (**) Option Vmin 1 (**) Option Vtime 0 (**) Option FlowControl None SetGrabKeysState - enabled ...snap As far as I know, (**) means that it's from the config file, but I have put *nothing* about this in my /etc/X11/xorg.conf. To me it looks like a modem is being initiated... There's a serial channel between the video card and monitor called DDC: http://en.wikipedia.org/wiki/Display_Data_Channel -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cvsup-mirror several questions
I have setup cvsup-mirror with default settings and I have some questions: 1. What cvsup host should I use as my upstream (cvsup.master.freebsd.org [if I got the name wrong sorry but see next sentence] is an invalid name according to named).Currently I pointed it to cvsup10.us.freebsd.org and successfully ran update.sh (i.e. completely populated /home/ncvs). 2. When I run cvsupd with default settings it says it can't find any collections (cvsup -h localhost /usr/share/example/cvsup/ports-supfile) 3. For doing cvsup updates for the local host is cvsup or straight cvs better and if the later what is the correct config to use? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: login.access, login and su.
Good afternoon, I need to restric the access to some accounts, we are using FreeBSD 4.10, this is the configuration for login in /etc/pam.conf login authsufficient pam_skey.so login authsufficient pam_opie.so no_fake_prompts #login authrequisite pam_opieaccess.so login authrequisite pam_cleartext_pass_ok.so #login authsufficient pam_kerberosIV.so try_first_pass #login authsufficient pam_krb5.so try_first_pass login authrequiredpam_unix.so try_first_pass login account requiredpam_unix.so login password required pam_permit.so login session requiredpam_permit.so And this is the content of /etc/login.access: -:ALL EXCEPT user user1 : ALL If we do su - user3 in FreeBSD 4.10 the result is that we become user3 succesfully, and no restricction message appears. % su - user3 %whoami %user3 With FreeBSD 6.1/6.2, we are able to restrict the access if the account isn't appear in /etc/login.access, for example: -:ALL EXCEPT user user1 user2 : ALL And this is the content of /etc/pamd./login: # PAM configuration for the login service # # auth authrequiredpam_nologin.so no_warn authsufficient pam_self.so no_warn authinclude system # account account requisite pam_securetty.so account include system # session session include system # password passwordinclude system If we are using the account user and whant to change to user3 using su - this never happen: % su - user3 pam_login_access: pam_sm_acct_mgmt: user3 is not allowed to log in on /dev/ttyp0 su: Sorry Which is exactly what we need, but for FreeBSD 4.10. There are differences between 4.10 and 6.1/6.2 for the configuration of PAM and all it's modules, but the configuration for login.acces is the same. We read the documentation at the FreeBSD site about login.access and there is no difference for the sintaxis of this file. We also had read the man for login/pam/login.conf/login.access. The file login.conf is the same for 4.10 and 6.1/6.2, we didn't modified it's content. Is there another configuration file we are missing that should be modified to restrict the user become user3 using su - in FreeBSD 4.10? P.D. I sent this message (twice) from gmail.com, but until now, it's doesn't appear in the historic of the list or in my gmail inbox. Any ideas/suggestions? -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: installation question
Michael Silverstein wrote: There are two installation CD's for FreeBSD 6.2. After booting the first one, and requesting ALL packages and ALL ports, the installation seems to go ok until the end when it complains that it cannot find the requested package on the media from which installation is being made. Yikes! You probably filled all the available disk space. If you were to flip over to one of the other virtual consoles (Alt F1 thru F4) you would probably see a panic or other warning. First off, YOU DO NOT WANT ALL THAT STUFF! There are 18,000 or so 3rd party software packages that have been ported to FreeBSD. You can install the ones you want either as pre-compiled binaries, via packages; or configure compile them yourself via ports. For a given software package you should use packages OR ports, but not both. Also, the 3rd party software on the install CDs is usually obsolete by the time you're installing it. Don't install any of that stuff at OS installation time. Get the system up and running, then investigate how to get a current copy of the ports framework installed. Hint: look into portsnap. I'd also suggest setting up a separate file system (I use /build) for ports and operating system source at install time. This is usually /usr/ports, /usr/src, and /usr/obj. I just like to keep it in a separate fs for ease of backup and other issues; others may disagree. Questions: Do I have a complete installation? How do I install whatever is on the 2nd CD? You only need the first CD for a complete installation of FreeBSD. Load it and the full source code. Don't screw with ports, packages, or any of the X11 (X windows) during installation. -Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup-mirror several questions
On Tue, 2007-10-16 at 10:39 +, Aryeh M. Friedman wrote: I have setup cvsup-mirror with default settings and I have some questions: 1. What cvsup host should I use as my upstream (cvsup.master.freebsd.org [if I got the name wrong sorry but see next sentence] is an invalid name according to named).Currently I pointed it to cvsup10.us.freebsd.org and successfully ran update.sh (i.e. completely populated /home/ncvs). 2. When I run cvsupd with default settings it says it can't find any collections (cvsup -h localhost /usr/share/example/cvsup/ports-supfile) 3. For doing cvsup updates for the local host is cvsup or straight cvs better and if the later what is the correct config to use? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi Aryeh, two things: 1) is your clock set correctly? I received your mail *very * out of order on the mailing list. 2) A thread that just happened started addressing some of these questions. It's available here: http://lists.freebsd.org/pipermail/freebsd-questions/2007-October/160307.html You might find that a nice place to start. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup-mirror several questions
Hi Aryeh, two things: 1) is your clock set correctly? I received your mail *very * out of order on the mailing list. The time is right but the TZ is wrong everytime I attempt to correct the TZ the time gets readjusted... specifically my clock says: Tue Oct 16 11:10:33 UTC 2007 right now but if I set it to EDT will say: Tue Oct 16 07:10:33 EDT 2007 btw I use tzsetup any help would be nice but since I do nothing that is TZ sensitive I just live with it. 2) A thread that just happened started addressing some of these questions. It's available here: http://lists.freebsd.org/pipermail/freebsd-questions/2007-October/160307.html I don't have a browser setup right now but if I remember right that is a thread I started when deciding how to install cvsup and if I remember right the advice was to do what I just did and go with defaults only. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cdrao broken on amd64?
c++ -DDRIVER_TABLE_FILE=\/usr/local/share/cdrdao/drivers\ -O2 -fno-strict-aliasing -pipe -march=nocona -o cdrdao main.o ./libdao.a ../paranoia/libcdda_paranoia.a ../trackdb/libtrackdb.a -L../scsilib/export -lscg -lschily -L/usr/local/lib -lmad -lm -L/usr/local/lib -lvorbisfile -lvorbis -lm -logg -pthread -L/usr/local/lib -lao ../scsilib/export/libscg.a(scsihack.o)(.text+0x274): In function `scgo_close': : undefined reference to `cam_close_device' ../scsilib/export/libscg.a(scsihack.o)(.text+0x32b): In function `scgo_open': : undefined reference to `cam_open_btl' ../scsilib/export/libscg.a(scsihack.o)(.text+0x5e2): In function `scgo_open': : undefined reference to `cam_open_pass' ../scsilib/export/libscg.a(scsihack.o)(.text+0x60d): In function `scgo_open': : undefined reference to `cam_errbuf' ../scsilib/export/libscg.a(scsihack.o)(.text+0x899): In function `scgo_send': : undefined reference to `cam_send_ccb' gmake[2]: *** [cdrdao] Error 1 gmake[2]: Leaving directory `/usr/ports/sysutils/cdrdao/work/cdrdao-1.2.2/dao' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/sysutils/cdrdao/work/cdrdao-1.2.2' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/sysutils/cdrdao. *** Error code 1 Stop in /usr/ports/sysutils/nautilus-cd-burner. *** Error code 1 Stop in /usr/ports/multimedia/totem. *** Error code 1 Stop in /usr/ports/audio/rhythmbox. *** Error code 1 Stop in /usr/ports/audio/rhythmbox. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cdrao broken on amd64?
On Tue, Oct 16, 2007 at 01:03:32PM +, Aryeh M. Friedman wrote: c++ -DDRIVER_TABLE_FILE=\/usr/local/share/cdrdao/drivers\ -O2 -fno-strict-aliasing -pipe -march=nocona -o cdrdao main.o ./libdao.a ../paranoia/libcdda_paranoia.a ../trackdb/libtrackdb.a -L../scsilib/export -lscg -lschily -L/usr/local/lib -lmad -lm -L/usr/local/lib -lvorbisfile -lvorbis -lm -logg -pthread -L/usr/local/lib -lao Hmm, looks like '-lcam' is missing here. ../scsilib/export/libscg.a(scsihack.o)(.text+0x274): In function `scgo_close': : undefined reference to `cam_close_device' ../scsilib/export/libscg.a(scsihack.o)(.text+0x32b): In function `scgo_open': : undefined reference to `cam_open_btl' ../scsilib/export/libscg.a(scsihack.o)(.text+0x5e2): In function `scgo_open': : undefined reference to `cam_open_pass' ../scsilib/export/libscg.a(scsihack.o)(.text+0x60d): In function `scgo_open': : undefined reference to `cam_errbuf' ../scsilib/export/libscg.a(scsihack.o)(.text+0x899): In function `scgo_send': : undefined reference to `cam_send_ccb' It should link to libcam, but it doesn't. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpkhcI5hibzq.pgp Description: PGP signature
how to make a patch
I found and fixed a bug in one of the ports how do I make a patch file (I only changed one line in one file) and who do I send it to? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to make a patch
On Tue, 2007-10-16 at 15:10 +, Aryeh M. Friedman wrote: I found and fixed a bug in one of the ports how do I make a patch file (I only changed one line in one file) and who do I send it to? If I understood correctly, maybe you need: http://www.freebsd.org/send-pr.html ;; -- Byung-Hee HWANG [EMAIL PROTECTED] They are clever enough to make a good living. Why is it so nessary to be more clever than that? -- Vito Corleone, Chapter 20, page 293 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to make a patch
On Tue, Oct 16, 2007 at 03:10:57PM +, Aryeh M. Friedman wrote: I found and fixed a bug in one of the ports how do I make a patch file (I only changed one line in one file) and who do I send it to? First, you must have saved a copy of the original file before you changed it; cp file file.orig Then you edit the file. Next you crate the patch; diff -u file.orig file youredits.diff Then you start the send-pr script, and import the contents of the diff file in the 'Fix' section. See the send-pr manual. Be sure to use the 'ports' category, and add the word '[PATCH]' to the begin of the desription line. Check if your e-mail address if correct, otherwise you won't receive replies and follow-ups. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpWSy9I9kFB5.pgp Description: PGP signature
Re: how to make a patch
Hello, First, do you have the latest ports tree? If not, it maybe a good idea to update your ports tree and verify that the bug is still there. Second, since it concerns the ports be sure to checkThe FreeBSD Porters Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ and especially Testing Your Port chapter: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/testing.html On 10/16/07, Aryeh M. Friedman [EMAIL PROTECTED] wrote: I found and fixed a bug in one of the ports how do I make a patch file (I only changed one line in one file) I would copy the original unmodified file to a backup copy, fix the file and then diff the modified file and the backup copy. and who do I send it to? You should submit a Problem Report as described here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-submitting.html Every port has its maintainer and they are specified in the port's Makefile. Regards Rambius ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to make a patch
Ivan Rambius Ivanov wrote: Hello, First, do you have the latest ports tree? If not, it maybe a good idea to update your ports tree and verify that the bug is still there. Second, since it concerns the ports be sure to checkThe FreeBSD Porters Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ and especially Testing Your Port chapter: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/testing.html The bug happened because my port tree was too new... what I mean by that is I just fetched it about 10 mins before I did that build and the error is that the port was unaware of 8-CURRENT ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dual Routers
Hi Is it possible to run two routers? I have an ADSL modem 192.168.1.1 and a wireless router 192.168.2.1. The both are accessed using dhcp. I would like to be able to switch from one the the other, or have both available. Is this possible? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help: the Input problem
On Tue, Oct 16, 2007 at 06:19:31PM +0800, ronggui wrote: Thanks. Finally, I set all the env variables in ¬/.tcshrc, It works. Far out!! jerry 2007/10/8, Jerry McAllister [EMAIL PROTECTED]: On Mon, Oct 08, 2007 at 10:23:01AM +0800, ronggui wrote: I use scim as my input. When I use bash as my login shell, I add these lines to ~/.profile export LANG=zh_CN.eucCN export LC_ALL=zh_CN.eucCN export G_BROKEN_FILENAMES=1 export G_FILENAME_ENCODING=GBK export XMODIFIERS='@im=SCIM' scim -d All is fine. But I would like to use tcsh as my login shell, and try to add the followings to ~/.login_conf me:\ :lang=zh_CN.eucCN:\ :charset=gbk:\ :setenv=LC_ALL=zh_CN.eucCN:\ :setenv=LC_COLLATE=zh_CN.eucCN:\ :setenv=LC_CTYPE=zh_CN.eucCN:\ :setenv=LC_MESSAGES=zh_CN.eucCN:\ :setenv=LC_MONETARY=zh_CN.eucCN:\ :setenv=LC_NUMERIC=zh_CN.eucCN:\ :setenv=LC_TIME=zh_CN.eucCN:\ :setenv=G_BROKEN_FILENAMES=1:\ :setenv=G_FILENAME_ENCODING=GBK:\ :setenv=XMODIFIERS=@im=SCIM: and add scim -d to the ~/.xsession. I can't toggle on the scim. PS: I login in with kdm. What should I do to use tcsh as my login shell? Change the last field in your /etc/passwd entry to '/bin/tcsh' and make sure /bin/tcsh is listed in /etc/shells You can then put whatever you want to set for your account in your /home_directory_path/.cshrc file jerry Thanks -- Ronggui Huang Department of Sociology, Fudan University, Shanghai, China Department of Public and Social Administration, CityU, HK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Ronggui Huang Department of Sociology, Fudan University, Shanghai, China Department of Public and Social Administration, CityU, HK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPv6 Display - Multiple Applications
Hello All: I'm curious if there is any timeline for the correct display of IPv6 addresses in various displays. In particular, I'm interested in being able to see a full address in 'who' and 'netstat' so I can track connections to the server. Presently, the display shows: [EMAIL PROTECTED] ~]$ who mksmith ttyp0Oct 16 13:26 (2001:468:1420:f:) [EMAIL PROTECTED] ~]$ netstat -a Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp6 0 52 www6.ssh 2001:468:1420:f:.52619 ESTABLISHED t The full address includes another 64 bits or the whole host portion. Is this a bug, something in progress, or by design? Regards, Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
www.freebsd.org won't load in IE 7.x in vista box.
Dear all users, After troubleshooting from all angles this problem i have run out of imagination/sense. I loaded a machine with Windows Vista a work and try accessing the www.freebsd.org website. The web site didn't load, yet I try again in 10 other machines to see if it was a machine issue. Lastly I try loading the size in a Windows XP machine and it works ok. What seems to be the problem in this case? I have run out of ideas and even ask a few colleges at work and they don't seem to have a clue either. Please advise. Lisandro grullon _ Peek-a-boo FREE Tricks Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual Routers
At 03:01 PM 10/16/2007, lysergius2001 wrote: Hi Is it possible to run two routers? I have an ADSL modem 192.168.1.1 and a wireless router 192.168.2.1. The both are accessed using dhcp. I would like to be able to switch from one the the other, or have both available. Is this possible? Thanks Just as an informational note, you can now get combined units that have both the ADSL and wireless together in one unit. I have one from Netopia. The unit I have also allows for multiple wireless subnets and each can have their own security, so if you have to run WEP for tivo you can do so on a separate wireless subnet. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: www.freebsd.org won't load in IE 7.x in vista box.
Lisandro Grullon [EMAIL PROTECTED] wrote: After troubleshooting from all angles this problem i have run out of imagination/sense. I loaded a machine with Windows Vista a work and try accessing the www.freebsd.org website. The web site didn't load, yet I try again in 10 other machines to see if it was a machine issue. Lastly I try loading the size in a Windows XP machine and it works ok. What seems to be the problem in this case? I have run out of ideas and even ask a few colleges at work and they don't seem to have a clue either. Try disabling IPv6 in either your browser or your operating system, or use a proxy that only does IPv4. Fabian signature.asc Description: PGP signature
RE: IPv6 Display - Multiple Applications
Have you tried using -W on netstat? In certain displays, avoid truncating addresses even if this causes some fields to overflow. I tested it on my own IPv6 server after establishing a connection and reproduced your behavior with the truncated IPv6 addresses; however, once I added the -W flag, it displayed the entire address. Unfortunately, I do not see a similar flag available for the who command...maybe a patch is in order? -- Mike Sweetser | Systems Administrator Adhost Internet 140 Fourth Avenue North, Suite 360, Seattle, Washington 98109 USA P 206.404.9023T 888.234.6781 (ADHOST-1)F 206.404.9050 E [EMAIL PROTECTED]W adhost.com Our brand new Adhost West data center is open - contact us for a tour at 1-888-234-6781 (ADHOST-1) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael K. Smith - Adhost Sent: Tuesday, October 16, 2007 1:37 PM To: freebsd-questions@freebsd.org Subject: IPv6 Display - Multiple Applications Hello All: I'm curious if there is any timeline for the correct display of IPv6 addresses in various displays. In particular, I'm interested in being able to see a full address in 'who' and 'netstat' so I can track connections to the server. Presently, the display shows: [EMAIL PROTECTED] ~]$ who mksmith ttyp0Oct 16 13:26 (2001:468:1420:f:) [EMAIL PROTECTED] ~]$ netstat -a Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp6 0 52 www6.ssh 2001:468:1420:f:.52619 ESTABLISHED t The full address includes another 64 bits or the whole host portion. Is this a bug, something in progress, or by design? Regards, Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual Routers
Is it possible to run two routers? I have an ADSL modem 192.168.1.1 and a wireless router 192.168.2.1. The both are accessed using dhcp. I would like to be able to switch from one the the other, or have both available. Is this possible? If I understand you correctly, you could do this: Change the LAN IP of the wireless unit to 192.168.1.2. Plug the ADSL modems ethernet port to the LAN side of the wireless router. Plug your PC's into the remaining LAN ports on the wireless unit. Essentially, this turns your wireless 'router' into a bridged access point. You will have to disable DHCP on the wireless router, and let the ADSL modem hand out addresses. You will surf just fine, and you will be able to access the wireless router for maintenance at 1.2, and the ADSL modem at 1.1 Hope this is what you were after. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
what's happening with xorg?
I'm in the middle of a portupgrade -aP, and saw that the newest mga driver is installed. So I did another X -configure, moved the file to /etc/X11/xorg.conf and carefully tried out the new xf86-video-mga-1.9.100.. The screen is much brighter at the resolution is good, but the brightness is still very dingy compared to the vesa driver. There is nothing wrong with my CRT; on the other KVM connections (and/or) with the vesa driver at 800x600, the screen is completely bright. Is there some other ati driver yet to finish? Anybody? gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
syslog marking sendmail output as kernel:
Hi, I'm seeing in the logs : Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf5069206: SYSERR(root): collect: I /O error on connection from bd0614db.virtua.com.br, from=[EMAIL PROTECTED] om Oct 16 00:00:25 valhalla kernel: Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf 5069206: SYSERR(root): collect: I/O error on connection from bd0614db.virtua.com .br, from=[EMAIL PROTECTED] I understand there isn't a problem with the first one, but then its logging the second as a kernel: entry. My syslog.conf is : *.err;kern.debug;auth.notice;mail.crit /dev/console *.emerg * *.debug /var/log/spool Is there a way to stop that second entry? It keeps tripping my syslog monitoring program. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: syslog marking sendmail output as kernel:
I understand there isn't a problem with the first one, but then its logging the second as a kernel: entry. My syslog.conf is : *.err;kern.debug;auth.notice;mail.crit /dev/console *.emerg * *.debug /var/log/spool Is there a way to stop that second entry? It keeps tripping my syslog monitoring program. What release are you running? (Show the output of uname -a) Its a 5.3 system It's just a formatting issue. Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf5069206: SYSERR(root): snip Oct 16 00:00:25 valhalla kernel: added newline Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf5069206: SYSERR(root): snip There must be somewhere in the kernel where we're writing to the syslog with an empty error string. The syslog routines expect a newline-terminated character string, so the lack of a newline causes the next entry to be on the same line as the (non-existant) kernel message. The trouble will be tracking this down. But look at it again... Oct 16 00:02:32 valhalla sm-mta[69570]: l9G42RKM069570: SYSERR(root): collect: I/O error on connection from dsl-189-133-2-240.prod-infinitum.com.mx, from=[EMAIL PROTECTED] Oct 16 00:02:32 valhalla kernel: Oct 16 00:02:32 valhalla sm-mta[69570]: l9G42RKM069570: SYSERR(root): collect: I/O error on connection from dsl-189-133-2-240.prod-infinitum.com.mx, from=[EMAIL PROTECTED] I didn't wrap the lines this time. Its the SAME message. Once normal, ONCE logged as kernel. I would believe something is KNOWINGLY outputting it twice. If it was 2 DIFFERENT messages, I could see it was completely a lack of new line issue. But why would it log the sm-mta output, then *something* part log a kernel message, THEN re-log out the sm-mta message? I tried to tcpdump port 514 to see if I can see sendmail doing it, but it looks like since its on the local machine it might be using syslogs char special device. How would I debug that (Short of running syslog in debug mode) Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: syslog marking sendmail output as kernel:
- Original Message - From: Tuc at T-B-O-H.NET [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Tuesday, October 16, 2007 8:05 PM Subject: syslog marking sendmail output as kernel: Hi, I'm seeing in the logs : Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf5069206: SYSERR(root): collect: I /O error on connection from bd0614db.virtua.com.br, from=[EMAIL PROTECTED] om Oct 16 00:00:25 valhalla kernel: Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf 5069206: SYSERR(root): collect: I/O error on connection from bd0614db.virtua.com .br, from=[EMAIL PROTECTED] I understand there isn't a problem with the first one, but then its logging the second as a kernel: entry. My syslog.conf is : *.err;kern.debug;auth.notice;mail.crit /dev/console *.emerg * *.debug /var/log/spool Is there a way to stop that second entry? It keeps tripping my syslog monitoring program. What release are you running? (Show the output of uname -a) It's just a formatting issue. Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf5069206: SYSERR(root): snip Oct 16 00:00:25 valhalla kernel: added newline Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf5069206: SYSERR(root): snip There must be somewhere in the kernel where we're writing to the syslog with an empty error string. The syslog routines expect a newline-terminated character string, so the lack of a newline causes the next entry to be on the same line as the (non-existant) kernel message. The trouble will be tracking this down. Regards, -- Matt Emmerton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: syslog marking sendmail output as kernel:
It's just a formatting issue. Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf5069206: SYSERR(root): snip Oct 16 00:00:25 valhalla kernel: added newline Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf5069206: SYSERR(root): snip There must be somewhere in the kernel where we're writing to the syslog with an empty error string. The syslog routines expect a newline-terminated character string, so the lack of a newline causes the next entry to be on the same line as the (non-existant) kernel message. The trouble will be tracking this down. But look at it again... Oct 16 00:02:32 valhalla sm-mta[69570]: l9G42RKM069570: SYSERR(root): collect: I/O error on connection from dsl-189-133-2-240.prod-infinitum.com.mx, from=[EMAIL PROTECTED] Oct 16 00:02:32 valhalla kernel: Oct 16 00:02:32 valhalla sm-mta[69570]: l9G42RKM069570: SYSERR(root): collect: I/O error on connection from dsl-189-133-2-240.prod-infinitum.com.mx, from=[EMAIL PROTECTED] I didn't wrap the lines this time. Its the SAME message. Once normal, ONCE logged as kernel. I would believe something is KNOWINGLY outputting it twice. If it was 2 DIFFERENT messages, I could see it was completely a lack of new line issue. But why would it log the sm-mta output, then *something* part log a kernel message, THEN re-log out the sm-mta message? I tried to tcpdump port 514 to see if I can see sendmail doing it, but it looks like since its on the local machine it might be using syslogs char special device. How would I debug that (Short of running syslog in debug mode) Sorry to reply to my own message... But I did some debug on syslog. Here is what it sees : logmsg: pri 22, flags 0, from valhalla, msg Oct 16 21:29:00 sm-mta[31804]: l9H1Srwd031804: SYSERR(root): collect: I/O error on connection from [61.177.142.218], from=[EMAIL PROTECTED]^M Logging to CONSOLE /dev/console^M Logging to FILE /var/log/spool^M logmsg: pri 166, flags 17, from valhalla, msg Oct 16 21:29:00 valhalla sm-mta[31804]: l9H1Srwd031804: SYSERR(root): collect: I/O error on connection from [61.177.142.218], from=[EMAIL PROTECTED]^M Logging to FILE /var/log/spool^M So something IS sending it twice, once at pri 22, no flags, then once at 166 flags 17. So its not getting something improperly terminated. Its getting the line twice at different pri/flags causing it to prepend the Oct 16 00:00:25 valhalla kernel: to the already formatted Oct 16 21:29:00 valhalla sm-mta[31804]: l9H1Srwd031804: SYSERR(root): collect: I/O error on connection from [61.177.142.218], from=[EMAIL PROTECTED] Tuc ___ 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 happening with xorg?
On Tue, Oct 16, 2007 at 03:47:22PM -0700, Gary Kline wrote: I'm in the middle of a portupgrade -aP, and saw that the newest mga driver is installed. So I did another X -configure, moved the file to /etc/X11/xorg.conf and carefully tried out the new xf86-video-mga-1.9.100.. The screen is much brighter at the resolution is good, but the brightness is still very dingy compared to the vesa driver. There is nothing wrong with my CRT; on the other KVM connections (and/or) with the vesa driver at 800x600, the screen is completely bright. Is there some other ati driver yet to finish? The ati driver is for ATI chips like the Radeon. You could try playing with the gamma value of the monitor. When X is running you can use xgamma to adjust the gamma setting. You can also set this with the Gamma entry in the Monitor section of xorg.conf. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpLwGXJn2dGM.pgp Description: PGP signature
Re: syslog marking sendmail output as kernel:
I understand there isn't a problem with the first one, but then its logging the second as a kernel: entry. My syslog.conf is : *.err;kern.debug;auth.notice;mail.crit /dev/console *.emerg * *.debug /var/log/spool Is there a way to stop that second entry? It keeps tripping my syslog monitoring program. What release are you running? (Show the output of uname -a) Its a 5.3 system It's just a formatting issue. Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf5069206: SYSERR(root): snip Oct 16 00:00:25 valhalla kernel: added newline Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf5069206: SYSERR(root): snip There must be somewhere in the kernel where we're writing to the syslog with an empty error string. The syslog routines expect a newline-terminated character string, so the lack of a newline causes the next entry to be on the same line as the (non-existant) kernel message. The trouble will be tracking this down. But look at it again... Oct 16 00:02:32 valhalla sm-mta[69570]: l9G42RKM069570: SYSERR(root): collect: I/O error on connection from dsl-189-133-2-240.prod-infinitum.com.mx, from=[EMAIL PROTECTED] Oct 16 00:02:32 valhalla kernel: Oct 16 00:02:32 valhalla sm-mta[69570]: l9G42RKM069570: SYSERR(root): collect: I/O error on connection from dsl-189-133-2-240.prod-infinitum.com.mx, from=[EMAIL PROTECTED] I didn't wrap the lines this time. Its the SAME message. Once normal, ONCE logged as kernel. I would believe something is KNOWINGLY outputting it twice. If it was 2 DIFFERENT messages, I could see it was completely a lack of new line issue. But why would it log the sm-mta output, then *something* part log a kernel message, THEN re-log out the sm-mta message? Ah, I didn't notice that sm-mta was logging the same message twice. Note that all syslog messages (from the kernel and user programs) are picked up by syslogd and logged. There's nothing preventing kernel and user-mode messages from getting interleaved. So assuming that sm-mta is logging the same message twice, it's perfectly viable that something from the kernel could be stuck in between the two instances from sm-mta. Regardless, I see two issues: 1) Why is the same sm-mta message getting dumped twice? 2) Why is an empty kernel message getting dumped (which screws up formatting?) Regards, -- Matt Emmerton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Install FreeBSD 6.2 and Windows XP prof in the same computer
Please provide me more advices on installing multi operating system in a computer. Which one to install first? use which boot loader ? tips and guidelines, and things to causion. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Amanda failing on sendsize
Hi, I am going further with that sendsize error, after recompiling with debug enable, here is the error I get in sendsize: (gdb) run Starting program: /usr/ports/misc/amanda-client/work/amanda-2.5.1p3/client-src/.libs/sendsize OPTIONS maxdumps=1;hostname=ufo1000; OPTIONS GNUTAR /ftp 0 1970:1:1:0:0:0 0 GNUTAR /web 0 1970:1:1:0:0:0 1 GNUTAR /web 2 2007:10:5:18:16:10 1 GNUTAR /web 3 2007:10:9:18:8:22 1 GNUTAR /var 0 1970:1:1:0:0:0 0 GNUTAR /usr 0 1970:1:1:0:0:0 0 GNUTAR / 0 1970:1:1:0:0:0 0 exclude-list=/usr/local/var/amanda/exclude.gtar Program received signal SIGSEGV, Segmentation fault. 0x28185a69 in strlen () from /lib/libc.so.5 (gdb) where full #0 0x28185a69 in strlen () from /lib/libc.so.5 No symbol table info available. #1 0x28090619 in debug_stralloc (s=0x280b3eeb sl.c, l=91, str=0x0) at alloc.c:232 addr = 0x805c530 #2 0x280a9e6e in append_sl (sl=0x805c520, name=0x0) at sl.c:91 a = (sle_t *) 0x805c530 #3 0x0804a84e in main (argc=1, argv=0xbfbfe928) at sendsize.c:357 level = 0 spindle = 0 prog = 0x805e380 GNUTAR calcprog = 0x0 dumpdate = 0x805e38b 1970:1:1:0:0:0 options = (option_t *) 0x805e300 program_is_wrapper = 0 est = (disk_estimates_t *) 0xbfbfe930 est1 = (disk_estimates_t *) 0xbfbfe928 est_prev = (disk_estimates_t *) 0x1 line = 0x805e380 GNUTAR s = 0x805e39d xclude-list=/usr/local/var/amanda/exclude.gtar fp = 0x805e387 / ch = 101 err_extra = 0x0 done = -1077942076 need_wait = 673288512 dumpsrunning = 671557080 disk = 0x805c2e0 / qdisk = 0x805c280 / qlist = 0x0 amdevice = 0x805c300 / qamdevice = 0x805c340 / conffile = 0x0 amandates_file = 0x805c230 /etc/amandates amandates_read = 1 (gdb) The current system is: gtar-1.18_1 GNU version of the traditional tar archiver amanda-client-2.5.1p3_1,1 The Advanced Maryland Automatic Network Disk Archiver on a 5.5 server FreeBSD ufo.cs.ait.ac.th 5.5-RELEASE-p15 FreeBSD 5.5-RELEASE-p15 #7: Wed Oct 3 10:17:29 ICT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Any help appreciated. Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Install FreeBSD 6.2 and Windows XP prof in the same computer
williamkow wrote: Please provide me more advices on installing multi operating system in a computer. Don't. Get the VMware free player or server and download the virtual machines. Or, get two hard drives, put them into mobile docks, and do a power down/ swap/ power up cycle when you want to switch. Or, get your hands on a 5+ year old machine, get a KVM switch, and put BSD on that. HTH, David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
WPA
hi all... having trouble to get the wi0 interface up with WPA. below is the relevant information. can somebeody explain what the problem is? thanks... device = 'PRISM 2.5 802.11b 11Mbps Wireless Controller' wi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255 ether 00:05:3c:09:82:a3 media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps) status: associated ssid myap channel 6 bssid 00:1c:10:9e:ef:b2 stationname FreeBSD WaveLAN/IEEE node authmode WPA1+WPA2/802.11i privacy MIXED deftxkey UNDEF txpowmax 100 bmiss 7 roaming MANUAL bintval 100 # /etc/wpa_supplicant.conf: network={ ssid=myap scan_ssid=1 proto=WPA key_mgmt=WPA-PSK psk=secret } # wpa_supplicant -i wi0 -dd -c /etc/wpa_supplicant.conf Initializing interface 'wi0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' Configuration file '/etc/wpa_supplicant.conf' - '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Line: 1 - start of a new network block ssid - hexdump_ascii(len=6): 77 74 70 67 6e 79 myap scan_ssid=1 (0x1) proto: 0x1 key_mgmt: 0x2 PSK (ASCII passphrase) - hexdump_ascii(len=11): [REMOVED] PSK (from passphrase) - hexdump(len=32): [REMOVED] Priority group 0 id=0 ssid='myap' Initializing interface (2) 'wi0' EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 Own MAC address: 00:05:3c:09:82:a3 wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wpa_driver_bsd_del_key: keyidx=0 wpa_driver_bsd_del_key: keyidx=1 wpa_driver_bsd_del_key: keyidx=2 wpa_driver_bsd_del_key: keyidx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wpa_driver_bsd_set_drop_unencrypted: enabled=1 Setting scan request: 0 sec 10 usec Added interface wi0 State: DISCONNECTED - SCANNING Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=6): 77 74 70 67 6e 79 myap Failed to initiate AP scan. Setting scan request: 10 sec 0 usec CTRL-EVENT-TERMINATING - signal 2 received Removing interface wi0 State: SCANNING - DISCONNECTED No keys have been configured - skip key clearing EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 wpa_driver_bsd_set_wpa: enabled=0 wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0 wpa_driver_bsd_set_drop_unencrypted: enabled=0 wpa_driver_bsd_set_countermeasures: enabled=0 No keys have been configured - skip key clearing wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0 wpa_driver_bsd_deinit: failed to restore roaming state Cancelling scan request . and a bunch of these on the terminal: ioctl[SIOCS80211, op 1, len 6]: Operation not supported by device ioctl[SIOCS80211, op 22, len 0]: Operation not supported by device ioctl[SIOCS80211, op 17, arg 0x0]: Operation not supported by device ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported by device Failed to disable WPA in the driver. ioctl[SIOCS80211, op 18, arg 0x0]: Operation not supported by device ioctl[SIOCS80211, op 25, arg 0x0]: Operation not supported by device ioctl[SIOCS80211, op 22, len 0]: Operation not supported by device ioctl[SIOCS80211, op 17, arg 0x0]: Operation not supported by device ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported by device ioctl[SIOCS80211, op 16, arg 0x1]: Operation not supported by device ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Strange perl script
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 HI Can anyone explain this after ps -ax | grep perl 21893 ?? I 1:02.37 sploger (perl5.8.8) 29536 ?? R184:14.94 sploger (perl5.8.8) 29538 ?? R184:36.44 sploger (perl5.8.8) 30668 ?? R168:56.54 sploger (perl5.8.8) What is sploger? Jack -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) - GPGrelay v0.959 iD8DBQFHFZogPh5RwW/NzC4RAprIAJ94/PdPWEJlBlX20RrLRvho1G4eFgCfSDHh dgka8XYVC7MgdpyjVO9zglo= =l79v -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Amanda failing on sendsize
Olivier try the amanda users email group...seems to be someone else having similar problems, or is that that you as well?? -- Martin On 10/17/07, Olivier Nicole [EMAIL PROTECTED] wrote: Hi, I am going further with that sendsize error, after recompiling with debug enable, here is the error I get in sendsize: (gdb) run Starting program: /usr/ports/misc/amanda-client/work/amanda-2.5.1p3 /client-src/.libs/sendsize OPTIONS maxdumps=1;hostname=ufo1000; OPTIONS GNUTAR /ftp 0 1970:1:1:0:0:0 0 GNUTAR /web 0 1970:1:1:0:0:0 1 GNUTAR /web 2 2007:10:5:18:16:10 1 GNUTAR /web 3 2007:10:9:18:8:22 1 GNUTAR /var 0 1970:1:1:0:0:0 0 GNUTAR /usr 0 1970:1:1:0:0:0 0 GNUTAR / 0 1970:1:1:0:0:0 0 exclude-list=/usr/local/var/amanda/exclude.gtar Program received signal SIGSEGV, Segmentation fault. 0x28185a69 in strlen () from /lib/libc.so.5 (gdb) where full #0 0x28185a69 in strlen () from /lib/libc.so.5 No symbol table info available. #1 0x28090619 in debug_stralloc (s=0x280b3eeb sl.c, l=91, str=0x0) at alloc.c:232 addr = 0x805c530 #2 0x280a9e6e in append_sl (sl=0x805c520, name=0x0) at sl.c:91 a = (sle_t *) 0x805c530 #3 0x0804a84e in main (argc=1, argv=0xbfbfe928) at sendsize.c:357 level = 0 spindle = 0 prog = 0x805e380 GNUTAR calcprog = 0x0 dumpdate = 0x805e38b 1970:1:1:0:0:0 options = (option_t *) 0x805e300 program_is_wrapper = 0 est = (disk_estimates_t *) 0xbfbfe930 est1 = (disk_estimates_t *) 0xbfbfe928 est_prev = (disk_estimates_t *) 0x1 line = 0x805e380 GNUTAR s = 0x805e39d xclude-list=/usr/local/var/amanda/exclude.gtar fp = 0x805e387 / ch = 101 err_extra = 0x0 done = -1077942076 need_wait = 673288512 dumpsrunning = 671557080 disk = 0x805c2e0 / qdisk = 0x805c280 / qlist = 0x0 amdevice = 0x805c300 / qamdevice = 0x805c340 / conffile = 0x0 amandates_file = 0x805c230 /etc/amandates amandates_read = 1 (gdb) The current system is: gtar-1.18_1 GNU version of the traditional tar archiver amanda-client-2.5.1p3_1,1 The Advanced Maryland Automatic Network Disk Archiver on a 5.5 server FreeBSD ufo.cs.ait.ac.th 5.5-RELEASE-p15 FreeBSD 5.5-RELEASE-p15 #7: Wed Oct 3 10:17:29 ICT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Any help appreciated. Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]