A little gift - Only
Only Friends Punam belongs to Skoost and sent you a little gift. Click below to collect your gift: http://www.skoost.com/fun?freebsd%2Dquestions%40freebsd%2Eorg/23839624/12 P.S. This is a safe and innocent gift that Only Friends Punam sent from Skoost. This e-mail was sent to freebsd-questions@freebsd.org on 10/23/2009 7:36:42 AM on behalf of Only Friends Punam (punam.chow...@gmail.com)___ 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
packet filter keep state doesn't
Hi: I have a setup like this: LAN SRV CLIENT --- FBSD --- GW/DSL Internet Now, I'd like my client to connect to the DSL box to manage it, so I have create the following rules in my pf.conf: pass in log quick on $FBSD_LAN inet proto tcp from CLIENT to GW \ port 80 flags S/SA keep state pass out log quick on $FBSD_SRV inet proto tcp from $FBSD_IP \ to Internet port 80 keep state block out log quick on $FBSD_SRV any I added the log keyword for debugging. It turns out that the packet is blocked by the last rule, despite the keep state. Am I doing something wrong or is this how it is supposed to be? I thought that I could just concentrate on the filtering the incomping packets using keep state, then the out rules would only apply to packets originating from the FBSD box. The curious thing is that since the FBSD box does NAT for connections with the Internet, packets destined for the Internet are not affected Thanks, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.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
DNS Question
Good morning. I have been asked by my co-workers and sales why I always create a A record for new domains we host instead of a CNAME. The issue I run into lately with some domains is that a client has a website with a industry host such as frank.relator.com and he wants to have DNS point www.frank.com to frank.relator.com with a CNAME. The client does not want an A record for frank.com. Somewhere, in a class far far away, I was taught a DNS zone had to have a A record to function properly. I can't seem to locate anything in the RFCs. Am I wrong? Thanks, DAve -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Quincy Adams http://appleseedinfo.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: DNS Question
DAve wrote: Good morning. I have been asked by my co-workers and sales why I always create a A record for new domains we host instead of a CNAME. The issue I run into lately with some domains is that a client has a website with a industry host such as frank.relator.com and he wants to have DNS point www.frank.com to frank.relator.com with a CNAME. The client does not want an A record for frank.com. Somewhere, in a class far far away, I was taught a DNS zone had to have a A record to function properly. I can't seem to locate anything in the RFCs. Am I wrong? Yes, you're wrong. In terms of web service, you can use either an A record or a CNAME record to provide the address part of a site's URL[*]. As far as the web server is concerned, it looks for the 'Host=' line in the HTTP packet to decide what name-based VHOST to dispatch the query to internally, and doesn't necessarily do any DNS lookups at all. Web clients just do a gethostbyname(3) or getaddrinfo(3) call to resolve the site name into an IP, and anything supported by those (/etc/hosts, NIS, LDAP, DNS) will do the trick. In terms of the DNS a 'Zone' is a delegated block of the name space under a single administrative control. Typically with BIND this maps onto a single 'Zone file' containing all of the DNS resource records for the zone. The only records a zone *has* to have are: * 1 SOA record, with the zone serial number * Some number of NS records giving the nameservers for the zone. It's perfectly permissible to have a zone that doesn't contain any A records (or records) and in fact, reasonably common: reverse domains generally contain mostly PTR records. Cheers, Matthew [*] Possibly others, but A and CNAME are the vast majority. Being able to use SRV for webservers would be cool. -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
FW: DNS Question
Date: Fri, 23 Oct 2009 08:30:08 -0400 From: dave.l...@pixelhammer.com To: freebsd-questions@freebsd.org Subject: DNS Question Good morning. I have been asked by my co-workers and sales why I always create a A record for new domains we host instead of a CNAME. The issue I run into lately with some domains is that a client has a website with a industry host such as frank.relator.com and he wants to have DNS point www.frank.com to frank.relator.com with a CNAME. The client does not want an A record for frank.com. Somewhere, in a class far far away, I was taught a DNS zone had to have a A record to function properly. I can't seem to locate anything in the RFCs. Am I wrong? I think you are confusing basics of DNS records. you are partially correct in that a DNS zone needs an initial A record to be able to translate a name to an IP, but there is nothing wrong about setting up a CNAME to point to a record in a different zone instead. you just cannot do a zone that has a CNAME only that does not at some point to a valid A record. CNAMEs are forwarders only whereas A records are actual lookups. for proper way to set this up The A record would be assigned for the main name that you want to associate to an IP address. The CNAME record just relates a different name to that original name. this allows you to change the IP address of the server and only have to update the original A record instead of every DNS record for that server. for small number of vhosts, this would not really be an issue, but imagine if you were hosting a couple hundred vhosts from a single IP and then had to change that IP because you switched your ISP. It would take you a LONG time to update them if they were all A records, but only a couple of seconds if you had it properly set up as CNAME's www.bobshosting.comA 192.168.0.1 www.vhost1.com CNAME www.bobshosting.com. www.vhost2.com CNAME www.bobshosting.com. www.vhost3.com CNAME www.bobshosting.com. www.vhost4.com CNAME www.bobshosting.com. -Sean ___ 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: FW: DNS Question
2009/10/23 Sean Cavanaugh millenia2...@hotmail.com Date: Fri, 23 Oct 2009 08:30:08 -0400 From: dave.l...@pixelhammer.com To: freebsd-questions@freebsd.org Subject: DNS Question Good morning. I have been asked by my co-workers and sales why I always create a A record for new domains we host instead of a CNAME. The issue I run into lately with some domains is that a client has a website with a industry host such as frank.relator.com and he wants to have DNS point www.frank.com to frank.relator.com with a CNAME. The client does not want an A record for frank.com. Somewhere, in a class far far away, I was taught a DNS zone had to have a A record to function properly. I can't seem to locate anything in the RFCs. Am I wrong? I think you are confusing basics of DNS records. you are partially correct in that a DNS zone needs an initial A record to be able to translate a name to an IP, but there is nothing wrong about setting up a CNAME to point to a record in a different zone instead. you just cannot do a zone that has a CNAME only that does not at some point to a valid A record. CNAMEs are forwarders only whereas A records are actual lookups. for proper way to set this up The A record would be assigned for the main name that you want to associate to an IP address. The CNAME record just relates a different name to that original name. this allows you to change the IP address of the server and only have to update the original A record instead of every DNS record for that server. for small number of vhosts, this would not really be an issue, but imagine if you were hosting a couple hundred vhosts from a single IP and then had to change that IP because you switched your ISP. It would take you a LONG time to update them if they were all A records, but only a couple of seconds if you had it properly set up as CNAME's www.bobshosting.comA 192.168.0.1 www.vhost1.com CNAME www.bobshosting.com. www.vhost2.com CNAME www.bobshosting.com. www.vhost3.com CNAME www.bobshosting.com. www.vhost4.com CNAME www.bobshosting.com. -Sean ___ 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 I try to use CNAMES as much as possible, for one very good reason. If say I have web server with 1000 vhost on it. I have one A record for the server and all the cnames point at that A record. Now i need to change the ip of the server. I update the A record and add a reverse record and im done. IF I had done it your way with all A records I would now have to go and edit another 1000 records. Even worse if some of these domains are not under my control I have to go and liaise with customers, or other third parties, and it becomes a complete mess. The chances of me convincing them all and coordinated it correctly are minimal 8( ___ 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: DNS Question
Sean Cavanaugh wrote: Date: Fri, 23 Oct 2009 08:30:08 -0400 From: dave.l...@pixelhammer.com To: freebsd-questions@freebsd.org Subject: DNS Question Good morning. I have been asked by my co-workers and sales why I always create a A record for new domains we host instead of a CNAME. The issue I run into lately with some domains is that a client has a website with a industry host such as frank.relator.com and he wants to have DNS point www.frank.com to frank.relator.com with a CNAME. The client does not want an A record for frank.com. Somewhere, in a class far far away, I was taught a DNS zone had to have a A record to function properly. I can't seem to locate anything in the RFCs. Am I wrong? I think you are confusing basics of DNS records. you are partially correct in that a DNS zone needs an initial A record to be able to translate a name to an IP, but there is nothing wrong about setting up a CNAME to point to a record in a different zone instead. you just cannot do a zone that has a CNAME only that does not at some point to a valid A record. CNAMEs are forwarders only whereas A records are actual lookups. for proper way to set this up The A record would be assigned for the main name that you want to associate to an IP address. The CNAME record just relates a different name to that original name. this allows you to change the IP address of the server and only have to update the original A record instead of every DNS record for that server. for small number of vhosts, this would not really be an issue, but imagine if you were hosting a couple hundred vhosts from a single IP and then had to change that IP because you switched your ISP. It would take you a LONG time to update them if they were all A records, but only a couple of seconds if you had it properly set up as CNAME's www.bobshosting.com http://www.bobshosting.comA 192.168.0.1 www.vhost1.com http://www.vhost1.com CNAME www.bobshosting.com http://www.bobshosting.com. www.vhost2.com http://www.vhost2.com CNAME www.bobshosting.com http://www.bobshosting.com. www.vhost3.com http://www.vhost3.com CNAME www.bobshosting.com http://www.bobshosting.com. www.vhost4.com http://www.vhost4.com CNAME www.bobshosting.com http://www.bobshosting.com. -Sean All true, and I did not do a very good job of explaining it. My issue was that we have requests to use a CNAME for the domain record. Such as this. example.com CNAME otherdomain.com www.example.com CNAME otherdomain.com I was taught this was not good form, but allowed. I can deal with it. But what of having a SOA record for example.com, no A or CNAME record for the TLD example.com, only hosts such as www, ns1, ftp, etc. I tried it an it seems to work fine, but doesn't look proper to me. Then again I remember when CNAME were considered evil. DAve -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Quincy Adams http://appleseedinfo.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: FW: DNS Question
-- Original Message -- From: krad kra...@googlemail.com Date: Fri, 23 Oct 2009 15:56:40 +0100 2009/10/23 Sean Cavanaugh millenia2...@hotmail.com Date: Fri, 23 Oct 2009 08:30:08 -0400 From: dave.l...@pixelhammer.com To: freebsd-questions@freebsd.org Subject: DNS Question Good morning. I have been asked by my co-workers and sales why I always create a A record for new domains we host instead of a CNAME. The issue I run into lately with some domains is that a client has a website with a industry host such as frank.relator.com and he wants to have DNS point www.frank.com to frank.relator.com with a CNAME. The client does not want an A record for frank.com. Somewhere, in a class far far away, I was taught a DNS zone had to have a A record to function properly. I can't seem to locate anything in the RFCs. Am I wrong? I think you are confusing basics of DNS records. you are partially correct in that a DNS zone needs an initial A record to be able to translate a name to an IP, but there is nothing wrong about setting up a CNAME to point to a record in a different zone instead. you just cannot do a zone that has a CNAME only that does not at some point to a valid A record. CNAMEs are forwarders only whereas A records are actual lookups. for proper way to set this up The A record would be assigned for the main name that you want to associate to an IP address. The CNAME record just relates a different name to that original name. this allows you to change the IP address of the server and only have to update the original A record instead of every DNS record for that server. for small number of vhosts, this would not really be an issue, but imagine if you were hosting a couple hundred vhosts from a single IP and then had to change that IP because you switched your ISP. It would take you a LONG time to update them if they were all A records, but only a couple of seconds if you had it properly set up as CNAME's www.bobshosting.comA 192.168.0.1 www.vhost1.com CNAME www.bobshosting.com. www.vhost2.com CNAME www.bobshosting.com. www.vhost3.com CNAME www.bobshosting.com. www.vhost4.com CNAME www.bobshosting.com. -Sean ___ 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 I try to use CNAMES as much as possible, for one very good reason. If say I have web server with 1000 vhost on it. I have one A record for the server and all the cnames point at that A record. Now i need to change the ip of the server. I update the A record and add a reverse record and im done. IF I had done it your way with all A records I would now have to go and edit another 1000 records. Even worse if some of these domains are not under my control I have to go and liaise with customers, or other third parties, and it becomes a complete mess. The chances of me convincing them all and coordinated it correctly are minimal 8( domains sharing records is better handled by $INCLUDE $INCLUDE /path/db.ttl, which contains $TTL 6h $INCLUDE /path/db.ns, which contains @ ns ns1.domain.tld. @ ns ns2.domain.tld. $INCLUDE /path/db.www, which contains @ a ip.ad.re.ss www a ip.ad.re.ss etc. Changing an include file changes all the zone files that include it, giving enormous leverage, while removing the extra query required to resolve a CNAME to canonical. Len ___ 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: DNS Question
All true, and I did not do a very good job of explaining it. My issue was that we have requests to use a CNAME for the domain record. Such as this. example.com CNAME otherdomain.com www.example.com CNAME otherdomain.com I was taught this was not good form worse, it's illegal. , but allowed. I can deal with it. But what of having a SOA record for example.com, no A or CNAME record for the TLD example.com, only hosts such as www, ns1, ftp, etc. I tried it an it seems to work fine, but doesn't look proper to me. Then again I remember when CNAME were considered evil. CNAMEs are still evil, unless 1) no other solution exists and 2) the user knows how to use CNAMEs (rare). Len ___ 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
looking for /usr/ports/x11-driver, not /usr/ports/x11-drivers
I'm trying to X (re)configure a CQ60, which is not so trivial to do... Kenneth CF once wrote: 2) Install the nvidia-driver. # cd /usr/ports/x11-driver/nvidia-driver # make install clean (I built with options FREEBSD_AGP checked, ACPI checked, LINUX unchecked). And this was not a typo. ___ 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: glabel clarification
PJ wrote: I understood that labeling a disk with glabel would permit the disk to be switched to another system and booting from that disk would not require other manupulations than adjusting network configuration, samba, rc.conf and a few others.. But what if there is already a disk on the system with the identical labels in /dev/label/ ? I understood that whatever the actual disk might be (ad4, ad12, ad1...)would be irrelevant? It would appear that the actual booting goes according to the label; so, if there are duplicate labels the boot will not necessarily be from the newly installed disk if there is another disk with duplicate glabel labels? So doing a glabel seems superfluous... What then is the real purpose of glabel, since the boot process seems to need a unique identifier? ___ 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 Basically there is some order required to the whole process and labelling is required should you wish to boot from more that just the first BIOS disk. The BIOS will look for disks at certain points on the controller and assign device names to each disk based on it's physical position. The GEOM framework adds meta data to an area of the disk that is looked at by the kernel at boot. I've included some of my own documentation on how to setup a complex 2 x RAID1 + 1 x RAID10 over 4 disks (2 slices per disk). I know you're not doing anything so complex, but hopefully you'll be able to take out the unnecessary step to suit your need. GEOM Background gstripe(8) provides a stripe set or RAID 0 gmirror(8) provides a mirror/duplex or RAID 1 graid3(8) provides a stripe with parity or RAID 3 provider--This GEOM entity appears in /dev. This article shows how to create a provider known as /dev/mirror/gm0, which represents the disk mirror/duplex. consumer--This entity receives I/O requests. In the example of a mirror/duplex, it is the two physical drives. I use two IDE drives on separate cables; they are /dev/ad0 and /dev/ad2. metadata--When referring to any RAID level, metadata includes the array members, their sizes and locations, descriptions of logical disks and partitions, and the current state of the disk array. mirror/duplex--RAID 1 maintains the same data on two separate drives. In other words, it mirrors the data on one drive to another drive. If those two drives are attached to the same IDE cable, they are a mirror; if they are attached to separate cables, they are a duplex. Because a single cable introduces a single point of failure, most mirrors are actually duplexes. Complex GEOM RAID /Creating a complex 4 disk raid where the OS and swap are duplexed on the first slice over the 4 disks; and the 2nd slice of all disks is setup as a RAID10 for the data. By analyzing this way, it can be easily broken down into it's smaller gmirror/glabel/gsrtipe components if that is all that is required. So the dual RAID1 and single RAID10 will look like:/ The Aim Physical disk providers da0s1 mirrors with da2s1 for / (1G); /usr (5G) and /var (2G) called gmROOT then glabelled ROOT da1s1 mirrors with da3s1 for swap only and labelled gmSWAP then glabelled SWAP da0s2 mirrors with da2s2 and labelled gmDATA0 da1s2 mirrors with da3s2 and labelled gmDATA1 gmDATA0 and gmDATA1 will be striped and labelled gsDATA and glabelled DATA for /home (10G) and /opt (15G) labelling: / = ROOTa /usr = ROOTd /var = ROOTe /home = DATAd /opt – DATAe Creating a RAID steps 1. create all slices remembering to leave space between them for the disk/slice data - done by creating the first slice larger than it needs to be, then creating the second slice, deleting the first slice and recreating it from the free space at it's correct size. 2. create da0s1 partitioning as above; all of da1s1 for swap; and da0s2 partitioned as above 3. install OS onto da0s1. Partitioning as above, installing minimal package and developer. 4. return to config, set root password, then break out (*alt-F4*) to add all geom modules to loader.conf: *grep geom /boot/defaults/loader.conf /boot/loader.conf* 5. edit /boot/loader.conf so that stripe, mirror and label are set to yes and return to the install (*alt-f1*) and exit. 6. create mirror for root fs on the unused disk: *gmirror label -v -b round-robin gmROOT da2s1* /Where gmirror label creates the mirror; -v enables verbose mode; -b round-robin chooses a balance algorithm (at the moment, round-robin is the algorithm with the best performance); ROOT is the name of mirror/duplex (this name represents the first GEOM mirror); and /dev/da2s1 represents the disk containing the data to mirror./ 7. check it: *gmirror status* 8. create labels for this mirror: *glabel label -v
FW: DNS Question
Date: Fri, 23 Oct 2009 17:17:48 +0200 From: lcon...@go2france.com To: freebsd-questions@freebsd.org Subject: Re: DNS Question All true, and I did not do a very good job of explaining it. My issue was that we have requests to use a CNAME for the domain record. Such as this. example.com CNAME otherdomain.com www.example.com CNAME otherdomain.com I was taught this was not good form worse, it's illegal. how is this illegal? if you are residing your domain on a hosting service, this makes sense to me. Granted its bad form and should have an A record to the host for the main domain record, but if i had control over otherdomain.com and not example.com and had to change the IP address, example.com would be dead until i was able to reach the owner of that domain and have them change their DNS info. , but allowed. I can deal with it. But what of having a SOA record for example.com, no A or CNAME record for the TLD example.com, only hosts such as www, ns1, ftp, etc. I tried it an it seems to work fine, but doesn't look proper to me. Then again I remember when CNAME were considered evil. CNAMEs are still evil, unless 1) no other solution exists and 2) the user knows how to use CNAMEs (rare). Len there is nothing that says you HAVE to have your tld labled in DNS. you would just run into issues if someone types http://example.com into their web browser and not get a result in DNS. to clarify on CNAME's a bit better. CNAME's are nothing more than DNS aliases. the reason you do not want to overuse them is that you could potentially create a loop if you are not careful www.site1.com CNAMEwww.host1.com. www.host1.comCNAMEwww.site1.com. syntactically, this is correct but would cause an infinite loop until a timeout occurred on your computer. also you want to limit how many weird names you get associated to one box. it makes sense if you want www.example.com to point to your web server, which you may have officially called srvWeb, but looking at things like a mail server, would you rather only have the entry: mail.example.comCNAMEsrvMail.example.com. or have to edit this: pop3.example.comCNAMEsrvMail.example.com. smtp.example.comCNAMEsrvMail.example.com. imap.example.comCNAMEsrvMail.example.com. The other interesting side would be reverse DNS lookups. Only one record would be returned, and most likely would be the original A record. A nice example of this is doing a basic ping -a www.yahoo.com which you get back that it is resolving www-real.wa1.b.yahoo.com. ___ 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: DNS Question
All true, and I did not do a very good job of explaining it. My issue was that we have requests to use a CNAME for the domain record. Such as this. example.com CNAME otherdomain.com www.example.com CNAME otherdomain.com I was taught this was not good form worse, it's illegal. how is this illegal? CNAME rule: a node with a CNAME cannot contain any other records. for the node domain.tld: domain.tld. soa ... domain.tld. ns ... domain.tld. cname otherdomain.tld. this node has a CNAME and other data, so it's illegal, no matter what you want to do, or what makes sense to you, or what is convenient for you. Len ___ 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: DNS Question
Hi-- On Oct 23, 2009, at 9:18 AM, Sean Cavanaugh wrote: worse, it's illegal. how is this illegal? if you are residing your domain on a hosting service, this makes sense to me. Granted its bad form and should have an A record to the host for the main domain record, but if i had control over otherdomain.com and not example.com and had to change the IP address, example.com would be dead until i was able to reach the owner of that domain and have them change their DNS info. You aren't supposed to use CNAMES for anything found in other RR's; in particular, you should always use an A record with the hostnames used for nameservers (ie, have an NS record), because you are supposed to be using the canonical name rather than an alias. See: http://docstore.mik.ua/orelly/networking/sendmail/ch21_03.htm#SML2-CH-21-SECT-3-2 You might also find a discussion of webserver redirects and the like interesting: http://www.aitechsolutions.net/cname-serveralias-redirection.html Regards, -- -Chuck PS: It's odd where google pulls up references to fairly canonical docs, sometimes. I'm not sure I even recognize ua, and I suspect I deal with two-letter ISO 3166 country names more than most folks do. Maybe Ukraine? :-) ___ 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: DNS Question
how is this illegal? CNAME rule: a node with a CNAME cannot contain any other records. for the node domain.tld: domain.tld. soa ... domain.tld. ns ... domain.tld. cname otherdomain.tld. this node has a CNAME and other data, so it's illegal, no matter what you want to do, or what makes sense to you, or what is convenient for you. ah yes, forgot about that. you are correct on that line. -Sean ___ 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: DNS Question
Chuck Swiger wrote: Hi-- On Oct 23, 2009, at 9:18 AM, Sean Cavanaugh wrote: worse, it's illegal. how is this illegal? if you are residing your domain on a hosting service, this makes sense to me. Granted its bad form and should have an A record to the host for the main domain record, but if i had control over otherdomain.com and not example.com and had to change the IP address, example.com would be dead until i was able to reach the owner of that domain and have them change their DNS info. You aren't supposed to use CNAMES for anything found in other RR's; in particular, you should always use an A record with the hostnames used for nameservers (ie, have an NS record), because you are supposed to be using the canonical name rather than an alias. Errr? You mean the rule that NS and MX and SRV rdata must include an A record rather than a CNAME? That's true, but what does that have to do with web serving? The illegality mentioned further upthread is that you can't use a CNAME at a zone apex because of the 'CNAME and other data rule'[*] -- as there's always got to be SOA and NS records at the zone apex, if you want a web page at 'example.com' you'ld have to provide an A or record for it. Unless you're Verisign and have control over the nameservers for .com, this is almost certainly illegal: example.com. IN CNAME www.example.com On the other hand: www.example.com. IN CNAME example.com. is generally fine. PS: It's odd where google pulls up references to fairly canonical docs, sometimes. I'm not sure I even recognize ua, and I suspect I deal with two-letter ISO 3166 country names more than most folks do. Maybe Ukraine? :-) Of course it's Ukraine. .uk was already taken, even though the two letter iso-code for this country is officially .gb. We're in an exclusive club of two nations that generally don't use their official iso-code in the DNS. No prizes for guessing which the other one is. Cheers, Matthew [*] Little known factoid, but there are two legal exceptions to the 'CNAME and other data' rule. You can have RRSIG or NSEC records at the same label as CNAME -- see RFC 4035. Obscure DNS trivia for 100, Alex... -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: DNS Question
On Oct 23, 2009, at 10:31 AM, Matthew Seaman wrote: You aren't supposed to use CNAMES for anything found in other RR's; in particular, you should always use an A record with the hostnames used for nameservers (ie, have an NS record), because you are supposed to be using the canonical name rather than an alias. Errr? You mean the rule that NS and MX and SRV rdata must include an A record rather than a CNAME? That's true, but what does that have to do with web serving? Consider the case of redirects involving cnames; you end up with a lot of extra DNS traffic. The illegality mentioned further upthread is that you can't use a CNAME at a zone apex because of the 'CNAME and other data rule'[*] -- as there's always got to be SOA and NS records at the zone apex, if you want a web page at 'example.com' you'ld have to provide an A or record for it. Unless you're Verisign and have control over the nameservers for .com, this is almost certainly illegal: example.com. IN CNAME www.example.com On the other hand: www.example.com. IN CNAME example.com. is generally fine. It's generally fine, sure, but almost never ideal. You don't save traffic by using CNAMEs instead of A records PS: It's odd where google pulls up references to fairly canonical docs, sometimes. I'm not sure I even recognize ua, and I suspect I deal with two-letter ISO 3166 country names more than most folks do. Maybe Ukraine? :-) Of course it's Ukraine. .uk was already taken, even though the two letter iso-code for this country is officially .gb. We're in an exclusive club of two nations that generally don't use their official iso-code in the DNS. No prizes for guessing which the other one is. Shucks, how can you pull in Jeopardy references and then deny giving out prizes? Well, my guess would be ie, although people who speak Finnish and call their home Suomi might find fi odd, also Cheers, Matthew [*] Little known factoid, but there are two legal exceptions to the 'CNAME and other data' rule. You can have RRSIG or NSEC records at the same label as CNAME -- see RFC 4035. Obscure DNS trivia for 100, Alex... Regards, -- -Chuck ___ 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: DNS Question
Also, MX needs to resolve to an A, not a CNAME.. If you are using mail on all these domains, use A records On Fri, Oct 23, 2009 at 10:19 AM, Sean Cavanaugh millenia2...@hotmail.com wrote: how is this illegal? CNAME rule: a node with a CNAME cannot contain any other records. for the node domain.tld: domain.tld. soa ... domain.tld. ns ... domain.tld. cname otherdomain.tld. this node has a CNAME and other data, so it's illegal, no matter what you want to do, or what makes sense to you, or what is convenient for you. ah yes, forgot about that. you are correct on that line. -Sean ___ 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: rTorrent + FreeBSD + pf = freeze?
On Thu, Oct 22, 2009 at 03:20:20PM -0800, Henrik Hudson wrote: On Wed, 21 Oct 2009, cpghost wrote: I'm experiencing frequent crashes on my soekris net4801 home router for some months now, and I'm wondering if it could be some kind of pf-related bug similar to this on OpenBSD: http://www.mail-archive.com/m...@openbsd.org/msg58042.html More precisely, when I fire up rtorrent-devel on some *other* machine (not the router!), everything runs fine at first. It could also run very fine for many days. BUT should I start a torrent with a large number of seeders which could saturate my link for an extended period of time, the soekris router would suddenly freeze... but not immediately: more like a few hours (3 to 6) or so of relatively heavy traffic. Only a hard reboot of the router would help. Please note that rtorrent is NOT running on the router, only its traffic is being redirected through the router. So I'm suspecting some bug / resource leak in pf that would bring the kernel down somehow. What kind of resources should I monitor (and how)? Maybe that could bring some clues? Oh, before anybody asks: I have no crashdumps, the router freezes totally without panicking. And it doesn't recover automatically even after many hours. Possibly a heat issue? I've seen many a little dlink style or similar router work fine until it has to churn through a lot of packets and then it just can't handle it, starts getting warm doing all the computation and then eventually freezes. I'm not ruling out a memory leak or similar, but I'm currently doing the same with a little atom ITX board and it handles all the torrents for myself and the roomies without issue. I'm using rtorrent myself with pf and 8.0-RC1-stable. I believe the pf code is backported to 7. Also, if it was just a memory leak it will still happen with non-torrent traffic, just most likely slower. Have you tried throttling back the amount of connections and speed that rtorrent makes? I've suspected a heat issue too, but sysutils/env4801 logging every 1 minute didn't show anything suspicious prior to the crashes. The system crashes ONLY on bittorrent traffic. Saturating the link (in one or both directions) even for many days in a row with 5 to 10 concurrent TCP streams to fixed destinations didn't cause any crashes. Yes, I've played with bandwidth and nr. of connections in rtorrent, and, if at all, I have a feeling (but I can't proove it) that the number of concurrent connections doesn't harm, but that the higher the output bandwidth, the more likely the crash. The only thing I didn't test yet was to replace the original DC transformer with another one that is a tad better dimensioned. Those transformers that are sent with the net4801(s) tend to degrade over the years for some reason (drying capacitors?). If it's not a software issue, this could be the cause of the crashes. henrik Thanks for the hints, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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
Does hybernate/wakeup work?
I tried to make system hybernate with 'acpiconf -s4' on my laptop. It quickly turned off, but when I press the power button it boots like no hybernate and begins to check disks. What can be wrong? Yuri ___ 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: rTorrent + FreeBSD + pf = freeze?
Afaik the problem with fillling the router with torrent traffic as opposed to a single host, is that the the many connections to the many host fill up the (yes and this i don't know so I'll just say router). So Its not the torrent traffic itself.. its that you have a lot of packets going a million places. And as the others say, I've also seen a lot of small routers go down on it, with the only solution is to set a max in number of connections. On Fri, Oct 23, 2009 at 8:16 PM, cpghost cpgh...@cordula.ws wrote: On Thu, Oct 22, 2009 at 03:20:20PM -0800, Henrik Hudson wrote: On Wed, 21 Oct 2009, cpghost wrote: I'm experiencing frequent crashes on my soekris net4801 home router for some months now, and I'm wondering if it could be some kind of pf-related bug similar to this on OpenBSD: http://www.mail-archive.com/m...@openbsd.org/msg58042.html More precisely, when I fire up rtorrent-devel on some *other* machine (not the router!), everything runs fine at first. It could also run very fine for many days. BUT should I start a torrent with a large number of seeders which could saturate my link for an extended period of time, the soekris router would suddenly freeze... but not immediately: more like a few hours (3 to 6) or so of relatively heavy traffic. Only a hard reboot of the router would help. Please note that rtorrent is NOT running on the router, only its traffic is being redirected through the router. So I'm suspecting some bug / resource leak in pf that would bring the kernel down somehow. What kind of resources should I monitor (and how)? Maybe that could bring some clues? Oh, before anybody asks: I have no crashdumps, the router freezes totally without panicking. And it doesn't recover automatically even after many hours. Possibly a heat issue? I've seen many a little dlink style or similar router work fine until it has to churn through a lot of packets and then it just can't handle it, starts getting warm doing all the computation and then eventually freezes. I'm not ruling out a memory leak or similar, but I'm currently doing the same with a little atom ITX board and it handles all the torrents for myself and the roomies without issue. I'm using rtorrent myself with pf and 8.0-RC1-stable. I believe the pf code is backported to 7. Also, if it was just a memory leak it will still happen with non-torrent traffic, just most likely slower. Have you tried throttling back the amount of connections and speed that rtorrent makes? I've suspected a heat issue too, but sysutils/env4801 logging every 1 minute didn't show anything suspicious prior to the crashes. The system crashes ONLY on bittorrent traffic. Saturating the link (in one or both directions) even for many days in a row with 5 to 10 concurrent TCP streams to fixed destinations didn't cause any crashes. Yes, I've played with bandwidth and nr. of connections in rtorrent, and, if at all, I have a feeling (but I can't proove it) that the number of concurrent connections doesn't harm, but that the higher the output bandwidth, the more likely the crash. The only thing I didn't test yet was to replace the original DC transformer with another one that is a tad better dimensioned. Those transformers that are sent with the net4801(s) tend to degrade over the years for some reason (drying capacitors?). If it's not a software issue, this could be the cause of the crashes. henrik Thanks for the hints, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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 -- Med Venlig Hilsen Kalle R. Møller ___ 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
installation
hi freebsd is one of the good ones but its hard to install why dont you make the installation user friendly like pc bsd and also there are so many ati graphic card users can you add some new ati drives to new freebsd ? ___ 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: Does hybernate/wakeup work?
On 10/23/09, Yuri y...@rawbw.com wrote: I tried to make system hybernate with 'acpiconf -s4' on my laptop. It quickly turned off, but when I press the power button it boots like no hybernate and begins to check disks. What can be wrong? OS S4 is not implemented, but BIOS S4 is possible on some machines ... And on 8.0 and 9.0 i386 SMP doesnt resume properly (amd64 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: DNS Question
On Fri, 23 Oct 2009 10:33:07 -0700 xSAPPYx xsap...@gmail.com wrote: Also, MX needs to resolve to an A, not a CNAME.. If you are using mail on all these domains, use A records You can use the domains for mail provided that that they share MX servers, if example.com has a CNAME pointing to example.net then mail to example.com will use the mx servers for example.net. What you shouldn't do is mix the CNAME with separate MX records because it creates an ambiguity. ___ 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
boot0cfg, how to use -m option
I installed the FreeBSD boot loader and have now the following options: F1 Win F2 Win F3 FreeBSD F4 FreeBSD F6 PXE Now I wan't to enable only partition 1 and 3 and PXE (F1, F3, F6). The manpage of boot0cfg says: -m mask Specify slices to be enabled/disabled, where mask is an integer between 0 (no slices enabled) and 0xf (all four slices enabled). which I find very confusing. Could someone explain me what value (and why?) I have to chose to achieve the above mentioned. Thanks for any enlightenment. Sandra ___ 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 forgets root password
hi all this is really weird. i've must have set up the root password on this new machine i got at least 5 times and after a few reboots this thing forgets it. i have to go in single user and reset it again and again?!? what can be the reason? it'a brand new install of freebsd 7.2 amd64 (amnesiac) ... fits the name... while i'm on here... the machine comes with an ethernet card on board that according to pciconf there is no driver for it. pciconf identifies the card as Marvell Semiconductor (was: Galileo something...) which according to the handbook needs the msk driver. which is in the generic kernel anyway. the thing is pciconf says no...@pci0:2:0:0 for that card. dmesg doesn't mention anything about msk. and sysinstall doesn't see anything either. so far so awesome... now... the wireless card i put in. ralink technology. in the office here there is a simple wifi router that is protected with WPA password. if i get rid of the password and just use ifconfig to get to the router everything works ok but putting the wpa on again and using the supplicant things suck. ifconfig says the card is associated. and it gets an ip but that's pretty much all that happens. pings to a neighboring machine produce huge dropouts. with 85% packet loss. another awesomeness... and those are pings to ips. dns is pretty much nowhere to be found. sysisntall has unknown network interface type for ral0... so in conclusion: what's up with the root password amnesia? what's up with the msk driver card? and what's up with this wpa supplicant thing? thanks ___ 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
cpdup always copying files even if they are the same [but diff user]
iH, If the src and dst files are owned by different users, cpdup copies the file even if it the same. Copying from root - user it always copies the file Copying from user - user it notices that the file has not changed. Copying form user - user1 it always copies the file newserv:$ls -lh cpdup.* -rw-r--r-- 1 root wheel76B Oct 23 18:29 cpdup.root newserv:$cat cpdup.root cpdup-1.12 A comprehensive filesystem mirroring and backup program newserv:$cpdup -vvv cpdup.root cpdup.user cpdup.user copy-ok newserv:$cpdup -vvv cpdup.root cpdup.user cpdup.user copy-ok newserv:$cpdup -vvv cpdup.user cpdup.user.1 cpdup.user.1 copy-ok newserv:$cpdup -vvv cpdup.user cpdup.user.1 cpdup.user.1 nochange newserv:$/usr/bin/cksum cpdup* 1301364783 76 cpdup.root 1301364783 76 cpdup.user 1301364783 76 cpdup.user.1 newserv:$ls -li cpdup.* 4 -rw-r--r-- 1 root wheel 76 Oct 23 18:29 cpdup.root 13 -rw-r--r-- 1 user wheel 76 Oct 23 18:29 cpdup.user 12 -rw-r--r-- 1 user wheel 76 Oct 23 18:29 cpdup.user.1 The copying takes a lot longer when going from server to server and different users. ]Peter[ ___ 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: boot0cfg, how to use -m option
On Sat, 24 Oct 2009, Sandra Kachelmann wrote: I installed the FreeBSD boot loader and have now the following options: F1 Win F2 Win F3 FreeBSD F4 FreeBSD F6 PXE Now I wan't to enable only partition 1 and 3 and PXE (F1, F3, F6). The manpage of boot0cfg says: -m mask Specify slices to be enabled/disabled, where mask is an integer between 0 (no slices enabled) and 0xf (all four slices enabled). which I find very confusing. Could someone explain me what value (and why?) I have to chose to achieve the above mentioned. I can't say I've used that, but it appears to just be bit values. They should be: PartitionMask bit value 11 22 34 48 Add together the ones you need. For partitions 1 and 3, it would be 1+4, so... 5. I don't know if boot0cfg wants that as a plain decimal or the leading 0x of a hex format, and the man page doesn't explicitly say. It implies hex, but I suspect it wants decimal. Again, untested. -Warren Block * Rapid City, South Dakota USA ___ 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: cpdup always copying files even if they are the same [but diff user]
On Fri, 23 Oct 2009, Peter wrote: If the src and dst files are owned by different users, cpdup copies the file even if it the same. Copying from root - user it always copies the file Copying from user - user it notices that the file has not changed. Copying form user - user1 it always copies the file You might try rsync -a. -Warren Block * Rapid City, South Dakota USA ___ 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 forgets root password
On Fri, Oct 23, 2009 at 7:56 PM, kalin m ka...@el.net wrote: hi all this is really weird. i've must have set up the root password on this new machine i got at least 5 times and after a few reboots this thing forgets it. i have to go in single user and reset it again and again?!? what can be the reason? Couple guesses: You keep forgetting the password caps lock it'a brand new install of freebsd 7.2 amd64 (amnesiac) ... fits the name... amnesiac is the name freebsd uses when no hostname is set. while i'm on here... the machine comes with an ethernet card on board that according to pciconf there is no driver for it. pciconf identifies the card as Marvell Semiconductor (was: Galileo something...) which according to the handbook needs the msk driver. which is in the generic kernel anyway. the thing is pciconf says no...@pci0:2:0:0 for that card. dmesg doesn't mention anything about msk. and sysinstall doesn't see anything either. so far so awesome... man msk now... the wireless card i put in. ralink technology. in the office here there is a simple wifi router that is protected with WPA password. if i get rid of the password and just use ifconfig to get to the router everything works ok but putting the wpa on again and using the supplicant things suck. ifconfig says the card is associated. and it gets an ip but that's pretty much all that happens. pings to a neighboring machine produce huge dropouts. with 85% packet loss. another awesomeness... and those are pings to ips. dns is pretty much nowhere to be found. sysisntall has unknown network interface type for ral0... This has always worked well for me: http://www.freebsd.org/doc/en/books/handbook/network-wireless.html -- Adam Vande More ___ 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 forgets root password
thanks adam. Adam Vande More wrote: On Fri, Oct 23, 2009 at 7:56 PM, kalin m ka...@el.net mailto:ka...@el.net wrote: hi all this is really weird. i've must have set up the root password on this new machine i got at least 5 times and after a few reboots this thing forgets it. i have to go in single user and reset it again and again?!? what can be the reason? Couple guesses: You keep forgetting the password caps lock not really... i checked. many times. even for num loc. which doesn't matter... it'a brand new install of freebsd 7.2 amd64 (amnesiac) ... fits the name... amnesiac is the name freebsd uses when no hostname is set. in this Amnesiac is the release name i think... while i'm on here... the machine comes with an ethernet card on board that according to pciconf there is no driver for it. pciconf identifies the card as Marvell Semiconductor (was: Galileo something...) which according to the handbook needs the msk driver. which is in the generic kernel anyway. the thing is pciconf says no...@pci0:2:0:0 for that card. dmesg doesn't mention anything about msk. and sysinstall doesn't see anything either. so far so awesome... man msk many times msk should at least show in the dmesg somewhere now... the wireless card i put in. ralink technology. in the office here there is a simple wifi router that is protected with WPA password. if i get rid of the password and just use ifconfig to get to the router everything works ok but putting the wpa on again and using the supplicant things suck. ifconfig says the card is associated. and it gets an ip but that's pretty much all that happens. pings to a neighboring machine produce huge dropouts. with 85% packet loss. another awesomeness... and those are pings to ips. dns is pretty much nowhere to be found. sysisntall has unknown network interface type for ral0... This has always worked well for me: http://www.freebsd.org/doc/en/books/handbook/network-wireless.html that's where i got the wpa configuration from. also from man wpa_supplicant and wpa_supplicant.conf. my conf looks like: network={ ssid=home scan_ssid=1 key_mgmt=WPA-PSK psk=very secret passphrase } wpa_supplicant with -ddd show more and more of the same with nothing that helps me identify anything as a problem. just loops through the same sequence of information which doesn't mean much to me. -- Adam Vande More ___ 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 forgets root password
not really... i checked. many times. even for num loc. which doesn't matter... amnesiac is the name freebsd uses when no hostname is set. in this Amnesiac is the release name i think... man msk many times msk should at least show in the dmesg somewhere now... the wireless card i put in. ralink technology. in the office here there is a simple wifi router that is protected with WPA password. if i get rid of the password and just use ifconfig to get to the router everything works ok but putting the wpa on again and using the supplicant things suck. ifconfig says the card is associated. and it gets an ip but that's pretty much all that happens. pings to a neighboring machine produce huge dropouts. with 85% packet loss. another awesomeness... and those are pings to ips. dns is pretty much nowhere to be found. sysisntall has unknown network interface type for ral0... This has always worked well for me: http://www.freebsd.org/doc/en/books/handbook/network-wireless.html that's where i got the wpa configuration from. also from man wpa_supplicant and wpa_supplicant.conf. my conf looks like: network={ ssid=home scan_ssid=1 key_mgmt=WPA-PSK psk=very secret passphrase } wpa_supplicant with -ddd show more and more of the same with nothing that helps me identify anything as a problem. just loops through the same sequence of information which doesn't mean much to me. on this one: wpa_supplicant -K -i ral0 -c /etc/wpa_supplicant.conf i just get: Trying to associate with MA:CA:DD:RE:SS (ssid=home freq=2432 mhz) Associated with MA:CA:DD:RE:SS CTRL-EVENT-DESCONNECTED - Disconnect event - remove keys and again and again and again... i'm typing this i get the idea. disconnected. why? -- Adam Vande More ___ 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: freebsd forgets root password
Date: Fri, 23 Oct 2009 20:46:03 -0500 From: Adam Vande More amvandem...@gmail.com Subject: Re: freebsd forgets root password To: kalin m ka...@el.net Cc: freebsd-questions freebsd-questions@freebsd.org Message-ID: 6201873e0910231846j4386baa9g3bd3eab21fed1...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 On Fri, Oct 23, 2009 at 7:56 PM, kalin m ka...@el.net wrote: hi all this is really weird. i've must have set up the root password on this new machine i got at least 5 times and after a few reboots this thing forgets it. i have to go in single user and reset it again and again?!? what can be the reason? Couple guesses: You keep forgetting the password caps lock On my BSD server, I have a keyboard with a failing shift key. This means if I touch-type the password one day, and huntpeck the next, the result is not the same. With how flimsy the entry-level keyboards are these days, it may be *almost* as likely ;) Regards, James Phillips __ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ ___ 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: installation
On Fri, 23 Oct 2009 23:10:49 +0100, levent basar eagleu...@hotmail.com wrote: hi freebsd is one of the good ones but its hard to install It's not hard to install. Just follow the instructions on screen. Because FreeBSD isn't restricted to a particular field of use (such as most other operating systems are, by their own definition), installation can lead into many various directions. There is no default for this. FreeBSD can be used as a simple name server, a mail server, a multimedia workstation, an embedded system, a corporate storage controller or a mobile diagnostics system on a netbook - and many others. How should an installer handle this? why dont you make the installation user friendly like pc bsd Then use PC-BSD. In my opinion, user-friendly and mades lots of use of GUI effects is often confused. For starters, maybe PC-BSD is the best solution. Personally, I had no problems installing FreeBSD without additional education prior to putting in the install CD. It shouldn't be any problem for a person who is able to read the english language (which, by the way, isn't my native one). :-) An installation tool that requires a recent graphics card isn't user friendly. It *limits* the use of the OS, e. g. when you want to install it on a server that doesn't have a graphics card at all. and also there are so many ati graphic card users can you add some new ati drives to new freebsd ? You should ask ATI for this, not FreeBSD. The developers don't have X-ray eyes and therefore cannot look into the devices ATI sells. :-) Seriously: If you are interested for improved hardware support, write to the hardware manufacturers. They are the responsible party. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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 forgets root password
On Fri, 23 Oct 2009 22:15:19 -0400, kalin m ka...@el.net wrote: Adam Vande More wrote: man msk many times msk should at least show in the dmesg somewhere If you have if_msk_load=YES in /boot/loader.conf, it should. A message for dmesg is issued at the moment the driver is loaded successfully. Is your particular card listed in the manual's section HARDWARE? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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 forgets root password
On Fri, 23 Oct 2009 19:41:31 -0700 (PDT), James Phillips anti_spam...@yahoo.ca wrote: With how flimsy the entry-level keyboards are these days, it may be *almost* as likely ;) Entry level? Ha! All modern keyboards... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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 forgets root password
Polytropon wrote: On Fri, 23 Oct 2009 22:15:19 -0400, kalin m ka...@el.net wrote: Adam Vande More wrote: man msk many times msk should at least show in the dmesg somewhere If you have if_msk_load=YES in /boot/loader.conf, it should. A message for dmesg is issued at the moment the driver is loaded successfully. Is your particular card listed in the manual's section HARDWARE? i did have that but it complain that it's already loaded. so i took that off. after a bit more research i just sent this to the net list: does anybody here know if freebsd has a driver for Marvell 88E8057 nic chip? according to the kernel list of drivers (7.2) marvell chips are driven by the msk driver. but it doesn't show up in pciconf, dmesg or sysinstall strangely enough 88E8057 is not in the list in man msk. although 88E8056 and 88E8058 are. is this just bad luck?! thanks Polytropon... ___ 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 forgets root password
Polytropon wrote: On Fri, 23 Oct 2009 19:41:31 -0700 (PDT), James Phillips anti_spam...@yahoo.ca wrote: With how flimsy the entry-level keyboards are these days, it may be *almost* as likely ;) Entry level? Ha! All modern keyboards... :-) actually the one i'm using was entry-level maybe about 15 years ago... it's called Turbo-Xwin. it's about to be on it's exit level ___ 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 forgets root password
kalin m wrote: hi all this is really weird. i've must have set up the root password on this new machine i got at least 5 times and after a few reboots this thing forgets it. i have to go in single user and reset it again and again?!? what can be the reason? Can you clarify a bit? Do you mean, after rebooting I can get in without a password, or, after rebooting it refuses the password I type, or something else? Are you logging into the console, or into something like xdm/gdm? What about normal (non-root) accounts, do they also have this problem? And, for that matter, why have you done a few reboots? This isn't Windoze ;-) while i'm on here... the machine comes with an ethernet card snip Sounds like, possibly, a newer variant of the device? Occasionally a manufacturer makes a new variation on a chip/device and the FBSD driver doesn't recognize it. If you can get the thing to work, or maybe use another card and update, it just might. Can't say for sure, but you might check the CVS Web Interface for changes to the msk(4) driver in the last $n months. At any rate, the suggestion to read the manpage for msk(4) isn't a bad one. It could be that you need to add a KLD to loader.conf or something ... at the very least, it should say what variants are expected to work with msk(4). HTH, Kevin Kinsey ___ 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