Re: Problem with mount_smbfs (not working for me)
On Wed, 3 Nov 2004 08:41:24 +0100, Axel S. Gruner [EMAIL PROTECTED] wrote: Hi. I run into a problem with mount_smbfs. Trying to mount a SMB-share on a AS/400 from a FreeBSD 4.10 or FreeBSD 5.3-RC1 gives me the error: mount_smbfs: unable to open connection: syserr = Connection reset by peer Well, i dont like Mr. Peer, and, trying to reach the SMB-share via smbclient works perfectly (but i need a mount on my FreeBSD-System, so thats no choice). Also if i try to mount the SMB-share from a SuSE Linux Box (with mount -t smbfs) it will work, as a result, i think the problem is not the share, it must be mount_smbfs. The syntax i tried was: mount_smbfs -I 10.4.1.222 //[EMAIL PROTECTED]/sfimages /mnt also with the FQDN: mount_smbfs -I suedzwo.suedfac.com //[EMAIL PROTECTED]/sfimages /mnt You have to use the netbios name of your samba server. Change 10.4.1.222 to the netbios name. mount_smbfs -I 10.4.1.222 //[EMAIL PROTECTED]/sfimages /mnt or mount_smbfs -I suedzwo.suedfac.com //[EMAIL PROTECTED]/sfimages /mnt Nelis ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: Upgrading 5.2.1 to 5.3R2 (Maybe a problem adding a user) [SOLVED]
GS Gerard Samuel wrote: Gerard Samuel wrote: Ok, so I upgraded, ran mergemaster, and merged /etc/group (and /etc/master.passwd I think) via mergemaster. I merged those files to retain my non root user account. I rebooted, and I haven't been able to log into my non root account. I tried to readd the account via adduser, but it says that the user already exists. So I tried rmuser, and it says that the user doesn't exist. So I manually removed the account name from /etc/group, /etc/master.passwd, /etc/passwd, and tried to add the user, via adduser. When it tries to add the user, it fails (dont remember the message right now). Anyone has any suggestions on how I can get the old user account back?? N.B. I did back up /etc before mergemaster... Thanks GS Well I got it working again. Im not sure what fixed it, but I believe GS running vipw fixed what was wrong with it... - You've read this ? http://www.freebsd.org/cgi/man.cgi?query=passwdapropos=0sektion=0manpath=FreeBSD+5.2.1-RELEASE+and+Portsformat=html And you do understand that you should run pwd_mkdb after manually editing the passwd file (vipw actually does that for you) ? My take on your problem would be that you merged the 2 files and did not run pwd_mkdb after that which led to an inconsistent state between /etc/passwd/ and /etc/master.passwd which is the main user database. Take that with a grant of suspection as I am really no expert ;) mfg Hexren ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: blackbox, bbkeys, and .xinit...
On Tue, 2 Nov 2004 18:55:51 -0500, Mike Hauber [EMAIL PROTECTED] wrote: Greets, This is something I haven't had to mess with before, and I'm confused by the docs... I have several WMs installed on my FreeBSD (4.10) desktop, one of which is blackbox. Is there a way to uniquely state that if blackbox loads, then bbkeys should load as well? The instructions say to add the command to my ~/.xinit file, but if I do that, then bbkeys will load with whatever I start (If I understood it correctly. Like I said, I've not had to do this before). Oh yeah... I'm running KDM from /etc/ttys at startup (if that matters). Well, you could do the following (which is dirty, but popped into my head) if (ps | grep blackbox | grep -v grep /dev/null); then bbkeys; fi -- If I write a signature, my emails will appear more personalised. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd-questions Digest, Vol 80, Issue 83
Greetings all: I get the following dmesg output for usb devices, when there is no device installed on the usb port(s), and I get a kernel panic when there is a usb device installed. I have looked at the Current list, under EHCI, and I still cannot figure out if Intel ICH4 Controllers are supported. ps -auxw|grep usbd root2761 0.0 0.1 1236 680 ?? Ss Mon07PM 0:00.10 usbd user 50383 0.0 0.2 1448 868 p0 S+ 11:50PM 0:00.00 grep usbd sudo killall usbd sudo usbd dmesg | grep usb usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0usb0: USB revision 1.0usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1usb1: USB revision 1.0usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2usb2: USB revision 1.0ehci_pci_attach: companion usb0ehci_pci_attach: companion usb1ehci_pci_attach: companion usb2usb3: EHCI version 1.0usb3: companion controllers, 2 ports each: usb0 usb1 usb2usb3: EHCI (generic) USB 2.0 controller on ehci0usb3: USB revision 2.0usb3: unrecoverable error, controller haltedusb3: blocking intrs 0x10usb3: port reset timeout ls /dev|grep usbusbusb0usb1usb2usb3 mount /dev/usb3 /usbmount: /dev/usb3: Block device required sudo pciconf -v -l [EMAIL PROTECTED]:29:7:class=0x0c0320 card=0x18681043 chip=0x24cd8086 rev=0x03 hdr=0x00vendor = 'Intel Corporation'device = '82801DB/DBM (ICH4/M) USB EHCI Controller' class= serial bussubclass = USB No da# devices are being created, I believe, due to the fact that my usb controllers are dead, while using ehci. First, why do all of my usb controllers die, when ehci usb3 has the unrecoverable error? I have not seen that on other posts to current. Usually they can still use 1.1 OHCI, however, EHCI make usb unuasable. Are Intel ICH4/M controllers supported, yet? And if not, then why are they supported for uhci(usb1.1)?Help is definately needed. I have no idea how to do all of those fangled paches that I keep seeing on the Current posts. Thanks for any help that may be offered on this subject. -- Respectfully, M.G.W. System: Asus M6N Intel Dothan 1.7 512MB RAM 40GB HD 10/100/1000 NIC Wireless b/g (not working yet) BSD-5.2.1 GCC-3.3.5/3.3.3(until I replace indigenous gcc) IFORT-for linux(Intell Fortran) gfortran python-2.3 Perl-5.6.1/5.8.5 Java-sdk-1.4.2_5 KDE-3.1.4 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Don't feed the (your word here): (was: Compatible NIC)
On Sunday, 31 October 2004 at 11:54:22 -0500, [EMAIL PROTECTED] wrote: In a message dated 10/31/04 5:00:35 AM Eastern Standard Time, [EMAIL PROTECTED] writes: A member of the Gustapo said: This is offensive. Kris was just asking you to respect the charter of the mailing list. I've looked at about 15 messages from you, most of them insulting, some voicing opinions that run contrary to fact, and suggesting that you have a good overall understanding of the project. Given that you don't know who Kris is, it's difficult to believe the last point. --- So the charter of the mailing list is that only good and positive things can be said about FreeBSD, and no one is allowed to make distinctions between good and bad code and/or drivers? Is the soviet union back or what? You can read the charter yourself. If you don't understand it, ask politely. Its easy to dismiss people who ask hard questions as trolls. Its a lot more difficult to answer the questions credibly. I don't think we should dignify your behaviour as a troll. But there's one thing you have in common with a troll: if we ignore you, you will lose interest. I'd ask all other people on the list to take any correspondence with our nameless one offline. Better would be no correspondence at all. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD Device Driver Guide
Hello, Is there any published book or online guide for writing FreeBSD device driver ?. I know a O'reily book for Linux called Linux Device Drivers, is anything like that exist for FreeBSD ?. Thanks in advance. Bala ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading 5.2.1 to 5.3R2
On Tue, 02 Nov 2004 21:01:35 -0500, Gerard Samuel [EMAIL PROTECTED] wrote: Ok, so I upgraded, ran mergemaster, and merged /etc/group (and /etc/master.passwd I think) via mergemaster. I merged those files to retain my non root user account. I rebooted, and I haven't been able to log into my non root account. I tried to readd the account via adduser, but it says that the user already exists. So I tried rmuser, and it says that the user doesn't exist. So I manually removed the account name from /etc/group, /etc/master.passwd, /etc/passwd, and tried to add the user, via adduser. When it tries to add the user, it fails (dont remember the message right now). Anyone has any suggestions on how I can get the old user account back?? N.B. I did back up /etc before mergemaster... Thanks What is the result of pwd_mkdb -C /etc/master.passwd ? Perhaps copy your backup copy of master.passwd and then regenerate your passwd file via pwd_mkdb -p See pwd_mkdb(8) for more info Nelis ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipnat.rules
On Tue, 2 Nov 2004 17:25:42 -0800 (PST), sonjaya [EMAIL PROTECTED] wrote: dear all after i finish add in my kernel ipnat , i use this sample script : /etc/ipnat.rules : map rl0 172.18.5.11/255.255.0.0 - 0.0.0.0/32 proxy port ftp ftp/tcp ssh map rl0 172.18.5.11/255.255.0.0 - 0.0.0.0/32 portmap tcp/udp auto in here my net : lan--NAT server---internet my question is : 1.how i must set ipnat.rules only some ip get nat other can not user . because if some pc station use the gateway my server that pcstation get nat . may be like this : lan(non-nat)-| lan(nat)-|---NAT Server---INternet You need a rule with something like: map rl0 from $natnetwork ! to $pubnetwork - $natserver 2. how i set the map rule in ipnat.rules , that lan do not have righ to nat to directly to proxy . add a block rule for the proxy ip from lan but pass the nat server ? not quite sure what you want.. i'm so sory if my question is basic , because i new in freebsd thx No problem even though it's more IP Filter than FreeBSD related. For further information see http://www.obfuscation.org/ipf/ipf-howto.html Nelis ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PCI-Express
Hi all Stupid question but I don't find any answer in google (good answer). FreeBSD 5.X (5.3 for example) have support for PCI-Express ? Can I use XFree86 (or Xorg) with a PCI-Express video card event I don't have max perfs (juste fort Xterm/Vi/mozilla). Same question for SATA disk Lots of thanks. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. Heure local/Local time: Wed Nov 3 11:10:03 CET 2004 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with mount_smbfs (not working for me)
Hi Nelis! On Wed, 03 Nov 2004, Nelis Lamprecht wrote: You have to use the netbios name of your samba server. Change 10.4.1.222 to the netbios name. mount_smbfs -I 10.4.1.222 //[EMAIL PROTECTED]/sfimages /mnt or mount_smbfs -I suedzwo.suedfac.com //[EMAIL PROTECTED]/sfimages /mnt Thanks for the quick reply. It does not fix the problem. Why? Because the netbios name was not suedzwo it is a weird QS55SCCB: mount_smbfs -I suedzwo.suedfac.com //[EMAIL PROTECTED]/sfimages /mnt/as400 That worked. Only problem, if i use the /etc/nsmb.conf file, the authentications is not working. I will fix that later for my own. asg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Device Driver Guide
On Wed, 3 Nov 2004 20:32, Balakumar Velmurugan wrote: Hello, Is there any published book or online guide for writing FreeBSD device driver ?. I know a O'reily book for Linux called Linux Device Drivers, is anything like that exist for FreeBSD ?. Check out: * http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/ * http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ Also you may want to download the FreeBSD docporj source and build the books/articles yourself. Read The Handbook for more info. Thanks in advance. Bala -Alastair ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PCI-Express
On Wed, 3 Nov 2004 21:12, Albert Shih wrote: Hi all Stupid question but I don't find any answer in google (good answer). No such thing as a stupid question, only stupid answers. FreeBSD 5.X (5.3 for example) have support for PCI-Express ? Can I use XFree86 (or Xorg) with a PCI-Express video card event I don't have max perfs (juste fort Xterm/Vi/mozilla). This was posted in current a couple of months ago http://www.freebsd.org/cgi/getmsg.cgi?fetch=1414477+0+/usr/local/www/db/text/2004/freebsd-current/20040919.freebsd-current looks promising :-) Same question for SATA disk What kind of SATA hardware. I found the above link thru the mailing list search at: http://www.freebsd.org/search/search.html#mailinglists Give it ago yourself, and include the SATA hardware (in your query)you are interested in. Lots of thanks. Hope it was some help -Alastair ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Somebody is using your logo
Dear Sir Hi I am sending you a company that uses your logo ! Below is the web site http://www.imp-computers.net/ Andreas Oustas Managing Director 3D PLANET LTD 25H Kallipoleos Avenue Lykavitos, 1055, Nicosia Tel: 22 466899 Fax: 22 466898 Email: [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portsdb: index generation error
Hi all, I downloaded a fresh ports.tar.gz and unpacked it (FreeBSD 5.1). Then I did a portsdb -Uu Which resulted in the following: Updating the ports index ... Generating INDEX.tmp - please wait..Makefile, line 26: warning: String comparison operator should be either == or != Makefile, line 26: Malformed conditional (${OSVERSION} 502113 || (${OSVERSION} 491100 ${OSVERSION} 50)) Makefile, line 26: Missing dependency operator Makefile, line 28: if-less endif Makefile, line 28: Need an operator make: fatal errors encountered -- cannot continue === sysutils/freebsd-sha1 failed *** Error code 1 1 error Before reporting this error snip *** Error code 1 Stop in /usr/ports. *** Error code 1 Stop in /usr/ports. failed to generate INDEX! portsdb: index generation error On my two other FreeBSD boxes (5.2 and 5.2.1) it worked without problem. Any suggestions (I googled the net without luck)? Cheers Günther ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.3 and XFree86
I just upgraded from 5.2.1 to 5.3. When running startx, it ends up with this error - Fatal server error: xf86EnableIO: Failed to open /dev/io for extended I/O So I uninstalled XFree86, and reinstalled it, while including this in /etc/make.conf - X_WINDOW_SYSTEM=xfree86-4 XFree86 installed successfully, but Im still getting the error above. Any suggestions??? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WiFi 802.11b or g setup
* Lloyd Hayes [EMAIL PROTECTED] [1113 00:13]: Start with the basics Exactly! Here you go: plip0: flags=8851UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 On FreeBSD, I've been trying to use the Sysinstall menus. Not sure they support wireless NIC configuration, but since the card isn't even detected, that's the least of your worries. The modem is currently in the PCMCIA slot and I am in an area with WiFi access. Also in a PCMCIA slot is a card which is a USB2 hub. By modem you mean network card, yeah? Do the usb2 hub and the pcmcia slot show up? And have you tried removing that - don't think freebsd supports usb2 hubs yet, it might be causing some conflicts. -- Ugh, it's like there's a party in my mouth and everyone's throwing up. - Fry Rasputin :: Jack of All Trades - Master of Nuns ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.3 and XFree86
On Wed, Nov 03, 2004 at 09:32:07AM -0500, Gerard Samuel wrote: I just upgraded from 5.2.1 to 5.3. When running startx, it ends up with this error - Fatal server error: xf86EnableIO: Failed to open /dev/io for extended I/O [...] device io etc. are not in your kernel config or are not loaded. Marc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.3 and XFree86
On Wed, 03 Nov 2004 09:32:07 -0500, Gerard Samuel [EMAIL PROTECTED] wrote: I just upgraded from 5.2.1 to 5.3. When running startx, it ends up with this error - Fatal server error: xf86EnableIO: Failed to open /dev/io for extended I/O Does /dev/io exist ? Have you got Xwrapper installed (/usr/ports/x11/wrapper) ? Only other cause for this is if your kern.securelevel is set above 1 A quick google would have given you several clues :) Nelis ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how do I get the status of a raid array?
Hi, I'm new to FreeBSD (switching my primary NFS server over from RHEL) and I'm trying to figure out how I can get the current status of my RAID setup. I'm using an LSI MegaRAID 320-2x card and FreeBSD 5.3RC2 (don't worry, I'm just testing for now, I'm going to wait until 5.3 is officially released before I try to go live :-). What I need is to be able to write a script that checks the status of the RAID array and notifies me if it becomes degraded. I previously did it by using the /proc FS under linux to check the current status of the RAID array. Help? ...thnx, ...dave alden ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how do I get the status of a raid array?
Dave Alden wrote: Hi, I'm new to FreeBSD (switching my primary NFS server over from RHEL) and I'm trying to figure out how I can get the current status of my RAID setup. I'm using an LSI MegaRAID 320-2x card and FreeBSD 5.3RC2 (don't worry, I'm just testing for now, I'm going to wait until 5.3 is officially released before I try to go live :-). What I need is to be able to write a script that checks the status of the RAID array and notifies me if it becomes degraded. I previously did it by using the /proc FS under linux to check the current status of the RAID array. Help? Barring any more specific suggestions, FreeBSD has a procfs(5) and, for Linux compatibility, linprocfs(5). They both have kernel modules in /boot/kernel which could be set up to load in /dev/rc.conf(maybe compiled into kernel? I'm not knowledgeable about such things), and then you can create and mount /proc or /compat/linux/proc respectively, using the filesystem types of procfs or linprocfs, also respectively. That might help get you what you need. -BB ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Somebody is using your logo
On 03/11/04 11:42 +0200, 3D Planet wrote: Dear Sir Hi I am sending you a company that uses your logo ! Below is the web site http://www.imp-computers.net/ According to http://www.freebsd.org/art.html the image may be used commercially if the consent to it's usage is given by Marshall Kirk McKusick, the creator of the FreeBSD Daemon. This concerns art created by Mr. McKusick. The daemon image at this website doesn't look like anything created by McKusick. I'm not sure whether the images themselves or the likeness of the daemon is what the copyright covers. Maybe someone else can expand on this. The image isn't ours as a corporation either. FreeBSD is a project consisting of a team of organized volunteers. If I were imp-computers, I'd personally be more afraid of violating Best Buy(TM)'s trademark. Cheers, Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + OpenGL
On Wed, 3 Nov 2004, jason wrote: Jeremy W. Sheaffer wrote: I just purchased an emachines laptop with an amd64 and an ati radeon 9600 which is now running FreeBSD 5.3-BETA4 beautifully. I need to be able to run OpenGL programs using, among others, the ARB_vertex_program, ARB_fragment_program, and ARB_occlusion_query extensions. These are all part of OpenGL 1.5, which is implemented by the current version of Mesa, Mesa-6.2. Xorg, as shipped with FreeBSD uses Mesa-5.1 as the renderer, so I upgraded from source to Xorg 6.8.1, which is current stable. This uses Mesa-6.1, which *should* give me the functionality I need--but it doesn't. glxinfo tells me my renderer version is OpenGL '1.2 (1.5 Mesa 6.1)'. So I manually replaced the Mesa subtree in Xorg with Mesa-6.2. 6.2 is primarily a bugfix upgrade, but I hoped. I also went through the Mesa source and made certain that all conditionally compiled code that involves the extensions I need are built, and then rebuilt Xorg. Still no dice. Version string is '1.2 (1.5 Mesa 6.2)', and the extension I need are not being exported. I'm not certain that this is actually a FreeBSD question, but it touches on three different systems, so I thought I would try here first. Does anyone have any experience with programmable graphics under FreeBSD. I realize, of course, that the drivers aren't there to really support my card--I could care less if I get acceleration! Mesa exports the functionality in software, and I need to be able to use it. Any suggestions? Jeremy Using OpenGL depends on 3 things: program support, os, drivers. FreeBSD does not have the newest port of Mesa, but you can get around that easily enough. Ofcourse your software would have support. This leaves drivers on FreeBSD. I know for a fact the drivers are getting a little old, but I am not capable of updating them. Here is an example(not that everyfile need to be days old to support what you have): http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/drm/radeon_cp.c -9 months, 4 weeks ago http://freedesktop.org/cgi-bin/viewcvs.cgi/dri/drm/shared/radeon_cp.c -10 days, 23 hours ago Thats just half of it. Forget about anything over the R200 core(radeon 8500, the low 9000s are just variations on the R200 and work too) if you can not use the precompiled ati linux drivers. I hate to say it, but go to linux or windows since that is what you need to get yor work done. I recommend Gentoo, its very BSD like. Thanks for the input. I solved the problem. Read on: Actually, it doesn't depend on OS or drivers if you are using a unaccelerated software implementation. E.G. Mesa w/o DRI. I enquired on the Mesa users mailing list and here is the answer I got from Brian Paul, the author and primary maintainer of Mesa: ] The problem is libGL.so and the server-side GLX protocol dispatcher ] don't currently support the ARB extensions you mention above. ] ] The simplest solution would be for you to download/compile Mesa-6.2. ] This will result in a stand-alone libGL.so library that renders with ] Xlib, instead of going over the GLX protocol to the X server. Unfortunately, I had already done this, but what I didn't notice at that time was that the Mesa makefile with FreeBSD config has a broken install. It wasn't symlinking libGL.so.1.5 to libGL.so, so I was still trying to run programs against the old OpenGL libraries. Making the links myself, I now have the extensions I need. Granted, I have zero acceleration, but I have access to other machines to run the code fast. The machine in question only needs to be able to develop and run for debugging purposes. As for Windows or Linux--I wouldn't be caught dead trying to do development in Windows. And ATI support under Linux is awful and not worth the effort. I would still either be unaccelerated or not have the necessary extensions. The machine in my office runs Slack with a high end NV35 based card, and the NVIDIA drivers are great--only very slightly behind the Windows ones. Anyway, thanks again for the help. Jeremy -- Jeremy W. Sheaffer [EMAIL PROTECTED] http://cs.virginia.edu/~jws9c/ /* * The Moving Finger writes; and having writ, * *Moves on: nor all thy piety nor wit * * Shall lure it back to cancel half a line * * Nor all thy tears wash out a word of it. * ** * -Omar Khayyam* */ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.3 and XFree86
Marc Fonvieille wrote: On Wed, Nov 03, 2004 at 09:32:07AM -0500, Gerard Samuel wrote: I just upgraded from 5.2.1 to 5.3. When running startx, it ends up with this error - Fatal server error: xf86EnableIO: Failed to open /dev/io for extended I/O [...] device io etc. are not in your kernel config or are not loaded. Thanks that was it... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsdb: index generation error
On Wed, Nov 03, 2004 at 02:58:10PM +0100, G?nther Dippe wrote: I downloaded a fresh ports.tar.gz and unpacked it (FreeBSD 5.1). Before reporting this error snip Er, and what did the snip say? Error messages are there for a reason, you'd do well to read them! Kris pgpuFa6deWdhh.pgp Description: PGP signature
Realtek 8100B
Just wondering if anyone knows if this has the same 'bad design' as the 8139 cards. I'm looking at an embedded board computer which can either have 3xRealtek 8100B's or 3xIntel 82559's. The Realtek version is £170 and the Intel version says to contact them for a price, I think it's going to be in the £200 mark somewhere, as I have seen a board similar somewhere else with 3xIntels (maybe 2) and it was £212 ish.. so, if the 8100B's are improved, I'll look into getting that and saving me some money. -- Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/ Outlook Express? Try ThunderBird at http://www.mozilla.org/products/thunderbird/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WiFi 802.11b or g setup
By modem you mean network card, yeah? Do the usb2 hub and the pcmcia slot show up? And have you tried removing that - don't think freebsd supports usb2 hubs yet, it might be causing some conflicts. The USB2 hub has to be recognized since I installed the system with a CD ROM attached to this hub. I have since used it several times. And, yes, I mean network card. But it works like a modem from my perspective since I am always traveling and hooking into a different wifi station all of the time. The analogy is carried further since I always have to login, and it is disconnected when not in use. (Card is turned off using the software, the same as any modem. A 'Null Modem' is a simple connection between 2 machine.) Now, as for the card not being seen. This is one of the problems. Something seems to be interfering. I am re-installing the entire system with less system software. I'll see if I can take a more cautious approach. I think that one or more of the system services that I installed was blocking it. Plus, I think that I need to read up some more on what is required for a FreeBSD connection. One quick question. Are any of the 802.11g cards supported under FreeBSD? Lloyd Hayes Email: [EMAIL PROTECTED] URL: http://TalkingStaff.bravehost.com E-FAX Number: (208) 248-6590 Dick Davies wrote: * Lloyd Hayes [EMAIL PROTECTED] [1113 00:13]: Start with the basics Exactly! Here you go: plip0: flags=8851UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 On FreeBSD, I've been trying to use the Sysinstall menus. Not sure they support wireless NIC configuration, but since the card isn't even detected, that's the least of your worries. The modem is currently in the PCMCIA slot and I am in an area with WiFi access. Also in a PCMCIA slot is a card which is a USB2 hub. By modem you mean network card, yeah? Do the usb2 hub and the pcmcia slot show up? And have you tried removing that - don't think freebsd supports usb2 hubs yet, it might be causing some conflicts. -- Ugh, it's like there's a party in my mouth and everyone's throwing up. - Fry Rasputin :: Jack of All Trades - Master of Nuns ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Filesystem quotas
In testing features on a FreeBSD mini installation I have modified the /etc/fstab file so that the / partition is 'rq' instead of 'rw' - this was done to enable quotas so I could try working with them. (the man page said 'rq' was read/write/with quotas) for ease of testing, the system was only two partitions - swap and / However, now when reboot, the system tells me that / is read only! argh! Is there any way I can resolve this problem? the # prompt I get doesn't seem to allow me much access... thanks in advance, Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portsdb index generation
Hello, I just cvsupped my ports tree and tried to remake the index. I am getting an index generation error. I then tried make fetchindex which worked and again tried to regenerate the binary index with again this error. Any help appreciated. I didn't get any errors during cvsup and i don't use a refuse file. Also, this did work as of yesterday. Thanks. Dave. cvsup -g -L 2 /etc/ports-supfile portsdb -uU Parsing supfile /etc/ports-supfile Connecting to cvsup9.FreeBSD.org Connected to cvsup9.FreeBSD.org Server software version: SNAP_16_1h Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running Updating collection ports-all/cvs Shutting down connection to server Finished successfully Updating the ports index ... Generating INDEX.tmp - please wait..p5-Data-Page-2.00: /usr/ports/devel/p5-Class-Accessor/Chained non-existent -- dependency list incomplete === databases/p5-Data-Page failed *** Error code 1 1 error Before reporting this error, verify that you are running a supported version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you have a complete and up-to-date ports collection. (INDEX builds are not supported with partial or out-of-date ports collections -- in particular, if you are using cvsup, you must cvsup the ports-all collection, and have no refuse files.) If that is the case, then report the failure to [EMAIL PROTECTED] together with relevant details of your ports configuration (including FreeBSD version, your architecture, your environment, and your /etc/make.conf settings, especially compiler flags and WITH/WITHOUT settings). Note: the latest pre-generated version of INDEX may be fetched automatically with make fetchindex. *** Error code 1 Stop in /usr/ports. *** Error code 1 Stop in /usr/ports. failed to generate INDEX! portsdb: index generation error ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsdb index generation
On Wed, Nov 03, 2004 at 11:50:00AM -0500, dave wrote: Hello, I just cvsupped my ports tree and tried to remake the index. I am getting an index generation error. I then tried make fetchindex which worked and again tried to regenerate the binary index with again this error. Any help appreciated. I didn't get any errors during cvsup and i don't use a refuse file. Also, this did work as of yesterday. Read the ports@ mailing list - the index was indeed broken; this was reported to the list by the automated scripts, and then it was fixed. Kris pgpZO3tuDyyna.pgp Description: PGP signature
Re: [Fwd: Re: still more sendmail trouble]
HA, got it. in my php.ini i originally had sendmail_path = /usr/sbin/sendmail changed it to sendmail_path = /usr/sbin/sendmail -t -i and it worked. Giorgos Keramidas wrote: On 2004-11-02 15:17, Steel City Phantom [EMAIL PROTECTED] wrote: all of those are set as you suggested, here are my config files to see if you see something i don't. freebsd.mc - freebsd.submit.mc --- Thanks for taking the time to forward this in plain text. It was sent as a new message and not as a followup to the original thread, but thanks anyway :-) The sendmail*.mc files you posted look ok. Have you regenerated sendmail.cf and submit.cf from these files? Have you restarted sendmail afterwards? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsdb: index generation error
On 2004-11-03, at 17.37, Kris Kennaway wrote: On Wed, Nov 03, 2004 at 02:58:10PM +0100, G?nther Dippe wrote: I downloaded a fresh ports.tar.gz and unpacked it (FreeBSD 5.1). Before reporting this error snip Er, and what did the snip say? Error messages are there for a reason, you'd do well to read them! Kris Hi Kris, hi all, The snipped info was only a general note what I should do before reporting an error (any kind of error). It didn't have anything to do with the actual error generated. Those are there unabbreviated. Sorry for not explaining that! Cheers Günther ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache 1.3 'lag' with PHP ...
I'm trying to track down an odd problem, and getting almost no where with it :( When you go to http://www.postgresql.org/index-test.php, at the bottom, there is 'load times' based on various settings throughout the code ... the file reads in one file, and has two database access sections to it ... timings look like: loading globals.php: -0.237975 loading loading news : 0.013936 loading loading events: 0.007907 total load time: -0.212738 The problem is when you go that page, it seems to 'hang' for a few seconds before loading ... even using lynx on the same machine ... there are currently 31 IPs allocated to that machine, and the apache server is running within a FreeBSD jail environment ... apache is the latest 1.3.31 ... php is 4.3.9 ... both are from FreeBSD ports, so php is a module, and it loads up its extensions as seperate modules, based on /usr/local/etc/php/extensions.ini ... Using iostat, drives aren't busy ... swap usage is around 5M ... and top reports that InAct memory is hovering around 1G ... We have MinSpareServers set to 15, Max set to 30 ... Note that I'm doing most of my testing on the server itself, using lynx, so I'm not dealing with 'Net lag or anything ... Is there something that I should be looking at to make things react faster? One note ... if you go to http://www.postgresql.org, which is static HTML, it comes up instantly ... its only when hitting a .php page that the lag appears to arise ... Is there something else that I should be looking at to optimize things? Or to track down the slowdown? Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsdb: index generation error
On Wed, Nov 03, 2004 at 06:14:48PM +0100, G?nther Dippe wrote: On 2004-11-03, at 17.37, Kris Kennaway wrote: On Wed, Nov 03, 2004 at 02:58:10PM +0100, G?nther Dippe wrote: I downloaded a fresh ports.tar.gz and unpacked it (FreeBSD 5.1). Before reporting this error snip Er, and what did the snip say? Error messages are there for a reason, you'd do well to read them! Kris Hi Kris, hi all, The snipped info was only a general note what I should do before reporting an error (any kind of error). Yes, so why didn't you follow the directions? Kris pgpnxIRvk87nI.pgp Description: PGP signature
up to date ports...portinstall/portupgrade won't work
I have run up against a brick wall here and i'm not sure where to turn next. I tried to install openoffice and limewire from a freshly updated ports tree (fresh for openoffice = yesterday, fresh for limewire = 5 minutes ago) as well as gnome2. I get a very similar message at the end of each, just different package failures. The limewire message is below: ===Verifying reinstall for /usr/X11R6/lib/libXm.so in /usr/ports/x11-toolkits/open-motif === open-motif-2.2.3 has known vulnerabilities: xpm -- image decoding vulnerabilities. Reference: http://www.FreeBSD.org/ports/portaudit/ef253f8b-0727-11d9-b45d-000c41e2cdad.html Please update your ports tree and try again. *** Error code 1 Stop in /usr/ports/x11-toolkits/open-motif. *** Error code 1 Stop in /usr/ports/x11-toolkits/open-motif. *** Error code 1 Stop in /usr/ports/java/jdk14. *** Error code 1 Stop in /usr/ports/java/jdk14. *** Error code 1 Stop in /usr/ports/net/limewire. *** Error code 1 Stop in /usr/ports/net/limewire. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall71119.18 make reinstall ** Fix the installation problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! net/limewire (install error) --- Packages processed: 0 done, 18 ignored, 0 skipped and 1 failed The package that had a vulnerability for oo and gnome2 was of course xpdf. I have known about the exploits so it was no surprise but i DID update my ports tree. I also visited the supplied link and read up about updating to X11R6.8.1 but i don't see even how to do this. I searched the /usr/ports directory recursively for X11R and all i got was the following: ./java/jdk14/work/j2se/src/solaris/classes/sun/awt/X11Renderer.java ./java/jdk14/work/j2se/src/solaris/classes/sun/awt/motif/X11RemoteOffScreenImage.java ./java/jdk14/work/j2se/src/solaris/native/sun/awt/X11RemoteOffScreenImage.c ./java/jdk14/work/j2se/src/solaris/native/sun/awt/X11Renderer.c ./java/jdk14/work/j2se/src/solaris/native/sun/awt/X11RemoteOffScreenImage.c.orig ./www/gnuinfo/files/gnuinfo.X11R6 ./distfiles/xorg/X11R6.7.0-src1.tar.gz ./distfiles/xorg/X11R6.7.0-src3.tar.gz Does this mean that the fixed version is not there and until it is..no matter what these packages won't build? Would this work if i just went to the /usr/ports/x11/gnome2/ directory and did a make install? if yes, why? The last time portinstall/portupgrade was brought up as a way to install ports there was a discussion on why or why not to use it..i'm not looking for that. I use it because i like it and i can specify to make the up and downstream dependencies and i'm new to freebsd. That said. Any advice would be great. Thanks, Aaron signature.asc Description: This is a digitally signed message part
Re: up to date ports...portinstall/portupgrade won't work
On Wed, Nov 03, 2004 at 11:32:10AM -0600, Aaron P. Martinez wrote: I have run up against a brick wall here and i'm not sure where to turn next. I tried to install openoffice and limewire from a freshly updated ports tree (fresh for openoffice = yesterday, fresh for limewire = 5 minutes ago) as well as gnome2. I get a very similar message at the end of each, just different package failures. The limewire message is below: ===Verifying reinstall for /usr/X11R6/lib/libXm.so in /usr/ports/x11-toolkits/open-motif === open-motif-2.2.3 has known vulnerabilities: xpm -- image decoding vulnerabilities. Reference: http://www.FreeBSD.org/ports/portaudit/ef253f8b-0727-11d9-b45d-000c41e2cdad.html Please update your ports tree and try again. *** Error code 1 You've instructed your system not to install ports with known vulnerabilities (via the portaudit port), and so guess what happens when you try to install a port with a known vulnerability? :-) N.B.: open-motif is the relevant port here, not limewire. Kris pgpxo6FKKFrpo.pgp Description: PGP signature
Re: howto software raid under FreeBSD?
-- quoting Christian Hiris -- If you use the whole disk as provider and your disk has left free 512 bytes after the end of the last slice, gmirror setup works very easy and fast (no need to use dump/restore or dd): - Boot into the live-filesystem. - Do a 'gmirror load' and label your old disk with 'gmirror label -v ...'. - Mount the (now mirrored) / partition on /mnt. - echo 'geom_mirror_load=YES' /mnt/boot/loader.conf - echo 'swapoff=YES' /mnt/etc/rc.conf - Edit /mnt/etc/fstab to reflect the newly created mirror devices. - Reboot. - Add a second disk to the mirror: 'gmirror insert -v ...'. - If you use gdm replace 'reboot' by 'shutdown -r now'. thanks for this, it worked liked a charm! greets, Matthias -- I don't want to look like a weirdo. I'll just go with a muumuu. -- Homer Simpson King-Size Homer ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Schdule for 5.3 Stable release
When will 5.3 Stable release came out? What will be the key upgrades compared to 5.21? Thanks Rendra ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
World Clock timezones
Greetings, I'm looking for a world clock that helps me keep track of time in different cities by showing me clocks for multiple time zones. Preferably under X if not I don't mind using a non-GUI based application. I searched the /usr/ports for the string clock timezone but nothing from the description seems relevant to what I want. Any help is appreciated. = regards, UNIX, it's a way of life. __ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Schdule for 5.3 Stable release
On Thu, Nov 04, 2004 at 01:10:25AM +0700, Chen Cin Lung wrote: When will 5.3 Stable release came out? See the release schedule on the website. What will be the key upgrades compared to 5.21? See the release notes on the website. Kris pgpR54wkmEsqz.pgp Description: PGP signature
Re: portsdb: index generation error
On 2004-11-03, at 18.31, Kris Kennaway wrote: On Wed, Nov 03, 2004 at 06:14:48PM +0100, G?nther Dippe wrote: On 2004-11-03, at 17.37, Kris Kennaway wrote: On Wed, Nov 03, 2004 at 02:58:10PM +0100, G?nther Dippe wrote: I downloaded a fresh ports.tar.gz and unpacked it (FreeBSD 5.1). Before reporting this error snip Er, and what did the snip say? Error messages are there for a reason, you'd do well to read them! Kris Hi Kris, hi all, The snipped info was only a general note what I should do before reporting an error (any kind of error). Yes, so why didn't you follow the directions? Kris I'm not sure I understand. From what I see I do have a supported version of FreeBSD (5.1) and the ports collection was fresh. I should check that before reporting an error (according to the snipped text). Cheers ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsdb: index generation error
On Wed, Nov 03, 2004 at 07:12:19PM +0100, G?nther Dippe wrote: On 2004-11-03, at 18.31, Kris Kennaway wrote: On Wed, Nov 03, 2004 at 06:14:48PM +0100, G?nther Dippe wrote: On 2004-11-03, at 17.37, Kris Kennaway wrote: On Wed, Nov 03, 2004 at 02:58:10PM +0100, G?nther Dippe wrote: I downloaded a fresh ports.tar.gz and unpacked it (FreeBSD 5.1). Before reporting this error snip Er, and what did the snip say? Error messages are there for a reason, you'd do well to read them! Kris Hi Kris, hi all, The snipped info was only a general note what I should do before reporting an error (any kind of error). Yes, so why didn't you follow the directions? Kris I'm not sure I understand. From what I see I do have a supported version of FreeBSD (5.1) and the ports collection was fresh. I should check that before reporting an error (according to the snipped text). If you followed the URL in the error you'd learn that it's not in fact a supported release by the ports collection. Kris pgpbEfsEsThbQ.pgp Description: PGP signature
Re: World Clock timezones
On Wed, Nov 03, 2004 at 10:01:26AM -0800, borg wrote: Greetings, I'm looking for a world clock that helps me keep track of time in different cities by showing me clocks for multiple time zones. Preferably under X if not I don't mind using a non-GUI based application. You could run xclock multiple times with different titles and different TZ settings for each timezone. -- Jonathan Chen [EMAIL PROTECTED] -- Only the meek get pinched. The bold survive. - Ferris Bueller ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
control utility for AMR driver.. (LSI logic Megaraid series)?
Anyone got any tools for care and feeding of this puppy without going into BIOS? this is on 4.x.. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: World Clock timezones
On Wed, 3 Nov 2004 10:01:26 -0800 (PST) borg [EMAIL PROTECTED] wrote: Greetings, I'm looking for a world clock that helps me keep track of time in different cities by showing me clocks for multiple time zones. Preferably under X if not I don't mind using a non-GUI based application. I searched the /usr/ports for the string clock timezone but nothing from the description seems relevant to what I want. Any help is appreciated. if you don't mind dockapps, you could look into x11-clocks/wmtz = regards, UNIX, it's a way of life. __ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trying to understand flock()
Greetings friends, I wonder if someone would be kind enough to enlighten me about the semantics of the flock(2) function. I have RTFM'd, and I am sad to say that I am still rather mystified that flock() doesn't seem to do what it is documented as doing. (I am testing it on 4.10-RELEASE, by the way.) The short test program attached below illustrates the source of my abundant confusion. When I compile this program with -DUSE_FCNTL (thus forcing it to use fcntl(2) to implement exclusive file locking) and then execute it, the resulting behavior is exactly what I expect, i.e. the program prints the string Temp file locked (1), and then it pauses for 10 seconds, and then it prints Temp file locked (2). The delay time between the appearance of the two message indicates clearly that exclusive file locking is working as expected. When I compile this program WITHOUT the -DUSE_FCNTL option however (thus forcing the program to use flock() rather then fcntl() for file locking), there is no apparent delay between the printing of the first message and the printing of the second message. That is what has me mystified. Obviously, there is something (or maybe several things) about the actual semantics of flock(2) that I don't understand. I would appreciate it if someone would enlighten me about that. Regards, rfg P.S. My apologies in advance if you try to Cc: me directly on your reply to this posting, and if your response gets rejected by the local spam filters. It's nothing personal. Really. We just have about 2/5ths of the entire Internet blacklisted here due to past spamming incidents. I will look for replies also in the freebsd-general list archives, so if you prefer, you can just repl to the list. Thanks and hasta la vista. #include stdio.h #include string.h #include errno.h #include unistd.h #include sys/file.h #include fcntl.h static void die (register char const *const fmt) { fprintf (stderr, fmt, strerror (errno)); fprintf (stderr, \n); exit (1); } static int lock_exclusive (register int const fd) { #if USE_FCNTL auto struct flock fl; fl.l_start = 0; fl.l_len = 0; fl.l_pid = 0; fl.l_type = F_WRLCK; fl.l_whence = SEEK_SET; return fcntl (fd, F_SETLKW, fl); #else return flock (fd, LOCK_EX); #endif } int main (void) { static char template[] = /tmp/temp.XX; register int fd; fd = mkstemp (template); unlink (template); if (lock_exclusive (fd) == -1) die (Error creating exclusive lock: %s); fprintf (stderr, Temp file locked (1)\n); if (fork () == 0) { if (lock_exclusive (fd) == -1) die (Error creating exclusive lock: %s); fprintf (stderr, Temp file locked (2)\n); } sleep (10); close (fd); return 0; } ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: *BSD is considered the safest OS
Jorn Argelo wrote: On Tue, 2 Nov 2004 12:12:54 -0500 (PET), Richard Cotrina wrote Perhaps this is an old news, but it's interesting to post it to the list. A recent study made by MI2G, an UK company focused in data risk security, shows that *BSD and MacOS X were the less breached OS in a sample of more that 200K computers permanently connected to the internet. I personally don't feel that any OS is safer then the other. It's just what the administrator does. A Linux guru can't secure a Windows machine as good as a Windows guru can, and vica versa. One can say that a particular OS attracks more experienced administrators. Perhaps. But again it's the administrator which is the crucial fact of an OS being secure or not. It's rather easy to say that Windows is less secure then Linux or BSD because there are more viruses/exploits for Window. Well, I think that services like Sendmail and Apache can contain more exploits then Windows, to be honest. Of course, I can't prove anything, but that's just my personal feeling about it. Cheers, Jorn Actually, I read somewhere that UNIX systems are more vulnerable to buffer overflows than Windows systems. Can't confirm the validity of this, though. -- Henrik W Lund ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPSEC (5.3-RC2) -- IKE traffic problem.
On Tue, Nov 02, 2004 at 07:33:47PM +, Lewis Thompson wrote: I'm attempting to get an encrypted tunnel going between two machines. Before I start pasting away my configs, tcpdump logs, racoon logs, etc. I would like to ask the following question: I've read that 5.2.1 had broken IPSEC, such that IKE traffic (port 500) was not bypassed (or something along those lines). A full thread can be found at http://groups.google.com/groups?hl=enlr=threadm=257C203C-8104-11D8-9902-00039303AB38_mac.com%40ns.sol.netrnum=10prev=/groups%3Fq%3Dan%2520acceptable%2520proposal%2520found%26hl%3Den%26lr%3D%26sa%3DN%26tab%3Dwg Does anybody know if this has now been resolved in 5.3RC2? Do I need to start doing special things to make IPSEC work? Or am I just a bonehead who has screwed his config up somehow? It turns out I'd make the simplest of mistakes: the permissions on psk.txt were wrong! IPsec works fine on 5.3RC2. racoon only warned me about the permissions when I started it in the foreground (either that or I managed to overlook it in the debug log over and over again -- it wouldn't surprise me). -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgpqcl4ERnlQo.pgp Description: PGP signature
Re: control utility for AMR driver.. (LSI logic Megaraid series)?
In the last episode (Nov 03), Julian Elischer said: Anyone got any tools for care and feeding of this puppy without going into BIOS? this is on 4.x.. http://people.freebsd.org/~emoore/MegaRAID_SCSI/ has a daemon for consistency checking and automatic failure notification, a GUI app that does what the BIOS interface does, and a cli app for printing info about the controller and drives. The daemon and the gui app work fine under 5.3, but the cli doesn't. All three should work under 4.x. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compatible NIC
In a message dated 11/3/04 12:42:27 PM Eastern Standard Time, [EMAIL PROTECTED] writes: 1) Wasted my time and everyone elses who read this crap. 2) Tried to give certain freebsd developers a bad name. 3) Discredited several others on the list. 4) Contributed NO facts or hard evidence to back your claims. I provided many facts, and since no one provided any opposition to my facts, why do you categorically reject them? I can't come to any conclusion other than you don't understand the subject matter. Because if you did you wouldn't think I wasted anyone's time. The start of this thread: I want to buy a NIC and I want it to be compatible with FreeBSD. Is RealTek 8139 compatible with FreeBsd ? The answer: Yes, it will work. The rl0 driver works fine. Be advised it's not the greatest NIC and you may drop packets under heavy load. I've never experienced packet loss, but I've read about it and others on the list have hinted at it before. Well lets see. If a driver drops packets, it doesn't work fine, now does it? Not only is the not the greatest NIC, its probably the worst, evidenced by the author's own comments. So I don't see what facts you are looking for. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
no sound with snd_es137x
hi everyone, I am running 5.3-STABLE and have trouble with my Creative SB AudioPCI CT4730 soundcard. I tried to use sound and snd_es137x both as modules or as kernel parts but it doesn't change anything : there is no sound. My card is detected as shown by dmesg : pcm0: Creative SB AudioPCI CT4730 port 0x10c0-0x10df,0x1080-0x10bf irq 5 at device 9.0 on pci0 pcm0: snd_es137x (1p/1r/0v channels duplex default) pcm0: [GIANT-LOCKED] But I don't have volume control using either mixer or aumix : bash-3.00$ cat /var/db/mixer0-state bass 50:50 pcm 75:75 speaker 0:0 line 75:75 mic 0:0 cd 75:75 rec 0:0 ogain 50:50 line1 75:75 phin 0:0 phout 0:0 video 75:75 No complaints in logs and {ogg,mpg}123 plays as usual except that no sound is to be heard. I'm a bit confused... -- Damien ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: *BSD is considered the safest OS
On Wed, 03 Nov 2004 19:45:38 +0100, Henrik W Lund [EMAIL PROTECTED] wrote: Actually, I read somewhere that UNIX systems are more vulnerable to buffer overflows than Windows systems. Can't confirm the validity of this, though. Buffer overflows are already being addressed. http://www.openbsd.org/papers/auug04/ http://kerneltrap.org/node.php?id=573 http://news.com.com/2100-1002-996584.html -- Terry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Network Faxing?
Does anyone have any recommendations on software for network faxing? Preferably via an email gateway or a printer gateway.. I'd imagine the printer gateway would be fairly complex since there is not a very efficient way to get the fax phone number from the sender when printing.. Just looking for some ideas/recommendations? Thanks! Kristofer ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(title correction) USB Controllers die when using EHCI
Greetings all: I get the following dmesg output for usb devices, when there is no device installed on the usb port(s), and I get a kernel panic when there is a usb device installed. I have looked at the Current list, under EHCI, and I still cannot figure out if Intel ICH4 Controllers are supported. ps -auxw|grep usbd root2761 0.0 0.1 1236 680 ?? Ss Mon07PM 0:00.10 usbd user 50383 0.0 0.2 1448 868 p0 S+ 11:50PM 0:00.00 grep usbd sudo killall usbd sudo usbd dmesg | grep usb usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0usb0: USB revision 1.0usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1usb1: USB revision 1.0usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2usb2: USB revision 1.0ehci_pci_attach: companion usb0ehci_pci_attach: companion usb1ehci_pci_attach: companion usb2usb3: EHCI version 1.0usb3: companion controllers, 2 ports each: usb0 usb1 usb2usb3: EHCI (generic) USB 2.0 controller on ehci0usb3: USB revision 2.0usb3: unrecoverable error, controller haltedusb3: blocking intrs 0x10usb3: port reset timeout ls /dev|grep usbusbusb0usb1usb2usb3 mount /dev/usb3 /usbmount: /dev/usb3: Block device required sudo pciconf -v -l [EMAIL PROTECTED]:29:7:class=0x0c0320 card=0x18681043 chip=0x24cd8086 rev=0x03 hdr=0x00vendor = 'Intel Corporation'device = '82801DB/DBM (ICH4/M) USB EHCI Controller' class= serial bussubclass = USB No da# devices are being created, I believe, due to the fact that my usb controllers are dead, while using ehci. First, why do all of my usb controllers die, when ehci usb3 has the unrecoverable error? I have not seen that on other posts to current. Usually they can still use 1.1 OHCI, however, EHCI make usb unuasable. Are Intel ICH4/M controllers supported, yet? And if not, then why are they supported for uhci(usb1.1)?Help is definately needed. I have no idea how to do all of those fangled paches that I keep seeing on the Current posts. Thanks for any help that may be offered on this subject. -- Respectfully, M.G.W. System: Asus M6N Intel Dothan 1.7 512MB RAM 40GB HD 10/100/1000 NIC Wireless b/g (not working yet) BSD-5.2.1 GCC-3.3.5/3.3.3(until I replace indigenous gcc) IFORT-for linux(Intell Fortran) gfortran python-2.3 Perl-5.6.1/5.8.5 Java-sdk-1.4.2_5 KDE-3.1.4 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsdb: index generation error
On 2004-11-03, at 19.22, Kris Kennaway wrote: On Wed, Nov 03, 2004 at 07:12:19PM +0100, G?nther Dippe wrote: On 2004-11-03, at 18.31, Kris Kennaway wrote: On Wed, Nov 03, 2004 at 06:14:48PM +0100, G?nther Dippe wrote: On 2004-11-03, at 17.37, Kris Kennaway wrote: On Wed, Nov 03, 2004 at 02:58:10PM +0100, G?nther Dippe wrote: I downloaded a fresh ports.tar.gz and unpacked it (FreeBSD 5.1). ** ** Before reporting this error snip Er, and what did the snip say? Error messages are there for a reason, you'd do well to read them! Kris Hi Kris, hi all, The snipped info was only a general note what I should do before reporting an error (any kind of error). Yes, so why didn't you follow the directions? Kris I'm not sure I understand. From what I see I do have a supported version of FreeBSD (5.1) and the ports collection was fresh. I should check that before reporting an error (according to the snipped text). If you followed the URL in the error you'd learn that it's not in fact a supported release by the ports collection. Kris No I don't since I followed the url and checked it before posting it. It worked two weeks ago when I last did exactly the same thing on this system. From what I can tell it hasn't changed. Could you please point me to the information I missed? Cheers ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kernel tunable
Hi, I have a dell poweredge server with a Remote Access Card installed. I successfully installed FreeBSD 4.10 on this system and it works great. Unfortunately the RAC card does not accept input from a remote keyboard when there is not a local keyboard installed. I beleive this is because the kernel does not detect the keyboard and disables it and then switches the console to the serial device. My question is how do I force the keyboard to always be enabled? I am not positive where I would do this and what the flag would be. Perhaps atkdb=0x01 ??? Thank You very much JJ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsdb: index generation error
On Wed, Nov 03, 2004 at 09:51:06PM +0100, G?nther Dippe wrote: If you followed the URL in the error you'd learn that it's not in fact a supported release by the ports collection. Kris No I don't since I followed the url and checked it before posting it. It worked two weeks ago when I last did exactly the same thing on this system. From what I can tell it hasn't changed. Could you please point me to the information I missed? Cheers The error told you: Before reporting this error, verify that you are running a supported version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you have a complete and up-to-date ports collection. (INDEX builds are [...] If you read the webpage like it asks you to, the second paragraph says: The Ports Collection supports the latest release on the FreeBSD-CURRENT and FreeBSD-STABLE branches. Older releases are not supported and may or may not work correctly with an up-to-date ports collection. Over time, changes to the ports collection may rely on features that are not present in older releases. Wherever convenient, we try not to gratuitously break support for recent releases, but it is sometimes unavoidable. When this occurs, patches contributed by the user community to maintain support for older releases will usually be committed. To be 100% explicit, 5.1 is not the latest release on the 5.x branch, so it is not supported, and in this case, you have discovered that index builds indeed do not work. Kris pgpz97XhOatnd.pgp Description: PGP signature
Re: PCI-Express
On Wednesday 03 November 2004 11:12, Albert Shih wrote: Hi all Stupid question but I don't find any answer in google (good answer). FreeBSD 5.X (5.3 for example) have support for PCI-Express ? Can I use XFree86 (or Xorg) with a PCI-Express video card event I don't have max perfs (juste fort Xterm/Vi/mozilla). Same question for SATA disk Lots of thanks. I've got a ATI Radeon X300 card and it works just fine. I can't seem to use the radeon driver in xorg.conf though, i have to use vesa. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bind 8 to 9 upgrade question
On Tue, Nov 02, 2004 at 07:38:34AM +1300, Jonathan Chen wrote: On Mon, Nov 01, 2004 at 06:25:54AM -0900, Andy Firman wrote: [...] The new IP address has been registered with the registar and all is well on the new box. The old box still has a bunch of sites on it that I am in the process of moving to the new box over the next few months. The zone files are all correct in pointing the domains to the correct box (IP address). On the old box, if I turn off Bind 8 and edit resolv.conf and enter the nameserver IP of the new box (primary DNS server), it seems to slow down and serve the websites slowly. So if I turn Bind 8 back on and put its own IP address in /etc/resolv.conf, everything speeds up again. The boxes are colo-ed together, and are one IP away from each other so the lookups should not be a problem. Did you remember to update the PTR records for all the IPs in use on the new DNS server? Sounds like you've got the classic incorrect/invalid reverse-ip-lookup problem. Bingo! Can't believe I missed that. Our upstream has added the PTR. Also, someone else told me to turn off the HostnameLookups option. It was on for somereason. (I did not setup the box) And I stripped out all the zones in named.conf on the old box which turned it into a caching name server only. Things look good now! Thanks, Andy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Filesystem quotas
In the immortal words of Chris Burchell [EMAIL PROTECTED]... In testing features on a FreeBSD mini installation I have modified the /etc/fstab file so that the / partition is 'rq' instead of 'rw' - this was done to enable quotas so I could try working with them. (the man page said 'rq' was read/write/with quotas) Actually I think you will find that is internal codes, try using the userquota option as well as rw eg: /dev/ad0s1h/home ufs rw,userquota,groupquota 1 1 Cheers Tim -- Tim Aslat [EMAIL PROTECTED] Spyderweb Consulting http://www.spyderweb.com.au Phone: +61 0401088479 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + OpenGL
Thanks for the input. I solved the problem. Read on: Actually, it doesn't depend on OS or drivers if you are using a unaccelerated software implementation. E.G. Mesa w/o DRI. I enquired on the Mesa users mailing list and here is the answer I got from Brian Paul, the author and primary maintainer of Mesa: ] The problem is libGL.so and the server-side GLX protocol dispatcher ] don't currently support the ARB extensions you mention above. ] ] The simplest solution would be for you to download/compile Mesa-6.2. ] This will result in a stand-alone libGL.so library that renders with ] Xlib, instead of going over the GLX protocol to the X server. Unfortunately, I had already done this, but what I didn't notice at that time was that the Mesa makefile with FreeBSD config has a broken install. It wasn't symlinking libGL.so.1.5 to libGL.so, so I was still trying to run programs against the old OpenGL libraries. Making the links myself, I now have the extensions I need. Granted, I have zero acceleration, but I have access to other machines to run the code fast. The machine in question only needs to be able to develop and run for debugging purposes. As for Windows or Linux--I wouldn't be caught dead trying to do development in Windows. And ATI support under Linux is awful and not worth the effort. I would still either be unaccelerated or not have the necessary extensions. The machine in my office runs Slack with a high end NV35 based card, and the NVIDIA drivers are great--only very slightly behind the Windows ones. Anyway, thanks again for the help. Jeremy Glad to help. I have been rather disapointed with ATI open source drivers so far, and they seem to be way to scared of open source. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.3-RC2 Release delays 5.3-RELEASE?
Does anyone know if the latest decision to create a 5.3-RC2 will delay the scheduled 11/5/04 release of 5.3-RELEASE? And for how long if so? Thanks for any info. Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: blackbox, bbkeys, and .xinit... (solved) -- UNIX behind the scenes
On Wednesday 03 November 2004 03:48 am, Eric Kjeldergaard proclaimed: On Tue, 2 Nov 2004 18:55:51 -0500, Mike Hauber [EMAIL PROTECTED] wrote: Greets, This is something I haven't had to mess with before, and I'm confused by the docs... I have several WMs installed on my FreeBSD (4.10) desktop, one of which is blackbox. Is there a way to uniquely state that if blackbox loads, then bbkeys should load as well? The instructions say to add the command to my ~/.xinit file, but if I do that, then bbkeys will load with whatever I start (If I understood it correctly. Like I said, I've not had to do this before). Oh yeah... I'm running KDM from /etc/ttys at startup (if that matters). Well, you could do the following (which is dirty, but popped into my head) if (ps | grep blackbox | grep -v grep /dev/null); then bbkeys; fi Thanks for the reply, Eric. That was pretty much my initial idea, but it would be something that would always have to be running... Not that I'm _that_ short on resources, just thought there should be a cleaner way of doing it. I've written a simple script to run blackbox and bbkeys using the ampersand, and then pointed blackbox.desktop to the script. I discovered that with the line blackbox bbkeys in the script, the bbscript remains when I exit blackbox, and I have to close bbscript to return to KDM. That would lead me to believe that the two binaries run independant of each other (makes sense). However, when I login and close bbkeys, then blackbox abruptly closes (apparently a clean kill), and I return to KDM. So much for the binaries running independantly. I don't understand why. I've also discovered that the ampersand doesn't seem to _really_ mean that binaries are run simultaniously, so that would mean the second binary is actually started on a succeeding clock cycle? kinda makes sense. Then I switched the line in the script to read bbkeys blackbox Now, when I exit blackbox, bbkeys goes away as well. I don't see it when I 'ps -xa', I don't see multiple instances when I log back in, and I don't see any core dumps. Therefore I have to assume that this is also a clean kill (which is okay with me, but I still don't understand why). Obviously the ampersand is not FreeBSD specific, but *NIX in general so I've googled around and searched some generic UNIX sites/tutorials, but haven't found anything explaining how it really works (beyond saying that it's used to run binaries simultaneously). I'd like to learn more, but I'm not sure where to begin. If it's the hardware that I'm needing to understand better, then I would _like_ to avoid starting at the this is a NAND gate level. Any recommends? Thanks, Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What is common practice on starting Tomcat on serverstartup?
When during startup is it good to start Tomcat 5.*, and do anyone have any example scripts that can be of use? This is probably very common knowledge, because I can't find anything useful Googeling around. Regards, Joachim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: World Clock timezones
Under KDE KDEMenu / toys / worldclock puts up a world map that shows the correct time for most capital cities when the city is under the mouse cursor mjt On Thu, 2004-11-04 at 05:40, epilogue wrote: On Wed, 3 Nov 2004 10:01:26 -0800 (PST) borg [EMAIL PROTECTED] wrote: Greetings, I'm looking for a world clock that helps me keep track of time in different cities by showing me clocks for multiple time zones. Preferably under X if not I don't mind using a non-GUI based application. I searched the /usr/ports for the string clock timezone but nothing from the description seems relevant to what I want. Any help is appreciated. if you don't mind dockapps, you could look into x11-clocks/wmtz = regards, UNIX, it's a way of life. __ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This Email has been scanned for Viruses by MailMarshal. -- Murray Taylor Special Projects Engineer - Bytecraft Systems Entertainment P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 M: +61 417 319 256 E: [EMAIL PROTECTED] or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- This Email has been scanned for Viruses by MailMarshal. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Network Faxing?
-Original Message- From: Kristofer Pettijohn [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 11:51 AM To: [EMAIL PROTECTED] Subject: Network Faxing? Does anyone have any recommendations on software for network faxing? Preferably via an email gateway or a printer gateway.. I'd imagine the printer gateway would be fairly complex since there is not a very efficient way to get the fax phone number from the sender when printing.. Just looking for some ideas/recommendations? Thanks! /usr/ports/comms/hylafax I've been using it for years. You can configure it to do just about anything fax, printing and e-mail wise. dave ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How can I specify the ipaddress in smbfs entry in fstab?
Good day! I wanted to mount our samba server whenever my computer boots so I added an entry in fstab like this mountpt //[EMAIL PROTECTED]/mp3s /mp3 but I have no idea how will I specify the ip address of the server. using the mount_smbfs, I can mount it by providing the -I ipaddress option. Do you know how will I tell the fstab to add that information? I've been reading the fstab manpages and also the mount_smbfs but nothing helps. I've also edited /etc/nsmb.conf and added the some entries according to instructions but it still won't work. I mounted it manually by issuing: $mount /mp3 and I get this error: smbfs: can't get server address: syserr = Operation timed out Is there any shell environment variable where I can set this value? Thanks a lot for your time! __ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I specify the ipaddress in smbfs entry in fstab?
I wanted to mount our samba server whenever my computer boots so I added an entry in fstab like this OK that is not really answering your question, but... Given that the samba server is a Unix machine, given that your client is a Unix machine, maybe NFS would be more efficient than samba fro sharing the disks... Olivier ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problems with portupgrade
-Original Message- From: Ralph M. Los Sent: Wednesday, November 03, 2004 12:06 AM To: [EMAIL PROTECTED] Subject: Problems with portupgrade Hi, When I try to do a portupgrade -var I get some of these errors, and I'm not sure how to resolve them: --- Session started at: Mon, 01 Nov 2004 00:41:12 -0500 Stale dependency: ImageMagick-6.0.6.2 -- xorg-libraries-6.7.0_2 -- manually run 'pkgdb -F' to fix, or specify -O to force. --- Session ended at: Mon, 01 Nov 2004 00:41:12 -0500 (consumed 00:00:00) Now, I actually DID try pkgdb -F and get this: bash-2.05b# pkgdb -F --- Checking the package registry database Stale dependency: ImageMagick-6.0.6.2 - xorg-libraries-6.7.0_2 (x11/xorg-libraries): New dependency? (? to help): ? [Enter] to skip, [Ctrl]+[D] to delete, [.][Enter] to abort, [Tab] to complete New dependency? (? to help): /usr/ports/x11/xorg-libraries Please choose one of these: Hermes-1.3.3_1 ImageMagick-6.0.6.2 ORBit2-2.10.4 XFree86-FontServer-4.4.0 XFree86-NestServer-4.4.0 XFree86-PrintServer-4.3.0_1 XFree86-Server-4.3.0_14 XFree86-VirtualFramebufferServer-4.4.0 XFree86-clients-4.4.0_1 XFree86-documents-4.3.0 XFree86-font100dpi-4.3.0 XFree86-font75dpi-4.3.0 XFree86-fontCyrillic-4.3.0 XFree86-fontDefaultBitmaps-4.3.0 XFree86-fontEncodings-4.4.0 XFree86-fontScalable-4.4.0_1 XFree86-libraries-4.4.0_1 XFree86-manuals-4.3.0 Xaw3d-1.5 acroread-5.08 ... What am I doing wrong? Better yet, what am I doing!? Thanks in advance for the help. What do I do here? What is it asking for? Ralph M. Los Information Security Architect, Auditor Boundariez [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] OK, so what I did was followed the UPDATING file's advice, and did the customary: pkg_delete -f /var/db/pkg/imake-4* /var/db/pkg/XFree86-* cd /usr/ports/x11/xorg make install pkgdb -F But I STILL get this after the pkgdb -F, now what?? bash-2.05b# pkgdb -F --- Checking the package registry database [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 197 packages found (-16 +17) (...). done] Stale dependency: ImageMagick-6.0.6.2 - imake-4.4.0 (devel/imake-4): imake-6.7.0_2 (score:68%) ? ([y]es/[n]o/[a]ll) [no] yes Fixed. (- imake-6.7.0_2) Stale dependency: Xaw3d-1.5 - imake-4.4.0 (devel/imake-4): imake-6.7.0_2 ? ([y]es/[n]o/[a]ll) [yes] yes Fixed. (- imake-6.7.0_2) Stale dependency: Xaw3d-1.5 - XFree86-libraries-4.4.0_1 (x11/XFree86-4-libraries): New dependency? (? to help): Thanks again. Ralph ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I specify the ipaddress in smbfs entry in fstab?
hi, mountpt //[EMAIL PROTECTED]/mp3s /mp3 you can probably use e.g. //[EMAIL PROTECTED]/mp3s /mp3 in your /etc/fstab, but of course you can also add your samba-server in /etc/hosts ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with portupgrade
On Wed, Nov 03, 2004 at 08:10:51PM -0500, Ralph M. Los wrote: OK, so what I did was followed the UPDATING file's advice, and did the customary: pkg_delete -f /var/db/pkg/imake-4* /var/db/pkg/XFree86-* cd /usr/ports/x11/xorg make install pkgdb -F But I STILL get this after the pkgdb -F, now what?? Er, read the rest of the advice ;-) Hint: the 20040723 entry. Kris pgpvbJ5SDXN73.pgp Description: PGP signature
Why can't startx find X's config file?
I'm building a new machine, and I've run into a problem I don't understand. When I try to run startx I get this (among other messages): (EE) Unable to locate/open config file I've tried puting XF86Config-4 in /etc/X11. /usr/X11R6/lib.X11, and /etc. startx still can't seem to ind it, and it's read by the world. Any ideas? -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why can't startx find X's config file?
On Wed, Nov 03, 2004 at 08:37:02PM -0500, stan wrote: I'm building a new machine, and I've run into a problem I don't understand. When I try to run startx I get this (among other messages): (EE) Unable to locate/open config file I've tried puting XF86Config-4 in /etc/X11. /usr/X11R6/lib.X11, and /etc. startx still can't seem to ind it, and it's read by the world. Any ideas? It's called XF86Config, not XF86Config-4. Kris pgpG4aVXNeI54.pgp Description: PGP signature
Re: How can I specify the ipaddress in smbfs entry in fstab?
On Wed, Nov 03, 2004 at 05:05:47PM -0800, Mark Jayson Alvarez wrote: Good day! I wanted to mount our samba server whenever my computer boots so I added an entry in fstab like this mountpt //[EMAIL PROTECTED]/mp3s /mp3 but I have no idea how will I specify the ip address of the server. using the mount_smbfs, I can mount it by providing the -I ipaddress option. Do you know how will I tell the fstab to add that information? I've been reading the fstab manpages and also the mount_smbfs but nothing helps. //[EMAIL PROTECTED]/mp3s/mp3smbfs -I=192.168.1.1,noauto ... -Radek ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I specify the ipaddress in smbfs entry in fstab?
--- albi [EMAIL PROTECTED] wrote: hi, mountpt //[EMAIL PROTECTED]/mp3s /mp3 you can probably use e.g. //[EMAIL PROTECTED]/mp3s /mp3 It still doesn't work. I remember mounting it manually using the command mount_smbfs -I ipaddress //[EMAIL PROTECTED]/mp3s /mtpoint I don't think substituting ipaddress(eg, 10.1.1.1) for samba in [EMAIL PROTECTED] will make any sense because I still have to specify its IP address using the -I option whenever I mount it manually. in your /etc/fstab, but of course you can also add your samba-server in /etc/hosts tried it also, but didn't work. Anymore idea? thanks. __ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I specify the ipaddress in smbfs entry in fstab?
you can probably use e.g. //[EMAIL PROTECTED]/mp3s /mp3 It still doesn't work. I remember mounting it manually using the command mount_smbfs -I ipaddress //[EMAIL PROTECTED]/mp3s /mtpoint afair i've put a line like that in /etc/rc.local and it works for me (can't reach that machine now because it's off :) and yes, it works after a reboot ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: blackbox, bbkeys, and .xinit... (solved) -- UNIX behind the scenes
in message [EMAIL PROTECTED], wrote Mike Hauber thusly... I discovered that with the line blackbox bbkeys in the script, the bbscript remains when I exit blackbox, and I have to close bbscript to return to KDM. ... However, when I login and close bbkeys, then blackbox abruptly closes (apparently a clean kill), and I return to KDM. That's what you had asked for. Using '' after a command, a shell executes the command in the background. Lack of '' causes the command to be executed in the foreground. Try these two commands in a bourne-like shell (such as ash (FreeBSD sh), ksh93, bash2, bash3) ... sleep 15 date sleep 15 date In your situation, blackbox runs in the background bbkeys in foreground. If you wanted to run bbkeys only if blackbox runs, then do AND operation ... blackbox bbkeys ... optionally send the both commands in the background (say, if there are more commands to be run after the two commands)... blackbox bbkeys See also... - Get a good introductory Unix book - Man page for the shell which will execute your .xinit - Search Google Groups at http://groups.google.com/ ... + comp.unix.* newsgroups for foreground background process OR command shell search term + comp.unix.* comp.windows.x newsgroups for shell xinitrc OR xsession background - Parv -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: World Clock timezones
in message [EMAIL PROTECTED], wrote borg thusly... I'm looking for a world clock that helps me keep track of time in different cities by showing me clocks for multiple time zones. Preferably under X if not I don't mind using a non-GUI based application. Try sunclock in astro/sunclock. - Parv -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trying to understand flock()
Ronald F. Guilmette wrote: Greetings friends, I wonder if someone would be kind enough to enlighten me about the semantics of the flock(2) function. I have RTFM'd, and I am sad to say that I am still rather mystified that flock() doesn't seem to do what it is documented as doing. (I am testing it on 4.10-RELEASE, by the way.) The short test program attached below illustrates the source of my abundant confusion. When I compile this program with -DUSE_FCNTL (thus forcing it to use fcntl(2) to implement exclusive file locking) and then execute it, the resulting behavior is exactly what I expect, i.e. the program prints the string Temp file locked (1), and then it pauses for 10 seconds, and then it prints Temp file locked (2). The delay time between the appearance of the two message indicates clearly that exclusive file locking is working as expected. When I compile this program WITHOUT the -DUSE_FCNTL option however (thus forcing the program to use flock() rather then fcntl() for file locking), there is no apparent delay between the printing of the first message and the printing of the second message. That is what has me mystified. Obviously, there is something (or maybe several things) about the actual semantics of flock(2) that I don't understand. I would appreciate it if someone would enlighten me about that. Regards, rfg P.S. My apologies in advance if you try to Cc: me directly on your reply to this posting, and if your response gets rejected by the local spam filters. It's nothing personal. Really. We just have about 2/5ths of the entire Internet blacklisted here due to past spamming incidents. I will look for replies also in the freebsd-general list archives, so if you prefer, you can just repl to the list. Thanks and hasta la vista. #include stdio.h #include string.h #include errno.h #include unistd.h #include sys/file.h #include fcntl.h static void die (register char const *const fmt) { fprintf (stderr, fmt, strerror (errno)); fprintf (stderr, \n); exit (1); } static int lock_exclusive (register int const fd) { #if USE_FCNTL auto struct flock fl; fl.l_start = 0; fl.l_len = 0; fl.l_pid = 0; fl.l_type = F_WRLCK; fl.l_whence = SEEK_SET; return fcntl (fd, F_SETLKW, fl); #else return flock (fd, LOCK_EX); #endif } int main (void) { static char template[] = /tmp/temp.XX; register int fd; fd = mkstemp (template); unlink (template); if (lock_exclusive (fd) == -1) die (Error creating exclusive lock: %s); fprintf (stderr, Temp file locked (1)\n); if (fork () == 0) { if (lock_exclusive (fd) == -1) die (Error creating exclusive lock: %s); fprintf (stderr, Temp file locked (2)\n); } sleep (10); close (fd); return 0; } ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I am on 5.3RC1, and I know your version is not the same, but have you updated you docs? It works just like updating the system. From my manpage you are missing #include sys/file.h (I see you have this, but I will leave it anyway) #define LOCK_SH0x01 /* shared file lock */ #define LOCK_EX0x02 /* exclusive file lock */ #define LOCK_NB0x04 /* don't block when locking */ #define LOCK_UN0x08 /* unlock file */ int flock(int fd, int operation); An example: int flock(int fd, int LOCK_EX); Where is the above in your code? I must say I have only done some generic C programming for my school class, but this seems easly enough. I hope it is outof date docs on your system causing you pain. Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freebsd mpd server and win2k clients
Hello, I've set up mpd 3.18 on a freebsd box. I want to be able to allow remote user's to map samba network drives to server resources. I thought to firstly configure this locally, both machines the server and a win2ksp4 box are on the same subnet. I've started mpd, i've got the log of the transaction below, and created a vpn connection under win2k. When i atempt to connect i'm getting an error 741 The local computer does not support the required encryption type. I've gone in to the win2k box's vpn properties, i have changed the security settings from both the optional encryption setting disconnect if none, to the recommended option, and the maximum security option, all with the same result. When i hit apply, i get the message about insecure protocols pap, spap, and so forth, and would i like to remove them? I again have gone yes, leaving the protocols, and no removing them from the list of atempted protocols, no luck. Any help appreciated. Thanks. Dave. mpd.conf default: # loads the pptp connection load pptp0 pptp0: new -i ng0 pptp0 pptp0 set iface disable on-demand set iface enable proxy-arp set iface idle 0 set bundle yes multilink set bundle yes encryption set link yes acfcomp protocomp set link disable pap set link enable chap set link keep-alive 10 60 set ipcp yes vjcomp set link bandwidth 128000 set ipcp ranges x.x.x.x/32 x.x.x.x0/32 set ipcp dns x.x.x.x54 set ipcp nbns x.x.x.x set bundle yes compression set ccp yes mppc set ccp enable mpp-compress set ccp yes mpp-e40 set ccp yes mpp-e56 set ccp yes mpp-e128 set ccp yes mpp-stateless set bundle yes crypt-reqd mpd.links pptp0: set link type pptp set pptp self x.x.x.x set pptp enable incoming set pptp disable originate log file Nov 2 14:40:30 zeus mpd: mpd: pid 41291, version 3.18 ([EMAIL PROTECTED] 21:36 13-Oct-2004) Nov 2 14:40:30 zeus mpd: [pptp0] ppp node is mpd41291-pptp0 Nov 2 14:40:30 zeus mpd: mpd: local IP address for PPTP is x.x.x.x Nov 2 14:40:30 zeus mpd: [pptp0] using interface ng0 Nov 2 14:57:38 zeus mpd: mpd: PPTP connection from x.x.x.x:1041 Nov 2 14:57:38 zeus mpd: pptp0: attached to connection with x.x.x.x:1041 Nov 2 14:57:38 zeus mpd: [pptp0] IFACE: Open event Nov 2 14:57:38 zeus mpd: [pptp0] IPCP: Open event Nov 2 14:57:38 zeus mpd: [pptp0] IPCP: state change Initial -- Starting Nov 2 14:57:38 zeus mpd: [pptp0] IPCP: LayerStart Nov 2 14:57:38 zeus mpd: [pptp0] IPCP: Open event Nov 2 14:57:38 zeus mpd: [pptp0] bundle: OPEN event in state CLOSED Nov 2 14:57:38 zeus mpd: [pptp0] opening link pptp0... Nov 2 14:57:38 zeus mpd: [pptp0] link: OPEN event Nov 2 14:57:38 zeus mpd: [pptp0] LCP: Open event Nov 2 14:57:38 zeus mpd: [pptp0] LCP: state change Initial -- Starting Nov 2 14:57:38 zeus mpd: [pptp0] LCP: LayerStart Nov 2 14:57:38 zeus mpd: [pptp0] device: OPEN event in state DOWN Nov 2 14:57:38 zeus mpd: [pptp0] attaching to peer's outgoing call Nov 2 14:57:38 zeus mpd: [pptp0] device is now in state OPENING Nov 2 14:57:38 zeus mpd: [pptp0] device: UP event in state OPENING Nov 2 14:57:38 zeus mpd: [pptp0] device is now in state UP Nov 2 14:57:38 zeus mpd: [pptp0] link: UP event Nov 2 14:57:38 zeus mpd: [pptp0] link: origination is remote Nov 2 14:57:38 zeus mpd: [pptp0] LCP: Up event Nov 2 14:57:38 zeus mpd: [pptp0] LCP: state change Starting -- Req-Sent Nov 2 14:57:38 zeus mpd: [pptp0] LCP: phase shift DEAD -- ESTABLISH Nov 2 14:57:38 zeus mpd: [pptp0] LCP: SendConfigReq #10 Nov 2 14:57:38 zeus mpd: ACFCOMP Nov 2 14:57:38 zeus mpd: PROTOCOMP Nov 2 14:57:38 zeus mpd: MRU 1500 Nov 2 14:57:38 zeus mpd: MAGICNUM e4a35add Nov 2 14:57:38 zeus mpd: AUTHPROTO CHAP MSOFTv2 Nov 2 14:57:38 zeus mpd: pptp0-0: ignoring SetLinkInfo Nov 2 14:57:38 zeus mpd: [pptp0] LCP: rec'd Configure Request #0 link 0 (Req-Sent) Nov 2 14:57:38 zeus mpd: MAGICNUM 498b1554 Nov 2 14:57:38 zeus mpd: PROTOCOMP Nov 2 14:57:38 zeus mpd: ACFCOMP Nov 2 14:57:38 zeus mpd: CALLBACK Nov 2 14:57:38 zeus mpd:Not supported Nov 2 14:57:38 zeus mpd: [pptp0] LCP: SendConfigRej #0 Nov 2 14:57:38 zeus mpd: CALLBACK Nov 2 14:57:38 zeus mpd: [pptp0] LCP: rec'd Configure Request #1 link 0 (Req-Sent) Nov 2 14:57:38 zeus mpd: MAGICNUM 498b1554 Nov 2 14:57:38 zeus mpd: PROTOCOMP Nov 2 14:57:38 zeus mpd: ACFCOMP Nov 2 14:57:38 zeus mpd: [pptp0] LCP: SendConfigAck #1 Nov 2 14:57:38 zeus mpd: MAGICNUM 498b1554 Nov 2 14:57:38 zeus mpd: PROTOCOMP Nov 2 14:57:38 zeus mpd: ACFCOMP Nov 2 14:57:38 zeus mpd: [pptp0] LCP: state change Req-Sent -- Ack-Sent Nov 2 14:57:40 zeus mpd: [pptp0] LCP: SendConfigReq #11 Nov 2 14:57:40 zeus mpd: ACFCOMP Nov 2 14:57:40 zeus mpd: PROTOCOMP Nov 2 14:57:40 zeus mpd: MRU 1500 Nov 2 14:57:40 zeus mpd: MAGICNUM e4a35add Nov 2 14:57:40 zeus mpd: AUTHPROTO CHAP MSOFTv2 Nov 2 14:57:40 zeus mpd: pptp0-0: ignoring SetLinkInfo Nov 2 14:57:40 zeus mpd: [pptp0] LCP: rec'd Configure Ack #11 link 0 (Ack-Sent) Nov 2
adm 64
hi all... i'm trying to install fbsd 521 on an adm machine. i got the isos from the freebsd site but can't boot off them after burning them to cd. the cd drive is ok - tested with a redhat disc. any special instructions i need? thanks... -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adm 64
On Thu, Nov 04, 2004 at 12:31:53AM -0500, kalin mintchev wrote: hi all... i'm trying to install fbsd 521 on an adm machine. ITYM AMD, not ADM i got the isos from the freebsd site but can't boot off them after burning them to cd. the cd drive is ok - tested with a redhat disc. any special instructions i need? No..make sure you verify the md5 sum of the iso image, per the instructions. It's common for boot problems to be caused by corrupted cd images. You probably want to use 5.3 instead of 5.2.1 on amd64 though - it should be out later this week (or you could try installing the latest release candidate). Kris pgpw2hU47J8Bw.pgp Description: PGP signature
Re: adm 64
On Thu, Nov 04, 2004 at 12:31:53AM -0500, kalin mintchev wrote: hi all... i'm trying to install fbsd 521 on an adm machine. ITYM AMD, not ADM yea.. i just wrote too fast... i got the isos from the freebsd site but can't boot off them after burning them to cd. the cd drive is ok - tested with a redhat disc. any special instructions i need? No..make sure you verify the md5 sum of the iso image, per the instructions. It's common for boot problems to be caused by corrupted cd images. ok... will double check.. i should probably say that i'm doing this on an osx machine using the default burning option. i tried also toast set to ISO but neither works.. You probably want to use 5.3 instead of 5.2.1 on amd64 though - it should be out later this week (or you could try installing the latest release candidate). i've been waiting for the 5.3 for a few weeks now. i'll just upgrade after a while... thanks.. Kris -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
custom shell script .. OT maybe .
Hello there ... well i want to make a simple/wieard shell script :) which checks somehow connection with the internet rename some file files if it finds connectivity with the internet , do nothing of it dont find connectivity with the internet ...is it possible with simple shell script ? or do i have to learn some scripting language for that ? CAN U HELP !!! :) Thanks take care = *º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤ __ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]