Re: Alternative windowmanagers
Christian Barthel writes: Hello, I read on slashdot that Linus Torvalds moved from Gnome 2.3x to Xfce. It seems that he isn't thrilled by xfce, but it's far better than Gnome3. As a Gnome 2.3x user too, I am also a bit nervouse. Gnome 3 is a big mistake. And there are also rumors that Gnome will be Linux only. Maybe, we will never see Gnome3 under FreeBSD, but this is not a tragedy :) I am not very interested in eyecandy: I want a stable and fast wm (less memory and cpu, quick access to important places), different workspaces, and it should be configurable with ordinary files. Of course, It must run under FreeBSD. I sniffed into AfterStep, fvwm2 and fluxbox (I don't want to use KDE). I think, fluxbox is a nice wm and for my future, it will be the default wm for me. It's also very fast and easy to configure. Are there any other window manager worth looking? What is your window manager? If you want efficient window manager (i.e. can be operated using keybindings), and you're into tiling window managers, then you can try Xmonad[1], or awesome[2] window manager. OR if you don't want tiling window manager, then you can try Fluxbox and customize with keybindings, and it works great. References: [1] http://www.xmonad.org/ [2] http://awesome.naquadah.org/ HTH -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ Avoid Success At All Costs !! pgpT28i7eGIdT.pgp Description: PGP signature
Re: Telnet = servname ai_socktype error
jaymax writes: [...] % telnet 0 smtp 0: servname not supported for ai_socktype What according to you 0 is ? -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “There was truth and there was untruth, and if you clung to the truth even against the whole world, you were not mad.” (George Orwell, Nineteen Eighty-Four, 1949) pgpKEegDH76yS.pgp Description: PGP signature
Re: Telnet = servname ai_socktype error
jaymax writes: telnet 0 smtp is the same as telnet localhost 25 or telnet localhost smtp #v+ % getent hosts 0 0.0.0.0 0 % telnet 0 25 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. 220 chateau.d.if ESMTP ^] telnet quit Connection closed. #v- I wasn't expecting this to even work. I hope this connecting to the wild-card address only works on the same box. And sorry I didn't know that connecting to 0.0.0.0 actually connects to 127.0.0.1. But its interesting how 'getent hosts' returns an IPv4 address when given a 32-bit number as hostname. -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away.” (Antoine de Saint-Exupéry) pgpOu795oPxcu.pgp Description: PGP signature
Re: Grepping a list of words
Jack L Stone writes: Kindly appreciate help with how to grep (or similar) a list of words to determine if any of them are in a file rather than grepping one word at a time. #v+ % egrep 'word1|word2|word3|...|wordn' filename.txt #v- 'word1|word2|word3|...|wordn' is the regular expression, so if you can minimize it better for you :). HTH -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “There is nothing new to be discovered in physics now; All that remains is more and more precise measurement.” (Lord Kelvin, 1900) pgpU33zn9d8xF.pgp Description: PGP signature
Re: FreeBSD equivalent of Microsoft DFS
Ed Flecko writes: Is there a FreeBSD equivalent to Microsoft DFS, i.e., software that will replicate delta level file changes of network shares among multiple servers in real time? A distributed filesystem like Coda[1] or Andrew FS[2][3] would be better. Not sure about there FreeBSD support. References: [1] http://www.coda.cs.cmu.edu/ [2] http://www.openafs.org/ [3] http://www.stacken.kth.se/project/arla/ HTH -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “There is nothing new to be discovered in physics now; All that remains is more and more precise measurement.” (Lord Kelvin, 1900) pgpmrw7bVMGYV.pgp Description: PGP signature
Gnus issue in FreeBSD (was: Re: IPv6 rtadv on FreeBSD 8.1?)
Carl Johnson writes: [...] Now if I could just figure out why gnus doesn't work right under emacs I could finish migrating from Linux to FreeBSD. I use same .gnus in both GNU/Linux and FreeBSD and keep the mailboxen on the $HOME of both boxen sync-ed with each other, and works great for me. -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.” (Weinberg's Second Law) pgp4sLdZSMtuM.pgp Description: PGP signature
Re: Gnus issue in FreeBSD
Carl Johnson writes: [...] How do you sync the mailboxes together? That sounds like something that could be useful for my configuration. Actually I am trying to move my old mail from Linux to FreeBSD, but syncing might be an easier way to handle moving it. I use following sh script to synchronize my mailbox stuff which includes Maildirs, Gnus configuration, procmail configuration, mairix db, etc. #v+ #!/bin/sh cwd=$(pwd) cd for i in .newsrc .newsrc.eld .newsrc~ .newsrc.eld~ .newsrc-dribble~ .gnus .gnus.elc .procmailrc mail/ .maildir/ .mutt/ Mail/ News/ .mairix/; do if [ -d ${i} ]; then cd ${i} ; fi rsync -rvzdlt --delete /disks/bsd-home/${USER}/${i} . if [ -d $HOME/${i} ]; then cd ; fi done cd ${cwd} #v- HTH -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “We could tell you what it's about. But then, of course, we'd have to kill you.” (tagline of movie Sneakers, 1992) pgpgTGHiZ7Mv2.pgp Description: PGP signature
Re: Emacs gnus in 8.1 not reading email
Carl Johnson writes: Anonymous swel...@gmail.com writes: Carl Johnson ca...@peak.org writes: I am experimenting with 8.1 in VirtualBox, but I discovered that I can't get gnus to work. I just brought over my configuration from a working 7.3 system, but on 8.1 it won't read the mail from the system. Gnus will start up, but it just reports that there is no mail. It did work one time with a couple of test messages, but I have never gotten it to repeat since then. I tried sending a couple of messages and they show up in my system mailbox. I also tried reading my system mail with the command line mail program and emacs rmail to verify that the system is handling mail properly. I also tried using a blank .gnus file and there was no change. I verified with my 7.3 system that gnus will at least read mail with a blank .gnus file. Try without ~/.newsrc.eld. BTW, what backend do you use for reading mail? nnmaildir? I just tried it, but there was no difference. I use nnml for the backend, but that is the same for my other test and normal systems. Thanks for the suggestion anyways. So, Gnus is not able to read from mail spool, i.e. /var/mail/$USER, right ? Can you post your .gnus ? HTH -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “Heavier-than-air flying machines are impossible.” (Lord Kelvin, 1895) pgpokwghcCR1w.pgp Description: PGP signature
Re: Ifconfig (DHCP?) configures two IPs in one IF
Guojun Jin writes: This problem comes in 8.1-R. I have seen it before and thought I filed a report but cannot find it. I found one (bin/21292) for ifconfig, but it was for two NICs with a same IP. Now is a reversed case One NIC has two IPs. Here is the description: Due to DHCP server down, I manually configured rl0 to 192.168.0.10 for temporarily use. In the middle of working, DHCP came back and assigned another IP on the rl0, now NIC is down due to two conflict IP addresses. rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:40:f4:d1:23:9a inet 192.168.0.10 netmask 0xff00 broadcast 192.168.0.255 inet 10.10.50.126 netmask 0xff00 broadcast 10.10.50.255 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST metric 0 mtu 1500 I tried unplumb/delete rl0, but if does not work. Before the bug can be fixed, is any way to fix the IP without rebooting the machine? # ifconfig rl0 -alias 192.168.0.10 Above will cause 192.168.0.10 to be removed from the interface. For details, see ifconfig(1). HTH -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “Few false ideas have more firmly gripped the minds of so many intelligent men than the one that, if they just tried, they could invent a cipher that no one could break.” (David Kahn, The Codebreakers, 1967) pgp2PlqZ3NVAU.pgp Description: PGP signature
Re: Emacs splash screen went to textmode only
Markus Hoenicka writes: Quoting Ashish SHUKLA ash...@freebsd.org: And please also evaluate following functions in Emacs (in X11) and paste their output: This is the output from 23.2.1, i.e. the one which doesn't show the fancy splash screen: (use-fancy-splash-screens-p) nil #v+ (defun use-fancy-splash-screens-p () Return t if fancy splash screens should be used. (when (and (display-graphic-p) (or (and (display-color-p) (image-type-available-p 'xpm)) (image-type-available-p 'pbm))) (let ((frame (fancy-splash-frame))) (when frame (let* ((img (create-image (or fancy-splash-image (if (and (display-color-p) (image-type-available-p 'xpm)) splash.xpm splash.pbm (image-height (and img (cdr (image-size img nil frame ;; We test frame-height so that, if the frame is split ;; by displaying a warning, that doesn't cause the normal ;; splash screen to be used. (frame-height (1- (frame-height frame ( frame-height (+ image-height 19))) #v- Well I use a tiling WM (Xmonad), and to reproduce your issue, I started 12 instances of 'xterm' and then started an Emacs instance with '-q -no-site-file' which caused Emacs to start with a smaller window where I got a non-fancy splash screen. Try starting your Emacs in full-screen mode .e.g. 'emacs -fs'. The obvious difference is the value of (use-fancy-splash-screens-p). Both Emacsen were started with -q -no-site-file to be on a level ground. HTH -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “If knowledge can create problems, it is not through ignorance that we can solve them.” (Isaac Asimov) pgphENdbhvBHI.pgp Description: PGP signature
Re: Emacs splash screen went to textmode only
Markus Hoenicka writes: Quoting Ashish SHUKLA ash...@freebsd.org: Well I use a tiling WM (Xmonad), and to reproduce your issue, I started 12 instances of 'xterm' and then started an Emacs instance with '-q -no-site-file' which caused Emacs to start with a smaller window where I got a non-fancy splash screen. Try starting your Emacs in full-screen mode .e.g. 'emacs -fs'. That works indeed. That is, I just have to make sure Emacs starts up with a sufficient frame height. emacs -g 80x40 is all it takes. Thanks a lot for your help! Markus You're welcome :) -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “There are 10 types of people in this world, those who understand binary and those who do not” (anonymous) pgppLcTlJXVh1.pgp Description: PGP signature
Re: Emacs splash screen went to textmode only
Markus Hoenicka writes: Ashish SHUKLA writes: Can you upload the screenshot of what you're getting ? Hi, I've uploaded a screenshot right here: http://www.abload.de/img/emacs-splashaws1.png The image shows four incarnations of Emacs. These are, clockwise starting from upper left: 1) Emacs started remotely on my laptop through ssh. This Emacs is slightly older (23.1.1) than the one on my desktop (23.2.1). This is what an unfiddled-with splash screen is supposed to look like in recent versions. 2) Emacs started on my desktop, using -q -no-site-file as per your suggestion. There are no graphics and no colors. Can you please provide output of following: 1. xrdb -q|grep '^Emacs' from an terminal running in X11. 2. (display-grayscale-p) in *scratch* buffer in GNU Emacs running in X11. 3. system-configuration-options in *scratch* buffer in GNU Emacs. Thanks -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “I find the whole business of religion profoundly interesting. But it does mystify me that otherwise intelligent people take it seriously.” (Douglas Adams) pgp4a7JqOhmI1.pgp Description: PGP signature
Re: Emacs splash screen went to textmode only
Markus Hoenicka writes: Quoting Ashish SHUKLA ash...@freebsd.org: Can you please provide output of following: 1. xrdb -q|grep '^Emacs' from an terminal running in X11. [mar...@wutz /usr/home/markus]$ xrdb -q|grep '^Emacs' Emacs*font: Bitstream Vera Sans Mono-8 2. (display-grayscale-p) in *scratch* buffer in GNU Emacs running in X11. (display-grayscale-p) t And please also evaluate following functions in Emacs (in X11) and paste their output: (use-fancy-splash-screens-p) (display-graphic-p) (display-color-p) (image-type-available-p 'xpm) (image-type-available-p 'xbm) 3. system-configuration-options in *scratch* buffer in GNU Emacs. system-configuration-options '--with-x-toolkit=gtk' '--x-libraries=/usr/local/lib' --x-includes=/usr/local/include' '--prefix=/usr/local' --mandir=/usr/local/man' '--infodir=/usr/local/info/' --build=i386-portbld-freebsd8.0' build_alias=i386-portbld-freebsd8.0' 'CC=cc' 'CFLAGS=-O2 -pipe -fno-strict-aliasing' 'LDFLAGS=-L/usr/local/lib -lintl' CPPFLAGS=-I/usr/local/include' configuration flags look fine to me. BTW I've first built the Emacs port, and after I realized there was that splash screen issue I installed the package instead, just in case I managed to misconfigure the build somehow. Didn't make a difference. Thanks -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things.” (Robert A. Heinlein, 1973) pgpHHZhECO6or.pgp Description: PGP signature
Re: Emacs splash screen went to textmode only
Hi Markus, Markus Hoenicka writes: Hi, I've recently updated Emacs to the latest version (23.2_2,2 from 23.1.1) along with all dependencies. Since then, the startup screen when running in an X window shows b/w text only like in the days of yore. Not that the startup screen graphics are that important, but things that don't work as expected tend to make me nervous. Can you upload the screenshot of what you're getting ? According to startup.el, the following variables affect what is shown at startup. Evaluating them in the scratch buffer looks like this: inhibit-startup-screen nil initial-buffer-choice nil That is, the startup screen *should* be displayed, or am I missing something here? The interesting thing is that nothing else about the startup screen appears broken. If I evaluate (fancy-startup-screen) in the scratch buffer, i.e. the function which actually displays the startup screen, Emacs faithfully does so, including the graphics and all bells and whistles. Has anything fundamentally changed between these versions? Does Emacs think it runs in a terminal? Any clues would be greatly appreciated. Can you try starting Emacs in X11 with following command: #v+ % emacs -q --no-site-file #v- Thanks -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “We've so many people in India, that we're able to route each network packet manually.” (nobotz) ___ 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: getpwent bug?
Jens Rehsack writes: 2010/7/16 Dan Nelson dnel...@allantgroup.com: [...] Try the following patch: Thanks, I'll try it when I'm on my FreeBSD box. Can I do this without a full world rebuild? (I do not develop in FBSD actively). Otherwise I recommend (the test case was in OP) that someone with a separate test box tries it out and commit it etc. I don't think you need full world rebuild, just rebuilding world should do it. I had to develop a workaround for all other boxes anyway. As a workaround you can use setpwent(3). -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things.” (Robert A. Heinlein, 1973) pgpEMMcLPMPwi.pgp Description: PGP signature
Re: getpwent bug?
Jens Rehsack writes: [...] I cached the entires - I rate setpwent as to dangerous. dangerous ? why ? You can take a look at http://cpansearch.perl.org/src/REHSACK/DBD-Sys-0.01_01/lib/DBD/Sys/Plugin/Unix/Users.pm Jens -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “Q: Why UNIX geeks feel the need of a wife ? A: Since all UNIX geeks possess a large fortune db and according to Law of Jane Austen, It is a universal truth that a single man with a large fortune is in need of a wife.” (abbe, 2009) pgpuRlGdT7Don.pgp Description: PGP signature
Re: getpwent bug?
Jens Rehsack writes: On 07/16/10 09:12, Ashish SHUKLA wrote: Jens Rehsack writes: [...] I cached the entires - I rate setpwent as to dangerous. dangerous ? why ? Because it modifies something - and I might not know the source. getpwent(3) delivers entries from yp, too (or LDAP) etc. - and when I call setpwent(3) for such an entry, what happens then? Long explanation for: I do not know the consequences - and that's why I rate it dangerous as workaround. , an excerpt from getpwent(3) | The setpassent() function accomplishes two purposes. First, it causes | getpwent() to ``rewind'' to the beginning of the database. Additionally, | if stayopen is non-zero, file descriptors are left open, significantly | speeding up subsequent accesses for all of the routines. (This latter | functionality is unnecessary for getpwent() as it does not close its file | descriptors by default.) | | It is dangerous for long-running programs to keep the file descriptors | open as the database will become out of date if it is updated while the | program is running. | | The setpwent() function is identical to setpassent() with an argument of | zero. ` I can't see anything which says about modifying NSS database. AFAIK none of the NSS routines allow you to write on database, you've to use the database specific method to modify the database. HTH -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “Age is not an accomplishment, and youth is not a sin.” (Robert A. Heinlein, Methuselah's Children, 1958) pgpwVZo684yN8.pgp Description: PGP signature
Re: getpwent bug?
Jens Rehsack writes: [...] You're absolutely right - I never took a deeper look, because I always was only interested to read the (user|group) data and expected setpwent to modify such an entry. Its UNIX :P A quick look into Stevens Advanced Programming in the UNIX environment could had enlighten myself. Sorry that I didn't RTFM carefully. No problems. -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “Software and cathedrals are much the same - first we build them, then we pray.” (anonymous) pgp1S6yBF1i4t.pgp Description: PGP signature
Re: GUI for ACL
Carmel writes: I am looking for a GUI to manage ACL's. I have heard about Eiciel; however, I was told it only works with 'nautilus'. I was looking for a stand alone type of program if one was available. I am presently using KDE for a desktop if that makes any difference. I've not used KDE since they released KDE 4, but IIRC, KDE 3.5.x used to have ACL support integrated in it[1] by default. Are you sure there isn't any such setting you probably missing during compilation in KDE 4.x ? References: [1] http://www.flickr.com/photos/wahjava/507889368/#/ HTH -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “Digital files cannot be made uncopyable, any more than water can be made not wet.” (Bruce Schneier, 2001-05-15) pgpNdp0amed2N.pgp Description: PGP signature
Re: getpwent bug?
Dan Nelson writes: In the last episode (Jul 15), Jens Rehsack said: Hi all, I detected an issue with getpwent on my FreeBSD test box: perl -MData::Dumper -e 'my @e = getpwent(); print Dumper(\...@e); endpwent(); @e = getpwent(); print Dumper(\...@e); endpwent(); @e = getpwent(); print Dumper(\...@e); endpwent();' $VAR1 = [ 'root', '', 0, 0, 0, '', 'Charlie ', '/root', '/bin/csh', 0 ]; $VAR1 = [ 'toor', '*', 0, 0, 0, '', 'Bourne-again Superuser', '/root', '', 0 ]; $VAR1 = [ 'daemon', '*', 1, 1, 0, '', 'Owner of many system processes', '/root', '/usr/sbin/nologin', 0 ]; I'm using FreeBSD waldorf.muppets.liwing.de 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0: Fri Mar 12 11:31:18 UTC 2010 r...@waldorf.muppets.liwing.de:/usr/obj/usr/src/sys/WALDORF amd64 The above output looks perfect, and should match the top three lines in your /etc/passwd files. Well, OP is also invoking 'endpwent()' after every 'getpwent()' invocation which according to GNU/Linux's glibc and NetBSD's libc (as OP mentioned) should rewind the position in passwd database to the beginning. To me it definitely looks like a bug in FreeBSD's getpw*() family of functions. As tested using sysutils/lsof, in the following program in FreeBSD, the descriptor corresponding to '/etc/pwd.db' is closed on endpwent(3) but position in database is never rewinded as shown in the output. #v+ #include pwd.h #include stdio.h int main() { struct passwd* pw; int i; char ch; for(i = 0; i 3; i++) { printf(Doing getpwent(). Press any key to continue...); while(getchar() != '\n'); pw = getpwent(); printf(%s:%d:%d\n, pw-pw_name, pw-pw_uid, pw-pw_gid); endpwent(); } } #v- Output on FreeBSD 8.1-RC2: #v+ %./pwent Doing getpwent(). Press any key to continue... root:0:0 Doing getpwent(). Press any key to continue... toor:0:0 Doing getpwent(). Press any key to continue... daemon:1:1 #v- Output on GNU/Linux: #v+ % ./pwent Doing getpwent(). Press any key to continue... root:0:0 Doing getpwent(). Press any key to continue... root:0:0 Doing getpwent(). Press any key to continue... root:0:0 #v- HTH -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “How can I possibly put a new idea into your heads, if I do not first remove your delusions?” (Robert A. Heinlein, Life-Line, 1939) pgpSNaH90CVKQ.pgp Description: PGP signature
Re: CUPS between systems
William Bulley writes: When the CUPS server (cupsd) is built with GSSAPI support, the CUPS Administration tab (localhost:631/admin) contains this checkbox under the Server Settings: section: (x) Use Kerberos authentication (FAQ) Unfortunately for me on FreeBSD 8.0-STABLE running cups-base-1.4.2_3 the GSSAPI option is not present in the Makefile: CONFIGURE_ARGS+= --disable-gssapi ... As a result my localhost:631/admin screen lacks this Kerberos checkbox. This condition is still present in CUPS 1.4.3 according to the Makefile at http://www.freebsd.org/cgi/cvsweb.cgi/ports/print/cups-base/ I need Kerberos support in order to use CUPS to print to a network printer here. As a workaround, I was able to use a co-workers MacOS X system which was running CUPS to print to the same printer. This Mac was upgraded to MacOS 10.6.4 today, and this workaround failed. :-( So I am back to trying to use CUPS on FreeBSD to talk directly to the network printer, but without the Kerberos feature, I am locked out. Upgrading to CUPS 1.4.3 is unlikely to give me Kerberos support. It seems FreeBSD has Kerberos support in base at /usr/src/kerberos5. But I don't see how to bridge this gap. FWIW, using CUPS 1.3.10 in the Fall of 2009, I did have Kerberos support (via GSSAPI) and I was able to talk directly to the network printer. Does anyone have any suggestions for me to consider trying? The best suggestion would be to ask MAINTAINER of the port, why he disabled Kerberos support, and maybe better mail him a patch with Kerberos support enabled in the port :). HTH Ashish -- Sent via Gnus from GNU Emacs They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. -- Benjamin Franklin, Memoirs of the life and writings of Benjamin Franklin pgpQhQ6GxVHO5.pgp Description: PGP signature
Re: New FreeBSD ports system
Sergio de Almeida Lenzi writes: [...] Interesting project.. but the link to the patches are broken === http://home.no.net/andenore/patches/ does someone knows a site with have the patches??? I would like to give it a try... Must be in FreeBSD's perforce repository. -- Sent via Gnus from GNU Emacs They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. -- Benjamin Franklin, Memoirs of the life and writings of Benjamin Franklin pgpNTscUkdiNe.pgp Description: PGP signature
Re: 7.2-RELEASE panics with snd_ds1 loaded.
Hi Mel, Thanks for responding. In 200906081647.15069.mel.flynn+fbsd.questi...@mailing.thruhere.net, Mel Flynn wrote: [...] Nothing points to the sound module specifically. The first trace is unusable (frames missing) and the second trace panics in sleep, which maybe points to the sound module and interrupts. Are you not able to panic the system without that sound module loaded? It looks too random to blame one module, more hardware, but it's possible the module exposes a bug elsewhere. From this though, it is hard to tell. Yes, I noticed myself, that there is no reason why to blame 'sound' module for it. But I noticed my box only panics when there is some activity going on with sound device, like at one time, it paniced when I was trying to record audio using gnome-sound-recorder, and another it paniced when I was playing audio using ogg123. And that it too, it didn't panic immediately after start of operation (playing/recording), but only after some time has elapsed. And the system doesn't panic without snd_ds1 loaded even after building ports (like openjdk6 and libxul) and using GNOME for 4 hours. BtW, I forgot to mention in last post, but I'm running the GENERIC kernel bundled with 7.2-RELEASE DVD. I don't know how to resolve and whether this is some kind of memory issue or something else. I also experienced something similar panic situation[1] with 8.0-CURRENT which no one else is able to reproduce except me, after which I installed 7.2-RELEASE. Any ideas how to trace this problem, it is discouraging me to continue using FreeBSD for my regular desktop use ? References: [1] - http://lists.freebsd.org/pipermail/freebsd-gnome/2009-April/022048.html Thanks in advance -- Ashish SHUKLA pgp1r3EFVytXe.pgp Description: PGP signature
Re: 7.2-RELEASE panics with snd_ds1 loaded.
Paul B Mahol writes: On 6/9/09, Ashish SHUKLA wahjava...@gmail.com wrote: Hi Mel, Thanks for responding. In 200906081647.15069.mel.flynn+fbsd.questi...@mailing.thruhere.net, Mel Flynn wrote: [...] Nothing points to the sound module specifically. The first trace is unusable (frames missing) and the second trace panics in sleep, which maybe points to the sound module and interrupts. Are you not able to panic the system without that sound module loaded? It looks too random to blame one module, more hardware, but it's possible the module exposes a bug elsewhere. From this though, it is hard to tell. Yes, I noticed myself, that there is no reason why to blame 'sound' module for it. But I noticed my box only panics when there is some activity going on with sound device, like at one time, it paniced when I was trying to record audio using gnome-sound-recorder, and another it paniced when I was playing audio using ogg123. And that it too, it didn't panic immediately after start of operation (playing/recording), but only after some time has elapsed. And the system doesn't panic without snd_ds1 loaded even after building ports (like openjdk6 and libxul) and using GNOME for 4 hours. BtW, I forgot to mention in last post, but I'm running the GENERIC kernel bundled with 7.2-RELEASE DVD. I don't know how to resolve and whether this is some kind of memory issue or something else. I also experienced something similar panic situation[1] with 8.0-CURRENT which no one else is able to reproduce except me, after which I installed 7.2-RELEASE. Any ideas how to trace this problem, it is discouraging me to continue using FreeBSD for my regular desktop use ? References: [1] - http://lists.freebsd.org/pipermail/freebsd-gnome/2009-April/022048.html Does same problem happens on i386? I've not installed i386 versions of any versions of FreeBSD, as I don't have any spare box. So I can't say if those problems are reproducible on i386 also. -- Paul Thanks -- Ashish SHUKLA pgp0RJGn6zM9j.pgp Description: PGP signature
7.2-RELEASE panics with snd_ds1 loaded.
) at /usr/src/sys/amd64/amd64/trap.c:673 | #6 0x807d2ea4 in trap (frame=0xfffebf1c28a0) at /usr/src/sys/amd64/amd64/trap.c:444 | #7 0x807b700e in calltrap () at /usr/src/sys/amd64/amd64/exception.S:209 | #8 0x8050119d in _mtx_lock_sleep (m=0xff003439aca8, tid=18446742975072397904, opts=Variable opts is not available. | ) at /usr/src/sys/kern/kern_mutex.c:339 | #9 0x8054465a in sleepq_catch_signals (wchan=0xff00341a1000) at /usr/src/sys/kern/subr_sleepqueue.c:392 | #10 0x80544f9b in sleepq_wait_sig (wchan=Variable wchan is not available. | ) at /usr/src/sys/kern/subr_sleepqueue.c:594 | #11 0x8051624e in _sleep (ident=0xff00341a1000, lock=0xff00341a12b0, priority=180, wmesg=0x808b162e piperd, | timo=0) at /usr/src/sys/kern/kern_synch.c:228 | #12 0x8054cd60 in pipe_read (fp=0xff00341c9300, uio=0xfffebf1c2b10, active_cred=Variable active_cred is not available. | ) at /usr/src/sys/kern/sys_pipe.c:689 | #13 0x8054a32d in dofileread (td=0xff00341f6a50, fd=4, fp=0xff00341c9300, auio=0xfffebf1c2b10, offset=Variable offset is not available. | ) at file.h:245 | #14 0x8054a69e in kern_readv (td=0xff00341f6a50, fd=4, auio=0xfffebf1c2b10) at /usr/src/sys/kern/sys_generic.c:193 | #15 0x8054a78c in read (td=0xff003439aca8, uap=0xff00341f6a50) at /usr/src/sys/kern/sys_generic.c:109 | #16 0x807d27e7 in syscall (frame=0xfffebf1c2c80) at /usr/src/sys/amd64/amd64/trap.c:900 | #17 0x807b721b in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:330 | #18 0x000800d860dc in ?? () | Previous frame inner to this frame (corrupt stack?) ` Any ideas how to resolve this ? TiA -- Ashish SHUKLA pgp1XHVGMH1M4.pgp Description: PGP signature
Re: is there a laptop ?
Saifi Khan writes: [...] Do Atheros, Ralink, Realtek, Intel PRO/Wireless chipset work with FreeBSD ? Atheros chipsets work great with FreeBSD 8-CURRENT at least. And the driver is FOSS and blob free. No ideas about other chipsets. -- Ashish SHUKLA pgpheKqJjP5PG.pgp Description: PGP signature
Re: Authentication with SSH using public keys
Andrew Falanga writes: debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/andy/.ssh/identity debug1: Offering public key: /home/andy/.ssh/id_rsa debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,keyboard-interactive It seems OpenSSH (on your dad's box) hasn't recognized your private key, so how about checking permissions of ~/.ssh/authorized_keys and ~/.ssh on his box. Or how about enabling verbose logging on his box, using 'LogLevel' parameter in sshd_config. HTH Ashish Shukla Following onto the e-mail I made before, apparently that little permissions difference for the directory, .ssh, was the problem. Changing it to 644 has, apparently, fixed the problem. Cool :) . I learnt this from my first SSH public-key authentication configuration ;) Ashish -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- % dig +short cname cdac.in @::1 ms.gov.in pgp4Immu00LG0.pgp Description: PGP signature
Re: Authentication with SSH using public keys
In [EMAIL PROTECTED], Andrew Falanga wrote: Hi, My father recently setup a new 7.0-Release system for some web development. I use ssh to login remotely. I've normally not had any trouble configuring authentication through public key encryption using ssh-keygen and such. I have for myself a id_rsa.pub and an id_rsa key pair that I use for this purpose. Normally, I just copy, via scp, the file id_rsa.pub to my ~/.ssh/authorized_keys file on the remote host and the next time I attempt a login all is well. That is, I don't have to enter my password. However, on my Dad's new machine, this isn't the case. I still have to enter the password. Now, I've looked through his /etc/ssh/sshd_config file and nothing in there looks odd, or different, from other remote hosts I do this on. So, I'm embedding a copy/paste of an ssh login session on my father's host using -v -v to ssh: [/usr/home/andy/MCH] - ssh -v -v malumgat [...] debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/andy/.ssh/identity debug1: Offering public key: /home/andy/.ssh/id_rsa debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,keyboard-interactive It seems OpenSSH (on your dad's box) hasn't recognized your private key, so how about checking permissions of ~/.ssh/authorized_keys and ~/.ssh on his box. Or how about enabling verbose logging on his box, using 'LogLevel' parameter in sshd_config. HTH Ashish Shukla -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments pgp8PJhFoQuVv.pgp Description: PGP signature
Re: Using packages compiled for 7.0-RELEASE in 8-CURRENT
RW writes: On Wed, 22 Oct 2008 00:09:05 +0530 [EMAIL PROTECTED] (Ashish Shukla ___) wrote: Hi all, I'm having a confusion about installing packages compiled in 7.0-RELEASE in 8.0-CURRENT. I've 2 boxen, a 7.0-RELEASE-p5 and a 8-CURRENT. The 7.0-RELEASE-p5 is fully updated as of now, and has all updated ports available in the form of binary packages. Now, I'm wondering if it is okay to install those binary packages on my 8-CURRENT box. There's no compat7x port to support 7.x packages on CURRENT. Oh, so iif there is some compat7x port on my 8.0-CURRENT box, then only I can use 7.0-RELEASE packages. Thanks for the reply. Ashish -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- % dig +short cname cdac.in @::1 ms.gov.in pgpmJwkTrIbhn.pgp Description: PGP signature
Using packages compiled for 7.0-RELEASE in 8-CURRENT
Hi all, I'm having a confusion about installing packages compiled in 7.0-RELEASE in 8.0-CURRENT. I've 2 boxen, a 7.0-RELEASE-p5 and a 8-CURRENT. The 7.0-RELEASE-p5 is fully updated as of now, and has all updated ports available in the form of binary packages. Now, I'm wondering if it is okay to install those binary packages on my 8-CURRENT box. Has anyone tried this ? And what kind of issues you experienced. Issues to dependencies on libraries in base install, hmm...? Thanks in advance, Ashish -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- % dig +short cname cdac.in @::1 ms.gov.in pgpwsz60gf20h.pgp Description: PGP signature
Ekiga segfaulting with stack overflow
which ekiga is not able to figure out. Any ideas how to fix this issue. Since, I've posted it to both freebsd-questions and freebsd-ports, please post followups where you think is appropriate place for this. Thanks Ashish Shukla -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments pgpZmsOYGV1Sa.pgp Description: PGP signature
Re: smtp authentication
In [EMAIL PROTECTED], David Southwell wrote: Hi I am really ignorant about this issue. I am running postfix on freebsd 7.0 using a dynamic IP address and am getting requests to turn on smtp authentication for outgoing mails to reach servers such as yahoo.com but do not know how to do it. I think that is probably due to your MTA running on a dynamic IP connection, which are blacklisted for abuse by spammers most of the times. How about you using a smarthost (probably your ISP's mail-server) to deliver your mails from your postfix. I'm using the similar way with Postfix running on my local mail server, relaying all outgoing mails via Google's SMTP servers. HTH Ashish -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpyqGOdNEHs3.pgp Description: PGP signature
How to use rxvt-unicode + OpenSSH
Hi, I'm experiencing an issue related to the terminal capabilities and OpenSSH. I've installed x11/rxvt-unicode port on my client and server. When I login to my server from urxvt (running on client), I get messages related to terminal capabilities: 88 abbe [~] chateau% ssh notebook abbe [~] monte-cristo% man ls WARNING: terminal is not fully functional abbe [~] monte-cristo% echo $TERM rxvt-unicode abbe [~] monte-cristo% tic `pkg_info -xL rxvt-unicode |fgrep rxvt-unicode.terminfo` 88 I've also tried exporting TERMINFO=$HOME/.terminfo.db to the server's environment, but no success. I'm running zsh on both ends, compiled with ncurses from ports instead of base. 88 abbe [~] monte-cristo% ldd `which zsh` /usr/local/bin/zsh: libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x8006cd000) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x8007ff000) libncursesw.so.5.6 = /usr/local/lib/libncursesw.so.5.6 (0x8009f8000) libm.so.5 = /lib/libm.so.5 (0x800b25000) libc.so.7 = /lib/libc.so.7 (0x800c3f000) libtinfow.so.5.6 = /usr/local/lib/libtinfow.so.5.6 (0x800e5c000) 88- And the surprising thing is, if I start zsh in urxvt, running on my server, it works fine. No such warning printing at all. Any ideas, what is causing this ? TIA Ashish Shukla -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpGTwHbe8C47.pgp Description: PGP signature
Issues while trying to access an Ext3 partition successfully mounted on FreeBSD 7
Hi, I'm running FreeBSD 7.0-RELEASE-p3 (amd64). I've two ext3 partitions on my disk which I want to be able to access (read-only) from my FreeBSD installation. But I can only access one of them (with no issues), though I'm able to mount both of them fine in my FreeBSD and GNU/Linux. Those filesystems are fsck-ed regularly after every n mounts. I'm experiencing this since I installed GNU/Linux on that partition. 88 % fgrep gentoo-root /etc/fstab /dev/ad6s2 /mnt/gentoo-rootext2fs ro,noauto 0 0 % sudo mount /mnt/gentoo-root % mount |fgrep gentoo /dev/ad6s2 on /mnt/gentoo-root (ext2fs, local, read-only) % ls -l /mnt/gentoo-root ls: /mnt/gentoo-root: Bad file descriptor % sudo umount /mnt/gentoo-root % ls -ld /mnt/gentoo-root drwxr-xr-x 2 root wheel 512 Jun 8 23:24 /mnt/gentoo-root 88 There are no errors (or messages) reported in dmesg. Any ideas how to troubleshoot this ? I don't want to degrade my filesystem from ext3 to ext2. Thanks Ashish Shukla -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpkENmP1lS2Z.pgp Description: PGP signature
Re: Issues while trying to access an Ext3 partition successfully mounted on FreeBSD 7
Chris St Denis writes: [...] I had a problem like this trying to mount ext2. The problem was it needed to be fscked (unclean shutdown). You'll need to install ports/sysutils/e2fsprogs to fsck it under FreeBSD. Thanks for the reply, but I'm wondering if I fsck it in GNU/Linux, will that make any difference to it, since e2fsprogs is same ? BtW, it got fscked around 5-10 times (after every n mounts). Though, I will explicitly initiate the fsck this time, and will report back any issues I came across. Thanks Ashish Shukla -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgp8RSkodfGAP.pgp Description: PGP signature
Re: ipv6 portsnap servers
Chuck Swiger writes: On Aug 17, 2008, at 11:10 PM, R Dicaire wrote: Hi folks, I searched google and this mailing list and could find no specific mention of ipv6 support for portsnap. I also checked for records for the three portsnap mirrors portsnap1, 2, and 4.freebsd.org, no . I have an ipv6 only install, and wondering what other means I can use to maintain ports via ipv6. Obtain IPv4 connectivity? Very few of the FTP/HTTP servers providing ports source tarballs are going to be IPv6 only... OR use csup for updating ports. There're few cvsup servers at least. Ashish -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpCMOfHPA4r9.pgp Description: PGP signature
Re: Can't ping
In [EMAIL PROTECTED], Rem P Roberti wrote: Can someone tell what is going on here. All of a sudden I can't ping. When I try a get this message: ping: sendto: Permission denied All internet functions seem to be working fine...just can't ping. Firewall blocking ICMP protocol. HTH -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpXtPJZCsrCW.pgp Description: PGP signature
Kernel mode PPPoE or User mode PPPoE
Hi I wanted to know if I'm using user-mode PPPoE or kernel-mode PPPoE. I'm following the handbook[1] to setup my PPPoE interface. Is there any way I can figure out this ? And what is the difference between kernel-mode PPP and user-mode PPP ? I'm running FreeBSD 7.0-RELEASE-p3 (amd64). References: [1] - http://www.freebsd.org/doc/handbook/pppoe.html TIA -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgp70CdkS9uHK.pgp Description: PGP signature
Re: Kernel mode PPPoE or User mode PPPoE
RW writes: On Sat, 19 Jul 2008 19:14:40 +0530 ___ Ashish Shukla [EMAIL PROTECTED] wrote: Hi I wanted to know if I'm using user-mode PPPoE or kernel-mode PPPoE. I'm following the handbook[1] to setup my PPPoE interface. Is there any way I can figure out this ? If you are starting it from the standard rc.d script, you are using user ppp. I think kernel ppp is a legacy feature that was used before the kernel supported tun interfaces. I don't know of any reason for still using it. Won't you get any speed improvements with PPP connection in kernel-mode PPP as compared to user-mode PPP ? IIRC with kernel ppp you run pppd (note the d) as root, and the interface shows-up as ppp0; with user ppp, you run ppp as any user, and the interface shows-up as tun0. I use 'ppp -ddial my-adsl-provider' and it creates a 'tun0' interface. So this means I'm doing user-mode PPP. Thanks Ashish -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpGvPds48tpW.pgp Description: PGP signature
Re: Change in /etc/rc.conf:ipv6_defaultrouter
,--- Kirk Strauser writes: | On Sunday 29 June 2008, Ashish Shukla आशीष शुक्ल wrote: || I think how without specifying zone index[1] in link-local address || worked, it is probably due to availability of only single inet6 || interface except lo0. | The physical and virtual interfaces on the system are exactly as before. | I'm guessing that my setup worked as a side effect of a now-fixed bug, | probably the same one that was preventing me from using the 2001: | defaultrouter when I first got the system up and running. Did you mean your setup stopped working after you compiled new kernel, hmm...? || Just wanted to confirm, is following command worked ? if possible paste || the output: || || % ping6 fe80::213:10ff:fe79:137a | $ ping6 fe80::213:10ff:fe79:137a | ping6: UDP connect: Network is unreachable Yes, this is the expected behavior. Ashish -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpgB8LucLOXT.pgp Description: PGP signature
Re: Change in /etc/rc.conf:ipv6_defaultrouter
,--- Kirk Strauser writes: | On Monday 30 June 2008, Ashish Shukla आशीष शुक्ल wrote: || Did you mean your setup stopped working after you compiled new kernel, || hmm...? | Yes. Unfortunately, I'm not sure exactly when it happened. I saw an | article on Slashdot about IPv6, went to look at my maillog to see how much | traffic I'd been getting, and found none. | So back to my original post: take this as a heads-up. Anyone who had a | setup like mine that suddenly stopped working might be able to fix it by | updating their defaultrouter. Okay, thanks for the info. Ashish -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpIPIAY2FiM1.pgp Description: PGP signature
Postfix logging some OTP related permission denied messages
Hi, I'm running 7.0-RELEASE-p2 (amd64). I'm running Postfix 2.5.1_2,1 mail server instead of the default Sendmail which ships with base distribution. My mail server is working fine with no issues except that I noticed that some messages in /var/log/messages: 88 Jun 29 03:12:45 chateau postfix/smtpd[1159]: OTP unavailable because can't read/write key database /etc/opiekeys: Permission denied Jun 29 03:18:22 chateau postfix/smtpd[1535]: OTP unavailable because can't read/write key database /etc/opiekeys: Permission denied Jun 29 03:23:55 chateau postfix/smtpd[1873]: OTP unavailable because can't read/write key database /etc/opiekeys: Permission denied Jun 29 04:18:25 chateau postfix/smtpd[78118]: OTP unavailable because can't read/write key database /etc/opiekeys: Permission denied Jun 29 16:07:11 chateau postfix/smtpd[1712]: OTP unavailable because can't read/write key database /etc/opiekeys: Permission denied Jun 29 16:07:17 chateau postfix/smtpd[1712]: OTP unavailable because can't read/write key database /etc/opiekeys: Permission denied Jun 29 16:13:30 chateau postfix/smtpd[2125]: OTP unavailable because can't read/write key database /etc/opiekeys: Permission denied 88 I've not done anything explicitly to turn on support for One-time passwords in my system. Any ideas, reasons behind these messages ? TIA -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpHQ2eMHK0cN.pgp Description: PGP signature
Re: Change in /etc/rc.conf:ipv6_defaultrouter
,--- Kirk Strauser writes: | I've been using IPv6 on my FreeBSD-7 host for quite some time. My | IPv6 router is a different machine, so the FreeBSD server is just a | regular host on the network. | This morning I discovered that I couldn't pass packets to hosts | outside my LAN from FreeBSD, although an OS X host on the same LAN had | no problems pinging www.kame.net. | I had this in my /etc/rc.conf: | ipv6_ifconfig_fxp0=2001:470:a80a:1:2d0:b7ff:fe0e:3a4a prefixlen | 64 | ipv6_defaultrouter=fe80::213:10ff:fe79:137a I don't know how is above ipv6_defaultrouter setting is working, since above is a link-local address, and you've not specified any explicit link in above fe80::/10 address. BtW, did you recently changed your configuration ? Is this same setting working since you started using IPv6 on your FreeBSD host, hmm..? | Whenever I'd try to ping6 my local router, I'd get: | ping6: UDP connect: Network is unreachable Are you trying to ping6 a link-local address, without any mention of interface, hmm...? | Also, the routing table seemed a bit screwy and was sending everything | to lo0: | $ netstat -nr -f inet6 | [...] | default fe80::213:10ff:fe79:137a UGS | lo0 | I found two workarounds: | ipv6_defaultrouter=2001:470:a80a:1::1 I think above solution is better. -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpr1InEzQQbE.pgp Description: PGP signature
Re: Postfix logging some OTP related permission denied messages
,--- Michael Powell writes: | आशीष शुक्ल Ashish Shukla wrote: || Hi, || || I'm running 7.0-RELEASE-p2 (amd64). I'm running Postfix 2.5.1_2,1 mail || server instead of the default Sendmail which ships with base distribution. || || My mail server is working fine with no issues except that I noticed that || some messages in /var/log/messages: || | 88 || Jun 29 03:12:45 chateau postfix/smtpd[1159]: OTP unavailable because can't || read/write key database /etc/opiekeys: Permission denied Jun 29 03:18:22 || chateau postfix/smtpd[1535]: OTP unavailable because can't read/write key || database /etc/opiekeys: Permission denied Jun 29 03:23:55 chateau || postfix/smtpd[1873]: OTP unavailable because can't read/write key database || /etc/opiekeys: Permission denied Jun 29 04:18:25 chateau || postfix/smtpd[78118]: OTP unavailable because can't read/write key || database /etc/opiekeys: Permission denied Jun 29 16:07:11 chateau || postfix/smtpd[1712]: OTP unavailable because can't read/write key database || /etc/opiekeys: Permission denied Jun 29 16:07:17 chateau || postfix/smtpd[1712]: OTP unavailable because can't read/write key database || /etc/opiekeys: Permission denied Jun 29 16:13:30 chateau || postfix/smtpd[2125]: OTP unavailable because can't read/write key database || /etc/opiekeys: Permission denied 88 || || I've not done anything explicitly to turn on support for One-time || passwords in my system. || || Any ideas, reasons behind these messages ? || || TIA | Greetings: | I've seen some suggestions which involve making changes for allowing the | access to the files, but my thoughts are if you are not making use of this | feature this would be tantamount to a small form of security violation. | The shortcut is probably just to give the group 'mail' rw permissions to | opiekeys and don't overly muck with a config that works correctly. | If when you installed Postfix it installed cyrus-sasl as a dependency you | might try going into /usr/ports/security/cyrus-sasl2 and doing make config | and clearing the checkbox option near the bottom OTP Enable OTP auth, | then make deinstall, and make reinstall. Reinstall cyrus-sasl2 without OTP support worked, and now no more OTP related messages. | -Mike Thanks :) -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpByMxNcNFFY.pgp Description: PGP signature
Re: Change in /etc/rc.conf:ipv6_defaultrouter
,--- Kirk Strauser writes: | Ashish Shukla ? wrote: || | ipv6_ifconfig_fxp0=2001:470:a80a:1:2d0:b7ff:fe0e:3a4a prefixlen || | 64 || | ipv6_defaultrouter=fe80::213:10ff:fe79:137a || I don't know how is above ipv6_defaultrouter setting is working, since || above is a link-local address, and you've not specified any explicit || link in above fe80::/10 address. BtW, did you recently changed your || configuration ? Is this same setting working since you started using || IPv6 on your FreeBSD host, hmm..? | That configuration has been working, unchanged, for a few months | now. Until recently it used the fxp0 interface, as evidenced by the | fact that it actually worked. :-) || Are you trying to ping6 a link-local address, without any mention of || interface, hmm...? | Again, it worked. If it hadn't, I would have kept messing with it | until it did. I host web and mail on that host's IPv6 address and | was very keen in getting it up and running. I think how without specifying zone index[1] in link-local address worked, it is probably due to availability of only single inet6 interface except lo0. Just wanted to confirm, is following command worked ? if possible paste the output: % ping6 fe80::213:10ff:fe79:137a Reference: [1] - http://en.wikipedia.org/wiki/IPv6#Zone_indices Regards -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpA3KJWYxyN6.pgp Description: PGP signature
Re: usb mouse is detected by fbsd 7 but not X
,--- Chip writes: | Just installed FBSD 7, after being gone from FBSD the last 3 | years. During boot I see that the mouse is detected as ums0, but | cannot get it to work in X11. I cannot find any xorg.conf. or | xorg.conf.new files. I have gnome installed and working, so I know X | is working properly. Any suggestions on the usb mouse? When you plugin your USB mouse, is any moused corresponding to ums0 gets started, hmm...: 88 abbe [~] monte-cristo% ps -A |grep moused |grep ums0 1280 ?? Ss 0:00.00 /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid 88 If not, then make sure you've moused is enabled in your /etc/rc.conf. If yes, then create an xorg.conf using Xorg -configure and make sure it has following into it: 88 Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceSysMouse CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section InputDevice Identifier SysMouse Driver mouse Option Protocol auto Option Device /dev/sysmouse EndSection 88 HTH -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpU237yxoeXn.pgp Description: PGP signature
Using gjournal + gmirror on 7.0-RELEASE-p1 (amd64) server
Hi list, I've two Intel Xeon dual core-based servers running 7.0-RELEASE-p1 (amd64). Those servers are running a software raid-1 using geom_gmirror. Today, when I rebooted them twice with 'reboot' command, raid-1 running on both servers got degraded to 0% + filesystem check resulted in 4-5 lost non-critical files. Later I found out that 'reboot' is not a recommended way to reboot a system, and I should use 'shutdown -r now'. Anyways, I'm thinking to use gjournal (in addition to gmirror) on both servers to avoid such situation in future. I'm already using gjournal on my desktop (with no gmirror) running FreeBSD 7.0-RELEASE-p1 (amd64), with no issues. So, I wanted to know if gjournal + gmirror combo is stable enough to be used on a servers. And, if I go for gjournal, since I've an existing filesystem, I've to create a separate gjournal slice, so is it okay to create that gjournal slice on a non-gmirror backed storage, hmm...? TIA -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpj6V55JmrrZ.pgp Description: PGP signature
Re: Using gjournal + gmirror on 7.0-RELEASE-p1 (amd64) server
Manolis == Manolis Kiagias [EMAIL PROTECTED] writes: Manolis Ashish Shukla आशीष शुक्ल wrote: [snip] And, if I go for gjournal, since I've an existing filesystem, I've to create a separate gjournal slice, so is it okay to create that gjournal slice on a non-gmirror backed storage, hmm...? Manolis You should keep in mind that the space required for the journal Manolis depends on the usage load and not the size of the data provider. In Manolis other words, if you are using the default 1Gb journal size on your Manolis desktop, it may not be enough for a busy server. Okay. Manolis I've used gjournal+gmirror on a machine - not anything really heavy Manolis loaded, but it has given me no problems. I first created the journals, Manolis and the gmirror-ed the entire disk. It works as you should expect. I Manolis have not tried creating the journal on a non-mirrored storage. I Manolis suppose this would work too, but I have no idea how safe it would be. I'll also opt for journal on mirrored storage, which is the same storage device as data provider. Thanks for the reply -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgp9kFB64l6qz.pgp Description: PGP signature
Re: anti-aliased fonts
Girish Kulkarni writes: Girish Hi, Hi, [snip] Girish Although I succeeded in getting the effect on the GNOME panels and Girish other GTK applications, some applications like Firefox and rxvt seem Girish to be having problems with anti-aliasing. I have kept a sample on the Girish web to show how terrible this looks [2]. How do I achieve Girish anti-aliasing in these applications, especially in Firefox? (I have Girish several---Truetype or otherwise---fonts available and fp is set up Girish suitably.) Search for FireFox in this blog post[1] Girish -- Girish Girish Kulkarni - Allahabad, India - http://girish.50webs.com You might like to join bsd-india[2] list[3]. References: [1] - http://netbuzzme.blogspot.com/2006/01/freebsd-is-really-cool.html [2] - http://www.bsd-india.org/ [3] - http://www.bsd-india.org/mailman/listinfo/bsd-india HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpKVnwWSpIMA.pgp Description: PGP signature
Re: Very slow xfce
Nishita Desai writes: Nishita Okay, I didn't see this earlier. Nishita [drm] failed to load kernel module i915 Nishita (EE) [drm] drmOpen failed. Nishita (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI. Nishita I have dri-7.0.3_1,2 installed DRI support for 965G in FreeBSD is available in CVS, and I'm using that with no issues. I've not checked-out complete tree only the 'src/sys/dev/drm' directory. 1. Backup /usr/src/sys/dev/drm somewhere . 2. Check out ':pserver:[EMAIL PROTECTED]:/home/ncvs/src/sys/dev/drm' using cvs and place the checked-out 'drm' at /usr/src/sys/dev . 3. Now compile again drm module by executing: # make -C /usr/src/sys/modules/drm all install HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpt3d2FBYZCA.pgp Description: PGP signature
Re: X on Intel GM965 chipset
Nishita Desai writes: Nishita Hello, Nishita I just installed FreeBSD 7.0 on a Dell Vostro 1200. It has Intel's Nishita GM965 chipset and I cannot get X to work at the right resolution of Nishita 1280x800. Nishita I updated and reinstalled the x11-drivers/x11-video-i810 and Nishita x11-drivers/x11-intel ports. But X still dies whenever I tell it to Nishita use i810 driver. I am using vesa which gives me 1024x786. Dies with what error ? paste /var/log/Xorg.0.log. BtW, 1280x800 is a widescreen resolution and to get that you might need to patch your BIOS at runtime using '915resolution' port. Nishita The following two places suggest that FreeBSD 7.0 supports GM965 chipsets: Nishita [1] http://lists.freebsd.org/pipermail/cvs-src/2007-July/080677.html Nishita [2] http://en.wikipedia.org/wiki/Intel_GMA Nishita What should I do to get the proper drivers and get X working? Following is my xorg.conf, and I've DRI working on my Intel G965 laptop. 88 Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceTouchpad0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files RgbPath /usr/local/share/X11/rgb ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ FontPath /usr/local/lib/X11/fonts/local/ FontPath /usr/local/lib/X11/fonts/bitstream-vera/ FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/OTF FontPath /usr/local/lib/X11/fonts/Type1/ FontPath /usr/local/lib/X11/fonts/100dpi/ FontPath /usr/local/lib/X11/fonts/75dpi/ EndSection Section Module Load GLcore Load dbe Load dri Load extmod Load glx Load record Load xtrap Load freetype Load type1 Load synaptics EndSection Section ServerFlags Option AllowEmptyInput EndSection Section InputDevice Identifier Keyboard0 Driver kbd EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/psm0 Option ZAxisMapping 4 5 6 7 EndSection Section InputDevice Identifier Touchpad0 Driver synaptics Option Device /dev/psm0 Option Protocol alps Option SHMConfig on Option LeftEdge 130 Option RightEdge 840 Option TopEdge 130 Option BottomEdge 640 Option FingerLow 7 Option FingerHigh 8 Option MaxTapTime 180 Option MinTapTime 110 Option ClickTime 0 Option EmulateMidButtonTime 75 Option VertScrollDelta 20 Option HorizScrollDelta 20 Option MinSpeed 0.40 Option MaxSpeed 0.65 Option AccelFactor 0.030 Option EdgeMotionMinSpeed 200 Option EdgeMotionMaxSpeed 200 Option UpDownScrolling 1 Option CircularScrolling 1 Option CircScrollDelta 0.1 Option CircScrollTrigger 3 Option VertEdgeScroll on Option Emulate3Buttons on EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelNameMonitor Model EndSection Section Device Identifier Card0 Driver intel VendorName Intel Corporation BoardName Mobile GM965/GL960 Integrated Graphics Controller BusID PCI:0:2:0 EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 SubSection Display Viewport 0 0 Depth 1 EndSubSection SubSection Display Viewport 0 0 Depth 4 EndSubSection SubSection Display Viewport 0 0 Depth 8 EndSubSection SubSection Display Viewport 0 0 Depth 15 EndSubSection SubSection Display Viewport 0 0 Depth 16 EndSubSection SubSection Display Viewport 0 0 Depth 24 Virtual 2880 900 EndSubSection EndSection 88 In addition to above xorg.conf, I'm also using latest DRM from stuff from CVS from ':pserver:[EMAIL PROTECTED]:/home/ncvs/src/sys/dev/drm' plus graphics/dri port. And this works flawlessly :) . Nishita Thanks, Nishita Nishita HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgp9QJgXrodA2.pgp Description: PGP signature
Re: X on Intel GM965 chipset
Nishita Desai writes: Nishita On Fri, May 16, 2008 at 11:04 PM, Dominic Fandrey [EMAIL PROTECTED] wrote: You only need xf86-video-intel and enter intel as the Driver in your xorg.conf. I'm running a GM965 at 1440x900 this way. I even think that x11-video-i810 and xf86-video-intel conflict. So best deinstall both and only install xf86-video-intel afterwards. Nishita I cannot pkg_delete nor pkg_deinstall xf86-video-i810. Here's the error: Nishita -- Nishita pkg_delete: package 'xf86-video-i810-1.7.4' is required by these other packages Nishita and may not be deinstalled: Nishita xorg-7.3_1 Nishita -- pkg_delete -f xf86-video-i810-1.7.4 ? or make -C /usr/ports/x11-drivers/xf86-video-i810 deinstall ? -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgp1EXlmJfbj3.pgp Description: PGP signature
Re: root login stops working
Dennis == Dennis Flynn [EMAIL PROTECTED] writes: Dennis I'm running FreeBSD wx.dennis-flynn.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Dennis About a day after install root login no longer works - even on the console. Dennis I see the following in /var/log/auth.log: Dennis May 10 14:22:37 wx sshd[86223]: Accepted password for root from 10.11.12.104 port 1492 ssh2 Dennis May 10 14:22:37 wx sshd[86223]: Received disconnect from 10.11.12.104: 0: Dennis And in /var/log/messages: Dennis May 10 14:27:51 wx kernel: pid 86237 (csh), uid 0: exited on signal 11 (core dumped) Looks like your shell segfaulted during login., resulting in your ssh session being aborted. How about booting in single user mode ? And does your installation underwent any filesystem recovery ? You can try reinstalling csh from freebsd installation disc, and then try. HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgp8PMVqKztWi.pgp Description: PGP signature
Re: New to FreeBSD issues with multicast DNS.
Joe Dunn writes: Joe Hi All, Joe I'm new to FreeBSD, but I am running into an issue I can't seem to solve Joe after a few days. Joe I have a FreeBSD 7.0 amd64 set up. I installed mt-daapd/avahi from ports. Joe For some reason, I can see the share on the fileserver but not on the Joe network. Its like everything just stops when it get to the em0 (interface Joe plugged into the switch). Joe I can browse multicast dns locally as seen below Joe [EMAIL PROTECTED] /usr/ports]# avahi-browse _daap._tcp Joe + em0 IPv4 freebsd _daap._tcp local I didn't use Mac. I've a FreeBSD 7.0-RELEASE (amd64) + Ubuntu Linux 8.04 (development/amd64) network at my place. How about doing host name resolution over mDNS using avahi-resolve-host-name or similar utility in your Mac ? Also, start a tcpdump on em0 at FreeBSD end, to see if it receives any mDNS request ? It also works, when any Windows box running Bonjour service, joins the network. [snip] Joe mbp:~ jdunn$ mDNS -B _daap._tcp Joe Browsing for _daap._tcp Joe Talking to DNS SD Daemon at Mach port 4099 Joe If i have itunes running on either of my macs it shows up during this Joe request. Does you iTunes also show up on FreeBSD end, hmm..? HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpwG1QEhgrC8.pgp Description: PGP signature
Re: [Request] HOWTO build LDAP server for shared address book.
,--[ On Tue, Feb 12, 2008 at 10:57:16AM +0100, Wael Nasreddine wrote: | Hello, | | I have never worked with LDAP but I would like to install an LDAP | server on my server and share my address book on it between all the | programs I used daily, I searched a lot on google but I couldn't find | anything except the one on ubuntu[1] which I'm not sure it'll work... LDAP is a real cool protocol offering a hierarchial directory like facility. You can store anything in that directory, from user accounts, to your GPG keys to address book to email aliases, anything for which you're able to write a schema. You'll enjoy working with it :) | Could someone please help me building this address book, I really need | it but I have no idea how to do it on my own... Install OpenLDAP server (openldap23-{server,client} or openldap24-{server,client}) from FreeBSD ports. And follow administrator's guide[1] to setup your LDAP server. The Building an OpenLDAP address book article [2] at ONLamp will guide you with setting up address book with OpenLDAP. And you'll also like to try out phpldapadmin for managing LDAP directory over web :) . References: [1] - http://www.openldap.org/doc/admin24/ [2] - http://www.onlamp.com/pub/a/onlamp/2003/03/27/ldap_ab.html HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- freed.in | freedom in technology and software | 22-24 February 2008 | Delhi ··-· ·-· · · -·· ·-·-·- ·· -· ··--- - - ---·· signature.asc Description: Digital signature
Re: Libnet in FreeBSD
Bhuvaneswari Ramkumar writes: Bhuvaneswari well actually, even the sample applications seem to have the same problem, Bhuvaneswari So I'm guessing its some installation issue: Bhuvaneswari # cc dns.c Bhuvaneswari /var/tmp//ccImyVt1.o(.text+0x88) : In function 'main' : : undefined Bhuvaneswari reference to 'libnet_init' Probably you need to add '-lnet' to your command line to include libnet's libraries during linking. HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- freed.in | freedom in technology and software | 22-24 February 2008 | Delhi ··-· ·-· · · -·· ·-·-·- ·· -· ··--- - - ---·· pgprcDkYUNvNv.pgp Description: PGP signature
Re: Libnet in FreeBSD
Bhuvaneswari Ramkumar writes: Bhuvaneswari -Inet doesnt work :-( thats not '-Inet' but '-lnet' . HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- freed.in | freedom in technology and software | 22-24 February 2008 | Delhi ··-· ·-· · · -·· ·-·-·- ·· -· ··--- - - ---·· pgpdZIAhB2gI1.pgp Description: PGP signature
Re: xterm question
swell k writes: swell Chris Whitehouse [EMAIL PROTECTED] writes: it's a stupid little question really but I have an xterm filled with a log file (telnetted into another machine) which is scrolled off the screen. How do I select all the text in one go? I only seem to be able to select the visible screenful, copy, paste into text file, scroll up, select the next screenful etc. I want the screen to scroll when the mouse pointer hits the top or bottom of the window. The best I've done so far is script - it works but it's messy. swell 1 start selection by left mouse button swell 2 scroll to the end of desired text swell 3 extend selection by right mouse button swell ? Thanks for the solution. It works for me :) -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- freed.in | freedom in technology and software | 22-24 February 2008 | Delhi ··-· ·-· · · -·· ·-·-·- ·· -· ··--- - - ---·· pgpYk9tOli6Rm.pgp Description: PGP signature
Re: localhost in sudoers
Chris Whitehouse writes: Chris The problem is this machine gets its ip address by dhcp so I shouldn't Chris enter an ip in sudoers. Is there a neat way round this? Why not use hostname from DNS, instead, hmm...? HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpvamBqslnNw.pgp Description: PGP signature
Re: localhost in sudoers
On Sat, 19 Jan 2008 23:40:35 +, Chris Whitehouse [EMAIL PROTECTED] said: Chris I think my question really is why doesn't sudoers recognise localhost Chris or 127.0.0.1? Quoting from sudo.c of sudo-1.6.8p12 in init_vars(int) routine: 88 /* * We avoid gethostbyname() if possible since we don't want * sudo to block if DNS or NIS is hosed. * host is the (possibly fully-qualified) hostname and * shost is the unqualified form of the hostname. */ sudo_user.host_fqdn_queried = FALSE; nohostname = gethostname(thost, sizeof(thost)); if (nohostname) user_host = user_shost = localhost; else { user_host = estrdup(thost); if ((p = strchr(user_host, '.'))) { *p = '\0'; user_shost = estrdup(user_host); *p = '.'; } else { user_shost = user_host; } } 88 As you can see, it uses gethostname() to return the hostname. So, your host won't be 'localhost' unless its not able to retrieve hostname or your hostname is set to 'localhost'. Why they did this probably because any entry for 'localhost' is valid for execution on all machines, ;) . HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpC4l1H0tJTj.pgp Description: PGP signature
Re: Trying to setup a serial console on my desktop
WATANABE Kazuhiro writes: WATANABE Hello. [...] WATANABE loader.conf(5) says: WATANABE | comconsole_speed WATANABE | (``9600'' or the value of the BOOT_COMCONSOLE_SPEED vari- WATANABE | able when loader(8) was compiled). Sets the speed of the WATANABE | serial console. If the previous boot loader stage speci- WATANABE | fied that a serial console is in use then the default WATANABE | speed is determined from the current serial port speed WATANABE | setting. WATANABE If you specify to use a serial console via /boot.config and WATANABE want to change the speed from 9600bps (default), you need to add WATANABE the -S speed flag to your /boot.config. See boot(8) for details. By me specificying use of serial console via /boot.config, you mean '-D' option, which I specified in /boot.config, hmm...? If yes, then this means it'll override 'console' setting I specified in loader.conf, hmm...? e.g. if I specified 'console=vidconsole' in 'loader.conf', but has '-D' in /boot.config, will I get output on both serial and internal console, hmm...? And BtW, if I specify anything at loader prompt, e.g. set comconsole_speed=115200, it works, i.e. I can connect to serial console at 115200 bps. So won't values specified at loader prompt have same priority as values specified in loader.conf, hmm... ? Sorry I'm bit confused regarding which gets priority, 'loader.conf' or 'boot.config'. 2. Keyboard doesn't work irrespective of '-P' being present in /boot.config . So I can't login to any TTY or login to X via GDM. I'm following http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html WATANABE Is a login prompt displayd to the video console? I asked GDM service to start at startup. So I get a GDM GUI, but I can't use my keyboard to enter my username there, not I'll be able to switch TTYs, though mouse is working fine. WATANABE If not, the system boot sequence may have been stopped at some kinds WATANABE of daemon (sshd, sendmail, etc.). I've all my hostname, and DNS stuff set up correctly, so there isn't problem of any kind, as I see messages of sendmail, sshd starting on my serial console at 9600bps. BtW, only 'dmesg' message appears on my video console, whereas all kind of messages appear on serial console, do I need some changes in syslog too to get all messages also on my video console, hmm...? WATANABE --- WATANABE WATANABE Kazuhiro ([EMAIL PROTECTED]) TIA -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgplkI6QIAsNe.pgp Description: PGP signature
Re: localhost in sudoers
On Sat, 19 Jan 2008 23:40:35 +, Chris Whitehouse [EMAIL PROTECTED] said: Chris I think my question really is why doesn't sudoers recognise localhost Chris or 127.0.0.1? And, BtW, while enumerating network interfaces, it skips those interfaces which're DOWN or LOOPBACK. If you've more questions, the quickest way is to checkout source code :) . HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpWaI2EgQLWr.pgp Description: PGP signature
Re: FBSD or PCBSD?
,--[ On Fri, Jan 18, 2008 at 10:10:11AM +0100, Zbigniew Szalbot wrote: | Hello, | | I have a basic Acer Aspire with Vista on it but I am very unhappy | about the speed of work on it. I do not want to wipe out MS system (at | least not yet) but would like to give FreeBSD or PCBSD a try. | | 1. Am I safe by installing FreeBSD alongside Vista? Will the | installation not destroy MS system? Yup you're safe. But make sure you've read FreeBSD Handbook[1] before proceeding to install. | 2. I have installed FreeBSD a few times but only with console access, | never with X windows. Would it be better to install PCBSD on the Acer | machine? I have never configured X windows and not sure how long it | could take with FreeBSD (actually I mean things like Gnome or KDE). No ideas about FreeBSD supporting your Acer box. Anyways, it won't be difficult configuring X in FreeBSD, but if you're new to FreeBSD, you can try PC-BSD. | 3. The wi-fi card is probably Acer InviLink 802.11b/g Wi-Fi. Any | chance such wireless card will be supported by FreeBSD or PCBSD? No ideas. | Which is a better solution for a home user? I never used PC-BSD so no comments. References: [1] - http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- signature.asc Description: Digital signature
Re: Anycast DNS - anybody?
Regarding Anycast DNS - anybody?; Ewald Jenisch [EMAIL PROTECTED] adds: Ewald Hi, Ewald Has anybody out there configured anycast DNS (where multiple instances Ewald of a DNS-server run under the same IP-address in different parts of Ewald the network) under FreeBSD? AFAIK, anycast requires magic at routing level. So that user will connect to the nearest DNS server (holding the anycast address). Ewald I'm looking for some hints to get started, but googling around didn't Ewald provide much info on that topic... It has do with routing so you need to investigate on routing protocols, like RIP, etc. 192.168.1.1 10.0.0.1network 10.0.0.2 192.168.1.1 [server1] --- [router1] =[router2] --- [server2] router1, router2 -- redundant routers connecting to different ISPs So if router2 receives packet destined for 192.168.1.1, instead of sending to server1 it'll send it to server2, since server2 is nearest to it, and vice versa. Above is a very simple configuration describing anycast. Since Anycast works only for connection-less protocols, you don't need to keep TCP connections synchronized between two servers, although both servers should behave identically, i.e. return similar records. BtW, I've never implemented anycast ever, so its fully based on my imagination. HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpdi5PO5FCnu.pgp Description: PGP signature
Re: Pls help: regarding gdb internals
,--[ On Wed, Jan 16, 2008 at 01:24:14PM -0800, Arun Paneri wrote: | Thanks Aryeh Chuck. | Well, I am trying to solve issues related to GDB. Like, gdb prints wrong values of few parameteres eg this pointer, when we give backtrace or x/10x $ebp command in core of our company product. The passing of 'this' pointer depends on the C++ calling convention in use. | | I think it reads wrong value from symbol table or stack frame. So i am trying to put a break point and see what exactly gdb reads for that perticuler frame when it shows a wrong data. But dont know where exactly it reads data from the symbol table or stack frame. AFAIK, symbol table simply stores symbols and their addresses, not data. Data you'll find in Data Section (readonly/static allocation), Stack (runtime-static allocation), or Heap (runtime-dynamic allocation). HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- signature.asc Description: Digital signature
Re: installing linux after freebsd (multi-boot)
अनुज == अनुज Anuj Singh [EMAIL PROTECTED] writes: अनुज hi, अनुज Today I removed partitions from Fedora 7 installation , (kept /home अनुज partition from FC7). Again went threw installation I faced no problem अनुज this time. Fedora 7 was installed without using LVM. on free space I अनुज installed Ubntu7. server for test purpose. No error. अनुज Sequence was Freebsd6.2 , Fedora Core 7 then RHEL4. अनुज When I tried installation with deselecting many packages (minimal अनुज installation) for RHEL5 अनुज without using LVM , I faced no problem, rebooted in mid to use अनुज LVM+minimal RHEL5 again same error. Repetation with minimal What is LVM+minimal RHEL5, you installed RHEL5 (without using LVM), right... or you tried activating existing LVM partitions in your RHEL5 installation (on non-LVM partitions), and got into some error, hmm...? If thats you get, I think is some kind of bug, better post it to some RHEL list or check out (and post it to) Red Hat Bugzilla, and see if someone has already similar oblem. अनुज installation+ no LVM could not continued (found same error again). अनुज Most likely it was due to partition table. Your partition table looks fine to me. HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpgRvItbDGFS.pgp Description: PGP signature
Re: Resolution too high with 7-RC1, nVidia, xorg
Xn == Xn Nooby [EMAIL PROTECTED] writes: Xn Well, after 15 hours of experimenting, I have 1024x768 working! Xn Getting PreferredMode to work was the main thing, I think. It was Xn literally on my last try, before I reinstalled Ubuntu, that I got it Xn to work, lol. Maybe these note will be of value to another nooby. Xn thanks again! Xn There 3 things that I needed: Xn 1) A modeline from the Modeline Calculator website Xn 2) To use the RefreshRate in the PreferredMode option Xn 3) To use the RefreshRate in the Modes line Xn Section Monitor Xn Identifier Monitor0 Xn VendorName Monitor Vendor Xn ModelNameMonitor Model Xn Modeline [EMAIL PROTECTED] 64.56 1024 1056 1296 1328 768 783 791 807 Xn Option PreferredMode [EMAIL PROTECTED] Xn EndSection Xn DefaultDepth 24 Xn SubSection Display Xn Viewport 0 0 Xn Depth 24 Xn Modes [EMAIL PROTECTED] Xn EndSubSection This is great, congrats :). -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpU7gHarYvTr.pgp Description: PGP signature
Re: Resolution too high with 7-RC1, nVidia, xorg
Xn == Xn Nooby [EMAIL PROTECTED] writes: Xn I am having trouble getting X to use a screen resolution that is less Xn than the maximum. When I edit my xorg.conf to add a DefaultDepth and Xn a Mode of 1024x768, it still comes up at 1280x1024. I did not Xn create any modeline entries yet, since I'm not sure how to do that. Xn My GUI (icewm) works, but browsing the web creates enormous eye-strain Xn from the high-resolution letters. Xn My hardware is a Dell Inspiron 530 Desktop with an nVidia Card. It Xn comes with SATA CD's, so I have to install with FreeBSD 7-RC1. Xn I started by running xorg -configure, and used the xorg.conf that it Xn generated. I looked at /var/log/Xorg.0.log, and it had many entries Xn from probing my hardware. It appears there is some kind of dynamic Xn configuration going on, but I know its using the xorg.conf, because it Xn got an error when I changed the adapter entry from nv to vga. Xn I actually had a similar problem on Ubuntu, and they had some Xn xorg-reconfigure program that would let you use less than maximum Xn values. I was wondering if FreeBSD had something similar. Xn The DefaultDepth 24 and Modes 1024x786 entries are from the Xn online FreeBSD Handbook, I believe I followed the Handbook Xn instructions properly. Xn Am I missing something obvious? From using Linux, I was expecting the Xn Modes values to work. TargetRefresh, and PreferredMode options, available in recent Xorg releases (probably since 7.2), you'll require. I'm using TargetRefresh (75 Hz) on my Intel 945G graphics to set my monitor to display 1440x900 rather than 1280x1024. And this same configuration is working fine for both FreeBSD 7.0-BETA4 (amd64), and Ubuntu 7.10 (amd64). HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpLpiBuDw85c.pgp Description: PGP signature
Re: Resolution too high with 7-RC1, nVidia, xorg
Xn == Xn Nooby [EMAIL PROTECTED] writes: To make things obvious you will have to take a look at your xorg.conf file Please do change dir to its parent folder (cd /etx/X11/) and run cat xorg.conf | tr -s \n | grep -v # that should make your xorg.conf look simple and clear. Xn Here is mine, which still wont go in to 1024x768 mode: You've 3 options: Xn SubSection Display Xn Viewport 0 0 Xn Depth 24 Xn Modes 1024x768 800x600 1. How about appending 1280x1024 to the above line. AFAIK, these modes are listed in the order of preference. See, if it works. 2. Another thing you can try, is to change the VertRefresh, and HorizRefresh limits of your monitor, change them in such a way, so that X server won't be able to display 1280x1024 mode, resulting in switch to 1024x768 mode. Since 1280x1024 requires a lower refresh rate as compared to 1024x768, so .e.g. if 1280x1024 works on 60 Hz (vertical refresh rate), and 1024x768 is available in 60 Hz, 75 Hz, 85 Hz, then you can increase lower limit of VertRefresh, to something greater than 60. 3. Another thing you can try is mode setting, switch to 1024x768 using xrandr. And then use xvidtune -show to generate modeline, [EMAIL PROTECTED] ~ $ xrandr -s 1024x768 Now, in 1024x768 mode, enter this: [EMAIL PROTECTED] ~ $ xvidtune -show 1024x768136.75 1024 1536 1688 1936768 903 909 942 -hsync +vsync NOTE: Don't use above modeline, thats from 1440x900 resolution, except that I changed 1440, 900 to 1024, 768 respectively :) . Now copy above modeline, and add to the Monitor section of your xorg.conf as show below: ModeLine1024x768 136.75 1024 1536 1688 1936 768 903 909 942 -hsync +vsync HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpahEdD7MnMW.pgp Description: PGP signature
Re: Resolution too high with 7-RC1, nVidia, xorg
Xn == Xn Nooby [EMAIL PROTECTED] writes: Xn I was able to temporarily change the resolution using the xrandr -s Xn 1024x768 command - but xvidtune -show still displayed a modeline Xn that begins with 1280x1024. I copied that modeline to my xorg.conf, Xn and manually changed the resolution, but I did not fool it. It was Xn great to see the screen at 1024x768, so I know it can do it. Hmm..., this is strange. BtW, after adding modeline, you need to restart Xorg. Anyways to get modeline for 1024x768 you can try switching to 'vesa' driver temporarily, extract modeline for 1024x768 From there, and then enter that modeline in xorg.conf. I tried this method when I'm having problem setting my old 15 LG Studioworks 452V to display 1024x768 without getting clipped. HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpqsemdONtz7.pgp Description: PGP signature
Re: Resolution too high with 7-RC1, nVidia, xorg
Xn == Xn Nooby [EMAIL PROTECTED] writes: Xn Using the vesa driver worked - I am able to get 1024x768, though the Xn fonts are a little weird. I tried to use the modeline from the vesa Xn driver with nv, but it didn't work. If the nv driver is part of the Xn problem, I will try the native nVidia driver and see how that works. Xn I've been shutting down and restarting X everytime I try something. I Xn made a xorg.conf with the vesa selected by running xorgconfig. Ill try Xn the native driver and see what happens. Following is an excerpt from my xorg.conf with ModeLine, see if you've entered ModeLine properly. -- Section Monitor Identifier Monitor0 ModelNameLCD Panel 1440x900 HorizSync50.0 - 75.0 VertRefresh 60.0 - 85.0 Option dpms ModeLine[EMAIL PROTECTED]136.75 1440 1536 1688 1936900 903 909 942 -hsync +vsync DisplaySize 408.94 254.0 Option TargetRefresh 75.0 EndSection Section Device Identifier Videocard0 Driver intel EndSection Section Screen Identifier Screen0 Device Videocard0 MonitorMonitor0 DefaultDepth 24 SubSection Display Viewport 0 0 Depth 24 Modes[EMAIL PROTECTED] 1024x768 800x600 640x480 [EMAIL PROTECTED] EndSubSection EndSection - HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpufzX4sNUnV.pgp Description: PGP signature
Re: installing linux after freebsd (multi-boot)
,--[ On Mon, Dec 31, 2007 at 09:03:08AM +0530, अनुज Anuj Singh wrote: [snipped] | On 30/12/2007, [EMAIL PROTECTED] wrote: | | Hello , | I have freebsd6.2 installed with Fedora core 7 and rhe4. | I am installing rhel5 , when linux installation process starts I get an | error of /dev/hdc1 busy , can not report to kernel about partition | layout. In the past I installed linux then FreeBSD. | Is there some method that rhel5 installation can skip /dev/hdc1 | (freebsd slice) ? saving my freebsd installation You get /dev/hdc1 busy error. At which step in installation, you get /dev/hdc1 busy error, hmm...? Are you trying to remove '/dev/hdc1' (FreeBSD slice), if yes, then you'll get error, and you probably need to remove FreeBSD partitions (present in slice) first. [snipped] | Hi, | 1. I am trying to fresh install over single disk. | 2. I have FreeBSD6.2 slice on first primary partition of the disk. There should be absolutely no problem in installing RHEL5, even GNU/Linux can read FreeBSD disklabels (and partitions) without any problem :) . | can I have a look at your partition table ? Here is mine, I'm running Ubuntu Linux, which is installed after FreeBSD. Disk /dev/sdb: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00083e09 Device Boot Start End Blocks Id System /dev/sdb1 * 1261120972826 a5 FreeBSD /dev/sdb22612922953159085 83 Linux /dev/sdb392309254 200812 83 Linux Partition 3 does not end on cylinder boundary. /dev/sdb49255 1945781955597+ f W95 Ext'd (LBA) /dev/sdb59255 1537349150836 83 Linux /dev/sdb6 15374 1932931776538+ 83 Linux /dev/sdb7 19330 19457 1028128+ 82 Linux swap / Solaris | I have IDE hard disk. Mine is SATA disk, but that should make no difference :) | Regards. | Anuj singh anugunj HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- signature.asc Description: Digital signature
Re: installing linux after freebsd (multi-boot)
अनुज == अनुज Anuj Singh [EMAIL PROTECTED] writes: अनुज On Dec 31, 2007 1:29 PM, आशीष शुक्ल Ashish Shukla [EMAIL PROTECTED] wrote: ,--[ On Mon, Dec 31, 2007 at 09:03:08AM +0530, अनुज Anuj Singh wrote: [snipped] | On 30/12/2007, [EMAIL PROTECTED] wrote: | | Hello , | I have freebsd6.2 installed with Fedora core 7 and rhe4. | I am installing rhel5 , when linux installation process starts I get an | error of /dev/hdc1 busy , can not report to kernel about partition | layout. In the past I installed linux then FreeBSD. | Is there some method that rhel5 installation can skip /dev/hdc1 | (freebsd slice) ? saving my freebsd installation You get /dev/hdc1 busy error. At which step in installation, you get /dev/hdc1 busy error, hmm...? Are you trying to remove '/dev/hdc1' (FreeBSD slice), if yes, then you'll get error, and you probably need to remove FreeBSD partitions (present in slice) first. अनुज No I am not removing/mounting/using FreeBSD slice. अनुज This is the log... अनुज 03:29:50 INFO: moving (1) to step confirminstall अनुज 03:30:13 INFO: moving (1) to step install अनुज 03:30:13 INFO: moving (1) to step enablefilesystems अनुज 03:30:17 INFO: lv is VolGroup00/LogVol00, size of 1472 अनुज 03:30:17 INFO: lv is VolGroup00/LogVol01, size of 2496 अनुज 03:30:17 INFO: lv is VolGroup00/LogVol02, size of 672 अनुज 03:30:17 INFO: lv is VolGroup00/LogVol03, size of 1024 अनुज 03:30:17 INFO: lv is VolGroup00/LogVol04, size of 9984 अनुज 03:30:17 INFO: lv is VolGroup00/LogVol05, size of 9344 अनुज 03:30:17 INFO: removing lv LogVol03 अनुज 03:30:18 INFO: removing lv LogVol00 अनुज 03:30:18 INFO: removing lv LogVol04 अनुज 03:30:19 INFO: removing lv LogVol05 अनुज 03:30:19 INFO: removing lv LogVol02 अनुज 03:30:20 INFO: removing lv LogVol01 अनुज 03:30:21 INFO: pv is /dev/hdc11 in vg VolGroup00, size is 29996 अनुज 03:30:21 INFO: vgremove VolGroup00 अनुज 03:30:22 INFO: pvremove -ff -y /dev/hdc11 अनुज 03:30:22 INFO: pvcreate -ff -y -v /dev/hdc11 अनुज 03:30:23 CRITICAL: parted exception: Error: Error informing the kernel अनुज about modifications to partition /dev/hdc1 -- Device or resource busy. अनुज This means Linux won't know about any changes you made to /dev/hdc1 अनुज until you reboot -- so you shouldn't mount it or use it in any way अनुज before rebooting. अनुज 03:31:08 CRITICAL: Traceback (most recent call first): अनुज File /usr/lib/anaconda/partedUtils.py, line 876, in savePartitions अनुज disk.commit() अनुज File /usr/lib/anaconda/packages.py, line 145, in turnOnFilesystems अनुज anaconda.id.diskset.savePartitions () अनुज File /usr/lib/anaconda/dispatch.py, line 201, in moveStep अनुज rc = stepFunc(self.anaconda) अनुज File /usr/lib/anaconda/dispatch.py, line 124, in gotoNext अनुज self.moveStep() अनुज File /usr/lib/anaconda/gui.py, line 1007, in nextClicked अनुज self.anaconda.dispatch.gotoNext() अनुज File /usr/lib/anaconda/iw/progress_gui.py, line 243, in renderCallback अनुज self.intf.icw.nextClicked() अनुज File /usr/lib/anaconda/gui.py, line 1034, in handleRenderCallback अनुज self.currentWindow.renderCallback() अनुज error: Error: Error informing the kernel about modifications to अनुज partition /dev/hdc1 -- Device or resource busy. This means Linux अनुज won't know about any changes you made to /dev/hdc1 until you reboot -- अनुज so you shouldn't mount it or use it in any way before rebooting. अनुज From anacdump.txt अनुज Traceback (most recent call first): अनुज File /usr/lib/anaconda/partedUtils.py, line 876, in savePartitions अनुज disk.commit() अनुज File /usr/lib/anaconda/packages.py, line 145, in turnOnFilesystems अनुज anaconda.id.diskset.savePartitions () अनुज File /usr/lib/anaconda/dispatch.py, line 201, in moveStep अनुज rc = stepFunc(self.anaconda) अनुज File /usr/lib/anaconda/dispatch.py, line 124, in gotoNext अनुज self.moveStep() अनुज File /usr/lib/anaconda/gui.py, line 1007, in nextClicked अनुज self.anaconda.dispatch.gotoNext() अनुज File /usr/lib/anaconda/iw/progress_gui.py, line 243, in renderCallback अनुज self.intf.icw.nextClicked() अनुज File /usr/lib/anaconda/gui.py, line 1034, in handleRenderCallback अनुज self.currentWindow.renderCallback() अनुज error: Error: Error informing the kernel about modifications to अनुज partition /dev/hdc1 -- Device or resource busy. This means Linux अनुज won't know about any changes you made to /dev/hdc1 until you reboot -- अनुज so you shouldn't mount it or use it in any way before rebooting. अनुज Local variables in innermost frame: अनुज self: partedUtils.DiskSet instance at 0xb7bce72c अनुज disk: PedDisk object at 0xb7e37638
Any way to access I2C sensors in FreeBSD ?
Hi, Is there anything similar to lm_sensors (for Linux) in FreeBSD, to monitor temperature of motherboard, CPU, etc. ? I'm using Intel D945GNTL mobo with Intel Pentium 4 630 (EM64T/HT) CPU. Following is an output of 'sensors' for my box, when running on Linux: 88 abbe [~] chateau $ sensors lm85-i2c-0-2e Adapter: SMBus I801 adapter at 2000 V1.5: +1.55 V (min = +0.00 V, max = +3.32 V) VCore: +1.35 V (min = +0.00 V, max = +2.99 V) V3.3: +3.28 V (min = +0.00 V, max = +4.38 V) V5: +5.03 V (min = +0.00 V, max = +6.64 V) V12: +12.19 V (min = +0.00 V, max = +15.94 V) CPU_Fan: 1069 RPM (min =0 RPM) fan2: 0 RPM (min =0 RPM) fan3: 778 RPM (min =0 RPM) fan4: 0 RPM (min =0 RPM) CPU Temp:+59°C (low = -127°C, high = +127°C) Board Temp: +47°C (low = -127°C, high = +127°C) Remote Temp: +42°C (low = -127°C, high = +127°C) CPU_PWM: 112 Fan2_PWM: 103 Fan3_PWM: 103 vid: +1.088 V (VRM Version 10.0) 88 Is there anyway to access this information from FreeBSD also, hmm... ? TIA -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- signature.asc Description: Digital signature
Re: Any way to access I2C sensors in FreeBSD ?
,--[ On Thu, Dec 27, 2007 at 07:18:19PM +0100, Pieter de Goeje wrote: [...] | Is there anyway to access this information from FreeBSD also, hmm... ? | | TIA | | Have a look at the sysutils/mbmon and sysutils/healthd ports. Thanks will look at them. -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- signature.asc Description: Digital signature
Re: lost X11 input from kybd
,--[ On Thu, Dec 27, 2007 at 04:41:18PM -0500, chuckr wrote: | I'm running FreeBSD-current. I updated about 30 hours ago, did a | rebuild of world and the kernel (without changing my kernel config file | at all. I have to explain that I start my X11 via startx, I dislike | using anything like xdm (or kdm,gdm etc) so I always use startx, relying | on a ~/.xinitrc I have doctored nicely, to get me into kde. Well, like | I normally do, I loeed in as root on ttyv0, my user chuckr on ttyv1, | and then did the startx as chuckr on ttyv1. Everything started up fine, | but when I tried to kill an accientally started xterm, I found I | couldn't kill it with a control-D. After a bit of experimentation, it | became obvious that I coulld get no keyboard input. Thank god I can | still use the mouse perfectly, so I can kill X11 for troubleshooting via | the mouse fine. After I did that, I found that all my keyboard input | which hadn't shown up on any xterm was pasted instead on the screen of | ttyv1, from which I'd started up X11 to begin with. | | So, I can't get my keyboard input to go to X11. I would REALLY love any | guesses at all about why this is, because I can';t use X now on | FreeBSD, and that's my mailer. I am using a poor replacement for this | now, so I would really like to know what's causinbg this ... | | Oh, I have to add, I tried rolling the kernel back to kernel.old, no | differentce, it;s still bad. I tried (after moving kernel.old back to | kernel) to download and install a new world and kernel. Still fails | also. I need some help here, badly. Very basic guess, but does your xorg.conf is reconfigured recently, check for something like following in xorg.conf: ---88 Section ServerLayout Identifier single head configuration Screen 0 Screen0 0 0 InputDeviceKeyboard0 CoreKeyboard EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc105 Option XkbLayout us EndSection ---88 Anyways, have you tried 'xinit xterm', to see if X11 is receiving keyboard input, without KDE ? see, if there're any suspecting error messages, in your /var/log/Xorg.0.log HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- signature.asc Description: Digital signature
Re: FreeBSD 6.2-RELEASE-p7 box crashing
,--[ On Mon, Aug 20, 2007 at 07:33:05AM -0500, Eric Crist wrote: | Sorry to reply again so soon, but I failed to read through your | attachment before sending my previous message. I notice that your | system seems to have crashed at least a few times during the loading | of PowerDNS. Immediately before, there's a warning about the | variables in /etc/rc.conf: Sometimes, it also crashed when I restarted 'avahi-daemon'. | | Aug 20 15:50:43 chatteau root: /etc/rc: WARNING: $pdnsd_enable is not | set properly - see rc.conf(5). I've installed pdns and pdns-recursor, but I'm using pdns-recursor only, and $pdnsd_enable is set to no. And I'm running this setup since June, 2007. | | Also, have you tried booting with ACPI disabled? I know there are | still some systems out there that don't quite work the way they ought | to. No, I've not tried that. But, to me, it looks like filesystem is bad, and some of the files in use by services like avahi, pdns are corrupt, so thats why it is crashing. Is there any possiblity like such ? Anyways, I'll boot with ACPI disabled, or even boot in single-user mode, and repair my filesystem first. | | - | Eric F Crist | Secure Computing Networks | | Thanks Ashish Shukla -- Ashish Shukla Wah Java !! आशीष शुक्ल weblog: http://wahjava.wordpress.com/ ,= ,-_-. =. | The desire to be rewarded for one's creativity does | ((_/)o o(\_)) | not justify depriving the world in general of all or | `-'(. .)`-' | part of that creativity. | \_/ |- Richard M. Stallman | pgpi1NZ0ui2aX.pgp Description: PGP signature
Re: freebsd 7 release date :)
,--[ On Sun, Aug 19, 2007 at 08:26:34PM +0300, Abdullah Ibn Hamad Al-Marri wrote: | Hello, | | On 8/19/07, vuthecuong [EMAIL PROTECTED] wrote: | just for reference only: | Original release planned date of 7.0 was end of Jul. But now is nearly | end of Aug. | So Which date you guess 7.0 will be released? :D | | Tnx | | FreeBSD 7.0 entered frozen status, and it has been very stable with no | major bugs, you could use it safely, and enjoy the real BSD speed with | FreeBSD 7.0-CURRENT now ;) Thanks, so I think now I can use FreeBSD 7.0-CURRENT for my daily desktop use. :) | | | -- | Regards, | | -Abdullah Ibn Hamad Al-Marri | Arab Portal | http://www.WeArab.Net/ | ___ | freebsd-questions@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to [EMAIL PROTECTED] Ashish Shukla -- Ashish Shukla Wah Java !! आशीष शुक्ल weblog: http://wahjava.wordpress.com/ ,= ,-_-. =. | The desire to be rewarded for one's creativity does | ((_/)o o(\_)) | not justify depriving the world in general of all or | `-'(. .)`-' | part of that creativity. | \_/ |- Richard M. Stallman | pgp2hoOBWp2Oq.pgp Description: PGP signature
Re: Local domain with Bind
,--[ On Thu, Aug 16, 2007 at 12:19:34AM +0200, Nicholas Wieland wrote: | Il giorno 15/ago/07, alle ore 15:23, Derek Ragona ha scritto: | | I don't see anything in the bind configuration file either, AND it | all works on the DNS server and your mac so we know that the BIND | configuration is fine. | | Check on the .3 server /etc/nsswitch.conf | | be sure you have a line like: | hosts: files dns | | in this file. | | If that doesn't fix it, check your gateway setting, netmask, and | other settings on your ethernet interface. | | I solved. I just had to add search subbacultcha.local to the .3 | resolv.conf ... No clue why it is needed. .local is a TLD used in mDNS. For more information, visit following URL: .local - Wikipedia http://en.wikipedia.org/wiki/.local | Thank you very much for your help and your suggestions. | | ngw | | -- | Nicholas Wieland | [EMAIL PROTECTED] | | | | ___ | freebsd-questions@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to [EMAIL PROTECTED] Ashish Shukla -- Ashish Shukla Wah Java !! आशीष शुक्ल weblog: http://wahjava.wordpress.com/ ,= ,-_-. =. | The desire to be rewarded for one's creativity does | ((_/)o o(\_)) | not justify depriving the world in general of all or | `-'(. .)`-' | part of that creativity. | \_/ |- Richard M. Stallman | pgp7BDZHtgNs4.pgp Description: PGP signature