How can I see all of error messages about server's situation in a log file ?
I use freebsd7.1-release. Sometimes, when I monitor my server on the monitor, I see some messages which are about inform, warning or kernel messages. But I couldn't see these messages in /var/log/messages. How can I do that ? What do I need to set to this ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: about vi editor and turkish char
Hello, Where do I have to specify LANG ... expression to support any language in VI ? Ok. I have no problem in many editors about that but I wish to learn for vi . El día Friday, October 31, 2008 a las 06:31:02PM +0200, Yavuz Maslak escribió: Hello I use Freebsd7.0. I am not able to use turkish char while I edit a file with vi editor. How can I correct that ? Hello, You could use a 'xterm' with UTF-8 support, a correct LANG environment, for example LANG=es_ES.UTF-8, and the editor 'vim' (from the ports); to enter UTF-8 chars which are not on your keyboard you could use, for example, KDE's application KCharSelect HIH matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ A computer is like an air conditioner, it stops working when you open Windows Una computadora es como aire acondicionado, deja de funcionar si abres Windows ___ 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]
about vi editor and turkish char
Hello I use Freebsd7.0. I am not able to use turkish char while I edit a file with vi editor. How can I correct that ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to set quota ( as Mbyte ) for a directory?
On freebsd7, How to set quota for a directory? For instance I want to set 100Mbyte quota for a directory. How can I do that ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to update from 7.0-stable-200805 to 7.0-stable-200807 ?
I use 7.0-STABLE-200805. I want to update it to 7.0-STABLE-200807. How do I update for the last updates clearly ? is there a way to update without reboot the machine or with only one reboot ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
crontab mails
Hello On freebsd7.0, my crontab sends many mails about its jobs. I want crontab not to send these mails How can I do that ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Do I put down cputype in make.conf ?
I have a quad-core intel 64 bit cpu. I got 7.0-STABLE-200806-amd64-disc1.iso from ftp://ftp3.freebsd.org/pub/FreeBSD/snapshots/200806/ I installed freebsd7.0-stable from it. the machine works well. But do I need to edit /etc/make.conf for cputype ? if it need to be edited What should I put down it in /etc/make.conf ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to reject all mac addresses except some mac addresses using ipfw?
I use ipfw on freebsd7. I have two questions 1- I want to fix an ip address for each mac address. But some pc and servers have more than an ip address. How can I map multiple ip addresses for a mac address? 2- I want to allow these fixed mac addresses using ipfw. After that I want to deny all mac address via the server's local ethernet card. How can I do these cases? Thanks ___ 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 reject all mac addresses except some mac addresses usingipfw?
I got my second question. But I should have asked different my first question. I have meant that how can I restrict to use an ip address which I already assigned to a computer, anyone can use at his pc? - Original Message - From: Chuck Swiger [EMAIL PROTECTED] To: Yavuz Maslak [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Tuesday, June 24, 2008 9:01 PM Subject: Re: how to reject all mac addresses except some mac addresses usingipfw? On Jun 24, 2008, at 10:26 AM, Yavuz Maslak wrote: 1- I want to fix an ip address for each mac address. But some pc and servers have more than an ip address. How can I map multiple ip addresses for a mac address? Most people use ifconfig, perhaps indirectly via /etc/rc.conf. 2- I want to allow these fixed mac addresses using ipfw. After that I want to deny all mac address via the server's local ethernet card. How can I do these cases? Few choose to go that route, but you can disable ARP and set up /etc/ ethers, or you could even fire up your favorite firewall (IPFW, PF, whatever), and add allow rules for the permitted MAC addresses, and deny all others. -- -Chuck ___ 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]
Boot problem after reboot during upgrade from frebsd6.1 to freebsd7.0
I followed http://www.freebsd.org/releases/7.0R/announce.html to upgrade freebsd6.1 to 7.0. I forgot compile kernel for freebsd7.0. and I rebooted the machine. The server didn't give any error message during the upgrade. The server tried to boot at freebsd6.1. and it could not boot the system. it came Enter full path of shell on the screen. How can I do correct that ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I could not dial with modem on FreeBSD?
Hello I have a internal modem which runs on windows. I add it on FreeBSD machine to dial an isp phone. But I haven't had the modem run on FreeBSD5.3. My kernel is GENERIC kernel. Here is my /etc/ppp/ppp.conf as below; default: set log Phase Chat LCP IPCP CCP tun command set device /dev/cuaa2 dial: set phone 0123456789 set redial 3.3 100 set reconnect 3 100 set authname *** set authkey *** set timeout 1800 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 delete ALL add default HISADDR enable dns Also I don't know that the machine recognize it or not And I don't know that which Com(1,2,3,4) port the modem uses. I didn't see in dmesg or ppp.log. When I put term after ppp command on the screen.I got error as below; Warning: deflink: /dev/cuaa2: Bad file descriptor Failed to open /dev/cuaa2 in ppp.conf I tried other cuaa(s) like cuaa1 What shall I do ? How can I install this modem on FreeBSD5.3 Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disk problem
Hello I applied your advice. The problem was solved. Thank you very much Also I saw your the site. it is a very good page. - Original Message - From: Ahmet Bulut [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Thursday, December 01, 2005 10:36 AM Subject: Re: disk problem Hi, I had same problem while I installed FreeBSD5.4 on my machine. Ata devices may behave erratically, particularly SATA devices. Reported symptoms include command timeouts or missing interrupts. First, Install FreeBSD using safe mode. And than, Disable ACPI and APIC using the ``safe mode'' of the bootloader. hint.acpi.0.disabled=1 hint.apic.0.disabled=1 If avaible, use the host's BIOS setup optios to put the ATA controller in its 'legacy mode'. Ahmet F.L At 01:28 AM 11/30/2005, Yavuz Maslak wrote: Hello I wanted to install freeBSD6.0 on my machine. formerly windows2000 was running on it. But I could not install freebsd. Because it gave an error about harddisk. My harddisk is Western Digital WD400 40Gbyte capacity. I got the error message on the screen as below ATA0_MASTER : FAILURE - ATA_IDENTIFY TIME OUT What shall I do ? Is your drive jumpered correctly? You will get that error if you have a drive jumpered as slave when there is no master. -Glenn ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
disk problem
Hello I wanted to install freeBSD6.0 on my machine. formerly windows2000 was running on it. But I could not install freebsd. Because it gave an error about harddisk. My harddisk is Western Digital WD400 40Gbyte capacity. I got the error message on the screen as below ATA0_MASTER : FAILURE - ATA_IDENTIFY TIME OUT What shall I do ? smime.p7s Description: S/MIME cryptographic signature
I could not become superuser
Hello I installed FreeBSD6.0. and it was running well by today . My FreeBSD server gave a problem about user login. I could not become superuser. my user that has superuser. When I login the server this user the screen gives things as below usersu not running setuid what shell I do ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I could not become superuser
Yes I have tried to su from a non root user login. I can login with root user. the machine already belongs to me. And I checked condition of users and groups again. My user had been added to wheel group. Also When I make a new user that has a member of wheel in order to su. I could not become su. usersu usersu not running setuid. - Original Message - From: Jerry McAllister [EMAIL PROTECTED] To: Yavuz Maslak [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Friday, November 18, 2005 5:06 PM Subject: Re: I could not become superuser Hello I installed FreeBSD6.0. and it was running well by today . My FreeBSD server gave a problem about user login. I could not become superuser. my user that has superuser. When I login the server this user the screen gives things as below usersu not running setuid what shell I do ? I think you are saying that you tried to 'su' from a non root user login. Is that true? If so, the thing to check is if that user is in the 'wheel' group. Look in the file /etc/group and make sure that user is added to the wheel group. If you have no root access at all, you will need to learn how to boot to single user and create a root account for yourself or put a password on the root account. That (single user booting) is all well layed out in documentation and in the list archives and in FAQs. jerry ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I could not become superuser
Thanks a lot my problem has been solved. the permission wrong caused this problem. I rewrote permission right as below chmod 4755 /usr/bin/su - Original Message - From: Bill Moran [EMAIL PROTECTED] To: Jerry McAllister [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Friday, November 18, 2005 5:13 PM Subject: Re: I could not become superuser Jerry McAllister [EMAIL PROTECTED] wrote: Hello I installed FreeBSD6.0. and it was running well by today . My FreeBSD server gave a problem about user login. I could not become superuser. my user that has superuser. When I login the server this user the screen gives things as below usersu not running setuid what shell I do ? I think you are saying that you tried to 'su' from a non root user login. Is that true? If so, the thing to check is if that user is in the 'wheel' group. Look in the file /etc/group and make sure that user is added to the wheel group. Actually, I believe su is more helpful if that's the case, giving an error such as you are not in the correct group ... The not running setuid makes me wonder. Have you changed permissions on any files on that machine. the su program will need setuid permissions and be owned by root to work properly. On my 5.4 machine, it looks like this: ls -l /usr/bin/su -r-sr-xr-x 1 root wheel 14292 May 27 12:24 /usr/bin/su -- Bill Moran Potential Technologies http://www.potentialtech.com ___ 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]
how to convert lower case to uppercase in a word in a line ?
Hello There is a word that consists lowercases. How to change all of letters capital letters in stead of lowercase ? is there any script about that ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]