Teaming NIC
Hello, FreeBSD 6.3 has new device called lagg(4). Lagg is a link aggregation and link failover interface. With lagg we can easily bond two NIC interfaces together. But how we can do NIC teaming in FreeBSD 6.2? Please help. Thanks, Daniel Vanags Information Technology Department IT infrastructure system engineer JSC SMP Bank www.smpbank.lv Phone:+371 67019386 E-mail: daniels.van...@smpbank.lv mailto:daniels.van...@smpbank.lv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Teaming NIC
On Fri, May 8, 2009 at 9:47 AM, Daniels Vanags daniels.van...@smpbank.lvwrote: Hello, FreeBSD 6.3 has new device called lagg(4). Lagg is a link aggregation and link failover interface. With lagg we can easily bond two NIC interfaces together. But how we can do NIC teaming in FreeBSD 6.2? Please help. Upgrade to FreeBSD 6.4 and stay there if you must stay at 6.x. 6.2 is not supported anymore so don't ask questions about it:) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
BSD Discs
Hi I just started a BSD 'Download-Burn-Mail' service for downloading ISO's for people. It's not a free service, but its very very cheap, and we get the discs in the mail next-day. So if you are interested in linking to our service, please feel free to do so :-) http://www.whatsmyip.org/osdiscsbymail/ And of course, email me if you have any questions or comments about it. Thanks John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
sshfs
Hi to all, I'm trying to use sshfs on freebsd 7.1 box After i've installed port (ls /var/db/pkg|grep fuse fusefs-kmod-0.3.9.p1.20080208_5 fusefs-libs-2.7.4 fusefs-sshfs-2.2 ) i run command sshfs u...@host:/ /mnt/test/ and after inser password for host i've this message fuse: failed to open fuse device: No such file or directory Where is the problem Local directory /mnt/test exist. Regards Antonio Tommasi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: sshfs
On Friday 08 May 2009 10:18:40 Antonio Tommasi wrote: fuse: failed to open fuse device: No such file or directory Where is the problem There's no fuse device. Read the pkg-message again (fuse_enable in rc.conf and start fuse service - too rusty on the exact fuse* variable name). -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: reducing Windows Vista to install FreeBSD dual-boot
El día Wednesday, May 06, 2009 a las 03:56:41PM +0200, Leslie Jensen escribió: I've done this a few times and the best procedure is to use the Parted magic CD and resize the partition. The Vista shrink tool is not something I would recommend. You don't have to think of defragging when you use Parted Magic. I did it with Pmagic 4.0 and Vista is now in its jail of 50 GByte and I have around 180 GByte for FreeBSD CURRENT. I still have to look for and install EasyBCD to be able to boot CURRENT after the installation... Thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: sshfs
On Fri, 08 May 2009, Antonio Tommasi antonio.tomm...@unile.it wrote: Hi to all, Hi Antonio, I'm trying to use sshfs on freebsd 7.1 box After i've installed port (ls /var/db/pkg|grep fuse fusefs-kmod-0.3.9.p1.20080208_5 fusefs-libs-2.7.4 fusefs-sshfs-2.2 ) i run command sshfs u...@host:/ /mnt/test/ and after inser password for host i've this message fuse: failed to open fuse device: No such file or directory Where is the problem You have to load the fuse kernel module: kldload fuse Regards Cheers, Antonio Tommasi -- Pietro Cerutti g...@freebsd.org PGP Public Key: http://gahr.ch/pgp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
kerberos and php5
LS, It seems that KRB5 is not a default implementation within php5. How can i add KRB5 in php5. Reg,Danny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Teaming NIC
On 8/5/09 07:47, Daniels Vanags wrote: Hello, FreeBSD 6.3 has new device called lagg(4). Lagg is a link aggregation and link failover interface. With lagg we can easily bond two NIC interfaces together. But how we can do NIC teaming in FreeBSD 6.2? Please help. I would highly recommend you upgrade to the latest 6.4 (or even better the 7 series) but if you cannot for some reason, have a look at netgraph, ng_fec might be ok if you have a cisco switch, and ng_one2many looks interesting. I havent tried them but I'm sure others on here could comment on them. Vince Thanks, Daniel Vanags Information Technology Department IT infrastructure system engineer JSC SMP Bank www.smpbank.lv Phone:+371 67019386 E-mail: daniels.van...@smpbank.lv mailto:daniels.van...@smpbank.lv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
GSM modems
Hello. I'm working on a project where we need to use GSM modems to be able to send and receive short messages; right now this is implemented through SMSTools. We are having a lot of problems like the modem hanging and stopping any communication with the computer, the modems suddenly saying the SIM card is bad or that the ISP network is refusing registration. Most of these are resolved by unplugging/replugging the modem. I was wondering: _ can (some of) these problems be FreeBSD related (e.g. USB driver issue, or something)? _ has anyone had any similar experience? _ can someone suggest a brand/model which works fine? (We tried three different ones, but all show some glitch). bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: GSM modems
Hi, On Fri, 08 May 2009 11:10:53 +0200 Andrea Venturoli wrote: I'm working on a project where we need to use GSM modems to be able to send and receive short messages; right now this is implemented through SMSTools. Have you ever tried comms/gammu? We are having a lot of problems like the modem hanging and stopping any communication with the computer, the modems suddenly saying the SIM card is bad or that the ISP network is refusing registration. Most of these are resolved by unplugging/replugging the modem. Did you try to change a cable? Prior to using GSM modems we had tested some mobile phones and had got much trouble with their cables. I was wondering: _ can (some of) these problems be FreeBSD related (e.g. USB driver issue, or something)? So you use USB modems, aren't you? Which FreeBSD version have you tried? If it comes about USB, FreeBSD 8-CURRENT is very nice. It has a rewritten USB stack. And a release is approaching. _ has anyone had any similar experience? No. But we use comms/gammu and modems with COM interface. _ can someone suggest a brand/model which works fine? (We tried three different ones, but all show some glitch). Siemence MC35i is very stable. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Licensing
On Fri, May 8, 2009 at 1:09 AM, Steve Bertrand st...@ibctech.ca wrote: I've got a question that is likely not suited for this list, but I know that there are people here who can guide me off-list. Being a network engineer, I'm far from a developer. With that said, I've written numerous network automation programs (mostly in Perl), and have developed several small patches for software written in C related to ISP operations (including the OS itself). I'm looking for advice on how I can take all of my code, and license it into the public domain. I'm sure that most people won't have any interest in it, but I really want to ensure that what I have done is freely accessible. All of my code is pretty well separated into different files that contain different functions, so isolating portions of my programs that use modules or functions that are external is not a problem. GPL seems too verbose legally for me. Can the BSD license fit into any code, no matter what language it is in, and if so, can I have my code overlooked by someone who can verify that the BSD license will fit? Steve Dear Steve , You may inspect the following pages and links in them : http://en.wikipedia.org/wiki/Category:Free_software http://en.wikipedia.org/wiki/Category:Free_software_licenses http://en.wikipedia.org/wiki/Category:Software_by_license http://en.wikipedia.org/wiki/Category:Software_licenses http://en.wikipedia.org/wiki/Category:Software_distribution http://en.wikipedia.org/wiki/Category:Public_domain I am not a lawyer and I can not comment on your possible decisions . My suggestion would be to study related laws in your country before making software available to public because some companies may not allow employees to disclose any software whether they write themselves without getting any support form their employers . There is no any relationship between programming language used and the license kind selected . License is the terms of use of the disclosed sources by the others . Another concept is Copyrights . You can only license a source which its copyright is exactly belongs to you . In some countries specifying a copyright on a work actually copyrighted by another entity may induce a legal penalty . For me , the best license is BSD-style licenses because recipients of software may use them in open and closed source applications . Since licenses like GPL and LGPL Version 3 requires disclosure of linked main programs , they can not be used in closed source applications . Therefore , any commercial entity can not use them and would NOT support them . Thank you very much . Mehmet Erol Sanliturk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ndis0 interrrupt storm
On 5/7/09, Chris Whitehouse cwhi...@onetel.com wrote: Tim Judd wrote: I think project evil (ndis) requires a specific driver version, such as the WinXP drivers versus the Vista or 2000 or anything else. What drivers did you use? Any other drivers available on the manufacturer website? If you're not using XP, I recall reading that XP is the preferred driver for the recent project evil versions. --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Sorry about the delay replying, I've been away. In the meantime I've tried the three possible drivers (XP, NT and an unlabelled one). I've also installed a recent 8-current snapshot, updated to latest source and built world, and tried the XP driver. Still get interrupt storms everywhere, also a panic (I think) in 8-current. Should I give up or are there other things to try? Panic should not happen. Please provide backtrace(or crashdump or textdump) -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: reducing Windows Vista to install FreeBSD dual-boot
El día Wednesday, May 06, 2009 a las 01:26:50PM +0300, Manolis Kiagias escribió: Sure, You can even reduce Vista's partition from Control Panel - Administrative Tools - Computer Management - Disk Management. Right click on the partition and select to shrink. The amount that it will allow you to shrink will vary (probably depends on the fragmentation) but I guess you will be able to get 50G on a 200G disk. Then install FreeBSD as usual, but do not allow it to install any boot manager (it will mess with Vista's BCD system). After installing, use EasyBCD (free download) within Vista to add FreeBSD to the boot menu. Hi Manolis, I've fetched EasyBCD and installed it in the Vista. Just to make sure: The 180 GB partition is visible as /dev/ad8s4 to the CURRENT booted from USB and I will just label it as: # bsdlabel -w ad8s4 auto # bsdlabel -B ad8s4 edit the disk label and change partition a from unused to 4.2BSD as partition type: # setenv EDITOR /usr/bin/vi # bsdlabel -e ad8s4 create the filesystem on it and mount it to /mnt for the installation: # newfs -m 0 -o space /dev/ad8s4a # mount /dev/ad8s4a /mnt and install CURRENT into /mnt: # cd /usr/src # make installworld DESTDIR=/mnt # make installkernel DESTDIR=/mnt KERNCONF=GENERIC INSTALL_NODEBUG=t # make distrib-dirs DESTDIR=/mnt # make distribution DESTDIR=/mnt ... Any comments? Thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Command-line IRC client
On Thu, 7 May 2009 17:19:47 -0700 Nerius Landys nlan...@gmail.com wrote: i think irssi http://www.irssi.org/ http://www.freshports.org/irc/irssi/ What is the most recommended IRC client that runs in a terminal? rtorrent is to bit torrent what is to IRC. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Snapshots
At 04:00 AM 5/5/2009, Johan Hendriks wrote: Are there no more snapshots of current? The last is from 02-2009 Regards, Johan I downloaded one from this month a couple days ago. You should see a May snapshot available. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Configuring an IPv6 router to assign addresses
On Wed, 2009-05-06 at 14:30 +, af300...@gmail.com wrote: Hi, I've found in the handbook how to start up a v6 router and some other helpful links on this topic at the FreeBSD diary. However, I'm wondering, You want to the rtadvd(8) daemon. $ sudo grep -i rtadvd /etc/defaults/rc.conf rtadvd_enable=NO # Set to YES to enable an IPv6 router rtadvd_interfaces=# Interfaces rtadvd sends RA packets. To hand out DNS servers, you'll want DHCPv6, but most folks are okay with the DNS servers they're getting via IPv4 static/dhcp. I recommend purchasing ipvbook.ca. Great read. ~BAS how do I configure the router to assign addresses to hosts. Thanks, Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: filesystem: 12h to delete 32GB of data
On Wed, 2009-05-06 at 13:54 +0200, Olivier Mueller wrote: - it took about 12 hours to delete these 30GB of files and sub-directories (smarty cache files: many small files in many dirs). Haven't you ever had the pleasure of running Sendmail on Solaris? :) Move this data store to a separate partition. When it comes time to burn the queue, stop the service, unmount the partition, newfs it, remount, restart svc. Long live Pisces v2. ~BAS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: HyperThreading
On Wed, 2009-05-06 at 02:20 -0400, APseudoUtopia wrote: Am I correct to assume that the above means that HTT is enabled? There is nothing in my loader.conf, sysctl.conf, or kernel config file related to hyperthreading. Yes, you are correct. Try: % sudo ps gauxww Or % sudo top You can see the currently assigned CPU for each proc/thread. ~BAS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD on VMware ESXi
On Wed, 2009-05-06 at 13:44 +0300, Daniels Vanags wrote: We moved Hard Disk Drives from HP ProLiant DL 385 G2 with 4GB RAM, AMD Opteron processor to HP ProLiant DL 380 G5, 4GB RAM, Intel Xeon processor. Disks contain FreeBSD Virtual Machines running in VMware ESXi Server. When trying to boot, getting error: BTX halted. Please explain, how to start FreeBSD on different hardware. Well, assuming that HFUX's RAID, VMWare and Linux doesn't totally shit the bed from the hypervisor CPU type change, the VMs are controllable from the spiffy AJAX/.Net20 VMWare management console. There's plenty of debugging available from there. Presumably all of the virtual hardware presented to the VM will be the same, except the CPU details. ~BAS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: isc-dhcpd server, HOSTNAME
At 09:42 AM 5/7/2009, Pieter Donche wrote: FreeBSD7 with isc-dhcp30-server. It hands out an IP address, OK, but the BASH environment variable HOSTNAME is not set. Why? (A DNS server is active on the network and can succesfully be queried from a FreeBSD bash command (nslookup or host) to see the hostname associated with the IP-address) I have a later version of dhcpd running on FreeBSD without problems. If your DHCP scope is setup correctly and your DHCP clients are getting settings that work, I'm not sure what is the problem you are experiencing. You hostname variable can be set in the startup bash (or any other shell's startup scripts) scripts on login. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Snapshots
On 8/5/09 12:36, Derek Ragona wrote: At 04:00 AM 5/5/2009, Johan Hendriks wrote: Are there no more snapshots of current? The last is from 02-2009 Regards, Johan I downloaded one from this month a couple days ago. You should see a May snapshot available. -Derek Also see http://pub.allbsd.org/FreeBSD-snapshots/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Teaming NIC
Daniels Vanags wrote: FreeBSD 6.3 has new device called lagg(4). Lagg is a link aggregation and link failover interface. With lagg we can easily bond two NIC interfaces together. But how we can do NIC teaming in FreeBSD 6.2? Please help. Take a look at ng_fec, it implements Cisco's EtherChannel. ng_one2many can also be used to bond two or more interfaces, but keep in mind that it is not based on any standard and it will handle of course only outgoing traffic since incoming traffic must be handled from the remote side, the ethernet switch. There are plenty of choices to implement such a thing, beyond those two approaches... If you want some ideas, please state your needs. Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Run script on boot, as ordinary user
Nerius Landys nlan...@gmail.com writes: Seems that @reboot in cron is what I need. It's too bad that there's no straightforward shutdown hook. If you really want an rc-style system available to users, it should only be ten minutes work to write something simple... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Command-line IRC client
On Thu, 7 May 2009 17:19:47 -0700, Nerius Landys nlan...@gmail.com wrote: What is the most recommended IRC client that runs in a terminal? rtorrent is to bit torrent what is to IRC. If you are into Emacs, there are a few clients that run inside Emacs, both in GUI/X11 frames and console sessions. One of the major features of ERC (one of these clients) is that small customizations and extensions are *very* easy to hack when you know a bit of Emacs Lisp already. Here are for example some of the local customizations I made to my local setup: http://bitbucket.org/keramida/dot-emacs/src/tip/elisp/keramida-erc.el#cl-116 A small function that autojoins channels after Freenode's NickServ has had a chance to cloak user information. http://bitbucket.org/keramida/dot-emacs/src/tip/elisp/keramida-erc.el#cl-177 http://bitbucket.org/keramida/dot-emacs/src/tip/elisp/keramida-erc.el#cl-183 http://bitbucket.org/keramida/dot-emacs/src/tip/elisp/keramida-erc.el#cl-189 Shorthand aliases for /cs - /chanserv, /ns - /nickserv and /ms - /memoserv. There is also a ton of information about ERC and other Emacs-based IRC clients at the EmacsWiki: http://www.emacswiki.org/emacs/InternetRelayChat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
6.0 to 6.4 upgrade - buildkernel fails
Hello, everybody. I'm trying to source upgrade from 6.0-RELEASE to 6.4. I really need to update this system, because 6.0 has too many holes now. I cvsup'ed to RELENG_6_4 and buildworld went ok, but buildkernel fails ait this stage: [skipped] -- stage 2.3: build tools -- cd /usr/obj/usr/src/sys/KERNEL; MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm make -DNO_CPU_CFLAGS -f /usr/src/sys/dev/aic7xxx/aicasm/Makefile Warning: Object directory not changed from original /usr/obj/usr/src/sys/KERNEL yacc -b aicasm_gram -d -o aicasm_gram.c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symbol_delete': /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:91: warning: passing arg 2 of pointer to function from incompatible pointer type /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:91: error: too few arguments to function /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_open': /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:135: warning: assignment makes pointer from integer without a cast /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_close': /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:151: error: structure has no member named `seq' /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:151: error: `R_FIRST' undeclared (first use in this function) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:151: error: (Each undeclared identifier is reported only once /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:151: error: for each function it appears in.) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:157: error: too few arguments to function /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_get': /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:176: warning: passing arg 2 of pointer to function from incompatible pointer type /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:176: error: too few arguments to function /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:189: warning: passing arg 2 of pointer to function from incompatible pointer type /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:189: error: too few arguments to function /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_dump': /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:486: error: `R_FIRST' undeclared (first use in this function) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:487: error: structure has no member named `seq' /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:524: error: `R_NEXT' undeclared (first use in this function) *** Error code 1 Stop in /usr/obj/usr/src/sys/KERNEL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. My config is the same as GENERIC, but with pf and altq options included. Is it possible to use freebsd-udate on this old system? Any help will be much appreciated. -- Best regards, Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Licensing
On May 8, 2009 01:09:51 am Steve Bertrand wrote: I've got a question that is likely not suited for this list, but I know that there are people here who can guide me off-list. Being a network engineer, I'm far from a developer. With that said, I've written numerous network automation programs (mostly in Perl), and have developed several small patches for software written in C related to ISP operations (including the OS itself). I'm looking for advice on how I can take all of my code, and license it into the public domain. I'm sure that most people won't have any interest in it, but I really want to ensure that what I have done is freely accessible. All of my code is pretty well separated into different files that contain different functions, so isolating portions of my programs that use modules or functions that are external is not a problem. GPL seems too verbose legally for me. Can the BSD license fit into any code, no matter what language it is in, and if so, can I have my code overlooked by someone who can verify that the BSD license will fit? Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I would keep away from the term 'public domain', which means you would lose any rights to it whatsoever. I don't think the language makes any difference. Basically, the BSD license is OK if you don't mind others taking the code, modifying it and distributing binaries without making the modified source available. If you don't like the last part, consider the GPL. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Changing NIC
- FreeBSD 7.2-STABLE I am about the change the (working) nic of my FreeBSD server with a gigabit one. Logically I think it would be good to add the new nic first and test it and if it is working, just remove the old one (or leave it without cable). Is that the common way of doing such? Are there disadvantages with that? Jos Chrispijn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Changing NIC
- FreeBSD 7.2-STABLE I am about the change the (working) nic of my FreeBSD server with a gigabit one. Logically I think it would be good to add the new nic first and test it and if it is working, just remove the old one (or leave it without cable). Is that the common way of doing such? Are there disadvantages with that? Jos Chrispijn The only thing need to change is the line ifconfig_(interface_name)=xxx.xxx .. in the file /etc/rc.conf If the server can be offline for some time, install the new NIC and remove the old one. Then look in dmesg what name the new nic has, like bge0 or em0 or something like that. Edit your /etc/rc.conf file so the line ifconfig_ has your new nic module name, like ifconfig_em0= and restart the network with /etc/netstart If all is working a final reboot and all should be OK Regards, Johan No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.5.325 / Virus Database: 270.12.21/2102 - Release Date: 05/08/09 06:34:00 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Licensing
On Fri, May 8, 2009 at 8:38 AM, Mike Jeays mike.je...@rogers.com wrote: On May 8, 2009 01:09:51 am Steve Bertrand wrote: I've got a question that is likely not suited for this list, but I know that there are people here who can guide me off-list. Being a network engineer, I'm far from a developer. With that said, I've written numerous network automation programs (mostly in Perl), and have developed several small patches for software written in C related to ISP operations (including the OS itself). I'm looking for advice on how I can take all of my code, and license it into the public domain. I'm sure that most people won't have any interest in it, but I really want to ensure that what I have done is freely accessible. All of my code is pretty well separated into different files that contain different functions, so isolating portions of my programs that use modules or functions that are external is not a problem. GPL seems too verbose legally for me. Can the BSD license fit into any code, no matter what language it is in, and if so, can I have my code overlooked by someone who can verify that the BSD license will fit? Steve I would keep away from the term 'public domain', which means you would lose any rights to it whatsoever. Public Domain does NOT invalidate Copyright : The owner of the work is the copyright holder . Public Domain is a license kind which means that there is no any condition on the usage . For example , BSD-style licenses generally are mentioned as 2-clause ( conditions ) , 3-clause ( conditions ) , etc. . Public Domain license means Zero-clause license . I don't think the language makes any difference. Basically, the BSD license is OK if you don't mind others taking the code, modifying it and distributing binaries without making the modified source available. If you don't like the last part, consider the GPL. Language and used libraries sometimes may cause problems for the users of the sources when they want to distribute executables . For example , if a BSD-style licensed source uses GPL parts as called procedures , NOT the users of the both sources have any restriction , but when executable is distributed to others , BSD-style licensed sources also should be distributed due to GPL conditions although BSD-styled licensed part itself does not require distribution . My opinion is that most restrictive license is GPL although it is claimed that it gives freedom to users to get the source and modify it when they need . One point is forgotten or ignored : A BSD-style licensed source is also available from its originators whether it is distributed by its users or not . Thank you very much . Mehmet Erol Sanliturk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Changing NIC
2009/5/8 Johan Hendriks jo...@double-l.nl: - FreeBSD 7.2-STABLE I am about the change the (working) nic of my FreeBSD server with a gigabit one. Logically I think it would be good to add the new nic first and test it and if it is working, just remove the old one (or leave it without cable). Is that the common way of doing such? Are there disadvantages with that? Jos Chrispijn The only thing need to change is the line ifconfig_(interface_name)=xxx.xxx .. in the file /etc/rc.conf If the server can be offline for some time, install the new NIC and remove the old one. Then look in dmesg what name the new nic has, like bge0 or em0 or something like that. Edit your /etc/rc.conf file so the line ifconfig_ has your new nic module name, like ifconfig_em0= and restart the network with /etc/netstart If all is working a final reboot and all should be OK Regards, Johan To be honest, it should be OK even without the final reboot. Johan, is there a reason you prefer /etc/netstart rather than /etc/rc.d/netif restart? Are they equivalent, or is netstart 'better' for any reason? Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Licensing
Mehmet Erol Sanliturk wrote: On Fri, May 8, 2009 at 8:38 AM, Mike Jeays mike.je...@rogers.com wrote: I would keep away from the term 'public domain', which means you would lose any rights to it whatsoever. Public Domain does NOT invalidate Copyright : The owner of the work is the copyright holder . Public Domain is a license kind which means that there is no any condition on the usage . For example , BSD-style licenses generally are mentioned as 2-clause ( conditions ) , 3-clause ( conditions ) , etc. . Public Domain license means Zero-clause license . Giving advice like this on an international list is practically an exercise in futility, as there's pretty much a 100% chance that what you're saying is completely wrong in at least one country (and, yes, that goes for everything I say below too :-). However, in some places, public domain does indeed mean that there is no copyright on it. It is my understanding that in some countries it is difficult, if not impossible, to disclaim copyright, so you can't put your own works into the public domain. Public Domain license is conflating copyrights and licenses, which while they interact, are not at all the same thing. In fairness I will grant that this is a common usage, despite the fact that some of us deplore its imprecision. My suggestion to the OP: 1) Make sure your employer (if any) doesn't have rules on this that you wish to follow, 2) Pick a license that appeals to you, 3a) If the software isn't important enough or valuable enough that you see hiring a lawyer if somebody violates your license, you're done, as so long as the license expresses what you'd prefer people to do, it really doesn't matter much whether or not you theoretically could enforce it, 3b) If this is valuable software, see a lawyer *before* you publish the software, preferably one who understands intellectual property *and* the various licenses that are available for free software. Do NOT depend on free advice from amateurs such as myself. Frankly, unless you see this software as providing revenue, or being part of some grand product you're releasing in phases, your license is making a philosophical declaration that a fair percentage of honorable users will more or less honor. The costs of bringing legal action to actually enforce a license are probably completely out of line with the value of the network utilities that you want to share. -- --Jon Radel j...@radel.com smime.p7s Description: S/MIME Cryptographic Signature
print test page - false negative
Just an anecdote to any of you who may be having trouble configuring printing: I installed FreeBSD 7.2 Release with CUPS and gutenprint-cups. The printer in question is an Epson Stylus Photo R280, which is supported by gutenprint. After configuring CUPS, including permissions for /dev/ulpt0, I could print; but the test page came out as garbage. In a moment of frustration, I tried to print the CUPS configuration window from the File menu in firefox..it worked! I then shutdown and left to see Star Trek before anything could go wrong. :-) I'll try to print from other applications later. Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Autofs howto
--On Thursday, May 07, 2009 22:16:01 -0500 Jason Garrett kinged...@gmail.com wrote: While cryptic, It has worked well for me with multiple FreeBSD and Linux hosts on my network. Hopefully it will work well for me too. However, I am struggling with the documentation, trying to figure out how to translate the developer-speak into normal human language. Here's what one of our guys is using on linux (I changed the hostname to foobar): cat /etc/auto.master /home ldap //foobar.utdallas.edu/nismapname=auto_home,dc=utdallas,dc=edu nfsvers=3 proto=tcp /proj ldap //foobar.utdallas.edu/nismapname=auto_proj,dc=utdallas,dc=edu nfsvers=3 proto=tcp /net-hosts So how do I tranlsate that into FreeBSD amd conf and map files? It's got me stumped. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Licensing
On Fri, May 08, 2009 at 01:09:51AM -0400, Steve Bertrand wrote: I've got a question that is likely not suited for this list, but I know that there are people here who can guide me off-list. Being a network engineer, I'm far from a developer. With that said, I've written numerous network automation programs (mostly in Perl), and have developed several small patches for software written in C related to ISP operations (including the OS itself). I'm looking for advice on how I can take all of my code, and license it into the public domain. I'm sure that most people won't have any interest in it, but I really want to ensure that what I have done is freely accessible. All of my code is pretty well separated into different files that contain different functions, so isolating portions of my programs that use modules or functions that are external is not a problem. GPL seems too verbose legally for me. Can the BSD license fit into any code, no matter what language it is in, and if so, can I have my code overlooked by someone who can verify that the BSD license will fit? The first thing to determine is if any other entity might hold some interest (ownership/copyright interest) in any of it. If you were employed by someone or some institution to do the work or the work was done during time paid by those entities, then they may have an interest. If that is not the case, then the next thing to determine is if any of it should be submitted to existing OSen or Utilities as patches - bug fixes or improvements. These two may not be a conflict as many businesses will have no problem with you submitting back fixes in software you are using in their behalf. eg, for example, if you are using FreeBSD to run a system for the business and write a patch for FreeBSD while on company time that helps that business operate better, they probably will have no problem with your submitting the patch for permanent inclusion in FreeBSD. As much as possible, then, submit PRs and include the diffs that cover the fixes or improvements. Finally, if you have complete clear ownership of some unique utilities, then include license terms in the source with a requirement that the license term be included in any subsequent distributions and then submit the utilitie as a port - if it is for FreeBSD. For a reasonable idea of how to compose license terms, check out the license terms for FreeBSD on the web site. I really don't know where to submit it if it is not for FreeBSD, although there are several sites that such as SourceForge that make themselves repositories for various usefull utilities. You'd have to check with them for how to go about submitting things and what is expected in the way of support, etc. Please include well documented source and clear statements as to what the utilities do and how to use them. Writing man pages and why-to as well as how-tos is important. You don't have to worry a whole lot Good luck, jerry Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
7.2-Stable - smbfs.ko Is Missing
I just did an update and make world/kernel with the stable sources as of this morning. The boot process grumbles and goes single user because it cannot find smbfs.ko to mount some SMB shares. Any ideas why this module has suddenly disappeared and/or a workaround? Thanks, -- Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/PGP/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
7.2-Stable - smbfs.ko Is Missing
I just did an update and make world/kernel with the stable sources as of this morning. The boot process grumbles and goes single user because it cannot find smbfs.ko to mount some SMB shares. Any ideas why this module has suddenly disappeared and/or a workaround? Thanks, -- Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/PGP/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Command-line IRC client
On Thu 2009-05-07 17:19:47 UTC-0700, Nerius Landys (nlan...@gmail.com) wrote: What is the most recommended IRC client that runs in a terminal? irssi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What make is in 7.1?
2009/5/6 Lars Eighner luvbeas...@larseighner.com: When I do man make I get a man page and it includes references to the pmake tutorial which seems to be basis of an HTMLize pmake tutorial in one of the books. But clearly the installed make is not the pmake described in the tutorial. The tutorial frequently suggest using Pmake -h for more details about particular points. But in 7.1 make -h results in an illegal option message. There is no pmake or Pmake. There is a pmake port but it won't build in 7.1. So it seems I have a lot of documentation for pmake, which clearly I don't have and can't get. Where is the documentation for the make I do have? Have you tried % man /usr/share/man/man1/make.1.gz ? % man -d make . . . searching in /usr/share/man trying section 1 with globbing globbing /usr/share/man/man1/make.1* found ultimate source file /usr/share/man/man1/make.1.gz to_name in convert_name () is: /usr/share/man/cat1/make.1.gz will try to write /usr/share/man/cat1/make.1.gz if needed . . . -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
how to fix interrupt storm
What, exactly, is an interrupt storm, and how do I fix it? I have added a 64GB Patriot flash drive to a 7.0 system, but it does not seem to be working properly. Pertinent parts of dmesg.boot: FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (449.85-MHz 686-class CPU) Origin = GenuineIntel Id = 0x652 Stepping = 2 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real memory = 67100672 (63 MB) avail memory = 51662848 (49 MB) ... atapci1: VIA 6421 SATA150 controller port 0x1800-0x180f,0x14f0-0x14ff,0x14e0-0x14ef,0x14d0-0x14df,0x14a0-0x14bf,0x1000-0x10ff irq 9 at device 16.0 on pci0 atapci1: [ITHREAD] ata2: ATA channel 0 on atapci1 ata2: [ITHREAD] ata3: ATA channel 1 on atapci1 ata3: [ITHREAD] ata4: ATA channel 2 on atapci1 ata4: [ITHREAD] ... ad6: FAILURE - SET_MULTI status=51READY,DSC,ERROR error=4ABORTED ad6: 61136MB PATRIOT MEMORY 64GB SSD 02.10104 at ata3-master SATA150 At first things look OK, despite the FAILURE message: $ ls -l /dev/ad6* crw-r- 1 root operator0, 88 May 3 20:30 /dev/ad6 $ file -s /dev/ad6 /dev/ad6: x86 boot sector, Microsoft Windows XP MBR, Serial 0x9e5523de $ grep -w ad6 /usr/local/etc/mtools.conf drive f: file=/dev/ad6 $ mdir f: init F: non DOS media Cannot initialize 'F:' Now this seems a bit odd: file(1) says it's a Windows disk, but mdir(1) says it isn't. (Note that there are no slices, else the initial ls(1) should have shown them, so I suppose the drive has a single FAT filesystem as one would expect on a floppy disk.) Then, when I tried to investigate further by examining the contents of the drive with od -c /dev/ad6 | more, I got one screenful of output followed by (on console and in dmesg): interrupt storm detected on irq9:; throttling interrupt source interrupt storm detected on irq9:; throttling interrupt source interrupt storm detected on irq9:; throttling interrupt source interrupt storm detected on irq9:; throttling interrupt source interrupt storm detected on irq9:; throttling interrupt source ad6: FAILURE - SET_MULTI status=51READY,DSC,ERROR error=4ABORTED ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=10712 interrupt storm detected on irq9:; throttling interrupt source interrupt storm detected on irq9:; throttling interrupt source interrupt storm detected on irq9:; throttling interrupt source interrupt storm detected on irq9:; throttling interrupt source interrupt storm detected on irq9:; throttling interrupt source ad6: FAILURE - SET_MULTI status=51READY,DSC,ERROR error=4ABORTED ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=136936 etc. etc. until I killed it with ^C. (Just entering q, to cause more(1) to exit and presumably stop od(1) with a SIGPIPE, did not stop the spew of messages.) What does this indicate? Hardware problems? Bad configuration? Something else? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Changing NIC
Jos Chrispijn wrote: - FreeBSD 7.2-STABLE I am about the change the (working) nic of my FreeBSD server with a gigabit one. Logically I think it would be good to add the new nic first and test it and if it is working, just remove the old one (or leave it without cable). Is that the common way of doing such? Are there disadvantages with that? One caveat comes to mind is don't make the mistake of putting the new NIC in the same subnet as the old one. If it tests out OK you can flip them with an rc.conf edit and a reboot, and/or a netif restart if you don't want to reboot. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Licensing
On Fri, May 08, 2009 at 01:09:51AM -0400, Steve Bertrand wrote: I'm looking for advice on how I can take all of my code, and license it into the public domain. I'm sure that most people won't have any interest in it, but I really want to ensure that what I have done is freely accessible. The term public domain has a very specific legal meaning and, unfortunately, that meaning can actually vary from jurisdiction to jurisdiction. For instance, while France does have a public domain, you cannot release a work into the public domain -- you must use a specific license if you want to grant open access to that work. In most jurisdictions, public domain refers to a state where one has disclaimed copyright for something or otherwise given up all copyright claims on it. Note that copyright and credit are not the same thing, however. Attribution is ethically a matter of fraud, and most jurisdictions will legally treat it as a matter of fraud as well if something is misrepresented as being written by someone other than its actual author, though some jurisdictions add additional attribution protection through copyright. It is for reason of the fact that copyright law is much more widely supported across different jurisdictions (i.e., in different countries or legal systems) than any standardized understanding of public domain that most people with any understanding of the complexities will recommend using a license rather than the public domain, even if what you want is effectively the public domain. If that's your actual goal, select a license whose terms most closely approximate the public domain as you understand it, and let that be your legally binding statement of intent (for any jurisdiction that recognizes your copyright and your licensing privilege under copyright law). I'm happy to see someone wanting to make his code available to the world, by the way. Kudos to you. If there are no competing copyright claims on any of the work (such as an employment agreement that might interfere with your sole copyright claims), I absolutely encourage you to see through your intent to open the code up. Note, however, that I am not a lawyer in *any* jurisdiction, and the above should not be considered legal advice per se. Courts of law are notoriously fickle things that, for some reason, tend to be really bad at interpreting things the way the majority of humans believe they should be interpreted. Let the buyer beware, as they say. All of my code is pretty well separated into different files that contain different functions, so isolating portions of my programs that use modules or functions that are external is not a problem. GPL seems too verbose legally for me. Can the BSD license fit into any code, no matter what language it is in, and if so, can I have my code overlooked by someone who can verify that the BSD license will fit? Have you considered choosing a license that doesn't lock what you give to the world into the realm of code? While the terms of the BSD license for code in particular are great in my opinion, the fact that they specify software source code is not so great, because sticky ambiguities can arise when someone wants to include that code in a non-software context (such as writing an article or a book that makes use of the code, including it in music lyrics, showing it in a video production of some sort, and so on). My favorite license for all purposes at present is the Open Works License, and I actually use it to license all my emails to this mailing list: http://owl.apotheon.org While I'm at it, my favorite general licensing policy is copyfree. Where strong copyright protection is the default for many countries, notably the US and much of Europe, and copyleft is the Free Software Foundation's answer to copyright as a way of turning the purpose of copyright on its head, copyfree is kind of a rejection of both copyright and copyleft. Check out the canonical explanation: http://copyfree.org/policy/ Both the BSD license and the Open Works License are copyfree licenses, as are a number of other popular and widely used licenses. I hope you get some value from my rambling. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Thomas McCauley: The measure of a man's real character is what he would do if he knew he would never be found out. pgpcVb4rDivpd.pgp Description: PGP signature
Re: Autofs howto
On May 8, 2009, at 10:57 AM, Paul Schmehl wrote: --On Thursday, May 07, 2009 22:16:01 -0500 Jason Garrett kinged...@gmail.com wrote: While cryptic, It has worked well for me with multiple FreeBSD and Linux hosts on my network. Hopefully it will work well for me too. However, I am struggling with the documentation, trying to figure out how to translate the developer-speak into normal human language. Here's what one of our guys is using on linux (I changed the hostname to foobar): cat /etc/auto.master /home ldap //foobar.utdallas.edu/ nismapname=auto_home,dc=utdallas,dc=edu nfsvers=3 proto=tcp /proj ldap //foobar.utdallas.edu/ nismapname=auto_proj,dc=utdallas,dc=edu nfsvers=3 proto=tcp /net-hosts I haven't played with Linux's autofs and when I did my look at it was shallow. From what you have here it looks like foobar.utdallas.edu is a NFS v3 server that offers a pair of directory hierarchies. He's mounting one of them on locally as /home and another as /proj. If you want to do that in FreeBSD this should get you going. *** /etc/amd/amd.conf *** [ global ] browsable_dirs =no map_type = file mount_type =nfs search_path = /etc auto_dir = /.amd cache_duration =30 log_file = syslog:daemon log_options = fatal,error print_pid = yes pid_file = /var/run/ amd.pid restart_mounts =yes selectors_in_defaults = no [ /home ] map_name = /etc/amd/ home.map [ /proj ] map_name = /etc/amd/ proj.map *** /etc/amd/home.map *** /defaults type:=nfs;opts:=tcp,intr,nodev,nosuid,umount,vers=3;\ rhost:=foobar.utdallas.edu;rfs:=/home/${key} * fs:=${autodir}/home/${key} *** /etc/amd/proj.map *** /defaults type:=nfs;opts:=tcp,intr,nodev,nosuid,umount,vers=3;\ rhost:=foobar.utdallas.edu;rfs:=/proj/${key} * fs:=${autodir}/proj/${key} --- In the map files you'll need to make sure that the rfs entry matches the directory tree that foobar.utdallas.edu is exporting. e.g. if you would manually mount the directory under FreeBSD like this: # mount_nfs -o tcp,intr,nodev,nosuid foobar.utdallas.edu:/home/ pschmehl /home/pschmehl or the fstab entry that you would use looks like this: # foobar.utdallas.edu:/home/pschmehl /home/pschmehl nfs noauto,tcp,intr 0 0 Then the rfs entry should look like this: ...;rfs:=/home/${key} This setup assumes that you've exported the directory try with FreeBSD's equivalent of the -alldirs option. This option allows you to mount any point under the exported tree rather than forcing you to mount the entire filesystem. A typical setup on FreeBSD would be to export /home with --alldirs then an NFS client can mount /home/ cshilton or /home/jbauer or whatever. Hope this helps -- Chris Sorry if I've got some minor bobbles in the syntax on the mount or fstab lines. So how do I tranlsate that into FreeBSD amd conf and map files? It's got me stumped. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Chris Hilton chris-at-vindaloo-dot-com All I was doing was trying to get home from work! -- Rosa Parks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ndis0 interrrupt storm
Paul B. Mahol wrote: On 5/7/09, Chris Whitehouse cwhi...@onetel.com wrote: In the meantime I've tried the three possible drivers (XP, NT and an unlabelled one). I've also installed a recent 8-current snapshot, updated to latest source and built world, and tried the XP driver. Still get interrupt storms everywhere, also a panic (I think) in 8-current. Should I give up or are there other things to try? Panic should not happen. Please provide backtrace(or crashdump or textdump) `fetch http://www.fishercroft.plus.com/vmcore.1.gz' should get a crashdump from a non-debug kernel, see below. It's about 17mb I built a driver with the XP driver using ndisgen and the same source as my recent build world. I kldload the driver module which also loads ndis.ko and if_ndis.ko. I've got wlans_ndis0=wlan0 in rc.conf and I get ndis0 and wlan0 created when I plug in the card. The interrupt storm starts when I do # ifconfig wlan0 ip addr The panic occurs maybe a minute or two after the ifconfig. I got a panic but I couldn't get a crashdump with the GENERIC kernel (nothing relevant to dumpon or savecore happened at all, no boot messages, nothing in /var/crash). I did get a bunch of stuff on ttyv0, I can post a photo somewhere if required. Or is there a way to get the screen output in text format? I built a kernel with the following changes #cpuI486_CPU #cpuI586_CPU #makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols #optionsKDB # Enable kernel debugger support. #optionsDDB # Support DDB. #optionsGDB # Support remote GDB. #optionsINVARIANTS # Enable calls of extra sanity checking #optionsINVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS #optionsWITNESS # Enable checks to detect deadlocks and cycles #optionsWITNESS_SKIPSPIN# Don't run witness on spinlocks for speed I got on ttyv0: interrupt storm detected on irq11:; throttling interrupt source repeated about 20 times then Sleeping thread (tid 100084, pid 0) owns a non-sleepable lock panic: sleeping thread cpuid = 0 Uptime:17m26s Physical memory: 434 MB Dumping 79 MB: 64 48 32 16 Dump complete (The above typed by hand) Let me know if there is more I can do but (caveat) I'm not a developer and I only put CURRENT on the machine to test if the problem had been fixed, ie please don't flame me if you ask me really difficult stuff and I don't understand it :) uname -a FreeBSD eight.config 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri May 8 11:20:35 BST 2009 r...@eight.config:/usr/obj/usr/src/sys/MYKERNEL i386 Thanks Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.2-Stable - smbfs.ko Is Missing
Tim Daneliuk wrote: I just did an update and make world/kernel with the stable sources as of this morning. The boot process grumbles and goes single user because it cannot find smbfs.ko to mount some SMB shares. Any ideas why this module has suddenly disappeared and/or a workaround? Thanks, Nevermind - a new make world/kernel fixed things ... it may have been an artifact of a full /tmp filesystem ... -- Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/PGP/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Autofs howto
Paul Schmehl wrote: /home ldap //foobar.utdallas.edu/nismapname=auto_home,dc=utdallas,dc=edu nfsvers=3 proto=tcp According to the documentation of FreeBSD amd one can use ldap maps with it (i have no experience of that). The doc is in: /usr/src/contrib/amd/doc/am-utils.texi -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Autofs howto
--On Friday, May 08, 2009 14:56:34 -0500 Christopher Sean Hilton ch...@vindaloo.com wrote: In the map files you'll need to make sure that the rfs entry matches the directory tree that foobar.utdallas.edu is exporting. e.g. if you would manually mount the directory under FreeBSD like this: # mount_nfs -o tcp,intr,nodev,nosuid foobar.utdallas.edu:/home/ pschmehl /home/pschmehl I can mount my homedir this way: # mount_nfs foobar.utdallas.edu:/home/003/p/pa/pauls /mnt/unix_home I assume this means that this should work: rfs:=/home/003/p/pa/${key} And then I cd to /Home/pauls (there's a section in my amd.conf file named [/Home] that has a corresponding map file amd.home which contains the syntax for mapping the drive. # cat /etc/amd.conf | grep -A3 Home [/Home] map_type=nfs map_name=amd.home mount_type =autofs # cat /etc/amd.home /defaults type:=nfs;opts:=tcp,intr,nodev,nosuid,umount,vers=3 \ rhost:olympus.utdallas.edu;rfs:=/home/003/p/pa/${key} * fs=${autodir}/${key} But that fails with a directory does not exist error. But I can already map my home drive manually. What I'm trying to figure out is how to use our ldap server to mount my home drive so that when/if it gets moved again (which happens occasionally) it will still mount and not break. The Linux construction is: ldap //rhost/nismapname=auto_home,ldap_base,nfsvers=3,proto=tcp. I can't for the life of me figure out how to get from that syntax to the amd syntax. But since I can't even automount my home using what I thought was the right syntax for amd, I guess I need to figure that out first. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
[warn] kevent: Bad file descriptor
I just compiled and installed nTop 3.3.10 and now I'm getting this error. Had an older version running before this with no problem. I'm on 6.0 RELEASE. I'm still googling, any quick fixes would be GREATLY appreciated! I've been debugging and compiling all day and want to leave with this $hhh IT working! TIA! Gary font size=1 div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in' /div This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. /font ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Run script on boot, as ordinary user
On Thu, 7 May 2009 17:22:01 -0700, Nerius Landys nlan...@gmail.com said: N Seems that @reboot in cron is what I need. It's too bad that there's N no straightforward shutdown hook. I use something like the script below to send me a popup message whenever one of my boxes shuts down, planned or otherwise. It assumes that if you can run cron jobs, you can be trusted to run something as yourself at system shutdown. For safety, nothing is run as root, and cron users can only run a script called called '/home/./$username/rc.d/shutdown'. Add this to /etc/rc.shutdown: run-rc-shutdown | sh If you don't have setuidgid installed, replace with su -c ... -- Karl Vogel I don't speak for the USAF or my company The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. --bizarre expressions found in student English papers --- #!/usr/bin/perl -w # run-rc-shutdown: print commands to run any non-root shutdown scripts. use strict; my ($dir, $dh, $home, $script, $uid, $usr); $dir = '/var/cron/tabs'; # BSD. #$dir = '/var/spool/cron/crontabs';# Solaris. opendir($dh, $dir) || die opendir $dir: $!\n; my @users = sort (grep (!/^\./, readdir($dh))); closedir($dh); foreach (@users) { ($usr, $uid, $dir) = (getpwnam($_))[0,2,7]; next unless $dir =~ m!/home/./$usr!; next unless $uid 0; $script = $dir . '/rc.d/shutdown'; print /usr/local/bin/setuidgid $usr $script\n if -x $script; } exit(0); ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Help creating bpf0 device (bpf won't do it for me)
Hello, I'm in the final stages of setting up a new wireless connection but have been having problems getting bpf running. For some reason, even though bpf has been compiled into a new kernel, the system won't automatically create a bpf0 device. On boot, the system complains pcap_open_live: (no devices found) /dev/bpf0: No such file or directory. The ultimate goal is to have this laptop connect wirelessly to my WPA2-protected WAP (already working fine with other boxes) using a static IP. I've successfully compiled in support for the Atheros-based PCMCIA card, edited rc.conf to exclude DHCP and to use wpa_supplicant.conf, and eventually compiled in bpf when I started receiving the pcap_open_live messages. I suspect bpf is needed not for DHCP which is not running, but for some of the parameters I added to wpa_supplicant.conf, which is as follows: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid=my_ssid scan_ssid=1 proto=RSN key_mgmt=WPA-PSK pairwise=CCMP psk=my_ssid } If someone would be so kind as to explain what is calling bpf and how I can create a bpf0 device by hand, I would be indebted. Thanks... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Compass 597 Sprint
On Thu, 7 May 2009 08:25:39 -0700, in sentex.lists.freebsd.questions you wrote: Has anyone got a Compass 597 from Sprint to work? And if so can I get some pointers? Not sure about the sprint version, but I use the Telus version and it works quite well with u3g from STABLE and HEAD Manufacturer: Sierra Wireless, Inc. Model: C597 Rev 1.0 (2) Revision: p2314500,8087 [Mar 06 2008 17:19:08] QCOM: SWI6800V2_FD.00.32 BOOT: SWI6800V2_FP.01.45 2008/03/07 16:36:13 APPL: SWI6800V2_FP.01.45 2008/03/07 16:36:13 SWOC: CDPC_4_01.02.02 USB VID: 0x1199 PID: 0x0023 +GCAP: +CIS707-A, CIS-856, CIS-856-A, +MS, +ES, +DS, +FCLASS For ppp I use evdo: set device /dev/cuaU0.0 set speed 115200 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \\ AT OK-AT-OK ATE1Q0s7=60 OK \\dATDT\\T TIMEOUT 40 CONNECT set phone #777 # The authname and authkey are meaningless, but you need to have them set. # Verizon's servers don't seem to care what you auth as. set authname doesn't matter set authkey doesn't matter either disable vjcomp disable acfcomp disable deflate disable deflate24 disable pred1 disable protocomp disable mppe disable ipv6cp disable lqr disable echo set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR# Add a (sticky) default route enable dns ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Instant Workstation
What the fsck happened to the Instant Workstation port??? I'm using FreeBSD 7.2 Netinstall. Good network connection, clean install, etc. Just not finding that specific port. Has it been renamed (or abandoned?) Thanks in advance. --- Mike Albritton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Instant Workstation
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Albritton wrote: What the fsck happened to the Instant Workstation port??? I'm using FreeBSD 7.2 Netinstall. Good network connection, clean install, etc. Just not finding that specific port. Has it been renamed (or abandoned?) Thanks in advance. --- Mike Albritton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi Mike, The port was deleted a while back: http://www.freshports.org/misc/instant-workstation/ I suppose you could pull your own local copy of the port, if you needed to: http://www.freebsd.org/cgi/cvsweb.cgi/ports/misc/instant-workstation/?hideattic=0#dirlist The port was deleted due to an incomplete pkg-list and no one fixed it before the expiration date. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ http://twitter.com/sourcehosting -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoE7noACgkQ0sRouByUApB15gCfavPMo57kUmPnAQg6s0NeMM04 fpQAoMN2lNZH+LuIhb04mTEIdy5CVq6P =gnCK -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org