tcpdump install issues
I have recently installed FreeBSD 5.3 from CD onto a couple of servers. I updated the /usr/src and /usr/ports to RELENG_5. When I try to install tcpdump from the ports, the make fails with the last line being Error: shared library pcap.2 does not exist *** Error code 1 I know I didn't have this problem when I installed 5.3 on a couple of servers last month, so does anyone know what is causing this? TIA, Tomoki Taniguchi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: tcpdump install issues
libpcap is missing. Rebuild and install that. Indian Institute of Information Technology Subhro Sankha Kar Block AQ-13/1, Sector V Salt Lake City PIN 700091 India -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of FreeBSD MailingLists Sent: Monday, February 28, 2005 13:32 To: questions Subject: tcpdump install issues I have recently installed FreeBSD 5.3 from CD onto a couple of servers. I updated the /usr/src and /usr/ports to RELENG_5. When I try to install tcpdump from the ports, the make fails with the last line being Error: shared library pcap.2 does not exist *** Error code 1 I know I didn't have this problem when I installed 5.3 on a couple of servers last month, so does anyone know what is causing this? TIA, Tomoki Taniguchi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature
RE: only 1 card is active, why
Maybe the wire is faulty then? Regards, S. Indian Institute of Information Technology Subhro Sankha Kar Block AQ-13/1, Sector V Salt Lake City PIN 700091 India -Original Message- From: gr [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 13:33 To: Subhro Subject: Re: only 1 card is active, why The wire that is always no carrier is definitely connected to a hub. Subhro wrote: No carrier means, the NIC does not see a switch/hub at the other end. Thus you need to plug in one card into the switch connected to your LAN and the other to the modem. Regards S. Indian Institute of Information Technology Subhro Sankha Kar Block AQ-13/1, Sector V Salt Lake City PIN 700091 India -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of ?? Sent: Monday, February 28, 2005 12:53 To: freebsd-questions@freebsd.org Subject: only 1 card is active, why I use freebsd-5.3release as a gateway. I have 2 realtek 8139 card, one for Internet and the other for LAN. But when I execute ifconfig, only 1 card(rl0) is shown active, and the other(rl1) is shown no carrier. And when I exchange the wire, rl0 changes to no carrier, and rl1 changes to no carrier. It seems that only 1 card can be in use. What can I do? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature
Re: How would you install all Gnome ports?
On 28 fév 2005, Chris Hodgins wrote: Chris wrote: Chris Hodgins wrote: Chris wrote: Is there an all inclusive command to install all Gnome ports from within the ports tree? Not everything but enough to get you started: /usr/ports/x11/gnome2$ cat pkg-descr GNU Network Object Model Environment This metaport installs the entire GNOME 2 desktop, including the the most common user applications. Other popular GNOME applications can be installed from the other GNOME 2 metaports: * x11/gnome2-fifth-toe * x11/gnome2-power-tools * editors/gnome2-office * devel/gnome2-hacker-tools WWW: http://www.FreeBSD.org/gnome/ Perfect - this is exactly what I wanted. I'm a KDE munkie myself, but I wanted to dabble w/Gnome. Thank you Chris H. I would also highly recommend Xfce4.2. :) I would also recommend Ion2 ;) The best WM out there currently. -- GnusFR (http://www.gnusfr.org) EmacsFR (http://www.emacsfr.org) .emacs: Because customisation is fun! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tcpdump install issues
FreeBSD MailingLists wrote: I have recently installed FreeBSD 5.3 from CD onto a couple of servers. I updated the /usr/src and /usr/ports to RELENG_5. When I try to install tcpdump from the ports, the make fails with the last line being Error: shared library pcap.2 does not exist *** Error code 1 I wonder why you want to do this. My system is not 5.3, but STABLE, which refers to 5.4-PRERELEASE at this moment. On this system, it appears to me that base system and ports have the same versions (see below). Then why not using tcpdump from the basesystem? Rob. $ cd /usr/ports/ $ make search name=tcpdump Port: tcpdump-3.8.3_1 Path: /usr/ports/net/tcpdump Info: Ubiquitous network traffic analysis tool Maint: [EMAIL PROTECTED] B-deps: autoconf-2.53_3 libpcap-0.8.3 m4-1.4.1 perl-5.8.6_2 R-deps: libpcap-0.8.3 $ /usr/sbin/tcpdump -V tcpdump version 3.8.3 libpcap version 0.8.3 __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: /dev/io , /dev/mem : only used by Xorg?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rob Sent: Sunday, February 27, 2005 6:26 PM To: FreeBSD questions Subject: /dev/io , /dev/mem : only used by Xorg? Hello, This is on 5.3-STABLE. On my desktop FreeBSD PC: $ fstat /dev/io /dev/mem only shows that Xorg is using these devices. Googling on /dev/io and /dev/mem, finds only Xorg related discussions and problems. I now also have Server PC, that does not run X at all. I'm about to remove the devices io and mem in the kernel configuration. Is that OK? How about the /dev/random device? Could that go too? Thanks, Rob. Rob, you are very mistaken about that the devices in /dev are. These devices, /dev/mem, /dev/io, /dev/random and the like, do not in fact actually reside in the /dev directory. Instead, they are part of the kernel itself. All the /dev files are, /dev/random, /dev/ad0 and so on, are simple files that take up only a few bytes of space. They are convenient hook points to use to get to these devices. That is, when a program accesses /dev/random, it isn't actually opening that file. Instead, the kernel intercepts that call and supplies the program opening that device with the output of the actual device. This is why these device files are created with the mknod utility, rather than just copying a file to /dev/random - since doing that is accessing the device, not creating the device file. So, deleting these /dev devices saves you practically no space at all, and does not in fact delete the devices - it only deletes the access point to them. The devices are still there in the kernel. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can /etc/rc.conf be replaced with a symlink?
On Sunday 27 February 2005 08:11 pm, Clay [EMAIL PROTECTED] wrote: Howdy, I am for the most part a newbie to FreeBSD. I am wanting to move some config files from their standard location to a single directory and create symlinks for each. Doing this will allow me to more easily maintain and backup the files. dhclient is able to use dhclient.conf when symlink'd. Apache seems to also work when httpd.conf is symlink'd. Can /etc/rc.conf be replaced with a symlink? I have done and the file isn't being read/found. Moving the actual file back to /etc fixed the problem. I am not entirely sure, but to hazard a guess, this isn't working because rc.conf loads before the other filesystems in /etc/fstab are mounted, and you have the actual rc.conf file on one of those filesystems (though you didn't specify). Apache (httpd) and dhclient run after they are mounted. Thus, you would be able to symlink rc.conf as long as the actual file is in the root filesystem (I think), but I'm not sure if that's a good idea - it might be alright, just never done it before. - jt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: support for multiple gre tunnel pass-through
On Sat, Feb 26, 2005 at 11:38:15AM -0300, emilio wrote: Hi at all the list I got the latest (5.3) free-bsd edition and need to know if there's support for gre protocol into multiple connections We got many clients for vpn into the office acessing a remote server and passing through the firewall who has two interfaces(one public and one internal) in a round-trip way meaning that the packet has to do natd in the go and in the back way to access the 10.x.x.x internal network I'm a little worried because we used debian with the kernel 2.4.26 and iptables 1.2.11 and needed to do many adjusts and recompiles until it came to work finally.with the patch-o-matic added. So the question is if in free-bsd and the related ipfw is the same headache Are you simply asking if you can have multiple gre tunnel from a freebsd box? Then yes, freebsd works great for that. I've had no trouble. And IPSEC on top of that isn't much more difficult. Of course i'm a newbie hehehe May you have a look at this problem i'd be grateful... thanks very very much Emilio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Change MAC address of LAN card in rc.conf. How?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rob Sent: Sunday, February 27, 2005 6:01 PM To: [EMAIL PROTECTED] Cc: FreeBSD questions Subject: Re: Change MAC address of LAN card in rc.conf. How? --- Michael Grant [EMAIL PROTECTED] wrote: Just curious, why would you ever need to change your mac address? In my university network, IP numbers must match a previously registered MAC address, otherwise the IP number is blocked. So our group has a list of IP numbers, that each only work with a specific MAC address. Yeah, the network admins do that to prevent people spoofing IP addresses to try attacking other computers. Of course, it's stupid since you can spoof the mac and attack away. When shifting around computers and IP addresses, it is easier to fake the MAC address to what I need, than to start a procedure with the computer center to change the MAC address of a certain IP number. One of these days you need to start spoofing the mac of the default gateway they are using, and I would suspect after a few weeks or months of that they will jettison the whole register MAC address procedure. Recording the MAC address only has validity when they are assigning a specific MAC to a specific hardware port on the switch by using intelligent switches that filter. But if they are using dumb hubs then they are just being idiots and making work for themselves. I manage to do this easily on my FreeBSD PCs. However, my colleagues are suprised and ask me how to do this on their MS-Windows systems. It's incredibly easy to do, just go into driver properties for just about every network driver ever written for Windows. Of course, this illustrates perfectly the absurdity of continually trying to make computers easier and easier and easier to use with a GUI - no matter how much simpler you make it, the people you are trying to serve will always outrace you in ignorance. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Installation instructions for Firefox somewhere?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Anthony Atkielski Sent: Sunday, February 27, 2005 3:53 PM To: freebsd-questions@freebsd.org Subject: Re: Installation instructions for Firefox somewhere? ...ummm this is rather like a windows admin saying s/he never updates windows. If it's a Windows _server_, I never do any updates that are not absolutely necessary. The ISP I work at has a sister company that is a network services company. One of the several techs that work for that company has your attitude. He's been burned a few times when he's installed patches that broke existing software at a customer. However, the customers that he cares for have the highest percentage of broken-into servers. (by outside crackers) From our point of view over at the ISP it seems to us that the pain of dealing with an app that breaks as a result of a security update is less than dealing with the pain of cleaning up a server that is broken into. And we have also observed that no matter how long the techs there work on a Windows server that has been broken into, once it's broken into it seems to get regularly re-broken into in the future, unless they nuke and repave it. I guess your attitude is safe enough if you regularly backup and you don't have critical data like credit cards or patient data or whatever that you don't want to have spread around. Updating. yes you are constantly updating on a production server, unless your idea of fun is somebody compromising your machine. Unless the OS is a Swiss cheese of bugs, constant updating is not necessary. If the OS is so insecure that you must constantly update just to stay ahead of the kiddies, it's time to think of installing a different OS. Frankly I find this rather silly. The OS does very little that helps a cracker. About the only thing that bugs in the OS will allow a cracker to do is DoS a TCP/IP stack. The difficulty is in the application programs, such as nfs, samba, http, telnetd, sshd, smtp, dns, etc. which all of in the past had security holes discovered and closed - sometimes repeatedly. The same goes for Microsoft's products. Just because an app like IIS is bundled with Windows Server, and an app like telnetd is bundled with UNIX, does not mean that when those apps got cracked, that the OS was the problem. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: complete rookie sendmail question
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Warren Block Sent: Sunday, February 27, 2005 3:26 PM To: Ken Hawkins Cc: freebsd-questions@freebsd.org Subject: Re: complete rookie sendmail question On Sun, 27 Feb 2005, Ken Hawkins wrote: alright I found an old blurb about handling a scenario similar to mine: http://lists.freebsd.org/pipermail/freebsd-questions/2003-July/ 014468.html it essentially says: If you want to get FreeBSD to forward your email to the MS-Exchange server, you have to: 1. make sure sendmail is running. (ie remove sendmail_* lines from /etc/rc.conf) Put sendmail_enable=YES in /etc/rc.conf. 2. # cd /etc/mail 3. # cp freebsd.mc `hostname`.mc That's doing things the hard way and might miss things the Makefile will do for you. This is true unless your running a full-blown production mailserver for a company or some such. In that case you had better be sufficiently experienced that the makefile will just get in your way. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: WRITE_DMA errors on SATA drive under 5.3-RELEASE
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Anthony Atkielski Sent: Sunday, February 27, 2005 2:10 PM To: freebsd-questions@freebsd.org Subject: Re: WRITE_DMA errors on SATA drive under 5.3-RELEASE Mike Tancsa writes: Could be a bad sector on the drive, or bad cable. Hard to say. Try /usr/ports/sysutils/smartmontools/ It can read all sorts of info off the drive and help you narrow down what the problem might be. Wow! That is a very cool tool. There's even a Windows port so I can use it on my XP machine. The two SATA drives show no errors. The older IDE drive (which contains the filesystem root) shows the stuff below. There have been over 1000 read errors over the lifetime of the disk, but the disk had some hard times back in December when it was in my overheated old server, so that might account for part of that. The most recent errors look like they might correlate with what I saw today (unfortunately, I'm not sure how to interpret them): Rule of thumb on IDE hard drives, if they show more than a few errors with a tool like smartmon, they need to be thrown in the garbage. Heat is the number one enemy of hard drives. If this drive overheated, particularly over a long timeperiod, resistance values and semiconductor values can shift, permanently, in the electronics of the drive. So even if the heads and platters are still good, your on borrowed time with the circuit board. And since it's the circuit board that's dodgy, the drive surface isn't failing, so the problems aren't going to register with S.M.A.R.T. Despite S.M.A.R.T., the vast majority of IDE hard drives that fail, fail without warning. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Deleting orphaned ports
Hello, Is there a way I can find all orphaned ports on FreeBSD (by using portupgrade or not) ? By orphaned ports I mean ports that are not used by any other ports (though they may be used by users, in which case it's up to me to decide wether to delete them). Thank you. Nicolas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How would you install all Gnome ports?
On Sun, Feb 27, 2005 at 05:32:34PM -0600, Chris wrote: Chris Hodgins wrote: Chris wrote: Chris Hodgins wrote: Chris wrote: Is there an all inclusive command to install all Gnome ports from within the ports tree? Not everything but enough to get you started: /usr/ports/x11/gnome2$ cat pkg-descr GNU Network Object Model Environment This metaport installs the entire GNOME 2 desktop, including the the most common user applications. Other popular GNOME applications can be installed from the other GNOME 2 metaports: * x11/gnome2-fifth-toe * x11/gnome2-power-tools * editors/gnome2-office * devel/gnome2-hacker-tools WWW: http://www.FreeBSD.org/gnome/ Perfect - this is exactly what I wanted. I'm a KDE munkie myself, but I wanted to dabble w/Gnome. Thank you Chris H. I would also highly recommend Xfce4.2. :) Chris I would - but I'm not into intense modification to my wm. A few teaks here and there ore fine, but if I need to learn to setup a decent wm, then it sorta defeats the purpose. I don't think it neccessarily defeats the purpose, the default settings usually work just fine in my experience. But I've found that some other windows manager like fvwm2 offer much more flexibility in setting them up than anything kde or gnome's metacity offer. And best of all, once you have it tweaked perfectly, then all I you have to do is copy a text file around. For fvwm2, thats .fvwm2rc. Every system I use KDE on I have to spend quite a while customizing it to fit me. And even then I always miss certain shortcuts that I use a lot. Now if I had to start from scratch writing my .fvwm2rc, then I probably never would have, but luckily a good default one is provided. I love BSD under a wm, but I don't have the luxury of spending hours to days makeing a kick-ass looking environment. That's just me tho - I have seen what other can do - I lack the creative-eye to do that fancy stuff. -- Best regards, Chris Go where the money is. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.3 + nvidia GeForce 6600 GT + amd64
On Sun, Feb 27, 2005 at 07:58:59PM -0800, Ward Willats wrote: Hello Everyone. I just bought me a spiffy new amd64 box with an nvidia GeForce 6600 card. I am running Freebsd 5.3/amd64 and xorg. Though I love the games, my most important need for this machine is to do software development -- so I don't need the 3D stuff at all right now. I tried the OSS nvidia driver -- it didn't detect the screen. The nvidia-driver port does not work on amd64 (I think I remember it complaining...) The nvidia site has 64 bit binaries for Linux, but if there is a magic way to wrap them for use in FreeBSD I don't know what it is. Anyway, the Vesa driver would be good enough for my needs, and indeed, it easily drives the card to various resolutions, but all the built-in modes are with a 60hz refresh rate and the flicker drives me nuts. You could try using xrandr to change the refresh rate. The other option might be to modify the monitor section in ur xorg.conf file with VertRefresh, I believe, to set a refresh range starting just above 60hz. Guess I can concoct a custom modeline to raise the refresh rate with the vesa driver, but that seems like a pretty primitive way to go here in THE FUTURE. So thought I'd ask if you folks had any suggestions. Thanks, -- Ward ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tcpdump install issues
On Mon, Feb 28, 2005 at 04:01:54PM +0800, FreeBSD MailingLists wrote: I have recently installed FreeBSD 5.3 from CD onto a couple of servers. I updated the /usr/src and /usr/ports to RELENG_5. When I try to install tcpdump from the ports, the make fails with the last line being Error: shared library pcap.2 does not exist *** Error code 1 I know I didn't have this problem when I installed 5.3 on a couple of servers last month, so does anyone know what is causing this? The port is broken (see http://pointyhat.freebsd.org); talk to the maintainer. Kris pgp5ZnO2LsUyZ.pgp Description: PGP signature
Re: samba ldap
Disabled by default? Sorry, but I've never specified any ldap options in my smb.conf but the server always tries to authentificate the users with an ldap server. Florian Joerg Pulz [EMAIL PROTECTED] schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 27 Feb 2005, Florian Hengstberger wrote: Hi list! I'm still using 5.2.1 and samba from /usr/ports/net/samba. Is there a way to disable ldap, it seems that it is compiled into the binary. Do i have to recompile (which switch?) or is there a simpler way. Hi, after a quick look in the Makefile for net/samba it seems that LDAP support is disabled by default. it can be enabled at compile time by specifying WITH_LDAP=yes. so, if you recompile net/samba without specifying WITH_LDAP on the command line or in /etc/make.conf, you should get a binary without LDAP support. regards Joerg - -- The beginning is the most important part of the work. -Plato -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCIsUfSPOsGF+KA+MRAmRBAJwNK6kyKtniLe8ctZyvYvXBQB7knwCeOTn1 9XR2th3Qf7eqWoSZ4mIFexs= =NMF3 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make etc broken
i was clearing out some files in /usr and accidentally did something and now command such as: clear, make, whereis no longer work ... how can i get them back to working ? -- Yours Sincerely Shinjii http://www.shinji.nq.nu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/io , /dev/mem : only used by Xorg?
On Mon, Feb 28, 2005 at 01:32:26AM -0800, Ted Mittelstaedt wrote: Instead, they are part of the kernel itself. All the /dev files are, /dev/random, /dev/ad0 and so on, are simple files that take up only a few bytes of space. They are convenient hook points to use to get to these devices. That is, when a program accesses /dev/random, it isn't actually opening that file. Instead, the kernel intercepts that call and supplies the program opening that device with the output of the actual device. This is why these device files are created with the mknod utility, rather than just copying a file to /dev/random - since doing that is accessing the device, not creating the device file. So, deleting these /dev devices saves you practically no space at all, and does not in fact delete the devices - it only deletes the access point to them. The devices are still there in the kernel. No, in 5.x the device nodes are created automatically by devfs and only appear in /dev by default if support is enabled in the kernel. As the original poster discussed, /dev/io, /dev/mem and /dev/random are optional components of the 5.x kernel, although as I replied, the situations in which one would not want to include them are limited. Kris pgpPFUhQWrB8P.pgp Description: PGP signature
Re: Deleting orphaned ports
On Mon, Feb 28, 2005 at 11:46:08AM +0100, Nicolas wrote: Hello, Is there a way I can find all orphaned ports on FreeBSD (by using portupgrade or not) ? By orphaned ports I mean ports that are not used by any other ports (though they may be used by users, in which case it's up to me to decide wether to delete them). sysutils/pkg_cutleaves Kris pgpdW5mARLej1.pgp Description: PGP signature
Re: /dev/io , /dev/mem : only used by Xorg?
--- Kris Kennaway [EMAIL PROTECTED] wrote: As the original poster discussed, /dev/io, /dev/mem and /dev/random are optional components of the 5.x kernel, although as I replied, the situations in which one would not want to include them are limited. What triggered my question, was what I found in the man page of io: The special file /dev/io is a controlled security hole that allows a process to gain I/O privileges (which are normally reserved for kernel-internal code). So I thought, if it's not needed (since I have no X installed), then it better should go. BTW I do not have it in the kernel config, but load io, mem and random as a module via /boot/loader.conf. I suppose that's the same. Rob. __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: HOWTO : Setting Up a mouse + wheel on a traditional ps/2 port in FBSD 5.3
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Valery Sent: Saturday, February 26, 2005 10:35 PM To: freebsd-questions@freebsd.org Subject: HOWTO : Setting Up a mouse + wheel on a traditional ps/2 port in FBSD 5.3 * Setting Up a mouse + wheel on a traditional ps/2 port in FBSD 5.3 ... and others ... * Hey Valery, a few things on this: This only works for mice that support the intellimouse protocol. Simplest way to find out if your mouse supports this is to kill the moused daemon, then issue the command: moused -p /dev/psm0 -t auto -d -f and read the first line, it will print out the model of the mouse (for example MouseMan+) then move the wheel up and down should generate a stream of events on the console If moving the wheel generates nothing, buy a different mouse. usb and serial mice with wheels can be tested with the same procedure except change the port -p of course. 1. Must know ps2 bus : the ps/2 bus is mapped as /dev/psm0 /dev/psm0 : support only 'ps/2' protocol ( moused(8) ) moused : map /dev/psm0 as a virtual port to /dev/sysmouse (ie like /dev/ttyv0 is a virtual tty) X : work with the /dev/sysmouse virtual device as input device. xorg.conf : When setting up Protocol to Auto the protocol choosed by X is ps/2 which don't work for me (i don't know how to use a wheel with it without setting up parms for each apps) xorg.conf : setting up Protocol to sysmouse is the best way i find to use my wheel. /sysmouse/ work natively with xterm, Mozilla, and so on. No needs to change anything. You should NEVER set the protocol for the mouse in either Xfree86 or xorg to anything other than sysmouse, when using FreeBSD. And, if your going to run X you should -always- run moused. Per the man page if you use moused, ps/2 or auto are the only acceptable protocols that are allowed to be set for the ps/2 port. During the FreeBSD installation for 4.X you are asked to set these up. 2. Parameters /etc/rc.conf : moused -p /dev/psm0 -t ps/2 moused -p /dev/psm0 -t auto is setup by the FreeBSD installation program and it will work just as well. Note - many wheel mice use a push on the wheel as a second button. /etc/X11/xorg.conf : Section InputDevice Identifier Mouse0 Driver mouse OptionProtocol sysmouse OptionDevice /dev/sysmouse OptionButtons 5 OptionZAxisMapping X This probably should be: OptionZAxisMapping 4 5 In fact, the only thing that generally needs to be added to this section is: OptionButtons 5 OptionZAxisMapping 4 5 EndSection 3. Some tips Testing : 1 - kill the moused daemon 2 - set mouse on console : vidcontrol -m on 3 - launch moused on foreground to see if it's work : moused -f -p /dev/psm0 -t ps/2 4 - press ^C to end 5 - if result are ok, launch moused with your previous parms 6 - set up rc.conf xorg.conf as above. 7 - try to use a lightweight wm like IceWM or twm to test, it respect well X parms. For testing with twm: fill an xterm with text, scroll up and down. firefox also supports the scroll wheel. 4. Comments i don't know why, but logoff/login or reboot your computer in order to get this stuff working properly : first time i set this parms, they don't work. Because i was almost sure they must work, i rebooted my computer and they work fine. Perhaps some guy from BSD could explain ... I don't understand how your X server got: My X.log whith the 'sysmouse' protocol : . . (**) Option ZAxisMapping 4 5 (**) Mouse0: ZAxisMapping: buttons 4 and 5 when you had configured OptionZAxisMapping X If I knew I could probably tell you why rebooting worked. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.3 + nvidia GeForce 6600 GT + amd64
On Mon, 28 Feb 2005 14:58, Ward Willats wrote: Hello Everyone. Hello, I just bought me a spiffy new amd64 box with an nvidia GeForce 6600 card. I am running Freebsd 5.3/amd64 and xorg. Though I love the games, my most important need for this machine is to do software development -- so I don't need the 3D stuff at all right now. I tried the OSS nvidia driver -- it didn't detect the screen. The nvidia-driver port does not work on amd64 (I think I remember it complaining...) The nvidia site has 64 bit binaries for Linux, but if there is a magic way to wrap them for use in FreeBSD I don't know what it is. I can't help you. But, maybe you add a me too and list your hardware to this NVIDIA AMD64 on FreeBSD thread?: http://www.nvnews.net/vbulletin/showthread.php?t=41545 -Al ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tap interface, bridging and freebsd 5.3
Andrea Riela wrote: Hi folks, I would test openvpn with bridging options, then I need a tap interface. I've compiled my kernel with devicetap then 'kldload if_tap' via command line These are mutually exclusive: either you compile your kernel with tap or you load it as a module, not both. but I don't see a tap interface in /dev or with ifconfig ... You won't see any network interface in /dev; just run ifconfig -a and check: you won't find any of the listed devices in /dev. Obviously: tcpdump -i tap0 tcpdump: BIOCSETIF: tap0: Device not configured taps will come up when some programs activates it. Once you have openvpn correctly running, you'll see tap0 in ifconfig's output and you'll be able to run tcpdump against it. bye av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Received mail timestamp is off by 7 hours
On Mon, Feb 28, 2005 at 12:58:17AM +1100, Ian Smith wrote: On Sun, 27 Feb 2005 03:10:12 -0700 Pat Maddox [EMAIL PROTECTED] wrote: Alright, I got it all working now. Not sure how to change the time zone with config files, so I just used sysinstall to change it to MST (time zone is arbitrary, but since this is the zone I live in, it's convenient for me). Then I used ntpdate to sync it, and it's working well now. Thanks for pointing that out to me. I just thought that CET was central time :) Yes sysinstall's as good a way as any, it'll set your timezone and also let you choose between running with a UTC or local time CMOS clock. Or you can manually tun tzsetup(8) and create (or not) /etc/wall_cmos_clock .. see adjkerntz(8) Take little notice of people opining that you must or even should run CMOS UTC time; that's entirely up to you. I've always preferred local time CMOS clocks personally; sysinstall creates /etc/wall_cmos_clock and cron runs 'adjkerntz -a' halfhourly at times when daylight savings time might come or go in your zone, and that's always worked fine here. The reason using UTC for the cmos clock is that it never changes like US daylight savings does. Now if your timezone doesn't ever need to be pushed forward or backwards then it won't be a problem, but otherwise evertime the system boots up, it has to determine if the cmos time is correct or needs to be adjusted. A UTC time will always be correct and can be turned exactly into the correct time at the moment. I think that if FreeBSD crashed just after it booted up and adjusted the hour forward, then on the next reboot, it would adjust it another hour forward. In general, it is just harder to manage. Even worse would be my Quad boot system with Gentoo Linux, FreeBSD, OpenBSD, NetBSD. If I used local time for my cmos clock then every daylight savings change, each os would adjust the clock independently and I'd be 3 hours off. The only thing to watch running wall_cmos_clock is that if you boot to single user mode, before /etc/rc has run 'adjkerntz -i' the system will assume CMOS is UTC, so any files then modified show timestamps in UTC (discovered the hard way in Jan 2000 on a box with a broken y2k BIOS :) Cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compiling
This is my first question in this org. i am interesting to compiling and source code of FreeBSD. So please tell me how to compile. thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation instructions for Firefox somewhere?
Anthony Atkielski wrote: Leonard Zettel writes: My own experiences have given me a definite bias toward using the ports system to compile stuff to be added to my system rather than going with the binary packages. I get the impression that many port maintainers who are fairly careful about keeping their port versions workable and patched only give a relative lick and promise to their packages. Unfortunately, bugs in the handling of my SCSI disks prevent me from doing anything that is disk-intensive without crashing the system, so downloading the ports collection probably won't be possible. Anthony, I understand your frustration. I think you should fix the SCSI problems before doing anything. The ports collection really works very well. Perhaps some experts here can help you with your SCSI. I am a FreeBSD novice ;-) Ramiro. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hd timeouts.
Hi! I'm just wondering what does this means. Dying harddisk or something else? From kernel log: -cut- ad0: 28629MB ST330621A/3.39 [58168/16/63] at ata0-master PIO4 ad5: 190782MB WDC WD2000JB-00FUA0/15.05R15 [387621/16/63] at ata2-slave PIO4 ad5: TIMEOUT - READ_MUL retrying (2 retries left) LBA=382096511 ad5: FAILURE - READ_MUL timed out -cut- -- kpn @ IRCnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: /dev/io , /dev/mem : only used by Xorg?
-Original Message- From: Kris Kennaway [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:58 AM To: Ted Mittelstaedt Cc: Rob; FreeBSD questions Subject: Re: /dev/io , /dev/mem : only used by Xorg? On Mon, Feb 28, 2005 at 01:32:26AM -0800, Ted Mittelstaedt wrote: Instead, they are part of the kernel itself. All the /dev files are, /dev/random, /dev/ad0 and so on, are simple files that take up only a few bytes of space. They are convenient hook points to use to get to these devices. That is, when a program accesses /dev/random, it isn't actually opening that file. Instead, the kernel intercepts that call and supplies the program opening that device with the output of the actual device. This is why these device files are created with the mknod utility, rather than just copying a file to /dev/random - since doing that is accessing the device, not creating the device file. So, deleting these /dev devices saves you practically no space at all, and does not in fact delete the devices - it only deletes the access point to them. The devices are still there in the kernel. No, in 5.x the device nodes are created automatically by devfs and only appear in /dev by default if support is enabled in the kernel. Ah, yes I wasn't paying attention, he did say 5. I stopped paying attention after reading that he was wanting to remove /dev/random. As the original poster discussed, /dev/io, /dev/mem and /dev/random are optional components of the 5.x kernel, although as I replied, the situations in which one would not want to include them are limited. Actually, recompiling openssl to use a prng daemon instead of the random device will probably improve your ssh security - unless they have greatly improved the entropy generation in the random device in 5.X Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: /dev/io , /dev/mem : only used by Xorg?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rob Sent: Monday, February 28, 2005 3:11 AM To: FreeBSD questions Subject: Re: /dev/io , /dev/mem : only used by Xorg? What triggered my question, was what I found in the man page of io: The special file /dev/io is a controlled security hole that allows a process to gain I/O privileges (which are normally reserved for kernel-internal code). So I thought, if it's not needed (since I have no X installed), then it better should go. If your server isn't chained to a steel post set in concrete then it is a security risk to put data on it because someone might steal it and read all your data. Unfortunately, too many people read the words security hole and their brain short-circuits and they stop thinking. It is possible to argue that any possible thing you do in your life from getting up in the morning and taking a dump to going to bed at night is a security risk. It is possible to make people do a lot of ignorant and stupid things (at least in the United States) right now by waving around the security flag. Just because something appears to not be used is no good reason for removing it. If it really was useless it wouldn't be there in the first place. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Installation instructions for Firefox somewhere?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ramiro Aceves Sent: Sunday, February 27, 2005 2:33 PM To: freebsd-questions@freebsd.org Subject: Re: Installation instructions for Firefox somewhere? Anthony, I understand your frustration. I think you should fix the SCSI problems before doing anything. The ports collection really works very well. Perhaps some experts here can help you with your SCSI. I am a FreeBSD novice ;-) I agree Ramiro, I've setup dozens and dozens of different SCSI setups, and I think that his problem is hardware, such as incorrect termination, a bad scsi cable, bad connectors on the cable, or an incompatible SCSI/disk combination (which is rare, but it does happen) Others have suggested this to him though and he either ignores them or insists he's checked all that. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HOWTO : Setting Up a mouse + wheel on a traditional ps/2 port in FBSD 5.3
Ted Mittelstaedt wrote: Hey Valery, a few things on this: This only works for mice that support the intellimouse protocol. Simplest way to find out if your mouse supports this is to kill the moused daemon, then issue the command: moused -p /dev/psm0 -t auto -d -f All right, this explain a lot of mis-understand things i found on the net (same parms working for one and not for others) You should NEVER set the protocol for the mouse in either Xfree86 or xorg to anything other than sysmouse, when using FreeBSD. And, if your going to run X you should -always- run moused. Ok, that's what i found. But, why X choose ps/2 when Protocol is set to Auto ? I'm afraid that informations about Protocol sysmouse are very difficult to find. I did not on my side, not even on the net nor on the FreeBSD or X documentations. Note - many wheel mice use a push on the wheel as a second button. Thank I don't understand how your X server got: My X.log whith the 'sysmouse' protocol : (**) Option ZAxisMapping 4 5 (**) Mouse0: ZAxisMapping: buttons 4 and 5 when you had configured OptionZAxisMapping X If I knew I could probably tell you why rebooting worked. Sorry, it was the previous version of my log file. (always difficult to write a summary with a lot of pieces) Perhaps a mobo pb., or a forgot of mine, no matter to worry about that. I'm sometimes Aemnesiac too ... :o) Many thanks Ted for your tips. i hope that the whole thing will be interesting for others, sheding a light on this stuff. Just a little thing - to be clean - i found after posting : 2. Parameters /etc/X11/xorg.conf : Section InputDevice # All parms according to previous posts and ... Option Emulate3Buttons Off EndSection Regards, v/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Is Yahoo! moving from FreeBSD?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Anthony Atkielski Sent: Sunday, February 27, 2005 1:45 AM To: freebsd-questions@freebsd.org Subject: Re: Is Yahoo! moving from FreeBSD? Ted Mittelstaedt writes: Cisco's online knowledgebase is far superior. Since Cisco equipment is outside my budget, I've never had any occasion to look at theirs, but I'll take your word for it. One word: ebay (Then again, hopefully I wouldn't _need_ the knowledgebase if I had Cisco gear.) No, you would. Cisco gear, once it's setup to be reliable, it stays reliable and rarely needs attention. However, getting it to that point, and getting yourself to the point that you can set it up so that it's reliable, can sometimes take some doing. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrading perl 5.8
Hi! I'm upgrading perl 5.8 from the ports on a FreeBSD 5.3 machine, the problem is that alot of my installed modules doesn't work after the update (just a minor update from 5.8.2 to 5.8.6), probably becuase the @INC changed and did not include the mach directory of 5.8.2. Is this right ? Why can't it include the 5.8.2 mach dir ? /S ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can /etc/rc.conf be replaced with a symlink?
On 2005-02-28 01:32, Joshua Tinnin [EMAIL PROTECTED] wrote: On Sunday 27 February 2005 08:11 pm, Clay wrote: I am for the most part a newbie to FreeBSD. I am wanting to move some config files from their standard location to a single directory and create symlinks for each. Doing this will allow me to more easily maintain and backup the files. dhclient is able to use dhclient.conf when symlink'd. Apache seems to also work when httpd.conf is symlink'd. Can /etc/rc.conf be replaced with a symlink? I have done and the file isn't being read/found. Moving the actual file back to /etc fixed the problem. I am not entirely sure, but to hazard a guess, this isn't working because rc.conf loads before the other filesystems in /etc/fstab are mounted, and you have the actual rc.conf file on one of those filesystems (though you didn't specify). Apache (httpd) and dhclient run after they are mounted. Thus, you would be able to symlink rc.conf as long as the actual file is in the root filesystem (I think), but I'm not sure if that's a good idea - it might be alright, just never done it before. Correct. Some of the /etc/rc.d scripts need to read rc.conf before any of the filesystems have been mounted. Those scripts will fail if all they can see is a root filesystem, mounted read-only, and cannot access rc.conf options (because rc.conf has been moved somewhere else). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/io , /dev/mem : only used by Xorg?
On Mon, Feb 28, 2005 at 04:11:24AM -0800, Ted Mittelstaedt wrote: -Original Message- From: Kris Kennaway [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:58 AM To: Ted Mittelstaedt Cc: Rob; FreeBSD questions Subject: Re: /dev/io , /dev/mem : only used by Xorg? On Mon, Feb 28, 2005 at 01:32:26AM -0800, Ted Mittelstaedt wrote: Instead, they are part of the kernel itself. All the /dev files are, /dev/random, /dev/ad0 and so on, are simple files that take up only a few bytes of space. They are convenient hook points to use to get to these devices. That is, when a program accesses /dev/random, it isn't actually opening that file. Instead, the kernel intercepts that call and supplies the program opening that device with the output of the actual device. This is why these device files are created with the mknod utility, rather than just copying a file to /dev/random - since doing that is accessing the device, not creating the device file. So, deleting these /dev devices saves you practically no space at all, and does not in fact delete the devices - it only deletes the access point to them. The devices are still there in the kernel. No, in 5.x the device nodes are created automatically by devfs and only appear in /dev by default if support is enabled in the kernel. Ah, yes I wasn't paying attention, he did say 5. I stopped paying attention after reading that he was wanting to remove /dev/random. As the original poster discussed, /dev/io, /dev/mem and /dev/random are optional components of the 5.x kernel, although as I replied, the situations in which one would not want to include them are limited. Actually, recompiling openssl to use a prng daemon instead of the random device will probably improve your ssh security - unless they have greatly improved the entropy generation in the random device in 5.X Is the /dev/random on FreeBSD really this bad? I thought it should be better since it can gather entropy from all over the kernel like interrupts. I'm pretty sure I read that linuxes /dev/random was far supieror to prng and I'd expect FreeBSD to be the same unless someone was lazy in implementing it or there is some major security hole in it. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: HOWTO : Setting Up a mouse + wheel on a traditional ps/2 port in FBSD 5.3
-Original Message- From: Valery [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:24 AM To: Ted Mittelstaedt Cc: freebsd-questions@freebsd.org Subject: Re: HOWTO : Setting Up a mouse + wheel on a traditional ps/2 port in FBSD 5.3 Ted Mittelstaedt wrote: Hey Valery, a few things on this: This only works for mice that support the intellimouse protocol. Simplest way to find out if your mouse supports this is to kill the moused daemon, then issue the command: moused -p /dev/psm0 -t auto -d -f All right, this explain a lot of mis-understand things i found on the net (same parms working for one and not for others) You should NEVER set the protocol for the mouse in either Xfree86 or xorg to anything other than sysmouse, when using FreeBSD. And, if your going to run X you should -always- run moused. Ok, that's what i found. But, why X choose ps/2 when Protocol is set to Auto ? auto instructs the mouse daemon that when it sees a ps/2 port to use the ps/2 protocol, when it sees a serial port to probe for that, when it sees a usb port to setup for usb protocol. It is preferable particularly in a doc like this because it applies universally. I'm afraid that informations about Protocol sysmouse are very difficult to find. I did not on my side, not even on the net nor on the FreeBSD or X documentations. You don't need to worry about it. Any problems between moused and X's support for the sysmouse protocol are something an ordinary user probably will never see. This can be ignored as the problem of the moused authors and X authors. What an ordinary user needs to be concerned with is if moused is correctly talking to their rodent. Note - many wheel mice use a push on the wheel as a second button. Thank I don't understand how your X server got: My X.log whith the 'sysmouse' protocol : (**) Option ZAxisMapping 4 5 (**) Mouse0: ZAxisMapping: buttons 4 and 5 when you had configured OptionZAxisMapping X If I knew I could probably tell you why rebooting worked. Sorry, it was the previous version of my log file. (always difficult to write a summary with a lot of pieces) Perhaps a mobo pb., or a forgot of mine, no matter to worry about that. I'm sometimes Aemnesiac too ... :o) Many thanks Ted for your tips. i hope that the whole thing will be interesting for others, sheding a light on this stuff. Just a little thing - to be clean - i found after posting : 2. Parameters /etc/X11/xorg.conf : Section InputDevice # All parms according to previous posts and ... Option Emulate3Buttons Off It's off whenever more than 2 buttons are detected - a wheel mouse always has more than 2 - but this might prevent a useless error message in the log Ted EndSection Regards, v/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiling
On 2005-02-28 20:46, Bhaban Singh [EMAIL PROTECTED] wrote: This is my first question in this org. i am interesting to compiling and source code of FreeBSD. So please tell me how to compile. First of all, make sure you have the full source tree. The Handbook contains instructions about obtaining the source, i.e. with CVSup. For details, see: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html Then read /usr/src/UPDATING. After skimming through the recently added entries near the top, pay very close attention to the section ``To rebuild everything and install it on the current system.'' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can /etc/rc.conf be replaced with a symlink?
I realized what the problem mostly likely was after submitting the question. I do believe that the mount point where I am wanting to have rc.conf located is not yet available when the file is read. Is there a way to have this FS mounted prior to rc.conf being read? Could I maybe place this mount point above the root in fstab? I will give it try when I have time later today. Thanks, -Clay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: /dev/io , /dev/mem : only used by Xorg?
-Original Message- From: Loren M. Lang [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:40 AM To: Ted Mittelstaedt Cc: Kris Kennaway; Rob; FreeBSD questions Subject: Re: /dev/io , /dev/mem : only used by Xorg? On Mon, Feb 28, 2005 at 04:11:24AM -0800, Ted Mittelstaedt wrote: -Original Message- From: Kris Kennaway [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:58 AM To: Ted Mittelstaedt Cc: Rob; FreeBSD questions Subject: Re: /dev/io , /dev/mem : only used by Xorg? On Mon, Feb 28, 2005 at 01:32:26AM -0800, Ted Mittelstaedt wrote: Instead, they are part of the kernel itself. All the /dev files are, /dev/random, /dev/ad0 and so on, are simple files that take up only a few bytes of space. They are convenient hook points to use to get to these devices. That is, when a program accesses /dev/random, it isn't actually opening that file. Instead, the kernel intercepts that call and supplies the program opening that device with the output of the actual device. This is why these device files are created with the mknod utility, rather than just copying a file to /dev/random - since doing that is accessing the device, not creating the device file. So, deleting these /dev devices saves you practically no space at all, and does not in fact delete the devices - it only deletes the access point to them. The devices are still there in the kernel. No, in 5.x the device nodes are created automatically by devfs and only appear in /dev by default if support is enabled in the kernel. Ah, yes I wasn't paying attention, he did say 5. I stopped paying attention after reading that he was wanting to remove /dev/random. As the original poster discussed, /dev/io, /dev/mem and /dev/random are optional components of the 5.x kernel, although as I replied, the situations in which one would not want to include them are limited. Actually, recompiling openssl to use a prng daemon instead of the random device will probably improve your ssh security - unless they have greatly improved the entropy generation in the random device in 5.X Is the /dev/random on FreeBSD really this bad? Yes - there's some random testing suites on the Internet, find a few and compile them. (ENT for example) Run them repeatedly and see what happens. Part of the problem is that BY DEFAULT the random device DOES NOT look at interrupts. See the man page for rndcontrol. Presumably the system admin of the system knows this and looks at his dmesg output to see which irq's are assigned to network cards and hard disks (which are fairly good sources of randomness) and sets the random device to use these. In practice this isn't something mentioned in the install docs so it is very unlikely many people know. Another strange thing is that /dev/random should block when it runs out of entropy - it doesen't seem to do so, however. And the device doesen't seem to gain entropy that quickly. I thought it should be better since it can gather entropy from all over the kernel like interrupts. I'm pretty sure I read that linuxes /dev/random was far supieror to prng and I'd expect FreeBSD to be the same unless someone was lazy in implementing it or there is some major security hole in it. The FreeBSD random device is a port of the same Linux code. Interestingly enough, Sun's Solaris x86 random driver sucks too in the same way, runs out of entropy quickly and doesen't recharge that rapidly. There's a couple people who have written prngs which they claim are far superior to the random devices. Do a search and you will run across them. An excellent random device would be a portable fm radio tuned to in between stations and feeding the mic input of a soundcard. That's what you use when you don't want NSA's supercomputers breaking your keys. ;-) But of course if you pulled entropy out of that too fast, you would run into the speed limitations of the D/A converter in the soundcard input. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading perl 5.8
On Mon, Feb 28, 2005 at 01:34:30PM +0100, Stefan Cars wrote: Hi! I'm upgrading perl 5.8 from the ports on a FreeBSD 5.3 machine, the problem is that alot of my installed modules doesn't work after the update (just a minor update from 5.8.2 to 5.8.6), probably becuase the @INC changed and did not include the mach directory of 5.8.2. Is this right ? Why can't it include the 5.8.2 mach dir ? There's nothing to stop you adding the 5.8.2 directories to @INC. But the cleanest way to solve this is to upgrade everything else on your system that depends on Perl. Portmanager is really good for this sort of task. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpTLd0dUgmHh.pgp Description: PGP signature
Re: Dell 5160 Wireless Ethernet
On Sun, 27 Feb 2005 14:57:09 -0500, Philip M. Golllucci wrote Hi, I've got a dell 5160 notebook with builtin wireless ethernet. Windows XP home detects it as Dell Wireless WLAN 1350 Mini-PCI Card Freebsd5.2.1-RELEASE detects it as cardbus0: CardBus bus on cbb0 pccard0: 16-bit PCCard bus on cbb0 cbb0: [MPSAFE] fwohci0: vendor=104c, dev=8029 fwohci0: 1394 Open Host Controller Interface mem 0xfaff4000-0xfaff7fff,0xfaffb800-0xfaffbfff irq 16 at device 4.1 on pci2 fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 37:4f:c0:00:3a:98:e4:c1 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: IEEE1394(FireWire) bus on fwohci0 fwe0: Ethernet over FireWire on firewire0 if_fwe0: Fake Ethernet address: 36:4f:c0:98:e4:c1 sbp0: SBP-2/SCSI over FireWire on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) unfortunately, I have 0 experience with firewire. I edited my /etc/rc.conf file accordingly ifconfig_fwe0=DHCP hmm! are you sure it isn't just picking up a built-in firewire port, and not picking up the micro-pci card at all? I have an intel-based laptop (samsung v70) with a wireless micropci card built in which is detected as fxp0 -- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PF Broken
Hi, I'm struggling with PF on FreeBSD 5.3-RELEASE... I've got a custom kernel configuration; including: device pf device pflog In rc.conf I've set: pf_enable=YES pf_rules=/etc/pf.conf pf_flags= pflog_enable=YES pflog_logfile=/var/log/pflog pflog_flags= dmesg -a shows: ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout link_elf: symbol in6_cksum undefined kldload: can't load pf : No such file or directory /etc/rc: ERROR: pflog module failed to load. link_elf: symbol in6_cksum undefined kldload: can't load pf : No such file or directory /etc/rc: ERROR: pf module failed to load. pfctl -sa says: pfctl: /dev/pf: No such file or directory How do I make it work? ;) Best, -AL. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why can't I access my floppy disk?
On Fri, Feb 25, 2005 at 06:41:10PM +0100, Anthony Atkielski typed: Loren M. Lang writes: I don't know why this is, it should still be possible, especially since you can mount cdroms. /dev/fd0 is read/write by root right? And the disk already had a formatted filesystem on it before you tried mounting it? Yes to both questions. But it must be securelevel, because it works on the test machine. The man page doesn't say anything about this restriction, though, nor is it obvious from what the page does say. From the securelevel manpage (which is symlinked to init(8) ): 1 Secure mode - the system immutable and system append-only flags may not be turned off; disks for mounted file systems, /dev/mem, /dev/kmem and /dev/io (if your platform has it) may not be opened for writing; kernel modules (see kld(4)) may not be loaded or unloaded. 2 Highly secure mode - same as secure mode, plus disks may not be opened for writing (except by mount(2)) whether mounted or not. This level precludes tampering with file systems by unmounting them, but also inhibits running newfs(8) while the system is multi- user. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
only 1 card is active, why
I use freebsd-5.3release as a gateway. I have 2 realtek 8139 card, one for Internet and the other for LAN. But when I execute ifconfig, only 1 card(rl0) is shown active, and the other(rl1) is shown no carrier. And when I exchange the wire, rl0 changes to no carrier, and rl1 changes to active. It seems that only 1 card can be in use. What can I do? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PF Broken
On Mon, 28 Feb 2005 15:34:09 +0200 Andrew Lewis [EMAIL PROTECTED] wrote: How do I make it work? ;) Forgot to run make installkernel. :( It's funny laugh -AL. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I killed my system with grep
Loren M. Lang wrote: On Fri, Feb 25, 2005 at 11:42:48PM -0500, Parv wrote: in message [EMAIL PROTECTED], wrote Loren M. Lang thusly... On Fri, Feb 25, 2005 at 12:14:04PM +0100, Ramiro Aceves wrote: I am running a FreeBSD 5.3 system with 64MB RAM and 150 MB swap. Yesterday I entered the command: # grep -R something / You probably hit a file under /dev/ and caused grep to hang. It's possible that as root, certain device files might hang the system, but nothing comes to mind at the moment unless /dev/io could do it. Also, think about what happens when grep hit's /dev/zero. It will never finish. Would using -I option (not search text-like files) help to avoid above described hang ups in /dev? No, it still searches all files, it just doesn't print the usual line that it matched, only whether there was success or not. You really just need to make sure grep never goes into /dev. Since your running 5.x, /dev is it's own filesystem of a unique type, so the following command will run grep on only filesystems of type ufs, which won't include network filesystems, or /dev: find / -fstype ufs -exec grep -H something {} \; - Parv -- Many thanks for the valuable info! I will never grep into /dev Ramiro. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PF Broken
So here's another question: pfctl says: No ALTQ support in kernel ALTQ related functions disabled ^- I remember reading something about there being early support available for this under fBSD? Where do I find the patches to make this work? I'm intending on using PF for shaping *only* so this is what I need. :) -AL. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PF Broken
On Mon, 28 Feb 2005 14:42:57 +0100 Dominique Goncalves [EMAIL PROTECTED] wrote: man altq ;-) Oh... Ok... So I set the relevant options in the kernel, rebuilt it looks good - thankyou. :) :) :) Excuse my nonsense AheaHeaHe aHeooHAeHAaHa Thanku, Thanku... -AL. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Boot error - 3Com 3C509-TPO Etherlink 3
Hey there. I'm trying to do a fresh install of 5.3, but can't get past this error: ep0: 3Com 3C509-TPO EtherLink III at port 0x300-0x30f irq10 on isa0 ep0: No irq?! ep0: ep_alloc() failed! (6) panic: resource_list_release: resource entry is not busy Uptime: 1s Automatic reboot in 15 seconds - press a key on the console to abort I had no problem with this model of NIC under 5.1, but I can't seem to get going with 5.3. I've swapped cards, swapped machines, swapped installation methods (floppy-vs-CD), and I always get the same error. Had I the choice, I'd just try a different model card, but that's not an option for me (the machine I'm installing it on doesn't have PCI slots, and I have gobs of these NICs at my disposal). Any idea what happened between 5.1 and 5.3 to break this card? How can I get past this error? Thanks! Paul. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how long does it takes you to do a make buildworld
On Wed, Feb 23, 2005 at 08:05:17PM +, Wouter van Rooij wrote: I'm very curious about how long it took you guys to do a make buildworld. So I thought let's start a topic about it.;-) Between 22 to 26 hours. Pentium classic, 166MHz, 32 MB RAM. When I bumped up the RAM to 48, it cut that down to under a day because it didn't have to swap all the time. I think it was somehwere between 8 and 16 hours then. Oh, on my good system, it takes about 15 mins. Dual P4 3.2 GHz with HT enabled (four virtual procs) 1 GB RAM And I haven't done a recent buildworld on my dual proc Alpha in a while. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Deleting orphaned ports
On Monday 28 February 2005 02:46 am, Nicolas wrote: Hello, Is there a way I can find all orphaned ports on FreeBSD (by using portupgrade or not) ? By orphaned ports I mean ports that are not used by any other ports (though they may be used by users, in which case it's up to me to decide wether to delete them). Thank you. Nicolas sysutils/portmanager will do this just run portmanager -slid This option will show you each port that no other port depends on, its long description and give you the option to remove it. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: samba ldap
On Mon, Feb 28, 2005 at 11:56:49AM +0100, Florian Hengstberger wrote: Disabled by default? Sorry, but I've never specified any ldap options in my smb.conf but the server always tries to authentificate the users with an ldap server. With or without LDAP compiled in, Samba shouldn't be asking for LDAP unless you specified it in smb.conf. Look in smb.conf and post the passdb backend setting. I played with LDAP for a while, so I have ; passdb backend = ldapsam The semicolon makes the line inactive. My installation uses tdbsam by default. HTH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how long does it takes you to do a make buildworld
On Mon, 28 Feb 2005 09:23:38 -0500 Kevin A. Pieckiel [EMAIL PROTECTED] spake thus: On Wed, Feb 23, 2005 at 08:05:17PM +, Wouter van Rooij wrote: I'm very curious about how long it took you guys to do a make buildworld. So I thought let's start a topic about it.;-) Between 22 to 26 hours. Pentium classic, 166MHz, 32 MB RAM. When I bumped up the RAM to 48, it cut that down to under a day because it didn't have to swap all the time. I think it was somehwere between 8 and 16 hours then. Oh, on my good system, it takes about 15 mins. Dual P4 3.2 GHz with HT enabled (four virtual procs) 1 GB RAM And I haven't done a recent buildworld on my dual proc Alpha in a while. With 5.3 release on a dual sparc 450 with 1Gb memory it takes about 3 hours give or take. I have a couple of dual PIII 1Ghz and they take between 30 to 50 mins. On a PII 333Mhz about 5hrs. Learnt early on never to try and do it on a tight schedule ;-) HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question about ipfw, natd and port forwarding.
Deling Ren [EMAIL PROTECTED] writes: Hi all, I am trying to setup a NAT box for my home network on freebsd 5.3. I am using ipfw and natd. I already got nat running but I am having problem with port forwarding. I am trying to forward port 80 on the nat box to an internal machine (192.168.0.7). I have the following as part of natd_flags: -redirect_port tcp 192.168.0.7:80 xx.xx.xx.xx:80 where xx.xx.xx.xx is the external IP of the nat box. Using the following ipfw rules: 00050 divert 8668 ip from any to any via sis0 65535 allow ip from any to any I have no problem connecting port 80 on the nat box from outside. But as I added stateful ipfw rules, it stops working. Running nmap from outside says port 80 is filtered. I am not sure how to configure the rules to enable port forwarding. Any help will be appreciated. Thanks. Deling Here are my ipfw rules: 5 allow ip from any to any via $iif 00010 allow ip from any to any via lo0 00014 divert 8668 ip from any to any in via $oif 00015 check-state 00060 skipto 800 tcp from any to any out via $oif setup keep-state 00080 skipto 800 icmp from any to any out via $oif keep-state 00130 skipto 800 udp from any to any out via $oif keep-state 00340 allow icmp from any to me in via $oif keep-state 00360 allow tcp from any to any dst-port 80 in via $oif setup keep-state 00380 allow tcp from any to me dst-port 22 in via $oif setup limit src-addr 5 00400 deny log logamount 5 ip from any to any in via $oif 00450 deny log logamount 5 ip from any to any out via $oif 00800 divert 8668 ip from any to any out via $oif 00801 allow ip from any to any 00999 deny log logamount 5 ip from any to any Stateful rules are quite tricky in combination with address rewriting, because the state being saved won't match the packet after it's passed through the rewriting. This rule set seems to handle that by splitting the redirect rule into one for each direction, but I'd still look in that direction for the trouble. Try removing the log limits and seeing what happens when an HTTP packet gets dropped. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make world fails..how to troubleshoot?
I am running: FreeBSD 5.3-STABLE-SNAP001 FreeBSD 5.3-STABLE-SNAP001 #0: Sun Jan 30 03:57:47 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 and I cvs'd up using: *default release=cvs tag=RELENG_5 (I first deleted /usr/src and then ran cvsup) Then following the normal way of building world, I went into /usr/src and issued: make buildworld After about 5-7mins I see this: building shared library libkrb5.so.7 building static krb5 library ranlib libkrb5.a sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 libkrb5.a /usr/obj/usr/src/i386/usr/lib sh /usr/src/tools/install.sh -s -o root -g wheel -m 444 libkrb5.so.7 /usr/obj/usr/src/i386/usr/lib sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 heim_err.h k524_err.h /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/krb5-protos.h /usr/src/kerberos5/lib/libkrb5/../../include/krb5-types.h /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/krb5.h krb5_err.h /usr/obj/usr/src/i386/usr/include ln -fs libkrb5.so.7 /usr/obj/usr/src/i386/usr/lib/libkrb5.so 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error # And then it stops. I did a full make world using the same gear Saturday and it worked fine...this is another new identical machine...but I cannot get world to build and this error means little to me.. Anyone shed some lite on this? thanks! -- J.D. Bronson Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone running Trend Micro IWSS in linux-compat mode?
Hi there's a dan's guardian plugin that uses MailScanner's AV handling to provide the anti-virus side of things. Of course the solution is NOT to use IE as the default browser in windows ;-) -- martin On Tue, 22 Feb 2005 10:20:17 +0100, David Landgren [EMAIL PROTECTED] wrote: Hello List, I'm running a squid proxy on FreeBSD. The big problem today is web-borne viruses, spyware and other crap. The general feeling on the Squid users mailing list is that Trend Micro's InterScan Web Security Suite product is the way to go. Having looked at the various incomplete, non-functional free offerings, I have no problem going with a commercial product. The trouble is, they only offer it on Windows, Linux and Solaris. So, is anyone running IWSS in Linux-compatibility mode? If so is there anything tricky to be aware of? I guess either way I'll try it out, and if the worst comes to the worst, I'll just have to reformat the beast and install Linux. But that would be a bummer. Thanks for any clues I can use, David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tap interface, bridging and freebsd 5.3
On Mon, Feb 28, 2005 at 12:18:55PM +0100, Andrea Venturoli typed: Andrea Riela wrote: but I don't see a tap interface in /dev or with ifconfig ... You won't see any network interface in /dev; just run ifconfig -a and check: you won't find any of the listed devices in /dev. That's right; they live in /dev/net/ : ifconfig -l rl0 plip0 lo0 tun0 ppp0 ls -l /dev/net total 0 crw--- 1 root wheel 253, 3 Feb 12 07:23 lo0 crw--- 1 root wheel 253, 2 Feb 12 07:23 plip0 crw--- 1 root wheel 253, 5 Feb 12 07:23 ppp0 crw--- 1 root wheel 253, 1 Feb 12 07:23 rl0 crw--- 1 root wheel 253, 4 Feb 12 07:23 tun0 Ruben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: samba ldap
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 28 Feb 2005, Bob Hall wrote: On Mon, Feb 28, 2005 at 11:56:49AM +0100, Florian Hengstberger wrote: Disabled by default? Sorry, but I've never specified any ldap options in my smb.conf but the server always tries to authentificate the users with an ldap server. With or without LDAP compiled in, Samba shouldn't be asking for LDAP unless you specified it in smb.conf. Look in smb.conf and post the passdb backend setting. I played with LDAP for a while, so I have ; passdb backend = ldapsam The semicolon makes the line inactive. My installation uses tdbsam by default. Hi, this is completely true for net/samba3. but as he's using net/samba which is currently samba-2.2.12 this is wrong. in the samba-2.2.xx series the ldapsam backend is a compile time option, so you can either have tdbsam OR smbpasswd OR ldapsam. this behavior was changed when switching over to samba-3.x where one can specify a different passdb backend in the smb.conf file if it was built. this offers the possibility to build a passdb backend chain. anyway, please make sure that the /etc/make.conf ! not smb.conf file contains NO WITH_LDAP=yes line and recompile net/samba WITHOUT specifying WITH_LDAP=yes on the command line. the resulting smbd should not be linked against libldap or liblber. if it is still linked against these two lib's there must be something wrong in the port. regards Joerg - -- The beginning is the most important part of the work. -Plato -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCIzJOSPOsGF+KA+MRAsrHAKCg1l5J0840dWvvBvnRe+RDQjMwgwCeKUSa NyLHxI2FXw2hypJjKAs0EHc= =iIUf -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dell 5160 Wireless Ethernet
hmm! are you sure it isn't just picking up a built-in firewire port, and not picking up the micro-pci card at all? To be honest, I have no clue... I do have another 1u Server in a coloc that uses the fxp driver for the builtin ethernet card. Is there any way to find out ? I can post my entire dmesg if that helps ? John wrote: On Sun, 27 Feb 2005 14:57:09 -0500, Philip M. Golllucci wrote Hi, I've got a dell 5160 notebook with builtin wireless ethernet. Windows XP home detects it as Dell Wireless WLAN 1350 Mini-PCI Card Freebsd5.2.1-RELEASE detects it as cardbus0: CardBus bus on cbb0 pccard0: 16-bit PCCard bus on cbb0 cbb0: [MPSAFE] fwohci0: vendor=104c, dev=8029 fwohci0: 1394 Open Host Controller Interface mem 0xfaff4000-0xfaff7fff,0xfaffb800-0xfaffbfff irq 16 at device 4.1 on pci2 fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 37:4f:c0:00:3a:98:e4:c1 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: IEEE1394(FireWire) bus on fwohci0 fwe0: Ethernet over FireWire on firewire0 if_fwe0: Fake Ethernet address: 36:4f:c0:98:e4:c1 sbp0: SBP-2/SCSI over FireWire on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) unfortunately, I have 0 experience with firewire. I edited my /etc/rc.conf file accordingly ifconfig_fwe0=DHCP hmm! are you sure it isn't just picking up a built-in firewire port, and not picking up the micro-pci card at all? I have an intel-based laptop (samsung v70) with a wireless micropci card built in which is detected as fxp0 -- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- END - Philip M. Gollucci Senior Developer - Liquidity Services Inc. Phone: 202.467.6868 x 268 E-Mail: [EMAIL PROTECTED] Web:http://www.liquidation.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: complete rookie sendmail question
On Feb 27, 2005, at 6:25 PM, Warren Block wrote: On Sun, 27 Feb 2005, Ken Hawkins wrote: alright I found an old blurb about handling a scenario similar to mine: http://lists.freebsd.org/pipermail/freebsd-questions/2003-July/ 014468.html it essentially says: If you want to get FreeBSD to forward your email to the MS-Exchange server, you have to: 1. make sure sendmail is running. (ie remove sendmail_* lines from /etc/rc.conf) Put sendmail_enable=YES in /etc/rc.conf. 2. # cd /etc/mail 3. # cp freebsd.mc `hostname`.mc That's doing things the hard way and might miss things the Makefile will do for you. Just: # cd /etc/mail # make 4. edit `hostname`.mc and uncomment the following line: define(`SMART_HOST', `your.isp.mail.server') 5. replace `your.isp.mail.server' with your Exchange server. Or any mail server you are allowed to smarthost through. 6. # make 7. # make install 8. # sh /etc/rc.sendmail restart Should be: 6. make all install restart which combines steps 7 and 8. 6 was already done above. can anyone point me toward what I require to create a domain file for our box name in the /usr/share/sendmail/cf/domain/ area? Let /etc/mail/Makefile help you by using make as shown above. did those steps: 1 cd /etc/mail edited freebsd.mc and changed: 2 make this generated: cp freebsd.mc web1.prosoundweb.com.mc /usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 web1.prosoundweb.com.mc web1.prosoundweb.com.cf m4: web1.prosoundweb.com.mc at line 49: include(/usr/share/sendmail/cf/domain/prosoundweb.com.m4): No such file or directory *** Error code 1 this is still looking for a prosoundweb.com.m4 file in the domain area. is there a step I am missing somewhere? I copied generic.m4 to prosoundweb.com.m4 and went through 'make all install restart' and I am still timing out talking to the host: Operation timed out with bhost1.broadjam.net. so obviously I am not done here ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
newbie usb wireless
hi all. i recently buy a usb wireless network card Cisco/Linksys. my problem is when i plug the usb appears with dmesg ugen0: Cisco-Linksys Wireless-G USB Network Adapter, rev 2.00/0.04, addr 2 perfect no!!! ??? but how do i install the card? to work? and appears with ifconfig? anybody help me? -- Pablo Allietti LACNIC -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how long does it takes you to do a make buildworld
Luke Kearney wrote: On Mon, 28 Feb 2005 09:23:38 -0500 Kevin A. Pieckiel [EMAIL PROTECTED] spake thus: On Wed, Feb 23, 2005 at 08:05:17PM +, Wouter van Rooij wrote: I'm very curious about how long it took you guys to do a make buildworld. So I thought let's start a topic about it.;-) Between 22 to 26 hours. Pentium classic, 166MHz, 32 MB RAM. When I bumped up the RAM to 48, it cut that down to under a day because it didn't have to swap all the time. I think it was somehwere between 8 and 16 hours then. Oh, on my good system, it takes about 15 mins. Dual P4 3.2 GHz with HT enabled (four virtual procs) 1 GB RAM And I haven't done a recent buildworld on my dual proc Alpha in a while. With 5.3 release on a dual sparc 450 with 1Gb memory it takes about 3 hours give or take. I have a couple of dual PIII 1Ghz and they take between 30 to 50 mins. On a PII 333Mhz about 5hrs. Learnt early on never to try and do it on a tight schedule ;-) On 'regular' Intel PCs with enough RAM (little swapping only), I use as a rule of thumb following equation: time = 1e5 / (speed * nproc) where time - in minutes speed - CPU speed in MHz nproc - number of processors For the examples above: 166MHz ~10 hrs. dual-3.2 GHz ~16 min. dual-1Ghz ~50 min. And I have another 6 PCs here, ranging from 150 MHz to dual GHz, for which this formula also works fine. Although my formula was heavily critized on the mailinglist, because there are too many factors that determine the compilation time, it sort of seems to work roughly on simple Intel based PC's. Regards, Rob. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Received mail timestamp is off by 7 hours
On Mon, 28 Feb 2005 03:36:41 -0800 Loren M. Lang wrote: On Mon, Feb 28, 2005 at 12:58:17AM +1100, Ian Smith wrote: On Sun, 27 Feb 2005 03:10:12 -0700 Pat Maddox [EMAIL PROTECTED] wrote: Alright, I got it all working now. Not sure how to change the time zone with config files, so I just used sysinstall to change it to MST (time zone is arbitrary, but since this is the zone I live in, it's convenient for me). Then I used ntpdate to sync it, and it's working well now. Thanks for pointing that out to me. I just thought that CET was central time :) Yes sysinstall's as good a way as any, it'll set your timezone and also let you choose between running with a UTC or local time CMOS clock. Or you can manually tun tzsetup(8) and create (or not) /etc/wall_cmos_clock .. see adjkerntz(8) Take little notice of people opining that you must or even should run CMOS UTC time; that's entirely up to you. I've always preferred local time CMOS clocks personally; sysinstall creates /etc/wall_cmos_clock and cron runs 'adjkerntz -a' halfhourly at times when daylight savings time might come or go in your zone, and that's always worked fine here. The reason using UTC for the cmos clock is that it never changes like US daylight savings does. Now if your timezone doesn't ever need to be pushed forward or backwards then it won't be a problem, but otherwise evertime the system boots up, it has to determine if the cmos time is correct or needs to be adjusted. A UTC time will always be correct and can be turned exactly into the correct time at the moment. I think that if FreeBSD crashed just after it booted up and adjusted the hour forward, then on the next reboot, it would adjust it another hour forward. In general, it is just harder to manage. Even worse would be my Quad boot system with Gentoo Linux, FreeBSD, OpenBSD, NetBSD. If I used local time for my cmos clock then every daylight savings change, each os would adjust the clock independently and I'd be 3 hours off. I don't believe that's correct Loren, at least, not for FreeBSD anyway. adjkerntz -i when run on entering multi-user mode does not set the CMOS clock, it just reads from it to update the kernel clock if need be. If /etc/wall_cmos_clock exists, it knows to add the timezone offset to move the kernel clock to UTC; otherwise it takes CMOS clock time as UTC. Only adjkerntz -a (run from cron) makes adjustments on daylight savings time boundaries, and that's the only time it will update the CMOS clock. If running local time CMOS (/etc/wall_cmos_clock exists) then adjkerntz -i continues running in background the whole time. Only on a (proper) shutdown does init send a SIGTERM to adjkerntz, which then updates the local CMOS clock (if necessary) from the then kernel clock. If the system crashes without proper shutdown (eg power + UPS failure) then any changes made to the kernel clock during uptime aren't updated back to the CMOS clock which is otherwise free-running, that's all. At least, that's my reading of adjkerntz(8) and experience over 7 years. I did read much of the relevant code back in 2000 on a 2.2.6 system, but admittedly haven't checked since then to see if any of that's changed, and since it's a full-time server, haven't had to consider multi-boot. I also run local time on my 4.5-R laptop, _very_ rarely booting Windows, and haven't struck any problems with CMOS time changes in three years. Disclaimer remains: The only thing to watch running wall_cmos_clock is that if you boot to single user mode, before /etc/rc has run 'adjkerntz -i' the system will assume CMOS is UTC, so any files then modified show timestamps in UTC (discovered the hard way in Jan 2000 on a box with a broken y2k BIOS :) I should mention that Jean-Marc Zucconi gave me lots of good pointers in 2000 re fixing our system to handle that crook y2k BIOS. He suggested C patches, but I wimped out by adding some date commands to /etc/rc :) Sorry if this is getting a bit long .. it really comes down to personal choice; I sure wouldn't want to dissuade anyone from running Zulu CMOS! Cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: complete rookie sendmail question
Apologies for the quick post. I found the domain file issue and i had changed the DOMAIN param in freebsd.mc from generic to prosoundweb.com. switching it back to generic obviously took care of that problem however after opening up the SMART_HOST: define(`SMART_HOST', `bhost1.broadjam.net') I am still timing out which leads me to believe it is a true issue of timing between the servers and NOT improper configuration on the box. If i understand everything now by uncommenting the SMART_HOST define and giving it our true mail server this should relay all mail generated and coming from and coming into the server to the actual mail server yes? I also now only have sendmail_enabl=YES in rc.conf am i way off base here? ken; On Feb 28, 2005, at 10:10 AM, Ken Hawkins wrote: On Feb 27, 2005, at 6:25 PM, Warren Block wrote: On Sun, 27 Feb 2005, Ken Hawkins wrote: alright I found an old blurb about handling a scenario similar to mine: http://lists.freebsd.org/pipermail/freebsd-questions/2003-July/ 014468.html it essentially says: If you want to get FreeBSD to forward your email to the MS-Exchange server, you have to: 1. make sure sendmail is running. (ie remove sendmail_* lines from /etc/rc.conf) Put sendmail_enable=YES in /etc/rc.conf. 2. # cd /etc/mail 3. # cp freebsd.mc `hostname`.mc That's doing things the hard way and might miss things the Makefile will do for you. Just: # cd /etc/mail # make 4. edit `hostname`.mc and uncomment the following line: define(`SMART_HOST', `your.isp.mail.server') 5. replace `your.isp.mail.server' with your Exchange server. Or any mail server you are allowed to smarthost through. 6. # make 7. # make install 8. # sh /etc/rc.sendmail restart Should be: 6. make all install restart which combines steps 7 and 8. 6 was already done above. can anyone point me toward what I require to create a domain file for our box name in the /usr/share/sendmail/cf/domain/ area? Let /etc/mail/Makefile help you by using make as shown above. did those steps: 1 cd /etc/mail edited freebsd.mc and changed: 2 make this generated: cp freebsd.mc web1.prosoundweb.com.mc /usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 web1.prosoundweb.com.mc web1.prosoundweb.com.cf m4: web1.prosoundweb.com.mc at line 49: include(/usr/share/sendmail/cf/domain/prosoundweb.com.m4): No such file or directory *** Error code 1 this is still looking for a prosoundweb.com.m4 file in the domain area. is there a step I am missing somewhere? I copied generic.m4 to prosoundweb.com.m4 and went through 'make all install restart' and I am still timing out talking to the host: Operation timed out with bhost1.broadjam.net. so obviously I am not done here ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
remote dump via ssh
Hi folks I want to level 0 dump a remote partition onto a large local disk. There's not enough space on the remote machine to dump to a file then sftp over. It needs to dump via ssh. any ideas? lokking for an elegant one-line solution thanks! -- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
php5-5.0.0.2 mod_php5-5.0.2,1
Hello, I've just installed FreeBSD 5.3. I did install using FTP from the main UK ftp server. I'm trying to use PHP with Apache. Am I right in thinking I need to install both php mod_php ? I can install either of the following OK from ports or packages. php5-5.0.0.2 mod_php5-5.0.2,1 But, when I try to install the other one I get 'conflicts' message. Do I need to install both ? If so, where can I find non conflicting versions ? Thanks David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portsdb -Uu - Stop.
Hi, today I cvsup-ed one of my 5.3 systems by using the same procedure as many times before: cvsup -g -L 2 ./ports-supfile pkgdb -F portsdb -Uu The first two steps (cvsup, pkgdb) went OK without error, but during portsdb -Uu I get an error as follows: # portsdb -Uu Updating the ports index ... Generating INDEX.tmp - please wait..apsfilter-7.2.6 : /usr/ports/print/acroread5 non-existent -- dependency list incomplete === print/apsfilter 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 What can I do against this error? Thanks much in advance for any clue, -ewald ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remote dump via ssh
On Mon, Feb 28, 2005 at 03:41:51PM +, John typed: Hi folks I want to level 0 dump a remote partition onto a large local disk. There's not enough space on the remote machine to dump to a file then sftp over. It needs to dump via ssh. any ideas? lokking for an elegant one-line solution dump 0aLf - /partition | ssh otherhost dd of=/parh/to/dumpfile Ruben thanks! -- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OpenAFS server for FreeBSD ?
Hi all, i just wanted to know if there is an OpenAFS server available for FreeBSD. I found only a client in the ports and also nothing about it in the ml archive Regards, Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - Phone : +49/421/218-4664 Fax :-3341 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share connection with PF
Ok, I have found THE solution :d Yes, we can share connection with only one card ! The method: Setup a card for the public address, set an alias = 192.168.0.1 for example set gateway_enable=YES in rc.conf reload routing ok, now here my PF file: ext_if=rl0 int_ip=192.168.0.0/24 ext_ip=82.66.171.150 no nat on $ext_if from $int_ip to $int_ip nat on $ext_if from $int_ip to any - $ext_ip pass in all pass out all This Work ! We don't nat from local network to local network and we nat all other ! Then all work fine Of course this can be only use with a computer with one card, a switch and the connection on the switch It's better with 2 cards, but possible with one ! See ya Le Sun, Feb 27, 2005 at 07:58:22PM +0100, Bachelier Vincent a écrit: From: Bachelier Vincent [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Date: Sun, 27 Feb 2005 19:58:22 +0100 Subject: Share connection with PF Ok, I have FreeBSD 5.3 with PF. How to share connection from a routeur with only one network card ? My network is like that: Internet connection in DHCP, Routing computer, Workstation computer on a switch The router take connection by DHCP and share it to my Workstation The workstation use my router to navigate Routeur: RL0: DHCP, alias 192.168.0.1 Workstation: RL0: 192.168.0.2 Gateways: 192.168.0.1 Ok, how to do ? Thx a lot for support -- Vincent Bachelier [EMAIL PROTECTED] Language: Francais / English Societ(e/y) : Solintech - http://www.solintech.fr Blog: http://dieghostfbsd.blogspot.com Sourceforge Project : Ripperwww: http://www.sourceforge.net/projects/ripperwww Citation (fortune): I haven't lost my mind; I know exactly where I left it. -- Vincent Bachelier [EMAIL PROTECTED] Language: Francais / English Societ(e/y) : Solintech - http://www.solintech.fr - Serveurs linux Blog: http://dieghostfbsd.blogspot.com Site perso : http://www.solintech.fr/freebsd/ - FreeBSD Donjon Citation (fortune): During a grouse hunt in North Carolina two intrepid sportsmen were blasting away at a clump of trees near a stone wall. Suddenly a red-faced country squire popped his head over the wall and shouted, Hey, you almost hit my wife. Did I? cried the hunter, aghast. Terribly sorry. Have a shot at mine, over there. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Firefox and Macromedia Flash Plugin...
Hello, Not sure if this is the best place to post this... If not please let me know. I would like to have flash capabilities in my Firefox 1.0 installation. I do not have Linux compat turned on and would prefer to keep it off if possible. No real reason for having it off... other than to see if I can run without it and still do everything I need. I have searched the archives and googled a good bit. Everyone seems to rely on the Linux plugin wrapper. Is there a 'no Linux compatibility alternative that works well with Firefox? Thanks, -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tap interface, bridging and freebsd 5.3
Ruben de Groot wrote: On Mon, Feb 28, 2005 at 12:18:55PM +0100, Andrea Venturoli typed: Andrea Riela wrote: but I don't see a tap interface in /dev or with ifconfig ... You won't see any network interface in /dev; just run ifconfig -a and check: you won't find any of the listed devices in /dev. That's right; they live in /dev/net/ : Nice to know :) Is this new to 5.x? I don't see them in a 4.11 system... bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remote dump via ssh
On Mon, 28 Feb 2005 15:41:51 +, John wrote Hi folks I want to level 0 dump a remote partition onto a large local disk. There's not enough space on the remote machine to dump to a file then sftp over. It needs to dump via ssh. any ideas? lokking for an elegant one-line solution thanks! In the time-honoured tradition of replying to onself after RTFM I do it like this: bash-2.05b# /sbin/dump -0uan -f - /usr/local | gzip -2 | ssh -c blowfish \ [EMAIL PROTECTED] dd \ of=/backup/dumps/level0/28022005/dump-usr.local.l0.gz /backup is an nfs-mounted external HD I wonder if it would pipe to gpg -c rather than gzip. -- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsdb -Uu - Stop.
Ewald Jenisch wrote: Hi, today I cvsup-ed one of my 5.3 systems by using the same procedure as many times before: cvsup -g -L 2 ./ports-supfile pkgdb -F portsdb -Uu The first two steps (cvsup, pkgdb) went OK without error, but during portsdb -Uu I get an error as follows: # portsdb -Uu Updating the ports index ... Generating INDEX.tmp - please wait..apsfilter-7.2.6 : /usr/ports/print/acroread5 non-existent -- dependency list incomplete === print/apsfilter 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 What can I do against this error? Thanks much in advance for any clue, -ewald You may do: cd /usr/ports make fetchindex to fetch index-file. You not must generate this file yourself and wasting your time and CPU-resourses. -- Alexey Karguine ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.4-PRERELEASE as cvsupdated today won't build, OS crashes
I did a cvsupdate several minutes before and tried to build world. A buildworld stops as shown below in building libkvm. Also, the system is really instable after I build the kernel for itself. Under heavy load, the machine get stuck and freezes. I have no more informations due to remote control of the system. Oliver === lib/libkvm rm -f .depend mkdep -f .depend -a-DLIBC_SCCS -I/usr/src/lib/libkvm /usr/src/lib/libkvm/kvm.c /usr/src/lib/libkvm/kvm_i386.c /usr/src/lib/libkvm/kvm_file.c /usr/src/lib/libkvm/kvm_getloadavg.c /usr/src/lib/libkvm/kvm_getswapinfo.c /usr/src/lib/libkvm/kvm_proc.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_i386.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_file.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_getloadavg.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_getswapinfo.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_proc.c /usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist': /usr/src/lib/libkvm/kvm_proc.c:269: warning: assignment makes integer from pointer without a cast /usr/src/lib/libkvm/kvm_proc.c:341: error: structure has no member named `p_runtime' *** Error code 1 Stop in /usr/src/lib/libkvm. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What am I doing wrong with MOUNT?
Posted last night to newbies -(my mistake) I'm brand new to FreeBSD and Unix world in general. My son has an internet site supported by FreeBSD that uses MySQL. I have set up a FreeBSD version 5.3 system on my home network using an 80gb drive sliced and partitioned to the FreeBSD 5.3 defaults. I installed MySQL version 3.23 from the ports because that is the version on my son's server. I wanted to install a copy of his database that I had MySQL dump on his FreeBSD server and FTP'd it to my Windows PC and placed on a CD. After directing the .SQL dump back to a like named database on my newly installed box I originally received a message that I was out of disk space. I find that MySql is working in /var/db/mysql and that the default installation slice/partition of FreeBSD must be too small to handle the databases I want to play with. So I read up on the file system and thought I understood that one can graft another drive onto a mount point on the system to add space at the mount point. I purchased a 120gb drive for under $50 after rebates and partitioned it into one FreeBSD partition, (not dangerously dedicated). I expected, from what I read, that if I mounted it at the /var mount point everything in the original /var directory would become unreachable/invisible. I tried it and I got the results I expected. The reason I thought I would replace the ENTIRE /var directory was because if /var is too small for MySQL it would probably quickly be exposed to be too small for something else unexpected. I mounted the new drive 1 to a temporary mount point and used the cp command to copy each directory in /var to the drive. I looked in all the new/old directories at the temporary mount point using ls -F and everything appeared to be there at the file level. I used the umount command to unmount the new drive/partition from the temporary mount point and remounted it at /var. I opened MySQL and created the named database I wanted and again started to collect the data from the CD by directing the .SQL file data to my database. Again, just like it did originally, after several minutes of creating tables the system reported that it had run out of space. My surprise is that every indication I get after I regain control of the system is that the database tables are being built within the ORIGINAL /var directory structure rather than the 120gb drive mounted on the /var mountpoint. If I use the df command while drive 1 is mounted it shows that /var on disk 0 is full and /var on disk 1 just has whatever I copied onto the drive when it was mounted to a temporary mount point. Also by experimentation/confirmation I find that simply creating a couple of new databases within MySQL while drive 1 is mounted on /var shows that the databases have been created on the original /var on disk 0 as directories after disk 1 is unmounted. What am I doing wrong or what don't I understand about a drive being mounted on /var where data is being written underneath it to the original /var/db/mysql/mydatabasename on disk 0 rather than onto the mounted disk 1? Thanks, Gerald ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I cut and paste from xterm _into_ another program ?
On Sun, 27 Feb 2005 12:16:09 -0800 (PST) Joe Schmoe [EMAIL PROTECTED] wrote: Hi, I am using a very vanilla XFree86 installation on fbsd 5.3. I am using ratpoison as my window manager. If I highlight text in an xterm, it is immediately in my buffer, and I can paste it into that xterm, or any other xterm. Further, if I copy text in my web browser, I can paste it into all my xterms. However, I cannot take text that I copied in my xterm and paste it into my browser (opera). Why is this ? Why can I go in one direction (paste from opera into xterm) but not the other (paste from xterm into opera) ? thanks. There are two different clipboards (buffers): One is used when you copy with the context menu (Right Click - Copy) or (usually) with Ctrl-C. This usually happenes in KDE/GNOME/GTK (etc.) applications. The way to paste this buffer is with the context menu (Right Click - Paste) or (usually) with Ctrl-V. The other is used when you just select text (like in console, or xterm). To paste it press the middle mouse button. If you have only two, press both at the same time. Try using the middle mouse button (or both if only two). That worked for me. Hope that helps. Best Regards, Ale ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox and Macromedia Flash Plugin...
Pietro Cerutti wrote: I'm sorry, at the moment there's no plugin for flash on this platform... Some time ago a signed a petition addressed to the guys at macromedia, telling them to do that, but nothing happened till now... Ok... Thanks. On Mon, 28 Feb 2005 10:09:45 -0600, Eric Schuele [EMAIL PROTECTED] wrote: Hello, Not sure if this is the best place to post this... If not please let me know. I would like to have flash capabilities in my Firefox 1.0 installation. I do not have Linux compat turned on and would prefer to keep it off if possible. No real reason for having it off... other than to see if I can run without it and still do everything I need. I have searched the archives and googled a good bit. Everyone seems to rely on the Linux plugin wrapper. Is there a 'no Linux compatibility alternative that works well with Firefox? Thanks, -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4-PRERELEASE as cvsupdated today won't build, OS crashes
On Mon, 28 Feb 2005, O. Hartmann wrote: I did a cvsupdate several minutes before and tried to build world. A buildworld stops as shown below in building libkvm. This is believed to now be fixed with an updated kvm_proc.c. If not, please let me know. Also, the system is really instable after I build the kernel for itself. Under heavy load, the machine get stuck and freezes. I have no more informations due to remote control of the system. Do you have approximate before/after dates for when the instability began? In particular, was it with an update in the last 48 or 96 hours? Robert N M Watson Oliver === lib/libkvm rm -f .depend mkdep -f .depend -a-DLIBC_SCCS -I/usr/src/lib/libkvm /usr/src/lib/libkvm/kvm.c /usr/src/lib/libkvm/kvm_i386.c /usr/src/lib/libkvm/kvm_file.c /usr/src/lib/libkvm/kvm_getloadavg.c /usr/src/lib/libkvm/kvm_getswapinfo.c /usr/src/lib/libkvm/kvm_proc.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_i386.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_file.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_getloadavg.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_getswapinfo.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_proc.c /usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist': /usr/src/lib/libkvm/kvm_proc.c:269: warning: assignment makes integer from pointer without a cast /usr/src/lib/libkvm/kvm_proc.c:341: error: structure has no member named `p_runtime' *** Error code 1 Stop in /usr/src/lib/libkvm. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4-PRERELEASE as cvsupdated today won't build, OS crashes
Robert Watson wrote: On Mon, 28 Feb 2005, O. Hartmann wrote: I did a cvsupdate several minutes before and tried to build world. A buildworld stops as shown below in building libkvm. This is believed to now be fixed with an updated kvm_proc.c. If not, please let me know. I did just within these minutes a cvsupdate and I can see kvm_proc.c has been updated. Also, the system is really instable after I build the kernel for itself. Under heavy load, the machine get stuck and freezes. I have no more informations due to remote control of the system. Do you have approximate before/after dates for when the instability began? In particular, was it with an update in the last 48 or 96 hours? Friday last week I did the last update. Then the machine was shut-down. Today morning we started again, and since then (I built a kernel after an 11 am cvsupdate and build kernel), the machine is freezing after I tried to build world. Maybe this is due to kernel and userland are out of sync? I try building a world now again, hope this clears up things ... Thanks, Oliver Robert N M Watson Oliver === lib/libkvm rm -f .depend mkdep -f .depend -a-DLIBC_SCCS -I/usr/src/lib/libkvm /usr/src/lib/libkvm/kvm.c /usr/src/lib/libkvm/kvm_i386.c /usr/src/lib/libkvm/kvm_file.c /usr/src/lib/libkvm/kvm_getloadavg.c /usr/src/lib/libkvm/kvm_getswapinfo.c /usr/src/lib/libkvm/kvm_proc.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_i386.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_file.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_getloadavg.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_getswapinfo.c cc -O -pipe -march=pentium4 -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_proc.c /usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist': /usr/src/lib/libkvm/kvm_proc.c:269: warning: assignment makes integer from pointer without a cast /usr/src/lib/libkvm/kvm_proc.c:341: error: structure has no member named `p_runtime' *** Error code 1 Stop in /usr/src/lib/libkvm. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4-PRERELEASE as cvsupdated today won't build, OS crashes
On Mon, 28 Feb 2005, O. Hartmann wrote: Also, the system is really instable after I build the kernel for itself. Under heavy load, the machine get stuck and freezes. I have no more informations due to remote control of the system. Do you have approximate before/after dates for when the instability began? In particular, was it with an update in the last 48 or 96 hours? Friday last week I did the last update. Then the machine was shut-down. Today morning we started again, and since then (I built a kernel after an 11 am cvsupdate and build kernel), the machine is freezing after I tried to build world. Maybe this is due to kernel and userland are out of sync? I try building a world now again, hope this clears up things ... Ideally, world and kernel being out of sync shouldn't cause instability of this sort. Typically, it might result in tools such as ps, top, or maybe ipfw not working as desired, but not hangs. If you could confirm the last date you had a kernel that didn't have instability problems, we can try and track down what change it is between then and now that caused the problem to arise. Robert N M Watson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What am I doing wrong with MOUNT?
On Mon, Feb 28, 2005 at 09:15:23AM -0800, Gerald Lightsey wrote: Posted last night to newbies -(my mistake) I'm brand new to FreeBSD and Unix world in general. My son has an internet site supported by FreeBSD that uses MySQL. I have set up a FreeBSD version 5.3 system on my home network using an 80gb drive sliced and partitioned to the FreeBSD 5.3 defaults. I installed MySQL version 3.23 from the ports because that is the version on my son's server. I wanted to install a copy of his database that I had MySQL dump on his FreeBSD server and FTP'd it to my Windows PC and placed on a CD. After directing the .SQL dump back to a like named database on my newly installed box I originally received a message that I was out of disk space. I find that MySql is working in /var/db/mysql and that the default installation slice/partition of FreeBSD must be too small to handle the databases I want to play with. So I read up on the file system and thought I understood that one can graft another drive onto a mount point on the system to add space at the mount point. I purchased a 120gb drive for under $50 after rebates and partitioned it into one FreeBSD partition, (not dangerously dedicated). I expected, from what I read, that if I mounted it at the /var mount point everything in the original /var directory would become unreachable/invisible. I tried it and I got the results I expected. The reason I thought I would replace the ENTIRE /var directory was because if /var is too small for MySQL it would probably quickly be exposed to be too small for something else unexpected. I mounted the new drive 1 to a temporary mount point and used the cp command to copy each directory in /var to the drive. I looked in all the new/old directories at the temporary mount point using ls -F and everything appeared to be there at the file level. I used the umount command to unmount the new drive/partition from the temporary mount point and remounted it at /var. I opened MySQL and created the named database I wanted and again started to collect the data from the CD by directing the .SQL file data to my database. Again, just like it did originally, after several minutes of creating tables the system reported that it had run out of space. My surprise is that every indication I get after I regain control of the system is that the database tables are being built within the ORIGINAL /var directory structure rather than the 120gb drive mounted on the /var mountpoint. If I use the df command while drive 1 is mounted it shows that /var on disk 0 is full and /var on disk 1 just has whatever I copied onto the drive when it was mounted to a temporary mount point. Also by experimentation/confirmation I find that simply creating a couple of new databases within MySQL while drive 1 is mounted on /var shows that the databases have been created on the original /var on disk 0 as directories after disk 1 is unmounted. What am I doing wrong or what don't I understand about a drive being mounted on /var where data is being written underneath it to the original /var/db/mysql/mydatabasename on disk 0 rather than onto the mounted disk 1? Just a thought - each time you mounted the new disk at /var, the system was already running in multi-user mode. That means that all network daemons etc have been started and are running /before/ you mount the disk. MySQL will continue to use the /original/ /var because it has open filehandles on that fs. Try stopping MySQL before mounting the new disk. Start MySQL again, and it should start up on the new fs. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgp4TuZRVGX1V.pgp Description: PGP signature
Re: portsdb -Uu - Stop.
On Mon, Feb 28, 2005 at 07:54:05PM +0300, Alexey Karguine wrote: You may do: cd /usr/ports make fetchindex to fetch index-file. You not must generate this file yourself and wasting your time and CPU-resourses. Hi Alexey, Thanks for the hint - it did the trick. However I still wonder why portsdb -Uu suddenly dies with this error after running for months without any problem... -ewald ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I cut and paste from xterm _into_ another program ? (NOTE - I am not an IDIOT)
Hmmm...so instead of actually reading my post, several folks have responded ... presumably just looking at the words cut and paste in my post and responding with a tutorial on how to use my mouse buttons. Thanks. So I'll start all over. I am running X on fbsd 5.3, with ratpoison as my window manager. I only run two apps - xterms (1 or 2 or 3 of them) and opera (my web browser). I can cut text in my xterms by simply highlighting it, and I can paste that text back into that xterm, or a different xterm by clicking my right mouse button. So yes, I know how to cut and paste thank you very much. I can also cut and paste in opera by selecting text and choosing edit-copy from the menu - I can then paste that text back into opera with edit-paste, or shift+insert, and FURTHER, I can paste that text into any of my xterms, with shift+insert OR with my right mouse button. THE PROBLEM IS, if I cut text in an xterm, I cannot paste it in opera. That is the only problem. So to recap, I know how to cut and paste - thanks. No need for the mouse button tutorials. All I want to know is, why can I not properly cut and paste from xterm TO opera, when I can already do it successfully gtom opera TO xterm ? Thanks. Hopefully anyone responding will actually read the post this time. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox and Macromedia Flash Plugin...
On Mon, Feb 28, 2005 at 10:09:45AM -0600, Eric Schuele wrote: I have searched the archives and googled a good bit. Everyone seems to rely on the Linux plugin wrapper. Is there a 'no Linux compatibility alternative that works well with Firefox? There is a port called flashplugin-firefox, using libflash. I tried it but is was prone to crashing on amd64, on 5.3-RELEASE-p4. Roland -- R.F. Smith /\ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ /No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \Respect for open standards pgp06349u17Wu.pgp Description: PGP signature
Re: FreeBSD 5.4-PRERELEASE as cvsupdated today won't build, OS crashes
On Monday 28 February 2005 11:06 am, Robert Watson wrote: On Mon, 28 Feb 2005, O. Hartmann wrote: I did a cvsupdate several minutes before and tried to build world. A buildworld stops as shown below in building libkvm. This is believed to now be fixed with an updated kvm_proc.c. If not, please let me know. Also, the system is really instable after I build the kernel for itself. Under heavy load, the machine get stuck and freezes. I have no more informations due to remote control of the system. Do you have approximate before/after dates for when the instability began? In particular, was it with an update in the last 48 or 96 hours? Robert N M Watson Robert, If it helps you narrow things down, I did my last cvsup-src just before 11:22AM yesterday, 02/27/05. Everything was smooth sailing. My system appears stable. 25211 Feb 5 07:48 /usr/src/lib/libkvm/kvm_proc.c I use it mainly as a desktop, so it might not be real indicative how stable it is as a server. Don -- Donald J. O'Neill [EMAIL PROTECTED] I'm not totally useless, I can be used as a bad example. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CVS-* lists
Hi, I maintain ~5 ports. Unlike most other commit mailing lists, in my opinion, we don't get the diffs in the e-mails. I was wondering if there was any way to get this for cvs-all since the maintainers have configured it off ? Obviously, I can use cvsweb/viewcvs but its not nearly as convient for glances. Thanks again. -- END - Philip M. Gollucci Senior Developer - Liquidity Services Inc. Phone: 202.467.6868 x 268 E-Mail: [EMAIL PROTECTED] Web:http://www.liquidation.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: How can I cut and paste from xterm _into_ another program ?(NOTE - I am not an IDIOT)
-Original Message- From: Joe Schmoe [mailto:[EMAIL PROTECTED] THE PROBLEM IS, if I cut text in an xterm, I cannot paste it in opera. That is the only problem. So to recap, I know how to cut and paste - thanks. No need for the mouse button tutorials. All I want to know is, why can I not properly cut and paste from xterm TO opera, when I can already do it successfully gtom opera TO xterm ? Thanks. Hopefully anyone responding will actually read the post this time. Your question was answered. Do you have a three button mouse or two With mouse wheel? Or a two button mouse With three button emulation? Any way, highlight text with left button Depressed, cut text with right button, paste With middle button (wheel) or with two button and Three button emulation click both buttons At the same time. dave ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[#21929378] Inclusion in Google index
Greetings, Google is currently blocked from crawling your site by the robots.txt file that your server uses to control access by search engines. As a result, users who are looking for your site are not able to find it using Google. As you know, a large fraction of internet users use Google as their starting point and over 50% of search engines referrals come from Google. Google's mission is to deliver the best search experience on the Internet by making the world's information universally accessible and useful. We would like to include your site at http://www.lv.freebsd.org in Google's index to make it easier for your users or customers to find your site. To allow Google to crawl your site, add the following lines to the robots.txt file: User-agent: Googlebot Allow: / Once you have allowed Google to access your site it can take between 4-6 weeks for your site to appear in our index. For additional information on getting your site included in our index, please see: http://www.google.com/webmasters/. Regards, Raina ** Raina Rathi Google, Inc. Business Development 1600 Amphitheatre Parkway Mountain View, CA 94043 Fax: 650-618-1840 If you do not wish to be contacted regarding inclusion in the Google index again, please send us an email so that we can remove you from our mailing list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4-PRERELEASE as cvsupdated today won't build, OS crashes
Sorry, my build world froze this minute, I have no contact to the machine and the scientist, which helped remotely, ist at home, should go for tomorrow ... :-( Robert Watson wrote: On Mon, 28 Feb 2005, O. Hartmann wrote: Also, the system is really instable after I build the kernel for itself. Under heavy load, the machine get stuck and freezes. I have no more informations due to remote control of the system. Do you have approximate before/after dates for when the instability began? In particular, was it with an update in the last 48 or 96 hours? Friday last week I did the last update. Then the machine was shut-down. Today morning we started again, and since then (I built a kernel after an 11 am cvsupdate and build kernel), the machine is freezing after I tried to build world. Maybe this is due to kernel and userland are out of sync? I try building a world now again, hope this clears up things ... Ideally, world and kernel being out of sync shouldn't cause instability of this sort. Typically, it might result in tools such as ps, top, or maybe ipfw not working as desired, but not hangs. If you could confirm the last date you had a kernel that didn't have instability problems, we can try and track down what change it is between then and now that caused the problem to arise. Robert N M Watson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What am I doing wrong with MOUNT?
On Mon, Feb 28, 2005 at 09:15:23AM -0800, Gerald Lightsey wrote: snip My surprise is that every indication I get after I regain control of the system is that the database tables are being built within the ORIGINAL /var directory structure rather than the 120gb drive mounted on the /var mountpoint. If I use the df command while drive 1 is mounted it shows that /var on disk 0 is full and /var on disk 1 just has whatever I copied onto the drive when it was mounted to a temporary mount point. Also by experimentation/confirmation I find that simply creating a couple of new databases within MySQL while drive 1 is mounted on /var shows that the databases have been created on the original /var on disk 0 as directories after disk 1 is unmounted. What am I doing wrong or what don't I understand about a drive being mounted on /var where data is being written underneath it to the original /var/db/mysql/mydatabasename on disk 0 rather than onto the mounted disk 1? What are the outputs of the commands ``mount'' and ``df -h''? Are you sure that you are first unmounting the partition on disk 0 that is mounted at /var before you mount the new disk (1) at /var? Did you reboot at any point? Keep in mind that you will need to alter the file /etc/fstab to let the system know that it now needs to be mounting the single slice from the new disk at /var. Here is quick rundown on how you could achieve your goal: 1) Mount the new disk at at /mnt with something like: # mount /dev/ad1s1a /mnt 2) Copy everything from your original /var partition to the new one: # cd /var tar cf - ./ | (cd /mnt tar xvpf -) 3) Edit /etc/fstab from something like: /dev/ad0s1e /varufs defaults 1 2 to: /dev/ad1s1a /varufs defaults 1 2 4) Unmount old partition from /var and mount new one at /var: # umount /var mount /var There may be an error or two in this, but it should serve to give the general idea. Also, you may want to reallocate the partition formerly mounted at /var for something else? Nathan pgpmwK9QVusPc.pgp Description: PGP signature
Re: FreeBSD 5.4-PRERELEASE as cvsupdated today won't build, OS crashes
Well, maybe it is an issue having a DELL Optiplex with a flat screen and keyboard and mouse plugged in the USB hub in TFT? Sometimes I watch mysterious log messages that some hub has been detached after a while. This is the last run I can do for now, hope plugging back mouse and keyboard to the onboard plugins will help - if not, there is another issue ... Oliver Donald J. O'Neill wrote: On Monday 28 February 2005 11:06 am, Robert Watson wrote: On Mon, 28 Feb 2005, O. Hartmann wrote: I did a cvsupdate several minutes before and tried to build world. A buildworld stops as shown below in building libkvm. This is believed to now be fixed with an updated kvm_proc.c. If not, please let me know. Also, the system is really instable after I build the kernel for itself. Under heavy load, the machine get stuck and freezes. I have no more informations due to remote control of the system. Do you have approximate before/after dates for when the instability began? In particular, was it with an update in the last 48 or 96 hours? Robert N M Watson Robert, If it helps you narrow things down, I did my last cvsup-src just before 11:22AM yesterday, 02/27/05. Everything was smooth sailing. My system appears stable. 25211 Feb 5 07:48 /usr/src/lib/libkvm/kvm_proc.c I use it mainly as a desktop, so it might not be real indicative how stable it is as a server. Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ip addr changes on 5.3 but not on 4.8
you might try paging through dmesg | more to see if the system recognizes your interface on bootup. %dmesg | more | grep dc0 dc0: 82c169 PNIC 10/100BaseTX port 0x6800-0x68ff mem 0xe900-0xe9ff irq 11 at device 9.0 on pci0 miibus0: MII bus on dc0 dc0: Ethernet address: 00:a0:cc:40:55:cf dc0: if_start running deferred for Giant dc0: [GIANT-LOCKED] atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 psm0: PS/2 Mouse irq 12 on atkbdc0 fdc0: Enhanced floppy controller at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: 1440-KB 3.5 drive on fdc0 drive 0 dc0: failed to force tx and rx to idle state .. .. 332 identical lines deleted .. dc0: failed to force tx and rx to idle state Any problems here? You *may* have a mismatch in autonegotiation or manual speed/duplex parameters between dc0 and whatever it's plugged into. Make sure both sides are set to autonegotiate or, if they're set manually, that both use the same speed and duplex parameters. Personal preference, but I disable autonegotiation wherever I can. I have had more connectivity problems with autoneg than virtually any other networking issue. /wsbs Thanks for explaining the reason for the different device names. I'm thinking the 4.8 nic may be an isa 3com 10mbps, while am quite sure the 5.3 nic is a pci netgear 100mbps. Marty Landman, Face 2 Interface Inc. 845-679-9387 Search Sort Easily: http://face2interface.com/Products/FormATable.shtml Web Installed Formmail: http://face2interface.com/formINSTal __ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsdb -Uu - Stop.
Ewald Jenisch [EMAIL PROTECTED] writes: today I cvsup-ed one of my 5.3 systems by using the same procedure as many times before: cvsup -g -L 2 ./ports-supfile pkgdb -F portsdb -Uu The first two steps (cvsup, pkgdb) went OK without error, but during portsdb -Uu I get an error as follows: # portsdb -Uu Updating the ports index ... Generating INDEX.tmp - please wait..apsfilter-7.2.6 : /usr/ports/print/acroread5 non-existent -- dependency list incomplete === print/apsfilter failed *** Error code 1 1 error The current version of the apsfilter port should be looking at /usr/ports/print/acroread instead of .../acroread5. 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). The makefile you have in /usr/ports/print/apsfilter is at least a week or two out of date, so double-check against the problems in this message. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading perl 5.8
Stefan Cars wrote: Hi! I'm upgrading perl 5.8 from the ports on a FreeBSD 5.3 machine, the problem is that alot of my installed modules doesn't work after the update (just a minor update from 5.8.2 to 5.8.6), probably becuase the @INC changed and did not include the mach directory of 5.8.2. Is this right ? Why can't it include the 5.8.2 mach dir ? Please read /usr/ports/UPDATING Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: only 1 card is active, why
On Mon, Feb 28, 2005 at 09:34:02PM +0800, gr wrote: I use freebsd-5.3release as a gateway. I have 2 realtek 8139 card, one for Internet and the other for LAN. But when I execute ifconfig, only 1 card(rl0) is shown active, and the other(rl1) is shown no carrier. And when I exchange the wire, rl0 changes to no carrier, and rl1 changes to active. It seems that only 1 card can be in use. What can I do? Thanks. Faulty wire? Faulty hub-port? -- Jonathan Chen [EMAIL PROTECTED] -- I don't want to achive immortality through my works.. I want to achieve it through not dying - Woody Allen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenAFS server for FreeBSD ?
Am Montag, 28. Februar 2005 16:54 schrieb Heinrich Rebehn: Hi all, i just wanted to know if there is an OpenAFS server available for FreeBSD. I found only a client in the ports and also nothing about it in the ml archive There is a special freebsd-afs Mailing list ( http://docs.freebsd.org/mail/archive/2005/freebsd-afs/) which isn't too heavily frequented ;) I remember several statements that openafs should compile and run on FreeBSD (the server part at least, for the client one should go with arla, but I think I can also remember positive results from one (the) porter at the ML). Since I'm not able to fix things I decided to drop AFS because if I decide to use it it's elementary to know it is supported. Best regards, -Harry Regards, Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - Phone : +49/421/218-4664 Fax :-3341 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgpVKXvGVwYuD.pgp Description: PGP signature
Re: php5-5.0.0.2 mod_php5-5.0.2,1 - should be php5-5.0.2 mod_php5-5.0.2,1
Sorry, I got those version numbers wrong, let me try again what I'm getting is ... # make install === Installing for php5-5.0.2 === php5-5.0.2 conflicts with installed package(s): mod_php5-5.0.2,1 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 I can install either php5-5.0.2 or mod_php5-5.0.2,1 but not both. I've never installed PHP before. Do I need to install both ?? Thanks David Hello, I've just installed FreeBSD 5.3. I did install using FTP from the main UK ftp server. I'm trying to use PHP with Apache. Am I right in thinking I need to install both php mod_php ? I can install either of the following OK from ports or packages. php5-5.0.0.2 mod_php5-5.0.2,1 But, when I try to install the other one I get 'conflicts' message. Do I need to install both ? If so, where can I find non conflicting versions ? Thanks David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation instructions for Firefox somewhere?
Ted Mittelstaedt writes: One of the several techs that work for that company has your attitude. He's been burned a few times when he's installed patches that broke existing software at a customer. However, the customers that he cares for have the highest percentage of broken-into servers. (by outside crackers) I don't know that one can assume cause and effect here. Many updates are not security-related. Of the security-related updates, not all are relevant in a given environment. And since most security updates move in the direction of greater restrictions on what programs can do, they are especially likely to break existing applications. From our point of view over at the ISP it seems to us that the pain of dealing with an app that breaks as a result of a security update is less than dealing with the pain of cleaning up a server that is broken into. And we have also observed that no matter how long the techs there work on a Windows server that has been broken into, once it's broken into it seems to get regularly re-broken into in the future, unless they nuke and repave it. The solution here is to stop using Windows, if possible. Windows systems are extremely complex and cannot easily be stripped to eliminate unnecessary vulnerabilities. You can close the holes you know about, but you don't know what other holes exist until Microsoft or someone else tells you about them, or until you're broken into. And you may be obligated to patch holes in software that is completely useless to you, simply because there is no way to turn that software off. Windows is a good solution for IT departments that have virtually no qualified people on staff. They can just plug in the servers and run them, and they can just apply every update that comes out. They'll spend more on hardware and licensing than they would with an open-source solution like FreeBSD, and they'll never have a firm handle on exactly what their servers are doing internally, but at least it lowers personal costs and allows a company to get some sort of server capability in house without searching for expensive IT talent. Used as directed, and with regular updates, Windows is moderately safe. I guess your attitude is safe enough if you regularly backup and you don't have critical data like credit cards or patient data or whatever that you don't want to have spread around. Yes. Confidential data like credit cards or medical records requires some fairly extraordinary precautions, anyway, ideally involving physical barriers to compromise (by distributing functions over different servers, etc.). Unfortunately a lot of small companies (and some large ones--cf. ChoicePoint) are exceedingly careless about how they handle this type of data, and with the prevalence of credit-card commerce, there's a lot of exposed information out there. Frankly I find this rather silly. The OS does very little that helps a cracker. About the only thing that bugs in the OS will allow a cracker to do is DoS a TCP/IP stack. The difficulty is in the application programs, such as nfs, samba, http, telnetd, sshd, smtp, dns, etc. which all of in the past had security holes discovered and closed - sometimes repeatedly. The same goes for Microsoft's products. Agreed, but it reduces to the same thing, since each OS tends to bring with it a set of applications. You may have problems with telnetd on UNIX, but not on Windows, since Windows doesn't generally run telnetd. You won't have problems with IIS on UNIX. Just because an app like IIS is bundled with Windows Server, and an app like telnetd is bundled with UNIX, does not mean that when those apps got cracked, that the OS was the problem. The whole environment was the problem. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]