Problem with ral wifi driver
You're here, great! I am new to this, so please bear with me ... I've been trying to set up this Ralink Technology RT2500, identifying as ral0 on my server so that my laptop can connect to it and the internet. My gateway and firewall (pf) settings are all OK, so we can skip those, because my setup worked with regular network interfaces before I bought the wireless one. I know the Prism chipsets are preferred over the Ralink ones, but I am currently out of cash. On my server, rl0 goes to my DHCP ADSL router whereas ral0 is suppose to be 192.168.0.1 and connect to my laptop, 192.168.0.2. This is how I tried setting it up: # ifconfig ral0inet 192.168.0.1 netmask 0xff00 \ mode 11b mediaopt adhoc ssid jah wepmode on wepkey 0x316e347465 The hex key here is correct, for 1n4te. I did a echo 1n4te | hexdump -C to get it. But when doing: # ifconfig ral0 wepmode on wepkey 0x316e347465 ifconfig: SIOCS80211: Invalid argument. The same goes for: # ifconfig ral0 wepmode on wepkey 12345 ifconfig: SIOCS80211: Invalid argument. When doing: ifconfig ral0 wepmode off Then my laptop can finally see my wireless network and ping my server. But that's it. # ifconfig ral0 ral0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::214:85ff:fe1b:cbdf%ral0 prefixlen 64 scopeid 0x2 ether 00:14:85:1b:cb:df media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps) status: no carrier ssid jah channel 14 authmode OPEN privacy ON deftxkey UNDEF txpowmax 100 protmode CTS bintval 100 # ifconfig ral0 list scan SSID BSSID CHAN RATE S:N INT CAPS belkin54g 00:11:50:1a:1b:6d 11 54M 49:0 100 E default 00:13:46:3e:5e:58 6 54M 39:0 100 EPSB I've added if_ral_load=YES to /boot/loader.conf. The wlan module has also been loaded. This thing here works in Windows. And apparently also in OpenBSD. That's reason for me not to give up. Please, somebody who knows what's going on, please get in touch! All the best, K. Vaar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Weird database error
Hello! I have a serious problem. I am running a regular FreeBSD 4.11 jail, under which I've installed mysql-client-5.0.16 and mysql-server-5.0.16 plus the PHP modules and extensions. I've created a database like this: CREATE DATABASE msc; GRANT USAGE ON msc.* TO [EMAIL PROTECTED] IDENTIFIED BY 'aheeem'; GRANT ALL ON msc.* TO [EMAIL PROTECTED]; and then proceeded to install WordPress (the publishing platform). The installation was flawless! Here's the actual problem. Every morning when I wake up, WordPress has an Error establishing the database connection. And that makes no sense, because I have not been messing with the database nor with WordPress. The database is still there. Now, the _strange_ thing is, that shortly after (from 5 to 15 minutes) I've logged onto my FreeBSD jail via SSH (and also mysql -u root -p to check if the database is still there), WordPress can mysteriously re-establish the database connection. That is, I just click Firefox's reload. What is going on ;) Thanks a lot, Kristian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Going from bind9 to djbdns
Hello! My friend, who hosts most of my stuff, is using djbdns. Probably for security and simplicity. Anyway I thought I'd do the same. But I'm having serious difficulties finding a user-friendly howto. I've basically picked stuff from here and there and put them together. Would this be what I need to set up a djbdns equivalent to http://www.home.no/hedhnta/namedb? -- Create users: tinydns axfrdns dnslog dnscache -- Run these commands: mkdir /etc/tinydns mkdir /etc/axfrdns mkdir /etc/dnslog mkdir /etc/dnscache mkdir /etc/dnscache/root mkdir /etc/dnscache/root/ip mkdir /etc/dnscache/root/servers Should the above directories be set as home for the users above? -- Continue with: dnscache-conf dnscache dnslog /etc/dnscache 127.0.0.1 touch /etc/dnscache/root/ip/192.168.187.1 touch /etc/dnscache/root/ip/192.168.187.2 echo 127.0.0.1 /etc/dnscache/root/servers/mydomain.lan echo 127.0.0.1 /etc/dnscache/root/servers/187.168.192.in-addr.arpa tinydns-conf tinydns dnslog /etc/tinydns 213.187.181.70 axfrdns-conf axfrdns dnslog /etc/axfrdns /etc/tinydns 213.187.181.70 ln -s /etc/dnscache /service ln -s /etc/tinydns /service svc -t /service/dnscache -- Would djbdns now have created this file for me? If so, can I skip this? If not, I take it I should: vim /etc/tinydns/data And type in: .mydomain.com::ns1.mydomain.com @mydomain.com::mail.mydomain.com =myhost.mydomain.com:213.181.112.43 +mail.mydomain.com:213.181.112.43 +www.mydomain.com:213.181.112.43 Then: cd /etc/tinydns make -- To allow my 213.181.102.23 to be ns2.mydomain.com, I must do this? vi /etc/axfrdns/tcp And then type in: 213.181.102.23:allow,AXFR=* I have a lot of domains. I want the ns2 to handle them all. Is the wildcard * valid, or should I list them all? Anyway: cd /etc/axfrdns make -- As for my zone files, I take it I could cram all my domains into the data file? How would that look? -- That's it. I'm hoping that once everything is up, my configuration will be stored in files that I can back up and easily redeploy incase of an accident (similar to my current namedb setup I posted above). Thank you all, and happy new year! Kristian Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The hardships of ownerships
Hello! I am trying to arrange my user database properly. I am having a hard time keeping /etc/master.passwd from vipw in sync with /etc/group. It's quite a mystery trying to make them function as one entity. Why are they seperated into two files anyway? My group file has tons of groups that aren't even in master.passwd. Then, let's say I want to arrange the GIDs from group to go chronologically. Giving each group the ID of the port its daemon may or may not run on, seems to me like something a kid would do when there's no cartoons on TV. And let's say I do that, and edit my master.passwd with vipw accordingly. Just because I am seeking order in my things, my entire system has to suffer and most ownerships will be broken. I guess what I am asking for is this: does anybody have a script that updates your system according to your need to clean up your system? Thank you all for your time. Kristian Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The hardships of ownerships
This is how I want my users layout to look like. Ofcourse I'm afraid to actually commit these changes, since I'm afraid my entire system will break. But there has to be a way to deal with this! # cat /etc/group (imaginary) nobody:*:5: wheel:*:0:root daemon:*:1: operator:*:2:root kmem:*:3: bin:*:4: tty:*:5: news:*:8: man:*:9: sshd:*:101: www:*:102: ftp:*:103: mysql:*:104: proxy:*:105: smmsp:*:106: mailnull:*:107: postfix:*:108: cyrus:*:109: spamd:*:110: vscan:*:111: clamav:*:112: tinydns:*:113: axfrdns:*:114: dnscache:*:115: dnslog:*:116: nomad:*:1002: polvott:*:1003: nughaud:*:1004: asphyx:*:1005: speak:*:1007: zarul:*:1008: sky:*:1009: spamd:*:58: indranil:*:1010: stila:*:1011: mats:*:1012: edgar:*:1014: holy5:*:1015: # cat /etc/master.passwd (imaginary) nobody:*:5:5::0:0:Unprivileged:/nonexistent:/usr/sbin/nologin root:$1$xsL49xbt$of5hvUCiVT/b/D3B70bZv1:0:0::0:0:Core:/root:/usr/local/bin/zsh (starts from 1) daemon:*:1:1::0:0:System processes:/root:/usr/sbin/nologin operator:*:2:2::0:0:Operator:/:/usr/sbin/nologin kmem:*:3:65533::0:0:KMem:/:/usr/sbin/nologin bin:*:4:4::0:0:Binaries:/:/usr/sbin/nologin tty:*:5:65533::0:0:Titty:/:/usr/sbin/nologin news:*:8:8::0:0:News:/:/usr/sbin/nologin man:*:9:9::0:0:Manuals:/usr/share/man:/usr/sbin/nologin (starts from 101) sshd:*:101:101::0:0:Secure Shell:/var/empty:/usr/sbin/nologin www:*:102:102::0:0:World Wide Web:/usr/local/www:/usr/sbin/nologin ftp:*:103:103::0:0:PureFTP:/home/websites:/usr/sbin/nologin mysql:*:104:104::0:0:MySQL:/var/db/mysql:/sbin/nologin proxy:*:105:105::0:0:Packet Filter:/nonexistent:/usr/sbin/nologin smmsp:*:106:106::0:0:Sendmail Submission:/var/spool/clientmqueue:/usr/sbin/nologin mailnull:*:107:107::0:0:Sendmail Default:/var/spool/mqueue:/usr/sbin/nologin postfix:*:108:108::0:0:Postfix:/var/spool/postfix:/usr/sbin/nologin cyrus:*:109:109::874400:0:Cyrus:/nonexistent:/usr/sbin/nologin spamd:*:110:110::0:0:SpamAssassin:/var/spool/spamd:/sbin/nologin vscan:*:111:111::0:0:Scanner:/var/amavis:/bin/sh clamav:*:112:112::0:0:ClamAV:/nonexistent:/usr/sbin/nologin tinydns:*:113:113::0:0:Tiny:/nonexistent:/usr/sbin/nologin axfrdns:*:114:114::0:0:A-Transfer:/nonexistent:/usr/sbin/nologin dnscache:*:115:115::0:0:Cache:/nonexistent:/usr/sbin/nologin dnslog:*:116:116::0:0:Logging:/nonexistent:/usr/sbin/nologin (starts from 1001) johann:*:1001:0::0:0:Johann:/home/johann:/usr/local/bin/zsh nomad:*:1002:1002::0:0:Hednod:/home/nomad:/usr/local/bin/zsh polvott:*:1003:1003::0:0:Thomas:/home/polvott:/usr/local/bin/zsh nughaud:*:1004:1004::0:0:King:/home/nughaud:/usr/local/bin/zsh asphyx:*:1005:1005::0:0:Matthew:/home/asphyx:/usr/local/bin/zsh speak:*:1007:1007::0:0:Poetry:/home/speak:/usr/local/bin/zsh zarul:*:1008:1008::0:0:Zarul:/home/zarul:/usr/local/bin/zsh sky:*:1009:1009::0:0:High:/home/sky:/usr/local/bin/zsh indranil:*:1010:1010::0:0:Troidus:/home/indranil:/usr/local/bin/zsh stila:*:1011:1011::0:0:Standup:/home/stila:/usr/local/bin/zsh mats:*:1012:1012::0:0:Kohler:/home/mats:/usr/local/bin/zsh cole:*:1013:1013::0:0:Cole:/home/cole:/usr/local/bin/zsh edgar:*:1014:1014::0:0:Otero:/home/edgar:/usr/local/bin/zsh holy5:*:1015:1015::0:0:Khanira:/home/holy5:/usr/local/bin/zsh I guess I'm a sucker for correctness ... All the best, Kristian Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The hardships of ownerships (part 3)
I cannot RE: my own e-mails? Strange ... Anyway, I had to correct these: -- daemon:*:1: operator:*:2:root kmem:*:3: bin:*:4: tty:*:5: news:*:6: man:*:7: -- daemon:*:1:1::0:0:System Processes:/root:/usr/sbin/nologin operator:*:2:2::0:0:Operator:/:/usr/sbin/nologin kmem:*:3:65533::0:0:KMem:/:/usr/sbin/nologin bin:*:4:4::0:0:Binaries:/:/usr/sbin/nologin tty:*:5:65533::0:0:Titty:/:/usr/sbin/nologin news:*:6:6::0:0:News:/:/usr/sbin/nologin man:*:7:7::0:0:Manuals:/usr/share/man:/usr/sbin/nologin -- Bye! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script(1) Why does it output in CR/LF?
At 16:05 28.02.2006, James Bailie wrote: Glenn Dawson wrote: At 02:30 AM 2/28/2006, Kristian Vaaf wrote: Hello. I am just curious why the files I generate with script(1) output in CR/LF forcing me to run dos2unix on them everytime? Script just captures the output of your shell, and your shell has to send crlf in order to get the cursor back to the beginning of a line. No it doesn't. The script(1) utility interposes a pseudo-terminal between the program whose output is to be captured and itself, so the program thinks its running on a terminal device and behaves accordingly. Then script(1) acts like a transparent filter, shuttling data back-and-forth from the actual terminal to the pseudo-terminal, while sending a copy of the program's output to the log file as well. It is the terminal driver in canonical mode, inside the pseudo-terminal, that is expanding NLs in the proggy's output stream into CRNL pairs. -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com Thank you man, that was a wonderful description :) The last question though, don't you find it the least bit stupid? Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Haven't been able to make world in about a year
At 17:21 28.02.2006, Donald J. O'Neill wrote: On Tuesday 28 February 2006 05:15, Kristian Vaaf wrote: Hello Don! Thank you for some good help. My make.conf only had some use.perl stuff. I added your flags. Also I've revised my sequence: cvsup -g -L 2 /etc/cvsupfile \ cd /usr/obj \ chflags -R noschg * \ rm -rf * \ cd /usr/src ; make clean \ make buildworld \ make buildkernel KERNCONF=NINJA \ make installkernel KERNCONF=NINJA \ make installworld \ mergemaster \ And am now ready to give it another go :) All the best, Vaaf Krisstian, There are some places in your sequence, that I think are going to give you trouble. DO NOT run this as a script, run script while you're doing it. I think you're misunderstanding some things, so, I give the procedure I use again with some comments about what is happening: cvsup -g -L 2 sup-src script /home/script/buildworld/bw-20060228 cd /usr/obj pwd /usr/obj this is confirmation I am where I want to be ls usrHey, there is something there chflags -R noschg * rm -rf * ls it's gone, great cd /usr/src pwd /usr/src I am where I want to be make cleandir whole bunch of action on the screen make cleandir run it again, yes you want to do that make buildworld make buildkernel KERNCONF=PRES1750-i386 make installkernel KERNCONF=PRES1750-i386 exit shut off script shutdown -r now at the boot menu, hit the 6 key you want to come up in single-user mode, not multi-user. If you make a mistake, reboot and do it right. If it went by too fast, use the spacebar to halt the boot process. 6 OK boot -s boots up but you're not done yet Enter full pathname of shell or RETURN for /bin/sh: Enter # fsck -p Enter # mount -u /Enter # mount -a -t ufs Enter # swapon -a Enter # script /home/script/buildworld/iw-20060228 # cd /usr/src # pwd am I where I want to be # /usr/src yes, I am # mergemaster -prun mergemaster in preinstall mode # make installworld hey, look at it go # mergemaster -i answer d to remove the old temporary directory, you don't need it anymore. answer i to everything mergemaster asks, I don't care that the recommedation is to handle it later, if you don't know what you're doing, doing anything other i is just likely to screw you up in ways you don't understand now, but you will later. # exit shutdown 'script' # shutdown -r now boot the system, come back up in multiuser mode. If you did everything right, you're done with the buildworld sequence. Again, DO NOT run this in a script. You're running the 'script' program. If you don't want to sit and watch this go on, do something else. It takes me about an hour and ten minutes to run it with an AMD64 3500+, with an amd-tbird (1.3Mhz), it takes about two hours, with a 500Mhz Pentium pIII, I run the buildworld and buildkernel part (and maybe the installkernel, usually not) overnight. I hope I caught you in time. Don Dear Don, Amazing build sequence you got there. The single user boot seems interesting, but is it really necessary? Isn't it just for temporary security reasons? I run the script to save time. Basically I'd run the exact same chain of commands otherwise. The computer I want to do this on is, by the way, a Pentium 120 :) Thanks man, Yes you did catch me in time, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Haven't been able to make world in about a year
Sorry sorry sorry, I am so very sorry. http://www.home.no/hedhnta/result.txt is indeed online now. Also, strangely, my other FreeBSD 5.4-STABLE box (I have two) also errors out on build world. Different error though. Please also see http://www.home.no/hedhnta/result_2.txt The file was originally 8MB or so, so I had to cut it down a little. Basically, what I really need to do (among all these brilliant tips and tricks I've received) is to run mergemaster before I start making? One question, however, is it possible to make mergemaster install new files automatically except the ones that I've edited? That is, the ones without a FreeBSD CVS $Id$ tag? Normally, or actually in all cases, I say yes to install newer versions of all files except the ones that are part of my custom configuration. Well, that's it. Again I'm sorry for standing you guys up with the upload. All the best, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: We want tu use your company name and logo
At 08:52 03.03.2006, Kris Kennaway wrote: On Thu, Mar 02, 2006 at 11:16:58PM -0500, Kevin Brunelle wrote: On Thursday 02 March 2006 15:56, Ercan Pamuk wrote: In our company we want to sell T-shirts,glasses,caps that are products of FreeBSD Linux which we give them system supporting in our company.We want to use Slackware FreeBSD Linux Logos Of all the spam, I think the FreeBSD Linux spam amuses me the most. If someone could find a better way to say I don't know anything about this at all but I think I do I would like to see it. Not just FreeBSD Linux, but Slackware FreeBSD Linux! Kris :O ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Users and groups properly organized?
Hello. Have you all ever had a look at your /etc/master.passwd and /etc/group? Stupid question. But notice the user and group identifications being thrown about as if they didn't matter. To me they do, and I would like some order in my system. Starting with my user and group identifications. Can I do something like this? find -s . -uid foo | xargs chown bar find -s . -gid foo | xargs chgrp bar To be able to arrange master.passwd like this, where UIDs and GIDs go by a chronological order? nobody:*:5:5::0:0:Unprivileged:/nonexistent:/usr/sbin/nologin root:$1$xsL49xbt$of5hvUCiVT/b/D3B70bZv1:0:0::0:0:Core:/root:/usr/local/bin/zsh daemon:*:1:1::0:0:System Processes:/root:/usr/sbin/nologin operator:*:2:2::0:0:Operator:/:/usr/sbin/nologin kmem:*:3:65533::0:0:KMem:/:/usr/sbin/nologin bin:*:4:4::0:0:Binaries:/:/usr/sbin/nologin tty:*:5:65533::0:0:Titty:/:/usr/sbin/nologin news:*:6:6::0:0:News:/:/usr/sbin/nologin man:*:7:7::0:0:Manuals:/usr/share/man:/usr/sbin/nologin sshd:*:101:101::0:0:Secure Shell:/var/empty:/usr/sbin/nologin www:*:102:102::0:0:World Wide Web:/usr/local/www:/usr/sbin/nologin ftp:*:103:103::0:0:File Transfer Protocol:/home/websites:/usr/sbin/nologin mysql:*:104:104::0:0:MySQL:/var/db/mysql:/sbin/nologin proxy:*:105:105::0:0:Packet Filter:/nonexistent:/usr/sbin/nologin smmsp:*:106:106::0:0:Sendmail Submission:/var/spool/clientmqueue:/usr/sbin/nologin mailnull:*:107:107::0:0:Sendmail Default:/var/spool/mqueue:/usr/sbin/nologin postfix:*:108:108::0:0:Postfix:/var/spool/postfix:/usr/sbin/nologin cyrus:*:109:109::874400:0:Cyrus:/nonexistent:/usr/sbin/nologin spamd:*:110:110::0:0:SpamAssassin:/var/spool/spamd:/sbin/nologin vscan:*:111:111::0:0:Scanner:/var/amavis:/bin/sh clamav:*:112:112::0:0:ClamAV:/nonexistent:/usr/sbin/nologin tinydns:*:113:113::0:0:TinyDNS:/nonexistent:/usr/sbin/nologin axfrdns:*:114:114::0:0:Transfers:/nonexistent:/usr/sbin/nologin dnscache:*:115:115::0:0:Cache:/nonexistent:/usr/sbin/nologin dnslog:*:116:116::0:0:Logging:/nonexistent:/usr/sbin/nologin vaaf:*:1001:0::0:0:Kristian:/home/vaaf:/usr/local/bin/zsh nomad:*:1002:1002::0:0:Hednod:/home/nomad:/usr/local/bin/zsh polvott:*:1003:1003::0:0:Thomas:/home/polvott:/usr/local/bin/zsh speak:*:1004:1004::0:0:Poetry:/home/speak:/usr/local/bin/zsh And groups equally: nobody:*:5: wheel:*:0:root daemon:*:1: operator:*:2:root kmem:*:3: bin:*:4: tty:*:5: news:*:6: man:*:7: sshd:*:101: www:*:102: ftp:*:103: mysql:*:104: proxy:*:105: smmsp:*:106: mailnull:*:107: postfix:*:108: cyrus:*:119: spamd:*:110: vscan:*:111: clamav:*:112: tinydns:*:113: axfrdns:*:114: dnscache:*:115: dnslog:*:116: nomad:*:1002: polvott:*:1003: speak:*:1004: And so on ... Maybe such order, harmony or balance or whatever will help boost system performance? Just a superstitious thought. Cheers! :) All the best, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SVIDEO with Intel 915
Hello. I got this laptop (AOpen 1559) running FreeBSD 6.0-STABLE. It uses the Intel 915 chipset for visuals. There seems to be an SVIDEO out on the laptop also. My question is then: Can I display my screen on my TV somehow? I do have an SVIDEO cable. I tried installing NVTV when I thought I was running an nVidia card. But that didn't work. People say this works on Windows. Doesn't it in FreeBSD? Thanks, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Haven't been able to make world in about a year
At 16:36 03.03.2006, Giorgos Keramidas wrote: On 2006-03-03 15:08, Kristian Vaaf [EMAIL PROTECTED] wrote: Sorry sorry sorry, I am so very sorry. http://www.home.no/hedhnta/result.txt is indeed online now. This doesn't look right. Are you sure your source tree is clean and up to date? As Donald has posted latter: On 2006-03-03 09:09, Donald J. O'Neill [EMAIL PROTECTED] wrote: Alright Kristian, why don't you post your supfile, make.conf, rc.conf, output of uname -a, a description of what equipment your doing this with, what you're trying to accomplish and why, what you're doing to make this come about, what you expected to happen, what did happen. How you're taking all the advice you've been given and bending it to suit yourself - which, I have to tell you, IS NOT WORKING, or you would be singing a different tune. Please post all the details Donald has requested. Sure thing! # cat /etc/cvsupfile *default host=cvsup.no.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_6 *default delete use-rel-suffix src-all ports-all tag=. doc-all tag=. # uname -a FreeBSD arba.domain.com 5.4-STABLE FreeBSD 5.4-STABLE #4: Wed Sep 21 01:34:15 CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ARBA i386 These apply to both the box that fails into result.txt (Intel Pentium 120MHz) and result_2.txt (Intel Pentium 4 3,2GHz). I am trying to upgrade these boxes. I expect things to work :) This is how I do it: cvsup -g -L 2 /etc/cvsupfile cd /usr/obj chflags -R noschg * rm -rf * cd /usr/src make clean make buildworld make buildkernel KERNCONF=ARBA make installkernel KERNCONF=ARBA make installworld mergemaster Hope that helps! All the best, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Haven't been able to make world in about a year
At 22:08 04.03.2006, Stijn Hoop wrote: On Sat, Mar 04, 2006 at 05:45:29PM +0100, Kristian Vaaf wrote: At 12:05 03.03.2006, Stijn Hoop wrote: On Fri, Mar 03, 2006 at 11:58:37AM +0100, Kristian Vaaf wrote: I run the script to save time. Basically I'd run the exact same chain of commands otherwise. You're missing the point: you'd run the exact same chain of commands -- _if everything goes according to plan_ -- What this list has been telling you is that it sometimes doesn't work like anyone expects to, and you need to make an informed decision about the next command to enter instead of having the script proceed. Whether I have my commands in my script or in my head doesn't make any difference. Yes I do read UPDATING and if I notice any changes they will be applied respectively. Err... Did you even read what I wrote? The moment one step does NOT work in the command sequence, you need to alter your next move. No script can be prepared for all the things that can happen. Which is why everyone is recommending you NOT to run things in a script. Also, please keep the mailing list in the loop, to help other people asking the same question. --Stijn -- If today is the first day of the rest of your life, what the hell was yesterday? I understand what you mean. What I'm saying is, I do not expect a script to be prepared. I am the one reading UPDATING and modifying the script if there is a change. Manually. Whether I write the sequence in the command line or into a script that I execute doesn't make no difference! What do you mean, mailing list in the loop? I need to write another mail for this thread now, but I should reply to the proper mail so I don't confuse you guys up. Hartelijk dank, Stijn! Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Haven't been able to make world in about a year
At 16:36 03.03.2006, Giorgos Keramidas wrote: On 2006-03-03 15:08, Kristian Vaaf [EMAIL PROTECTED] wrote: Sorry sorry sorry, I am so very sorry. http://www.home.no/hedhnta/result.txt is indeed online now. This doesn't look right. Are you sure your source tree is clean and up to date? As Donald has posted latter: On 2006-03-03 09:09, Donald J. O'Neill [EMAIL PROTECTED] wrote: Alright Kristian, why don't you post your supfile, make.conf, rc.conf, output of uname -a, a description of what equipment your doing this with, what you're trying to accomplish and why, what you're doing to make this come about, what you expected to happen, what did happen. How you're taking all the advice you've been given and bending it to suit yourself - which, I have to tell you, IS NOT WORKING, or you would be singing a different tune. Please post all the details Donald has requested. You all got the details I posted earlier? Alright, I just finished retrying the whole process after adding these lines to my /etc/make.conf: CFLAGS= -O2 -pipe COPTFLAGS= -O2 -pipe And there is no change, I still get: -- stage 2.3: build tools -- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj INSTALL=sh /usr/src/tools/install.sh PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/tmp MAKEFLAGS=-m /usr/src/tools/build/mk -m /usr/src/share/mk /usr/obj/usr/src/make.i386/make -f Makefile.inc1 DESTDIR= BOOTSTRAPPING=504100 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools === bin/csh (obj,build-tools) grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep '^#define' sh.err.h cc -E -O2 -pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh' -DHAVE_ICONV -I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/bin/csh/../../contrib/tcsh/tc.const.c /usr/src/bin/csh/../../contrib/tcsh/sh.char.h /usr/src/bin/csh/config.h /usr/src/bin/csh/../../contrib/tcsh/config_f.h /usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const | grep 'Char STR' | sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | sort tc.const.h In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:93, from /usr/src/bin/csh/../../contrib/tcsh/tc.const.c:33: /usr/include/wchar.h:33:18: cwchar: No such file or directory cc -o gethost -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2 -pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh' -DHAVE_ICONV -I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/bin/csh/../../contrib/tcsh/gethost.c In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:93, from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: /usr/include/wchar.h:33:18: cwchar: No such file or directory In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:93, from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: /usr/include/wchar.h:35: error: syntax error before std In file included from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: /usr/src/bin/csh/../../contrib/tcsh/sh.h:97: error: syntax error before eChar /usr/src/bin/csh/../../contrib/tcsh/sh.h:97: warning: data definition has no type or storage class In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:1304, from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: /usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:221: error: syntax error before readc /usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:221: warning: data definition has no type or storage class *** Error code 1 Stop in /usr/src/bin/csh. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Just to be clear, this is on the Pentium 120MHz, as I have a make buildworld problem on both of my FreeBSD 5.4-STABLE boxes. Good bye, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Haven't been able to make world in about a year
At 15:53 05.03.2006, Björn König wrote: Hello Kristian, the thread becomes larger and more complex for me. I'd like to see an updated output of the build on your Pentium 120 machine with the following prerequisites: * /etc/make.conf is empty (except comments and two lines for perl) * verify that grep '# $FreeBSD:' /usr/share/mk/sys.mk shows 1.80.2.1 * rm -Rf /usr/src rm -Rf /usr/obj cvsup /etc/cvsupfile If you diverge from one of these points (even in a minor detail) then tell me please. Now run cd /usr/src make _build-tools and show me the output please. Björn Hello Björn, I have tried an empty make.conf and a make.conf containing: CFLAGS= -O2 -pipe COPTFLAGS= -O2 -pipe Both did no good. Yes, I verify that grep '# $FreeBSD:' /usr/share/mk/sys.mk shows: # $FreeBSD: src/share/mk/sys.mk,v 1.80.2.1 2005/02/14 00:05:58 obrien Exp $ make: don't know how to make _build-tools. Stop That's it so far ... Thanks man. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Haven't been able to make world in about a year
At 15:57 05.03.2006, Giorgos Keramidas wrote: On 2006-03-05 14:38, Kristian Vaaf [EMAIL PROTECTED] wrote: At 16:36 03.03.2006, Giorgos Keramidas wrote: On 2006-03-03 15:08, Kristian Vaaf [EMAIL PROTECTED] wrote: Sorry sorry sorry, I am so very sorry. http://www.home.no/hedhnta/result.txt is indeed online now. This doesn't look right. Are you sure your source tree is clean and up to date? As Donald has posted latter: On 2006-03-03 09:09, Donald J. O'Neill [EMAIL PROTECTED] wrote: Alright Kristian, why don't you post your supfile, make.conf, rc.conf, output of uname -a, a description of what equipment your doing this with, what you're trying to accomplish and why, what you're doing to make this come about, what you expected to happen, what did happen. How you're taking all the advice you've been given and bending it to suit yourself - which, I have to tell you, IS NOT WORKING, or you would be singing a different tune. Please post all the details Donald has requested. Sure thing! # cat /etc/cvsupfile *default host=cvsup.no.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_6 *default delete use-rel-suffix src-all ports-all tag=. doc-all tag=. # uname -a FreeBSD arba.domain.com 5.4-STABLE FreeBSD 5.4-STABLE #4: Wed Sep 21 01:34:15 CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ARBA i386 These apply to both the box that fails into result.txt (Intel Pentium 120MHz) and result_2.txt (Intel Pentium 4 3,2GHz). I am trying to upgrade these boxes. I expect things to work :) This is how I do it: cvsup -g -L 2 /etc/cvsupfile cd /usr/obj chflags -R noschg * rm -rf * cd /usr/src make clean make buildworld make buildkernel KERNCONF=ARBA make installkernel KERNCONF=ARBA make installworld mergemaster Hope that helps! It doesn't, sorry. Donald has requested for: - your supfile - your make.conf file - your rc.conf file - the output of uname -a - a description of what equipment you are doing this with - what you're trying to accomplish and why - what you're doing to make this come about - what you expected to happen - what did happen You only gave: - your supfile - uname -a output - a set of wrong, incomplete commands that don't match what others have suggested so far There's still a fair amount of information missing from this, so it's not easy for anyone to help you. Unless, of course, you don't really want to be helped :-/ My apologies. I might have accidentally deleted some e-mails, I haven't yet had time to figure out how to sort mailinglists in Eudora. # cat /etc/rc.conf hostname=arba.domain.com defaultrouter=213.187.145.21 ifconfig_rl0=inet 213.187.145.22 ifconfig_ep0=inet 192.168.187.1 gateway_enable=YES pf_enable=YES pflog_enable=YES named_enable=YES sshd_enable=YES apache2_enable=YES sendmail_enable=YES sendmail_flags=-bd sendmail_outbound_enable=NO sendmail_submit_enable=NO sendmail_msp_queue_enable=NO courier_imap_imapd_enable=YES courier_imap_imapd_ssl_enable=YES courier_imap_pop3d_enable=YES courier_imap_pop3d_ssl_enable=YES saslauthd_enable=YES mysql_enable=NO ntpdate_enable=YES ntpdate_flags=ntp.uio.no inetd_enable=YES snort_enable=YES nessusd_enable=YES kern_securelevel_enable=YES kern_securelevel=-1 keymap=norwegian.iso saver=green cursor=destructive clear_tmp_enable=YES linux_enable=YES update_motd=NO # dmesg Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-STABLE #4: Wed Sep 21 01:34:15 CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ARBA Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Pentium/P54C (119.75-MHz 586-class CPU) Origin = GenuineIntel Id = 0x52c Stepping = 12 Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8 real memory = 100663296 (96 MB) avail memory = 93032448 (88 MB) Intel Pentium detected, installing workaround for F00F bug npx0: math processor on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: Host to PCI bridge pcibus 0 on motherboard pci0: PCI bus on pcib0 isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 pci0: display, VGA at device 8.0 (no driver attached) rl0: RealTek 8139 10/100BaseTX port 0xf800-0xf8ff mem 0xfffbfc00-0xfffbfcff irq 11 at device 17.0 on pci0 miibus0: MII bus on rl0 rlphy0: RealTek internal media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:40:f4:3d:a7:42 pci0: display, VGA at device 19.0 (no driver attached) orm0: ISA Option ROMs at iomem 0xed000-0xedfff,0xc-0xc7fff on isa0 ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0 ata1 at port 0x376,0x170-0x177 irq 15 on isa0 atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: Enhanced floppy controller at port
Trying to patch a beautiful desktop
Hello! I've done some research on how to make ones desktop look the best, without being too bloated in terms of looks and functionality but still classify as good design and give users a smooth experience. I've found that if done correctly, Openbox together with Gnome can look pretty darn nice. I've found some nice themes for Openbox as well as GTK 1 and 2, however the Openbox code needs some patching. There already is a patch, but having the obsessive compulsive disorder, I want the patch file to also look good. After I edited it, it wouldn't work. No matter what line/character coordinates I typed in for the @@ lines. I also assume it's unnecessary, at least it ought to be, including lines other than + and - unless they serve a purpose. Would anybody mind having a look at patch_new.diff compared to the patch_old.diff in http://www.home.no/hedhnta/openbox.tgz and tell me how to succeed in only including what is absolutely necessary into this patch file -- in a way that works? The file also include the theme files, that together with a proper iconset would look terribly stunning. I haven't gotten to the icons yet though, since customize.org seems to be down. Thanks all, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trying to patch a beautiful desktop
At 10:22 08.03.2006, Giorgos Keramidas wrote: On 2006-03-08 05:34, Kristian Vaaf [EMAIL PROTECTED] wrote: Hello! I've done some research on how to make ones desktop look the best, without being too bloated in terms of looks and functionality but still classify as good design and give users a smooth experience. I've found that if done correctly, Openbox together with Gnome can look pretty darn nice. I've found some nice themes for Openbox as well as GTK 1 and 2, however the Openbox code needs some patching. There already is a patch, but having the obsessive compulsive disorder, I want the patch file to also look good. After I edited it, it wouldn't work. No matter what line/character coordinates I typed in for the @@ lines. I also assume it's unnecessary, at least it ought to be, including lines other than + and - unless they serve a purpose. You're going backwards. The proper way of generating a patch is not by manually editing a file. Extract the original source tree, copy it to a 'clean' place, make your changes and use diff(1) to generate the patch. - Giorgos I know, but I need to do it this way. How may I learn more about the .diff format? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Open Source and 3rd world countries
Hey! I'm writing this thesis on the benefits of integrating open source software into third world countries to boost their economies and the knowledge of their people. I will also write about a detailed scenario, where, ofcourse, FreeBSD plays the lead role. However I can't find all that much information on Google. I think the material I'm looking for doesn't exist as articles on websites but rather documents. Would anyone mind giving me a few pointers? All the best, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Let's make a FreeBSD ports blog! CCCCOOOL =)
Hey! There are about 10.000 ports, am I right? Not all FreeBSD users have the time to go through all of the package descriptions. But definitely all FreeBSD users have their share of favorite ports, and are interested in finding new ports that may compliment their lives. Not is the ports collection already too big for the average human intellect. It also continues to span. New programs appear on a daily basis, however there's nothing to grasp their presence and determine their quality I see this as a chance to promote FreeBSD to desktop users, which is what this project lacks. It has everything to make it superior to all the other open source operating systems, but nothing to really let it out in the open. Imagine a FreeBSD ports blog that tries to gather data on the most popular ports, sorted by ratings, downloads etc. In addition, it posts articles every now and then telling people about recent discoveries made among all the 10.000 ports. This could be a great thing! I am aware of freshports.org, this would be totally different. I know a thing or two about design, and could make the site look something like lounge72.com or linkdup.com. I have high speed hosting all standing by. A splendid name for it as well :D So, who's game? :) All the best, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Won't build. 5.4 to 6.0 ...
Can somebody please help me? I've been trying ever since 6.0-RELEASE to upgrade my 5.4-STABLE. -- stage 2.3: build tools -- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj INSTALL=sh /usr/src/tools/install.sh PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/tmp MAKEFLAGS=-m /usr/src/tools/build/mk -m /usr/src/share/mk /usr/obj/usr/src/make.i386/make -f Makefile.inc1 DESTDIR= BOOTSTRAPPING=504100 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools === bin/csh (obj,build-tools) grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep '^#define' sh.err.h cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh' -I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/bin/csh/../../contrib/tcsh/tc.const.c /usr/src/bin/csh/../../contrib/tcsh/sh.char.h /usr/src/bin/csh/config.h /usr/src/bin/csh/../../contrib/tcsh/config_f.h /usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const | grep 'Char STR' | sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | sort tc.const.h In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:93, from /usr/src/bin/csh/../../contrib/tcsh/tc.const.c:33: /usr/include/wchar.h:33:18: cwchar: No such file or directory cc -o gethost -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh' -I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/bin/csh/../../contrib/tcsh/gethost.c In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:93, from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: /usr/include/wchar.h:33:18: cwchar: No such file or directory In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:93, from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: /usr/include/wchar.h:35: error: syntax error before std In file included from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: /usr/src/bin/csh/../../contrib/tcsh/sh.h:97: error: syntax error before eChar /usr/src/bin/csh/../../contrib/tcsh/sh.h:97: warning: data definition has no type or storage class In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:1304, from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: /usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:221: error: syntax error before readc /usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:221: warning: data definition has no type or storage class *** Error code 1 Stop in /usr/src/bin/csh. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Thanks, Kristian Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to convert BIND to TinyDNS?
Hello! I am trying to provide the administrator of my upcoming NS2 with my zonefiles in the TinyDNS format. But I am having some trouble comprehending its format. Perhaps the simplicity got to me. Here is my BIND setup: http://www.home.no/hedhnta/namedb Here is my imagined TinyDNS equivalent, written as simply as possible: +mydomain.com::* +ns1.mydomain.com:213.187.112.70 +ns2.mydomain.com:217.155.55.77 +ns3.mydomain.com:208.139.133.90 @mydomain.com::ninja +ninja.mydomain.lan:192.168.187.1 +halim.mydomain.lan:192.168.187.2 +domain1.com::* +domain2.com::* +domain3.com::* +domain4.com::* +domain5.com::* I have googled like crazy to find a decent script to do this conversion for me. This was all I found, and it didn't go too well: ./bind-to-tinydns example.com output output.tmp db.erralionic.com warning: line 8: ignoring out-of-zone data fatal: line 16: RR tried to inherit owner from previous record, but there was no previous RR Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RE: How to convert BIND to TinyDNS?
You got some messed up spaces, or maybe it's me? Anyway. I totally agree to what you're saying. I am running BIND myself and I am not changing. But this person who manages my upcoming NS2, he is the one running TinyDNS, and he is among the smartest software developers I know of, so his reason to use TinyDNS is not to be questioned. Thank you. - Original Message - From: Ted Mittelstaedt [EMAIL PROTECTED] Date: Saturday, December 31, 2005 1:37 pm Subject: RE: How to convert BIND to TinyDNS? Why are you bothering? TinyDNS isn't the standard nameserver that everyone and their dog has been using for time out of mind. The peoplethat push it seem to like it because it's simpler, that is all well and good but you still have to live in the world where everyone else uses The Big B, so I think the onus is on the TinyDNS people to understand what the defacto standard is, not the other way around. If I want to ride a motorcycle on the road I have to understand the lawsthat govern cars, but car drivers don't have to understand the laws that covermotorcyclists. That is the penalty you pay for being in a minority, too bad, so sad, but the world doesen't give you any sympathy, so why are you? If you have a situation where you have an inexperienced person that is supposed to be administering the zone files, and you don't trust him, then load webmin and have them use that. The bind config module in webmin is very good, we have been using it for years. In fact I strongly recommend against editing the zone files by hand, since formatting errors can makenamed act very funny. Ted -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] Behalf Of Kristian Vaaf Sent: Saturday, December 31, 2005 4:10 AM To: [EMAIL PROTECTED] Subject: How to convert BIND to TinyDNS? Hello! I am trying to provide the administrator of my upcoming NS2 with my zonefiles in the TinyDNS format. But I am having some trouble comprehending its format. Perhaps the simplicity got to me. Here is my BIND setup: http://www.home.no/hedhnta/namedb Here is my imagined TinyDNS equivalent, written as simply as possible: +mydomain.com::* +ns1.mydomain.com:213.187.112.70 +ns2.mydomain.com:217.155.55.77 +ns3.mydomain.com:208.139.133.90 @mydomain.com::ninja +ninja.mydomain.lan:192.168.187.1 +halim.mydomain.lan:192.168.187.2 +domain1.com::* +domain2.com::* +domain3.com::* +domain4.com::* +domain5.com::* I have googled like crazy to find a decent script to do this conversion for me. This was all I found, and it didn't go too well: ./bind-to-tinydns example.com output output.tmp db.erralionic.com warning: line 8: ignoring out-of-zone data fatal: line 16: RR tried to inherit owner from previous record, but there was no previous RR Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RE: How to convert BIND to TinyDNS?
- Original Message - From: James Long [EMAIL PROTECTED] Date: Sunday, January 1, 2006 6:14 am Subject: Re: RE: How to convert BIND to TinyDNS? Message: 9 Date: Sat, 31 Dec 2005 15:42:50 +0100 From: Kristian Vaaf [EMAIL PROTECTED] Subject: Re: RE: How to convert BIND to TinyDNS? To: Ted Mittelstaedt [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii You got some messed up spaces, or maybe it's me? Anyway. I totally agree to what you're saying. I am running BIND myself and I am not changing. But this person who manages my upcoming NS2, he is the one running TinyDNS, and he is among the smartest software developers I know of, so his reason to use TinyDNS is not to be questioned. Thank you. If we can't question his reasons, how about his ability? If one of the smartest software developers you know doesn't know how to do a zone transfer and write a shell script to massage the text file into whatever form the software of his choice requires, then I think you need to get out and meet more software develpers. I regret where this whole thread is going. I asked for help. What I got instead was a lot of empty talk on why I should or should not ask for help. That is pathetic. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need to simplify a script that makes cool trees
Hello! This script produces a real sweet file and directory tree. I am trying to simplify this -- it is too big for its own good. I must remove all the bullshit but the -a switch. And I'm sure the same thing could be accomplished in just a few lines. Here is what it does: # fs-tree # /usr/home/vaaf/mp3/out +-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd +-bugz_in_the_attic-booty_la_la-mystery_and_matt_early_remix-vinyl-2005-mtc +-chris_cox-live_from_park_pavilion_atlanta-sat-01-01-2006-hsalive # fs-tree -a # /usr/home/vaaf/mp3/out +-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd | +-00-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd.m3u | +-00-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd.nfo | +-00-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd.sfv And so forth. Here is the original script: #!/bin/sh # # Read a directory or file list,then write a tree. # $URBAN: fs-tree.sh,v 1.0 2005/10/24 15:05:09 vaaf Exp $ # # -a, --all Prints all files, not just directories. # -h, --help Prints usage information. # -l, --list Reads a list of files from stdin. # -v, --version Print the version and exit. # PATH=/bin:/usr/sbin:/usr/bin:/usr/local/bin export PATH umask 022 tag=`basename $0` # *** Functions # # die: prints an optional argument to stderr and exits. # warn: prints an optional argument to stderr. # # A common use for die is with a test: # # test -f /etc/passwd || die No password file. # # This works in subshells and loops, # but may not exit with a code other than 0. # die () { echo $tag: Error: $* 12 exit 1 } # *** Usage # # Prints an optional string plus part of the comment header # (if any) to stderr, and exits with code 1. # usage () { lines=`egrep -n '^# (NAME|AUTHOR)' $0 | sed -e 's/:.*//'` ( case $# in 0) ;; *) echo Usage error: $*; echo ;; esac case $lines in ) ;; *) set `echo $lines | sed -e 's/ /,/'` sed -n ${1}p $0 | sed -e 's/^#//g' | egrep -v AUTHOR: ;; esac ) 12 exit 1 } # *** Version # # Prints the current version to stdout. # version () { lsedscr='s/RCSfile: // s/.Date: // s/,v . .Revision: / v/ s/\$//g' lrevno='$RCSfile: fs-tree.sh,v $ $Revision: 1.0 $' lrevdate='$Date: 2005/09/09 01:17:30 $' echo $lrevno $lrevdate | sed -e $lsedscr exit 0 } # *** mktree # # Sort the file information properly. # mktree () { scr=' s,^.$,, /^$/d s,[^/]*/\([^/]*\)$,+-\1, s,[^/]*/,| ,g' tr '/' '\001' | sort -f | tr '\001' '/' | sed -e $scr } # *** Main program defaults # ac_help= ac_prev= ac_invalid=Invalid option; use --help to show usage argv= # *** Initialize some variables set by options. # all=no list=no fopt=-type d for ac_option; do # *** If the previous option needs an argument, assign it. # case $ac_prev in ) ;; *) eval $ac_prev=\$ac_option; ac_prev=; continue ;; esac case $ac_option in -*=*) ac_optarg=`echo $ac_option | sed 's/[-_a-zA-Z0-9]*=//'` ;; *) ac_optarg= ;; esac # *** Main switch # case $ac_option in -a | -all | --all | --al | --a) all=yes; fopt= ;; -h | -help | --help | --hel | --he) usage ;; -l | -list | --list | --lis | --li | --l) list=yes ;; -v | -version | --version | --versio | --versi | --vers) version ;; -*) die $ac_option: $ac_invalid ;; *) argv=$argv $ac_option ;; esac done case $ac_prev in ) ;; *) die Missing argument to --`echo $ac_prev | sed 's/_/-/g'` ;; esac # *** Real work starts here. # Test for specific features. # case $argv in ) case $list in yes) top= ;; # Sort reads stdin. *) top=. ;; esac ;; *) top=$argv ;; esac # *** Print the directory tree. # case $list in no) test -d $top || die $top: not a directory cd $top; pwd; find . $fopt -print | mktree ;; yes) mktree $top ;; esac exit 0 -- And here is my attempt to simplify it. Now, mind you that this doesn't even work! #!/bin/sh # # Read a directory or file list, then write a tree. # $URBAN: fs-tree.sh,v 1.0 2005/10/24 15:05:09 vaaf Exp $ # # Print files in addition to directories: -a # tree() { do=`tr
Re: good blogging port?
www.textpattern.com -- by far the best CMS. - Original Message - From: Michael P. Soulier [EMAIL PROTECTED] Date: Saturday, January 7, 2006 7:31 pm Subject: Re: good blogging port? On 1/7/06, Jeff D. Hamann [EMAIL PROTECTED] wrote: I need to start a blog. does anyone have any recommendations for a blogging tools from the ports collection? Preferrably one I can hook up to php and postgresql... I use Wordpress. It's PHP and Mysql. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction.--Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need to simplify a script that makes cool trees
Here's the latest addition. Just to give you an idea of what simplicity I'm aiming towards. Still doesn't work though. #!/bin/sh # # Read a directory or file list, then write a tree. # $URBAN: fs-tree.sh,v 1.0 2005/10/24 15:05:09 vaaf Exp $ # # Print files in addition to directories: -a # tree=`sed -e 's,^.$,,' \ -e '/^$/d' \ -e 's,[^/]*/\([^/]*\)$,+-\1,' \ -e 's,[^/]*/,| ,g'` cd $1 all=-type d while [ $# -gt 0 ]; do case $1 in -a) all= ;; esac; shift; done find . $all -print | tr '/' '\001' | sort -f | tr '\001' '/' | $tree - Original Message - From: Kristian Vaaf [EMAIL PROTECTED] Date: Saturday, January 7, 2006 7:14 pm Subject: Need to simplify a script that makes cool trees Hello! This script produces a real sweet file and directory tree. I am trying to simplify this -- it is too big for its own good. I must remove all the bullshit but the -a switch. And I'm sure the same thing could be accomplished in just a few lines. Here is what it does: # fs-tree # /usr/home/vaaf/mp3/out +-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd +-bugz_in_the_attic-booty_la_la-mystery_and_matt_early_remix- vinyl-2005-mtc +-chris_cox-live_from_park_pavilion_atlanta-sat-01-01-2006-hsalive # fs-tree -a # /usr/home/vaaf/mp3/out +-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd | +-00-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd.m3u | +-00-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd.nfo | +-00-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd.sfv And so forth. Here is the original script: #!/bin/sh # # Read a directory or file list,then write a tree. # $URBAN: fs-tree.sh,v 1.0 2005/10/24 15:05:09 vaaf Exp $ # # -a, --all Prints all files, not just directories. # -h, --help Prints usage information. # -l, --list Reads a list of files from stdin. # -v, --version Print the version and exit. # PATH=/bin:/usr/sbin:/usr/bin:/usr/local/bin export PATH umask 022 tag=`basename $0` # *** Functions # # die: prints an optional argument to stderr and exits. # warn: prints an optional argument to stderr. # # A common use for die is with a test: # # test -f /etc/passwd || die No password file. # # This works in subshells and loops, # but may not exit with a code other than 0. # die () { echo $tag: Error: $* 12 exit 1 } # *** Usage # # Prints an optional string plus part of the comment header # (if any) to stderr, and exits with code 1. # usage () { lines=`egrep -n '^# (NAME|AUTHOR)' $0 | sed -e 's/:.*//'` ( case $# in 0) ;; *) echo Usage error: $*; echo ;; esac case $lines in ) ;; *) set `echo $lines | sed -e 's/ /,/'` sed -n ${1}p $0 | sed -e 's/^#//g' | egrep -v AUTHOR: ;; esac ) 12 exit 1 } # *** Version # # Prints the current version to stdout. # version () { lsedscr='s/RCSfile: // s/.Date: // s/,v . .Revision: / v/ s/\$//g' lrevno='$RCSfile: fs-tree.sh,v $ $Revision: 1.0 $' lrevdate='$Date: 2005/09/09 01:17:30 $' echo $lrevno $lrevdate | sed -e $lsedscr exit 0 } # *** mktree # # Sort the file information properly. # mktree () { scr=' s,^.$,, /^$/d s,[^/]*/\([^/]*\)$,+-\1, s,[^/]*/,| ,g' tr '/' '\001' | sort -f | tr '\001' '/' | sed -e $scr } # *** Main program defaults # ac_help= ac_prev= ac_invalid=Invalid option; use --help to show usage argv= # *** Initialize some variables set by options. # all=no list=no fopt=-type d for ac_option; do # *** If the previous option needs an argument, assign it. # case $ac_prev in ) ;; *) eval $ac_prev=\$ac_option; ac_prev=; continue ;; esac case $ac_option in -*=*) ac_optarg=`echo $ac_option | sed 's/[-_a-zA-Z0-9]*=//'` ;; *) ac_optarg= ;; esac # *** Main switch # case $ac_option in -a | -all | --all | --al | --a) all=yes; fopt= ;; -h | -help | --help | --hel | --he) usage ;; -l | -list | --list | --lis | --li | --l) list=yes ;; -v | -version | --version | --versio | --versi | --vers) version ;; -*) die $ac_option: $ac_invalid ;; *) argv=$argv $ac_option ;; esac done case $ac_prev in ) ;; *) die
My script to replace strings in ASCII files
Hello! Just curious, what do I need to do to be able to execute this script like: $ text-replace old_string new_string I find it a bit inconvenient having to edit the script for every thing I need to replace. Thanks, Kristian #!/usr/local/bin/bash # # Replace old with new inside all text files. # $URBAN: text-replace.sh,v 1.0 2005/10/24 15:09:05 vaaf Exp $ # for file in `find . -type f ! -name .*`; do if [ `file -b $file | grep text` != ]; then sed -i '' s/old/new/g $file echo $file: Done fi done ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: My script to replace strings in ASCII files
You have been very helpful! I am glad people like you exist to educate those who cannot afford education. All the best in the future, Kristian Vaaf - Original Message - From: Giorgos Keramidas [EMAIL PROTECTED] Date: Thursday, January 12, 2006 2:01 pm Subject: Re: My script to replace strings in ASCII files On 2006-01-11 21:40, lars [EMAIL PROTECTED] wrote: Kristian Vaaf wrote: Just curious, what do I need to do to be able to execute this script like: $ text-replace old_string new_string I find it a bit inconvenient having to edit the script for every thing I need to replace. It is. You should start using $1, $2, ... for options. #!/usr/local/bin/bash # # Replace old with new inside all text files. # $URBAN: text-replace.sh,v 1.0 2005/10/24 15:09:05 vaaf Exp $ # for file in `find . -type f ! -name .*`; do if [ `file -b $file | grep text` != ]; then sed -i '' s/old/new/g $file echo $file: Done fi done Why not open the file with vim and then :.,$s/old/new/ Heh, that's nice, and it may even work with multiple files using vim's -c option in a way similar to sed(1): vim -c ':%s/old/new/' file Of course that's not scriptable... Using the -c option shown above, it may be scriptable too :) Maybe you should interpolate the first and the second argument into your regexes in the substitution with sed, so you get s/argument1/argument2/ Perl might help though. This opens a whole can of worms though. What if the user defined command-line parameters contain special characters (i.e. single quote, double quotes, etc.)? Instead of having to go through all the hoops of parsing quotes and other special characters in a shell script, and then invoking sed on each file, passing one file at a time, I prefer using in place editing: $ grep emacs .bashrc export EDITOR='nemacs' alias emacs='nemacs' $ perl -pi -e s/'nemacs'/'emacs'/g .bashrc $ grep emacs .bashrc export EDITOR='emacs' alias emacs='emacs' $ perl -pi -e s/'emacs'/'nemacs'/g .bashrc $ grep emacs .bashrc export EDITOR='nemacs' alias emacs='nemacs' $ The number of files passed as 'extra' arguments to perl in this case is only limited by the amount of text that can fit in a single command-line, and if that's not enough you can use xargs(1) to work around the limit: find . -type f -name \*foo\* | xargs perl -pi -e s/old/new/g So, there's no need to write special shell scripts to do this :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Script to lock the state of my MP3 files
Hello! I use this script to generate simple verification files (SFV) and MP3 playlist files (M3U) based on the info file (NFO) that I create for every album that I digitalize. If this is an album: ./dj_antoine-arabian_adventure-sessp010-vinyl-2005: 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.nfo 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005-cover.jpg a1-dj_antoine-arabian_adventure_2-original_mix.mp3 b1-dj_antoine-arabian_adventure_2-chriss_ortega_and_thomas_gold_vocal_mix.mp3 b2-dj_antoine-arabian_adventure_2-chriss_ortega_and_thomas_gold_dub_mix.mp3 Then the script makes it into: ./dj_antoine-arabian_adventure-sessp010-vinyl-2005: 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.m3u 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.nfo 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.sfv 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005-cover.jpg a1-dj_antoine-arabian_adventure_2-original_mix.mp3 b1-dj_antoine-arabian_adventure_2-chriss_ortega_and_thomas_gold_vocal_mix.mp3 b2-dj_antoine-arabian_adventure_2-chriss_ortega_and_thomas_gold_dub_mix.mp3 My script is made for regular sh though. If it were to be bashed -- how would it look like? #!/bin/sh # # Generate SFV and M3U files for MP3 albums. # $URBAN: mp3_archive.sh,v 1.0 2005/10/24 15:09:05 vaaf Exp $ # for file in `find $(pwd) -name \*.nfo`; do directory=`dirname ${file}` prefix=`basename ${file} | sed 's/.nfo//g'` current=`basename ${directory}` sfv=${directory}/${prefix}.sfv m3u=${directory}/${prefix}.m3u cd ${directory} rm -f *.sfv; rm -f *.m3u touch ${sfv}; cfv -Cq *.mp3 cat ${current}.sfv | awk '! /^;/' ${sfv} rm -f ${current}.sfv for mp3 in *.mp3; do echo ${mp3} ${m3u}; done echo $current: Done done Thanks guys, Kristian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Script to lock the state of my MP3 files
- Original Message - From: pete wright [EMAIL PROTECTED] Date: Friday, January 13, 2006 10:37 pm Subject: Re: Script to lock the state of my MP3 files On 1/13/06, Kristian Vaaf [EMAIL PROTECTED] wrote: Hello! I use this script to generate simple verification files (SFV) and MP3 playlist files (M3U) based on the info file (NFO) that I create for every album that I digitalize. If this is an album: ./dj_antoine-arabian_adventure-sessp010-vinyl-2005: 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.nfo 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005-cover.jpg a1-dj_antoine-arabian_adventure_2-original_mix.mp3 b1-dj_antoine-arabian_adventure_2- chriss_ortega_and_thomas_gold_vocal_mix.mp3 b2-dj_antoine- arabian_adventure_2-chriss_ortega_and_thomas_gold_dub_mix.mp3 Then the script makes it into: ./dj_antoine-arabian_adventure-sessp010-vinyl-2005: 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.m3u 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.nfo 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.sfv 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005-cover.jpg a1-dj_antoine-arabian_adventure_2-original_mix.mp3 b1-dj_antoine-arabian_adventure_2- chriss_ortega_and_thomas_gold_vocal_mix.mp3 b2-dj_antoine- arabian_adventure_2-chriss_ortega_and_thomas_gold_dub_mix.mp3 My script is made for regular sh though. If it were to be bashed -- how would it look like? should be the same syntax for sh and bash as bash is a decendant of sh. i would keep the #! line /bin/sh as this will make the script more portable. -pete #!/bin/sh # # Generate SFV and M3U files for MP3 albums. # $URBAN: mp3_archive.sh,v 1.0 2005/10/24 15:09:05 vaaf Exp $ # for file in `find $(pwd) -name \*.nfo`; do directory=`dirname ${file}` prefix=`basename ${file} | sed 's/.nfo//g'` current=`basename ${directory}` sfv=${directory}/${prefix}.sfv m3u=${directory}/${prefix}.m3u cd ${directory} rm -f *.sfv; rm -f *.m3u touch ${sfv}; cfv -Cq *.mp3 cat ${current}.sfv | awk '! /^;/' ${sfv} rm -f ${current}.sfv for mp3 in *.mp3; do echo ${mp3} ${m3u}; done echo $current: Done done Thanks guys, Kristian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group Thanks! Kristian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Script to generate names
Hello. I'm looking for pointers on how to make a simple shell script that will generate new names based on words (one word per line) from two different files, and output these to a third file. This would be nice to come up with new cool names, either for business or pleasure. The first file will be a list of custom words. The second file will be /usr/local/share/dict/words. If the first word in the custom list is apathy and the first word in the dictionary file is alien, it will generate: apathyalien alienapathy To a third file. And then continue with the rest of the words ... A friend told me I could do something like this: for i in $(list1) $(list2) ; do echo -n $i ; done echo list 3 Do you all think the same? Thank you so much, Kristian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Script to generate names
I forgot to say; The script should mix the first word in the first list, front and back, with all the words in the second list before it continues to the second word in the first list. I hope that made sense ;) Thanks again ... At 11:08 03.02.2006, you wrote: Hello. I'm looking for pointers on how to make a simple shell script that will generate new names based on words (one word per line) from two different files, and output these to a third file. This would be nice to come up with new cool names, either for business or pleasure. The first file will be a list of custom words. The second file will be /usr/local/share/dict/words. If the first word in the custom list is apathy and the first word in the dictionary file is alien, it will generate: apathyalien alienapathy To a third file. And then continue with the rest of the words ... A friend told me I could do something like this: for i in $(list1) $(list2) ; do echo -n $i ; done echo list 3 Do you all think the same? Thank you so much, Kristian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ftpd: Passive mode isn't working
Hello! Somehow my passive mode isn't working. # cat /etc/inetd.conf ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30 -d vaaf auth stream tcp6 nowait root internal auth -r -f -n -o UNKNOWN -t 30 -d vaaf ircd stream tcp nowait nobody /usr/local/sbin/bitlbee bitlbee # cat /etc/pf.conf int_if=ep0 ext_if=rl0 set block-policy drop scrub in all nat on $ext_if from $int_if:network to any - ($ext_if) rdr on $int_if proto tcp from any to any \ port 21 - 127.0.0.1 port 8021 rdr on $ext_if proto tcp from any to any \ port 5 - 192.168.187.2 port 5 block drop log all pass quick on { lo0 $int_if } pass out on $ext_if inet proto { tcp, udp, icmp } \ from any to any keep state pass in on $ext_if proto icmp \ from any to any pass in on $ext_if inet proto { tcp, udp } \ from any to ($ext_if) port 53 pass out on $ext_if inet proto { tcp, udp } \ from any port 53 to any pass out on $ext_if inet proto udp \ from any to any port 123 keep state pass in on $ext_if inet proto tcp \ from any to ($ext_if) port { 21, 22, 25, 80, 110, 113, 143 } \ flags S/SA keep state pass in on $ext_if inet proto tcp \ from any port 20 to ($ext_if) user proxy flags S/SA keep state pass in on $ext_if proto tcp \ from any to any port 31337 keep state pass in on $ext_if proto tcp \ from any to any port 5 keep state pass in on $ext_if proto tcp \ from any to any port 5:5 keep state I hope somebody can tell what's wrong. All the peace, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Building Identical Configurations
Hello Steve! I wanted the exact same thing back in the days. Tried looking at CVS and some other shit, but nobody out there seems to think like we do. So I ended up with the simplest way of doing it which I'll never regret. Simply mirror your configuration files into your home directory, e.g. ~/etc/hostname/ Here's a fancy tree of my mirror. /home/vaaf/etc +-awad | +-boot | | +-loader.conf | +-etc | | +-aliases | | +-cvsupfile | | +-group | | +-hosts | | +-inetd.conf | | +-master.passwd | | +-motd | | +-periodic.conf | | +-pf.conf | | +-rc.conf | | +-resolv.conf | | +-zlogout | | +-zshrc | +-root | | +-list.txt | | +-make_ports.sh | | +-make_world.sh | +-sys | | +-i386 | | | +-conf | | | | +-AWAD | +-usr | | +-home | | | +-johann | | | | +-dot.gnupg | | | | | +-options | | | | | +-pubring.gpg | | | | | +-random_seed | | | | | +-secring.gpg | | | | | +-trustdb.gpg | | | | +-dot.gpgrc | | | | +-dot.irssi | | | | | +-blow.ini | | | | | +-config | | | | | +-look.theme | | | | | +-modules | | | | | | +-libfish.so | | | | | +-scripts | | | | | | +-autorun.tgz | | | | | | +-dns.pl | | | | | | +-url_log.pl | | | | +-dot.mailcap | | | | +-dot.muttrc | | | | +-dot.signature | | +-local | | | +-etc | | | | +-amavisd.conf | | | | +-apache2 | | | | | +-httpd.conf | | | | | +-virtual.conf | | | | +-bitlbee | | | | | +-bitlbee.conf | | | | | +-vaaf.accounts | | | | | +-vaaf.nicks | | | | +-clamd.conf | | | | +-courier-imap | | | | | +-authdaemonrc | | | | | +-authmysqlrc | | | | | +-imapd | | | | | +-imapd-ssl | | | | | +-imapd.cnf | | | | | +-pop3d | | | | | +-pop3d-ssl | | | | | +-pop3d.cnf | | | | +-freshclam.conf | | | | +-mail | | | | | +-spamassassin | | | | | | +-init.pre | | | | | | +-local.cf | | | | +-nessus | | | | | +-nessusd.conf | | | | +-php.ini | | | | +-postfix | | | | | +-main.cf | | | | | +-v_alias.cf | | | | | +-v_domain.cf | | | | | +-v_mailbox.cf | | | | +-procmailrc | | | | +-screenrc | | | | +-snort.conf | | | +-lib | | | | +-sasl2 | | | | | +-smtpd.conf | | | +-share | | | | +-vim | | | | | +-vimrc | +-var | | +-named | | | +-etc | | | | +-namedb | | | | | +-db.mydomain.com | | | | | +-named.conf +-amra | +-etc | | +-cvsupfile | | +-group | | +-master.passwd | | +-motd | | +-periodic.conf | | +-rc.conf | | +-zlogout | | +-zshrc | +-usr | | +-home | | | +-mujahid | | | | +-ice | | | | | +-ezstream.xml | | | | | +-m3u.sh | | | | | +-shuffle.py | | +-local | | | +-etc | | | | +-apache2 | | | | | +-httpd.conf | | | | | +-virtual.conf | | | | +-auth | | | | | +-collabo.auth | | | | | +-uklart.auth | | | | +-collabo.auth | | | | +-icecast.xml | | | | +-php.ini | | | | +-pure-ftpd.conf | | | | +-pure-ftpd.passwd |
Re: Script to generate names
I am flattered over all this assistance. Thank you indeed Parv, and also Will Maier, you guys have surely taught me a lot. I got my hands full of work currently, but I'll test this script ASAP, and get back to you all. This is going to be great! Here is my copy and paste of it. -- #!/usr/local/bin/bash # # Generate new names based on lists. # $NINJA: invent.sh,v 1.0 2007/11/11 15:09:05 johann Exp $ # # Usage: invent 1.txt 2.txt out.txt # echo Combining $1 with $2 to $3. [ -f $save ] mv -f $save $save--OLD { while read word_1; do while read word_2; do printf %s%s\n%s%s\n $word_1 $word_2 $word_2 $word_1 done $2 done $1 } | sort -u $3 -- Does it look alright so far? Thanks again, Vaaf At 06:37 04.02.2006, Parv wrote: in message [EMAIL PROTECTED], wrote Will Maier thusly... On Fri, Feb 03, 2006 at 11:08:04AM +0100, Kristian Vaaf wrote: I'm looking for pointers on how to make a simple shell script that will generate new names based on words (one word per line) from two different files, and output these to a third file. How bout this? Works on OpenBSD's sh; I assume it works on Free's sh as well. Might take a while to run, though... ... for WORD1 in $( ${LIST1}); do ... done It looks like OpenBSD (3.6) sh is pdksh (see Shell startup section; process substitution is in Substitution section, paragraph 6) ... http://www.freebsd.org/cgi/man.cgi?query=shapropos=0sektion=0manpath=OpenBSD+3.6format=html Process substitution does not work in FreeBSD 6 /bin/sh ... # cat p set -x for i in $( q); do echo $i; done # cat q polka bikini state # sh p + ... but in zsh ... # zsh p +/home/parv/p:2 i=polka +/home/parv/p:2 echo polka polka +/home/parv/p:2 i=bikini +/home/parv/p:2 echo bikini bikini +/home/parv/p:2 i=state +/home/parv/p:2 echo state state Anyway, here is one solution for FreeBSD /bin/sh ... in_1=list1 in_2=list2 save=list3 [ -f $save ] mv -f $save $save--OLD { while read word_1 do while read word_2 do printf %s%s\n%s%s\n \ $word_1 $word_2 \ $word_2 $word_1 # If all the possible combinations of all the words are # needed, remove or comment out the following break. break done $in_2 done $in_1 } | sort -u $save Kristian, try the above code with or without the break, and exchanging $in_1 $in_2. If $in_1 file is smaller than $in_2, then the script will end earlier (in comparison to reverse situation). - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Script to generate names
At 17:13 04.02.2006, Adam Nealis wrote: That's going to ba a large file of mixed words! Would be faster in perl than in the shell. Put the below in a file, and run it like this: perl myfile.pl myListOfMixedWords #!/usr/bin/perl use warnings; use strict; my @custw; my @dictw; my $cw; my $dw; my $i; open F1, web2.head-100; open F2, web2.tail-100; while ( chomp ( $custw[$i++] = F1 ) ) { } $i=0; while ( chomp ( $dictw[$i++] = F2 ) ) { } foreach $cw ( @custw ) { foreach $dw ( @dictw ) { print $cw$dw\n; print $dw$cw\n; } } I'm not sure man, I think Perl is a bit overkill. Besides if I were to use it, that mean that I'd have to learn it. And I think I'd rather learn Ruby if I were to do that high level stuff. Thanks a lot though! :) All the best, Kristian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ftpd: Passive mode isn't working
At 22:20 04.02.2006, fbsd_user wrote: Saying ftp is not working, is not enough of a description. Give details of how you are testing ftp to say its not working. In /etc/inetd.conf the tcp6 is for a experimental protocol, if you are not using it on purpose then those statements should be commented out so they are not active. You should also comment out the ftp-proxy until you have ftp working. Turn off your firewall during ftp testing. ftp is working. Active mode works, passive mode doesn't. This has nothing to do with IPv6. If it had I would have said so. Without ftp-proxy, ftp won't work at all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD and quantum computing
Hello. I do not know much about quantum computing. http://en.wikipedia.org/wiki/Quantum_computing But does anybody know what plans FreeBSD has for it? Does it intend to put any research into it? Thanks, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd possible breakin attempt messages
At 18:03 06.02.2006, Kevin Kinsey wrote: Brad Gilmer wrote: Hello all, I guess one of the banes of our existance as Sys Admins is that people are always pounding away at our systems trying to break in. Lately, I have been getting hit with several hundred of the messages below per dayin my security report output... gilmer.org login failures: Feb 5 11:18:17 gilmer sshd[78078]: reverse mapping checking getaddrinfo for 206-171-37-232.ded.pacbell.net failed - POSSIBLE BREAKIN ATTEMPT! Feb 5 11:18:18 gilmer sshd[78080]: reverse mapping checking getaddrinfo for 206-171-37-232.ded.pacbell.net failed - POSSIBLE BREAKIN ATTEMPT! Feb 5 11:18:20 gilmer sshd[78082]: reverse mapping checking getaddrinfo for 206-171-37-232.ded.pacbell.net failed - POSSIBLE BREAKIN ATTEMPT! I am running FreeBSD 5.4 RELEASE, and right now this box is not a production machine, but I am going to be taking it live fairly soon. Questions: 1) Is there anything I should be doing to thwart this particular attack? IANAE on security, but there are several possibilities. Here are a couple ideas from my deadbeat security brain: 1. edit /etc/ssh/sshd_config and make sure that only the right users and such are allowed to login, and via the right methods. 2. If the situation allows, you can wrap sshd via /etc/hosts.allow to only allow logins from certain IP addresses (i.e., wherever you intend to admin this box from). Note that, as I mentioned, IANAE, and there is plenty of other higher level security actions that can be taken to secure a box from attack. Maybe some less-newbie-than-me guru will step up to the plate on that; maybe not. 2) Given that I am on 5.4, should I upgrade my sshd or do anything else at this point to make sure my machine is as secure as possible? Check the advisories at the freebsd.org web site, and keep tracking RELENG_5_4 with cvsup/buildworld, etc. to stay up to date is a good starting point. 3) (Meta-question) - Should I upgrade to 6.0 before I go live to be sure I am in the best possible security situation going forward? Should I wait until 6.1 for bug fixes (generally I am opposed to n.0 anything). Meta-answer, if possible from an idiot like me: 6.0 is actually a very notable exception to the don't grab the zero release rule in my case. YMMV, of course. Last week I upgraded my last 5.X boxen to 6.X, and I don't plan on looking back! Now, if I could just find time to backup/reinstall that 4.X boxen that's locked up so far away!!! Thanks Brad You're welcome. Kevin Kinsey Sorry, but what is IANAE and YMMV? Thank you! Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PureFTPD: Bad daemon
The PureFTPD website is dead. I was hoping someone here might be able to help me. I am fed up with PureFTPD. It never wants to respect my need to add more virtual users! pure-ftpd-1.0.20 # /usr/local/etc/rc.d/pure-ftpd.sh stop # pure-pw useradd haha -u www -d /usr/local/www/haha -f pure-ftpd.passwd # pure-pw mkdb pure-ftpd.pdb -f pure-ftpd.passwd # /usr/local/etc/rc.d/pure-ftpd.sh start This is fucked up. User amin was once in my pure-ftpd.passwd / pure-ftpd.pdb, but I removed him. Now I needed to readd him. But that was easier said than done. I just spent an entire hour adding, removing, adding and removing him. No matter what I did, whether I placed his user line at the top, in the middle or at the bottom of pure-ftpd.passwd his authentication failed. This happens almost every time I want to add a user. I find it to be, well, fucked up. So what I ended up doing was to change his username to amine. Only then it worked. What's going on? All the best, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
A script for poets
Hello! Again with my script requests, this time I'm wondering if anybody has ever felt like writing a shell script that makes it easy to write rhymes, poems or just make up funny lines. http://www.rhymer.com is a great place, but unfortunately it requires a browser. Or maybe this is a feature that extends beyond the purpose of shell scripting, and that maybe for such I should start looking into languages like Ruby? Hoping for generous expert advise. Thank you, peasants and poets :) Vaaf (wuff) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A script for poets
Thank you all for your interesting replies! Though I did not mean to ask for advice on a script that would generate texts for you. I mean, that's impossible. However, using http://www.rhymer.com, it would do something like this. 1 is for End rhymes 2 is for Last syllable rhymes 3 is for Double rhymes 4 is for Beginning rhymes 5 is for First syllable rhymes ([EMAIL PROTECTED])(16:23:02/10/06) (%:~) rhymer free 1 End rhymes for free: abbey, ably, achy, acme, acne, aerie, agree, airy, algae, alley, amply, amy, andy, angry, ante, anti, antsy, any, aptly, army, arty, ashy, aurae, aussie, awfully, baby, badly, baggy, bailee, bailey, bailie, baldly, bali, balky, balmy, bandy, banshee, banti, barely, barky, barley, batty, bawdry, bawdy, be, beachy, beady, beanie, beastly, beauty, bee, beefy, beery, belfry, belly, benny, berkeley, berry, betty, bevy, biddy, biggie, billy, birdie, bitchy, bitsy, bitty, blackly, blandly, blankly, blarney, bleakly, bleary, blindly, blistery, blithely, blocky, bloody, bloomy, blotchy, blowsy, blowy, blowzy, bluey, bluntly, blurry, blustery, bobby, body, bogey, boggy, bogy, boise, boldly, bonnie, bonny, bony, booby, boogie, bookie, bootee, booty, boozy, bosky, bossy, botany, botchy, bougie, bouncy, boundary, bounty, bowery, bowie, brainy, brambly, brandy, brashly, brassie, brassy, bratty, bravely, brawly, brawny, breathy, breezy, bribee, briefly, briery, brightly, briny, briskly, bristly, broadly, bronzy, broody, broomy, brothy, brownie, bruskly, brusquely, bubbly, buddy, buffy, buggy, bulgy, bulky, bully, bumpy, bunchy, bunny, buoy, burley, burly, burry, bury, busby, bushy, busty, busy, cabby, caddie, caddy, cadre, cagey, calmly, campi, campy, candy, canny, carefree, carny, carrie, carry, catchy, catty, cb, cc, cd, chalky, chamois, chancy, chargee, charley, charlie, chassis, chastely, chatty, cheaply, cheeky, cheery, cheesy, cherry, chesty, chewy, chichi, chickpea, chiefly, chile, chili, chilly, chimney, chintzy, chippy, chloe, choicely, choky, choosey, choosy, choppy, christie, christly, chubby, chuffy, chummy, chunky, chutney, city, clammy, classy, clayey, cleanly, clearly, clergy, clerkly, clingy, cliquey, cloddy, cloggy, closely, clotty, cloudy, clumpy, clumsy, clunky, coarsely, cockney, cocky, coffee, coldly, collie, comely, comfy, commie, coney, connie, cony, cookie, cooley, coolie, coolly, cootie, copy, corky, corny, corrie, costly, coulee, country, county, courtly, covey, cowrie, cowry, coyly, cozy, crabby, crackly, crafty, craggy, cranky, cranny, crappie, crappy, crassly, crawly, crazy, creaky, creamy, cree, creepy, crinkly, crisply, crispy, croaky, crony, crosby, crossly, croupy, cruddy, crudely, cruelly, crumbly, crumby, crummy, crunchy, crusty, cubby, cuddly, cuddy, curie, curly, curry, curtly, curtsey, curtsy, curvy, cushy, cutely, cutesy, cutey, cutie, daddy, daffy, daftly, daily, dainty, dairy, daisy, dally, damply, dandy, dankly, darkly, deadly, deafly, dearie, dearly, deathly, debbie, debris, debtee, decree, deeply, deftly, degree, delhi, deli, dempsey, densely, derby, dewy, dickey, dilly, dimly, dimply, dinghy, dingy, dinkey, dinky, dippy, direly, dirty, disney, ditty, divvy, dixie, dizzy, dodgy, doggie, doggy, dogie, doily, dolby, dolly, donkey, dopey, dotty, doubly, doughy, dourly, dowdy, downy, dowry, doxy, dozy, drably, draftee, drafty, draggy, draughty, drawee, dreamy, dreary, dressy, drifty, drily, drippy, drizzly, droopy, dropsy, drossy, drowsy, druggie, druggy, dryly, duchy, ducky, duddie, duddy, duffy, dully, duly, dumbly, dummy, dumpy, dusky, dusty, duty, early, earthly, earthy, easy, eddy, edgy, eely, eerie, eery, eighty, emcee, emmy, empty, ennui, entry, envy, erie, esprit, every, faintly, fairly, fairy, falsely, falsie, fancy, fanny, farcy, fatly, fatty, faulty, fee, feebly, feisty, ferny, ferry, fiercely, fiery, fifty, fiji, filly, filmy, filthy, finely, finny, firmly, firstly, fishy, fitly, fizzy, flabby, flaky, flappy, flashy, flatly, flaunty, flaxy, flea, flecky, flee, fleecy, fleetly, fleshly, fleshy, flighty, flimsy, flinty, flirty, floaty, flooey, floosie, floozie, floozy, floppy, flossy, flouncy, flowery, fluffy, fluky, flunkey, flunky, flurry, fluty, foamy, foggy, fogy, folksy, folly, fondly, foresee, forky, forty, foully, foundry, fourthly, foxy, frankly, freaky, freckly, free, freebie, freely, frenzy, freshly, friday, friendly, frilly, frisbee, frisky, frizzly, frizzy, frosty, frothy, frowsy, frowzy, fruity, frumpy, fuddy, fully, fumy, fundy, funky, funny, furry, fury, fusee, fussy, fusty, fuzzy, gabby, gaily, galley, gamely, gamey, gamy, gandhi, gangly, gantry, gassy, gatsby, gaudy, gauntly, gauzy, gawky, gee, genie, gently, gentry, germfree, germy, ghastly, ghostly, ghosty, giddy, giggly, gimpy, gipsy, gladly, glairy, glary, glassy, gleamy, glee, gleety, glibly, glitzy, gloomy, glory, glossy, gluey, glumly, gnarly, goalie, goatee, gobi, goby, godly, golly, goodie,
File verification script
Hello! I need a simple script that uses CFV to report on broken MP3 albums. All my MP3 albums contain an .sfv file that list MP3 tracks with their CRC values. I just need something simple like: ([EMAIL PROTECTED])(16:23:02/10/06) (%:~) verify curtis_mayfield-superfly_ost-1972: Corrupt miles_davis-four_and_more-reissue-2005: Corrupt sun_ra_and_his_outer_space_arkestra-nuclear_war-2002: Corrupt How would that look like? The reason I'd prefer something as simple as this, is because most SFV validation tools are so bloated with useless features. Anyway ... I have different SFV script though. It uses CFV to go into all MP3 albums containing an information file (.nfo) and then generating an SFV of the MP3 tracks, giving it the same name as the .nfo. For those who are curious, it looks like this: #!/usr/local/bin/bash # # Generate SFV and M3U based on NFO. # $ARBA: seal.sh,v 1.0 2007/11/11 15:09:05 vaaf Exp $ # # Requires CFV. # for file in `find -s $(pwd) -name \*.nfo`; do directory=`dirname ${file}` prefix=`basename ${file} | sed 's/.nfo//g'` current=`basename ${directory}` sfv=${directory}/${prefix}.sfv m3u=${directory}/${prefix}.m3u cd ${directory} rm -f *.sfv; rm -f *.m3u touch ${sfv}; cfv -Cq *.mp3 cat ${current}.sfv | awk '! /^;/' ${sfv} rm -f ${current}.sfv for mp3 in *.mp3; do echo ${mp3} ${m3u}; done echo $current: Done done Take care people! Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Script to clean text files
Hello. Among other things, this script is suppose to add an empty line at the bottom of a file. But somehow it always removes the first line in a text file, how do I stop this? #!/usr/local/bin/bash # # Remove CRLF, trailing whitespace and double lines. # $ARBA: clean.sh,v 1.0 2007/11/11 15:09:05 vaaf Exp $ # for file in `find -s . -type f -not -name .*`; do if file -b $file | grep -q 'text'; then echo $file perl -i -pe 's/\015$//' $file perl -i -pe 's/[^\S\n]+$//g' $file perl -pi -00 -e 1 $file echo $file: Done fi done Thanks, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Script to clean text files
At 22:45 11.02.2006, Parv wrote: in message [EMAIL PROTECTED], wrote Kristian Vaaf thusly... Among other things, this script is suppose to add an empty line at the bottom of a file. But somehow it always removes the first line in a text file, how do I stop this? Can you provide a small sample file complete w/ things that you want to remove? #!/usr/local/bin/bash # # Remove CRLF, trailing whitespace and double lines. What are double lines? # $ARBA: clean.sh,v 1.0 2007/11/11 15:09:05 vaaf Exp $ # for file in `find -s . -type f -not -name .*`; do if file -b $file | grep -q 'text'; then echo $file perl -i -pe 's/\015$//' $file perl -i -pe 's/[^\S\n]+$//g' $file Why do you have two perl runs? More importantly, you will remove anything which is not whitespace or not newline. That means, in the end, you should have a file filled w/ whitespace only. perl -pi -00 -e 1 $file echo $file: Done fi done To remove CRLF, trailing whitespace, and 2 consecutive blank lines ... { tr -d '\r' $file \ | sed -E -e 's/[[:space:]]+$//' \ | cat -s - ${file}.tmp } mv -f ${file}.tmp $file - Parv -- Hello Parv! Yes I meant blank lines :) I've used the script for a long time now. The only error is that it removes the top blank space, if any. Which is a bit annoying. It's fine for scripts with shebangs but not for custom laid out documents etc. I just wanted to know where that error was. I use the Perl runs because those were the only runs people gave me. You know how it is, you enter a FreeBSD help channel and ask how you do this or that, and the upper gentlemen always reply Learn Perl, and then they go on giving you Perl runs :) Your suggestion looks very very good. So is this alright? #!/usr/local/bin/bash # # Remove CRLF, trailing whitespace and blank lines. # $ARBA: clean.sh,v 1.0 2007/11/11 15:09:05 vaaf Exp $ # for file in `find -s . -type f -not -name .*`; do if file -b $file | grep -q 'text'; then echo $file tr -d '\r' $file sed -E -e 's/[[:space:]]+$//' cat -s - ${file}.tmp mv -f ${file}.tmp $file echo $file: Done fi done All the best man, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: File verification script
At 15:40 12.02.2006, Lowell Gilbert wrote: Kristian Vaaf [EMAIL PROTECTED] writes: I need a simple script that uses CFV to report on broken MP3 albums. All my MP3 albums contain an .sfv file that list MP3 tracks with their CRC values. There are a bunch of them in ports, under the security category. In my previous e-mail I wrote: The reason I'd prefer something as simple as this, is because most SFV validation tools are so bloated with useless features. That includes the SFV tools in ports. I just want a simple script that uses cfv to verify MP3 albums, the same way I showed you my other script that uses cfv to seal my MP3 albums. Thanks, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to ensure one blank line on top of ASCII files?
Hello! I need to make sure all my ASCII files start with one blank line. I just need to know what command to use, I've written the rest of the script to do this for me: -- for file in `find -s . -type f -not -name .*`; do if file -b $file | grep -q 'text'; then What to put here? :) echo $file: Done fi done -- Thanks! :) Vaaf ___ 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 ensure one blank line on top of ASCII files?
At 12:42 13.02.2006, Norberto Meijome wrote: Kristian Vaaf wrote: Hello! I need to make sure all my ASCII files start with one blank line. I just need to know what command to use, I've written the rest of the script to do this for me: -- echo MY_BLANK_LINE.txt for file in `find -s . -type f -not -name .*`; do if file -b $file | grep -q 'text'; then mv $file $file.tmp cat MY_BLANK_LINE.txt $file.tmp $file rm -f $file.tmp echo $file: Done fi done rm -f MY_BLANK_LINE.txt There possibly are far more elegant solutions...but that should work. I think I will look out for a more elegant approach :) If I fail to find one, I will use your suggestion. Thanks though, it kinda taught me a thing or two about shell programming. All the best, Fafa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: File verification script
At 16:24 13.02.2006, Lowell Gilbert wrote: Kristian Vaaf [EMAIL PROTECTED] writes: I just want a simple script that uses cfv to verify MP3 albums, the same way I showed you my other script that uses cfv to seal my MP3 albums. Well, cksfv seems to be appropriate for that application. I haven't actually tried any of these myself; mtree(1) works fine for me. I know how to search the ports. Thanks though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How would you improve FreeBSD?
Hello. Yes, how would you improve FreeBSD? I am trying to paint a gloomy picture of where FreeBSD is headed. Therefore I am asking all of you to share your thoughts and ideas of how you would like to see FreeBSD improve. Chances are that's where our operating system is headed. 1. Would you restructure FreeBSD somehow? 2. What features would you add? 3. What features would you remove? 4. What features would you simplify? 5. What features would you further develop? If I've left out some questions that you feel would contribute to the future well being of FreeBSD, don't hesitate to comment! Thanks guys, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: How would you improve FreeBSD?
At 13:11 17.02.2006, Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kristian Vaaf Sent: Friday, February 17, 2006 2:06 AM To: [EMAIL PROTECTED] Subject: How would you improve FreeBSD? Hello. Yes, how would you improve FreeBSD? I would start by making a rule that anyone asking how would you improve FreeBSD on the mailing list be sentenced to write: I will not post silly questions to the mailing list that are answered on the website several hundred times. See: http://www.freebsd.org/projects/ideas/ I am trying to paint a gloomy picture of where FreeBSD is headed. Therefore I am asking all of you to share your thoughts and ideas of how you would like to see FreeBSD improve. Chances are that's where our operating system is headed. 1. Would you restructure FreeBSD somehow? http://www.freebsd.org/projects/ideas/ 2. What features would you add? http://www.freebsd.org/projects/ideas/ 3. What features would you remove? http://www.freebsd.org/projects/ideas/ 4. What features would you simplify? http://www.freebsd.org/projects/ideas/ 5. What features would you further develop? http://www.freebsd.org/projects/ideas/ If I've left out some questions that you feel would contribute to the future well being of FreeBSD, don't hesitate to comment! http://www.freebsd.org/projects/ideas/ http://www.freebsd.org/projects/ideas/ http://www.freebsd.org/projects/ideas/ http://www.freebsd.org/projects/ideas/ http://www.freebsd.org/projects/ideas/ http://www.freebsd.org/projects/ideas/ http://www.freebsd.org/projects/ideas/ http://www.freebsd.org/projects/ideas/ !! Ted No need to be so FUCKING arrogant. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Haven't been able to make world in about a year
Hello! I don't know what's wrong. But all my makes error out. I've tried over and over again. And sent about a dozen e-mails to this list. http://www.home.no/hedhnta/result.txt When doing: cvsup -g -L 2 /etc/cvsupfile And then running: cd /usr/src \ make buildworld \ make buildkernel KERNCONF=ARBA \ make installkernel KERNCONF=ARBA \ make installworld \ mergemaster \ make clean \ rm -rf /usr/obj/* This is how it's done, no? Please help me. Thanks, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cool listing script (needs a fix)
What's up everybody? When running this: -- #!/usr/local/bin/bash # # Print a structured file and folder list. # $ARBA: tree.sh,v 1.0 2007/11/11 15:05:09 vaaf Exp $ # # Include files: -a, --all # argument=-type d case $1 in -a | --all) argument= ;; esac tree='s,^.$,, /^$/d s,[^/]*/\([^/]*\)$,+-\1, s,[^/]*/,| ,g' pwd; find -s . $argument -print | sed -e $tree -- I get: -- # tree -a /home/vaaf/usr +-commands.txt +-lyrics.txt +-people.txt +-public.txt -- How can I make the same script include an END notice? -- # tree -a /home/vaaf/usr +-commands.txt +-lyrics.txt +-people.txt +-public.txt | | END -- Anybody know how? Thanks! All the best, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Haven't been able to make world in about a year
At 12:39 21.02.2006, Alex Zbyslaw wrote: Kristian Vaaf wrote: I don't know what's wrong. But all my makes error out. I've tried over and over again. And sent about a dozen e-mails to this list. http://www.home.no/hedhnta/result.txt This is my supposition. There have been many messages to this list which clearly say that advanced gcc options (like advanced optmisations) are a bad idea for CFLAGS defaults in make.conf because they can prevent world/kernel from rebuilding properly. So, playing spot-the-difference between your compile line which fails, and my last one which succeeded... Yours: cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'... Mine: cc -E -O -pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'... You'll see that your has -O2 and -fno-strict-aliasing while mine has just -O. So the first thing I would do is to try fixing CFLAGS in make.conf to get rid of -fno-strict-aliasing and change -O2 to -O. I can't say whether one, both or neither is actually wrong, but mine worked and yours didn't, so at least one of them is a good potential source for the problem. Let us know if it helps. Someone out there undoubdetdly knows which options are safe to add here, and may even be able to say where they are documented. --Alex PS You neglected to mention which version of FreeBSD you were running. My compile line is from 5.4. Thank you Alex for a very interesting reply. My bad for not mentioning FreeBSD 5.4-STABLE: Wed Sep 21 01:34:15 CEST 2005 All the best, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cool listing script (needs a fix)
At 15:51 21.02.2006, Fabian Keil wrote: Kristian Vaaf [EMAIL PROTECTED] wrote: When running this: -- #!/usr/local/bin/bash # # Print a structured file and folder list. # $ARBA: tree.sh,v 1.0 2007/11/11 15:05:09 vaaf Exp $ # # Include files: -a, --all # argument=-type d case $1 in -a | --all) argument= ;; esac tree='s,^.$,, /^$/d s,[^/]*/\([^/]*\)$,+-\1, s,[^/]*/,| ,g' pwd; find -s . $argument -print | sed -e $tree How can I make the same script include an END notice? # tree -a /home/vaaf/usr +-commands.txt +-lyrics.txt +-people.txt +-public.txt | | END Anybody know how? echo | echo | END Fabian -- http://www.fabiankeil.de/ Wonderful man, thanks a lot! :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cool listing script (needs a fix)
At 21:57 21.02.2006, Parv wrote: in message [EMAIL PROTECTED], wrote Kristian Vaaf thusly... What's up everybody? When running this: -- #!/usr/local/bin/bash Would you please include anything non-signature before the '-- '? - Parv -- Pardon me Parv? :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cool listing script (needs a fix)
At 21:57 21.02.2006, Parv wrote: in message [EMAIL PROTECTED], wrote Kristian Vaaf thusly... What's up everybody? When running this: -- #!/usr/local/bin/bash Would you please include anything non-signature before the '-- '? - Parv -- It's just a way for me to keep things clearly seperated. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Haven't been able to make world in about a year
At 19:47 21.02.2006, Kris Anderson wrote: --- Kristian Vaaf [EMAIL PROTECTED] wrote: Hello! I don't know what's wrong. But all my makes error out. I've tried over and over again. And sent about a dozen e-mails to this list. http://www.home.no/hedhnta/result.txt When doing: cvsup -g -L 2 /etc/cvsupfile And then running: cd /usr/src \ make buildworld \ make buildkernel KERNCONF=ARBA \ make installkernel KERNCONF=ARBA \ make installworld \ mergemaster \ make clean \ rm -rf /usr/obj/* This is how it's done, no? Sort of done like that. Looking at the FreeBSD handbook it says: make buildworld make buildkernel KERNCONF=ARBA make installkernel KERNCONF=ARBA reboot Note: There are a few rare cases when an extra run of mergemaster -p is needed before the buildworld step. These are described in UPDATING. In general, though, you can safely omit this step if you are not updating across one or more major FreeBSD versions. After installkernel finishes successfully, you should boot in single user mode (i.e. using boot -s from the loader prompt). Then run: mergemaster -p make installworld mergemaster reboot Please help me. Thanks, Vaaf Hope that helps. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com The point is I've been having this problem for so long, and none of the developers are willing to help me. This is one of the reason I think, why most people these days seem to go (back) to DragonflyBSD. I certainly am going to. Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Haven't been able to make world in about a year
At 16:59 24.02.2006, Giorgos Keramidas wrote: On 2006-02-24 16:45, Kristian Vaaf [EMAIL PROTECTED] wrote: At 19:47 21.02.2006, Kris Anderson wrote: --- Kristian Vaaf [EMAIL PROTECTED] wrote: Hello! I don't know what's wrong. But all my makes error out. I've tried over and over again. And sent about a dozen e-mails to this list. http://www.home.no/hedhnta/result.txt When doing: cvsup -g -L 2 /etc/cvsupfile Kristian, you would have to show us your cvsupfile. It's possible that you are missing some of the sources, so the source tree you download is not exactly buildable. And then running: cd /usr/src \ make buildworld \ make buildkernel KERNCONF=ARBA \ make installkernel KERNCONF=ARBA \ make installworld \ mergemaster \ make clean \ rm -rf /usr/obj/* This is how it's done, no? Not quite. Sort of done like that. Looking at the FreeBSD handbook it says: make buildworld make buildkernel KERNCONF=ARBA make installkernel KERNCONF=ARBA reboot Note: There are a few rare cases when an extra run of mergemaster -p is needed before the buildworld step. These are described in UPDATING. In general, though, you can safely omit this step if you are not updating across one or more major FreeBSD versions. This is also suggested in /usr/src/UPDATING. The point is I've been having this problem for so long, and none of the developers are willing to help me. Patience, please. It's not the end of the world. There is a sane, logical explanation why you can't build the system. We just have to find it :) This is one of the reason I think, why most people these days seem to go (back) to DragonflyBSD. This is very uncalled for. If you really want help, then please spare us the (in my opinion) unsupported, unwarranted rhetoric about why FreeBSD is not for you. The helpful people of this list don't deserve this, and you don't deserve the flames such inflammatory material can start. I certainly am going to. Ultimately, this is your choise to make, of course. We can't force to use something that you don't like. Before that happens, I'd like to see at least the following though: - Your cvsupfile - The error messages you get. The URL in the previous paragraphs that is supposed to show the errors, is not fetchable: $ cd /tmp $ fetch http://www.home.no/hedhnta/result.txt fetch: http://www.home.no/hedhnta/result.txt: Not Found $ Dear Giorgos, Here is my /etc/cvsupfile: *default host=cvsup.no.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_6 *default delete use-rel-suffix src-all ports-all tag=. doc-all tag=. I'll have result.txt back on that URL first thing tomorrow morning. I'm not going to DragonflyBSD because FreeBSD works just fine at the time being, except this though it isn't killing me. Talk to you later, Thanks! -- vaaf ___ 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 ensure one blank line on top of ASCII files?
At 01:51 14.02.2006, Randy Pratt wrote: Hi, I'm replying offlist since this isn't particularly a FreeBSD question. Something like this may work for you: addline.sh: == #!/bin/sh #Check if file begins with blank line, if not, insert a blank line firstline=`head -1 ${1}` if [ ${firstline} = ]; then #echo its a blank else #echo insert line sed -i '1{s/^/\ /;}' ${1} fi = Usage: addline.sh somefile.txt If you needed to do many files, then make a loop to do each one for i in *.txt; do addline.sh $i; done or whatever syntax you need for the shell you are using. I missed the beginning of the thread so I'm not sure of all the details. Caveat: This should be checked with some sample files before using on your good files. I just did a few minimal tests. Note that this: sed -i '1{s/^/\ /;}' ${1} is not a typographical error. It is adding the newline after the blank line. Check some of the online sed tutorials for an explanation of the syntax. The manual page for sed is a bit terse ;-) Hope this helps more than it confuses! Randy -- Hello Randy! Sorry to disturb, but how can I make this script add a blank line to the top of all ASCII files except the ones that contain at the beginning #!? It would also be nice to rule out certain filetypes. #!/usr/local/bin/bash # # Add blank line to the top of text files. # $ARBA: blank.sh,v 1.0 2007/11/11 15:09:05 vaafExp $ # # Use: blank for file in `find -s . -type f -not -name .*`; do if file -b $file | grep -q 'text'; then echo blank mv $file $file.tmp cat blank $file.tmp $file rm -f $file.tmp rm -f blank echo $file: Done fi done Thanks! Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
script(1) Why does it output in CR/LF?
Hello. I am just curious why the files I generate with script(1) output in CR/LF forcing me to run dos2unix on them everytime? Isn't this a bit stupid? Thanks, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Haven't been able to make world in about a year
At 18:26 24.02.2006, Alex Zbyslaw wrote: Kristian Vaaf wrote: The point is I've been having this problem for so long, and none of the developers are willing to help me. This is one of the reason I think, why most people these days seem to go (back) to DragonflyBSD. I certainly am going to. Did you even try the suggestions I posted? Did you bother to report back whether they worked? Did you follow up to Giorgos questions? Or to Donald J O'Neill's? Or to [EMAIL PROTECTED]'s? No, you just came back and whined. Developers have better things to do than fix problems which are mostly caused by people not following the instructions correctly, or thinking that they knew better than the instructions. The problem you have is guaranteed to be a configuration problem on *your* system because 99.9% of people out there have no trouble at all. I want the developers to spend their time doing just that, developing, not responding to questions that us mortals can usually handle. You may think that your problem is important enough to rate a developer fixing it for you but I doubt that many people here would agree with such a judgement. Looking through the archive, I could find on one question from you on this topic, from Dec 31st 2005, which is certainly not the year in your subject line, and not a great time to expect speedy responses . You did get a reply from Kent Stewart, and again you didn't reply at all. How could anyone possibly know that his suggestion didn't work for you? So far I count 5 different people who have attempted to help you with this issue and so far I see not one single piece of feedback from you on how their suggestions worked out. Please, switch to DragonFly. You could also try shooting yourself in the foot, and cutting off your nose to spite your face. I gather some people enjoy that kind of thing and you would seem to be one of them. Welcome to the select few on my kill list. --Alex Are you threatening me man? And damn you must have a lot of spare energy, being able to analyze my stupidity like that. If I were you I'd find something better to do. Welcome to the select few on my shit list. And no, that's not a threat. Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: regarding new logo...
You like the logo? Speaking as a lecturer at the Royal Academy of Arts, on behalf of myself and a lot of other designers, the new FreeBSD logo is worthless. It's useless eyecandy. As if we don't have enough of that already. The logo competition wasn't held properly. It was only announced internally within FreeBSD's circles and not promoted through design universities, communities and such. Also the people hosting the competition have acted rather arrogant towards many that I know who just wanted to help. Second, only a few selected people (who may not know anything about design as far as we're concerned) got to choose the logo. In my opinion, it is to show how the FreeBSD project itself neglects its real life users. The logo is, again, eyecandy. Though in some cases pleasant to look at, it does not fulfill the criterias of a modern day logo. These, however, do: http://youworkforthem.com/product.php?sku=P0370 Anyway Don Poynter, his e-mail is gak at tomsksoft dot com. Kristian Vaaf, RD | http://www.designcouncil.org.uk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Haven't been able to make world in about a year
Hello Kristian, Have you ever been able to do a buildworld sequence? What version of FreeBSD are you trying to work with? What does your make.conf look like? How about your /conf/ARBA (your custom kernel config)? What do you have in your /etc/cvsupfile? In my make.conf I use: CFLAGS= -O2 -pipe COPTFLAGS= -O2 -pipe That's worked for years, well, a very long time anyway. Comparing the same section in your script run, to mine, which was run last night: yours: === bin/csh (obj,build-tools) grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep '^#define' sh.err.h cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh' -I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/bin/csh/../../contrib /tcsh/tc.const.c /usr/src/bin/csh/../../contrib/tcsh/sh.char.h /usr/src /bin/csh/config.h /usr/src/bin/csh/../../contrib/tcsh/config_f.h /usr/src /bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const | grep 'Char STR' | sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1 [];/' | sort tc.const.h mine: === bin/csh (obj,build-tools) grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep '^#define' sh.err.h cc -E -O2 -pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh' -I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/bin/csh/../../contrib /tcsh/tc.const.c /usr/src/bin/csh/../../contrib/tcsh/sh.char.h /usr/src /bin/csh/config.h /usr/src/bin/csh/../../contrib/tcsh/config_f.h /usr/src /bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const | grep 'Char STR' | sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1 [];/' | sort tc.const.h They look very similar except: you have -fno-stict-aliasing and I don't; yours starts erroring before buildworld completes (looks to be about a fourth of the way through) and mine builds to completion. Your buildworld sequence appears to be a little lacking - either in the detail you gave, or because some things are missing. The buildworld sequence I us is: === (I use the alternate step 10 when I run the sequence) 1)Script /home/script/buildworld/bw-âdate runâ 2)cd /usr/obj pwd 3)chflags -R noschg * 4)rm -rf * 5)cd /usr/src pwd make cleandir make cleandir 6)make buildworld make buildkernel KERNCONF=customconfname 7)make installkernel KERNCONF=customconfname 8)exit 9)shutdown now Enter 10) Enter to accept default location of sh alternate step 10 a) shutdown -r now Enter b) at boot menu6 c) boot -s Enter d) fsck -p Enter e) mount -u / Enter f) mount -a -t ufs Enter g) swapon -a Enter h) cd /usr/src Enter i)adjkerntz -i Enter 11) script /home/script/buildworld/iw-âdate run 12) cd /usr/srcpwd 13) mergemaster -p 14) make installworld 15) mergemaster -i âinstall everythingâ 16) exit 17)shutdown -r now === This should help a bit. Don Hello Don! Thank you for some good help. My make.conf only had some use.perl stuff. I added your flags. Also I've revised my sequence: cvsup -g -L 2 /etc/cvsupfile \ cd /usr/obj \ chflags -R noschg * \ rm -rf * \ cd /usr/src ; make clean \ make buildworld \ make buildkernel KERNCONF=NINJA \ make installkernel KERNCONF=NINJA \ make installworld \ mergemaster \ And am now ready to give it another go :) All the best, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Haven't been able to make world in about a year
Sorry about that, http://www.home.no/hedhnta/result.txt is back up. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]