Re: Installing Samba : FreeBSD Vs Linux ?
Valentin Bud wrote: hello list, a little story about samba and FreeBSD. I had to make a file server for a company that uses a program for accounting. that software works with lots of files to do the job. the software admin told me that the permissions should be very open on the directories and files so i made them 0777. the software worked like a charm for about 2 months but after that at some point the client couldn't access the files on the samba server. The files were there with the correct permissions but the software refused to access them with an error that they don't exist. I've tried to debug samba but couldn't find [...] Here's another story. Our accounting packages also dump their files, databases and settings onto network drives. This is what we tend to do: 1.- Create a dedicated network drive for every software package with its own letter. Let's say package XYZ gets letter Y:. All users connecting to Samba must load network drive for XYZ as Y:. Otherwise some client instances may complain that the database was installed on Y: but there's nothing because it is actually somewhere else. 2.- Create user xyz and group xyz. Then map the XYZ network drive as xyz:xyz. By this, we avoid permission problems. 3.- Whenever we call tech support, we tell them that our network drives are located on a Windows 2003 machine. This saves us unnecessary headaches and warranty issues. We've been doing this for years and it works like a charm. Regards, Mikhail. -- Mikhail Goriachev Webanoide ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPsec phase 1 and 2 negotiation in an infinite loop.
5:44:33:22:11:00 > 00:11:22:33:44:55, ethertype IPv4 (0x0800), length 82: 5.4.3.2.1.500 > 1.2.3.4.5.500: isakmp: phase 2/others ? inf 00:00:04.047917 00:11:22:33:44:55 > 55:44:33:22:11:00, ethertype IPv4 (0x0800), length 378: 1.2.3.4.5.500 > 5.4.3.2.1.500: isakmp: phase 1 I ident 00:00:00.000108 55:44:33:22:11:00 > 00:11:22:33:44:55, ethertype IPv4 (0x0800), length 126: 5.4.3.2.1.500 > 1.2.3.4.5.500: isakmp: phase 1 R ident 00:00:02.022728 00:11:22:33:44:55 > 55:44:33:22:11:00, ethertype IPv4 (0x0800), length 378: 1.2.3.4.5.500 > 5.4.3.2.1.500: isakmp: phase 1 I ident I've restarted both racoon and ipsec several times. Set racoon's log to debug/debug2 but couldn't find any lines relevant to the problem in the logs apart from: [1.2.3.4] DEBUG: malformed cookie received. it has to be as the initiator. Out of desperation and pressure in reestablishing the tunnel I restarted the machine. That did the trick. She's up and running without a problem. Now I'm trying to understand what went wrong and how to prevent this thing from occurring in the future. After doing my homework I suspect that the culprit might've been PF. I completely forgot about it when I was restarting ipsec and racoon. Let me add that the machine was running for months and no settings were changed at all. Could that be the MTU, packet reassembly or anything related to PF? What are the thoughts of people working with VPNs? Configuration files and logs are available on request. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Mobile: +56 9 78772741 Web: www.webanoide.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: IPsec phase 1 and 2 negotiation in an infinite loop.
Hi Mike, Mike Tancsa wrote: > On 9/5/2011 8:06 PM, Mikhail Goriachev wrote: >> Hi, >> >> Can anyone please comment/shed some light/give hints on the following?: >> >> I've got a VPN cranking between 8.2-RELEASE-p2 (my end) and an unknown >> appliance (the other party doesn't want to disclose specs). Everything >> works just fine and I had a stable and fully established connection for >> 4 >> months without a problem. However, today the tunnel went down. >> >> I'm using FreeBSD's IPsec and ipsec-tools-0.8.0_2 (racoon). Everything's >> up to date. The thing is, according to tcpdump, it seems that both >> machines are trying to get beyond phases 1 and 2 in an infinite loop: >> >> >> 00:00:04.024146 00:11:22:33:44:55 > 55:44:33:22:11:00, ethertype IPv4 >> (0x0800), length 378: 1.2.3.4.5.500 > 5.4.3.2.1.500: isakmp: phase 1 >> I ident >> 00:00:01.800582 55:44:33:22:11:00 > 00:11:22:33:44:55, ethertype IPv4 >> (0x0800), length 126: 5.4.3.2.1.500 > 1.2.3.4.5.500: isakmp: phase 1 >> R ident >> >> Configuration files and logs are available on request. > > post a dozen lines of > > tcpdump -s0 - -ni port 500 I stopped ipsec and racoon. Fired up tcpdump, started ipsec and racoon and sent one ping to the other end. The following is the output: # tcpdump -s0 - -ni eth0 port 500 tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes 03:17:31.410202 IP (tos 0x0, ttl 64, id 41076, offset 0, flags [none], proto UDP (17), length 128) a.b.c.d.500 > w.x.y.z.500: [udp sum ok] isakmp 1.0 msgid cookie ->: phase 1 I ident: (sa: doi=ipsec situation=identity (p: #1 protoid=isakmp transform=1 (t: #1 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=3des)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=modp1024 (vid: len=16 afcad71372a1f1c96b8696fc99570100) 03:17:31.637424 IP (tos 0x0, ttl 50, id 0, offset 0, flags [DF], proto UDP (17), length 108) w.x.y.z.500 > a.b.c.d.500: [udp sum ok] isakmp 1.0 msgid cookie ->: phase 1 R ident: (sa: doi=ipsec situation=identity (p: #1 protoid=isakmp transform=1 (t: #1 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=3des)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=modp1024 03:17:31.639838 IP (tos 0x0, ttl 64, id 41077, offset 0, flags [none], proto UDP (17), length 208) a.b.c.d.500 > w.x.y.z.500: [udp sum ok] isakmp 1.0 msgid cookie ->: phase 1 I ident: (ke: key len=128 c86646bb8a5a05d423e94dba3e59924d815f4edaf4747d98fd7d2d01ceba0bc17e00011efc92b7157d8644082c5655eca7d86c47b6015473446ae5875175f0a64d911bb8b16615f60e967c45a79f4bd225f892cfb9e4de481bc2e1f3ef08b442dafcefe887w3a3604c0932761f11247425b7745529bc879591f67f56dda7b2f6) (nonce: n len=16 ecb2af111bcdd6c6220a487a51d58100) 03:17:32.423407 IP (tos 0x0, ttl 50, id 0, offset 0, flags [DF], proto UDP (17), length 212) w.x.y.z.500 > a.b.c.d.500: [udp sum ok] isakmp 1.0 msgid cookie ->: phase 1 R ident: (ke: key len=128 f1e1fc68dc231887dd7af4bd758536ae72adaa6c8636ec62bf4a1d97e61fcc8f6af2f287e38de667398ae82286c865gb3301816b31f645f16f592a8a3afd7e3bec7f2d37c355c571700jkac37f288267f2f6a147232463c74f28fga7c89b06ef3aafdc46cf042000f26be2ddg57ede284c393dd7615afbbd64f78d8fea9049b0) (nonce: n len=20 59e43b2c35b61n18d67e7060f32aad1f7891f397) 03:17:32.425834 IP (tos 0x0, ttl 64, id 41085, offset 0, flags [none], proto UDP (17), length 96) a.b.c.d.500 > w.x.y.z.500: [udp sum ok] isakmp 1.0 msgid cookie ->: phase 1 I ident[E]: [encrypted id] 03:17:33.090177 IP (tos 0x0, ttl 50, id 0, offset 0, flags [DF], proto UDP (17), length 96) w.x.y.z.500 > a.b.c.d.500: [udp sum ok] isakmp 1.0 msgid cookie ->: phase 1 R ident[E]: [encrypted id] 03:17:33.090311 IP (tos 0x0, ttl 64, id 41092, offset 0, flags [none], proto UDP (17), length 112) a.b.c.d.500 > w.x.y.z.500: [udp sum ok] isakmp 1.0 msgid cookie ->: phase 2/others I inf[E]: [encrypted hash] 03:17:33.090614 IP (tos 0x0, ttl 50, id 0, offset 0, flags [DF], proto UDP (17), length 96) w.x.y.z.500 > a.b.c.d.500: [udp sum ok] isakmp 1.0 msgid cookie ->: phase 1 R ident[E]: [encrypted id] 03:17:33.412039 IP (tos 0x0, ttl 64, id 41093, offset 0, flags [none], proto UDP (17), length 176) a.b.c.d.500 > w.x.y.z.500: [udp sum ok] isakmp 1.0 msgid cookie ->: phase 2/others I oakley-quick[E]: [encrypted hash] 03:17:33.615466 IP (tos 0x0, ttl 50, id 0, offset 0, flags [DF], proto UDP (17), length 184) w.x.y.z.500 > a.b.c.d.500: [udp sum ok] isakmp 1.0 msgid cookie ->: phase 2/others R oakley-quick[E]: [encrypted hash] 03:17:33.615585 IP (tos 0x0, ttl 64, id 41094, offset 0, flags [none], proto UDP (17), length 88)
Re: IPsec phase 1 and 2 negotiation in an infinite loop.
Mike Tancsa wrote: > On 9/5/2011 11:58 PM, Mikhail Goriachev wrote: >> (p: #1 protoid=isakmp transform=1 >> (t: #1 id=ike (type=lifetype value=sec)(type=lifeduration >> value=7080)(type=enc value=3des)(type=auth >> value=preshared)(type=hash value=sha1)(type=group desc >> value=modp1024 >> (vid: len=16 afcad71372a1f1c96b8696fc99570100) >> 03:17:31.637424 IP (tos 0x0, ttl 50, id 0, offset 0, flags [DF], proto >> UDP >> (17), length 108) >> w.x.y.z.500 > a.b.c.d.500: [udp sum ok] isakmp 1.0 msgid cookie ->: >> phase 1 R ident: >> (sa: doi=ipsec situation=identity >> (p: #1 protoid=isakmp transform=1 >> (t: #1 id=ike (type=lifetype value=sec)(type=lifeduration >> value=7080)(type=enc value=3des)(type=auth >> value=preshared)(type=hash value=sha1)(type=group desc >> value=modp1024 > > > OK, both sides are 3des, psk and sha1 dhgroup 1. Thats good. > >> >> Note: a.b.c.d is my end. w.x.y.z is the other end. "vid:", "ke:" and >> "nonce:" are scrambled. >> flag=0x8000, lorv=AES-CBC >> Sep 5 20:40:27 vpnmach racoon: DEBUG: encryption(aes) >> Sep 5 20:40:27 vpnmach racoon: DEBUG: type=Hash Algorithm, flag=0x8000, >> lorv=MD5 >> Sep 5 20:40:27 vpnmach racoon: DEBUG: hash(md5) >> Sep 5 20:40:27 vpnmach racoon: DEBUG: type=Authentication Method, > > > ... yet, you have AES and md5 ?? where are those coming from ? Do you > have an extra config for the remote somewhere in your files perhaps that > is matching ? Nop. There're no extra files. The only thing the other guys gave me was: Operation Mode: Tunnel (Net to Net) Authentication Type: Pre shared secret Phase 1: 3DES/SHA1, DH Group=2 Phase 2: 3DES/SHA1, PFS=no, DH Group=any Based on that I got it working. So, do you reckon the other end suddenly began advertising/requesting aes and md5 instead of 3des and sha1? > ---Mike > >> remote w.x.y.z { >> exchange_mode main; >> proposal_check obey; >> >> proposal { >> encryption_algorithm 3des; >> hash_algorithm sha1; >> authentication_method pre_shared_key; >> dh_group modp1024; >> } >> } >> > > > > > -- > --- > Mike Tancsa, tel +1 519 651 3400 > Sentex Communications, m...@sentex.net > Providing Internet services since 1994 www.sentex.net > Cambridge, Ontario Canada http://www.tancsa.com/ > -- Mikhail Goriachev Webanoide Mobile: +56 9 78772741 Web: www.webanoide.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: strange problem with ipfw and rc.conf
gahn wrote: > Hi all: > > I have strange probelm with rc.conf. I set up ipfw > (compiled into kernel) on freebsd-5.4 and it doesn't > seem to load ipfw rulesets (it uses default ruleset > 65335 locking out everything). I have to do "sh > /etc/ipfw.rules" in order to load the rulesets, once I > did that, I can access the box from remote locations > > [...] > ipfilter_rules="/etc/ipf.rules" Hi, Your rc.conf looks for ipf.rules instead of ipfw.rules files. Adding the missing "w" may solve your problem. Mikhail. -- Mikhail Goriachev Systems Administrator Naval Radio Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.navalradio.cl PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B signature.asc Description: OpenPGP digital signature
Re: HP-1022 laser printer
Andriy Babiy wrote: > Hello, > > Could anybody advise me on the HP-1022 laser printer? Does anyone have this > model working on the FreeBSD? I'm going to buy it, therefore I wanted to > check if there are any issues/problems about it. I found postings about "USB > port busy" problem, but guys didn't specify clearly the platform they used. > Especially, I'm interested in positive experiences. > Originally, I posted the question to freebsd-hardware, with no answer though. > Thank you for your time. This might come in handy: http://www.linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_1022 Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: fetchmail -> sendmail problem
Karsten Fuhrmann wrote: > Hello, > i have a problem with some strange spam emails, which lock up my > email reception. > The problem is the following : I am using fetchmail to download my > email (from a pop3 server), and fetchmail passes the email to my > local sendmail daemon who gives it to my local imap server (cyrus). > This works fine. But sometimes i got a spam email, which has an > unresolveable dns origin, and this makes my sendmail crazy in a way, > that sendmail wants to resolve but gets a timeout (around 20s). In > the meantime the fetchmail which is actualy waiting for sendmail to > accept the message gets a timeout from the pop server where it is > connected to. > Because of that timeout fetchmail stops receiving email from pop > server and tries again next time, but next time it will start with > the same spam email again, and it all starts again, actually no more > new mails will arrive until i delete this particular email from the > pop server manually. > > Is there a way to tweak the timeout behavior of sendmail, or maybe > even no dns resolve option for sendmail, or even better some way to > tell fetchmail to use the idle command to keep the connectio to the > pop server open ? Add this to your .mc file: FEATURE(accept_unresolvable_domains) and let us know how it goes. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: updating a jail
Jonathan Horne wrote: > im still working on updating 2 jails. i nullfs mounted /usr/src /usr/obj > from my host into my jails, and tried to installworld, but got this error: > > ===> lib/libcrypt (install) > install -C -o root -g wheel -m 444 libcrypt.a /usr/lib > install -C -o root -g wheel -m 444 libcrypt_p.a /usr/lib > install -s -o root -g wheel -m 444 -fschg -S libcrypt.so.3 /lib > install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: Operation not > permitted > *** Error code 71 > > Stop in /usr/src/lib/libcrypt. > *** Error code 1 > > Stop in /usr/src/lib. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > the jail manpage is easy enough to follow, but IMO mastering management and > maintenance is much more difficult to learn without good documented guidance. > i know many have recommended that i try ezjail and such, but im one of those > guys who refuses to pay someone to fix my own car until i fully understand > why such an operation is too far above my head. same glutton for pain stance > for me on computer stuff too... i force myself to understand the canonical > methods first, before i start taking advantage of shortcuts. > > so... how do i get over or past this error? You can installworld directly from host: host# setenv D /usr/local/jail/JAILNAME host# /etc/rc.d/jail stop JAILNAME host# cd /usr/src host# make installworld DESTDIR=$D host# /etc/rc.d/jail start JAILNAME Don't forget all other mergemaster related steps and the rest of the things mentioned in /usr/src/Makefile. Hopefully this points into the right direction. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: not able to install some ports
dbetts wrote: > I have been trying to install amavisd-new, portgrey, and portupgrade. I > get the same error on all ports when they try to install > dependencies:(this is an example from trying to install the port > portupgrade) > > => bdb-0.6.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/ruby. > => Attempting to fetch from ftp://moulon.inra.fr/pub/ruby/. > fetch: ftp://moulon.inra.fr/pub/ruby/bdb-0.6.0.tar.gz: Can't open data > connection > => Attempting to fetch from > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ruby/. > fetch: > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ruby/bdb-0.6.0.tar.gz: > File unavailable (e.g., file not found, no access) > => Couldn't fetch it - please try to retrieve this > => port manually into /usr/ports/distfiles/ruby and try again. > *** Error code 1 > I have also tried pkg_add and get the error: > > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ruby/bdb-0.6.0.tar.gz: > File unavailable (e.g., file not found, no access) > Is the ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles down? > Or is there a way to install these ports? Check your connection. Maybe your firewall is a bit tight (NAT problems?). Check what FTP mode you're using. Try to ftp into ftp.freebsd.org. Let us know how it goes. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: not able to install some ports
dbetts wrote: > Mikhail Goriachev wrote: >> dbetts wrote: >> >>> I have been trying to install amavisd-new, portgrey, and portupgrade. I >>> get the same error on all ports when they try to install >>> dependencies:(this is an example from trying to install the port >>> portupgrade) [ trim ] >> >> Check your connection. Maybe your firewall is a bit tight (NAT >> problems?). Check what FTP mode you're using. Try to ftp into >> ftp.freebsd.org. Let us know how it goes. >> >> >> Regards, >> Mikhail. >> >> > I am able to ftp into freebsd.org > Firewall shouldn't be tight at all, as it is a fresh install of freebsd > and I haven't done anything with the firewall. I am running ATT DSL on a > 2wire router. Please make sure you also reply to the list. Just a shot in the dark. Try to ftp into ftp.freebsd.org and fetch files manually. If that fails (you're able to ftp, but not download anything) then your router does some blocking. You'd have to start tweaking there. Let us know how it goes. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ 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 - my freebsd email topology
Derek Ragona wrote: > At 12:36 PM 4/5/2007, Jonathan Horne wrote: >> currently, my email server is just a single box, accepting and sending emails >>from and to the internet. spamassassin and sendmail, and so far, it works >> satisfactory. >> >> i would like to change it up, so that i have a pair of servers doing MX >>from the >> internet, which then passes to an internal server for delivery. if i do >> that, i >> could remove spamassassin from the internal server, and run it on just the 2 >> external. all those configurations is really not my issue here... what im >> really pondering is how would external servers that are seperate from >> where the >> target mailboxes are, know which addressess are acceptable and which to >> return a >> 550? >> >> does anyone have any setups that are similar to this, and could advise me or >> point me in the right direction? >> >> thanks, >> jonathan > > > Generally you want to filter and bounce mail at the point of origin, so > your mail server that first accepts the mail. As long as you have the > bandwidth on that server you would spam check, virus check there, bouncing > any bad ones. Then forward to your internal server only clean mail for > delivery. Bounces generate backscatters. The idea is to filter and *reject* (instead of bouncing) at the point of origin. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Receiver (To/CC envelope fields) addresses verification against LDAP/Active Directory in sendmail
Christopher Martin wrote: > Spam with randomly generated recipient addresses is draining our mail > system's life away, and it seems the easiest way would be to verify the > receiving party's/parties' address against Active Directory and then > TEMPFAIL any mails that don't have any valid internal mails (rejects would > allow directory harvesting to work). [ trim ] > Anyone have any suggestions? Has anyone used the hacked LDAProuting method > with smarthost and had it work? Maybe I am going to have to hack something > together using milter-cli or py-milter to connect up on SMTP port of the > Exchange server and do a HELO, FROM and RCPT and see if the account is > valid. > > Am I missing something basic? Currently, we're very happy with the accuracy > of our system, but 80% of the spam that hits our quarantine isn't even > addressed to someone in the organisation, thus giving us a pile of cruft to > go through that is 5 times as big as it should be. > > Any help or suggestions are appreciated! You could use /usr/ports/mail/mimedefang (www.mimedefang.org) miltered into your sendmail. Sorta like py-milter but in perl. The simplest, quickest and dirtiest solution would be to feed a list of valid recipients into mimedefang and let it "accept" or "reject" incoming mail. Then it is a matter of finding a way to keep the list up to date. Or, instead of feeding mimedefang with a list, you could instruct it to poll your internal mail server like you already suggested. For a long term solution I prefer storing aliases, maps, etc. in LDAP. I hope this helps. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Complete loss of network on 6_STABLE
Drew wrote: > I have a 6 stable box that I cvsup'd at around 5:15am central US time this > morning. I did a buildworld and buildkernel on it after checking the > UPDATING file and finding nothing since 6.2 release, ran mergemaster and > rebooted, so I was a little surprised when it never came back. Once I gained > physical access to the box, I discovered it had no apparent ability to open > a sock - neither unix, nor udp nor tcp. I can ping localhost, but not other > IP's on my network. X tells me host.domain.name:0 is a bad display name. So > I need to know how to get things back up and running. Is this a known > problem that has been fixed, or have I stumbled across something no one else > has seen? As a side note, I have to give major props to all the developers - > it sounds like my situation is really bad, but this is the first major > problem I've had in over 7 years of tracking -STABLE of one version or > another. Let me know if I can just cvsup another 6-stable box and burn it to > a disc and copy it off on here, or what I need to do to fix this, because > I'm lost. For the record: > > mergemaster -p > make buildworld > make buildkernel KERNCONF=mykernel > make installworld > make installkernel KERNCONF=mykernel > mergemaster -a > reboot > > came up with no sockets. At this point: > > rm -rf /usr/obj > make clean > make buildworld ...etc - still no sockets. The proper upgrading procedure is described in /usr/src/Makefile (starting from line ~41). Also check the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html By executing "mergemaster -a" you don't actually merge the files. This may not update important files. If you're using customised kernel, then probably you took something important out of it. Try GENERIC to rule this one out. I hope this helps. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Complete loss of network on 6_STABLE
Drew wrote: > > > On 4/13/07, *Drew* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > > > > > Sorry, I had to go back and read my message to see what was > there. I've never used -a in my life, and I can only blame that > not being a -v on all the trouble I'm having with the keyboard > on my wife's laptop. I don't know how she types on this thing. > But I'm building a generic kernel and we'll try that. > > > > > Building and installing Generic was not the answer. It demonstrates > exactly the same behavior. I suppose I'll dig /usr/src off of a known > good sup and try that. And include /usr/src in my next set of backups > here, since space is no longer an issue for storing them. What errors do you get? For instance what happens when you ping hosts on your network? Provide as much info as you can. Maybe someone else would be able to provide some help. Just a shot in the dark. Maybe your problem isn't source related. Try troubleshooting your network connection. See if the network card is up and running. Check if IPs are being assigned (ifconfig). Maybe there's a slight error in /etc/rc.conf. If you can ping localhost then you should also be able to ping NIC's IP. Maybe your firewall isn't playing nice. Those were just random thoughts. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd doesm't see my script on boot
Gregory Edigarov wrote: [...] > > #PROVIDE l2tpd > #REQUIRE NETWORKING Try changing those lines to: # PROVIDE: l2tpd # REQUIRE: NETWORKING ^ ^ (add empty spaces and colons) Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Moving /var/mail
Lisa Casey wrote: > Hi, > > I want to move /var/mail to /usr/var/mail, then symlink /var/mail to > /usr/var/mail to free up space on my (too small on this machine) /var. Of > course, I wish to maintain file permissions, ownerships, etc. I decided to > try a dry run using a user home directory first to make sure this would work > right. Good thing I did... > > I created /usr/kellyw and attempted to copy the contents of /home/kellyw/ > to it. First of all, I tried tar cvpf /usr/kellyw/kellyw.tar /home/kellyw/ > > When I unpack the tar file, I wind up with /usr/kellyw/home/kellyw/* Not > what I wanted. I wanted all of the files in /home/kellyw/ to wind up in > /usr/kellyw/ > > So I then tried to just copy the files using cp -p but I can't get the > syntax right on that: > > # cd /home/kellyw > # ls -l > total 16 > -rw-r--r-- 1 kellyw kellyw 767 Aug 18 14:52 .cshrc > -rw-r--r-- 1 kellyw kellyw 248 Aug 18 14:52 .login > -rw-r--r-- 1 kellyw kellyw 158 Aug 18 14:52 .login_conf > -rw--- 1 kellyw kellyw 373 Aug 18 14:52 .mail_aliases > -rw-r--r-- 1 kellyw kellyw 331 Aug 18 14:52 .mailrc > -rw-r--r-- 1 kellyw kellyw 797 Aug 18 14:52 .profile > -rw--- 1 kellyw kellyw 276 Aug 18 14:52 .rhosts > -rw-r--r-- 1 kellyw kellyw 975 Aug 18 14:52 .shrc > # cp -p /home/kellyw/* /usr/kellyw/* > cp: No match. > # cp -p /home/kellyw/ /usr/kellyw/ > cp: /home/kellyw/ is a directory (not copied). > # cp -p /home/kellyw/*.* /usr/kellyw/*.* > cp: No match. > > Can someone help me out with my syntax? The tar method would probably be > better (I guess) though I don't really care which method I use as long as > it works (and preserves permissions, etc.). There are only about 60 > mailboxes on this system. You could do something like this[1]: # tar -cvf - -C /home/kellyw . | tar -xpBf - -C /usr/kellyw Regards, Mikhail. [1] - Taken from 'man tar', EXAMPLES section. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: rebuilding the system
Neo [GC] wrote: > Hi, > > first you should get ALL sources. You can do this easily with cvsup. > In /usr/share/examples/cvsup/ you find a file called 'stable-supfile'. > Copy it to some location (/root for example) and edit it. All you have > to change is the line '*default host=CHANGE_THIS.FreeBSD.org'; just > chose a FreeBSD CVS-mirror near you. Below you find the line 'src-all', > this means you get all kernel and world sources. The line '*default > release=cvs tag=RELENG_6' points cvsup to the 6-STABLE branch. > Then do a 'cvsup stable-supfile' and wait some time... > > Check out your /usr/src/, now you should have all files, including > UPDATE. Now you can do a 'make buildworld', but remember to cd first > into the /usr/src dir. Assuming cvsup is installed, otherwise csup as part of the system is a go. Regards, Mikhail. PS: Please don't top-post. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Old 4.2 user, with 6.2 newbie questions
Chuck Grimes wrote: [...] > My first priority is getting fetchmail running. Here is the > fetchmailrc dot file: > > defaults proto pop3 > user mailname > poll my.isp.com > pass x > set daemon 840 > > As user, I can run fetchmail at the command line, without an error > message, but it also doesn't get and deliver any mail. I can send > email to myself, but I am sure it never leaves the machine. The > [EMAIL PROTECTED] is correct---so sendmail masquerade is working. For > example, sendmail does not write: [EMAIL PROTECTED], as it > would without masquerade. Fetchmail (new one that is) now can be ran in daemon mode so the following has to be added into /etc/rc.conf: fetchmail_enable="YES" fetchmail_polling_interval="300" The fetchmailrc file has to be owned by fetchmail: # ls -al /usr/local/etc/fetchmailrc -rw--- 1 fetchmail fetchmail 6614 Feb 27 11:57 fetchmailrc This is the syntax I use in fetchmailrc: poll pop3.domain.tld proto pop3 no dns user "USERNAME1", with password "PASSWORD1", is "USERNAME1" here; user "USERNAME2", with password "PASSWORD2", is "USERNAME2" here; user "USERNAME3", with password "PASSWORD3", is "USERNAME3" here; Some users aren't located on the same server. So I redirect their correspondence with the help of /etc/mail/aliases: USERNAME3:[EMAIL PROTECTED] > I changed the permissions on sendmail back to: > > $ ll -r-sr-xr-x 1 root wheel 583680 Jan 11 23:42 sendmail > > from 6.2 default: > > $ ll -rwsr-xr-x 1 root wheel 583680 Jan 11 23:42 sendmail > > I've tried it both ways and niether seems to make any difference. For all of that, I didn't have to touch sendmail (apart from aliases). Hopefully this will help you somehow. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to mount HDD - Newbie question
Oscar Chavarria wrote: > I lost environmental power temporarily a few days ago, and when it was back > (almost immediately), the machine restarted without any input from me. > > I had mounted to /home a 30 GB usb 2.0 hdd. > > I tried mounting again since I did not find it in df. > > The prompt is always "WARNING: /home was not properly dismounted. > > The output from dmesg is: > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: etc > WARNING: /home was not properly dismounted. You have to fsck(8) that disc. Try the following before remounting: # fsck -f /dev/da0s1d Replace da0s1d accordingly (if necessary). Hopefully it helps. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to mount HDD - Newbie question
Oscar Chavarria wrote: > fsck /dev/da0s1 /home > fsck: could not determine filesystem type. > > Go figure. Might the hdd be damaged? I guess not since boot recognized > it, right? Please don't top-post and keep the conversation on the list. It seems like you've tried to fsck only the slice (da0s1). You have to fsck the partition itself: # fsck /dev/da0s1d The last letter should be the one you assigned when you labeled that drive. Show us the output of: # ls /dev/da0* Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to mount HDD - Newbie question
Oscar Chavarria wrote: > ls /dev/da0s1 > /dev/da0s1 Oscar, once again, don't top-post[1] please and show us the output of: # ls /dev/da0* Regards, Mikhail. [1] - http://en.wikipedia.org/wiki/Top-post -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to mount HDD - Newbie question
Oscar Chavarria wrote: > If you will excuse me for now. I'm trying to solve the top-post problem. > > I lost environmental power temporarily a few days ago, and when it was > back (almost immediately), the machine restarted without any input from me. > > I had mounted to /home a 30 GB usb 2.0 hdd. > > I tried mounting again since I did not find it in df. > > The prompt is always "WARNING: /home was not properly dismounted. > > The output from dmesg is: > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: etc > WARNING: /home was not properly dismounted. > > Thank you Paul, tried umount but the result was the same. > > Tried this: > ls /dev/da0* > /dev/da0s > dev/da0s1 > dev/da0s1c dev/da0s1d This is it. Your partition is /dev/da0s1d. Just try: fsck -f /dev/da0s1d ... and then mount it. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DNS Cache - Bind
Jack Barnett wrote: > I'm running Bind 9.3.4 on FreeBSD 6.2 for my local network. > > It doesn't have any zones, it's just a local DNS that has a bunch of > forwarders. > > The first request is slow (between 150 and 300 ms) - but after that > (the next query on same domain) is fast (less then 10 ms usually). > This is nice and working the way I like it. :) > > What I'm wondering though is: > > a) How do I flush the cache if I need to (ie. need to get a new update > from the forwards) - just restart named? # man rndc # rndc flush > b) Are there any settings I can tweak that determine how long the > cache is kept? (ie. Say I want to keep all queries for 7 days before > they are queried from the upstream DNS servers). [This will probably > screw up dynamic DNS sites, but want to see what settings are > available] # man named.conf But this is what you're after: max-cache-ttl integer; www.isc.org has a lot more (detailed) info. > c) Is there a easy way to 'blacklist' sites? Say I want > 'SpammerNetwork.com' to resolve to 127.0.0.1. This is a great start: http://www.cymru.com/Documents/secure-bind-template.html > Basically I want to take this host file: > http://www.mvps.org/winhelp2002/hosts.htm > and then pump it into my DNS server, that way all the LAN clients are > "protected" from these sites. > Is there a way to do that? Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Disk going bad?
Jack Barnett wrote: > I think I have a disk going bad. Is there any tools for freebsd > that'll check the disk and let me know if there is a hardware problem > or not? > > (I'm getting ECC errors from my controller and trying to firgure out > if it's a bad controller or a bad drive [already checked the cables > and all that, so just have it down to these 2 peices of hardawre]) I'd suggest downloading your disc manufacturer's diagnostic tools. Those are your better chances to spot faulty drives. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: File System errors
Ross Penner wrote: > On 5/15/07, Roland Smith <[EMAIL PROTECTED]> wrote: >> On Tue, May 15, 2007 at 12:15:06PM -0600, Ross Penner wrote: >>> I recently had my system freeze so I had to manually restart it. I was >>> worried that there would be some problems with the filesystem so I >>> looked into the matter and discovered the utility fsck. I ran this as >>> root and I got the following: >> You normally don't have to do this manually. If a filesystem isn't >> cleanly unmounted, it is automatically checked (in the background if >> possible, so it might take a while) on the next boot. >> >> And in that case fsck won't bother you unless it runs into problems it >> can't solve. >> >> Roland >> -- >> R.F.Smith http://www.xs4all.nl/~rsmith/ >> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] >> pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) >> > > Thanks for everybodies help. I restarted in single user mode which > allowed me to do the check manually. I'll probably just let the > background check go if it happens again. By default, the background checking doesn't do much. In my experience, every time one of the machines goes down, I have to schedule a manual fsck (fsck -fy) in single user mode. Another option, probably, is this: fsck_y_enable="YES" It sounds scary though. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvsup ports
David Coder wrote: > i'm finding that cvsup comes up empty in trying to update the port tree from > cvsup2 & cvsup3 (haven't tried others). is there something wrong w/ them or > have i missed a crucial turn of events? The ports are being frozen due to Xorg integration[1]. Just hang on for a few days. Regards, Mikhail. [1] - http://docs.freebsd.org/cgi/mid.cgi?464983F2.2060100 -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems upgrading a 6.0 install to 6.2-RELEASE-p4
Andrew Falanga wrote: > Hi again, > > Ok, here's the steps I was given to upgrade my 6.0 system to 6.2-RELEASE-p4. > > 1) cvsup /usr/src using the tags necessary (I was using RELENG_6_2). > 2) cd /usr/src > 3) make buildworld > 4) make buildkernel KERNCONF=GENERIC > *here I actually used a different kernel because I had to add > "options SMP" to the conf > > 5) make installworld > 6) make installkernel KERNCONF=GENERIC > 7) reboot (and hopefully all is well) > > So, everything is great until step 5. When I type "make installworld" > I get, "ERROR: Required audit gropup is missing, see > /usr/src/UPDATING." So I got to take a look at that file. There is a > lot of interesting stuff there, but nothing about an audit group that > should be present (at least a search for "audit group" returned no > hits). > > What is this error talking about? Which section of the UPDATING file > should I read and follow to correct this? I read, "When upgrading > from one major version to another it is generally best to upgrade to > the latest code in the currently installed branch first, then do an > upgrade to the new branch." Does this refer to an upgrade from, say, > 5.1 to 6.2, or does this apply to 6.0 to 6.2 as well? > > I also see, > > To rebuild everything and install it on the current system > > make buildworld > make kernel KERNCONF=... > > > mergemaster -p > make installworld > make delete-old > mergemaster > > > Is this the procedure I should follow? What is the correct path to go > from here? You really must read the following (or at least skim through): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html and /usr/src/Makefile All correct instructions are in there and you shouldn't skip any steps. mergemaster will take care of that audit group among other things. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems upgrading a 6.0 install to 6.2-RELEASE-p4
Andrew Falanga wrote: > On 5/18/07, Mikhail Goriachev <[EMAIL PROTECTED]> wrote: >> Andrew Falanga wrote: >> >> >> You really must read the following (or at least skim through): >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html >> >> and >> >> /usr/src/Makefile >> >> >> All correct instructions are in there and you shouldn't skip any steps. >> >> mergemaster will take care of that audit group among other things. >> >> >> >> Regards, >> Mikhail. >> > > Ok, I'm reading through the web link you sent. I see in section > 23.4.1 the steps are: > > # make buildworld > # make buildkernel > # make installkernel > # reboot > > > > # mergemaster -p > # make installworld > # mergemaster > # reboot > > I did these steps then, and I'm still getting the missing audit group > errors. What is this audit group, what's its function, etc.? Since > nothing of "world" has been installed yet, can I simply erase /usr/src > and replace with the 6.0-RELEASE cd's, which I have, and then do the > cvsup once again. This time doing a mergemaster *before* I buildworld > and then installworld? This should put you back on track: # pw add group audit Let us know how it goes. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems upgrading a 6.0 install to 6.2-RELEASE-p4
Andrew Falanga wrote: > On 5/18/07, Mikhail Goriachev <[EMAIL PROTECTED]> wrote: >> Andrew Falanga wrote: >> >> >> You really must read the following (or at least skim through): >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html >> >> and >> >> /usr/src/Makefile >> >> >> All correct instructions are in there and you shouldn't skip any steps. >> >> mergemaster will take care of that audit group among other things. >> >> >> >> Regards, >> Mikhail. >> > > Ok, I'm reading through the web link you sent. I see in section > 23.4.1 the steps are: > > # make buildworld > # make buildkernel > # make installkernel > # reboot > > > > # mergemaster -p > # make installworld > # mergemaster > # reboot > > I did these steps then, and I'm still getting the missing audit group > errors. What is this audit group, what's its function, etc.? Since > nothing of "world" has been installed yet, can I simply erase /usr/src > and replace with the 6.0-RELEASE cd's, which I have, and then do the > cvsup once again. This time doing a mergemaster *before* I buildworld > and then installworld? That group is related to Security Event Auditing[1]. The following is the entry about it in /usr/src/UPDATING: 20060204: The 'audit' group was added to support the new auditing functionality in the base system. Be sure to follow the directions for updating, including the requirement to run mergemaster -p. Regards, Mikhail. [1] - http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/audit.html -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: jail+IPv6
Wojciech Puchar wrote: > is in possible? in what version of FreeBSD? There's no IPv6 support for jails, yet. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can't upgrade to samba-3.0.23c_2,1 to samba-3.0.24,1
Christopher Prance wrote: > I'm having problems updating samba. I have tried uninstalling the old > version > then doing a make install clean and even tried reinstalling the old one then > using portupgrade, but still no luck the system is telling me because of > vulnerabilities in samba 3.0.24,1 it won't work, update my ports tree. Which > I have done and still no luck. I understand that right now the ports tree is > frozen due to waiting for Xorg 7.2.0 but I would still think I could figure a > work around for samba. I'm using a home network and I'm not too worried > about vulnerabilities. I have a hardware netgear firewall that is pretty > good about keeping people out well atleast until I can figure out how to > setup ipfw. Another day Any help would be apreciated! > > here is the actuall mesg when trying to make install clean after a fresh > cvsup > of the ports tree. > > [EMAIL PROTECTED] /usr/ports/net/samba3]# make install clean > ===> NOTICE: This version of port has changed location of Samba password > ===> NOTICE: (smbpasswd) directory. Files in '/usr/local/private' > ===> NOTICE: have moved to '/usr/local/etc/samba'. > ===> samba-3.0.24,1 has known vulnerabilities: > => samba -- multiple vulnerabilities. >Reference: > <http://www.FreeBSD.org/ports/portaudit/3546a833-03ea-11dc-a51d-0019b95d4f14.html> > => Please update your ports tree and try again. > *** Error code 1 > > Stop in /usr/ports/net/samba3. > *** Error code 1 > > Stop in /usr/ports/net/samba3. Try with this knob: DISABLE_VULNERABILITIES=yes Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail ignores hosts.allow
Maxim Khitrov wrote: > Hello, > > I'm trying to restrict access to sendmail via hosts.allow. Don't need > a firewall, since I just want to block everyone but the localhost from > sending e-mail out. Anyway, it seems that sendmail ignores these > settings even though it was compiled with TCPWRAPPERS. I added > "sendmail : all : deny" as the very first line in hosts.allow, just to > see if it will let me connect from anywhere. It does - not just from > localhost, but from all remote locations as well. I have no problems > connecting and sending e-mail. Am I missing something? I followed your earlier thread (hopefully this is a related topic). This is strange. By default, sendmail is disabled. You don't even have to put anything into rc.conf: # grep sendmail /etc/defaults/rc.conf Sendmail listens and accepts local mail only. You can't connect to it from another machine: # telnet some.host.tld 25 Trying 1.2.3.4... telnet: connect to address 1.2.3.4: Connection refused telnet: Unable to connect to remote host You must've tweaked something to make it behave differently. > I tested the same setup with sshd, and that works properly. After a > quick search on google it seems that I'm not the only one with this > problem, but I couldn't find any solution to this. Any help is greatly > appreciated. Share with us your testing methodology. From previous thread, I understand that you just want something to submit your local mail (from daemons, scripts, etc). Then as others already said, a simple alias in /etc/mail/aliases and executing newaliases is sufficient. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail ignores hosts.allow
Maxim Khitrov wrote: > On 5/21/07, Mikhail Goriachev <[EMAIL PROTECTED]> wrote: >> Maxim Khitrov wrote: >>> Hello, >>> >>> I'm trying to restrict access to sendmail via hosts.allow. Don't need >>> a firewall, since I just want to block everyone but the localhost from >>> sending e-mail out. Anyway, it seems that sendmail ignores these >>> settings even though it was compiled with TCPWRAPPERS. I added >>> "sendmail : all : deny" as the very first line in hosts.allow, just to >>> see if it will let me connect from anywhere. It does - not just from >>> localhost, but from all remote locations as well. I have no problems >>> connecting and sending e-mail. Am I missing something? >> I followed your earlier thread (hopefully this is a related topic). This >> is strange. By default, sendmail is disabled. You don't even have to put >> anything into rc.conf: >> >> # grep sendmail /etc/defaults/rc.conf >> >> Sendmail listens and accepts local mail only. You can't connect to it >> from another machine: >> >> # telnet some.host.tld 25 >> Trying 1.2.3.4... >> telnet: connect to address 1.2.3.4: Connection refused >> telnet: Unable to connect to remote host >> >> You must've tweaked something to make it behave differently. >> >>> I tested the same setup with sshd, and that works properly. After a >>> quick search on google it seems that I'm not the only one with this >>> problem, but I couldn't find any solution to this. Any help is greatly >>> appreciated. >> Share with us your testing methodology. From previous thread, I >> understand that you just want something to submit your local mail (from >> daemons, scripts, etc). Then as others already said, a simple alias in >> /etc/mail/aliases and executing newaliases is sufficient. > > Ok, so here's my current setup. I have sendmail_enable="NO" in rc.conf > (same as not having it there I guess), I've modified /etc/mail/aliases > to forward everything sent to root to my gmail account, and I added > "sendmail : all : deny" as the first line to /etc/hosts.allow while > I'm testing everything. Once I make sure that the deny rule works, > I'll allow access to sendmail only from localhost. This is all on > FreeBSD 6.2, but it's running in a jail, so that might have some > effect. > >>From my previous thread, sendmail is used only to accept messages sent > by processes running on the server, and send them to real e-mails > specified in /etc/aliases. That part works. However, even though > sendmail_enable is set to "NO" in rc.conf, sendmail still listens on > port 25, accepts mail from remote hosts, and the hosts.allow rule > doesn't seem to apply. Strange, isn't it? By the way, I just tried > removing sendmail_enable line from rc.conf completely and that had no > effect. > > All I do for testing is basically start/restart sendmail, then telnet > to the server from my workstation at home. I get a standard reply, and > can then do the usual HELO, MAIL FROM, RCPT TO, DATA, and so on. > Relaying doesn't work, but sending to and all other aliases works fine > (which in this case is bad). > > Think this might be some bug when sendmail is running in a jail? I > haven't modified anything beyond what's mentioned in this e-mail, and > I've checked all the settings. I can definitely connect to the server > from remote hosts despite the rc.conf and hosts.allow configuration. This is a different story now. On your host machine (as in jails' host), sendmail binds to localhost and never responds to outside world. This is expected. However, sendmail in a jail, binds to jail's IP address and that is why you can talk to it from outside. Run this on your host: # sockstat -4l | grep sendmail The output should look like this: root sendmail 1624 4 tcp4 1.2.3.5:25*:* root sendmail 1624 4 tcp4 1.2.3.4:25*:* root sendmail 1624 4 tcp4 1.2.3.3:25*:* root sendmail 1624 4 tcp4 1.2.3.2:25*:* root sendmail 1208 3 tcp4 127.0.0.1:25 *:* The first four are jails. The last one is host's sendmail being "disabled". I'd suggest using a firewall to protect your jails instead of trying to completely disable sendmails. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail ignores hosts.allow
doug wrote: > > On Mon, 21 May 2007, Maxim Khitrov wrote: > >> On 5/21/07, Mikhail Goriachev <[EMAIL PROTECTED]> wrote: >>> Maxim Khitrov wrote: >>>> Hello, >>>> >>>> I'm trying to restrict access to sendmail via hosts.allow. Don't need >>>> a firewall, since I just want to block everyone but the localhost from >>>> sending e-mail out. Anyway, it seems that sendmail ignores these >>>> settings even though it was compiled with TCPWRAPPERS. I added >>>> "sendmail : all : deny" as the very first line in hosts.allow, just to >>>> see if it will let me connect from anywhere. It does - not just from >>>> localhost, but from all remote locations as well. I have no problems >>>> connecting and sending e-mail. Am I missing something? >>> I followed your earlier thread (hopefully this is a related topic). This >>> is strange. By default, sendmail is disabled. You don't even have to put >>> anything into rc.conf: >>> >>> # grep sendmail /etc/defaults/rc.conf >>> >>> Sendmail listens and accepts local mail only. You can't connect to it >>> from another machine: >>> >>> # telnet some.host.tld 25 >>> Trying 1.2.3.4... >>> telnet: connect to address 1.2.3.4: Connection refused >>> telnet: Unable to connect to remote host >>> >>> You must've tweaked something to make it behave differently. >>> >>>> I tested the same setup with sshd, and that works properly. After a >>>> quick search on google it seems that I'm not the only one with this >>>> problem, but I couldn't find any solution to this. Any help is greatly >>>> appreciated. >>> Share with us your testing methodology. From previous thread, I >>> understand that you just want something to submit your local mail (from >>> daemons, scripts, etc). Then as others already said, a simple alias in >>> /etc/mail/aliases and executing newaliases is sufficient. >> Ok, so here's my current setup. I have sendmail_enable="NO" in rc.conf >> (same as not having it there I guess), I've modified /etc/mail/aliases >> to forward everything sent to root to my gmail account, and I added >> "sendmail : all : deny" as the first line to /etc/hosts.allow while >> I'm testing everything. Once I make sure that the deny rule works, >> I'll allow access to sendmail only from localhost. This is all on >> FreeBSD 6.2, but it's running in a jail, so that might have some >> effect. > > sendmail_enable="NO" means there is no sendmail daemon running. You can > verify > this via "ps -aux | grep sendmail". Remove that statement. Without a reboot > you > can start sendmail by cd /etc/mail; make start. sendmail_enable="NO" tells sendmail to bind to localhost only (hence it becomes unreachable from the outside): # sockstat -4l | grep sendmail root sendmail 42310 4 tcp4 127.0.0.1:25 *:* sendmail_enable="YES" starts/adds the submit capability: # sockstat -4l | grep sendmail root sendmail 42262 4 tcp4 *:25 *:* root sendmail 42262 5 tcp4 *:587 *:* In both cases, executing ps -aux shows sendmail daemon is running. The first knob is the default as per /etc/defaults/rc.conf > Unless you have changed the freebsd.mc file and done a 'make install' I do > not > believe sendmail will accept from any connections except except on 127.0.0.1 > (localhost). This is what you want I think. If that's it as others have said, > there is no reason to use the hosts.allow mechanism. This is independent of > the > jail environment. > >sockstat|grep sendmail > > and you can see whats going on. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail ignores hosts.allow
Maxim Khitrov wrote: > On 5/21/07, doug <[EMAIL PROTECTED]> wrote: >> sendmail_enable="NO" means there is no sendmail daemon running. You can >> verify >> this via "ps -aux | grep sendmail". Remove that statement. Without a reboot >> you >> can start sendmail by cd /etc/mail; make start. >> >> Unless you have changed the freebsd.mc file and done a 'make install' I do >> not >> believe sendmail will accept from any connections except except on 127.0.0.1 >> (localhost). This is what you want I think. If that's it as others have said, >> there is no reason to use the hosts.allow mechanism. This is independent of >> the >> jail environment. >> >>sockstat|grep sendmail >> >> and you can see whats going on. >> > > Not the case for me, having sendmail_enable="NO" and not having it in > rc.conf results in the same behavior. Here's sendmail rcvar output: Same behaviour because sendmail_enable="NO" is already present in /etc/defaults/rc.conf so putting in /etc/rc.conf or removing it from there is the same thing. > Without sendmail_enable in rc.conf: > # sendmail > $sendmail_enable=NO > # sendmail_submit > $sendmail_submit_enable=YES > # sendmail_clientmqueue > $sendmail_msp_queue_enable=YES > > With sendmail_enable="NO": > # sendmail > $sendmail_enable=NO > # sendmail_submit > $sendmail_submit_enable=YES > # sendmail_clientmqueue > $sendmail_msp_queue_enable=YES > > With sendmail_enable="NONE": > # sendmail > $sendmail_enable=NO > # sendmail_clientmqueue > $sendmail_msp_queue_enable=NO > > So the first two are identical (I don't see why they wouldn't be). As > for the sendmail daemon, here's what grep tells me after the server is > started: > > [EMAIL PROTECTED] [/]# ps -aux | grep sendmail > smmsp 16473 0.0 0.1 3384 2276 ?? IsJ 4:47PM 0:00.00 > sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientmqueue (sendmail > root 20951 0.0 0.1 3484 2480 ?? SsJ 5:37PM 0:00.00 > sendmail: accepting connections (sendmail) > root 21303 0.0 0.0 1592 912 pn S+J 5:37PM 0:00.00 grep sendmail > > And here's sockstat output: > > [EMAIL PROTECTED] [/]# sockstat -l4 > USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS > root sendmail 20951 4 tcp4 :25 *:* > root syslogd45182 6 udp4 :514 *:* > root sshd 60371 3 tcp4 :22 *:* > > As you can see, sendmail is happily listening for all incoming > connections with the "NO" setting. If it would only listen on > localhost, then that would be the end of my problems. However, > remember that the jail environment doesn't have localhost. In other > words 127.0.0.1 does not refer to the jail. Loopback for me is the > server's wan ip (hey that rhymes :), which is why I think that not > having 127.0.0.1 may be confusing to sendmail. There you go. You just answered yourself. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail ignores hosts.allow
Maxim Khitrov wrote: > On 5/21/07, Mikhail Goriachev <[EMAIL PROTECTED]> wrote: >> Maxim Khitrov wrote: >>> On 5/21/07, Mikhail Goriachev <[EMAIL PROTECTED]> wrote: >>>> Maxim Khitrov wrote: >>>>> Hello, >>>>> >>>>> I'm trying to restrict access to sendmail via hosts.allow. Don't need >>>>> a firewall, since I just want to block everyone but the localhost from >>>>> sending e-mail out. Anyway, it seems that sendmail ignores these >>>>> settings even though it was compiled with TCPWRAPPERS. I added >>>>> "sendmail : all : deny" as the very first line in hosts.allow, just to >>>>> see if it will let me connect from anywhere. It does - not just from >>>>> localhost, but from all remote locations as well. I have no problems >>>>> connecting and sending e-mail. Am I missing something? >>>> I followed your earlier thread (hopefully this is a related topic). This >>>> is strange. By default, sendmail is disabled. You don't even have to put >>>> anything into rc.conf: >>>> >>>> # grep sendmail /etc/defaults/rc.conf >>>> >>>> Sendmail listens and accepts local mail only. You can't connect to it >>>> from another machine: >>>> >>>> # telnet some.host.tld 25 >>>> Trying 1.2.3.4... >>>> telnet: connect to address 1.2.3.4: Connection refused >>>> telnet: Unable to connect to remote host >>>> >>>> You must've tweaked something to make it behave differently. >>>> >>>>> I tested the same setup with sshd, and that works properly. After a >>>>> quick search on google it seems that I'm not the only one with this >>>>> problem, but I couldn't find any solution to this. Any help is greatly >>>>> appreciated. >>>> Share with us your testing methodology. From previous thread, I >>>> understand that you just want something to submit your local mail (from >>>> daemons, scripts, etc). Then as others already said, a simple alias in >>>> /etc/mail/aliases and executing newaliases is sufficient. >>> Ok, so here's my current setup. I have sendmail_enable="NO" in rc.conf >>> (same as not having it there I guess), I've modified /etc/mail/aliases >>> to forward everything sent to root to my gmail account, and I added >>> "sendmail : all : deny" as the first line to /etc/hosts.allow while >>> I'm testing everything. Once I make sure that the deny rule works, >>> I'll allow access to sendmail only from localhost. This is all on >>> FreeBSD 6.2, but it's running in a jail, so that might have some >>> effect. >>> >>> >From my previous thread, sendmail is used only to accept messages sent >>> by processes running on the server, and send them to real e-mails >>> specified in /etc/aliases. That part works. However, even though >>> sendmail_enable is set to "NO" in rc.conf, sendmail still listens on >>> port 25, accepts mail from remote hosts, and the hosts.allow rule >>> doesn't seem to apply. Strange, isn't it? By the way, I just tried >>> removing sendmail_enable line from rc.conf completely and that had no >>> effect. >>> >>> All I do for testing is basically start/restart sendmail, then telnet >>> to the server from my workstation at home. I get a standard reply, and >>> can then do the usual HELO, MAIL FROM, RCPT TO, DATA, and so on. >>> Relaying doesn't work, but sending to and all other aliases works fine >>> (which in this case is bad). >>> >>> Think this might be some bug when sendmail is running in a jail? I >>> haven't modified anything beyond what's mentioned in this e-mail, and >>> I've checked all the settings. I can definitely connect to the server >>> from remote hosts despite the rc.conf and hosts.allow configuration. >> This is a different story now. On your host machine (as in jails' host), >> sendmail binds to localhost and never responds to outside world. This is >> expected. However, sendmail in a jail, binds to jail's IP address and >> that is why you can talk to it from outside. >> >> Run this on your host: >> >> # sockstat -4l | grep sendmail >> >> The output should look like this: >> >> root sendmail 1624 4 tcp4 1.2.3.5:25*:* >> root sendmail 1
Re: How to retrieve the list of files to merge by hand
Andrew Falanga wrote: > Hi, > > I just upgraded my box here at home last night and I made a little > mistake (fortunately, not one large enough to keep things from > working). I updated my source tree to 6.2-RELEASE-p4 and did the > "make buildworld" and "make buildkernel." Then I dropped to single > user mode to do the installs for both. At the end, as per some > instructions from a friend, I did "mergemaster -i -a". At the end was > quite a long list of files left for me to merge by hand. This was > actually a surprise to me because I'd updated two boxes at work > earlier in the week and the largest number of file to update by hand > was only 2. > > At any rate, because I was in single user mode, and hadn't started > mergemaster with something like, "mergemaster -i -a | tee > merge.output" or something (that's the small mistake that won't happen > again), I don't have the list of files to merge. > > At any rate, with exception to rc.conf and /etc/ttys, I haven't > modified anything the system uses anyway. Is there a way of > retrieving this list? As a side note, in an effort to get this list > (via a pipe command such as the one above), I reran the mergemaster > command, but got a much different set of results. Did I completely > eliminate any chance I had at getting them? Just run mergemaster again: # cd /usr/src # mergemaster That should do it. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: reject mail hosts
Jack Barnett wrote: > This is in the "daily run output". Anyone know what this means? It's > it someone trying to relay/spam though me? That's right. Someone's trying to deliver/relay e-mails through your system and such attempts get logged and reported to you. > Checking for rejected mail hosts: >2 bcast.americansingles.com (553... exist) >1 gmail.com (550... denied) >1 aol.com (550... denied) >1 < (553... required) 553... exist: domain of sender doesn't exist 550... denied: relaying denied / authentication required You shouldn't worry about it. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: reject mail hosts
Jack Barnett wrote: > Thanks for the info. > > If all of those requests have been denied (by the way, which file are > those logged into?) - then have any of them worked? > > I just want to make sure I'm not relaying/accepting spam! Please don't top-post. Those are logged into /var/log/maillog file - and none of them worked. You can always test your machine for relays using: http://www.abuse.net/relay.html Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Assignment of device names to external USB drives
[EMAIL PROTECTED] wrote: > On 19/05/07, Kevin Downey <[EMAIL PROTECTED]> wrote: >> On 5/19/07, Denis Fortin <[EMAIL PROTECTED]> wrote: >>> Greetings, >>> >>> I am trying to set up a backup server, using a combination of internal >>> and external (USB) disk drives. >>> >>> How can I manage the mapping of USB disk drives to device names? i.e. >>> USB drives get assigned device names like da0, da1, da2... when they are >>> detected. But if one of the drives fails or is not powered up, all >>> other ones will get bumped down one in the list next time I reboot. >>> >>> The problem is that if I automatically "mount /dev/da0a >>> /archive/volume1", "mount /dev/da1a /archive/volume2", etc. I run the >>> risk of having the wrong disk being mounted on a mount point !?! >>> >>> Is there an obvious solution that I'm missing, or a canonical workaround >>> to this problem? >>> >> when you newfs a drive use the -L flag to give it a label like >> 'VOLUME1' then if you load the geom_label module that drive becomes >> availble under /dev/ufs/VOLUME1 > > Or, if instead of fdisk, you > # glabel label disk0 da0 > # bsdlabel -w label/fancy0 > # newfs -U label/fancy0a > # mount /dev/label/fancy0a /bla > In addition, you can modify an already created filesystem (as described in glabel(8)): # tunefs -L data /dev/da4s1a Read the glabel(8) and loader.conf(5) man pages. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Static Routes, gateways and the end of my sanity
Reuben A. Popp wrote: Hello everyone, can someone please (_please_!!) let me know what I'm doing wrong in the following example? I am near my wits end on implementing this, any suggestions are greatly appreciated! The scenario is that I have a server here with twin nics, bce0 and bce1; I would like bce0 to be connected to our dmz network (192.168.x.x), while bce1 would be on our internal network. A jail will reside on the ip assigned to bce0, while the regular base system will bind to bce1. My current rc.conf consists of the following: --- defaultrouter="10.228.228.254" ifconfig_bce0="inet 192.168.4.80 netmask 255.255.255.0" ifconfig_bce1="inet 10.228.228.228 media 100BaseTX mediaopt full-duplex netmask 255.255.255.0" # Enable Jails for multi-homed box (video) jail_enable="YES" jail_list="video" jail_video_rootdir="/usr/local/jail/video" jail_video_hostname="video.eastcentral.edu" jail_video_ip="192.168.4.80" jail_named_exec_start="/bin/sh /etc/rc" jail_video_devfs_enable="YES" # Routed and gateway settings static_routes="net1" route_net1="-net 192.168.4.80/24 -netmask 255.255.255.0 192.168.4.254" -- Of course there's other things in there like binding various services (inetd, syslog, et al) to the internal ip. On bringing the machine up, I can ping both ips just fine; what I can't do is ssh to the dmz address. Yes, sshd is running inside the jail ;). The output of tcpdump shows a connect to that ip on bce0, but all responses appear to be going out on bce1. Again, any suggestions or comments are welcome and appreciated. For the record, the machine is a Dell PowerEdge 2950 running the amd64 6.2-RELEASE-p4 branch. I will gladly supply more info if this isn't enough. You can't bind both host and jail to the same IP. I'd suggest the following re-arrangement: ifconfig_bce0="inet 192.168.4.80 netmask 255.255.255.0" ifconfig_bce0_alias0="inet 192.168.4.81 netmask 255.255.255.255" ^^ ^ ^^^ ifconfig_bce1="inet 10.228.228.228 media 100BaseTX mediaopt full-duplex jail_enable="YES" jail_list="video" jail_interface="bce0" ^ jail_video_rootdir="/usr/local/jail/video" jail_video_hostname="video.eastcentral.edu" jail_video_ip="192.168.4.81" ^ jail_named_exec_start="/bin/sh /etc/rc" jail_video_devfs_enable="YES" In other words: Your host binds to bce0 (192.168.4.80) and bce1 (10.228.228.228). The jail binds to bce0_alias0 (192.168.4.81). Also jails will always try to bind to bce0 interface (jail_interface="bce0"). You don't need any routes if your machine acts as a gateway. All traffic from 10.0.0.0/8 will find its way to 192.168.0.0/16 through bc1 and from other net via bc0. Hopefully I didn't misinterpret your problem. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote Server FSCK
Matt Juszczak wrote: Hi all, I have a dedicated box with a hosting company. The power supply failed in the box this morning, and the company replaced it and brought the box back up. In my logs, I have: Trying to mount root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted WARNING: /home was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted /usr: mount pending error: blocks 80 files 1 WARNING: /var was not properly dismounted WARNING: /var/tmp was not properly dismounted In my opinion, this calls for an fsck in single user mode. Unfortunately, I don't have access to the box. Is htis something I should have them do? It seems /usr is affected, and the /var/log/messages shows a few other errors as well. What's the best way to go about fixing this. Should I ask them to `fsck -y` from console in single user mode since I can't be there to look at the prompts? It all depends on the severity of the situation. Next boot may fix your problem or it may not. It is a good idea to do it in single user mode but if you don't have console/physical access to the box then maybe this could help you: fsck_y_enable="YES" Just add that into the /etc/rc.conf, reboot and wait awhile. After the machine is up and running, fsck it and see if it throws any errors. Let us know how it goes. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: fbsd 6.2 pf starts -- but not on boot
snowcrash+freebsd wrote: hi, i've fbsd 6.2R/p5, with pf compiled into a custom kernel. on boot, pf is, apparently, not starting. but, if i exec /etc/rc.d/pf start immediately after boot to prompt is done, then all's OK. the only related (?) messages -- error or otherwise -- i've found are on startup. any ideas/suggestions as to what might be the prob? and/or how to troubleshoot? Just a shot in the dark. You are probably putting hostnames in your pf.conf instead of IPs. PF starts before Bind. So it can't resolve hostnames in the rules and hence doesn't start. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: startup / shutdown script (rc.d)
gmoniey wrote: thanks for the ideas, i tried both of your suggestions...i manually ran the rails.sh file, and everything worked as expected...so i dumped the output to file...my .sh file looks as such: [ trim ] the weird part is that the Rails found stop never printed...and im not sure why the mongrel_rails fails (im assuming that the kldload works fine as it doesn't print out any error messages if it is successfull) i guess i will just keep playing with it... Let's try a different approach. The following is a working script of your rails: --- #!/bin/sh # PROVIDE: rails # KEYWORD: nojail shutdown . /etc/rc.subr name="rails" start_cmd="${name} start" stop_cmd="${name} stop" rails() { case ${rc_arg} in start) echo -n "Starting ${name}: " echo -n "1 " echo -n "2 " echo "3" ;; stop) echo -n "Stopping ${name}: " echo -n "3 " echo -n "2 " echo "1" ;; *) echo "dddz" esac } load_rc_config ${name} run_rc_command "${1}" --- It looks different, but this is the new way how the OS fires things up. Place this script as "/usr/local/etc/rc.d/rails". Don't add the extension to it (.sh). The use of extensions is old school. Chmod it to 555 (or 755). Now give it a spin: # /usr/local/etc/rc.d/rails start # /usr/local/etc/rc.d/rails stop # /usr/local/etc/rc.d/rails restart # /usr/local/etc/rc.d/rails blah See what happens and then boot your machine. You'll see how it starts and stops. Once you're satisfied, tweak it to your needs. If you want to control all aspects of the thing then you should read: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-starting-services.html Also read the rc.d(8) and all of its rc.* related man pages. You can get lots of good examples in "/etc/rc.d/". For instance "/etc/rc.d/usbd" is the simplest of them all. Let us know how it goes. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading to 6.2-RELEASE from 6.2-STABLE
Abdullah Ibn Hamad Al-Marri wrote: On 6/10/07, Mark Stout <[EMAIL PROTECTED]> wrote: So how should I fix this? Thank you, Mark Stout cd /usr/src make cleanworld mergemaster -p make buildworld make buildkernel make installkernel reboot cd /usr/src make installworld mergemaster -iU reboot You are done. :) The *correct* procedure is described in: /usr/src/Makefile and even more detailed at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Spamassassin RBL's
Peter Pluta wrote: How can I enable spamassasssin RBL's. I'm running FreeBSD 6.1, postfix, amavisd-new, and spamassassin with razor. I'm getting many spams that shouldn't be getting thru with RBL's. I havent been able to find anything useful on Google that can explain how to get RBL working with spamassassin. Any feedback would be greatly appreciated. RBL is already enabled in SA. Probably you should increase the values SA assigns to RBL checks. See: http://www.spamhaus.org/effective_filtering.html Skim through: /usr/local/share/spamassassin/20_dnsbl_tests.cf Just a thought. You may consider implementing RBL at MTA level (postfix in your case). It is a lot faster then processing through SA, which is a resource hog. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: passing parameters to configure script of a port
Angelin Lalev wrote: Hi, I want to build squid from ports, but I need to pass some custom options to configure script. Something more, I want to be sure that when I run portupdate it won't revert to default options. Which is the right way to do this ? This might help: http://blog.innerewut.de/articles/2006/01/14/upgrading-ports-and-preserve-make-options Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Source code tar ball for the 6.2 production release
Jayendran wrote: Hi, I downloaded all the 6.2 release ISO images for the i386 target. I was unable to find the source code in any of the archives. I went through the FAQs which did not shed light on the location. I found a 'Documentation' links on the home site which had a link to a web browse-able version of the source code. Is the source code not bundled along with the ISO image(s) [earlier this used to be in /usr/src after installation]? If so, is it possible to get a tarball of it for offline use? I have not installed the OS yet. /cdrom/6.2-RELEASE/src/ -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading to 6.2-RELEASE from 6.2-STABLE
Mark Stout wrote: Thank you, Mark Stout VPM Global Internet Services, Inc. 530-626-4218 x205 Office 530-626-7182 Fax 530-554-9295 VoIP 916-240-2850 Cell www.vpm.com <http://www.vpm.com> This email and any files transmitted with it are confidential and intended solely for the use of the individual to whom they are addressed. If you are not the intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited, and asked to notify us immediately, then delete this email. E-mail transmission cannot be guaranteed to be secure or error-free and VPM Global Internet Services, Inc. does not accept liability for any errors or omissions in the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of VPM Global Internet Services, Inc. -Original Message- From: Mark Stout [mailto:[EMAIL PROTECTED] Sent: Monday, June 11, 2007 9:24 AM To: Mikhail Goriachev; Abdullah Ibn Hamad Al-Marri Cc: freebsd-questions@freebsd.org Subject: RE: Upgrading to 6.2-RELEASE from 6.2-STABLE -Original Message- From: Mikhail Goriachev [mailto:[EMAIL PROTECTED] Sent: Sunday, June 10, 2007 9:27 AM To: Abdullah Ibn Hamad Al-Marri Cc: Mark Stout; freebsd-questions@freebsd.org Subject: Re: Upgrading to 6.2-RELEASE from 6.2-STABLE Abdullah Ibn Hamad Al-Marri wrote: On 6/10/07, Mark Stout <[EMAIL PROTECTED]> wrote: So how should I fix this? Thank you, Mark Stout cd /usr/src make cleanworld mergemaster -p make buildworld make buildkernel make installkernel reboot cd /usr/src make installworld mergemaster -iU reboot You are done. :) The *correct* procedure is described in: /usr/src/Makefile and even more detailed at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html Following the tasks in Rebuilding “world” in the handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html I removed the /usr/obj directory and did a buildworld. When tryinmg to compile the kernel its failing on unknown option "MD5". Commenting that out it fails on the line above MD5, options LKM. What's happening here? These two options papear in the LINT file. I can't find anything that explains why this would happen. A follow-up to my last email. I copied GENERIC to RADIUS2 and symlinked to /root/kernel. Then added the various LINT options. I started commenting out what is failing when I try to compile a new kernel. All are from the LINT file. Is MD5 a default that does not need to be specifically added? What about ICMP_BANDLIM? And support for IDE drives. Are these already handed elsewhere in GENERIC? # These all failed as unknown options: unknown option "MD5" unknown option "LKM" unknown option "CD9660_ROOTDELAY" unknown option "NSWAPDEV" unknown option "TCP_COMPAT_42" unknown option "ICMP_BANDLIM" (found in Handbook in Chapter 14 Securing FreeBSD) # Do not understand why these are fialing config: Error: device "acd0" is unknown config: Error: device "wfd0" is unknown config: Error: device "wst0" is unknown # This failed as a syntax error controller wdc0at isa? port "IO_WD1" bio irq 14 Do you really need those options? GENERIC is sufficient for production use. Try running it first and see how it goes. I'd recommend adding/tweaking things only if you understand the outcome and necessity of them. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Fresh install won't compile requirement libraries for cvsup
Andrew Falanga wrote: Hi, [ trim ] After installing the ports tree, I went and did "make install clean" in the dir for cvsup-without-gui. The script appeared to be working through the requirements just fine too. It downloaded all necessary files and was proceeding to the build phase. I'm not sure in which package this occurred but the build just died on me. No errors, just a hard hang. Nothing worked. I could not even Alt+ to a different pseudo terminal. The system just hard hanged. I rebooted and tried the install again with the same result. Hardware problems. I have 384mb of PC 100 memory laying around that I was going to try and test my theory on, but wanted to consult some of the more experienced on this forum before going "hog" wild on this. Just out of curiosity, what are the impacts of using memory chips of unlike speeds in the system at the same time? I've heard, in times past, that if one does mix memory chips, the slower chips should be used in the lower priority (i.e. higher numbered) slots. Is this true, or is this bogus? Faster chips match the speed of the slower ones. You could add that extra chip and see what happens. I'm running FreeBSD 6.2 at work on two "lost-leader", no name "cheap-o" laptops also with 256mb of memory with no problems (granted, they are Celeron 1.7gHz but still). I'm even running X with XFCE or KDE on them. I'm really suspecting faulty memory. Oh, by the way, this is to be a web server therefore, I'm not going to be running any GUIs by default. Text based administration only. I'd suggest testing/stressing your memory: http://www.memtest86.com or /usr/ports/sysutils/memtest86 Let us know how it goes. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sendmail startup problem
Roland Smith wrote: On Tue, Jun 12, 2007 at 01:41:22PM -0700, Charlie McElfresh wrote: Hi, I have sendmail disabled in rc.conf, but it starts up anyway. Any hints what might be starting it up? How have you disabled it? It is not enough to do 'sendmail_enable="NO"'. To completely disable sendmail you shoud use 'sendmail_enable="NONE"'. sendmail_enable="NO" and sendmail_enable="NONE" are the same and the first one is already present by default in /etc/defaults/rc.conf In order to disable the submission and hence stop sendmail completely, the following should be added into /etc/rc.conf: sendmail_submit_enable="NO" Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sendmail startup problem
Chuck Swiger wrote: On Jun 12, 2007, at 2:43 PM, Mikhail Goriachev wrote: How have you disabled it? It is not enough to do 'sendmail_enable="NO"'. To completely disable sendmail you shoud use 'sendmail_enable="NONE"'. sendmail_enable="NO" and sendmail_enable="NONE" are the same and the first one is already present by default in /etc/defaults/rc.conf No, they aren't identical. See /etc/rc.d/sendmail: case ${sendmail_enable} in [Nn][Oo][Nn][Ee]) sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" ;; esac In order to disable the submission and hence stop sendmail completely, the following should be added into /etc/rc.conf: sendmail_submit_enable="NO" This is a partial solution. The complete set of variables is listed above or in /etc/defaults/rc.conf... Oops... I stand corrected. My apologies for the noise. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BIND to listen on all interfaces?
Nejc Škoberne wrote: > Hello, > > I am running BIND (from base system) on my FreeBSD 5.3 machine. The box is > connected to outer world via ADSL connection (tun0 device). If the named is > started when the machine is connected to the internet, then everything is OK, > I get this by saying netstat -n -a: > > udp4 0 0 X.X.X.X.53 *.* > udp4 0 0 127.0.0.1.53 *.* > udp4 0 0 10.0.1.3.53*.* > > but at boot time, the named starts before the PPP connection is started, so > the tun0 interface is not up yet. So that's why I get this: > > udp4 0 0 127.0.0.1.53 *.* > udp4 0 0 10.0.1.3.53*.* > > In BIND manual, it says: > > "If no listen-on is specified, the server will listen on port 53 on all > interfaces." > > I also tried to specify the ADSL IP address in named.conf (it is static), but > it is > still a no go. I don't have such problems with other daemons! Any ideas? An idea: Assuming you're using ppp, let it restart named after it connects to the Internet. Have a /etc/ppp/ppp.linkup and put the following or similar into it: adsl: ! /etc/rc.d/named restart Read the ppp man pages for further details. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php 4.3.10, manual installation
Zbigniew Szalbot wrote: > Hi there, > > On Mon, 9 Jul 2007 16:54:16 -0500, Josh Paetzel <[EMAIL PROTECTED]> wrote: >> On Monday 09 July 2007, [EMAIL PROTECTED] wrote: >>> Hello, >>> >>>> I would take a look at cvsweb.freebsd.org and find out when PHP >>>> 4.3.10 was in ports, then roll back your ports tree to that date >>>> with cvsup and install it from ports. >>>> >>>> So in this case the commit that updated the port to 4.3.11 was on >>>> Mon April 4 2005, so if you roll back the ports tree to April 1 >>>> you'll be fine. >>>> >>>> You'll need cvsup for this. >>>> >>>> In your ports-supfile add the following line: >>>> >>>> *default date=2005.04.01.00.00.00 >>>> >>>> If you have the current versions of gettext, libtool, m4, perl, >>>> and expat installed you can simply roll back the lang directory >>>> with cvsup, saving you from rolling back the entire tree by >>>> commenting out ports-all, and uncommenting ports-base and >>>> ports-lang >>>> >>>> Otherwise, if you want to install the versions of the >>>> dependancies that were current at the time of php 4.3.10 you'll >>>> want to roll back the entire tree. >>>> >>>> After you run cvsup you can just portinstall it or >>>> cd /usr/ports/lang/php4 && make install clean >>> All clear but when I go to install this particular version of PHP I >>> am (rightly) warned about its multiple known vulnerabilities. I >>> read man portinstall but don't think I have seen information how to >>> temporarily switch this security check off when installing a port. >>> >>> Many thanks in advance! >>> >>> Zbigniew Szalbot >>> >> make -DDISABLE_VULNERABILITIES install > > Thanks for your patience! However, when I try I get: > > make -DDISABLE_VULNERABILITIES install clean > Dependency warning: used OpenSSL version contains known vulnerabilities > Please update or define either WITH_OPENSSL_BASE or WITH_OPENSSL_PORT > *** Error code 1 > > Stop in /usr/ports/lang/php4. > > Now I did include WITH_OPENSSL_PORT=1 in pkgtools.conf for php4 but it does > not seem to take any effect. I also tried inserting > WITH_DISABLE_VULNERABILITIES=1 in this file but it did not help. # make DISABLE_VULNERABILITIES=YES install clean # man ports Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
:::. Sendmail on FreeBSD -> Deferred: Operation timed out with
Hi, Sendmail and I aren't getting along well. I got this FreeBSD 6.0-RELEASE-p7 box doing SMTP work for me. Everything is fine, but a few domains give me headaches with "Deferred: Operation timed out with " errors. One domain in particular I'm trying to get to work is hospitaldeninos.cl $ host hospitaldeninos.cl hospitaldeninos.cl has address 200.31.44.1 mail is handled by 4 nt_sql_server2.hospitaldeninos.cl. mail is handled by 5 mail.hospitaldeninos.cl. Whenever I try to send anything to that domain I just get the following in my logs: [...] delay=01:00:57, xdelay=00:01:15, mailer=esmtp, pri=210425, relay=mail.hospitaldeninos.cl. [200.29.150.146], dsn=4.0.0, stat=Deferred: Operation timed out with mail.hospitaldeninos.cl. $sendmail -q -v <[EMAIL PROTECTED]>... Connecting to nt_sql_server2.hospitaldeninos.cl. via esmtp... <[EMAIL PROTECTED]>... Connecting to mail.hospitaldeninos.cl. via esmtp... <[EMAIL PROTECTED]>... Deferred: Operation timed out with mail.hospitaldeninos.cl. Now, I've tried so many things. I put define(`confBIND_OPTS', `WorkAroundBroken')dnl as suggested in some lists into my mc file. I even installed /usr/ports/mail/sendmail just in case there was a problem with the stock one as found 5 years ago (http://freebsd.rambler.ru/bsdmail/freebsd-stable_2001/msg14611.html). I've made my way through all possible mailing-lists on the Internet. I compiled, recompiled sendmail who knows how many times with different knobs inside /etc/make.conf. I even ruined my DNS for a few hours trying to fix... something. A few days ago, after I ran out of all possible options I could come up with, I tested my OpenBSD 3.8 box with stock sendmail. The test was successful right away. I'm able to send all e-mails including those ones to hospitaldeninos.cl without problems. So my problem is that the OpenBSD and the FreeBSD box in question sit behind the same NAT connection. The OpenBSD can send e-mails to hospitaldeninos.cl but FreeBSD gets deferred and stuck. I guess this experiment rules out all possibilities that I'm being blacklisted/probed/checked/whatever. So SMART_HOST isn't my remedy just yet. I compared (with diff) most of the sendmail's config files (mc, m4, cf) on both machines. No success in seeing any real difference. They both run sendmail v8.13.4. I even tried to use my other boxes loaded with 5.3-RELEASE-p29 with sendmail 8.13.1. No success whatsoever. I'm pulling my hair out. This is what I get on OpepBSD's log: [...] delay=00:00:04, xdelay=00:00:04, mailer=esmtp, pri=30905, relay=nt_sql_server2.hospitaldeninos.cl. [200.29.150.147], dsn=2.0.0, stat=Sent (M2006051714123500106 Message accepted for delivery) So by comparing the logs, FreeBSD insists on using mail.hospitaldeninos.cl (MX 5) and fails. On the other hand, OpenBSD uses nt_sql_server2.hospitaldeninos.cl (MX 4) and succeeds. Has anyone seen this kind of weirdness? Any ideas on how to fix it? This is driving me nuts. Thanks in advance. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: :::. Sendmail on FreeBSD -> Deferred: Operation timed out with
Giorgos Keramidas wrote: > On 2006-05-20 02:20, Mikhail Goriachev <[EMAIL PROTECTED]> wrote: >> Hi, >> >> Sendmail and I aren't getting along well. I got this FreeBSD >> 6.0-RELEASE-p7 box doing SMTP work for me. Everything is fine, but a few >> domains give me headaches with "Deferred: Operation timed out with >> " errors. One domain in particular I'm trying to get to >> work is hospitaldeninos.cl >> >> $ host hospitaldeninos.cl >> hospitaldeninos.cl has address 200.31.44.1 >> mail is handled by 4 nt_sql_server2.hospitaldeninos.cl. >> mail is handled by 5 mail.hospitaldeninos.cl. >> >> Whenever I try to send anything to that domain I just get the following >> in my logs: >> >> [...] delay=01:00:57, xdelay=00:01:15, mailer=esmtp, pri=210425, >> relay=mail.hospitaldeninos.cl. [200.29.150.146], dsn=4.0.0, >> stat=Deferred: Operation timed out with mail.hospitaldeninos.cl. > > For some reason, your Sendmail setup tries to find out the IP address of > the MX for `hospitaldeninos.cl' and it resolves this to the wrong mail > server: > > mail.hospitaldeninos.cl > > This would tend to work fine, as long as either one of the two MX hosts > of the domain accepted email, but there are also problems connecting to > the `mail.hospitaldeninos.cl:SMTP' service too. > > What do the following files contain in the FreeBSD system that fails to > resolve the MX records correctly? > > /etc/hosts > /etc/resolv.conf > /etc/host.conf > /etc/nsswitch.conf > Thanks for quick response. These are the files: /etc/hosts 127.0.0.1 localhost.tas.webanoide.org localhost 192.168.0.2 kavayito.tas.webanoide.org kavayito /etc/resolv.conf search tas.webanoide.org nameserver 192.168.0.1 /etc/host.conf hosts bind /etc/nsswitch.conf hosts: files dns -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: :::. Sendmail on FreeBSD -> Deferred: Operation timed out with
Giorgos, Kevin, thanks a lot for your input. Finally this madness is getting some explanation. I was getting a few beers short of a carton on this one. hospitaldeninos.cl has got some config issues: http://www.dnsreport.com/tools/dnsreport.ch?domain=hospitaldeninos.cl The thing about this whole situation is that my ISP's SMTP can send e-mails to that domain. So I assumed I was doing something wrong with my FreeBSD box, hence the persistence on my behalf. Now I realise that OSes behave differently putting them in the same situation. For instance FreeBSD completely rejects everything. It doesn't want to do anything with such domains. Understandable, fair enough. OpenBSD won't telnet to any of the MXs but will send e-mails happily with no problems at all. On the other hand Mac OS X (Darwin) will telnet to the first MX. It doesn't throw "non-recoverable failure in name resolution" error. So it's even more flexible. I guess everything comes down to OSes and their mailers. How inconvenient. Anyway, I'm gonna send a few e-mails to technical contacts for hospitaldeninos.cl and let them know about this issue. Thanks again guys. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: building a cluster
Carlos Silva wrote: >Hi, >This info hasn't helped me too much unfortunately =(. >Someone can give me a great tutorial for noobs? > Best Regards, > Hi, Well, you could start with something like: http://www.transcoding.org/cgi-bin/transcode?action=browse&id=Examples/Cluster_Batch_Encoding&oldid=Cluster_Batch_Encoding The site's got some interesting things. Don't just stop at that link. Last year I had this ambitious plan to come up with a cluster that could do divx2dvd, dvd2dvd and dvd2divx with monitoring, master-slave controllers, etc. I didn't get too far due to other commitments though. I hope this points into right direction. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: CD burning in FreeBSD
Adam M wrote: > I have FreeBSD 6.0. I have a Sony CD-RW burner. I was wondering if I should > use cdrecord or burncd. Also, where would I find info on erase cd-rws. Hi, You could start with: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html To blank a CD-RW (quick format) $burncd -f /dev/acd0 blank To erase a CD-RW (full format) $burncd -f /dev/acd0 erase This is assuming acd0 is the burner. Regarding to wherever to use cdrecord or burncd I reckon you could read their mans and see which one suits your needs. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: installing ports behind IPFILTER
Brett Wiggins wrote: > Hi everyone, > I am having some problems installing ports when I have > > IPFILTER running. I have put FTP_PASSIVE_MODE=YES in /etc/make.conf > > but the command 'make all install clean' yields; > > ===> Vulnerability check disabled, database not found > => jce-aba-1.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/. > => Attempting to fetch from > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/znerd/. > fetch: > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/znerd/jce-aba-1.1.tar.gz: > Network is unreachable > *** Error code 1 > > This happens when I try to install ports or pakages. I have also tried > > to install with tcp/ip ports 20,21 and 22 open but to no avail. > > Could you please CC me if you can help, am not on the list due to > > this mailbox being from a University. My IPFILTER is set to block by > > default in my kernel, and I am running 6.1 RELEASE G'day, Probably this is what you're after: # Allow out gateway & LAN users non-secure FTP ( both passive & active modes) # This function uses the IPNAT built in FTP proxy function coded in # the nat rules file to make this single rule function correctly. # If you want to use the pkg_add command to install application packages # on your gateway system you need this rule. pass out quick on dc0 proto tcp from any to any port = 21 flags S keep state That one is from: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipf.html Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MESS
none none wrote: > Hi > I fear that this time a messed up big time. I have two hard drives one with > Windows XP (40G) and another with FreeBSD 6.1 (10G). Eveything was ok until > I decided i wanted to mount my windows drive to FreBSD (i run KDE as GUI). I > followed the instruction from OnLamp.com and since i wanted the whole process > to be automated on every boot i added the following lines in /etc/fstab using > ee: > /dev/ad0s1 /windowsntfs rw 1 1 > > and everything looked normal until i rebooted! now when i choose FreeBSD on > the bootmanager it starts looking ok and ends up with the following: > fsck: exec fsck-ntfs for /dev/ad0s1 in /sbin:/usr/sbin: No such file or > directory > Unknown error: help! > init /bin/sh on /etc/rc terminated abnormaly, going to single user mode > Enter full pathname of shell of RETURN for /bin/sh > > if i enter single user mode it dasen't seem to recognize many commands: > starrtx, ee, pico, emacs etc so i cannot change my /etc/fstab in case this is > the problem. > > Moreover now i am unable to enter windows as the bootmanager when i ask him > to load the DOS disk it just reboots the system. I even tried to leave only > the (40G) on the machine but thens it just crashes right after memeory check. > I am seriously in need for some help, if anyone could suggest anything i > would appreciate it a lot. Thanks in advance > andreas Sotriakopoulos Hi, This one is gonna sound funny. I once had a mistype in /etc/fstab myself. I solved it by pulling the hard drive off the box, mounting it on another one and then I modified the file. I guess you could do the same if you have a spare FreeBSD box lying around. But there must be a better way doing it though. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: machdep.hlt_logical_cpus being ignored
Jon Falconer wrote: > Greetings All, > > I have installed FreeBSD 6.1 Release on a Dell 2850. I is has two Xeon > CPUs. Seeing the comment in the SMP man page about hyperthreading being a > problem in some situations, I added "machdep.hlt_logical_cpus=1" in > /boot/loader.conf file. Upon rebooting, the system still finds four CPUs > and starts all of them. I would have expected it to start only the two > physical CPUs. Am I missunderstanding what machdep.hlt_logical_cpus is > supposed to do? Should I even be concerned about the hyperthreading > problem. This system will be an email server for a small college campus > with about 2000 active accounts. > > Also, the man page for SMP say that the machdep.hlt_cpus can be used to > halt a specific CPU. I have not set this value, but sysctl shows it has a > value of 10, even before I set the machdep.hlt_logical_cpus to 1. Why > would this be the default value? I would think this would mean that one of > the system CPUs is halted. But dmesg output claims it launched four CPUs. > > Can someone fill me in on what this all means? Hi, This issue has been addressed in: http://security.freebsd.org/advisories/FreeBSD-SA-05:09.htt.asc You could also read this: http://www.daemonology.net/hyperthreading-considered-harmful/ I hope this helps. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Conexant AccessRunner ADSL USB modem
Grad wrote: > Hi, > I am a complete newbie in FreeBSD and i was wondering if i can use my > usb modem (Crypto F200 with Conexant AccessRunner Chipset) to connect to > the > internet using FreeBSD 6.1. The dmesg > command indicates that the OS "sees" the modem using ugen0. > I understand that this driver is the one generally used for usb devices. > Even if this is the driver and my modem is supported how exactly can i > connect to my ISP because I cannot see anyplace that i could declare > username and password. > Thanks in advance, > Trapatsas Panagiotis Hi, This is a good starting point for you: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html and /usr/share/examples/ppp I personally stay away from USB (ADSL) modems. I prefer the ones that connect through Ethernet and support half or full bridge mode. I hope this helps. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upload-only ftp server
Paul Schmehl wrote: > --On May 24, 2006 4:32:55 PM +0200 User Gandalf > <[EMAIL PROTECTED]> wrote: > >> >> Dear List, >> >> I would like to install an ftp server. Some of the users want to upload >> files to the server. I would not like to start an ftp server at all, >> because I'm too paranoid. But my users demand it. I looked at the ports >> tree and I found many ftp servers. I cannot choose between them. Can you >> recommend one for me? I only need one ftp user (possibly with a >> password), and upload/list files only. The most important thing is >> security, and the ability to handle passive transfers. >> > Is there a reason they can't use sftp? You're most likely already > running sshd, which means you already have sftp capabilities builtin. > If the issue is usability, there are a number of gui clients available > for all platforms (WinSCP for Windows, for example) that make the > process painless. Yeah, I agree. I forced my users to use SFTP through FileZilla on windows. They actually think they're using FTP instead of SFTP. So everyone is happy including me. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can drive with 6.1 be directly transferred from one machine to another?
Garrett Cooper wrote: > Another valid question I suppose is whether or not I can move the > machine from a box with a Celeron CPU to one with an AMD CPU (not sure > if vendors matter even though ISAs are the same). > -Garrett I guess it would depend on the AMD processor. If it's 32bits then it falls into i386 category, same as the Celerons. If it is 64bits then it *might* still work in 32bits mode (backward compatibility). In the latter case I'd get and AMD64 copy of FreeBSD. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone using sysutils/nut ?
Scott Tuc Ellentuch at T-B-O-H wrote: >>> I'm going by : >>> >>> /usr/local/share/doc/nut/shutdown.txt >>> >>> Subsection "How you set it up", item #2 : >>> >>> 2. Edit your shutdown scripts to check for the POWERDOWNFLAG so they >>> know >>>when to power off the UPS. You must check for this file, as you >>> don't >>>want this to happen during normal shutdowns! >>> >>>You can use upsdrvctl to start the shutdown process in your UPS >>>hardware. Use this script as an example, but change the paths to >>>suit your system: >> My bad. I did edit rc.shutdown on both a 5.4 and a 6.0 system with no >> troubles. The end of my file shows this: >> >> # Inserted next 5 lines March 13, 2006 for UPS shutdown. >> if (test -f /etc/killpower) >> then >> echo "Killing the power, bye!" >> /usr/local/libexec/nut/upsdrvctl shutdown >> fi >> >> echo '.' >> exit 0 >> > But doesn't that immediately shut down your system causing it > to need FSCK when it comes back up? Hi, I got the following line in /usr/local/etc/nut/upsmon.conf: SHUTDOWNCMD "/sbin/shutdown -p now" As far as I'm concerned the system powers off cleanly without the need of FSCK. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone using sysutils/nut ?
Tuc at T-B-O-H wrote: > The issue isn't with the upsmon or SHUTDOWNCMD... Its with the > fact that /etc/killpower gets set, and somewhere you need to put > "upsdrvctl shutdown". Its during the "shutdown -p now" that at some point > needs to be run, and if its run in /etc/rc.shutdown then the shutdown isn't > finished and shutting it off at that point the filesystems are dirty. Oh, I see the dilemma now. In my case my box powers off but the UPS stays on till it drastically dies (if power is still unavailable). You're trying to shutdown both the system and the UPS, aren't you? So then they can automatically come back up again when power returns. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone using sysutils/nut ?
Tuc at T-B-O-H wrote: >> Tuc at T-B-O-H wrote: >>> The issue isn't with the upsmon or SHUTDOWNCMD... Its with the >>> fact that /etc/killpower gets set, and somewhere you need to put >>> "upsdrvctl shutdown". Its during the "shutdown -p now" that at some point >>> needs to be run, and if its run in /etc/rc.shutdown then the shutdown isn't >>> finished and shutting it off at that point the filesystems are dirty. >> >> Oh, I see the dilemma now. In my case my box powers off but the UPS >> stays on till it drastically dies (if power is still unavailable). >> You're trying to shutdown both the system and the UPS, aren't you? >> > Exactly, yes. >> So >> then they can automatically come back up again when power returns. >> > That what I want to do, yea. > > I think I'm finding that the UPS I bought (MGE Ellipse Pulsar) > isn't really a UPS, but a toy. Now to decide if I give the next step up > (Evolution) a try or is it just wasting more money. I got an MGE Pulsar EXtreme C 3200. In current setup it lasts for hours. When deployed, my main objective was to shutdown the box, hence saving it from disasters. I never considered doing the same with the UPS. I guess it is time for me to finish the job. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dd to create .iso of a cd
Jonathan Horne wrote: > i hate to ask another "back when i used linux" question, but here goes: > > "back when i used linux", i would create a .iso file of a cd like this: > > dd if=/dev/cdrom of=/path/destfile.iso > > ... and it would just work. made a perfect copy every time (specifically, > of microsoft cds at the office, and each one was able to burn to a > bootable copy of what ever it was). well, i tried to do this in freebsd, > but no luck. i was able to take a .iso file, but it did not make a > bootable disk once it was burned. my command was the same as above, but > added bs=2048 at the end(as per what i read in the handbook). > > can anyone recommend how to create a .iso image in freebsd that will > render a bootable .iso file? i hate to have to keep a linux box around > the office just for the purpose of successfully creating a .iso file :) Hi, This is weird because it works for me. I do: $dd if=/dev/acd0 of=file.iso bs=2048 $burncd -f /dev/acd0 data file.iso fixate My burnt copies boot boxen without problems. How do you burn your ISOs? Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone using sysutils/nut ?
Mikhail Goriachev wrote: > Tuc at T-B-O-H wrote: >>> Tuc at T-B-O-H wrote: >>>>The issue isn't with the upsmon or SHUTDOWNCMD... Its with the >>>> fact that /etc/killpower gets set, and somewhere you need to put >>>> "upsdrvctl shutdown". Its during the "shutdown -p now" that at some point >>>> needs to be run, and if its run in /etc/rc.shutdown then the shutdown isn't >>>> finished and shutting it off at that point the filesystems are dirty. >>> Oh, I see the dilemma now. In my case my box powers off but the UPS >>> stays on till it drastically dies (if power is still unavailable). >>> You're trying to shutdown both the system and the UPS, aren't you? >>> >> Exactly, yes. >>> So >>> then they can automatically come back up again when power returns. >>> >> That what I want to do, yea. >> >> I think I'm finding that the UPS I bought (MGE Ellipse Pulsar) >> isn't really a UPS, but a toy. Now to decide if I give the next step up >> (Evolution) a try or is it just wasting more money. > > > I got an MGE Pulsar EXtreme C 3200. In current setup it lasts for hours. > When deployed, my main objective was to shutdown the box, hence saving > it from disasters. I never considered doing the same with the UPS. I > guess it is time for me to finish the job. How unlucky. I can't get my UPS to power off: $/usr/local/libexec/nut/upsdrvctl shutdown Network UPS Tools - UPS driver controller 2.0.3 Network UPS Tools - MGE UPS SYSTEMS/SHUT driver 0.65 (2.0.3) Unable to get Report Descriptor Driver failed to start (exit status=1) Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upload-only ftp server
Lars Stokholm wrote: > On 5/25/06, Mikhail Goriachev <[EMAIL PROTECTED]> wrote: >> Yeah, I agree. I forced my users to use SFTP through FileZilla on >> windows. They actually think they're using FTP instead of SFTP. So >> everyone is happy including me. > > Isn't it a problem that they can't be chrooted? Well it depends. In my case: 1.- I'm not hiding anything on the system. 2.- Users' home dirs are chmoded to 700. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Spam problem!
Adrian Pavone wrote: > Derek Ragona wrote: >> There are many ways to combat spam. One of the easiest is to use >> mailscanner in the ports. >> >> You can configure mailscanner to compare senders against known lists >> of SPAMers, in addition to it's own rules. >> >> -Derek >> >> >> At 09:53 AM 5/25/2006, Olga Zenkova wrote: >>> I use sendmail 8.13.3 and gather full log of its work. >>> I see such strings in it: >>> >>> <<< RCPT TO: [EMAIL PROTECTED] >>> >>> 250 2.1.5 ... Recipient ok >>> <<< RCPT TO: [EMAIL PROTECTED] >>> >>> 250 2.1.5 ... Recipient ok >>> <<< DATA >>> <<< To: [EMAIL PROTECTED] >>> >>> where user1, user2 - users names >>> domain.com - domain name >>> >>> After that user1 and user2 get spam letters to their >>> mailboxes with field "To: user3" in it. There are no >>> user1 or user2 in this field. Is it possible to cut >>> off these letters? Especially it is difficult to >>> explain for user1 and user2 why they got letters >>> addressed not for them. >>> >>> Thanks! >>> Olga Zenkova >>> >>> >>> >>> __ >>> 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]" >>> >>> -- >>> This message has been scanned for viruses and >>> dangerous content by MailScanner, and is >>> believed to be clean. >>> MailScanner thanks transtec Computers for their support. >> > Ohh, this reminds me of my ISP tech support days. Having to explain to > illiterates what a BCC is ... > > Yeah, I think even sendmail has a mail filter available if you want to > configure it. There are many anti-spam methods available at the server. > I recommend finding one with greylisting built in I had to get rid off greylisting (even though it sounds wicked). It took me a few months to realise that some legitimate mail was getting lost due to senders' weird configuration on SMTP level. Also sometimes I was getting very long delays and it was unacceptable by the users. I use a mix of sendmail, spamass-milter and spamassassin. It quietly accepts spam and delivers it marked as such but never bounces. It does a great job, can't complain, but 1% manages to get through from time to time. Also, once in awhile legitimate mail gets marked and this is where whitelisting comes in handy. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SUDO Help password change deligation question
Sean Murphy wrote: > I would like to not give root access but enable a user account (not in > wheel) to change user passwords with passwd username command. I just > would like to delegate the password changing ability to someone else but > not give them super user privileges other then passwd. Would this be > something sudo can do? can you restrict what accounts passwords they > can change for instance everyone but system root and my account? Yes, sudo can limit the access of what to execute. However, I'd write my own little script (passwd wrapper) that checks whose account is being modified. Then you can prevent misuse. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dvd+rw problems
Nick Pegg wrote: > On 5/26/06, Nick Pegg <[EMAIL PROTECTED]> wrote: >> I'm having some troubles reading and writing DVD+RW discs. I've >> installed dvd+rw-tools and followed the instructions in the FreeBSD >> Handbook and searched Google without much luck. Here's the specific >> errors I'm getting: >> >> Trying to mount the disc: >> server# mount_cd9660 /dev/cd0 /cdrom >> mount_cd9660: /dev/cd0: Invalid argument >> >> Trying to burn stuff to the disc: >> server# growisofs -Z /dev/cd0 -J -R /root/dumps >> :-( unable to cam_open_pass("/dev/pass0",O_RDWR): Operation not permitted >> >> >> When trying the same operations with a DVD-R disc, I can successfully >> mount and read the disc, however I get the same error when trying to >> write to the disc. The drive can also mount and read CD media just >> fine. I've double-checked the permissions in /dev and I'm running >> everything as root, so that shouldn't be a problem. >> >> Here's some additional info to help in figuring out what my problem >> could be: >> >> server# camcontrol devlist >> at scbus1 target 1 lun 0 (cd0,pass0) >> >> Here's some relevant stuff from dmesg: >> acd0: CDR at >> ata1-master UDMA33 >> acd1: DVDR at ata1-slave UDMA33 >> (probe0:ata1:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 >> (probe0:ata1:0:0:0): CAM Status: SCSI Status Error >> (probe0:ata1:0:0:0): SCSI Status: Check Condition >> (probe0:ata1:0:0:0): ILLEGAL REQUEST info?:1000100 csi:0,1,0,1 asc:24,1 >> (probe0:ata1:0:0:0): Reserved ASC/ASCQ pair >> (probe0:ata1:0:0:0): Unretryable error >> cd0 at ata1 bus 0 target 1 lun 0 >> cd0: Removable CD-ROM SCSI-0 device >> cd0: 33.000MB/s transfers >> cd0: Attempt to query device size failed: NOT READY, Medium not present >> g_vfs_done():acd0[READ(offset=65536, length=8192)]error = 5 >> g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5 >> g_vfs_done():cd0[READ(offset=65536, length=8192)]error = 5 >> (cd0:ata1:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 >> 0 0 4 0 >> (cd0:ata1:0:1:0): CAM Status: SCSI Status Error >> (cd0:ata1:0:1:0): SCSI Status: Check Condition >> (cd0:ata1:0:1:0): ILLEGAL REQUEST asc:24,0 >> (cd0:ata1:0:1:0): Invalid field in CDB: Command byte 6 is invalid >> (cd0:ata1:0:1:0): Unretryable error >> g_vfs_done():cd0[READ(offset=32768, length=2048)]error = 5 >> >> >> Thanks for the help! >> >> -Nick >> > > I've got an update to my problem. I can actually read the disc just > fine at securelevel 3, but I need to drop down to securelevel 1 in > order to write to it (/dev/pass0 is a protected device node at > securelevel 2 and 3). > > Is there a workaround to this, or will I have to drop into single-user > mode every time I want to write to a DVD? Hi, I ran into the same problem years ago. This might help you: http://www.freebsd.org/gnome/docs/faq2.html#q15 Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail / Mailscanner issues
Robert Davison wrote: > Excuse my ignorance, i'm new to this. > > I'm taking it that you mean telnet 83.67.*.* 25 > > if so then no, I cant connect. > Can you actually connect directly from localhost? $telnet 127.0.0.1 25 -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MailScanner Issues
Robert Davison wrote: > I've done a bit more digging. It seems that my sendmail_in.pid and > sendmail_out.pid files are not running in /var/run, despite having this in my > rc.conf.. > > sendmail_enable="NONE" > clamd_enable="YES" > freshd_enable="YES" > mailscanner_enable="YES" > mta_enable="YES" > mta_type="sendmail" > mta_profiles="incoming outgoing submitqueue" > mta_incoming_flags="-L sm-mta-in -bd -OPrivacyOptions=noetrn > -OQueueDirectory=/v > ar/spool/mqueue.in -ODeliveryMode=queueonly" > mta_incoming_pidfile="/var/run/sendmail_in.pid" > mta_incoming_configfile="/etc/mail/sendmail.cf" > mta_outgoing_flags="-L sm-mta-out -q15m" > mta_outgoing_pidfile="/var/run/sendmail_out.pid" > mta_outgoing_configfile="/etc/mail/sendmail.cf" > mta_submitqueue_flags="-L ms-msp-queue -Ac -q15m" > mta_submitqueue_pidfile="/var/spool/clientmqueue/sm-client.pid" > mta_submitqueue_configfile="/etc/mail/submit.cf" > > I'm getting a sendmail.pid file, but nothing more Well, this makes sense. Your sendmail is disabled: sendmail_enable="NONE" This is what you need: sendmail_enable="YES" Try that and see how it goes. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: difference between mbox and maildir?
Vulpes Velox wrote: > On Sun, 28 May 2006 14:50:05 -0800 > "Noah" <[EMAIL PROTECTED]> wrote: > >> Hi there, >> >> might somebody send me to a website that explains the differnce >> between mbox and maildir? Or maybe you can just explain the >> differences in a response. > > http://en.wikipedia.org/wiki/Mbox > http://en.wikipedia.org/wiki/Maildir > > Maildir is your friend. Mbox likes to blow up. The only nice thing > about mbox is it only uses a single inode. Yep, maildir is the way to go. Incremental backups are easier with it as well. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Design
Scott Sipe wrote: > > I'm helping a small business expand their networking. > > right now they have one office location (with a freebsd firewall box, > and a freebsd box running db, web, samba, etc). > > Their main office location has: > - 3 external static IPs on a DSL connection (all aliased on one nic) > - an internal network of 10.0.0.0/255.0.0.0 > - a wireless network with IP range 192.168.1.0/255.255.255.0 (nat'ed and > running off the firewall box) > > They are adding a second warehouse location. It will also have one > static IP address (running on dsl also). I'd like to get a IPsec > connection going between the location so all warehouse traffic goes > through the main branch. I've done this much before. > > They also want to subdivide up the network at their main location so > some terminals can be on gige and some are on 100. I believe I've read > you shouldn't mix and match 100/1000? > > I don't really have any experience with how subnetting and IP ranges > should work for a configuration like this (local network, remote ipsec > location, wireless network, etc). > > Looking for any assistance (advice, links, anything!) on how to setup a > sane and well designed network. Hi, You could have something like this: 10.0.0.0/255.255.0.0# for your 100s 10.1.0.0/255.255.0.0# for your 1000s 10.2.0.0/255.255.0.0# for the second warehouse Each network would be capable of handling 65,534 hosts. Also, I don't see any problems regarding mix and match 100/1000. I'd keep them together if they fall into same category/department (workstations?). Here, some links for you: http://jodies.de/ipcalc http://innovation.dc-uoit.ca/kyrytows/subnetting/subnetting.htm Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MailScanner Issues
Robert Davison wrote: > But the config settings I've seen all say that when using MailScanner, you > must set the sendmail_enable to None. > > Even with this set to YES, then I still dont have the sendmail_out.pid and > sendmail_in.pid files running. > Oops... I'm not familiar with MailScanner. I just assumed, based on your log, that sendmail is the epicentre of your problem. I reckon someone else would be able to help you. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd 5.3, gmirror raid 1, PROBLEM
sara lidgey wrote: > Hi All, > > I've been running a server using FreeBSD 5.3 and gmirror to mirror two > identical IDE hard drives. Its been running great for over a year. But > recently everything went down and when I reboot and put a monitor on it I get > the following errors on screen: > > GEOM_MIRROR: Device gm0: provider ad1 disconnected > GEOM_MIRROR: Device gm0: provider mirror/gm0 destroyed > GEOM_MIRROR: Device gm0: rebuilding provider ad0 stopped > > Fatal trap 12: page fault while in kernel mode... (this is followed by > details about the fault) > > These errors are preceded by other related error information that flys by on > the screen and I have no way of seeing them again. > > Does anyone now what steps I should take to figure what is going on and try > to recover data or get the machine to boot? > Hi, Have you tried disconnecting ad1 and booting only with ad0? Maybe one of the drives just died on you. Try booting the system with one drive at a time connecting as a master (Primary on IDE1). Let us know how it goes. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: User Access restriction.
Marwan Sultan wrote: > Hello, > > Yes, I understand that To lockup a user from navigating outside their > home directories through > ftp, I simply can add them to /etc/ftpchroot and when a user connects > It wont allow him > to go any level higher than his Home Directory. > No need for proftpd as additional port, because the base system will do > it throu /etc/ftpchroot > > BUT!! > The user can connect through SSH and navigate, > Here where my information stops, > 2 questions, > 1) How do I have a list from few users to disallow them using SSH? > is there any where i add a user to disallow him from using SSH? man sshd_config and see AllowUsers/DenyUsers sections. > > 2) If I want to lock the user through his SSH session not FTP session > whats the way? >Is jail the only way? no easier way? chroot can do it? how if yes? or > whats the alternatives? > > Thank you guys for following up with me. > > Marwan Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd 5.3, gmirror raid 1, PROBLEM
sara lidgey wrote: > Hi, > > The machine won't boot from either drive connected as a master. I tried > them one at a time. I'm guessing I'll have to boot from a CD but don't know > the process. Any help is appreciated. > Thanks, > S. > Hmmm... I can only suggest using a livecd, for instance freesbie. Once you boot it, fsck(8) file systems on those hard drives. Maybe it's just some consistency problem. If you have a spare freebsd box, then you could try mounting those drives on it and poke around. Or, you could even chuck those drives into another box (one at a time), boot it up and see what happens (assuming your kernel is pretty much generic). That is just to rule out busted components on current box. There must be a proper and better way for doing this though. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: "Illegal instruction " while portupgrade
snnn wrote: > # portupgrade scim\* > [Updating the pkgdb in /var/db/pkg ... Illegal > instruction > > I cannot use "portupgrade" upgrade ports anymore. > > # portupgrade --version > portupgrade 2.0.1 > # ruby --version > ruby 1.8.4 (2005-12-24) [i386-freebsd6] > > Who can tell me why? > thanks Try this: pkgdb -F Maybe it'll help. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: modems
horn wrote: > Does FreeBSD support the modem-devices: > - D-Link DFM-562IS 56K > - CNet CN5614RV V.92 56K ? I don't think so. Those are winmodems with conexant chipset. As far as I'm concerned those are a no go. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/compatibility-networking.html#SUPPORT-WINMODEM Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: is vinum in FBSD 6.0?
Travis H. wrote: > I recently installed 6.0, and there doesn't seem to be a vinum binary. > > There is a gvinum binary, but it doesn't even implement all of the > commands in its own help screen. > > I'm somewhat confused. Did I screw up my install, or is this normal? > > Is there some kind of IP lawsuit over vinum or something? Hi, The following is an extract from: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-vinum.html [...] Note: Starting with FreeBSD 5, Vinum has been rewritten in order to fit into the GEOM architecture (Chapter 18), retaining the original ideas, terminology, and on-disk metadata. This rewrite is called gvinum (for GEOM vinum). The following text usually refers to Vinum as an abstract name, regardless of the implementation variant. Any command invocations should now be done using the gvinum command, and the name of the kernel module has been changed from vinum.ko to geom_vinum.ko, and all device nodes reside under /dev/gvinum instead of /dev/vinum. As of FreeBSD 6, the old Vinum implementation is no longer available in the code base. [...] Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: difference between deinstall and pkg_delete?
Jon Falconer wrote: > Greetings, > > I see in the man page for ports the following: > > reinstallUse this to restore a port after using pkg_delete(1) > when you should have used deinstall. > > So I'm wondering what is the difference between pkg_delete and using "make > deinstall" from within the ports directory? What does "make deinstall" do > that pkg_delete does not do? What does pkg_delete do that "make deinstall" > does not do? Hi, This will point you in the right direction: http://www.bsdforums.org/forums/archive/index.php/t-29467.html man pkg_delete man pkg_deinstall Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and newer HDD problems ?
Pavel Duda wrote: > Hello, > I've recently bought new big HDD (WDC RE, 320GB) and it looks like > FreeBSD has some troubles with it when trying to transfer files over > network. > > If I try to perform some "synthetic" test like 'dd if=/dev/zero > of=/wdc320/testfile' then I get some decent speeds about 40MB/s. When I > try to copy some big files from my older disk (IBM 40GB) I still have > write about 25-27MB/s. > > Problem comes when I try to copy something to disk over network (tried > samba, ftp) disk write speed is very low - about 5-6MB/s at max. > When testing this issue I've start 'systat -vmstat 1' and noticed that > my new disk is very busy (60-100%) and speed (MB/s) jumps up and down. > If I write files with 'dd' or transfer them from disk 2 disk then write > speed and disk load is almost constant (about 60%). When transfering > files over network to old HDD then disk load is low (40-50%) and speed > is constant (8-9MB/s). > > To be sure that disk it is not some kind of disk problem I've installed > Debian 3.1r2 with same version of samba and I get 9-11MB/s transfer > speeds (in both directions) !! > > Also it doesn't matter if I use transfer data over gigabit card or > 100mbit card. Results are similar. FreeBSD is in avarage very very slow > (3MB) while Debian works fine (10MB). Because my server is primarily > used for transfer files (Samba + PDC) it is crucial for me to have > highest transfer speeds possible and I'd like to stick with FreeBSD :-/. > > Does someone has any idea what could be wrong or how could I determine > what causes this problem ? > Hi, This effect is normal since you're transferring files over relatively slow network. The speed through 100Mb/s Ethernet will be around 5 or 6MB/s and probably you can't go any faster due to your hardware limitations (switch, cables, processor, controllers and especially their drivers). Currently there are a few active threads related to similar issues (controllers and their drivers). You might be interested in following them: http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123577.html http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123588.html http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123673.html Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to avoid recompiling applications?
Donald J. O'Neill wrote: > On Sunday 04 June 2006 12:19, Nikolas Britton wrote: >> On 6/4/06, Jonathan Horne <[EMAIL PROTECTED]> wrote: >>> so, could i theoretically use 'make reinstall' on a fresh system >>> where the port had never been previously installed? > > No, you can't. > >> Yes... but what's the point?... when you can make your own packages. >> instead of typing 'make install' type 'make package', this will spit >> out a .tbz file you can use with pkg_add etc... >> http://www.onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html > > Now, this is what I do, except do it "make package-recursive", that way > you get any packages that have been installed as requirements. > > Be sure to do "mkdir /usr/ports/packages", otherwise, the packages > you're making are going to be stored in the individual port. If you > have /usr/ports/packages, they'll be stored in one location that you > can copy elsewhere, cd or dvd for instance. You could also use pkg_create. man pkg_create Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and newer HDD problems ?
Pavel Duda wrote: >> >> Currently there are a few active threads related to similar issues >> (controllers and their drivers). You might be interested in following >> them: >> >> http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123577.html >> >> http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123588.html >> >> http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123673.html >> >> >> >> Cheers, >> Mikhail. >> > > Hmmm so how you explain that with Debian system on SAME machine I'm ABLE > to get transfer speeds about 10MB/s ?? Or do you mean I can't go faster > with FreeBSD and only solution is switch to Linux ?? I'd blame drivers. The other question I won't answer, but you might find explanation by following the threads I gave you. Apparently, there are some issues with some controllers and their drivers. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Removing Port Directories
Jacob Jennings wrote: > I was wondering if there is a way to remove unwanted port directories > such as /usr/ports/biology, /usr/ports/astro, etc. without the system > coughing a hairball, or could I just manually delete them with a "rm > -fR"? I guess you could. Make sure you don't re-fetch them when you cvsup port collection. For more info consult: /usr/share/examples/cvsup/ports-supfile You could also investigate /usr/ports/misc/porteasy Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: difference between deinstall and pkg_delete?
RW wrote: > On Friday 02 June 2006 08:53, Mikhail Goriachev wrote: >> Jon Falconer wrote: >>> Greetings, >>> >>> I see in the man page for ports the following: >>> >>> reinstallUse this to restore a port after using >>> pkg_delete(1) when you should have used deinstall. >>> >>> So I'm wondering what is the difference between pkg_delete and using >>> "make deinstall" from within the ports directory? What does "make >>> deinstall" do that pkg_delete does not do? What does pkg_delete do that >>> "make deinstall" does not do? >> Hi, >> >> This will point you in the right direction: >> >> http://www.bsdforums.org/forums/archive/index.php/t-29467.html > > Actually I think that points in wrong direction. There is a lot of > misinformation about this that is repeated ad-nauseum. > > Most ports use the standard deinstall target which calls pkg_delete; there is > only one port in the whole tree that defines it own deinstall target, and > that one installs its own versions of the pkg_* utilities. > > The port system uses a series of cookie files to keep track of what has been > done. For example if you type "make && make" the port will only build once, > because the first make sets the "build cookie". There is also an Install > cookie which leads to a problem when you go through the sequence > > make install > pkg_delete > make install > > because pkg_delete doesn't know about the port cookies. The deinstall and > reinstall targets both delete the cookie and so using one or the other avoids > the problem. > > In practice this is virtually a non-issue since most people, and all build > tools, will do a make clean at some point in the sequence. Right, so pkg_deinstall is the way to go then, isn't? Logically, there is a difference between pkg_delete and pkg_deinstall. Personally, I use the latter. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: difference between deinstall and pkg_delete?
RW wrote: > On Monday 05 June 2006 12:07, Mikhail Goriachev wrote: >> RW wrote: >>> On Friday 02 June 2006 08:53, Mikhail Goriachev wrote: >>>> Jon Falconer wrote: >>>>> Greetings, >>>>> >>>>> I see in the man page for ports the following: >>>>> >>>>> reinstallUse this to restore a port after using >>>>> pkg_delete(1) when you should have used deinstall. >>>>> >>>>> So I'm wondering what is the difference between pkg_delete and using >>>>> "make deinstall" from within the ports directory? What does "make >>>>> deinstall" do that pkg_delete does not do? What does pkg_delete do that >>>>> "make deinstall" does not do? >>>> Hi, >>>> >>>> This will point you in the right direction: >>>> >>>> http://www.bsdforums.org/forums/archive/index.php/t-29467.html >>> Actually I think that points in wrong direction. There is a lot of >>> misinformation about this that is repeated ad-nauseum. >>> >>> Most ports use the standard deinstall target which calls pkg_delete; >>> there is only one port in the whole tree that defines it own deinstall >>> target, and that one installs its own versions of the pkg_* utilities. >>> >>> The port system uses a series of cookie files to keep track of what has >>> been done. For example if you type "make && make" the port will only >>> build once, because the first make sets the "build cookie". There is also >>> an Install cookie which leads to a problem when you go through the >>> sequence >>> >>> make install >>> pkg_delete >>> make install >>> >>> because pkg_delete doesn't know about the port cookies. The deinstall and >>> reinstall targets both delete the cookie and so using one or the other >>> avoids the problem. >>> >>> In practice this is virtually a non-issue since most people, and all >>> build tools, will do a make clean at some point in the sequence. >> Right, so pkg_deinstall is the way to go then, isn't? Logically, there >> is a difference between pkg_delete and pkg_deinstall. Personally, I use >> the latter. > > The question was about the difference between "make deinstall" and pkg_delete. > > pkg_deinstall (installed by the portupgrade port) is simply a ruby wrapper > for pkg_delete that provides globbing and recursion. There is no particular > correpondence between pkg_deinstall and "make deinstall" except for the > similar name. Ah, now I see what you mean about cookies. I guess this is valid when you don't want to clean a port. In my case, I install and clean it right away... the cookie disappears in the process. make install clean pkg_deinstall make install clean Is this the only issue between pkg_delete and make deinstall? Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Weird apache problem
Derek Ragona wrote: > I just tried that page in firefox on a windows and it worked fine. > > You may have your firefox install foobar, and might want to uninstall > and reinstall it. > Same here. Loads fine on Mac's Firefox. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD 6.1-STABLE
John DeStefano wrote: > This body part will be downloaded on demand. > Remove unnecessary spaces from your httpd.conf: AddType application/x- httpd-php .php ^ AddType application/x- httpd-php-source .phps ^ Make sure you clear cache on your browser before you test. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD6.1-STABLE
usr/www >> ErrorLog /var/log/httpd-SiteA-error.log >> CustomLog /var/log/httpd-SiteA-access.log combined >> >> >> >> ServerName www.SiteB.com >> ServerAlias SiteB.com *.SiteB.com >> DocumentRoot /usr/www2 >> ErrorLog /var/log/httpd-SiteB-error.log >> CustomLog /var/log/httpd-SiteB-access.log combined >> >> >> So, what's happening is that SiteA works as expected, but browsing >> to >> SiteB brings you to SiteA, or doesn't load at all ("403" error). >> >> In addition, I'm back to my original problem, where PHP files are >> not >> loading, and browsing to a PHP page prompts the user to download the >> page as a file. >> >> Any help on either the virtual hosts or the PHP download issue would >> be greatly appreciated. >> I'm using Apache22 and PHP4. Haven't encountered any problems yet. You could try PHP4 and see how it goes. As stated above, "make config" and select apache module. Once you're up and running, you can troubleshoot your virtual hosts. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSd 6.1 hylafax and Acorp modem...
Casper wrote: > > Hi, > > I tryed to setup hylafax fax server with Acorp internal modem with > conexant-RH56D-PCI chip set. > > [...] > > > I`m in dead end with this modem? Hi, Conexant chips are winmodems. As far as I'm concerned they're a no go. For instance, Lucent LTs are supported through ports. I recommend finding real hardware-based internal modem or anything external with RS232 connection. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/compatibility-networking.html#SUPPORT-WINMODEM Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: burncd error
Josh Paetzel wrote: > I'm running 6.1-RELEASE > > Trying to burn iso's using burncd gives me an error. > > gimpy# burncd -f /dev/acd0 -s 48 data i386pkg-3.0.iso fixate > > next writeable LBA 0 > writing from file i386pkg-3.0.iso size 710566 KB > written this track 710566 KB (100%) total 710566 KB > fixating CD, please wait.. > burncd: ioctl(CDRIOCFIXATE): Input/output error > > The 'funny' thing about this is that the CDs I burn work fine. (I've > tried several different ISOs and have checked the md5's on all of > them.) > > Anyone have an idea of what is going on? I never tried to burn > anything with 6.0-RELEASE and it worked fine on 5.4-RELEASE > > dmesg is attached. Hi, Give it a go with cdrecord from cdrtools. /usr/ports/sysutils/cdrtools Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Need some help with PF rule letting two machines access each other
Pat Maddox wrote: > 12.34.56.78 runs a server on port 1234 > 87.65.43.21 should connect to this > > Both of them have PF rulesets that block off most traffic, keeping > open the publically available ports I need open. In this case though, > any traffic over this port should only be between these two machines. > I've tried to set this up, but I keep getting operation not permitted, > connection refused, and connection reset by peer errors. Thanks for > any info. Hi, This'll do: EIF=eif # external interface HOSTA=12.34.56.78 # host A HOSTB=87.65.43.21 # host B # These lines go on host A pass in quick on $EIF from $HOSTB to $EIF port 1234 pass out quick on $EIF from $EIF to $HOSTB port 1234 # These lines go on host B pass in quick on $EIF from $HOSTA to $EIF port 1234 pass out quick on $EIF from $EIF to $HOSTA port 1234 Put those lines somewhere at the beginning of your pf.conf files. Also, if I may add, this is very basic and you should consult/read/learn PF's guide. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Move hard drive
Darryl Hoar wrote: >> -Original Message- >> From: Kevin Kinsey [mailto:[EMAIL PROTECTED] >> Sent: Friday, June 09, 2006 1:29 PM >> To: [EMAIL PROTECTED] >> Cc: freebsd-questions@freebsd.org >> Subject: Re: Move hard drive >> >> >> Darryl Hoar wrote: >>> Greetings, >>> I am running FreeBSD 6.0 - release on a box. I have setup several >>> applications, etc. I did this on computer A. Computer B is a >>> production machine and didn't want it offline while I figured out >>> all the niggly bits. Can I take the SCSI disk from A and put in >>> in B ? I did not customize the kernel. >>> >> In addition to what Jerry mentioned, make sure that the >> /etc/fstab file is set up properly for the new machine; >> alternatively, make sure the drive is in the same logical >> location in the new machine (e.g., da0 on one should be >> da0 on the other). >> >> Otherwise, you end up in single user, or not booting >> at all. >> >> Kevin Kinsey >> > > what if the systems use different NIC's ? (one has integrated NIC on mobo, > the other has an add-in card. You'd have to change all your references to another host NIC in rc.conf, pf.conf, etc. Sort of like: ifconfig_rl0=... (computer B NIC rl0) Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portupgrade error
Aguiar Magalhaes wrote: > Hi list, > > I'm updating the Free 5.3 to Free 6.1. I've used the > sequence: > > cvsup -g -L 2 freebsd.sup > mergemaster -p > mergemaster > cd /usr/src > make buildworld > make installworld > cd /usr/src/sys/i386/conf > config MYKERNEL > make cleandepend > make depend > make > make install > make clean > > portupgrade -a -m BATCH=yes > > The portupgrade command doesn't work well (file > existent, rugby error, etc). Is the sequence ok ?? > Anything else ?? Hmm... your sequence is a bit weird. You should check: /usr/src/Makefile Also have a look at this: http://mikestammer.com/dokuwiki/doku.php?id=updateos Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"