Re: Upgrading to 64 bit from a 32 bit installation on FBSD 7
Andrew Berry wrote: Hi, I've got a server which will be upgraded to my castoff parts which support amd64. This machine has been running Freebsd since the 5.0 RC's, starting on a P2 233Mhz, upgraded incrementally for a few years - a real testament to the stability of a FreeBSD install! What I've done in the past while upgrading is simply move the drive, and rebuild everything with an updated make.conf optimized for the new processor. Can I simply rebuild the world (or use freebsd-update), and portupgrade everything to rebuild for amd64? Or, will things break as libraries are upgraded which still have 32-bit dependancies on the system? This is a pretty common question, did you try searching the archives or google for the answer? Also, AFAIK upgrading to a 64 bit system allows access to additional registers on the CPU, leading to a performance increase. The system will only have 1.5 gigs of RAM, so that's not an issue, but are there any benchmarks out there comparing performance on 4GB hardware with 32 bit and 64 bit Freebsd? Performance is not a single number. Sometimes 64-bit systems can be slower, sometimes faster. Run it on your own workload or look for a narrowly tailored benchmark and see what happens for you. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pc with 4G memory
Ivan Voras wrote: * Use a PAE kernel, which works fairly well, but doesn't support kernel modules (if you are not familiar with kernel modules then you probably don't need them so ignore this). There's a pre-packaged kernel configuration named PAE for this. PAE has supported kernel modules for quite a long time. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto blacklist ssh connections ...
On 17 Sep 2008 , [EMAIL PROTECTED] entreated about freebsd-questions Digest, Vol 233, Issue 7: Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? yes, 'pf' the packet filter. http://home.nuug.no/~peter/pf/en/bruteforce.html (but you really should read the tutorial from the beginning) -- DA Fo rsythNetwork Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto blacklist ssh connections ...
Nathan Lay wrote: I employed this solution: http://johan.fredin.info/openbsd/block_ssh_bruteforce.html You have to enable pf, but man it works and it works well! Agreed. I use a slight modification of this configuration on a number of firewalls. As specified in the page referenced above, the rule set causes /any/ too-rapid spate of SSH connections to get you locked out, and that includes legitimate users too. Simple modification is to add a whitelist table for addresses that you never want to lock out: table static-whitelist const { \ 12.34.56.78 \ ... \ } persist table ssh-bruteforce persist [...] block drop in log quick on $ext_if from ssh-bruteforce [...] pass in on $ext_if proto tcp \ from !static-whitelist to $ext_if port ssh \ flags S/SA keep state\ (max-src-conn-rate 3/30, overload ssh-bruteforce flush global) pass in on $ext_if proto tcp \ from static-whitelist to $ext_if port ssh \ flags S/SA keep state Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: bash shell colors
Hi, I use something like this (heavily inspired by Gentoo): if [[ ${EUID} == 0 ]] ; then PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] ' else PS1='\[\033[01;[EMAIL PROTECTED];34m\] \w \$\[\033[00m\] ' fi One could maybe also include a check of $TERM for different terminal types, not all of them will understand color escape sequences. And of course tools like ls and grep do colorized output themselves when called with appropriate options. This is described in the PROMPTING section of Bash's manpage. I did not find any documentation for the exact codes for ANSI color escape sequences. Anselm On Sep 18, 2008, at 07:08 , Sam Fourman Jr. wrote: Hello list, I am looking to configure FreeBSD's Bash can anyone post a config file that would make FreeBSD's Bash shell color code like the default gentoo bash shell or if you have a config that you like and feel like posting it I will take a look at it. Sam Fourman Jr. Fourman Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bash shell colors
On Thu, Sep 18, 2008 at 08:56:09AM +0200, Anselm Strauss wrote: Hi, I use something like this (heavily inspired by Gentoo): if [[ ${EUID} == 0 ]] ; then PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] ' else PS1='\[\033[01;[EMAIL PROTECTED];34m\] \w \$\[\033[00m\] ' fi One could maybe also include a check of $TERM for different terminal types, not all of them will understand color escape sequences. And of course tools like ls and grep do colorized output themselves when called with appropriate options. This is described in the PROMPTING section of Bash's manpage. I did not find any documentation for the exact codes for ANSI color escape sequences. The ANSI color escape codes are shown here: http://www.understudy.net/custom.html#table2 I don't know if they're in any FreeBSD documentation. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto blacklist ssh connections ...
Howdy, We use Blockhosts found here :) http://www.aczoom.com/cms/blockhosts HTH cya Andrew DA Forsyth wrote: On 17 Sep 2008 , [EMAIL PROTECTED] entreated about freebsd-questions Digest, Vol 233, Issue 7: Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? yes, 'pf' the packet filter. http://home.nuug.no/~peter/pf/en/bruteforce.html (but you really should read the tutorial from the beginning) -- DA Fo rsythNetwork Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Network Administrator / Manager Webzone Internet 1st Floor (Oakley Street Entrance) 167 Grote Street Adelaide SA, 5000 Phone 1300 303 932 Fax 08 8221 6204 Email [EMAIL PROTECTED] [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: Mystical Server Shutdown.
Grant Peel wrote: Hi all, I started getting watchmouse errors about on pf my servers not responding. There is a DRAC on the machine, and the sensor data was all good. When I got the machine back up and running, I seen this in lastlog: client1 ftp hostname1here Wed Sep 17 17:02 - shutdown (00:46) client2 ftp hostname2here Wed Sep 17 17:02 - shutdown (00:46) client2 ftp hostname2here Wed Sep 17 17:02 - shutdown (00:46) client3 ftp hostname3here Wed Sep 17 17:01 - 17:06 (00:04) Should I be worried about seeing 'shutdown' in an ftp line of last? That just means the ftp user was still logged in at the time the system shut down. If not, how would you suggest I find the process or program that issued the shutdown command? Read the system logs, basically. /var/log/messages or /var/log/all.log (if you've enabled it). The shutdown(8) command will always write syslog messages when invoked. halt(8) or reboot(8) will write a 'shutdown' record into wtmp (ie. look at 'last shutdown') but don't log anything to syslog. However, you're quite likely to find that there is nothing in the log or wtmp files to explain what happened. All this means is that the system went down suddenly -- perhaps power dropped out momentarily, or a thermal cutout tripped or the system panic'd for one of any number of reasons. You'ld be able to detect log file traces showing fsck(8) being run on the root f/s following any of those sort of unclean shutdowns, and if the system panic'd then you may well have a core dump sitting in /var/db/crash -- depends whether you've enabled that functionality or not. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
RE: How to split a C string by a string?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giorgos Keramidas Sent: Thursday, 18 September 2008 1:49 AM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Subject: Re: How to split a C string by a string? On Wed, 17 Sep 2008 06:32:56 -0700 (PDT), Unga [EMAIL PROTECTED] wrote: --- On Wed, 9/17/08, Giorgos Keramidas [EMAIL PROTECTED] wrote: From: Giorgos Keramidas [EMAIL PROTECTED] Subject: Re: How to split a C string by a string? To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Wednesday, September 17, 2008, 6:17 PM On Wed, 17 Sep 2008 00:45:46 -0700 (PDT), Unga [EMAIL PROTECTED] wrote: Hi all I'm writing an C application on FreeBSD 7+. I need to split a string by another string (ie. the delimiter is xxx) similar to strtok split a string by a single char. Is there a standard function or is there a FreeBSD functions for this? You can use strstr() to look for the xxx delimited and split that that point: [snip sample code] Thank you very much for the reply. That is, there is no existing split function. So I got to write to my own :) Yes, you have to roll our own. The standard C library doesn't have string splitting functions with a string as delimiter. It includes strtok(), strspn() and strcspn(), but these work with character sets as delimiters, not strings... Hi, the attached code does string splitting and insertion it looks for a specific string, copies from start up to that point to a workspace, inserts the new text, then appends the remainder, starting AFTER the search string fragment. with a bit of work you could make it do your string splitting Murray Taylor Bytecraft Systems Special Projects Engineer P: +61 3 8710 0600 D: +61 3 9238 4275 F: +61 3 9238 4140 -- |_|0|_|Absence of evidence |_|_|0|is not evidence of absence |0|0|0|Carl Sagan --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### test.c Description: test.c ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bash shell colors
Sam Fourman Jr. wrote: I am looking to configure FreeBSD's Bash can anyone post a config file that would make FreeBSD's Bash shell color code like the default gentoo bash shell or if you have a config that you like and feel like posting it I will take a look at it. This is also heavily inspired by gentoo, but has some hooks that will help you with customizing the colors. For the full guide of what all the \-escaped sequences mean, see the PROMPTING section of the bash man page. | # Some variables that make it easy to do things in color | BLUE=\[\033[0;34m\] | BBLUE=\[\033[1;34m\] | RED=\[\033[0;31m\] | LIGHT_RED=\[\033[1;31m\] | WHITE=\[\033[1;37m\] | NOCOLOR=\[\033[0m\] | BLACK=\[\033[30;47m\] | RED2=\[\033[31;47m\] | GREEN=\[\033[0;32m\] | BGREEN=\[\033[1;32m\] | BYELLOW=\[\033[1;33m\] | BLUE2=\[\033[34;47m\] | MAGENTA=\[\033[35;47m\] | CYAN=\[\033[36;47m\] | BCYAN=\[\033[1;36m\] | WHITE2=\[\033[37;47m\] | TEAL=\[\033[0;36m\] | | # This sets PS1 so that xterm names and screen window listings are | # automatically populated with the contents of your prompt. You may | # find it useful if you use xterm or rxvt or screen, but will probably | # want to omit it otherwise. | case $TERM in | xterm*|rxvt*) | TITLEBAR=\[\033]0;[EMAIL PROTECTED] : \w\007\] | ;; | screen*) | TITLEBAR=[EMAIL PROTECTED] : \w\033\134\]\[\033]0;[EMAIL PROTECTED] : \w\007\] | ;; | *) | TITLEBAR= | ;; | esac | | PS1=${BGREEN}\\u ${BCYAN}\\h ${BGREEN}\\W${BCYAN} \\\$${NOCOLOR} ${TITLEBAR} | SUDO_PS1=$PS1 | export PS1 SUDO_PS1 -- Chris Cowart Network Technical Lead Network Infrastructure Services, RSSP-IT UC Berkeley pgp5faO4MLIhZ.pgp Description: PGP signature
Re: NTP authentication using kerberos
Da Rock wrote: This may be a stupid question, and/or a chicken and egg conundrum: Is it possible to use kerberos in authentication with an ntp server? Here is my reasoning for this (and please correct any wrong assumptions I have here): In the handbook regarding kerberos (and nearly every other reliable source) kerberos is all or nothing- every service needs to be included or it is not as secure as it should be. On the other hand, there are problems with using kerberos if the time is not synchronised, so use ntp. And so far I have only found simple key authentication similar to dhcp and dns to authenticate ntp with. But if kerberos provides keys then this could be simpler, yes? Once I have worked through this, I'd like to multicast ntp, but I think I've got that sewn up already, unless anybody has some advice on this? I'll probably be using the 239 subnet rather than 224 if that is not an issue. One more thing- if ntp uses the same sort of authentication as dhcp and dns, is there a way to extend this kerberos setup (if it is possible with ntp) to dhcp and dns on my local network? Or am I just getting too ambitious with everything here? :) NTP doesn't support Kerberos style authentication. It has it's own cryptographically secured authentication mechanisms. See ntp-keygen(8) However, doing the full-blown crypto security thing is generally over the top for securing simple clients. It's good for NTP servers, especially if you have your own heirarchy of Stratum 1 and perhaps Stratum 2 servers and accurate timing really is critical for you. Remember you need at least three independent time sources -- preferably four to give you some resilience -- in order to be able to detect if the clock has gone wonky on any one of your servers. For supplying a time signal by multicast or broadcast, you have to enable key based authentication on all the servers and clients. The basic method just uses what is effectively an 8 character random string as a password. This is usually sufficient if all your client machines are on protected back end networks and taking a time signal from NTP servers entirely in your control. You need to protect the ntp-keys file from exposure -- I like to create a root-only directory to hold it: mkdir /etc/ntp mv ntp.keys /etc/ntp/ chown -R root:wheel /etc/ntp chmod -R go-rwx /etc/ntp For dhcp and DNS security -- there are all sorts of mechanisms for authenticating and securing transactions between such servers. In the case of DNS, I suggest you read up on 'Tsig' (Transaction Signatures) and DNSSEC -- this is a good resource: http://www.dnssec.net/why-deploy-dnssec Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Auto blacklist ssh connections ...
Marc G. Fournier [EMAIL PROTECTED] writes: Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? With PF, you could use state tracking options and overload rules to set limits on the rate of new connections from any one host and/or the rate of new connections, pass quick proto { tcp, udp } from any to any port ssh \ flags S/SA keep state \ (max-src-conn 15, max-src-conn-rate 5/3, \ overload bruteforce flush global) supplemented by a rule that handles traffic from the bruteforce table (block quick, assign to tiny queue, whatever). One of the more popular pages in the PF tutorial (http://home.nuug.no/~peter/pf/en/bruteforce.html) is about just that, see http://home.nuug.no/~peter/pf/ for a wider range of formats. There are other packages that will read your auth log and count, but being sort of a PF guy I found the PF-based solution quite attractive and flexible. -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ Remember to set the evil bit on all malicious network traffic delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTP authentication using kerberos
On Thu, 2008-09-18 at 08:28 +0100, Matthew Seaman wrote: Da Rock wrote: This may be a stupid question, and/or a chicken and egg conundrum: Is it possible to use kerberos in authentication with an ntp server? Here is my reasoning for this (and please correct any wrong assumptions I have here): In the handbook regarding kerberos (and nearly every other reliable source) kerberos is all or nothing- every service needs to be included or it is not as secure as it should be. On the other hand, there are problems with using kerberos if the time is not synchronised, so use ntp. And so far I have only found simple key authentication similar to dhcp and dns to authenticate ntp with. But if kerberos provides keys then this could be simpler, yes? Once I have worked through this, I'd like to multicast ntp, but I think I've got that sewn up already, unless anybody has some advice on this? I'll probably be using the 239 subnet rather than 224 if that is not an issue. One more thing- if ntp uses the same sort of authentication as dhcp and dns, is there a way to extend this kerberos setup (if it is possible with ntp) to dhcp and dns on my local network? Or am I just getting too ambitious with everything here? :) NTP doesn't support Kerberos style authentication. It has it's own cryptographically secured authentication mechanisms. See ntp-keygen(8) However, doing the full-blown crypto security thing is generally over the top for securing simple clients. It's good for NTP servers, especially if you have your own heirarchy of Stratum 1 and perhaps Stratum 2 servers and accurate timing really is critical for you. Remember you need at least three independent time sources -- preferably four to give you some resilience -- in order to be able to detect if the clock has gone wonky on any one of your servers. For supplying a time signal by multicast or broadcast, you have to enable key based authentication on all the servers and clients. The basic method just uses what is effectively an 8 character random string as a password. This is usually sufficient if all your client machines are on protected back end networks and taking a time signal from NTP servers entirely in your control. You need to protect the ntp-keys file from exposure -- I like to create a root-only directory to hold it: mkdir /etc/ntp mv ntp.keys /etc/ntp/ chown -R root:wheel /etc/ntp chmod -R go-rwx /etc/ntp For dhcp and DNS security -- there are all sorts of mechanisms for authenticating and securing transactions between such servers. In the case of DNS, I suggest you read up on 'Tsig' (Transaction Signatures) and DNSSEC -- this is a good resource: http://www.dnssec.net/why-deploy-dnssec Cheers, Matthew Well thats good to know. I'm already using those methods on the dns and dhcp server, seems isc have their own methods in security so I'll just have to stick with those for ntp too. For reference, how does this affect the whole kerberos setup if these services are not in the kerberos system? Does it introduce a security flaw? Any experts out there that can clarify this point? Or should I just run these particular services outside the kerberos system (ie on a separate machine not kerberos secured)? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pc with 4G memory
2008/9/18 Kris Kennaway [EMAIL PROTECTED]: Ivan Voras wrote: * Use a PAE kernel, which works fairly well, but doesn't support kernel modules (if you are not familiar with kernel modules then you probably don't need them so ignore this). There's a pre-packaged kernel configuration named PAE for this. PAE has supported kernel modules for quite a long time. KLDs are supported under PAE? Are the following lines in pae(4): Since KLD modules are not compiled with the same options headers that the kernel is compiled with, they must not be loaded into a kernel compiled with the PAE option. and these in the PAE configuration fille: # Don't build modules with this kernel config, since they are not built with # the correct options headers. makeoptions NO_MODULES=yes wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OO 2.4.1 package problem
On Wed, 17 Sep 2008 19:07:29 -0400 Vinny [EMAIL PROTECTED] wrote: Hi Ghirai, I installed OOo_2.4.1_FreeBSD70Intel_install_en-US.tbz, along with the required deps, as well as diablo-jre-freebsd7.i386.1.6.0.07.02.tbz. Now i'm getting this error: [EMAIL PROTECTED] /usr/home/ghirai]$ openoffice.org-2.4.1 javaldx: Could not find a Java Runtime Environment! The application cannot be started. The component manager is not available. Segmentation fault (core dumped) I ran into this error using the package you mention. It turned out to be a problem with javaldx not recognizing the FreeBSD Foundation as a provider of a Java run-time. I had to fix it by updating my ports tree and building OOo from source. Hopefully, this is possible on your system. I read about it in the openoffice at freebsd mailing list. The new source has the javaldx fix. Vinny Thanks for the info. I guess i'll be compiling from source after all; was hoping to save myself the many hours :) -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mystical Server Shutdown.
If you applied all the Matthew's suggestions and it is still a mystery, and if server's shutdown is clean, look for a a (buggy) user land process that sends SIGUSR2 signal to init(1). Matthew Seaman wrote: Grant Peel wrote: Hi all, I started getting watchmouse errors about on pf my servers not responding. There is a DRAC on the machine, and the sensor data was all good. When I got the machine back up and running, I seen this in lastlog: client1 ftp hostname1here Wed Sep 17 17:02 - shutdown (00:46) client2 ftp hostname2here Wed Sep 17 17:02 - shutdown (00:46) client2 ftp hostname2here Wed Sep 17 17:02 - shutdown (00:46) client3 ftp hostname3here Wed Sep 17 17:01 - 17:06 (00:04) Should I be worried about seeing 'shutdown' in an ftp line of last? That just means the ftp user was still logged in at the time the system shut down. If not, how would you suggest I find the process or program that issued the shutdown command? Read the system logs, basically. /var/log/messages or /var/log/all.log (if you've enabled it). The shutdown(8) command will always write syslog messages when invoked. halt(8) or reboot(8) will write a 'shutdown' record into wtmp (ie. look at 'last shutdown') but don't log anything to syslog. However, you're quite likely to find that there is nothing in the log or wtmp files to explain what happened. All this means is that the system went down suddenly -- perhaps power dropped out momentarily, or a thermal cutout tripped or the system panic'd for one of any number of reasons. You'ld be able to detect log file traces showing fsck(8) being run on the root f/s following any of those sort of unclean shutdowns, and if the system panic'd then you may well have a core dump sitting in /var/db/crash -- depends whether you've enabled that functionality or not. Cheers, Matthew -- Best regards. Hooman Fazaeli [EMAIL PROTECTED] Sepehr S. T. Co. Ltd. Web: http://www.sepehrs.com Tel: (9821)88975701-2 Fax: (9821)88983352 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
can't open /dev/da1s1e: Input/output error
I have done fsck but it doesn't seem to fix the problem. i can't ssh m server from another machine, and it's my ns server, i really need it to be up and running What else can i do? thanks The man who says his wife can't take a joke, forgets she took him ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto blacklist ssh connections ...
On Wed 2008-09-17 19:36:02 UTC-0400, Tom Marchand ([EMAIL PROTECTED]) wrote: Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? Why don't you have sshd listen on a different port? I imagine that on some hosts where there are multiple users/customers, moving sshd to another port isn't a practical solution due to people's habits in trying to connect to the default port. A human problem rather than a technical one. PS. Top posting is cruel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freeBSD 7.0 supports ACE Proactor?
Mungyung Ryu wrote: freebsd-questions@freebsd.orgHi freeBSD users, I've developed couple of server applications on Windows platform with ACE Proactor and it worked quite well. But, because of the expensive Windows Server, I wanna move to Linux or freeBSD. Recently, I'm considering to build a server application on freeBSD but the important issue is whether the freeBSD supports ACE Proactor framework. I googled about it and Linux doesn't support it well because Linux doesn't support AIO (asynchronous I/O) on socket. Moreover, most of the ACE professionals recommend to use Reactor framework on Linux. My questions is.. 1. freeBSD supports AIO on socket? Yes. 2. I can use ACE Proactor on freeBSD 7.0 without any problem? Is it stable? Probably nobody tried to use it before. I haven't heard about it before but it looks like it's a IO library. If you can port your code to libevent (http://monkey.org/~provos/libevent/) it would be much better supported on both FreeBSD and Linux. signature.asc Description: OpenPGP digital signature
port www/kazehakase + webkit - errors
Anybody using www/kazehakase with webkit engine? Any issues? I built these ports on FBSD 6.3 Alpha, and get many many errors, e.g.: pid 64050 (kazehakase): unaligned access: va=0x163dd800a pc=0x161c2fbb8 ra=0x161c2f0ac op=ldl pid 64050 (kazehakase): unaligned access: va=0x163dd800e pc=0x161c2fbb8 ra=0x161c2f0ac op=ldl console message: @0: Not allowed to load local resource: file:///home/release-19-2/style/homepage.min.css console message: @0: Not allowed to load local resource: file:///includes/templates/script/blq_core.js?v34.8 (gecko:64050): Gtk-CRITICAL **: gtk_menu_shell_insert: assertion `GTK_IS_MENU_ITEM (child)' failed (gecko:64050): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed (gecko:64050): Gtk-CRITICAL **: gtk_menu_shell_insert: assertion `GTK_IS_MENU_ITEM (child)' failed (gecko:64050): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed (gecko:64050): Gtk-CRITICAL **: gtk_range_get_adjustment: assertion `GTK_IS_RANGE (range)' failed (gecko:64050): Gtk-CRITICAL **: gtk_range_get_adjustment: assertion `GTK_IS_RANGE (range)' failed (gecko:64050): Gtk-CRITICAL **: gtk_range_get_adjustment: assertion `GTK_IS_RANGE (range)' failed (gecko:64050): GLib-GObject-WARNING **: invalid (NULL) pointer instance thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: epiphany stalls on dbus-launch?
On Wed, Sep 17, 2008 at 04:12:22PM +0100, Anton Shterenlikht wrote: I've built ports/www/epiphany on FBSD-6.3-stable on Alpha. On launch epiphany never opens the graphical window. ps shows: 67097 p5 I 0:01.21 epiphany 67098 p5 I 0:00.05 dbus-launch --autolaunch 76514f0130361463d40d7f1348d11bf3 --binary-syn 67101 p5 I 0:00.00 dbus-launch --autolaunch 76514f0130361463d40d7f1348d11bf3 --binary-syn If I kill either dbus-launch, epiphany exits with an error. I wonder if the problem is in dbus, and not in epiphany. Anybody has seen this problem. just to add, I cannot even get epiphany --help or epiphany --version. It just stalls with 2 dbus-launch processes. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading to 64 bit from a 32 bit installation on FBSD 7
On 18-Sep-08, at 2:37 AM, Kris Kennaway wrote: Andrew Berry wrote: Can I simply rebuild the world (or use freebsd-update), and portupgrade everything to rebuild for amd64? Or, will things break as libraries are upgraded which still have 32-bit dependancies on the system? This is a pretty common question, did you try searching the archives or google for the answer? Yes, I did, and was quite surprised when I didn't find a clear answer :) Also, AFAIK upgrading to a 64 bit system allows access to additional registers on the CPU, leading to a performance increase. The system will only have 1.5 gigs of RAM, so that's not an issue, but are there any benchmarks out there comparing performance on 4GB hardware with 32 bit and 64 bit Freebsd? Performance is not a single number. Sometimes 64-bit systems can be slower, sometimes faster. Run it on your own workload or look for a narrowly tailored benchmark and see what happens for you. The main workload on this machine is SpamAssassin and gcc (for updating ports). So I guess I'll have to look into Perl specifically then. Thanks, --Andrew
NTP on 7.1 BETA amd64 odd behaviour
I have one 7.0-RELEASE machine running NTP with the following settings. rc.conf - ntpd_enable=YES ntpd_flags=-c /etc/ntp.conf -p /var/run/ntpd.pid ntp.conf --- server ntp2.sp.se server ntp.lth.se server ntp1.sp.se driftfile /etc/ntp/ntp.drift on my second machine 7.1-BETA amd64, the same configuration produces this error -- :/etc/rc.d/ntpd start Starting ntpd. ERROR: only one configfile option allowed ntpd - NTP daemon program - Ver. 4.2.4p5 USAGE: ntpd [ -flag [val] | --name[{=| }val] ]... Flg Arg Option-NameDescription -4 no ipv4 Force IPv4 DNS name resolution -6 no ipv6 Force IPv6 DNS name resolution -a no authreqRequire crypto authentication -A no authnoreq Do not require crypto authentication -b no bcastsync Allow us to sync to broadcast servers -c Str configfile configuration file name -f Str driftfile frequency drift file name -g no panicgate Allow the first adjustment to be Big -i Str jaildirJail directory -I Str interface Listen on interface -k Str keyfilepath to symmetric keys -l Str logfilepath to the log file -L no novirtualips Do not listen to virtual IPs -n no nofork Do not fork -N no nice Run at high priority -p Str pidfilepath to the PID file -P Num priority Process priority -q no quit Set the time and quit -r Str propagationdelay Broadcast/propagation delay -U Num updateinterval interval in seconds between scans for new or dropped in terfaces -s Str statsdir Statistics file location -t Str trustedkey Trusted key number -u Str user Run as userid (or userid:groupid) -v Str varmake ARG an ntp variable (RW) -V Str dvar make ARG an ntp variable (RW|DEF) -x no slew Slew up to 600 seconds -v opt versionOutput version information and exit -? no help Display usage information and exit -! no more-help Extended usage information passed thru pager Options are specified by doubled hyphens and their name or by a single hyphen and the flag character. please send bug reports to: http://bugs.ntp.isc.org, [EMAIL PROTECTED] - If I comment out the ntpd_flags=-c /etc/ntp.conf -p /var/run/ntpd.pid line. ntp starts without any error. Should I accept this or is something wrong? Thanks /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OO 2.4.1 package problem
On Thu, 18 Sep 2008 12:17:24 +0300 Ghirai [EMAIL PROTECTED] wrote: On Wed, 17 Sep 2008 19:07:29 -0400 Vinny [EMAIL PROTECTED] wrote: Hi Ghirai, I installed OOo_2.4.1_FreeBSD70Intel_install_en-US.tbz, along with the required deps, as well as diablo-jre-freebsd7.i386.1.6.0.07.02.tbz. Now i'm getting this error: [EMAIL PROTECTED] /usr/home/ghirai]$ openoffice.org-2.4.1 javaldx: Could not find a Java Runtime Environment! The application cannot be started. The component manager is not available. Segmentation fault (core dumped) I ran into this error using the package you mention. It turned out to be a problem with javaldx not recognizing the FreeBSD Foundation as a provider of a Java run-time. I had to fix it by updating my ports tree and building OOo from source. Hopefully, this is possible on your system. I read about it in the openoffice at freebsd mailing list. The new source has the javaldx fix. Vinny Thanks for the info. I guess i'll be compiling from source after all; was hoping to save myself the many hours :) Alright, installed from ports, and it's working as it should. And it only took about 4 hours. -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTP on 7.1 BETA amd64 odd behaviour
- If I comment out the ntpd_flags=-c /etc/ntp.conf -p /var/run/ntpd.pid line. ntp starts without any error. Should I accept this or is something wrong? Thanks /Leslie Looks like it wants only one parameter as a flag in rc.conf.local You can try to change it to just ntpd_flags=-p /var/run/ntpd.pid If you look through the code in /etc/rc.d/ntpd file it might become more clear to you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Vinum for hard disk drive balanced load sharing configuration example RAID-5
Dear Listmates, Is it possible to configure vinum for balancing the mileage between two and three non-volatile storage devices of a different size I have read the manual thoroughly and noticed that the are certain restrictions applied to the hard drive sizes in the proposed RAID5 data handling implementation A fact of use of the plexes as structural entinties make me wonder why would the size of an actual hard drive make a difference to the actual i/o layer when plexes are even and the subdisks sizes are even why not just i/o consequently Can someone please provide me with a working example of a RAID5 configuration Sincerely Nash ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto blacklist ssh connections ...
Quoting andrew clarke [EMAIL PROTECTED]: On Wed 2008-09-17 19:36:02 UTC-0400, Tom Marchand ([EMAIL PROTECTED]) wrote: Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? Why don't you have sshd listen on a different port? I imagine that on some hosts where there are multiple users/customers, moving sshd to another port isn't a practical solution due to people's habits in trying to connect to the default port. A human problem rather than a technical one. PS. Top posting is cruel. I`ve been more or less watching this thread and haven't seen the use of the ssh-bruteforce rules from the pf on line howtos being recommended. In my own case pf, in addition to a couple of other changes, has worked well for us. In the other changes mentioned we have also changed the ssh port that doesn't add security but has basically stopped logfiles full of dictionary attempts from what I expect are windows machines that have been violated and are being used to find more. I would highly recommend pf brutforce rules or something similar with other firewalls. ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD installation doesn't work
I'm trying to install freeBSD on my pc, but after the installation it doesn't boot. It can't find the kernel. I think it is the problem with my partitioning. i'm trying this order: /boot swap / /var /usr Can you help me how to install in this order? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD installation doesn't work
Robert Lebovich skrev: I'm trying to install freeBSD on my pc, but after the installation it doesn't boot. It can't find the kernel. I think it is the problem with my partitioning. i'm trying this order: /boot swap / /var /usr Can you help me how to install in this order? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Did you install the boot loader? Is the slice set for boot (active)? /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD installation doesn't work
On Thu, Sep 18, 2008 at 03:32:09PM +0200, Leslie Jensen wrote: Robert Lebovich skrev: I'm trying to install freeBSD on my pc, but after the installation it doesn't boot. It can't find the kernel. I think it is the problem with my partitioning. i'm trying this order: /boot swap / /var /usr Can you help me how to install in this order? ___ Have you already tried the 'auto default' when creating the partitions? Any particular reason why you created a /boot ? ___ 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: disk writer utility
Dánielisz László wrote: What is your favorite disk writer utility? (under X) cdrecord for CDs, growisofs for DVDs. (in an xterm) Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd Life is short (You need Python) -- Bruce Eckel, ANSI C++ Comitee member, author of Thinking in C++ and Thinking in Java ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
passing variable to at command
Is there a way to pass variables to a shell script from the command line with the at command? What I've been trying is something like : at -f '/path/script 20 test' 8:10 091808 : Where 20 and test set variables in the script. I've tried googling the at command for help but there's a lot of at in the world. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
configure NAT with demand dial interface?
hi my friends im new to freebsd. i want to that can i have a NAT service that using demand dial connection(such as dial up or pppoe connections)? can i configure it to disconnect when the service is idle(for saving bandwidth)? thanks in advance -- View this message in context: http://www.nabble.com/configure-NAT-with-demand-dial-interface--tp19554068p19554068.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD installation doesn't work
On Thu, Sep 18, 2008 at 03:49:37PM +0300, Robert Lebovich wrote: I'm trying to install freeBSD on my pc, but after the installation it doesn't boot. It can't find the kernel. I think it is the problem with my partitioning. i'm trying this order: /boot swap / /var /usr Can you help me how to install in this order? Do not make a '/boot' partition separate from '/'. It won't work. -- Insert your favourite quote here. Erik Trulsson [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: NTP on 7.1 BETA amd64 odd behaviour
thanks for the new /etc/rc.d/ntpd ... rc_flags=-c ${ntpd_config} ${ntpd_flags} ... what we can learn from it is that on 7.1 BETA your rc.conf.local file should look like this ntpd_config=/etc/ntpd.conf ntpd_flags=-p /var/run/ntpd.pid hope that explains Nash ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: passing variable to at command
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Busby wrote: Is there a way to pass variables to a shell script from the command line with the at command? What I've been trying is something like : at -f '/path/script 20 test' 8:10 091808 : Where 20 and test set variables in the script. I've tried googling the at command for help but there's a lot of at in the world. Thanks Hi Mark, My reading of the at(1) man page (http://www.freebsd.org/cgi/man.cgi?query=atapropos=0sektion=0manpath=FreeBSD+7.0-RELEASEformat=html) implies that the -f option is used to specify a file containing the commands you wish to execute, not the actual commands themselves. In that case, create a temporary file with commands like '/path/script 20 test', etc. in it and then use at -f to run the commands in that file at the specified time. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI0mow0sRouByUApARAnZzAJ4vFomoN4zTLWmlzoRpuZJwDLExAQCfZoCb lRyDaLaj+Te+wayACyfME3s= =zAc0 -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: configure NAT with demand dial interface?
imax36581 [EMAIL PROTECTED] writes: im new to freebsd. i want to that can i have a NAT service that using demand dial connection(such as dial up or pppoe connections)? can i configure it to disconnect when the service is idle(for saving bandwidth)? ppp(8) supports this directly: http://www.freebsd.org/cgi/man.cgi?query=ppp [see the -auto and -nat options] -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: passing variable to at command
Mark Busby wrote: Is there a way to pass variables to a shell script from the command line with the at command? What I've been trying is something like : at -f '/path/script 20 test' 8:10 091808 : Where 20 and test set variables in the script. You will have to write your commands in a file, and supply the name of this file as the `-f' argument for at. The file is processed by SH. You can also say: echo /path/script 20 test | at 8:10 091808 I've tried googling the at command for help but there's a lot of at in the world All of this is written in the at man page! -- Cheers, Michaël ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: configure NAT with demand dial interface?
Lowell Gilbert wrote: imax36581 [EMAIL PROTECTED] writes: im new to freebsd. i want to that can i have a NAT service that using demand dial connection(such as dial up or pppoe connections)? can i configure it to disconnect when the service is idle(for saving bandwidth)? ppp(8) supports this directly: http://www.freebsd.org/cgi/man.cgi?query=ppp [see the -auto and -nat options] -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] thanks Lowell Gilbert,it will be useful for me soon but another question on that page i cant find anything that can help me to scheduling connections for example i have two account (pppoe),i want to use second account during 3 util 7 am and use the first account in other times do you have another article that help me do this? thanks in advance :) -- View this message in context: http://www.nabble.com/configure-NAT-with-demand-dial-interface--tp19554068p19556717.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: configure NAT with demand dial interface?
On Thursday 18 September 2008 18:23:30 imax36581 wrote: thanks Lowell Gilbert,it will be useful for me soon but another question on that page i cant find anything that can help me to scheduling connections for example i have two account (pppoe),i want to use second account during 3 util 7 am and use the first account in other times do you have another article that help me do this? thanks in advance :) Properly setup ppp profiles, using /etc/defaults/rc.conf (search for ppp) as a guide. Also read up on rc.conf(5), very useful info. Then use 2 crontabs at the appropreate times, as simple as: 0 3 * * * /etc/rc.d/ppp stop dayprofile; /etc/rc.d/ppp start nightprofile 0 7 * * * /etc/rc.d/ppp stop nightprofile; /etc/rc.d/ppp start dayprofile -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD installation doesn't work
On Thursday 18 September 2008 16:26:43 Erik Trulsson wrote: On Thu, Sep 18, 2008 at 03:49:37PM +0300, Robert Lebovich wrote: I'm trying to install freeBSD on my pc, but after the installation it doesn't boot. It can't find the kernel. I think it is the problem with my partitioning. i'm trying this order: /boot swap / /var /usr Can you help me how to install in this order? Do not make a '/boot' partition separate from '/'. It won't work. that's aside from the fact that the root partition '/' always has to be the first partition, for the simple reason that everything else is mounted on top of it. For the same reason: /dev/ad1se /usr/local /dev/ad1sf /usr will not work. For this particular case (root not first mount), sysinstall could be made smarter. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD installation doesn't work
Mel wrote: that's aside from the fact that the root partition '/' always has to be the first partition, for the simple reason that everything else is mounted on top of it. For the same reason: /dev/ad1se /usr/local /dev/ad1sf /usr will not work. For this particular case (root not first mount), sysinstall could be made smarter. It's not the partition device names that determine the mount order, but the order of the entries in /etc/fstab. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: NTP on 7.1 BETA amd64 odd behaviour
On Thursday 18 September 2008 16:44:40 Nash Nipples wrote: thanks for the new /etc/rc.d/ntpd ... rc_flags=-c ${ntpd_config} ${ntpd_flags} ... what we can learn from it is that on 7.1 BETA your rc.conf.local file should look like this ntpd_config=/etc/ntpd.conf ntpd_flags=-p /var/run/ntpd.pid hope that explains Nash Almost. Look at /etc/defaults/rc.conf: ntpd_config=/etc/ntp.conf # ntpd(8) configuration file ntpd_sync_on_start=NO # Sync time on ntpd startup, even if offset is high ntpd_flags=-p /var/run/ntpd.pid -f /var/db/ntpd.drift # Flags to ntpd (if enabled). 99% of the cases you don't need ntpd_flags. Only if you want the drift file in a different location or use one of the more obscure options. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: configure NAT with demand dial interface?
On Thu, Sep 18, 2008 at 1:16 PM, Mel [EMAIL PROTECTED]wrote: On Thursday 18 September 2008 18:23:30 imax36581 wrote: thanks Lowell Gilbert,it will be useful for me soon but another question on that page i cant find anything that can help me to scheduling connections for example i have two account (pppoe),i want to use second account during 3 util 7 am and use the first account in other times do you have another article that help me do this? thanks in advance :) Properly setup ppp profiles, using /etc/defaults/rc.conf (search for ppp) as a guide. Also read up on rc.conf(5), very useful info. Then use 2 crontabs at the appropreate times, as simple as: 0 3 * * * /etc/rc.d/ppp stop dayprofile; /etc/rc.d/ppp start nightprofile 0 7 * * * /etc/rc.d/ppp stop nightprofile; /etc/rc.d/ppp start dayprofile -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This might come in handy for you http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.htmlsince the others already said the good stuff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't open /dev/da1s1e: Input/output error
On Thursday 18 September 2008 11:42:39 Silvia Asongwe wrote: I have done fsck but it doesn't seem to fix the problem. i can't ssh m server from another machine, and it's my ns server, i really need it to be up and running What else can i do? Most likely your disk is dying. To be sure, if you have /var/log/messages, do a grep _DMA /var/log/messages and check for READ_DMA and WRITE_DMA errors. If you have a lot of those, replace cable to rule out a faulty cable else nothing else will help then replacing the disk. Without a /var/log/messages (ie. da1s1e = /var), your best bet are diagnostic tools from your disk vendor. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Jailing net/skype
Am Sun, Sep 14, 2008 at 11:26:45PM +0400 schrieb Boris Samorodov: Tobias Rehbein [EMAIL PROTECTED] writes: #kdump -f ktrace.out | head 84180 skypeCALL access(0x292b2b61,R_OK) 84180 skypeNAMI /compat/linux/etc/ld.so.preload 84180 skypeNAMI /etc/ld.so.preload 84180 skypeRET access JUSTRETURN 84180 skypeCALL open(0x292b2d49,O_RDONLY,unused0) 84180 skypeNAMI /compat/linux/etc/ld.so.cache 84180 skypeNAMI /compat/linux 84180 skypeNAMI /compat/linux/etc/ld.so.cache 84180 skypeRET open 3 84180 skypeCALL freebsd6_mmap(0x3,0xbfbfe324,invalid690704336,MAP_SHARED|MAP_PRIVATE|MAP_RENAME|MAP_NORESERVE|MAP_HASSEMAPHORE|MAP_STACK|MAP_NOSYNC,0x2e6f732e,0x68636163,0x646165,0,0,0,0,0,0,0,0,0,... (lots of '0,'s) The funny thing is kdump itself coredumps when dumping the whole thing out (I guess that has something todo with this endless '...0,0,0,0,0...' sequence). You should use devel/linux_kdump here instead of the native one. Thank you for the hint. I wasn't aware of this tool. Now the output looks better: #linux_kdump -f ktrace.out | tail 84180 skypeRET gettimeofday 0 84180 skypeCALL gettimeofday(0xbfbfd810,0) 84180 skypeRET gettimeofday 0 84180 skypePSIG SIGSEGV caught handler=0x82db000 mask=0x0 code=0x0 84180 skypeCALL linux_rt_sigprocmask(0x1,0xbfbfd3d8,0,0x8) 84180 skypeRET linux_rt_sigprocmask 0 84180 skypeCALL linux_tgkill(0x148d4,0x148d4,0x6) 84180 skypeRET linux_tgkill 0 84180 skypePSIG SIGIOT SIG_DFL 84180 skypeNAMI skype.core Nonetheless I have no clue why it coredumps. Could someone help me interpret this trace? If needed I can provide the full trace or the core dump. The problem can't be gettimeofday() I guess? Thanks in advance Tobias -- Tobias Rehbein PGP key: 4F2AE314 server: keys.gnupg.net fingerprint: ECDA F300 1B6E 9B87 8524 8663 E8B6 3138 4F2A E314 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Firefox won't start
I recently did a ports update and after a bit of effort I got firefox3 to compile with no errors. But now when I either select Firefox from the menu or start it from a terminal window nothing happens. Firefox does not start and there's no indication of any problems. When I use ps to see if it's hung I see nothing. Ideas? tia, - Joe _ Get more out of the Web. Learn 10 hidden secrets of Windows Live. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading to 64 bit from a 32 bit installation on FBSD 7
Andrew Berry wrote: On 18-Sep-08, at 2:37 AM, Kris Kennaway wrote: Andrew Berry wrote: Can I simply rebuild the world (or use freebsd-update), and portupgrade everything to rebuild for amd64? Or, will things break as libraries are upgraded which still have 32-bit dependancies on the system? This is a pretty common question, did you try searching the archives or google for the answer? Yes, I did, and was quite surprised when I didn't find a clear answer :) Perhaps because it's not a simple operation ;) Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pc with 4G memory
Ivan Voras wrote: 2008/9/18 Kris Kennaway [EMAIL PROTECTED]: Ivan Voras wrote: * Use a PAE kernel, which works fairly well, but doesn't support kernel modules (if you are not familiar with kernel modules then you probably don't need them so ignore this). There's a pre-packaged kernel configuration named PAE for this. PAE has supported kernel modules for quite a long time. KLDs are supported under PAE? Are the following lines in pae(4): Since KLD modules are not compiled with the same options headers that the kernel is compiled with, they must not be loaded into a kernel compiled with the PAE option. and these in the PAE configuration fille: # Don't build modules with this kernel config, since they are not built with # the correct options headers. makeoptions NO_MODULES=yes wrong? Not as such, but if you use buildkernel then modules *are* built with the correct options headers. There's nothing fundamental preventing PAE modules from working, and indeed they do. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox won't start
--- On Thu, 9/18/08, Joe Tseng [EMAIL PROTECTED] wrote: From: Joe Tseng [EMAIL PROTECTED] Subject: Firefox won't start To: freebsd-questions@freebsd.org Date: Thursday, September 18, 2008, 12:21 PM I recently did a ports update and after a bit of effort I got firefox3 to compile with no errors. But now when I either select Firefox from the menu or start it from a terminal window nothing happens. Firefox does not start and there's no indication of any problems. When I use ps to see if it's hung I see nothing. Ideas? tia, - Joe i just cant remember if this one is a linux port. in that case you'd need to kldload linux and try again ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox won't start
On Thu, 18 Sep 2008 15:21:11 -0400 Joe Tseng wrote: I recently did a ports update and after a bit of effort I got firefox3 to compile with no errors. But now when I either select Firefox from the menu or start it from a terminal window nothing happens. Firefox does not start and there's no indication of any problems. When I use ps to see if it's hung I see nothing. Ideas? Launch it from xterm and see (post here) what happens. WBR -- bsam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox won't start
Joe Tseng wrote: I recently did a ports update and after a bit of effort I got firefox3 to compile with no errors. But now when I either select Firefox from the menu or start it from a terminal window nothing happens. Firefox does not start and there's no indication of any problems. When I use ps to see if it's hung I see nothing. Ideas? tia, - Joe Check out the permissions on your ~/.mozilla directory. Sometimes (I believe if you use sudo to compile / upgrade firefox), this directory is created with root/wheel ownership and restrictive permissions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port: security/cfs
On Sep 17, 2008, at 7:52 PM, Edwin Groothuis wrote: On Wed, Sep 17, 2008 at 06:38:56PM -0400, Christopher Sean Hilton wrote: The port security/cfs, Matt Blaze's userland Cryptographic filesystem, is marked as broken because it does not compile under FreeBSD-7.0 or later. ports/127457 Thanks for the patch once I recognized that it was against existing patches in the ports files directory it went smoothly. -- Chris -- Chris Hilton chris-at-vindaloo-dot-com All I was doing was trying to get home from work! -- Rosa Parks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Firefox won't start
From: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Date: Thu, 18 Sep 2008 15:21:11 -0400 Subject: Firefox won't start I recently did a ports update and after a bit of effort I got firefox3 to compile with no errors. But now when I either select Firefox from the menu or start it from a terminal window nothing happens. Firefox does not start and there's no indication of any problems. When I use ps to see if it's hung I see nothing. Ideas? what command are you using to start firefox 3? I just installed it for first time and found you have to use the command firefox3 to get it to run -Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Firefox won't start
You got it!!! I type in firefox3 in the terminal and the prompt comes right back. From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: RE: Firefox won't start Date: Thu, 18 Sep 2008 16:22:59 -0400 From: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Date: Thu, 18 Sep 2008 15:21:11 -0400 Subject: Firefox won't start I recently did a ports update and after a bit of effort I got firefox3 to compile with no errors. But now when I either select Firefox from the menu or start it from a terminal window nothing happens. Firefox does not start and there's no indication of any problems. When I use ps to see if it's hung I see nothing. Ideas? what command are you using to start firefox 3? I just installed it for first time and found you have to use the command firefox3 to get it to run -Sean _ See how Windows Mobile brings your life together—at home, work, or on the go. http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems on the console
Hi, I am using FreeBSD 6.2 without X/Xorg. My shell is bash and my keyboard layout is US-ISO. I am facing 2 problems on the console : 1) My backspace key works fine, but the Del and Delete keys also do a backspace instead of a forward delete. How do I change this ? My keyboard is a basic 101/102 keyboard. 2) Bash simply does not remember my commands in the right order. Most of the commands I type in a login session are forgotten in the next session. Moving the Up and Down arrow keys navigates a mangled and incomplete command history. I am attaching the contents of my .bash_profile, .bashrc and .inputrc below. #.bash_profile : if [ -f ~/.bashrc ]; then source ~/.bashrc fi #end-of-file #.bashrc : export HISTFILE=~/.bash_history export HISTFILESIZE=1000 shopt -s cmdhist shopt -s histappend #end-of-file #.inputrc : \e[1~: beginning-of-line \e[4~: end-of-line \e[3~: delete-char #should be a forward delete unless I am mistaken \eOd: backward-word #ctrl-leftarrow \eOc: forward-word #ctrl-rightarrow set completion-query-items 20 set meta-flag on set input-meta on set convert-meta off set output-meta on #end-of-file If anyone can help me out, I shall be really grateful. Thanks in advance, Manish Jain [EMAIL PROTECTED] Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pc with 4G memory
2008/9/18 Kris Kennaway [EMAIL PROTECTED]: # Don't build modules with this kernel config, since they are not built with # the correct options headers. makeoptions NO_MODULES=yes wrong? Not as such, but if you use buildkernel then modules *are* built with the correct options headers. There's nothing fundamental preventing PAE modules from working, and indeed they do. It would have been really useful in one occasion if I knew it before :) I'll test it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems on the console
Hi, I am using FreeBSD 6.2 without X/Xorg. My shell is bash and my keyboard layout is US-ISO. I am facing 2 problems on the console : 1) My backspace key works fine, but the Del and Delete keys also do a backspace instead of a forward delete. How do I change this ? My keyboard is a basic 101/102 keyboard. 2) Bash simply does not remember my commands in the right order. Most of the commands I type in a login session are forgotten in the next session. Moving the Up and Down arrow keys navigates a mangled and incomplete command history. I am attaching the contents of my .bash_profile, .bashrc and .inputrc below. #.bash_profile : if [ -f ~/.bashrc ]; then source ~/.bashrc fi #end-of-file #.bashrc : export HISTFILE=~/.bash_history export HISTFILESIZE=1000 shopt -s cmdhist shopt -s histappend #end-of-file #.inputrc : \e[1~: beginning-of-line \e[4~: end-of-line \e[3~: delete-char #should be a forward delete unless I am mistaken \eOd: backward-word #ctrl-leftarrow \eOc: forward-word #ctrl-rightarrow set completion-query-items 20 set meta-flag on set input-meta on set convert-meta off set output-meta on #end-of-file If anyone can help me out, I shall be really grateful. Thanks in advance, Manish Jain [EMAIL PROTECTED] Download prohibited? No problem. CHAT from any browser, without download. Go to http://in.webmessenger.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Realtek 8111/8168B and Atheros 5100ABGN
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have a Realtek RTL8168/8111 PCI-E Gigabit Ethernet NIC and an Atheros 5100ABGN wireless adapter on my notebook. FreeBSD-7 STABLE cannot configure either card. devinfo shows full info from the Realtek device and partial info from the Atheros device. In a nutshell, I have no network connectivity on this box. In PC-BSD-7, the Realtek works out of the box, but no luck with the Atheros card either. The issue here is that I don't know which modules are different from PC-BSD-7 to FreeBSD-7 STABLE. A recent thread I read on the web mentions a problem with 8168B not working in the stable or current releases (Jul/08 and Aug/08). Could any kind soul give me a couple pointers on how to get these cards to work on FreeBSD? I am using PC-BSD for now, but I'd rather use FreeBSD. Thanks to all, Demian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI0r+7eMJU9zKPcQIRAqAfAJ9gr7xLjREX7iXBGBtL/UwbSAbeOgCdGqBk iuMvXDniKdIhzlPI2j0Yq8U= =C6QI -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: Realtek 8111/8168B and Atheros 5100ABGN
On Thu, 2008-09-18 at 16:53 -0400, Demian Lessa wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have a Realtek RTL8168/8111 PCI-E Gigabit Ethernet NIC and an Atheros 5100ABGN wireless adapter on my notebook. FreeBSD-7 STABLE cannot configure either card. devinfo shows full info from the Realtek device and partial info from the Atheros device. In a nutshell, I have no network connectivity on this box. In PC-BSD-7, the Realtek works out of the box, but no luck with the Atheros card either. The issue here is that I don't know which modules are different from PC-BSD-7 to FreeBSD-7 STABLE. A recent thread I read on the web mentions a problem with 8168B not working in the stable or current releases (Jul/08 and Aug/08). Could any kind soul give me a couple pointers on how to get these cards to work on FreeBSD? I am using PC-BSD for now, but I'd rather use FreeBSD. Thanks to all, I've had trouble with the 8111c, but I'm using 6.2 (tried 7 and didn't think it was stable enough for my systems). Their is a 3rd party driver mentioned under the drivers list, but its only suitable for FBSD up to 6.x. Sorry I can't help further, but thats what I know about this hardware. Cheers and good luck -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: irq19 interrupt storm?
On Wednesday 17 September 2008 05:17:27 pm John Baldwin wrote: On Wednesday 17 September 2008 11:00:24 am Scott Gasch wrote: You're right: atapci1, atapci2, fwohci0 and uhci4 are all sharing the same irq (19) while irqs 20, 21, 22 at least seem completely unused. Here's a dumb question: how do I fix it? I tried setting plug and play OS in the BIOS and then using device.hints to push different devices to different irqs. But every time I tried a new hint it seemed to be ignored. I was trying stuff like: set hint.atapci.1.irq=20 set hint ata.4.irq=20 (ata4 is a channel on atapci1) set hint fwhco.0.irq=20 etc... I also tried to move the dc driver to a new irq as a test. This was also seemingly ignored. I then tried turning plug and play OS off in the BIOS but I don't see anywhere to set the IRQs of the onboard SATA controllers via the menus. I'm looking for a BIOS upgrade now... any other advice? Unfortunately you can't really move PCI IRQs around. You can read about more of the gritty details here: http://people.freebsd.org/~jhb/papers/bsdcan/2007/ You might be able to shuffle some IRQs around using 'hw.pciX.Y.INTA.irq' tunables. Gah, wrong tunables. These devices are on PCI link devices, so you'd need to do something like 'hw.pci.LNKA.irq' (where LNKA is the name of the link device in the ACPI namespace). Verbose boot messages (boot -v) can tell you which link device you PCI devices are using. -- John Baldwin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mount msdosfs with hal
Dear all, I want to use hal to auttomount the windows fat32 partition with gnome. after setting gnome_enable=YES, hal automount it, but there is a problem. hal seems to execute mount_msdosfs /dev/xxx /mountpoint, so the encoding is not handled correctly. If I mount it manually, it should be mount_msdosfs -D=CP936 -L=zh_CN.eucCN /dev/xxx /mountpoint. So my question is how to set the things right? I think I need to modify some fdi files, but just can not figure out. Thanks in advance. Best -- HUANG Ronggui, Wincent Tel: (00852) 3442 3832 Ph.D. Candidate, CityU of HK Master of sociology, Fudan University, China Bachelor of Social Work, Fudan University, China Personal homepage: http://ronggui.huang.googlepages.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Serial Console Problems
I've got DELL PowerEdge 1750 with 7.0-RELEASE-p4. I'm running the serial port to a serial console server. I thought I had the right adapter, DB-9 to RJ45, but it's being weird. When I specify, ttyd0 /usr/libexec/getty std.9600 vt100 on secure In the /etc/ttys file, the console doesn't work at all. However, when I do this, cuad0 /usr/libexec/getty std.9600 vt100 on secure It seems to work just fine. I think my adapter is close, but there is some signal being lost? Can anyone explain this one? I'm not sure I really understand the difference between a ttyd and cuad device from the paragraph in sio(4). Oh, and do I risk anything breaking by running my console off of a cuad? -- Crist J. Clark | [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: Problems on the console
On Thu, 18 Sep 2008, manish jain wrote: Hi, I am using FreeBSD 6.2 without X/Xorg. My shell is bash and my keyboard layout is US-ISO. I am facing 2 problems on the console : 1) My backspace key works fine, but the Del and Delete keys also do a backspace instead of a forward delete. How do I change this ? My keyboard is a basic 101/102 keyboard. This is the unix way. There are two strings which may be mapped to the keyboard Delete and Del (keypad . without num lock). In the default us.iso keymap the Del key (scan 083) is mapped to del, which is Ctrl-? The Delete (scan 103) is mapped to fkey61 --- this is also the string Ctrl-? --- not ^[[E which is the usual string for DOS type keyboards. As it happens ^[[E is fkey 54 which is keypad 5 without num lock. ^? is not the same as backspace (^H), but it seems to be the case that bash does the same thing with them. From what is below I cannot tell what TERM you are using or what keys you are trying to map to which function. If you are really using the console or a virtual TTY, the inputrc below is completely screwy. Mapping ^? to delete-char should get bash to do what you want. However, you can expect to have to make some adjustment to nearly every application, because looks like backspace sort-of is the unix way. Many applications do recognize the difference between backspace (^H) and (^?) but do a backwards delete (not the same as backspace) for ^?. Generally, since I can become root, I map Delete to fkey54 in syscons/keymaps/whateverkeymapyouuse. If you tweak the keymap yourself, besure to backup up your changes or change the keymap name to something not otherwise being used because the default keymaps will be reinstalled everytime you upgrade the system. Then I map ^[[E to forward-delete in applications, leaving Del as ^? in case this really does something desirable in the application. 2) Bash simply does not remember my commands in the right order. Most of the commands I type in a login session are forgotten in the next session. Moving the Up and Down arrow keys navigates a mangled and incomplete command history. I am attaching the contents of my .bash_profile, .bashrc and .inputrc below. #.bash_profile : if [ -f ~/.bashrc ]; then source ~/.bashrc fi #end-of-file #.bashrc : export HISTFILE=~/.bash_history This is the default export HISTFILESIZE=1000 shopt -s cmdhist shopt -s histappend #end-of-file #.inputrc : \e[1~: beginning-of-line \e[4~: end-of-line \e[3~: delete-char #should be a forward delete unless I am mistaken \eOd: backward-word #ctrl-leftarrow \eOc: forward-word #ctrl-rightarrow On a pc with an at keyboard with one of the default FBSD TERMs, none of these strings are sent. set completion-query-items 20 set meta-flag on set input-meta on set convert-meta off set output-meta on #end-of-file If anyone can help me out, I shall be really grateful. Thanks in advance, Manish Jain [EMAIL PROTECTED] Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Who is anyone using for consulting or support?
I am working with a firm here in the Chicago area and they are interested in using FreeBSD, but would like to know of other outside support resources. I have checked the links on the FreeBSD.org website but have not gotten much response from firms on that list, which seems to be out of date. So if you know of a firm that offers support and consulting on FreeBSD in the continental US, please post back. Thanks. -Derek [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OO 2.4.1 package problem
Ghirai wrote: Alright, installed from ports, and it's working as it should. And it only took about 4 hours. I'm glad to hear that the port worked for you. Four hours is pretty good, I remember my old system took 11 hours, once. Vinny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Who is anyone using for consulting or support?
Derek Ragona wrote: I am working with a firm here in the Chicago area and they are interested in using FreeBSD, but would like to know of other outside support resources. I have checked the links on the FreeBSD.org website but have not gotten much response from firms on that list, which seems to be out of date. So if you know of a firm that offers support and consulting on FreeBSD in the continental US, please post back. Thanks. -Derek [EMAIL PROTECTED] Aloha Derek, Thats a funny request for FreeBSD. I have used it for years and outside of hardware issues (which were non FreeBSD issues) it just works. I was unfortunately involved with the install of a M$ system recently doing network cable trouble shooting for the company. The problems they had were all Microsoft running Msql data base and it took 4 weeks and 2 outside support companies to resolve these issues. If they have previously used M$ and a data base I could see why they would expect that outside support would be necessary. You may find some independent sysadmins on this list who could help you with any issues you may have. Having seen your answers on this list I would think you could handle most situations you may encounter. I wish you success. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + email: [EMAIL PROTECTED] All that's really worth doing is what we do for others.- Lewis Carrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: configure NAT with demand dial interface?
matt donovan-4 wrote: On Thu, Sep 18, 2008 at 1:16 PM, Mel [EMAIL PROTECTED]wrote: On Thursday 18 September 2008 18:23:30 imax36581 wrote: thanks Lowell Gilbert,it will be useful for me soon but another question on that page i cant find anything that can help me to scheduling connections for example i have two account (pppoe),i want to use second account during 3 util 7 am and use the first account in other times do you have another article that help me do this? thanks in advance :) Properly setup ppp profiles, using /etc/defaults/rc.conf (search for ppp) as a guide. Also read up on rc.conf(5), very useful info. Then use 2 crontabs at the appropreate times, as simple as: 0 3 * * * /etc/rc.d/ppp stop dayprofile; /etc/rc.d/ppp start nightprofile 0 7 * * * /etc/rc.d/ppp stop nightprofile; /etc/rc.d/ppp start dayprofile -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This might come in handy for you http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.htmlsince the others already said the good stuff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] thanks my friends... useful information also i must do it with pppoe connection and not ppp,it seems that both are the same,if not please inform me. 10x again . -- View this message in context: http://www.nabble.com/configure-NAT-with-demand-dial-interface--tp19554068p19564595.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mystical Server Shutdown.
Hi H, and Matt, and all, I had instigated all.log, and here is what happened at 04:08 EDT this morning...any clues you see here? ... Sep 18 04:04:08 defiant named[601]: unexpected RCODE (SERVFAIL) resolving 'examplewhole.com/NS/IN': 192.168.0.3#53 Sep 18 04:08:14 defiant syslogd: restart Sep 18 04:08:14 defiant syslogd: kernel boot file is /boot/kernel/kernel Sep 18 04:08:14 defiant kernel: Copyright (c) 1992-2007 The FreeBSD Project. ... Lastlog shows nothing of note... mssclien ftp bas7-london14-1 Thu Sep 18 08:58 - 09:04 (00:05) reboot ~ Thu Sep 18 04:08 ringette ftp CPE001310e9a482 Thu Sep 18 00:10 - 00:11 (00:00) -Grant - Original Message - From: H.fazaeli [EMAIL PROTECTED] To: Grant Peel [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Thursday, September 18, 2008 5:31 AM Subject: Re: Mystical Server Shutdown. If you applied all the Matthew's suggestions and it is still a mystery, and if server's shutdown is clean, look for a a (buggy) user land process that sends SIGUSR2 signal to init(1). Matthew Seaman wrote: Grant Peel wrote: Hi all, I started getting watchmouse errors about on pf my servers not responding. There is a DRAC on the machine, and the sensor data was all good. When I got the machine back up and running, I seen this in lastlog: client1 ftp hostname1here Wed Sep 17 17:02 - shutdown (00:46) client2 ftp hostname2here Wed Sep 17 17:02 - shutdown (00:46) client2 ftp hostname2here Wed Sep 17 17:02 - shutdown (00:46) client3 ftp hostname3here Wed Sep 17 17:01 - 17:06 (00:04) Should I be worried about seeing 'shutdown' in an ftp line of last? That just means the ftp user was still logged in at the time the system shut down. If not, how would you suggest I find the process or program that issued the shutdown command? Read the system logs, basically. /var/log/messages or /var/log/all.log (if you've enabled it). The shutdown(8) command will always write syslog messages when invoked. halt(8) or reboot(8) will write a 'shutdown' record into wtmp (ie. look at 'last shutdown') but don't log anything to syslog. However, you're quite likely to find that there is nothing in the log or wtmp files to explain what happened. All this means is that the system went down suddenly -- perhaps power dropped out momentarily, or a thermal cutout tripped or the system panic'd for one of any number of reasons. You'ld be able to detect log file traces showing fsck(8) being run on the root f/s following any of those sort of unclean shutdowns, and if the system panic'd then you may well have a core dump sitting in /var/db/crash -- depends whether you've enabled that functionality or not. Cheers, Matthew -- Best regards. Hooman Fazaeli [EMAIL PROTECTED] Sepehr S. T. Co. Ltd. Web: http://www.sepehrs.com Tel: (9821)88975701-2 Fax: (9821)88983352 ___ 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: Mystical Server Shutdown
Hi all, I had instigated all.log, and here is what happened at 04:08 EDT this morning...any clues you see here? ... Sep 18 04:04:08 defiant named[601]: unexpected RCODE (SERVFAIL) resolving 'examplewhole.com/NS/IN': 192.168.0.3#53 Sep 18 04:08:14 defiant syslogd: restart Sep 18 04:08:14 defiant syslogd: kernel boot file is /boot/kernel/kernel Sep 18 04:08:14 defiant kernel: Copyright (c) 1992-2007 The FreeBSD Project. ... Lastlog shows nothing of note... mssclien ftp bas7-london14-1 Thu Sep 18 08:58 - 09:04 (00:05) reboot ~ Thu Sep 18 04:08 ringette ftp CPE001310e9a482 Thu Sep 18 00:10 - 00:11 (00:00) -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: configure NAT with demand dial interface?
imax36581 wrote: --snip-- thanks my friends... useful information also i must do it with pppoe connection and not ppp,it seems that both are the same,if not please inform me. pppoe is supported by ppp, just has a slightly different config within /etc/ppp/ppp.conf than ppp see http://www.freebsd.org/doc/en/books/handbook/pppoe.html 10x again . Cheers cya Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Who is anyone using for consulting or support?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Derek Ragona wrote: I am working with a firm here in the Chicago area and they are interested in using FreeBSD, but would like to know of other outside support resources. I have checked the links on the FreeBSD.org website but have not gotten much response from firms on that list, which seems to be out of date. So if you know of a firm that offers support and consulting on FreeBSD in the continental US, please post back. Thanks. -Derek [EMAIL PROTECTED] Hi Derek, I met the folks from ixSystems and the PC-BSD project at BSDCan earlier this year, and I learned that ixSystems had just launched a FreeBSD support service: http://www.ixsystems.com/news/ixsystems-announces-professional-freebsd-and-pc-bsd-support-offering.html I've cc'd Matt Olander, CTO of ixSystems, on this message, and I'm sure he can help you out with your support requirements. Best regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI0xM20sRouByUApARAsKWAJ9CXjBXGNPt7atlkbvf3eMXMjyYmACfRABo 7Q+abAONKz3+74a1aU64YAg= =jw66 -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: disk writer utility
Oliver Fromme wrote: Dánielisz László wrote: What is your favorite disk writer utility? (under X) cdrecord for CDs, growisofs for DVDs. (in an xterm) I quite like K3B. Vinny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Broadcom driver code,
Hi, I am looking for Broadcom BCM57710 driver. Could you please let me know if this driver is available in FreeBSD sources ? If not can I have a look at the source ? Regards Ravi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wifi and wpa_supplicant
Is it just me or is wpa_supplicant not the best option for auth on wifi? I have now used several systems with wifi and wpa_supplicant and none have been capable of maintaining the network connection. I haven't asked before specifically because I thought it was my aging hardware - but now I've used new hardware, ral and iwi devices and several combinations with the same sort of issues. I will also add I've used 6.1, 6.2, 6.3 and 7.0 FBSD. I have a very simple conf using this: network={ ssid my ap psk secret } I have added some other options such as mode=1 and key_mgmt=NONE, but that hasn't changed anything. Basically if I go ifconfig then the device simply has no carrier and no association intermittently. I've tried using keep alive techniques by using the network, but it can still drop out. I've tried new AP's too. The only way I can keep the network alive is by killing and restarting the supplicant. Another new thing with the ral on one machine is that I have to set the roaming to auto and scan before it will associate, and even then I can't get an ip because of drop out. I've tried various modes and settings with ifconfig and the ap's but nothing has worked. Any ideas, or anyone else having the same sort of issues? It appears to me that wpa_supplicant is not very effective... the only stable connections I get are using network manager on linux (not my favourite alternative) and even then I'd rather have more control of my connection. Cheers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]