minimal install is too big
Hi all, Recently, for pure entertainment and a little bit of a experience thing, I have been looking and/or finding many devices that have linux embedded. While in of itself the fact that it works, I'm not discounting. But I'd like to expand it or get it running on a system that I am familiar with. So I was playing with the idea of using FreeBSD on such devices, and I would deal with the individual hardware specs if I could get the general system small enough. The minimal install of FreeBSD as from the developers is about 130MB. I want to get something working on a 8MB flash. (For those curious, it's a ethernet NAS device) picobsd is discontinued, nanobsd claims it can fit in 64MB. I'd even go with some NetBSD flavor, as long as it's not "linux." I've done some research and would like to see this happen, but may just end up using the GPL code from Linksys to get it working as I need it to. Thanks for any update/idea/clue. If opportunity doesn't knock, build a door. "I can" is a way of life. More and Bigger is not always Better. The road to success is always uphill. Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545469 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is it difficult to move from Linux?
I subscribe to the digest, so below is a copy/paste of the question/mail i'm replying to: - QUOTE: Hi, I have been using Linux for over 10 years, but have for a number of reasons become very interested in learning to use FreeBSD. Are there any ex or current Linux users here and could you tell me how hard it is to make the shift from Linux? Is there anything in particular which has been written which would be useful to read? T.I.A. - /QUOTE You will get differencing opinions, views, and methods to FreeBSD. What seems to be generally recommended as a good and very true info is http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php A few more, such as onlamp.com, oreillynet.com and a few more pages really focus, and have a dead-on correct view, implementation and view of the BSD systems. Personally, I see FreeBSD the most mature, OpenBSD the most secure, and NetBSD as the most portable. DesktopBSD and PC-BSD on the desktops. I run FreeBSD on my desktop, but I'm willing to spend the little more time to have the name FreeBSD there. :) FreeBSD's 7.0 release is just around the corner, and on one of the developer's blogs (search this mailing list archives for the link) -- FreeBSD 7.0 is wanting to be released before the new year. Lots of people are dying for it to be released. I'm downloading the BETA1 right now, and gonna start throwing it on machines to help them test. Donovan, the most important thing that I can help you in your transition to FreeBSD is the fact that it may look like, feel like, and play like XYZ Linux distribution. But under the hood, is an entirely different engine. Take your time, it IS a different world and you WILL have to re-learn many things. Keeping this in mind, should make your FreeBSD transition one of the most entertaining, and useful transitions you could do. So the fact that your subject is a question, my answer is "not likely, if you have the time for it." --Tim If opportunity doesn't knock, build a door. "I can" is a way of life. More and Bigger is not always Better. The road to success is always uphill. __ 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]"
shell scripting problems
Hi all, I've been trying for a few weeks to try to get this to work, and the /bin/sh keeps snagging the command line before passing it to pkg_info I'll use a different shell if I need to, but since I got everything except this one thing working, i'd rather keep it in sh In the shell script, i have a pkg_info -qLx "^$PKG-[0-9,._]+$" also tried (-X)tended regex instead of the standard rege(-x). sh keeps erroring out saying various $" isn't a valid variable name, or pkg_info doesn't find the anything there. And it does exist. This all came around with me trying to automatically update a bunch of ports. xorg-fonts is outdated, but xorg-fonts-100dpi or xorg-fonts-75dpi isn't. So the regex returns multiple values (as above). I just want the first, hence the anchors. Any ideas on how to get sh to let pkg_info see everything? Various escaping around the end $ just doesn't work. I'll keep working on it, but i'd like to see how you all would suggest getting it to work. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: shell scripting problems
I'm sure it's faulty Which is why I'm asking for help My regexes (in it's various forms) produce the output similar to: xorg-fonts-75dpi xorg-fonts xorg-fonts-100dpi ... ... ... and I'm wanting my regex to return the 2nd value, in this example, in this list. The problem is the shell is taking the end anchor $ as the start of a variable, and no matter how I escape it, it seems to never work. I'm sorry for not explaining properly. Maybe the above would help. On Fri, Nov 28, 2008 at 11:08 PM, Sahil Tandon <[EMAIL PROTECTED]> wrote: > Tim Judd <[EMAIL PROTECTED]> wrote: > > > I've been trying for a few weeks to try to get this to work, and the > /bin/sh > > keeps snagging the command line before passing it to pkg_info > > > > I'll use a different shell if I need to, but since I got everything > except > > this one thing working, i'd rather keep it in sh > > > > In the shell script, i have a > > pkg_info -qLx "^$PKG-[0-9,._]+$" > > also tried (-X)tended regex instead of the standard rege(-x). > > > > sh keeps erroring out saying various $" isn't a valid variable name, or > > pkg_info doesn't find the anything there. And it does exist. This all > came > > around with me trying to automatically update a bunch of ports. > xorg-fonts > > is outdated, but xorg-fonts-100dpi or xorg-fonts-75dpi isn't. So the > regex > > returns multiple values (as above). I just want the first, hence the > > anchors. > > > > Any ideas on how to get sh to let pkg_info see everything? Various > escaping > > around the end $ just doesn't work. I'll keep working on it, but i'd > like > > to see how you all would suggest getting it to work. > > I am not sure what the problem is, but are you just looking for the > output of "pkg_info -qxL" on the *first* instance of xorg-fonts-*? > > % pkg_info -qL `pkg_info | grep xorg-fonts | head -1 | cut -d\ -f1` > > FWIW, your regexp also looks faulty. > > -- > Sahil Tandon <[EMAIL PROTECTED]> > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: shell scripting problems
This seems to be the ticket. I'll be watching it but now I have an example on how to dual-quote a string. Thanks very much, Perry On Sat, Nov 29, 2008 at 1:37 AM, <[EMAIL PROTECTED]> wrote: > > In the shell script, i have a > > pkg_info -qLx "^$PKG-[0-9,._]+$" > > also tried (-X)tended regex instead of the standard rege(-x). > > > > sh keeps erroring out saying various $" isn't a valid variable > > name ... > > Both sh and csh will try to treat $ inside of "" as a variable > reference. Does it work any better if you enclose the $ in '' > instead? > > If you need the first $ to be a variable reference and the second > to be used literally, you may need to do something like > > "^$PKG-[0-9,._]+"'$' > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Samba, WinVista and Roaming Profiles
On Mon, Dec 1, 2008 at 10:53 AM, Peter Ulrich Kruppa <[EMAIL PROTECTED]>wrote: > Hello, > > I hope my question isn't too off-topic for this list, but usually some > people come up with good ideas ... > > We have got a FreeBSD Samba Server (set up as PDC) and about 100 WinXP > desktops and laptops. The WinXP machines can log into the network, connect > to home directories and shares and download (roaming) profiles. Everything > works fine with them. > > Now we have purchased 2 new WinVista desktops. Login and shares work all > right, but they can't download the profiles. They will deliver an error > message saying they lack appropriate permissions. > > Any idea what is happening there? > > Thanks for your help and greetings, > > Uli. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > http://lists.samba.org/archive/samba-technical/2007-April/053051.html May the power of Google help your next question's answer. Long story short, Vista's "profile" is incompatible with anything older. It must use a "V2" of the profile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what script is whacking root's files
On Wed, Dec 3, 2008 at 7:44 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote: > Derek Ragona wrote: > >> I have a freshly installed 7.0 release server. The configuration files >> (all dot files including .ssh etc.) in /root keep getting deleted. I >> assume this is from a script running from periodic and can be set NOT to >> delete these files. Can someone point me where I need to make this change. >> I have already combed through the handbook and mailing list archives. >> > > There is no such standard script in FreeBSD. > > Kris > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > I'd make sure there's not something like a tmpfs/mfs filesystem that /root is being used on. If / is on a ramdisk image of any kind, on each reboot, it should disappear. Perhaps you should paste your fstab and current mounted filesystems as an aid to debug. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Firewalls using a DNSbl (and distributed ssh attacks)
On Wed, Dec 3, 2008 at 7:53 PM, Daniel Bye <[EMAIL PROTECTED]>wrote: > On Wed, Dec 03, 2008 at 07:43:26PM -0600, Jeffrey Goldberg wrote: > > It's not a big issue, but I'm wondering if there is a DNSBl that lists > > IPs that are engaging in brute force ssh attacks. And if there is > > such a list, is there a way to integrate that information into a > > firewall or sshd. > > > > As I've said this really isn't a big issue for me, as the brute force > > attempts at sshd are nothing but an annoyance as I review logs. > > > > The attacks that I'm seeing appear to be coordinated and distributed. > > That is, there will be one attempt on username "fred" from one IP > > immediately followed by an attempt on "freddy" from another IP > > followed by an attempt on "fredrick" from a third source and so on. > > I don't know of any DNSbl type service, but I am using DenyHosts with > very great success. Its synchronisation feature allows participating > instances of the script to share IP addresses of misbehaving hosts, > so as soon as an address hits the database, it's only a matter of an > hour or so before your instance can start blocking it. > > The basic setup uses TCP wrappers to block offending hosts, but I am > using the datafile it maintains as a file-based table in pf, which I > reload periodically from a cronjob. > > Dan > > -- > Daniel Bye > _ > ASCII ribbon campaign ( ) > - against HTML, vCards and X >- proprietary attachments in e-mail / \ > Depending on the role of the machine, I've started to firewall off remote ssh connects to my machines except only the hosts I use. A dyndns hostname + pf querying DNS and the static IPs that I have at the office. All others don't need access, and if push comes to shove, I can update dyndns IP with anything I'm behind, allow DNS propogation, (hour?) and then connect. works quite well. pf example: block in on fxp0 all pass in on fxp0 inet proto tcp from { , "sub.dyndnsorg.tld" } to port 22 keep state flags S/SA When you implement this, the firewall sees no existing state (I think) and will kill your connection. If you didn't typo the firewall rule, you can connect right back. --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installation on a Dell Poweredge R805
On Tue, Dec 2, 2008 at 10:57 AM, Chris Boyd <[EMAIL PROTECTED]> wrote: > I'm having an issue installing FreeBSD 7 AMD64 on a Dell Poweredge R805. > > The system starts to boot, throws several mpt_cam_event 0x12 and 0x16 > errors, presents the boot menu, and then crashes with a "Fatal trap 12: page > fault while in kernel mode" and then wants to reboot. > > This is a dual CPU, quad core Opteron 2352 system with 8GB RAM and dual SAS > on a PERC6 controller. I've tried various memory and BIOS settings to see > if I can get it to boot, but it either does the bits describe above, or > hangs hard. > > Any and all suggestions appreciated. > > --Chris > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > 1: PERC6 is not listed as supported, last time I checked. 2: Dells are notorious for not working very well with !Windows, !Linux (haven't tried something like Open Solaris) I have a new PE2950's at the office, FreeBSD sees everything, including the PERC6i controller, but the motherboard NICs are suffering horribly bad for performance. Ping flood from the console to it's own IP address bound to the NIC looses 30% of it's packets. Also, what's "NIC2" on the motherboard/case labeling, is the first NIC FreeBSD finds. NIC1 is the 2nd nic FreeBSD finds. Just oddities. Honestly, I would either stick with IBM or iXsystems branded machines. Others may have success, but those two just seem the best I've seen. Custom builds are always an option too, and the warranties for custom builds are often equal, or longer, than a brand-name machine, but you have to talk to each device vendor, instead of "Dell" for example. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what script is whacking root's files
On Thu, Dec 4, 2008 at 5:30 AM, Derek Ragona <[EMAIL PROTECTED] > wrote: > At 01:11 AM 12/4/2008, Tim Judd wrote: > > On Wed, Dec 3, 2008 at 7:44 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote: > > > Derek Ragona wrote: > > > >> I have a freshly installed 7.0 release server. The configuration files > >> (all dot files including .ssh etc.) in /root keep getting deleted. I > >> assume this is from a script running from periodic and can be set NOT to > >> delete these files. Can someone point me where I need to make this > change. > >> I have already combed through the handbook and mailing list archives. > >> > > > > There is no such standard script in FreeBSD. > > > > Kris > > > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > [EMAIL PROTECTED]" > > > > > I'd make sure there's not something like a tmpfs/mfs filesystem that /root > is being used on. If / is on a ramdisk image of any kind, on each reboot, > it should disappear. > > Perhaps you should paste your fstab and current mounted filesystems as an > aid to debug. > > > I didn't think it would be from the way the filesystems are mounted, so > here's that information: > > cat /etc/fstab > # DeviceMountpoint FStype Options Dump > Pass# > /dev/da0s1b noneswapsw 0 0 > /dev/da0s1a / ufs rw 1 1 > /dev/da0s1d /usrufs rw 2 2 > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > > mount > /dev/da0s1a on / (ufs, local) > devfs on /dev (devfs, local) > /dev/da0s1d on /usr (ufs, local, soft-updates) > > /root is on /dev/da0s1a > > This particular server is running in a VM on a vmware esx 3.5 server. The > server runs fine, but every so often the dot files disappear for root. I > have not found the behavior to follow a reboot, but some period of time. > Hence my suspicions it was a periodic script. > > -Derek > all dotfiles are hidden, in terms of the usability of the files. Some shells will alias 'ls' with -a to show all files (including dotfiles). Other shells don't alias it so it hides the files. Are you sure they really disappear, or are they gone from a directory listing because ls is not being called with -(a)ll files displayed? I just think that your files are not being deleted. Something is just not being specified. Check system crontab file (/etc/crontab) and your own crontab (crontab -lu root) Change your root password, incase somebody's in there, deleting your files to hide their own tracks. chmod -R 0600 /root I agree that there isn't something "correct" about this, but i'm positive it's not a base periodic script that's included in FreeBSD Base install. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: LDAP server gone -> impossible to login locally!
On 9/22/09, Daniel O'Connor wrote: > On Wed, 23 Sep 2009, Erik Norgaard wrote: >> This sounds like the correct solution, AFAIK it's the same concept as >> for NIS, first check local files, then ldap. You don't want your root >> credentials possibly be leaked accross the network. On the other hand >> you don't want or need user accounts in the local files. >> >> Default first check local files which is fast, then fall back on ldap >> if the user is not found. > > Actually I wrote them the wrong way, how odd! > I actually have.. > group: cache ldap files > passwd: cache ldap files > > I think that if it fails ldap, it does so very quickly - it certainly > did this morning when I rebooted uncleanly. > > I believe I did try it as "cache files ldap" but I had some issues, I > can't recall what they were though. I had quite a bit of difficulty > getting it to work acceptably so when it did I left it alone :) > > On a related note, why is slapd so damn fragile? It's a righteous pain > in the bum the way you have to run db_recover-X.Y /var/db/openldap-data > if slapd fails to start. I run OpenLDAP on a few boxes. I don't recall the power failures or rude shutdowns to ever give me problems... Course, I don't have anything hi-traffic, so I would definately have time for softupdates to flush to disk before a crash is inevitable. I've marked this thread, it's been useful already with the '[unavail=continue notfound=continue]' pieces after the ldap dictionary in nsswitch.conf Now I have another command, db_recover > It wouldn't be so bad if it logged anything, but even with full logging > it gives a very cryptic message and if you have logging disabled (which > is recommended for performance!) it won't say _anything_. To have OpenLDAP logging, you have to insert local4.* statements in syslog.conf, touch the given file, and restart syslog. Any logging that OpenLDAP would need to send, is then recorded in syslog. Why they picked 4, of 1 through 7, I'm not sure. I'd help you with that, if you'd like. > > -- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Is it possible to setup a graid3 on root?
On 9/25/09, Modulok wrote: > Just wondering if it is possible to setup a striped root partition > (graid3) and still be able to boot from it. Logically, it doesn't > sound promising, but has anyone tried this? > > Thanks! > -Modulok- Remember -- To boot off a distributed RAID, it needs to be known, established, turned "on" before the kernel loads. Software raid is turned on after the kernel probes and starts running /etc/rc Software RAID1 is not striped across disks, so it can be booted from. All other software RAIDs on the drives are unable to be individualized, and shouldn't logically be bootable. I doubt you can do it with graid3 part of the kernel either. This is a big advantage over a hardware raid card... the card takes care of the distribted peices of a file. Sorry it wasn't a positive answer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: named issue
On 9/25/09, Jos Chrispijn wrote: > [named] > > Lately I get messages like thin in my all.log: > > named[605]: too many timeouts resolving '*.*.*.*.zen.spamhaus.org/A' (in > 'zen.spamhaus.ORG'?): disabling EDNS > > (*) is random ip address > > Now before I add the following lines in /etc/named.conf or > /var/named/chroot/etc/ > named.conf: > > logging { > category lame-servers {null; }; > category edns-disabled { null; }; > > }; > > I would like to know what I could do to prevent generation of that line? > > Thanks, > Jos Chrispijn That's likely a email DNSBL (DNS Blacklist). zen.spamhaus.org is known for DNSBL. Disable it in your mailserver... but then you get nasties. --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Question about FreeBSD installation procedure
On 9/29/09, Polytropon wrote: > Honestly, I've never seen the need for extended DOS partitions. > Let's say you intendedly want to run a multi-OS system, then > you can install four systems, each one in its own slice, and > within the slice, the partitiions, if needed and supported. By using BSD jargon, I will describe some other limitations, some of which you may not yet have gone through: The OS installer is given the opportunity to partition for you. If you tell Linux "to install" it can create multiple slices, eating up your 4 slices. If you setup 2 windows OSs, the 2nd OS gets added as an extended DOS slice. The limitation of not installing BSD into an extended DOS partition is a good decision. It makes it difficult for the MBR code to dissect the extended DOS partition to find the boot sector. I am 100% for the requirement of a slice. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Problem upgrading 7.2 to 8.0-RC1
On 9/30/09, Leonardo M. Ramé wrote: > Hi, I'm trying to upgrade from 7.2 to 8.0-RC1 without success. Any hint? > > This is my data: > > uname -a: > FreeBSD toshiba-leo.localhost.localdomain 7.2-STABLE-200906 FreeBSD > 7.2-STABLE-200906 #0: Sun Jun 7 10:23:49 UTC 2009 > r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > freebsd-update: > > [r...@toshiba-leo]# freebsd-update -v debug -r 8.0-RC1 upgrade > Looking up update.FreeBSD.org mirrors... 3 mirrors found. > Fetching public key from update5.FreeBSD.org... fetch: > http://update5.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found > failed. > Fetching public key from update2.FreeBSD.org... fetch: > http://update2.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found > failed. > Fetching public key from update4.FreeBSD.org... fetch: > http://update4.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found > failed. > No mirrors remaining, giving up. > > > > Leonardo M. Ramé > http://leonardorame.blogspot.com freebsd-update code (at last check) supported updating -RELEASE and -SECURITY systems, but not -STABLE. Because it's trying to fetch a -STABLE uname, and it doesn't have an idea of the latest time it was built (looks like a snapshot, to us humans), it is unable to move past the keys. You'll need to run -RELEASE[-p#] to update or update from source. the freebsd-update program is a shell script. read it, it's enlightening. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Query about pf.conf
ftp-proxy(8) please read. Especially the configuration section. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Ezjail, Perl, upgrading & best practices advise please
On 10/2/09, Troy Kocher wrote: > All, > Couple issues: > 1) I need some understanding on how to deploy and upgrade perl > properly in this jailed environment. > 2) I need some help on my current tangle of Perl library complaints > > Issue #1: In a jailed environment how many installations of perl are > recommended (ie 1 host system 2 basejail 3 each jail) ? My sense > would be that one on the host and one in the basejail, would be the > most efficient. If that is the case how do I upgrade the perl in the > basejail? How do I handle different versions of perl installed in > each of the jails? Your questions indicate you setup a base jail and nullfs mount the points to the other jails. Although it is written it can be done, I have to ask why you decided to do it this way? base distribution only takes about 128MB of disk space, and nearly nothing for RAM (by today's disk and RAM sizes). I recommend each jail have their own world installed, preferrably the same world because since the jails share the world with the hosts' kernel, and world+kernel must be kept in sync, setup a host on release, and all jails on a release too. I'm currently experimenting (for fun) a -stable host, and -release jails, which is unsupported. It gets a tad annoying when you manage multiple jails that it has no concept of already built ports and to use them, so I find myself cancelling out of a lot of builds to install the package created from another jail. > Issue #2: My lack of understanding has me in a mess currently. My > host environment is using (perl-threaded-5.8.9_3), in jail #1 I have > (perl-5.8.9_3) when I try to use cpan here is what happens: > > jail1#perl -MCPAN -e 'shell' > Terminal does not support AddHistory. > cpan shell -- CPAN exploration and modules installation (v1.9301) > ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?) > print() on closed filehandle FOUT at > /usr/local/lib/perl5/5.8.9/Term/ReadLine.pm line 193. > readline() on closed filehandle FIN at > /usr/local/lib/perl5/5.8.9/Term/ReadLine.pm line 301. > print() on closed filehandle FOUT at > /usr/local/lib/perl5/5.8.9/Term/ReadLine.pm line 203. > Terminal does not support GetHistory. > Lockfile removed. Can't comment on this, seems a missing dependency and other problems. > In Jail #2 another issue. . : > > jail2#pkg_info |grep perl > mod_perl2-2.0.3_3,3 Embeds a Perl interpreter in the Apache2 server > p5-DBI-1.60.1 The perl5 Database Interface. Required for DBD::* > modules > p5-Devel-Symdump-2.0800 A perl5 module that dumps symbol names or the > symbol table > p5-Error-0.17012Perl module to provide Error/exception support for perl: > Er > p5-GD-2.35_1A perl5 interface to Gd Graphics Library version2 > p5-GD-Graph-1.44.01_1 Graph plotting module for perl5 > p5-MIME-Tools-5.426,2 A set of perl5 modules for MIME > p5-Scalar-List-Utils-1.19,1 Perl subroutines that would be nice to > have in the perl cor > p5-Storable-2.18Persistency for perl data structures > p5-Term-ReadKey-2.30 A perl5 module for simple terminal control > p5-Test-Harness-3.10 Run perl standard test scripts with statistics > p5-Test-Simple-0.80 Basic utilities for writing tests in perl > p5-Time-HiRes-1.9712,1 A perl5 module implementing High resolution > time, sleep, an > perl-5.8.8_1 > > then I try cpan > jail2# perl -MCPAN -e 'shell' > /libexec/ld-elf.so.1: Shared object "libm.so.4" not found, required by > "perl" A jail that has been updated from (for example) a 6.x release to a 7.x release with ports from 6.x will look for the shared libraries from 6.x, when 7.x has them updated and possibly renamed. Has jail2 been updated? > Troubleshooting this complaint on jail2 I discovered the time stamp on > the host was different than the time stamp on the basejail. > what time stamp? of what? where? > > Anyway I'm puzzled, and I'm not really sure where to go from here. . > I'd appreciate any help.. > > Thanks > Troy It won't be a "do these and you'll be fixed" - given the initial post. I'm trying to gain more information before I can help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Netwroked Storage
On 10/2/09, Grant Peel wrote: > Hi all, > > I now have a quote from Dell, for a 4 TB, RAID5 NX3000 NAS. > > It comes pre configured with Windows Storage Server 2008 Standard Edition. > Dell support assures me it will be compatable with NFS on FreeBSD, but if we > are not happy with it we can wipe it and install whatever software we want > ... FreeNAS for example. > > Questions: > > Has anyone used/using Windows Storage Server 2008 with FreeBSD clients? Is > there any compatability loss? (NSF). > > Is anyone using this specific hardware? If so, comments please! > > -Grant I decline Dell if I were to make the choice. They support SOME linux, and Windows on the hardware. Microsoft has made "Services for UNIX" that Dell tends to install on their Windows NAS devices. iXsystems makes servers, storage, and everything else with a native BSD host, at a reasonable cost. They back PC-BSD development so they are familiar with the FreeBSD name. Will the Dell with WS2008 Storage and FreeBSD talk? They should. Are they reliable? That's questionable. I don't expect anyone to share my views, but it was asked for comments. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: BTX Halted
On 10/6/09, Tseveendorj Ochirlantuu wrote: > Dear all, > I've found something strange I have never seen before. When start booting > FreeBSD 7.2 amd64 from ISO image in ESX 4.0 then error occurs. You can see > it from snapshot. > > I have following. > > Dell R900 with 4 CPU, 64GB RAM > ESX 4.0 installed on R900 > FreeBSD 7.2 amd64 > > What is this mean? > > Best regards, > Tseveen. > BTX - BooT eXtender, the process of moving from 16-bit real mode to 32-bit (or 64-bit?) protected mode. The system was unable to do this conversion. Happens on buggy "chipsets" (in quotes because this is on ESX). Go back to VM properties and double, triple check everything, go into the BIOS and disable any "window-isms" like PnP OS, power management, etc. You might have a corrupt download, check your MD5/SHA1 and redownload if applicable. --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Trouble getting new raid array to boot
On 10/8/09, David LeCount wrote: > I just built an aac raid array. I partitioned the disk, set the partition as > active, and copied all my files to it with tar. I changed fstab on the new > drive to reflect the changes. When I try to boot to the array, it says > invalid partition. I've tried typing everything I could as the partition but > they all fail. I was going to try making a new install on the new partition > and then copy everything but I'm having unrelated problems with my burner. > What do I need to do to get this thing to boot up? Is the aac driver in the kernel, or loaded as a kld before you get past the boot blocks, and loader? --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Trouble getting new raid array to boot
On 10/8/09, David LeCount wrote: >> Is the aac driver in the kernel, or loaded as a kld before >> you get >> past the boot blocks, and loader? > > It's built into the kernel. Then my answer would be missing MBR or boot blocks, an active partition alone won't make a system boot. it's just a flag to say which partition is bootable, but doesn't mean that the boot flag itself makes the partition boot. fdisk(8) and bsdlabel(8) -- see the -B option to both. If you have a dangerously dedicated disk, ignore fdisk. If you don't have a bsdlabel, ignore bsdlabel. I do both on any standard install. --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: restore(8)ing new / -- boots on metal but not in a VM
On 10/12/09, Alex Jurkiewicz wrote: > Hi all, > A little background: I'm writing a script that will allow me to > restore(8) a standard FreeBSD partition to multiple machines. So far, > I'm at the 'see if it works in principle' stage, and I'm finding > something strange. > > My procedure: > * Start with an empty hard drive (ad0). > * Boot off the FreeBSD CD, enter the live CD filesystem shell (Fixit > -> Live CD Filesystem) > * Create a single slice with fdisk that spans the entire disk (fdisk > -i /dev/ad0) > * Create a single partition with bsdlabel that spans the entire slice > (bsdlabel -w /dev/ad0s1) > * Install the FreeBSD Boot Loader (boot0cfg -B /dev/ad0) > * Format and restore the dumpfile (newfs /dev/ad0s1a && mount > /dev/ad0s1a /mnt && cd /mnt && ssh storagebox "dd > if=home/aj/image.dump" | restore -rvf - > * Unmount /mnt and restart. > > The steps work fine... on physical hardware. The restored image boots > up fine. As a VM guest, running in either VMWare or VirtualBox, it > don't work. Everything appears to go fine, but when I get to the boot > loader, pressing F1 just makes the PC speaker beep at me. > > Any pointers would be appreciated. I'm using FreeBSD 6.4. > > Cheers, > Alex Jurkiewicz Is the virtual machine using SCSI emulation to boot, or is it using IDE? SCSI drives are da(4), IDE drives are ata(4) [aka ad(4)] If the boot blocks (maybe boot0 specific) point to an ad/ata device, and the virtual machine is SCSI, it won't find the boot sectors. Personally, I use the "standard" boot blocks which don't allow multibooting but I don't multiboot BSD anyway. The standard boot blocks work by finding the first bsd slice, and booting it. I like the keyword find because it doesn't direct the boot blocks to something unfindable. :D Let me know the subsystem layout, and we'll work from there. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: restore(8)ing new / -- boots on metal but not in a VM
On 10/12/09, Alex Jurkiewicz wrote: > 2009/10/13 Tim Judd : >> Is the virtual machine using SCSI emulation to boot, or is it using IDE? >> >> SCSI drives are da(4), IDE drives are ata(4) [aka ad(4)] >> > > The dump was taken from an ad0 device on physical hardware, and I'm > attempting to restore to the same, just on virtual hardware. > >> If the boot blocks (maybe boot0 specific) point to an ad/ata device, >> and the virtual machine is SCSI, it won't find the boot sectors. > > So, if I make a dumpfile of / on an ad(4) device, I can't restore it > to a da(4) device and expect it to boot? I guess at minimum I'll need > two copies of this image if I want to roll it out on machines with > both sorts of drive, right? > > Thanks, > AJ > That's part of my point, I don't run with boot0, so it may be one of it's features. My suggestion is to check the VM config and see if you can emulate an IDE ad(4) device instead of the possible SCSI da(4) device that vmware/virtualbox may setup. I'm almost positive (not 100% because I don't have either one of those installed at the moment) that both those products default to a SCSI device. Let us know. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: server specification.
On 10/12/09, Marwan Sultan wrote: > > Hello gurus, > > > > Im going to a new server, and i donot want to have a problem.. > > May please anyone advice me of any feed back of FreeBSD 7.2 with the > following specification: > > any problems? > > > > > > 1x Intel Core 2 Quad Q6600 > Kentsfield 2.4GHz 2x 4MB L2 > Cache LGA 775 > > 2GB DDR2 ECC > > 3WARE RAID SATA 2 ports > > 2x 250GB SATA in RAID 1 > > > > So any problems with quad kentsfield and FBSD 7.2 ? > > > > thank you in advance. > > > > Marwan Sultan Certain OEMs (ahem, Dell) I don't pick due to it's known legacy support or Technical Support unsupporting an OS that they don't get paid for. Even if it's a hardware problem, they ask "try to duplicate the problem in windows, then we'll be able to support you". I turn Dell down, when I deal with my customers. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: booting from wrong disk
On 10/15/09, PJ wrote: > While trying to learn and understand the dump-retore process, I messed > up the ad4s1a partition and could not boot. To fix it I restored a > dumpfile of ad12s1a which is, for all intents and purposes, the same as > ad4s1a. I then boot from ad4 and surprise, surprise... > #df shows we have been booted from ad12 and all partitions are ad12 > Booting from ad12s1a gives exactly the same results. > So, how can I get ad4s1a to boot from ad4? > I imagine it is something in the boot files... but how to fix that? Probably because ad12's /etc/fstab tell it to mount ad12's filesystems. rewriting mbrs and stuff probably won't help. check your fstab. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: small question about tape-based dumps
Replies inline On 10/16/09, Jerry McAllister wrote: > On Fri, Oct 16, 2009 at 11:13:21PM +0200, Stevan Tiefert wrote: > >> Hello list, >> >> one example: If I have three partitions and I want to backup every day >> these partitions, will I need 21 tapes? >> >> I ask because it seems it is not possible to place more than one dump on >> one tape, isn't it? > > You can easily put more than one dump on a tape if there is > room enough for them. Check out the mt(1) command. > > Something like mt fsf 1will skip over the first dump file > so you can write the second.mt fsf 2 will skip over two files, etc. > That is dump files, not files within the dump. Each dump of a > filesystem is one file. > > If you need to restore, it is just the same. The first dump is > the first file. The second dump is reached by skipping 1 file > with the mt command, etc. > > I actually rewind and skip between each dump of multiples made > to the same tape. I also use the no-rewind device for the tape. > > So first dump is:dump 0af /dev/nsa0 / I understand that this creates a dumpfile on nsa0, and as I understand tapes (which may be wrong, which I ask for clarification here).. To mark a end-of-file to be able to fast-forward/rewind, why can't you use: mt -f /dev/nsa0 weof It's description in mt(1) says it writes the end-of-file mark at current position > For second dump: mt -f /dev/nsa0 rewind > mt -f /dev/nsa0 fsf 1 > dump 0af /dev/nsa0 /usr So if we use weof, would the 2nd dump then be: dump 0af /dev/nsa0 /usr mt -f /dev/nsa0 weof > thirdmt -f /dev/nsa0 rewind > mt -f /dev/nsa0 fsf 2 > dump 0af /dev/nsa0 /var And 3rd: dump 0af /dev/nsa0 /var mt -f /dev/nsa0 weof > etc. > > when all donemt -f /dev/nsa0 rewind > mt -f /dev/nsa0 offline And I've never used offline, guess I'll start now. > I have this all in a script that also writes an index file > as the first file on the tape. > > Of course if you are doing a change dump the dump command is > going to look more like: > > dump 1af /dev/nsa0 > etc. > > jerry > >> >> With regards >> Stevan Tiefert Thanks for any input! --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: small question about tape-based dumps
On 10/17/09, Jerry McAllister wrote: > You do not need to. dump alrady writes that when it finishes each time. > If you to that, you will get a second one at that location. > > You do not need to do the rewind and mt fsf between each dump. I just > do it to make it very clear to myself in my scripts what I am expecting > and that I am doing it right. > > jerry If dump is the tool for tapes, and tar is named after tape archives... Do both of these utilities write the *proper* EOF to whatever medium it's writing to? I bring this up, because dump can also write to a file on a formatted FS. Does the file end with this same EOF? What does tar do? Why have a mt weof function if it's useless? I'm loosing the logic in this one, trying to make sure things work as they should. I admit tapes on bsd are so foreign to me, I might as well be speaking $another-language. Please help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: small question about tape-based dumps
On 10/17/09, Stevan Tiefert wrote: > Am Samstag, den 17.10.2009, 18:49 -0600 schrieb Tim Judd: >> On 10/17/09, Jerry McAllister wrote: >> >> >> > You do not need to. dump alrady writes that when it finishes each time. >> > If you to that, you will get a second one at that location. >> > >> > You do not need to do the rewind and mt fsf between each dump. I just >> > do it to make it very clear to myself in my scripts what I am expecting >> > and that I am doing it right. >> > >> > jerry >> >> >> >> If dump is the tool for tapes, and tar is named after tape archives... > > Please, no flamewar!!! Wasn't planning on starting one. Sorry if it came across that way. > >> Do both of these utilities write the *proper* EOF to whatever medium >> it's writing to? > > They both write EOF. > >> I bring this up, because dump can also write to a file on a formatted >> FS. Does the file end with this same EOF? What does tar do? > > There is only one EOF: The EOF. > > >> Why have a mt weof function if it's useless? I'm loosing the logic in >> this one, trying to make sure things work as they should. I admit >> tapes on bsd are so foreign to me, I might as well be speaking >> $another-language. > > weof is not useless. There are some file operations without writing an > EOF, like streams or something like that, but tar and dump are writing > with an EOF at the end of files :-) So it's a item for "good measure" rather than an item "as necessity" in creating backups. Thanks for all the info. I'm happy knowing more. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: most bizarre libc.so.7 problem
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#CANONICAL-BUILD Look at "the following recommended sequence": 1. make buildworld 2. make buildkernel 3. make installkernel 4. reboot in single user [*] 5. mergemaster -p 6. make installworld 7. mergemaster 8. reboot Your steps skip steps 4 and 5. Note that it's been said many times, especially with remote hosting. 4 can be modified to read something like: 4. Boot with only required programs to run steps 5 and 6. In most cases, it's just sshd that needs to be running. This means editing /etc/rc.conf and disabling everything except sshd and the IP networking/routing. The purpose of 4 is to stop other people, binaries, or daemons running and using files that need to be updated. Redirecting or piping in steps 1, 2, 3 and 6 are optional. I'd love to have a logfile myself most of these things. Either script(1) or tee(1) it. Please update your script per directions. and I would definitely cut the 4 && commands away from each other. they're not related and didn't seem to do the purpose you probably intended it to do. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD 7.2 ia64
On 10/30/09, Clayton Wilhelm da Rosa wrote: > Hi my name is Clayton Wilhelm da Rosa, > > I made the dowmload of FreeBSD 7.2 ia64 i wanna know if is normal the files > of disc 2 and 3 have only 364Kb size. > > thank you very much. Yes, that's how it is been released. Disc 2 and 3 are prebuilt programs - and apparently there were none bundled. You can build all programs you want via ports. If they're not compatible, then it won't build. Enjoy! --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: issues with email migration
On 10/30/09, usleepl...@gmail.com wrote: > Hi David, > > On Fri, Oct 30, 2009 at 1:59 PM, David Patton > wrote: > >> This morning I moved the contents from the server over to an NFS share. >> >> >> >> This is a freebsd 6.2 server running postfix, courier-imap and >> squirrelmail. >> I used rsync to move the data for /www and /mail over to the nfs share. >> After I made the changed to fstab and rebooted, every thing came up and >> email seemed to be faster but in fact it wasn't. Once I realized that >> there >> was an issue, I changed the link back for the /www directory to the >> original >> location and left the link for /mail pointing to the nfs share. I found >> from >> a search to try newaliaies and the restart postfix but that didn't work. >> >> >> >> Maillog: >> >> Oct 30 06:11:38 bonnie postfix/smtpd[1337]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:11:39 bonnie postfix/master[889]: warning: process >> /usr/local/libexec/postfix/smtpd pid 1337 exit status 1 >> >> Oct 30 06:11:39 bonnie postfix/master[889]: warning: >> /usr/local/libexec/postfix/smtpd: bad command startup - throttling >> >> >> >> Message: >> >> Oct 30 06:00:27 bonnie postfix/smtpd[1177]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:01:28 bonnie postfix/smtpd[1184]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:02:29 bonnie postfix/smtpd[1192]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:03:30 bonnie postfix/smtpd[1218]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:04:31 bonnie postfix/smtpd[1235]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:05:32 bonnie postfix/smtpd[1256]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:06:33 bonnie postfix/smtpd[1270]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:07:34 bonnie postfix/smtpd[1296]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:08:35 bonnie postfix/smtpd[1307]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> > > although i am certainly not an expert regarding email issues nor NFS, but > could it be that the NFS server needs to support "lockd" and "statd" ? > > i have this in my /etc/rc.conf: > > rpc_lockd_enable="YES" > rpc_statd_enable="YES" On both the server and client. File locking is not supported without these two daemons running. I run diskless clients and I need to support file locking, for when you edit the passwd file with vipw and the like. Please enable the above on both the server and client, start them, then try again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: issues with email migration
On 10/31/09, da...@farmington.k12.mo.us wrote: > only one issue with that. The server in question is an emc clereon(sorry > not at work to look at the specifics) and at this point the only access I > have to it is a web interface and am unable to access a command line. > > Also a stupid question my plan is to set up another server to access the > nfs share to provide better email service. > > would this impact it in any way? Not if file locking and the daemons take care of everything like they should. Remember, file locking is mandatory for some things, especially mbox files, password files, or anything else that requires exclusive access to a file. If two systems try to access the same locked file, the 2nd will be told it won't be able to get an exclusive lock, because the 1st already has it locked. You're on the right track. Keep it going. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: best way to install/update software and firewall choice
On 10/31/09, phantomcircuit wrote: > freebsd-update works fine in a jail so long as you symlink the kernel > file to /dev/null I've never needed to do that. I run lots of jails and i just run freebsd-update like normal. I don't install the kern sets in the jails though, just base. cat base.?? | tar -xzf - -C /jails/jail0.sample ## setup /etc/resolv.conf in the jail ## run freebsd-update from within the jail ## it patches and runs fine. ## this is not the documented way to do it, but I haven't yet had problems with it. ## world for the jails will take about 128MB of disk space, any services you add are on top of that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: dhcpd related issue - not giving up
is your dhcpd authoritative? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: dhcpd related issue - not giving up
On 11/1/09, Dánielisz László wrote: > It's the only one on the network. Doesn't mean that it will answer. I saw your previous posts which has the authoritative declaration. Authoritative (from my experience) means that if a client had previously gotten an address, a non-authoritative server won't correct the client's lease. Think of a roaming laptop or a PDA with wifi. An authoritative server will say "No, that won't work", then the client will release any knowledge of the previous IP, and search for new dhcp servers. Since you weren't getting leases when your firewall was disabled, I would lean toward a misconfigured dhcpd.conf. I don't think I've seen in the same post: ifconfig rl1 cat /usr/local/etc/dhcpd.conf Please provide these. Thanks. > > From: Tim Judd > To: Dánielisz László > Cc: freebsd-questions@freebsd.org > Sent: Sun, November 1, 2009 5:41:58 PM > Subject: Re: dhcpd related issue - not giving up > > > > is your dhcpd authoritative? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: issues with email migration
On 11/2/09, David Patton wrote: > This morning, I tried adding this to rc.conf and moved my link for /www from > local to the nfs . > > rpc_lockd_enable="YES" > rpc_statd_enable="YES" Adding them alone just tells the system at startup to start these. > > and I experienced the same issues I had before. It would seem that postfix > and other assorted mail programs have no issue with accessing /mail on an > nfs share but everything residing in /www don't seem to like it at all. > Did you start statd and lockd by hand before trying the /www again? > I have no choice but to leave this as it is and set up a similar arrangement > on my new server. > > Thank you to everyone who responded. > > -Original Message- > From: Tim Judd [mailto:taj...@gmail.com] > Sent: Saturday, October 31, 2009 10:51 AM > To: da...@farmington.k12.mo.us > Cc: freebsd-questions@freebsd.org > Subject: Re: issues with email migration > > On 10/31/09, da...@farmington.k12.mo.us wrote: >> only one issue with that. The server in question is an emc clereon(sorry >> not at work to look at the specifics) and at this point the only access I >> have to it is a web interface and am unable to access a command line. >> >> Also a stupid question my plan is to set up another server to access the >> nfs share to provide better email service. >> >> would this impact it in any way? > > > > > Not if file locking and the daemons take care of everything like they > should. Remember, file locking is mandatory for some things, > especially mbox files, password files, or anything else that requires > exclusive access to a file. > > If two systems try to access the same locked file, the 2nd will be > told it won't be able to get an exclusive lock, because the 1st > already has it locked. > > You're on the right track. Keep it going. > > > > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: dhcpd related issue - not giving up
On 11/2/09, Dánielisz László wrote: > I tried about 10 conf, here is the actual one: > > # cat /usr/local/etc/dhcpd.conf > authoritative; > ddns-update-style none; > > subnet 192.168.1.0 netmask 255.255.255.0 { > option routers 192.168.1.1; > > > pool { >option domain-name-servers cns01.hdsnet.hu; >max-lease-time 300; >range 192.168.1.200 192.168.1.253; >allow unknown-clients; > } > } It looks awkward... I don't recall ever seeing a pool inside a subnet declaration like this. A subnet declaration can use all the declaration in your pool. Pure curiousity, because I am not looking up the config syntax.. comment out (or delete) the pool { and } lines only. which bring the statements to the subnet clause. restart dhcpd, and retry IIRC, pools are only useful if you have two pool definitions. thanks... hope this works. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Hi! a question about log in dmesg
On 11/7/09, Jesús Abidan wrote: > Hi, there, i am a pretty good user in linux and i don't know i am getting > some strange info in my dmesg file: > > at_matroute: v=(16)10ff007f00 > at_matroute: head=0xc42c1700 > at_matroute: returnr rn=0xc45b126c > at_matroute: v=(16)10ff007f00 > at_matroute: head=0xc42c1700 > at_matroute: returnr rn=0xc45b126c > at_matroute: v=(16)10ff007f00 > at_matroute: head=0xc42c1700 > at_matroute: returnr rn=0xc45b126c > at_matroute: v=(16)10ff007f00 > at_matroute: head=0xc42c1700 > at_matroute: returnr rn=0xc45b126c > at_addroute: v=(16)10fffe > at_addroute: n=(16)10 > at_addroute: head=0xc42c1700 treenodes=0xc45b12e8 > at_addroute: returns rn=0xc45b12e8 > at_addroute: v=(16)10ff007f00 > at_addroute: n=null > at_addroute: head=0xc42c1700 treenodes=0xc45b126c > at_addroute: returns rn=0xc45b126c > at_delroute: v=(16)10ff00 > at_delroute: n=(16)10ff80 > at_delroute: head=0xc42c1700 > at_delroute: returns rn=0xc45b2e88 > at_delroute: v=(16)10ff80 > at_delroute: n=(16)10ffc0 > at_delroute: head=0xc42c1700 > at_delroute: returns rn=0xc45b2e0c What is your /boot/loader.conf Do you boot with any options? (such as verbose boot, as an example) > > > and > > calcru: runtime went backwards from 229 usec to 114 usec for pid 690 (devd) > calcru: runtime went backwards from 551 usec to 468 usec for pid 376 > (dhclient) > calcru: runtime went backwards from 1999 usec to 999 usec for pid 360 > (dhclient) > calcru: runtime went backwards from 39486 usec to 19742 usec for pid 360 > (dhclient) > calcru: runtime went backwards from 668 usec to 334 usec for pid 146 > (adjkerntz) > calcru: runtime went backwards from 57078 usec to 47420 usec for pid 51 (sh) > calcru: runtime went backwards from 1964549 usec to 1411651 usec for pid 51 > (sh) Symtoms like this would indicate you're running this in a virtual machine. The virtual machine's hardware clock and BSD is unable to detect, or USE that clock. So the kern.hz set at 1000 by default is screwing up the virtual machine's "hardware" clock. > > > i know there is an issue about acpi and intel chipset or something like that > but i have no results about changing things in bios. I have desactivate udma > and no results. the firs message about at_matroute and delroute issues i > have no idea. > > Anyone has a clue??? > > greetings to everyone out there! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: 7.2-p4 serial console not showing kernel messages?
On 11/9/09, Sven Hazejager wrote: > On Mon, Nov 9, 2009 at 17:52, Lowell Gilbert > wrote: >> Checking the obvious: syslog.conf is configured to send the messages to >> the console? > > Haven't touched syslog.conf but this all happens before syslog is even > starting. The problem is that the console is VGA, even though I have > "console=comconsole" AND boot.config containing "-h" AND sio.0.flags > 0x30. > > Has anyone actually gotten a serial console to work with FreeBSD > 7.2-release? I'm having the same problems with 7-STABLE. > FWIW, I do lots of serial consoles. Biggest issue I have is the boot.config options. Personally, the switches to "detect" (-P) and "switch" (-h) don't always seem to work (for me). If I have to see anything at the console, not only do I setup /boot/loader.conf but I will always use -D in /boot.config -- Dual setup. It pushes to both COM1 and VGA. Please try that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE
On 11/9/09, Ronald F. Guilmette wrote: > > I've just been installing 7.2-RELEASE/amd64 on a fresh/wiped system > that I plan to use as my future "main" workstation. > > Anyway, I've already noticed a couple of things that seem to be different > from prior release that I need to ask about, i.e.: > > 1) It appears that CNTL-ALT-DEL now causes a shutdown/reboot. (I don't > know what release this new feature started in... I only just noticed it > now.) Anyway, I'd like to know how I can disable this particular bit of > functionality. How do I do that? # sysctl -d hw.syscons.kbd_reboot hw.syscons.kbd_reboot: enable keyboard reboot > > 2) Prior versions of X (Xorg?) allowed CNTL-ALT-BACKSPACE to cause an > immediate shutdown of the X server, but now, that doesn't see to work > anymore. How can I (re-)enable this functionality? Thanks to the new versions of xorg, they removed that functionality. A config file with "DontZap" equal to "off" re-enables it. Google for DontZap to find where to put it in the config. > > Thanks in advance for any answers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Cut/Paste with USB mouse inoperative
On 11/10/09, Carmel wrote: > I just switched from a regular mouse to a USB mouse wireless mouse. > The mouse works fine except that the cut/paste middle button feature is > inoperative. The scroll feature works correctly though. I removed all > references to 'mouse' in the /etc/rc.conf file and rebooted; however, > nothing changed. > > I then tried to change mouse port from the default: > > moused_port="/dev/psm0" to moused_port="/dev/usm0" You probably meant to put /dev/ums0 > > That did no help either. Is there anyway to get this to work? > > -- > Carmel > carmel...@hotmail.com > > |=== > |=== > |=== > |=== > | > > Living in California is like living in a bowl of granola. > What ain't flakes and nuts is fruits. > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: 7.2-STABLE X mouse & keyboard issues
On 11/11/09, stan wrote: > I just built a brand new 7.2 STABLE machine, and the xorg package. startx > brings up a nice screen, but neither the mouse, nor the keyboard (both USB) > function in X. > > I have not created a /etx/X11/ config file yet. Do I need to do so? If so, > what;s the best way? did you enable hald, and dbus? did you start them? did you remove hal support from xorg? Please elaborate your environment. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: diskless - NFS root mount problem
Please compare my working configuration to yours to check. I found lots of odd problems in your post and I thought it'd be best to just run with this clean slate. Network config: One low-power PC Engines ALIX board running as the NFS server, with a microdrive partitioned off for it's own system, plus a separate mounted partition for diskless clients. This config works best with one diskless client, and is not the documented way from FreeBSD handbook to accomplish diskless workstations. I'll note what I immediately saw as an error in your config during these snippets. alix# bsdlabel /dev/ad0s1 # /dev/ad0s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 1048576 164.2BSD 2048 16384 8 c: 120001770unused0 0 # "raw" part, don't edit h: 10951585 10485924.2BSD 2048 16384 28552 alix# cat /etc/fstab /dev/ad0s1a / ufs rw 0 0 /dev/ad0s1h /diskless ufs rw 0 0 alix# cat /etc/exports /diskless -maproot=0:0-network 192.168.0.0 -mask 255.255.255.0 *** maproot needs a user and group definition. alix# cat /etc/rc.conf rpcbind_enable="YES" nfs_server_enable="YES" rpc_statd_enable="YES" rpc_lockd_enable="YES" *** rpc_lockd provides file locking, rpc_lockd depends on rpc_statd ** Diskless side *** I believe the root filesystem information is passed on from dhcp, to pxeboot, to the kernel, in order to mount the root filesystem. You can have a 0-size fstab file for read-write access, or provide the read-only nfs root here. If you want it read only, it's best to specify it here, such as below alix# cat /diskless/etc/fstab 192.168.0.1:/diskless / nfs ro 0 0 alix# cat /diskless/etc/rc.conf rpcbind_enable="YES" nfs_client_enable="YES" rpc_statd_enable="YES" rpc_lockd_enable="YES" *** File locking needed lockd/statd support on the client, also. Think of editing /etc/passwd (the proper way) when you need file locking. This will result in a basic, 1-workstation diskless setup working. The difference is that the FreeBSD rc startup looks for a /conf directory which can provide multiple overrides to multiple workstations. I tried setting up a livecd with a /conf directory only to find that the /conf is checked, no matter which medium it's booting off of. This config does NOT cover the DHCP scope, TFTP, IPs or other settings that might be pertinent to booting diskless-ly. Note that by sharing your exact / filesystem as an export is a bad idea. It will essentially create a NFS server on a NFS server round robin and probably won't connect. It's why you setup a separate partition (EVEN if it's a file-backed filesystem mounted with the help of mdconfig on a separate mountpoint on your filesystem). Once you revise your config, please try again. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [solved] Re: Re: Re: diskless - NFS root mount problem
On 11/16/09, Mario Pavlov wrote: > Hi, > it turned out I was stupid enough to misconfigure the kernel...I forgot that > I had left the IPFIREWALL options turned on and as you know it's default to > deny so once the kernel initializes ipfw it blocks everything including NFS > so that was the whole problem...I removed the IPFIREWALL option and all went > fine. > Ah, one of those moments. I have them too. Good to know it's working for you, and I would just because I'm the perfectionist personality type, change a couple of things that won't make a negative impact. The server's exports has no reason to export the diskless root with -alldirs. The system isn't asking for any mountpoint within / so you can leave off the -alldirs. 2nd, you buildworld and installworld into the diskless root, but never use it. You're using disk space you can reclaim. > thanks again > mgp Glad it's working, enjoy! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Re: [solved] Re: Re: Re: diskless - NFS root mount problem
On 11/16/09, Mario Pavlov wrote: > indeed you get bonus points if you firewall yourself :) > and of course this is not the first time I do that so my score is pretty > good > however my favourite is to forget about net.inet.ip.forwarding when I > upgrade routers with many clients :) > > Tim, thanks for your hints...but I don't understand this one: > >2nd, you buildworld and installworld into the diskless root, but never > >use it. You're using disk space you can reclaim. > how so I never use it and can reclaim diskspace ? The Monday's email you sent at 11:22 (by datestamp on gmail), you wrote: mkdir /storage0/diskless cd /usr/src export DESTDIR=/storage0/diskless make buildworld buildkernel installworld distribution installkernel --- You clearly 'make buildworld installworld' but your later exports have /storage0/diskless and /usr being exported. shouldn't it be either /storage0/diskless (as a root filesystem and everything underneath it) or if you want to unecessarily break it up, exporting /storage0/diskless/usr ? Understand? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
device hint -> disable firewire or sbp driver
Any way via tunables, environment, sysctl or device hints that one can disable firewire on the install medium of recent (7.2 and newer) Install CD/DVDs? more than one person is having problems with kernel panics on startup due to firewire, and I can't google my way out of this one. Any advice from the pros? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Re: Re: [solved] Re: Re: Re: diskless - NFS root mount problem
On 11/18/09, Mario Pavlov wrote: > oh yes, I got what you meant now > true, I used /usr from the server because I wanted to have all my ports > available to the client. Is there a nice way to install ports only in the > diskless distribution ? > > thank you. > > Regards > Mario Just like any other port you install. you can either chroot into your diskless root filesystem (as I have it laid out, not you), and run the port tools. you can also run the package management tools. All programs are are files on the disk, there's no local registry as in windows to worry about. You can even compile on the diskless client. It just reads and writes files to the nfs server to compile ports. --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: diskless problem: Lookup of /dev for devfs, error: 13
On 11/19/09, Adam Vande More wrote: > On Thu, Nov 19, 2009 at 3:18 PM, Michael W. Lucas < > mwlu...@blackhelicopters.org> wrote: > >> >> Hi, >> >> I'm attempting to run a diskless 8.0 i386 workstation on VMWare, using >> an OpenSolaris box as a file store. I get PXE, the kernel loads, but >> when we try to remount the filesystem I get: >> >> ... >> NFS ROOT: XXX.XXX.XXX.XXX:/storage1/vm/netflow >> Lookup of /dev for devfs, error 13 >> exec /sbin/init: error 13 >> exec /sbin/oinit: error 13 >> exec /sbin/init.bak: error 13 >> exec /rescue/inet: error 13 >> exec /stand/sysinstall: error 13 >> init: not found in path >> ... Firewall embedded into the kernel? disable and or remove and try again. >> >> At first glance, it would appear that /dev is missing. I've never >> seen this happen before diskless systems, though, and I can't find any >> other references to this. I know that other people have PXE-booted >> FreeBSD on VMWare, however. >> >> Anyone have any suggestions on what to check? >> >> Thanks, >> >> > I think you were following the same aged howto I was. Whatever config file > /stand/sysinstall and friends is located in needs to be edited and have > those references removed. That's about as far as I got when playing around > a few ago. I think the rc/init tries to run all of those as hard-coded values. I recall trying to build a floppy diskette with a minimal kernel and minimal single-user world, and i repeatedely got the above while trying to build the floppy. This would have either been the 4.x or 6.x days. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: BTX Loader crashes -- Help wanted
On 11/20/09, Ronald F. Guilmette wrote: > > Who should I be talking to if the BTX loader is crashing on my > specific hardware configuration, and what specific info do I > need to be gathering for him/her in order to have hope of getting > the problem rectified? Since the BTX is the BooT eXtender, what brings I think a 16-bit real-mode BIOS/POST to a 32-bit (or 64-bit?) protected operating system, I would start looking at BIOS options. Some BIOSes have a windows mentality and don't let you tweak much. Retail boards you buy off the shelf are typically pretty good to let you tweak lots of options. I'd also check for a BIOS update. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: device hint -> disable firewire or sbp driver
On 11/21/09, Chris Whitehouse wrote: > Tim Judd wrote: >> Any way via tunables, environment, sysctl or device hints that one can >> disable firewire on the install medium of recent (7.2 and newer) >> Install CD/DVDs? >> >> more than one person is having problems with kernel panics on startup >> due to firewire, and I can't google my way out of this one. >> >> >> >> Any advice from the pros? >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscr...@freebsd.org" >> > Tim, > > I've got one of the affected motherboards if this is the problem you mean: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=136327 > > The things that have worked for me are disabling firewire in the BIOS > and using a GENERIC kernel or building a kernel with device sbp disabled > and having firewire enabled in the BIOS. See though, the guys coming to FreeBSD from $another-OS gets a panic from the install medium, which isn't speaking very well of our quality. I got caught with this because the guy I was helping online had an amd64-capable system, to which I don't. I can't build a install CD or kernel to help him. I have a PCI firewire card that runs sbp, but the livecd doesn't panic when i was booting from it. I tried all sorts of disabling hints, tried to go upstream (see it's dependencies and disable it's dependencies) and it still gave me a sbp when the system finished booting. Thought about asking him to run the memstick and disabling it from there, but he still can't get past it booting to tweak anything. He didn't have an option to disable firewire in the BIOS, and there was no bios update from Sony for his Vaio. I got stuck, and it started to wear thin that we have such a major panic on install CDs. My mentality is to offer disk, cd and network support in the kernel on the install CD/DVDs, but the generic kernel that's installed has everything. If others would like to offer suggestions, I'm still open for them. > > hint.sbp.0.disabled="1" in /boot/device.hints with GENERIC kernel - > still get a panic > > sbp_load="YES" in /boot/loader.conf with sbp disabled in the kernel - > get panic. > > It seems ok to kldload sbp after the system is up, ie the machine > doesn't panic, but I don't have anything firewire to test with. > > Would it be an option to have sbp disabled by default in the install > CD's? Those without the problem can put sbp_load in loader.conf, those > with the problem will have to kldload it later but at least they will be > able to install. > > FreeBSD eco.config 8.0-RC2 FreeBSD 8.0-RC2 #1: Thu Oct 29 14:04:02 GMT > 2009 r...@eco.config:/usr/obj/usr/src/sys/GENERIC_NO_SBP i386 > > > Chris > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: device hint -> disable firewire or sbp driver
On 11/21/09, David Horn wrote: > On Sat, Nov 21, 2009 at 2:15 PM, Tim Judd wrote: >> On 11/21/09, Chris Whitehouse wrote: >>> Tim Judd wrote: >>>> Any way via tunables, environment, sysctl or device hints that one can >>>> disable firewire on the install medium of recent (7.2 and newer) >>>> Install CD/DVDs? >>>> >>>> more than one person is having problems with kernel panics on startup >>>> due to firewire, and I can't google my way out of this one. >>>> >>>> >>>> >>>> Any advice from the pros? >>>> ___ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to >>>> "freebsd-questions-unsubscr...@freebsd.org" >>>> >>> Tim, >>> >>> I've got one of the affected motherboards if this is the problem you >>> mean: >>> >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=136327 >>> >>> The things that have worked for me are disabling firewire in the BIOS >>> and using a GENERIC kernel or building a kernel with device sbp disabled >>> and having firewire enabled in the BIOS. >> >> See though, the guys coming to FreeBSD from $another-OS gets a panic >> from the install medium, which isn't speaking very well of our >> quality. >> >> I got caught with this because the guy I was helping online had an >> amd64-capable system, to which I don't. I can't build a install CD or >> kernel to help him. I have a PCI firewire card that runs sbp, but the >> livecd doesn't panic when i was booting from it. >> >> >> I tried all sorts of disabling hints, tried to go upstream (see it's >> dependencies and disable it's dependencies) and it still gave me a sbp >> when the system finished booting. >> >> >> Thought about asking him to run the memstick and disabling it from >> there, but he still can't get past it booting to tweak anything. He >> didn't have an option to disable firewire in the BIOS, and there was >> no bios update from Sony for his Vaio. >> >> >> I got stuck, and it started to wear thin that we have such a major >> panic on install CDs. My mentality is to offer disk, cd and network >> support in the kernel on the install CD/DVDs, but the generic kernel >> that's installed has everything. >> >> >> If others would like to offer suggestions, I'm still open for them. >> >> >>> >>> hint.sbp.0.disabled="1" in /boot/device.hints with GENERIC kernel - >>> still get a panic >>> >>> sbp_load="YES" in /boot/loader.conf with sbp disabled in the kernel - >>> get panic. >>> >>> It seems ok to kldload sbp after the system is up, ie the machine >>> doesn't panic, but I don't have anything firewire to test with. >>> >>> Would it be an option to have sbp disabled by default in the install >>> CD's? Those without the problem can put sbp_load in loader.conf, those >>> with the problem will have to kldload it later but at least they will be >>> able to install. > > As per svn and cvs: > > r199112 | kensmith | 2009-11-09 16:39:42 -0500 (Mon, 09 Nov 2009) | 11 lines > Changed paths: >M /stable/8/sys/amd64/conf/GENERIC >M /stable/8/sys/i386/conf/GENERIC >M /stable/8/sys/ia64/conf/GENERIC >M /stable/8/sys/powerpc/conf/GENERIC >M /stable/8/sys/sparc64/conf/GENERIC > > Comment out the sbp(4) entry for GENERIC config files that contain it. > There are known issues with this driver that are beyond what can be > fixed for 8.0-RELEASE and the bugs can cause boot failure on some systems. > It's not clear if it impacts all systems and there is interest in getting > the problem fixed so for now just comment it out instead of remove it. > > Commit straight to stable/8, this is an 8.0-RELEASE issue. Head was left > alone so work on it can continue there. > > Reviewed by:Primary misc. architecture maintainers (marcel, marius) > > Looks like sbp(4) is disabled on the 8.0 branch already. And if I'm reading the SVN commit right, it went to -STABLE (aka RELENG_8) but not head (aka "."). It still won't fix all of FreeBSD 7 install mediums, right? or is that "to come", maybe in 7.3? Also, if I'm reading the commit right, 8.0-RELEASE is going to have sbp(4) enabled in GENERIC too. Can someone make sure I'm reading that right? > > --Dave > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: 8.0 & MYSQL50 denying access to user root no password
On 11/29/09, Fbsd1 wrote: > For many releases of Freebsd going back to 4.3 I have all ways used the > default mysql user root localhost with no password which has been the > default. > With 8.0/mysql-server-5.0.86 I am denied access now. > The mysql manual still says the normal install defaults to allowing > access to user root with no password are in effect. > > After a fresh clean install of mysql > Tried mysqladmin -u root drop test to delete the test db. > Received this msg > connect to srver at localhost failed > access denied for user 'r...@localost (using password: no) > This in not suppose to happen. Two issues, mysqladmin tries to connect to the mysql server -- i see in your message above it can't connect if it can't connect, how can it authorize? second, the undocumented mysql_install_db must be run to install the default database. But if you run this as root, you should change ownership of everything in /var/db/mysql to allow the mysql server access to the files. Those are two problems I'm seeing with your post. Correct me if I'm wrong, but try these first. > > Is anyone else having this problem? > Has the package for mysql50-server been changed to force securing user > root with a password? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: fixit and gmirror
On 12/8/09, Joey Mingrone wrote: > Hello: > > I was upgrading a system from 7.2 to 8.0 and all was going well until > the make installkernel step. The / partition filled up when the new > kernel was installing. Since /boot was taking up most of the space I > moved /boot to /usr/ and create a symlink in / then I did make > installkernel again and everything completed. Unfortunately I didn't > move the necessary bits from /usr/boot back to / before rebooting and > now the system won't boot. I'm trying to use the fixit option with > the livefs cd to repair the system, but I'm having problems with > gmirror. The disks are in software raid0. Can anyone point me in the > right direction to get /usr and / mounted from the mirror using fixit? > Because the livefs uses a MFSROOT system (allows you to make changes to the ram-based disk image after boot), you have to load kernel modules before the mfsroot is mounted. As an example.. boot cd escape to loader prompt load /boot/kernel/geom_mirror.ko load /boot/kernel/smbfs.ko (if needed, i had to load two modules the time i had to use it) boot And I would like to note.. raid0 is striping, gstripe. raid1 is mirroring. I find it hard to recognize raid0 as your boot device. Let me know if you need further help. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: question about building a custom kernel
On 12/19/09, Jamie Griffin wrote: > Hi > > I have been reading the handbook to learn about building a custom > kernel, but just wanted to ask something about gathering information > about my hardware before I give it a go. > > The handbook suggests the command: > > # pciconf -lv > > ...which I like because it provides a clear list of components I can find > out about before I try to build the new kernel. > > On my system, this command does print out information for quite a few > components, I just wondered if this information is all I need to work > from or is it not an accurate or detailed enough representation of the > hardware I have in my computer. I'd really appreciate any advice on how > others go about this. > > Jamie > Jamie, pciconf will list pci devices only (and their derivatives, like PCI-X and PCI-e). ISA devices (if any) are done differently, and also usb devices (usbdevs). Building a custom kernel most of the time involves the following decisions: embedding a firewall, so you cannot disable a firewall by unloading a module. Extending options, filesystem quotas for example. The modular kernel can add devices by modules, but can't really add options. Embedded solutions, like a single-purpose unit that is an all-in-one solution. The soekris and PC Engines firewall products come to mind. 99% of my time, I leave GENERIC (makes updating it easier with freebsd-update) alone and load the kernel modules I need. the amount of ram used with a GENERIC kernel and a "stripped" kernel to your hardware may save 2MB of disk, and 1MB of RAM. Not very worth it for the computers today where you have TB's of disk, and GB's of ram. Can I ask for more details from you why you're interested in building a custom kernel? --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Jails setup with binary packages only
On 12/27/09, Guy Marcenac wrote: > I would like to use a freebsd system with binary packages only. I want > to heavily use the jail concept. All the documentation about jails > implies the use of buildworld into the jails. > > In order to avoid any compilation time, I installed a minimal base > system for the host and I nullfs mounted read-only every system > directory (bin, sbin, etc) into my jails. Then, in order to be able to > install additional software inside the jails, I unionfs mounted > read-write empty directories ontop of the nullfs read-only system > directories. > > So I only have to freebsd-update the host and then freebsd-update each > jail in order to keep updated. > > What about this kind of setup ? do I miss something ? A binary jail install with packages is fine. I don't know why it was documented to do it from source other than the possibilities that it jails were a technology only achievable by updating your source files and installing (when jails were new). Now that it's gone through a release cycle, I've done several binary jails, with binary packages. To get a system up quickly, I often do a binary jail install with binary packages, and then run ports and a build to keep it maintained. Of course if I need an option not default in a port, it gets done by ports. Binary jail install, freebsd-update, pkg_add portaudit, rehash && portaudit -Fa Now it's a basic setup, things like timezone (in the jail) and other odds-and-ends. enjoy, --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Jails - Ethernet data vs IP data
Hi all, I bought a new SiliconDust HDHomeRun device which brings two Digital coaxial tuners to an ethernet network. From what I read and understand about the HDHomeRun ("HDHR"), is that it does have an IP address assigned to the system, but all packets of video are actually just raw Ethernet packets/data that has it's own payload and protocol. The port MythTV (to which I'm starting to love) maintainer has marked the two pieces of MythTV as conflicting ports (I'll address to the maintainer directly), so I build the frontend (the user interface if you will) on the host, because it needs lots of X11/xorg. The backend runs as a daemon talking with MySQL to manage everything. Since they conflict, the backend goes onto a jail. I have to port-compile the backend every time, the packages have missing dependencies. It takes quite a while. I know the HDHR is online, I can watch the video without MythTV interaction, but the jailed backend isn't seeing it. So I was hoping to see if I can query the group and see if "raw ethernet data" can be delivered to a jail, or if I'm just fishing in the empty fish bowl trying to get this to work in a jail. Thanks for input in regards to limits the jail system might have. This is on a golden 8.0-RELEASE i386, haven't updated it yet. Thanks loads! --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: denying spam hosts ssh access - good idea?
On 1/11/10, David Southwell wrote: >> I'm thinking of denying ssh access to host from which >> I get brute force ssh attacks. >> >> HOwever, I see in /etc/hosts.allow: >> >> # Wrapping sshd(8) is not normally a good idea, but if you >> # need to do it, here's how >> #sshd : .evil.cracker.example.com : deny >> >> Why is it not a good idea? >> >> Also, apparently in older ssh there was DenyHosts option, >> but no longer in the current version. >> Is there a replacement for DenyHOsts? >> Or is there a good reason for such option not to be used? >> >> many thanks >> anton >> > I use denyhosts ( /usr/ports/security/denyhosts ) works well for me. I also > use blackhole and sshguard > > david I've been meaning to check this out. My firewall ssh rules are very strict, in fact, if the remote IP is "unknown" meaning, I don't know where the heck it's coming from, it's blocked. It's easier to say it this way: I allow ssh connections from IPs I know, preferably static IPs. Given that there are more than one general blacklists out there that list unwanted behavior, and that we have ports that make use of these lists, I wonder if we can use a list (in this case, for spam) effective for blocking ssh connections. This means: install spamd setup pf (requirement for spamd, it is built by OpenBSD after all) in the pf rules, block *ANYTHING* coming from the blacklisted IPs I don't know how effective it is, but since the spamd blacklist IPs are hosted on what seems to be only one server/server farm, I am also looking for any way I can provide a mirror (even if it's slightly outdated) of this data. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Tinybsd ports (dhcpd3)
Sys Admin wrote: I suppose this is more a question on ports than on Tinybsd. I'm trying to build a Tinybsd 0.9 system with DHCP-server (isc-dhcpd3) and included it in tinybsd.ports file. When the system builds though, there is an on-screen configuration menu for the dhcpd3 port. This screen appears, but is not able to take keyboard input. Ultimately, it wasn't possible to configure anything, and the only thing I could do was to hit enter and continue with the defaults. Is there any way to circumvent this onscreen menu? Thanks Ashant Running make config in the port dir before making Tinybsd should prevent it. The config is saved under /var/db/ports. If Tinybsd is doing standard port system commands (cd net/dhcp3-server; make install), it should pick up the existing config and go with it. Or, running tinybsd with the enironment BATCH=yes will skip the port config, and build what is default if no config file exists. This one you probably don't want, but if the above doesn't work, this is something else to try. This may affect tinybsd in a way that is unpredictable though. Good luck, -Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sudo mkextcache?
Jeffrey Ellis wrote: Hi-- I¹m trying to make a bootable clone of my startup drive, and read Mike Bombich¹s instructions on how to do this. He includes the following line as the last step in the process: Finally, recreate the kernel extension cache for the CD: sudo mkextcache -t ppc -d \ /Volumes/Rescue/System/Library/Extensions \ -o /Volumes/Rescue2/System/Library/Extensions.mkext That doesn¹t look like a command to me. Anyone know what he¹s trying to do here? Thanks :) /Volumes looks like a OSX layout. posting the URI might help others looking too. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A general purpose LDAP solution?
Jon Theil Nielsen wrote: I asked this on freebsd-net@ but got no replies. So now I ask the same question here. Hi list! > > I have speculated a lot about implementation of (Open)LDAP on my > sever. By I haven't yet found the right (and logical) way to do it. > I'm running FreeBSD 7.0-Release with some different server applications > - Samba PDC > - Virtual mail server (Postfix, MySQL, Courier-IMAP) > - VPN (currently with mpd4) > - Apache-2.2.8 web server (with PHP and MySQL) > I would like to implement LDAP for: > - authentication of UNIX/login users > - authentication of Samba users > - authentication/authorization of virtual mail users > For the first part, I got useful information from a previsous thread > (http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-02/msg01047.html) > and for the second part, i guess there is sufficient howtos to make it > work. > My biggest question right now is if is possible to combine all three > things in one data structure. And which in which order I should make > the different implimentions. > Excuse my total lack of understanding, but is it possible to have a > structure with a superior unit such as OU= which > could contain several virtual domains and the actual doamin for my > PDC? > > -- > Jon Theil Nielsen Oh, i forgot one more thing: I would also like to be able to authenticate VPN users the same way. -- Jon Theil Nielsen It's easy to find out if LDAP is a global solution for you. See if LDAP is an available option in each port's config. I just finished setting up a LDAP-based email system. Samba is capable, unix logins are capable. There's a good chance everything is. I liked the virtual part of everything, so I stopped after getting email working. I didn't want to open up my system to all sorts of unix/samba logins that might exploit or give me problems. The email system I documented isn't ready for publishing. I'm having some select friends review it and proofread it first. If there's any interest here, I will provide a 2nd publishing to the general public as a draft. Not to be used exclusively yet. Jon, you should be able to get most if not all of it working though. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: keyboard initialization in freebsd
Jim Stapleton wrote: Can anyone give me information on keyboard initialization during boot-up related to my issues listed below? In 6.2, my system booted up, and worked fine. [alt][ctrl][f#] would switch consoles, and I was happy. In 7.0, the same would not happen. After googling, I found some multimedia keyboards, like mine, had keys to switch F# to a "special" key. I hit a few keys that had weird pictures that didn't really describe what they'd do, and I turned my F# keys, back into F# keys. Were there any changes between 6.2 and 7.0 that would cause 7.0 to start up the keyboard in the alternate F# mode? Note, xev didn't recognize a keypress from any [F#] key when it was in the alternate mode. Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I have a Microsoft keyboard that places functions like "Save" "Open" "Reply" "Reply All" in the Function row keys F#. There is a Function lock key I have to use in order to use F# keys as F# keys. Annoys the crap out of me because it's no longer a keyboard and just a headache. Do you have a key on the top right of the keyboard that is labeled like a white F surrounded in a black square? That's my Function lock key, and it displays an LED saying that I can now use my F# keys as F#. Good luck. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: keyboard initialization in freebsd
Jim Stapleton wrote: On Wed, Mar 26, 2008 at 1:25 PM, Tim Judd <[EMAIL PROTECTED]> wrote: Jim Stapleton wrote: > Can anyone give me information on keyboard initialization during > boot-up related to my issues listed below? > > In 6.2, my system booted up, and worked fine. [alt][ctrl][f#] would > switch consoles, and I was happy. > In 7.0, the same would not happen. After googling, I found some > multimedia keyboards, like mine, had keys to switch F# to a "special" > key. I hit a few keys that had weird pictures that didn't really > describe what they'd do, and I turned my F# keys, back into F# keys. > > Were there any changes between 6.2 and 7.0 that would cause 7.0 to > start up the keyboard in the alternate F# mode? > > Note, xev didn't recognize a keypress from any [F#] key when it was in > the alternate mode. > > Thanks, > -Jim Stapleton > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > I have a Microsoft keyboard that places functions like "Save" "Open" "Reply" "Reply All" in the Function row keys F#. There is a Function lock key I have to use in order to use F# keys as F# keys. Annoys the crap out of me because it's no longer a keyboard and just a headache. Do you have a key on the top right of the keyboard that is labeled like a white F surrounded in a black square? That's my Function lock key, and it displays an LED saying that I can now use my F# keys as F#. Good luck. Yeah, mine is MS too. As I said I got it working by pressing one of the buttons also. I was just wondering what changed between 6.2 and 7.0. There were no issues in 6.2 -Jim Stapleton I haven't used my MS keyboard on 7.0 yet. the box it's hooked up to is a test box and i'm going through a torture session quickly. :P I'll check it soon though. Are you looking for any feedback, any special specific feedback? --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
updated solid-state article?
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/solid-state/ This article is circa FreeBSD 4.x, is there any updates floating around, even if they're incomplete? Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Slightly OT - steaming data server software?
On Sun, 2008-05-18 at 15:32 -0700, John Pettitt wrote: > > > Slightly OT but since I'm going to run this on FreeBSD 7 I figured I'd > ask here .. > > I have an application where data arrives in what is effectively > continuous stream (actually NMEA messages from an AIS receiver) and I'd > like to have a server where an arbitrary number of clients can connect > to a tcp port and receive a copy of the stream.I could probably > write this in perl without too much work but somebody has to have done > something similar already - does anybody know of code that does this? > (and yes I know sending the messages as individual udp packets would be > easier - I'm already doing that internally but it doesn't work for > opening up the data stream to the public). nc -lk | tee /var/ais/data nc -lk http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Which version
On Wed, 2008-05-21 at 10:32 +0200, Christian Zachariasen wrote: > On Wed, May 21, 2008 at 10:01 AM, Russell Schoen <[EMAIL PROTECTED]> wrote: > > > Hi, > > Do you have a version that will run with an AMD Sempron 3100+, 1.8Ghz, 32 > > bit, X86 family processor? > Please do some reading before asking questions on the mailing list. The > FreeBSD Handbook (google it) is an excellent resource and will > answer most of your questions about FreeBSD. > > > But to answer this specific question: Yes, it's called FreeBSD. Just get the > latest release (7.0) and install it. > > Christian Zachariasen And your answer doesn't answer the OP's question. I think the OP was asking which "platform" to use. 7.0 is the stable release and you need the i386 platform. something like 7.0-RELEASE-i386-disc1.iso is what you need -- burn this image to CD and then boot off the CD. The handbook is still an excellent resource. http://www.freebsd.org/handbook good luck, feel free to ask questions, after searching a bit. It makes us understand the question better and quicker response. Enjoy! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: attaching a terminal to 'join' another?
Forgot to CC the questions ML. --- Tim Judd <[EMAIL PROTECTED]> wrote: > From Tim Judd Thu Aug 2 15:01:18 2007 > Received: from [68.35.175.118] by web62407.mail.re1.yahoo.com via > HTTP; Thu, 02 Aug 2007 15:01:18 PDT > Date: Thu, 2 Aug 2007 15:01:18 -0700 (PDT) > From: Tim Judd <[EMAIL PROTECTED]> > Subject: Re: attaching a terminal to 'join' another? > To: [EMAIL PROTECTED] > MIME-Version: 1.0 > Content-Type: text/plain; charset=iso-8859-1 > Content-Transfer-Encoding: 8bit > Content-Length: 2291 > > I'm on the digest list, so I copy/paste the message to quote: > > -QUOTE: > Message: 16 > Date: Thu, 2 Aug 2007 11:19:21 -0400 > From: "Jim Stapleton" <[EMAIL PROTECTED]> > Subject: attaching a terminal to 'join' another? > To: freebsd-questions@freebsd.org > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Sorry if my question is a bit confusing - I'm not even sure the > proper > terminology, so I don't know what the best way to start looking is. > > I'm rebuilding a system at home, and I'd like to check how the build > is going at a slow time at work sometimes. I can connect to the > system > from work (ssh into my main box, and then from there, ssh to the > system I'm working on). I have a terminal opened on that system > (actually, another ssh session fron the main box), and I'd like to > have my new connection attach to that terminal session, if possible, > so that I can just pick up where I left off, and monitor it from > here. > Is this possible? > > Sessions > main desktop terminal A [ssh]--> workstation terminal A (where builds > are currently being processed) > > work desktop terminal [ssh]--> main destop terminal B [ssh]--> > workstation terminal B > > > I would like to have workstation terminal B intercept workstation > terminal A, or main desktop terminal B intercept main desktop > terminal > A. Can it be done? Where do I start looking, what are the words and > phrases of interest? I tried looking at both the bash and xterm > commands/man page, but they are rather long, and I'd miss what I was > looking for without having a clue in advance. > > I'm guessing something like /dev/?tty?? might work, but how do I > figure out which tty to use? > > Thank you, > -Jim Stapleton > --/QUOTE > > Can't the OP, Jim, use watch(8) with the -W option to interact w/ the > terminal? > > Nothing wrong with screen, but a built-in utility exists. > > HTH > > If opportunity doesn't knock, build a door. > "I can" is a way of life. > More and Bigger is not always Better. > The road to success is always uphill. > > > > > Got a little couch potato? > Check out fun summer activities for kids. > http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz > > If opportunity doesn't knock, build a door. "I can" is a way of life. More and Bigger is not always Better. The road to success is always uphill. Need a vacation? Get great deals to amazing places on Yahoo! Travel. http://travel.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: attaching a terminal to 'join' another?
--- Momchil Ivanov <[EMAIL PROTECTED]> wrote: > Ðа Friday 03 August 2007 00:02:51 Tim Judd напиÑа: > > Forgot to CC the questions ML. > > > > --- Tim Judd <[EMAIL PROTECTED]> wrote: > > > From Tim Judd Thu Aug 2 15:01:18 2007 > > > Received: from [68.35.175.118] by web62407.mail.re1.yahoo.com via > > > HTTP; Thu, 02 Aug 2007 15:01:18 PDT > > > Date: Thu, 2 Aug 2007 15:01:18 -0700 (PDT) > > > From: Tim Judd <[EMAIL PROTECTED]> > > > Subject: Re: attaching a terminal to 'join' another? > > > To: [EMAIL PROTECTED] > > > MIME-Version: 1.0 > > > Content-Type: text/plain; charset=iso-8859-1 > > > Content-Transfer-Encoding: 8bit > > > Content-Length: 2291 > > > > > > I'm on the digest list, so I copy/paste the message to quote: > > > > > > -QUOTE: > > > Message: 16 > > > Date: Thu, 2 Aug 2007 11:19:21 -0400 > > > From: "Jim Stapleton" <[EMAIL PROTECTED]> > > > Subject: attaching a terminal to 'join' another? > > > To: freebsd-questions@freebsd.org > > > Message-ID: > > > <[EMAIL PROTECTED]> > > > Content-Type: text/plain; charset=ISO-8859-1 > > > > > > Sorry if my question is a bit confusing - I'm not even sure the > > > proper > > > terminology, so I don't know what the best way to start looking > is. > > > > > > I'm rebuilding a system at home, and I'd like to check how the > build > > > is going at a slow time at work sometimes. I can connect to the > > > system > > > from work (ssh into my main box, and then from there, ssh to the > > > system I'm working on). I have a terminal opened on that system > > > (actually, another ssh session fron the main box), and I'd like > to > > > have my new connection attach to that terminal session, if > possible, > > > so that I can just pick up where I left off, and monitor it from > > > here. > > > Is this possible? > > > > > > Sessions > > > main desktop terminal A [ssh]--> workstation terminal A (where > builds > > > are currently being processed) > > > > > > work desktop terminal [ssh]--> main destop terminal B [ssh]--> > > > workstation terminal B > > > > > > > > > I would like to have workstation terminal B intercept workstation > > > terminal A, or main desktop terminal B intercept main desktop > > > terminal > > > A. Can it be done? Where do I start looking, what are the words > and > > > phrases of interest? I tried looking at both the bash and xterm > > > commands/man page, but they are rather long, and I'd miss what I > was > > > looking for without having a clue in advance. > > > > > > I'm guessing something like /dev/?tty?? might work, but how do I > > > figure out which tty to use? > > > > > > Thank you, > > > -Jim Stapleton > > > --/QUOTE > > > > > > Can't the OP, Jim, use watch(8) with the -W option to interact w/ > the > > > terminal? > > > > > > Nothing wrong with screen, but a built-in utility exists. > > It`s possible, but he`d better use screen for updating/upgrading, > since his > ssh session that initiated the process may die and then the process > dies. > With screen the process will continue if his ssh session dies and he > would be > able to later reattach to the terminal in question. Yes, very true. I think that's a good point and shouldn't be overlooked. If opportunity doesn't knock, build a door. "I can" is a way of life. More and Bigger is not always Better. The road to success is always uphill. Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Using Smart-Fail HD
I'm on the digest list. I have copied/pasted the OP -QUOTE: Message: 17 Date: Sat, 04 Aug 2007 18:00:07 -0300 From: Damian Vicino <[EMAIL PROTECTED]> Subject: Using Smart-Fail HD To: FreeBSD Questions Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hello. Im Having FBSD running in a P3 with 4.3GB HD, and got 2 extra 80GBs HD that fails the SMART check. I did a full HD scan with tools provided by the HD's developers and over 90% of the HDs are safe. I want to use those HD for home of the lowrank users, and keep the critical data in the 4GB HD. Do u know any pretty safe FS for this kind of unstable hardware, i was thinking in something with software RAID maybe. Thanks for any suggestion, im pretty new on FBSD world (and english-speak world too). BTW, if the solution can be applied to DFBSD, it will be very nice, becouse i got another machine P1 runnning it, and all HDs i can get for it use to have a lot of failures already. See ya Sdäv /QUOTE Damian, You might find Steve Gibson's SpinRite a really useful purchase. It recovers most drives it works on, and a single purchase can be use on any of your personal drives. It is it's own bootable floppy or CD, and works very well. http://www.grc.com/sr/spinrite.htm I recommend using that now, and then tread lightly until you feel confident about the drives again. If opportunity doesn't knock, build a door. "I can" is a way of life. More and Bigger is not always Better. The road to success is always uphill. Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
py2[45]-dbus package oddity
I'm not sure where this message is better directed, to either the port maintainer or the questions list. The answer is probably the ports list.. [Crossposted] There are two packages that are indicated as installed, py24-dbus and py25-dbus. Both of these look like identical packages, same version information and everything. Is it necessary to have both packages listed as installed? Can't I remove one or the other? py24-dbus is a dependant package on two others I have installed, but py25-dbus isn't. Can I, Should I remove py25-dbus, or would that remove py24-dbus as well? Thanks for any tips or pointers. Tim. If opportunity doesn't knock, build a door. "I can" is a way of life. More and Bigger is not always Better. The road to success is always uphill. Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
re: rndc.key auth issues and rndc.key file
-- I receive the digest of the mails, so I have copied/pasted the original without the quoting (>) characters. -- --QUOTE: Date: Thu, 03 May 2007 13:50:40 -0700 From: Noah <[EMAIL PROTECTED]> Subject: rndc.key auth issues and rndc.key file To: User Questions Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hey there FreeBSD'ers, So I am trying to figure out what is the best configuration for bind on my FreeBSD6.2 system. # pkg_info | grep bind bind9-9.3.4 Completely new version of the BIND DNS suite with updated D # grep named /etc/rc.conf named_enable="YES" named_symlink_enable="YES" named_program="/usr/local/sbin/named" something keeps not ending up correctly configured. I made an rndc.key file # ls -l /var/named/etc/namedb/rndc.key -rw--- 1 root wheel 97 May 3 13:37 /var/named/etc/namedb/rndc.key and then placed a copy of those contents in my /var/named/etc/namedb/named.conf file. now when I restart (stop) named I receive an error: # /etc/rc.d/named restart Stopping named: rndc failed, trying killall: . Starting named. what on earth am I doing wrong? --/QUOTE: FreeBSD 6.2-R gives you BIND 9.3.3. FreeBSD 6.2-STABLE gives you BIND 9.3.4. 9.4 (and patches) have been released from ISC, but I don't see ANY difference between the version in the "world" and the one from ports/packages. First question I have is is there something in the world BIND that isn't available in the packages/ports? the restart command tells BIND to stop via BIND's control channel (typically 127.0.0.1:953 and maybe an IPv6 address). Since the command in that script is only calling: rndc stop 2>/dev/null; I can see only two causes right now. 1) rndc itself will never work (some config error or other problem). 2) the BIND control channel (port 953) isn't listening, so rndc itself may be working, but it can't control BIND. Check for listening sockets. sockstat -l -p 953 if you get listening sockets, try a status. rndc status if you fail on status, then it's time to investigate keys. rndc is not very helpful on error messages. I kind of think rndc was built for the software developers (ISC) and not very end-user consumer friendly. I have a good feeling that this message is correct in it's entirety. However, I am human and would accept corrections. If opportunity doesn't knock, build a door. "I can" is a way of life. More and Bigger is not always Better. The road to success is always uphill. __ 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]"
COM1 problems
I'm subscribed to the digest, everyone -- send CC me on every reply please... Hi there, new installation, 6.2-STABLE. I have a Belkin UPS on COM1 and sysutils/nut is trying to talk with it. I know it talks with it, because it has in the past. The problem I'm getting is that NUT is just filling the screen with errors, tty overflows, and various problems related to communication on that port with the UPS. Looking at NUT's website, they say the UPS communicates at 2400 baud 8N1 and I'd like to believe that. I tested without specifying a speed: # tip com1 and didn't get anything.. waited 30 seconds or so. After reading NUT's website, I tried: # tip -2400 com1 and got binary data (not readable information, but data none-the-less). The kernel reports the port as sio0, but sio0 doesn't exist in /dev the only serial port I see is cuad0{,.init,.lock} and that seems to be hard-coded by some init script (but I don't know where). cuad* also is said to be a dialout line, not a generic com device. /etc/remote does indicate it is a generic device in the sense it will just pass input/output... How can I configure /dev/cuad0 to be 2400 baud fixed? thanks for any tips and pointersit's been a while since I've dealt with serial ports. --Tim. If opportunity doesn't knock, build a door. "I can" is a way of life. More and Bigger is not always Better. The road to success is always uphill. Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ports mbone/udpcast (PR# 114061) outdated
I noticed not too long ago that mbone/udpcast was outdated (as in more than 3 years old). Not knowing what or how to proceed with such an outdated port, I decided to file a bug report. It seemed the sensible thing to do. As you can see below, Edwin (edwin .at. FreeBSD.org) made the change to close the ticket without much details. > State-Changed-From-To: open->closed > State-Changed-By: edwin > State-Changed-When: Wed Jun 27 07:20:48 UTC 2007 > State-Changed-Why: > Please submit patches Well, I know what patches are, but I don't think patches themselves are able to fix the outdated port.. so I'm lost. What do I do? I thought since the port was extremely outdated, that someone with a commit bit would have to setup the updated port in the CVS tree, I can't commit them myself. I don't even know exactly what patches are needed or where to submit them. So, how do I proceed? I need some tips and a hand-in-hand tutorial on what to update and where to send the update. Thanks for the tips. BTW: I'm subscribed to the questions list on a digest, I ask a CC please on all the replies. --Tim J. If opportunity doesn't knock, build a door. "I can" is a way of life. More and Bigger is not always Better. The road to success is always uphill. Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
openLDAP - Mozilla clients asking for password
OK, I'm at wit's end. Every doc I read is telling me that the default openLDAP installation provides the rootdn as write access, and the rest are read only, with no access control changes. However, when I installed openLDAP, mozilla seamonkey address book keeps prompting for a password. I'm not sure what password it might be asking for, since the base dn and search dn don't have any cn's (am I using the write letters? lol) to work from. I found out how to search locally (as in 127.0.0.1 or sockets) on the server, returning the strings and data I want. But I can't figure out how to do it via client. As I'm writing this, it may be an issue of the source IP address (when using a client, it's not on 127.0.0.1 or the server IP it's bound to). Would the remote IP cause a password prompt? Google is only returning results of "default configuration isn't to prompt for password, read only access" type of hits. But the search terms are the same as this sentence, with no value in those terms. So now I'm lost. Please help, --Tim If opportunity doesn't knock, build a door. "I can" is a way of life. More and Bigger is not always Better. The road to success is always uphill. Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to build 8.0 Headless Installation Disk
Replies inserted below On 1/13/10, Martin McCormick wrote: > I started to use the same strategy that worked in 6.x > but it is not working right now. > > I obtained8.0-RELEASE-i386-disc1.iso and did: > mkdir 8.0serial > tar xf 8.0-RELEASE-i386-disc1.iso > > This produced a read-write file system that appears sane > in that it seems to be large enough, but not larger than a > standard CDROM. > > The boot directory has loader.conf in it but there is no > reference to any console. > > I added the following: > > mfsroot_load="YES" > mfsroot_type="mfs_root" > mfsroot_name="/boot/mfsroot" > #add by martin > console="comconsole,vidconsole" > > The CDROM burner is on a Linux system so I used tar to > copy the 8.0serial file system over to the Linux system and then: > > mkisofs -l -R -q . |cdrecord -dev=/dev/hdc - ^^^ mkisofs needs to have the boot record -b boot/cdboot -no-emul-boot And as another option, you might look at mfsBSD, it runs off mfs (RAM) disks with sshd being enabled by default. Once it boots (kernel starts probing), the cd can be ejected. > > This produces a CD that looks fine in that you can mount > it, see all the files, etc. > > The CD does not boot and the system continues to boot as > if there was no CD in the drive. > > I did burn an unmodified image to a CDROM and the system > did hang, waiting for keyboard input so that ISO image does work > but I need the serial console to come up on boot as we will be > running it remotely. This has worked in the past when necessary, > but it appears something changed between FreeBSD6.3 and 8.0 and > I must be doing something wrong now. > > Has anybody gotten an 8.0 CD to come up on the serial > console? > > One thing that has changed between 6.3 and 8.0 is that > the tar application does not get confused. In 6.3, there were a > couple of files that caused an "out of order" error but the 8.0 > CD produced no errors at all. > > Thank you for your help. > > Martin McCormick WB5AGZ Stillwater, OK > Systems Engineer > OSU Information Technology Department Telecommunications Services Group --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Trying to build 8.0 Headless Installation Disk
Replies inline On 1/13/10, Martin McCormick wrote: > Tim Judd writes: >> ^^^ mkisofs needs to have the boot record >> -b boot/cdboot -no-emul-boot >> >> >> And as another option, you might look at mfsBSD, it runs off mfs (RAM) >> disks with sshd being enabled by default. Once it boots (kernel >> starts probing), the cd can be ejected. > > This could be a game changer if I could somehow get the > FreeBSD8.0 installation CD to run remotely via this method. The install mediums are a basic freebsd kernel with a MFS-root that provides a cut-down userland including the binary sysinstall. The kernel tries a few binaries to run as the initial binary, init. The last item it will try to launch on startup is sysinstall. > > The problem is that some of the systems that I am > upgrading are 150 miles away. We have people there who are not > comfortable with Unix but who are certainly able to install and > remove CDROM's on request. If I could get the sysinstall > application to talk to me over the network, I don't care if it > is a serial line or not. You can run sysinstall over any connection, I've had it running on the local console (of course), serial console, and ssh session. > If we could get this down to 1 or two CD's, a major > millstone will be removed from my neck. > > As a computer user who happens to be blind, the serial > console is extremely useful and I usually make whatever version > of FreeBSD we are using in to a serial console disk so it comes > up serial, even if it is right next to me. It just makes things > go more smoothly if one doesn't have to hunt up a keyboard and > hope this or that box still has a sounder so you can hear any > beeps. I'm surprised on how far braille has gotten onto computer systems. > I have even put a portable radio on top of a server and > listened for activity because that was the only way to tell if > it was booting or in Lala Land. Just for the record, a steady > sound usually means Lala Land and a sound like whales competing > FOR territory and female attention means something is happening. > > Anyway, not needing to modify the installation disk, > itself would be nice. > > In closing, I love FreeBSD and nothing said here is a > gripe or complaint. FreeBSD is Unix and therefore accessible. > Utilities like installation disks and rescue applications are > always a little tricky because they deal with the system at a > very low level. > > Martin McCormick WB5AGZ Stillwater, OK > Systems Engineer > OSU Information Technology Department Telecommunications Services Group > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Receive email from Exchange 2003
On 1/20/10, Truong Thu Bac wrote: > Dear Mr/Ms, > > > > I want to build a Internal Email System between a PC with FreeBSD OS and > Exchange 2003 (Email Server) > > > > Current, I got a Proxy Server (IP:10.20.1.10) within FreeBSD OS. I > installed Sendemail Software and Qpopper Software. > > I tried to send and receive emai, this blow is result: > > > > Send Email: From 10.20.1.10 to Email Exchange 2003 System > à YES > > From 10.20.1.10 to 10.20.1.10 à YES > > Receive Email: From Email Exchange 2003 System to 10.20.1.10 > à NO > > From 10.20.1.10 to 10.20.1.10 à YES > > Could you please kindly give a Solution for this ? > > If you have any question, please contact with me. > > > > Thank you very much . > > > > Regards, > > VBAC It's probably due to how Exchange or the Internet at large has MX records in DNS setup. Check that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Fwd: DSN (was: Re: Receive email from Exchange 2003)
Truong Thu Bac, The DNS/MX to foster.com.vn is possibly misconfigured too, it's blocking mail from gmail. -- Forwarded message -- From: Mail Delivery Subsystem Date: Thu, 21 Jan 2010 05:22:38 + Subject: Delivery Status Notification (Failure) To: taj...@gmail.com Delivery to the following recipient failed permanently: v...@foster.com.vn Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 Blocked (state 14). - Original message - MIME-Version: 1.0 Received: by 10.115.134.18 with SMTP id l18mr680973wan.128.1264051354525; Wed, 20 Jan 2010 21:22:34 -0800 (PST) In-Reply-To: <00bf01ca9a45$51a26aa0$f4e73f...@com.vn> References: <00bf01ca9a45$51a26aa0$f4e73f...@com.vn> Date: Wed, 20 Jan 2010 22:22:34 -0700 Message-ID: Subject: Re: Receive email from Exchange 2003 From: Tim Judd To: Truong Thu Bac Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 1/20/10, Truong Thu Bac wrote: > Dear Mr/Ms, > > > > I want to build a Internal Email System between a PC with FreeBSD OS and > Exchange 2003 (Email Server) > > > > Current, I got a Proxy Server (IP:10.20.1.10) within FreeBSD OS. I > installed Sendemail Software and Qpopper Software. > > I tried to send and receive emai, this blow is result: > > > > Send Email: From 10.20.1.10 to Email Exchange 2003 System > à YES > > From 10.20.1.10 to 10.20.1.10 à YES > > Receive Email: From Email Exchange 2003 System to 10.20.1.10 > à NO > > From 10.20.1.10 to 10.20.1.10 à YES > > Could you please kindly give a Solution for this ? > > If you have any question, please contact with me. > > > > Thank you very much . > > > > Regards, > > VBAC It's probably due to how Exchange or the Internet at large has MX records in DNS setup. Check that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: pf rules
On 1/22/10, kalin m wrote: > > hi all... > > doing testing with pf... > > how is it possible that if i have these rules below in pf.conf if i do: > telnet that.host.org 25 > > i get: > Trying xx.xx.xx.xx... > Connected to that.host.org. > Escape character is '^]'. > ... etc ... > > > pf.conf contetns: > > tcp_in = "{ www, https }" > ftp_in = "{ ftp }" > udp = "{ domain, ntp }" > ping = "echoreq" > > set skip on lo > scrub in > > antispoof for eth0 inet > > block in all > pass out all keep state > pass proto udp to any port $udp > pass inet proto icmp all icmp-type $ping keep state > pass in inet proto tcp to any port $tcp_in flags S/SAF synproxy state > pass proto tcp to any port ssh > > pfctl -s info Look for the fact it says "Enabled" (near the top of the screen) and you're blocking inbound all, but since you're passing out all, telnetting out will work. You aren't very clear on which side you have the pf loaded on, the email indicates it's the client-side you have pf enabled. Please clarify. --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: GELI file systems unusable after "glabel label" operations
On 1/14/10, Scott Bennett wrote: > I used "glabel label" to label each of the file systems I have on > external > disk drives. Unfortunately, afterward I am now unable to "geli attach" any > of > the GELI-encrypted file systems. The system is FreeBSD 7.2-STABLE. Is > there > a way to get this to work? Or have I just lost everything in the encrypted > file systems? > > hellas# geli attach -k work.key /dev/label/work > geli: Cannot read metadata from /dev/label/work: Invalid argument. > hellas# ls -lgF /dev/label/ > total 0 > crw-r- 1 root operator0, 192 Jan 14 00:47 archives > crw-r- 1 root operator0, 191 Jan 14 00:47 backupsi > crw-r- 1 root operator0, 182 Jan 14 00:47 backupsl > crw-r- 1 root operator0, 166 Jan 14 00:47 backupss > crw-r- 1 root operator0, 179 Jan 14 00:47 sec > crw-r- 1 root operator0, 161 Jan 14 00:47 usrobj > crw-r- 1 root operator0, 184 Jan 14 00:47 usrports > crw-r- 1 root operator0, 186 Jan 14 00:47 vboxdisk > crw-r- 1 root operator0, 181 Jan 14 00:47 work > hellas# > > Any help in recovering the lost data would be deeply appreciated. If > that cannot be done, then at least knowing that would keep me from wasting > further time on it. Thanks much. Are you aware that tunefs -L will label a device? It is stored as part of the filesystem, instead as a GEOM metadata. So you should be able to get both labeling (/dev/ufs/labelname) and GELI as you are asking for. As for recovering your data, I see other helpful posts in this thread, as I have no additional helpful information to recommend. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: "Invalid partition table" after installation (GOOD NEWS!)
> OK - my current best theory is that if the Standard boot manager > is faced with anything other than exactly 1 bootable slice (partition > to it), it defaults to "Invalid partition table." I'll bet anyone > lunch that this is true. Any takers? I've read before: the standard bootloader looks for the first freebsd slice, and runs it. If there's no bsdlabel partition 'a' then it will have trouble booting. I haven't followed this thread in detail. I briefly saw you had 3 slices defined, is by chance the first slice a system disk? > I'll test my theory tonight and let you all know how it turns out. > If this is true, then we should at least post some warnings, if not > actually fix the installation process so that if you choose "Standard," > it helps ensure that you have one and only one bootable slice/partition! > > Whaddaya think? > > Well, better it happen to me than someone from another community who is > trying us out for the first time... > -- > > John Lind > j...@starfire.mn.org > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Raw sockets in jails
On 1/25/10, Nathan Butcher wrote: > Thanks for the link. That clears a few things up, but not quite what I'm > trying to achieve.I set the following in rc.conf for a jail called "test" > > jail_test_flags="allow.raw_sockets" > > then I start the test jail with > > # /etc/rc.d/jail start test > > ... and then I get the following cryptic response... > > Configuring jails:. > Starting jails: cannot start jail "test": > But it doesn't look like one. > . > > ... and the jail doesn't start. > What's the story there? allowing raw sockets to a jail is a sysctl sysctl -a | grep "jail." the raw sockets tunable should easily be found. make the change permanent by editing/adding it to /etc/sysctl.conf --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Pain finding packages
On Sat, Jan 30, 2010 at 11:48 AM, Joe Springer wrote: > Hi. > > I am very new to FreeBSD with several years of Linux experience. After > installed FreeSDB for the first time, I wanted to install some packages. For > example, samba. > > I found that > > pkg_add -r samba > > fails. I need to know specifically the samba version to install it. > > To install, I needed do this: > pkg_add -r samba3 > > This is difficult. Do I need to look up every package in advance on your > website to understand what version I need to install? > > Isn't there a way to specify "Install the latest version of some package > that is appropriate to the version of my installed FreeBSD"? > > Thanks, > Joe > > Since the ports tree (for which packages are made from) can house multiple versions of a software package (samba 3.0, 3.2 and 3.3 IIRC), specifying "samba" alone sometimes work for the default, and sometimes it's "samba32" or similar. It's up to the port maintainer to name it and what the resulting package name will be. Like most distributions, a search online can yield the version you want. Go to http://ports.freebsd.org and query any part of a substring to search for. --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Installing FreeBSD on a USB stick.
On 2/15/10, Christer Solskogen wrote: > On Mon, Feb 15, 2010 at 4:55 AM, Fbsd1 wrote: > >> http://www.a1poweruser.com/usb.info.htm >> > > Why does Websence think your site contains Potentially Unwanted Software? > Without even clicking his link, I've had past experience with a "legit" website being marked unsafe by various engines out there. 1) Another site "sister" to them (by means of the same IP subnet block) is truly unwanted, and it improperly marks a legit site bad. This includes the SOA's DNS servers (I had this case) 2) The legit site is using an ad agency that is known to do bad stuff with their banner ads. 3) A site with a vulnerable app (think wordpress or the notorious "php" apps that are put out) that hasn't been patched. And I agree with this 'Fbsd1' user (I wish 'Fbsd1' would update his MTA with a real name) that since Christer is who uses the product, he should look into it. --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: IDE ZIP100 Drive
On 2/23/10, Programmer In Training wrote: > On 02/22/10 14:32, Programmer In Training wrote: >> Second attempt to post this to the list. Please bear with me as I'm >> having issues with my posts to the list not always making it through. >> >> OK, after some searching I've come up (almost) empty handed[0-1]. >> Everything else I've found so far for IOMEGA ZIP100 drives deals with >> the external drive (either USB or parallel port). I've not seen anything >> in dmesg or /var/log/messages that would indicate that the device is >> being detected by anything on boot aside from the BIOS. I'm not sure of > > > OK, upon a second reboot (for something unrelated), the device is > detected (but I think only because I had the disk in the drive at the > time). Now I'm having mount issues. First, it's entry in dmesg: > > afd0: 95MB at ata0-slave PIO0 > > I'm issuing the following command with the following results: > > mount_msdosfs /dev/afd0 /mnt/zip > mount_msdosfs: /dev/afd0: Invalid argument Could be due to that the zip disks have a partition defined. ls /dev/afd0* file -s /dev/afd0 > The man page for mount and mount_msdosfs gives no clue on why that's an > invalid argument. When executed, the drive is accessed, then a moment > later it errors out as above. I've tried afd1 through afd4, I just get > no such file or directory errors. > > I'd like to use the zip drive to back up my private keys from GnuPG and > other important data. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Question about Jails
On 2/27/10, Gökşin Akdeniz wrote: >> >> I understand this is possible but cant seem to find any how to`s or >> guides out on the net, I would like to set up a jail running FreeBSD 8.0 >> i386 on a system that is running FreeBSD 8.0 amd64. >> > JAILS requires host and client systems source code in sync. So that makes it > impossible to run a jail -i386- on -AMD64- host. You can only build a i386 > jail if and only if the host is i386. > > > Won't the lib32 subsystem allow the i386 jail to work with an amd64 host? Or have I misunderstood the lib32 subsystem completely? I have no amd64 systems to work with, as I have only i386 at home. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Thousands of ssh probes
Replies interspersed On 3/5/10, John wrote: > On Fri, Mar 05, 2010 at 07:03:53AM -0600, Programmer In Training wrote: >> On 03/05/10 06:54, John wrote: >> > My nightly security logs have thousands upon thousands of ssh probes >> > in them. One day, over 6500. This is enough that I can actually >> > "feel" it in my network performance. Other than changing ssh to >> > a non-standard port - is there a way to deal with these? Every >> > day, they originate from several different IP addresses, so I can't >> > just put in a static firewall rule. Is there a way to get ssh >> > to quit responding to a port or a way to generate a dynamic pf >> > rule in cases like this? >> >> Can you not deny all ssh attempts and then allow only from certain, >> trusted IPs? > > Ah, I should have added that I travel a fair amount, and often > have to get to my systems via hotel WiFi or Aircard, so it's > impossible to predict my originating IP address in advance. If > that were not the case, this would be an excellent suggestion. I've been in that same boat. I eventually came to the decision to: Install PPTP server software, accepting connections from any IP. Once connected with PPTP, edit the sshd rule in pf to allow sshd connections. Optionally reconnect for sshd only. It's worked well. > >> -- >> Yours In Christ, >> >> PIT >> Emails are not formal business letters, whatever businesses may want. >> Original content copyright under the OWL http://owl.apotheon.org >> Please do not CC me. If I'm posting to a list it is because I am >> subscribed. > -- > > John Lind > j...@starfire.mn.org > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Thousands of ssh probes
On 3/5/10, Randal L. Schwartz wrote: >>>>>> "Tim" == Tim Judd writes: > > Tim> I've been in that same boat. I eventually came to the decision to: > Tim> Install PPTP server software, accepting connections from any IP. > > Whoa. Here we are, talking about making it *more* secure, and > you go the other direction > > > http://en.wikipedia.org/wiki/Point-to-Point_Tunneling_Protocol#Security_of_the_PPTP_protocol > > > In short, you can't take anyone seriously who suggests PPTP when > talking about security. > Randal, It's not meant as the solution for remote access. It's only a stopgap so you can ssh into your router and add the remote IP. Then disconnect from the VPN you've configured, PPTP or not, and use SSH. And the fact that I haven't (yet) seen random bots try vpn will keep my logs clean. I'm sorry, I respect Randal very much, but.. A) ..wikipedia? that's informative and useful, but not authoritative in any way. B) It's connected for maybe 5 minutes at most. While connected, your ssh session is still encrypted while you add the current remote IP. I stand by my statements. The other way (which requires a cron job) is to setup your roaming laptop with a dyndns address (or similar service) and have your router re-load it's firewall config periodically for any possible IPv4/IPv6 address changes to be picked up. I haven't done this to finish yet. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Debug still in kernel
On 3/6/10, Jason Garrett wrote: > Hello all, > > I am currently tracking RELENG_8_0. I did a csup last night and noticed that > debug is still enabled in the GENERIC kernel. I thought debugging was > supposed to be left out once the 8 branch went RELEASE? Can anyone shed > light on this subject? What makes you think debugging is still on? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Debug still in kernel
On 3/6/10, Jason Garrett wrote: > On Sat, Mar 6, 2010 at 13:51, Tim Judd wrote: > >> On 3/6/10, Jason Garrett wrote: >> > Hello all, >> > >> > I am currently tracking RELENG_8_0. I did a csup last night and noticed >> that >> > debug is still enabled in the GENERIC kernel. I thought debugging was >> > supposed to be left out once the 8 branch went RELEASE? Can anyone shed >> > light on this subject? >> >> What makes you think debugging is still on? >> > > >From /usr/src/sys/i386/conf/GENERIC > > makeoptions DEBUG=-g# Build kernel with gdb(1) debug > symbols > options PREEMPTION # Enable kernel thread preemption > > why are these still in GENERIC after release? I can confirm debug symbols is still in the kernel, but that is most likely used for backtraces and debugging when a kernel panic happens. This is instead of asking the user who had a kernel panic to rebuild with debugging to debug it. PREEMPTION as I understand it should have been removed from the kernel config file. It should have been removed from the GENERIC config file after RELENG_8_0_RELEASE tag is made. I don't know what your tag is when you update. Perhaps you're copying or using a config file from the BETA or RC days? I'll help until I can't help no more with your issue. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: powerd on 8.0, is it considered safe?
I've been running powerd for a while. Been running it on an ASUS B202. It brought my freq down to 100mhz when I checked on it. Stopping powerd brought the freq up to 1600, and restarting powerd brought it back to 100mhz eventually. You might need to load an ACPI module for your system. Mine would be acpi_asus.ko if I choose to run it. I've never seen powerd to cause panics. I'm sure it's possible, but I've never seen it. Mark +1 for the success here on this side. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Which version of FreeBSD is it?
On 3/17/10, Антон Клесс wrote: > That is what I suspected for. > > What is the most safe way to upgrade it, remembering that this is production > server and I have to keep it working properly? > > 6.2-RC1 -> 6.2 RELEASE -> 7.2 RELEASE -> 8.0 RELEASE, or somehow in this > style? Honestly, if a system is going to go through that large of a change, here's what I'd recommend. First scenario is the quickest running, then continue with the second to keep it up-to-date Since *ALL* configuration of base and ports is done by /etc and /usr/local/etc, back up those two directories to a tarball. they're all text files so it should compress very well. Note the packages currently on your system with a simple pkg_info. This gets you a prime data set that can restore 99%+ functionality if used. Scenario 1: pkg_info >/root/pkg_info.txt tar -cPpzf /root/62rc1-config.tgz /etc /usr/local/etc /root/pkg_info.txt ** keep this /root/62rc1-config.tgz archive in a safe 2 spots. 2 spots. fresh install of 8.0R on the box. extract, at minimum, the /etc entries from the tarball kept safely away from the box for each package listed in pkg_info.txt, install from packages that package (just the QUICK way to bring a box to a usable state) extract the /usr/local/etc from the tarball. **TRY** to restart your services. The reason I state 'try' is that config files may have changed from a package version a.b to x.y, so you may need to tweak your config files to match the current package. Now that you have a live box again, able to serve requests, it's time to keep it maintained. Scenario 2: install portaudit run portaudit, fix any vulnerabilities ** at this time, your system is safe from most vulnerabilities run your favorite port management software to update the rest of the ports who do not have vulnerability advisories. I've used this tactic before, works well and WILL be faster than you updating your system from 6.2 to 6.4 to 7.2 to 8.0 Let me know if you have questions. --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Also have a dead box [ WAS: Re: OT: dead box ]
On 3/23/10, Corey John Bukolt wrote: > On Sun, 21 Mar 2010 11:23:34 + (06:23 CDT) Chris Whitehouse wrote: >> When you press the power button does the cpu fan or the power supply fan >> spin for a moment then stop? That's a sign that something on or plugged >> in to the motherboard has blown. Unplug things and test again. >> >> Chris > > Just a few days ago, I was helping a friend build a system (with all > brand new components, I might add) and we had this very problem. After > sticking in the CPU and RAM and hooking up and turning on the PSU, the > green LED on the motherboard turns on. However, the second the power > button is pressed, everything flashes for a second, then turns back off. > The green LED on the motherboard also remains on. The only way to get > it to flash again is to turn off the PSU, wait, then turn it back on. > We tried re-seating everything, to no avail. > > Reading this thread, someone else mentioned beep codes and that if there > were none, it's most likely a fried motherboard. > > Can anyone else confirm this? > > ~Corey Best way to confirm a dead board in any case is those POST diagnosis cards. They have a dual-digit LED output that changes depending on the signal on the wire. If at any time those dual-digit LEDs stay permanently on anything OTHER THAN 00 is a failed POST. If it fails before it gets a shot at testing RAM or anything, there may be no beep codes. Always good to have one in a toolkit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd, postfix and push email
On 3/27/10, Ron (Lists) wrote: > Is there a way to get my freebsd/postfix setup to send push notifications to > an iPhone (I assume other smart phones work the same way). I've searched > the web and I can't find any information about how to make this work. I > know it can be done with Exchange and ActiveSync, but I don't want to run > any kind of exchange server. > > Thanks for any help, or even a point in the right direction. > > Ron Wouldn't push email be a function of your POP3 or IMAP server? FreeBSD and Postfix are neither of those. Check your incoming mail services, such as what serves your POP3 or IMAP. Good luck. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd, postfix and push email
On 3/27/10, per...@pluto.rain.com wrote: > Tim Judd wrote: >> On 3/27/10, Ron (Lists) wrote: >> > Is there a way to get my freebsd/postfix setup to send push >> > notifications to an iPhone ... I know it can be done with >> > Exchange and ActiveSync, but I don't want to run any kind of >> > exchange server. >> >> Wouldn't push email be a function of your POP3 or IMAP server? >> FreeBSD and Postfix are neither of those. > > Er, no. POP3 and IMAP are "pull" services, wherein the client > polls the server periodically for any newly-arrived messages. > A client-level "push" service would need to operate similarly > to biff(1)/comsat(8). > I've never heard of either, but when I configure my IMAP server and put any mail client to it, as soon as a mail is delivered, the mail client is notified. I don't use biff or comsat or anything similar. mine is a simple IMAP server pushing it. I'm anxious to really hear what this is... I don't have any POP3/IMAP enabled smartphones to test with. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
mkuzip and/or geom_uzip changes?
Hi All, Just starting to see if I can find other reports. You all probably have had the "more than one pair of eyes looking at a thing is better than my eyes alone." This is why I'm writing now, as I'm starting the discovery. Let me background this a little bit. I only started looking into this because mkuzip and it's counterpart, geom_uzip are throwing errors on FreeBSD8 i386 scenario (/etc/src.conf in effect, removing *LOTS* of stuff with knobs): make DESTDIR=/home/small8 installworld installkernel distribution mv /home/small8/boot /home/small8-boot/ makefs -t ffs /home/small8/usr.img /home/small8/usr/ mkuzip -o /home/small8/usr.uzip /home/small8/usr.img [*] chflags -R noschg /home/small8/usr/* rm -rf /home/small8/usr/* /home/small8/usr.img ee /home/small8/etc/rc.d/mountcritlocal [**] makefs -t ffs /home/small8-boot/mfsroot /home/small8/ gzip --best /home/small8-boot/mfsroot ee /home/small8-boot/boot/loader.conf [***] rm /home/small8-boot/boot/kernel/*.symbols gzip --best /home/small8-boot/boot/kernel/kernel mkisofs -U -J -r -V "FreeBSD8" -b boot/cdboot -no-emul-boot -iso-level 4 -o /home/small8.iso /home/small8-boot/ [*]: mkuzip inserts a script header that is broken. module name it's searching for may have been renamed? [**]: Edited mountcritlocal to mount the usr.uzip file as by using the above script header, throws errors [***]: added zlib and geom_uzip modules to load to the boot image, to satisfy the script header's requirements. OK, the above scenario creates about a 33MB usr.uzip, and a 68MB iso. Small enough to apparently fit into the undocumented 50 or 100MB size limit of mfs_root module The problem: mkuzip generates a few lines as a script in the head of the resulting *.uzip file. Two problems... 1) the module it queries for is geom_uzip (kldstat -m $m), but FreeBSD8 names the geom_uzip module (i guess, internally) as g_uzip. mkuzip's generated image will never find the module if they're not named the same. 2) even with geom_uzip module and it's dependency zlib loaded, i don't get a mdconfig node '/dev/md?.uzip' to appear. It's been forever since I touched uzip, so I have to ask. Looking at the cvsweb, (as a bonus question, what's the svn website address to look at source files?) mkuzip program last modified 3 years (2 months for the Makefile), geom_uzip module Makefile last modified 4 years ago. 3-4 years yield a median FreeBSD version 6.2. Have we broken something in 7 or 8? The request: Is it a PEBKAC? ID 10T error? Duplicatable? I'm gonna research what I can, when I can. I would expect to see something pop up clearly if it is a regression. Can I ask you all to use your eyes or past knowledge if something is broken? src.conf Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Fwd: mkuzip and/or geom_uzip changes? - SOLVED
On 4/1/10, Tim Judd wrote: > On 4/1/10, Tim Judd wrote: >> On 4/1/10, John Baldwin wrote: >>> On Wednesday 31 March 2010 6:32:09 pm Tim Judd wrote: >>>> Hi All, >>>> >>>> Just starting to see if I can find other reports. You all probably >>>> have had the "more than one pair of eyes looking at a thing is better >>>> than my eyes alone." This is why I'm writing now, as I'm starting the >>>> discovery. >>>> >>>> Let me background this a little bit. I only started looking into this >>>> because mkuzip and it's counterpart, geom_uzip are throwing errors on >>>> FreeBSD8 i386 >>>> >>>> >>>> scenario (/etc/src.conf in effect, removing *LOTS* of stuff with >>>> knobs): >>>> make DESTDIR=/home/small8 installworld installkernel distribution >>>> mv /home/small8/boot /home/small8-boot/ >>>> makefs -t ffs /home/small8/usr.img /home/small8/usr/ >>>> mkuzip -o /home/small8/usr.uzip /home/small8/usr.img >>>> [*] >>>> chflags -R noschg /home/small8/usr/* >>>> rm -rf /home/small8/usr/* /home/small8/usr.img >>>> ee /home/small8/etc/rc.d/mountcritlocal >>>> [**] >>>> makefs -t ffs /home/small8-boot/mfsroot /home/small8/ >>>> gzip --best /home/small8-boot/mfsroot >>>> ee /home/small8-boot/boot/loader.conf >>>> [***] >>>> rm /home/small8-boot/boot/kernel/*.symbols >>>> gzip --best /home/small8-boot/boot/kernel/kernel >>>> mkisofs -U -J -r -V "FreeBSD8" -b boot/cdboot -no-emul-boot >>>> -iso-level 4 -o /home/small8.iso /home/small8-boot/ >>>> >>>> >>>> [*]: mkuzip inserts a script header that is broken. module name it's >>>> searching for may have been renamed? >>>> [**]: Edited mountcritlocal to mount the usr.uzip file as by using the >>>> above script header, throws errors >>>> [***]: added zlib and geom_uzip modules to load to the boot image, to >>>> satisfy the script header's requirements. >>>> >>>> OK, the above scenario creates about a 33MB usr.uzip, and a 68MB iso. >>>> Small enough to apparently fit into the undocumented 50 or 100MB size >>>> limit of mfs_root module >>> >>> BTW, you can raise this limit by changing NKPT. >>> >>>> The problem: >>>> mkuzip generates a few lines as a script in the head of the >>>> resulting *.uzip file. Two problems... >>>> 1) the module it queries for is geom_uzip (kldstat -m $m), but >>>> FreeBSD8 names the geom_uzip module (i guess, internally) as g_uzip. >>>> mkuzip's generated image will never find the module if they're not >>>> named the same. >>> >>> It is g_uzip even in 7: >>> >>> DECLARE_GEOM_CLASS(g_uzip_class, g_uzip); >>> MODULE_DEPEND(g_uzip, zlib, 1, 1, 1); >>> >>> This has probably just been broken from the start. If it used 'kldstat >>> -n' >>> then it might work. Well, it probably works (modulo a warning) by >>> accident >>> as >>> it doesn't hurt to kldload an already-loaded module. Note though that >>> it >>> assumes the raw usr.img is an ISO image, not a UFS filesystem. >>> >>>> 2) even with geom_uzip module and it's dependency zlib loaded, i don't >>>> get a mdconfig node '/dev/md?.uzip' to appear. >>>> >>>> It's been forever since I touched uzip, so I have to ask. >>> >>> Do you have a md0 device at all? I think you want to hack the script to >>> do >>> something like this: >>> >>> disk=`mdconfig -af /path/to/usr.img` >>> mount -r /dev/$disk.uzip /usr >>> >>> -- >>> John Baldwin >>> >> >> >> >> booted single-user >> md0 is the mfs_root >> >> here is the manual attachment of an mdconfig... >> # mdconfig -af /usr.uzip >> WARNING: opening backing store: /usr.uzip readonly >> md1.uzip: block size (24) should be a multiple of 512. >> md1 >> # ls /dev/md1* >> /dev/md1 >> # >> > > Forgot the kldstat, which was obviously omitted > > # kldstat > Id Refs Address Size Name > 1 5 0xc040 b6e060 kernel > 2 1 0xc0f6f000 3ffc geom_uzip.ko > 3 2 -xc0f73000 ac20 zlib.ko > John, All: Don't spend any more time on this issue as a show-stopper anymore. I understand what was going on enough to realize that the middle line, rather than a warning, was an outright error and the md?.uzip device cannot be presented. When I was trying to diagnose my cascading problems, one of the items I did was to edit (with ee) the usr.uzip binary file. I only used the cursor in the script header part, saved it and tried it out. Evidentally, that screwed the file up. Recreating the .img, converting to a .uzip is working. I'm back on track, no need to continue to search this. enjoy! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Support for Zotac MB with nVidia ION chipset
On 4/4/10, Jeremie Le Hen wrote: > Hi, > > --->> Please Cc: me when replying, I'm not subscribed. <<--- > > I plan to purchase a Zotac motherboard with a embedded ATOM processor. > It uses an NVidia chipset. > > http://www.zotacusa.com/zotac-ionitx-f-e-atom-n330-1-6ghz-dual-core-mini-itx-intel-motherboard.html > > My intent is to build a small NAS with ZFS and NFS/CIFS. I'd like to > know if anyone successfully ran FreeBSD on this motherboard and what > performance could be achieved, especially if ZFS is used. I checked the > archives without luck. > > Thanks! > -- > Jeremie Le Hen A NAS w/ ZFS, NFS and CIFS/SMB, doesn't need any feature of the ion chipset. Why are you electing for this board if you're not running any graphical environment? And ZFS is memory hungry, the Atom is a i386-like chip, so you'd have too much overhead with ZFS. I think you've elected the wrong board for your purposes. Will FreeBSD run on it? yes. I have freebsd on another atom N-series ASUS box. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: under X, frozen keys, no mouse
On 4/4/10, Henry Olyer wrote: > I installed FBSD 7.3 on an older Compaq box. It has a built-in video card, > this isn't a top of the line superfast machine. > > But it is important for me to press it into service. > > I tried using a couple of Option lines in xorg.conf, but no luck. Would be nice for you to mention what option lines you're talking about. This message is not detailed enough to accurately read your mind. > > so now my questions... > > Will FBSD 7.3 make use of xf86cfg or some such program. I ask because the X > --configure command has never worked for me; Not on any of five different > machines I've put FBSD on. X --configure doesn't itself install the xorg.conf file it creates. > > I'm not trying to do a sophisticated install either -- and though I've > decided against running OpenBSD, the default install put's up X > perfectly... (Why??) > A missing driver in freebsd that open puts on by default? again, too vague. > wish I knew more... as do I. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: How to create a "base" distribution set?
On 4/5/10, Peter Steele wrote: > One of the distribution sets that comes on a standard release DVD is "base". > This includes the core set of binaries as well as the files under /etc and a > few other text files. Running "make installworld" doesn't collect everything > that's needed. Is there a make option to gather all of the files? I assume > something like "make release" might do that but I don't want to run a full > release build, I just want to create the base distribution set. > I use make distributionin /usr/src to create the rest of the /etc files. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: How customized can an mfsroot be?
On 4/5/10, Peter Steele wrote: > We have a USB boot stick based cloning process that we're considering > porting to a DVD based media. I'm not sure though that it's possible due to > the restrictions I've seen in the mfsroot environment we'd have to use. For > example, in our USB disk procedure, we create partitions using gpart and set > up mirroring for the OS partitions. We even recognize 3Ware controllers and > automatically create logical RAID sets from the available drives. In some > earlier work I did with a pxe boot server a couple of years ago, I know that > I could not setup mirrors via sysinstall and I assume that hasn't changed in > FreeBSD 8. Is it possible to customize the mfsroot environment to run a > larger variety of commands to allow us to duplicate the cloning process we > use with USB boot sticks or is this project likely not doable? > I'm working through my own livecd boot mechanism currently. >From my experience, there is a limit on how much space you can fit into the kernel.. for modules. mfs_root is considered a module. Based on previous projects such as freesbie, mfsbsd, etc, you can run between a 50-100MB compressed mfs_root to find how much data you can store on that medium. But ... why are you constricting yourself to use mfs_root? I have many times ran FreeBSD completely from CDrom, which will give you all 700 (or a DVD, 4.3G) usable space. I'd be happy to help, if you have questions. but please direct the questions to the mailing list. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"