Re: Possible to run 2 instances of Bind DNS server in jails??
The only bit I'm not certain on is dedicating a nic to a jail (more because I havent tried than because I believe it cant be done, I'd expect that the network stack virtualization in 8+ should allow this.) You can most definately run seperate instances of applications in jails. I'd recomend subscribing to the freebsd-jails mailing list (http://lists.freebsd.org/mailman/listinfo/freebsd-jail) for jail specific questions as I've only dabbled with them a little. But a 10 second example [r...@seaurchin ~]# jls JID IP Address Hostname Path 1 10.20.0.3 womble/var/jails/womble 2 10.20.0.2 foobar/var/jails/foobar [r...@seaurchin ~]# jexec 1 ps ax PID TT STAT TIME COMMAND 8166 ?? SsJ0:06.69 /usr/sbin/syslogd -s 8231 ?? SsJ1:00.94 sendmail: accepting connections (sendmail) 8235 ?? IsJ0:00.92 sendmail: Queue run...@00:30:00 for /var/spool/client 8241 ?? SsJ0:08.55 /usr/sbin/cron -s 79334 ?? IsJ0:00.06 /usr/sbin/named -u bind 79559 0 R+J0:00.00 ps ax [r...@seaurchin ~]# jexec 2 ps ax PID TT STAT TIME COMMAND 8504 ?? IsJ0:01.15 sendmail: Queue run...@00:30:00 for /var/spool/client 8510 ?? SsJ0:08.35 /usr/sbin/cron -s 79447 ?? IsJ0:00.07 /usr/sbin/named -u bind 79584 0 R+J0:00.00 ps ax Hope that helps Vince Kaya Saman wrote: Hi, I'm just reading through a thread right now on a discussion or debate whether to ports Solaris Zones to FreeBSD. My main Google search criteria was basically that I wanted to know if FreeBSD had something similar. In this discussion it was mentioned that FreeBSD Jails where the sudo 'equivalent' to Zones but of course behave much more like a chroot environment. I have to ask if it's possible since I'm coming over from Solaris to dedicate NICs to Jails and run separate instances of applications in there, the one I am looking for primarily is Bind. As I would like to use a Sun Fire V480 server as a mainframe but stuck between the application advantages of FreeBSD and some of the virtualization technologies within Solaris. Has anyone got any advice or comments as to whether I can achieve my goal?? Many thanks, Kaya ___ 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: PPTP (VPN) FREEBSD 7-p3
d c wrote: I have used /usr/ports/net/pptpclient/ as long as I remember. I just setup a new 7.0 Desktop and installed the port. When I run pptp x.x.x.x I get: /bin/ip: not found /bin/ip: not found Loading /lib/libalias_cuseeme.so Loading /lib/libalias_ftp.so Loading /lib/libalias_irc.so Loading /lib/libalias_nbt.so Loading /lib/libalias_pptp.so Loading /lib/libalias_skinny.so Loading /lib/libalias_smedia.so Bit odd this, it seems to have the linux command ip (from the iproute2 package) hard coded. routing.c: snprintf(buf, 255, /bin/ip route get %s, ip); routing.c: snprintf(buf, 255, /bin/ip route replace %s, route); routing.c: snprintf(buf, 255, /bin/ip route delete %s, route); Not knowing the output format of the linux commands off hand I'm not sure if you could just replace them with /sbin/route or not, although freebsd route doesnt have a replace command that i know of. the cvsweb page at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pptpclient/ isnt responding so I couldnt tell you how it used to do it assuming its changed recently. Its probably worth your while asking the maintainer or filing a PR. I searched for /bin/ip and could not find it nor could I find ip anywhere in the file system. nope its a linuxism, doesnt exist in freebsd, for routing we use route. man ip brings up info but it looks like it is not a bin but a structure used in c??? not too sure about that. Has anyone ran across this? Is there an alternate instead of ip? Perhaps I can hack it into the source. I would probably suggest using mpd (/usr/ports/net/mpd5) myself, its very well supported on freebsd and although it does way more than you need its pretty simple to setup, (the sample mpd.conf has an example pptp_client you can adapt.) Vince TIA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load balance for POP3
[EMAIL PROTECTED] wrote: Hi Vince, On Mon, 30 Jun 2008, Vince Hoffman wrote: | | I need to switch the users connections between two POP3 servers based on | | login information. | | Since the login is part of the pop3 handshake, I'm stuck on how to | | transfer the connection and pass the info already sent. | |would nginx (as described here |http://highscalability.com/nginx-high-performance-smpt-pop-imap-proxy) |be more what your after? Yes, it seems thar Nginx has what I need. Do you have any working setup? Thank you, I'm afraid not, I looked into it a little but management ended up deciding we would be using zxtm load balancers (http://www.zeus.com/products/zxtm/) which were better suited for us overall. Vince - Marcelo Souza - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FB7.0 - ifconfig clone error - SIOCIFCREATE2: Invalid argument
Ross wrote: Hi there, I've been playing with a new FB7.0 setup (using the standard iso distribution), and trying to create some vlans by doing cloning via the rc.conf cloned_interfaces command - but that fails. (I'm using bce interfaces on a HP bl760c blade, if that makes any difference) Doing manual testing of ifconfig xyz0 create causes the error ifconfig: SIOCIFCREATE2: Invalid argument error to come up and the interface then doesn't get created. what command are you using exactly? it certainly works here. [EMAIL PROTECTED] (20:30:15 ~) 0 # ifconfig em1.5 ifconfig: interface em1.5 does not exist [EMAIL PROTECTED] (20:30:20 ~) 0 # ifconfig em1.5 create [EMAIL PROTECTED] (20:30:25 ~) 0 # ifconfig em1.5 em1.5: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=3RXCSUM,TXCSUM ether 00:07:e9:17:db:c9 media: Ethernet autoselect (100baseTX full-duplex) status: active vlan: 5 parent interface: em1 [EMAIL PROTECTED] (20:30:26 ~) 0 # ifconfig em1.5 destroy Or [EMAIL PROTECTED] (20:30:55 ~) 0 # ifconfig bge0.5 create [EMAIL PROTECTED] (20:31:04 ~) 0 # ifconfig bge0.5 bge0.5: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=3RXCSUM,TXCSUM ether 00:e0:81:2d:a3:16 media: Ethernet autoselect (100baseTX full-duplex) status: active vlan: 5 parent interface: bge0 [EMAIL PROTECTED] (20:31:16 ~) 0 # ifconfig bge0.5 destroy [EMAIL PROTECTED] (20:31:20 ~) 0 # Vince Has anyone gotten this error at all, and how did you get it resolved? My digging further shows that a patch was committed to src/sys/net/if_clone.c (rev 1.11) which adds a new argument for parameter data to the if_clone_create() function. But it looks like src/sys/net/if.c has not been updated to provide this new parameter data to the if_clone_create function call, thereby failing the call, and not setting the interface up. Any help or pointing in the right direction would be appreciated! Thanks, Ross. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load balance for POP3
[EMAIL PROTECTED] wrote: Roger, On Fri, 27 Jun 2008, Roger Olofsson wrote: |[EMAIL PROTECTED] skrev: | | I need to switch the users connections between two POP3 servers based on | login information. | Since the login is part of the pop3 handshake, I'm stuck on how to | transfer the connection and pass the info already sent. | I'm trying to script something with socat | (http://www.dest-unreach.org/socat/doc/socat.html). | | I'll appreciate any clue. | |You might want to take a look at Pen /usr/ports/net/pen. In this case Pen does not help, since I want to decide which server to switch after login. would nginx (as described here http://highscalability.com/nginx-high-performance-smpt-pop-imap-proxy) be more what your after? Vince - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem With ZFS script
Kris Kennaway wrote: Vince Hoffman wrote: -- #!/bin/sh - TEXT=$(kldstat | tr a-f A-F | \ awk 'BEGIN {print ibase=16}; NR 1 {print $4}'\ | bc | awk '{a+=$1}; END {print a}') DATA=$(vmstat -m | sed 's/K//' | awk '{a+=$3}; END {print a*1024}') TOTAL=$(echo $DATA $TEXT | awk '{print $1+$2}') echo TEXT=$TEXT, $(echo $TEXT | awk '{print $1/1048576 MB}') echo DATA=$DATA, $(echo $DATA | awk '{print $1/1048576 MB}') echo TOTAL=$TOTAL, $(echo $TOTAL | awk '{print $1/1048576 MB}') -- Looks like the wiki stripped some formatting. I still don't know that this is doing anything meaningful in the context of ZFS memory use. I understood it to just be showing a summary of kernel memory utilization, no specific zfs stuff (which I guess could be got from vmstat -z although I dont understand those statistics well enough to do this myself.) Semi useful in a peripheral way maybe. Vince Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem With ZFS script
Diego F. Arias R. wrote: Hi: Im testing the new ZFS feature on freebsd. On the page i got a script to monitor kernel memory but the script dont works. --- #!/bin/sh - TEXT=kldstat | tr a-f A-F | awk 'BEGIN {print ibase=16}; NR 1 {print $4}' | bc | awk '{a+=$1}; END {print a}' DATA=vmstat -m | sed 's/K//' | awk '{a+=$3}; END {print a*1024}' TOTAL=echo $DATA $TEXT | awk '{print $1+$2}' echo TEXT=$TEXT, echo $TEXT | awk '{print $1/1048576 MB}' echo DATA=$DATA, echo $DATA | awk '{print $1/1048576 MB}' echo TOTAL=$TOTAL, echo $TOTAL | awk '{print $1/1048576 MB}' --- link: http://wiki.freebsd.org/ZFSTuningGuide the error i got is freebsd# ./kernmem.sh -m: not found try -- #!/bin/sh - TEXT=$(kldstat | tr a-f A-F | \ awk 'BEGIN {print ibase=16}; NR 1 {print $4}'\ | bc | awk '{a+=$1}; END {print a}') DATA=$(vmstat -m | sed 's/K//' | awk '{a+=$3}; END {print a*1024}') TOTAL=$(echo $DATA $TEXT | awk '{print $1+$2}') echo TEXT=$TEXT, $(echo $TEXT | awk '{print $1/1048576 MB}') echo DATA=$DATA, $(echo $DATA | awk '{print $1/1048576 MB}') echo TOTAL=$TOTAL, $(echo $TOTAL | awk '{print $1/1048576 MB}') -- Looks like the wiki stripped some formatting. Vince Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hello
Chance Hoggan wrote: Hi, Do you have any programming projects needing done that is suitable for a novice? When I say novice I have been using freebsd for around 3 years and developing for around 4. I want to understand the freebsd operating system better and I am looking for some guidance that would give me a place to start understanding how the system works. I mean more in the system code. Even if you do not have any projects if you could give me some tasks that would equally be great. Regards, Chance Hi, I believe http://www.freebsd.org/projects/ideas/ is a good place to start. Also try asking on the -current or -hackers mailing lists. I've noticed that if you find something that seems interesting and start work on it then ask specific questions you are more likely to get useful replies than if you ask more general questions. That said i'm not a developer so don't feel you need to pay too much attention to my suggestions as they are purely based on observation not instruction/experience :) Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Ports] How to find where a port is located?
I use cd /usr/ports make search name=portname It will return extraneous results from time to time. eg. [/usr/ports](11:39:22) [EMAIL PROTECTED] /usr/ports make search name=lftp Port: lftp-3.7.3_1 Path: /usr/ports/ftp/lftp Info: Shell-like command line ftp client Maint: [EMAIL PROTECTED] B-deps: expat-2.0.1 gettext-0.17_1 libiconv-1.11_1 R-deps: expat-2.0.1 gettext-0.17_1 libiconv-1.11_1 WWW:http://lftp.yar.ru/ Port: fusefs-curlftpfs-0.9.1_1 Path: /usr/ports/sysutils/fusefs-curlftpfs Info: Mount remote ftp directories Maint: [EMAIL PROTECTED] B-deps: curl-7.18.0 fusefs-libs-2.7.2_1 gettext-0.17_1 glib-2.16.3_1 libiconv-1.11_1 pcre-7.7 perl-5.8.8_1 pkg-config-0.23_1 python25-2.5.2_2 R-deps: curl-7.18.0 fusefs-kmod-0.3.9.p1.20080208_1 fusefs-libs-2.7.2_1 gamin-0.1.9_2 gettext-0.17_1 gio-fam-backend-2.16.3_1 glib-2.16.3_1 libiconv-1.11_1 pcre-7.7 perl-5.8.8_1 pkg-config-0.23_1 python25-2.5.2_2 WWW:http://curlftpfs.sourceforge.net/ Vince Catalin Miclaus wrote: Gilles skrev: Hello Currently, to find where a software is located under /usr/ports/, I rune the find command. Is there a database that I could query instead so that it gives out the whole path to that the application? Thank you. Try 'whereis portname'. Best Regards Catalin Miclaus Network/Security ISP-Data Starcomms Ltd. Or http://www.se.freebsd.org/ports/index.html ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nanobsd on a CD-ROM
to make a freebsd CDROM bootable you need to use the /boot/cdboot as the loader and make an ISO image. the nanobsd procedure creates a ufs disk image from what I understand. Try mounting the disk image mdconfig -a -t vnode -u 11 -f /path/to/image/_.disk.full mkdir /mnt/image mount /dev/md11 /mnt/image (might be /dev/md11s1a or similar, see whats created and find what works.) Then make an ISO of the mounted nanobsd image mkisofs -J -R -no-emul-boot -b /boot/cdboot \ -iso-level 3 -o nanobsd.iso /mnt/image Then either burn it to CD or install qemu to see if it boots before making another coaster. I havent tried this exactly but this should work, may need polishing though. Vince J. Porter Clark wrote: On Thu, Jun 12, 2008 at 06:54:45PM +0200, Pietro Cerutti wrote: J. Porter Clark wrote: | On Thu, Jun 12, 2008 at 04:40:25PM +0200, Pietro Cerutti wrote: | J. Porter Clark wrote: | | Is it possible to build a CD-ROM with a bootable NanoBSD on it? | | If so, how? | | Yes, Section 2.2 of | | http://www.freebsd.org/doc/en/articles/nanobsd/index.html | | Well, no, because I can't do this: | | # dd if=_.disk.full of=/dev/acd0 bs=64k | | If I do this: | | % cdrecord -v -immed driveropts=burnfree dev=1,0,0 -data _.disk.full Try with burncd | burncd -f /dev/acd0 data _.disk.full fixate No joy. Produces the same disk that cdrecord does, and boots from hard disk instead. I think that this is the problem: The BIOS knows how to boot from a CD if and only if that CD is an El Torito bootable image. That is, the first sector of the CD is NOT a Master Boot Record. That's just a hypothesis based on the observation that all of the successfully bootable CDs I have appear to be in El Torito format. I don't have a way to make such an image without using mkisofs. Figuring out how to pack the nanobsd image in such a way that mkisofs can make an El Torito bootable CD from it sounds difficult, offhand. Anybody know how to do this sort of thing? Is it even possible? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nanobsd on a CD-ROM
Wojciech Puchar wrote: Then make an ISO of the mounted nanobsd image mkisofs -J -R -no-emul-boot -b /boot/cdboot \ -iso-level 3 -o nanobsd.iso /mnt/image i don't know if -J is needed (rather not), and -iso-level 3 too, but it is OK. True, I just grabbed a command line I've used in the past., like I said, needs polishing. I'm building a nanobsd image at the moment to have a play (slow afternoon at work ;) Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: does this work with FreeBSD
Wojciech Puchar wrote: http://www.sataport.com/ i mean port multipliers http://kerneltrap.org/mailarchive/freebsd-current/2008/4/11/1402054 So the answer is there is support in -CURRENT but is still in its early stages. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: any news? 3945 ABG driver!
Long Story wrote: Hi Vince! The (rtfm) advice it might exist in 7.0R which I didnot install or upgrade to Yet, Im using PC-BSD which is 6.3-R and I think i need to do the driver manualy, any info ? or i _have_ to go for 7.0-R for this driver to work ? As its not in 6.3 (sorry didnt think to check if it was before answering,) you could give it a go manually. http://www.clearchain.com/wiki/Wpi is the maintainers website for it but as its down at the moment, I'm not sure what the status of it on 6.x In 7.x its in the distro though. Vince Thanks. Marwan. Date: Tue, 3 Jun 2008 16:42:40 +0100 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: freebsd-questions@freebsd.org Subject: Re: any news? 3945 ABG driver! Long Story wrote: Hello Gurus,Well, any good news or working drivers for wireless 3945ABG ? for 7.0-R or 6.3-R ? Can anyone kindly provide any useful information ?man wpi ;) (sorry to rtfm you but the man page explains it better than I could) Vince THANK YOU Marwan. _ It’s easy to add contacts from Facebook and other social sites through Windows Live™ Messenger. Learn how. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Instantly invite friends from Facebook and other social networks to join you on Windows Live™ Messenger. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_InviteFriends___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help Installing Sun JDK on FreeBSD
triggerme2ice wrote: Hi all, I was wondering if anyone would know of a brute force way of installing the (newest possible) sun JDK on FreeBSD 5.0 (or any other versions for further info) Help a freeBSD user in need :teeth: The latest version in ports is 1.6.0.3p4 if you need more receent than that then no idea. If thats ok then cd /usr/port/java/jdk16 make Follow the instructions Also see http://www.freebsd.org/java/ 5.x has just been announce as no longer supported by ports though, although support wont be removed, just not updated and checked as changes are made. You will need a current jdk to compile it though and need to get the source files manually. To get a jdk to compile it I'd recommend installing the package from http://www.freebsdfoundation.org/downloads/java.shtml Although you could install one of the linux-sun-jdk* ports if you prefer. you can pkg_delete the old jdk once you have the new one installed. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mfi freebsd7
kalin m wrote: sorry for the double posting just to update: i installed also the linux-megamgr same result: Failed to open driver node /dev/megadev0 after linking megadev0 to mfi0 it can not see the version... it gets more and more pathetic by the minute... odd that it wouldnt install as it did for me just now. Is your ports tree up to date? I'm guessing not since the latest version reference in ports is 1.01.40 and you found and got the 1.01.09 rpm/zip try updating your ports to the latest tree (portsnap is my method of choice but csup works fine too :) then try cd /usr/ports/sysutils/linux-megacli make install clean Be sure to pay attention to the post-install message as it tells you about whats needed in the way of kernel modules and sysctl variables as well as what periodic config is available. We do have a server at work using the LSI Logic / Symbios Logic MegaRAID SAS 1078 which hosts 40 VPS's running quite happily in a RAID 1+0 config, each VPS running web/mail/ftp for a number between 1 and 100 websites, so they seem to perform well enough, this is a linux server though. If you've been sold a RAID1 array i'd imagine thats what you have unless you have reason to believe otherwise. It will appear as a singe block device (/dev/mfid0) to the operating system though as you have see. Vince kalin m wrote: thanks Vince... i didnt wanted to install the linux base because a lot of kids will be running some 'cool' boards or blogs that probably have cool linux holes too. but just for the hell of it and for he purpose to get to the controller i did. it took a while to find the Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the LSI site (anymore) either.. anyway after a lot of rpm downloads and patching and variable changing and fs mountings i get this: # /usr/local/sbin/megacli -adpCount ERROR:Could not detect controller. Controller Count: 0. pretty neat system... now what?! Vince Hoffman wrote: kalin m wrote: megarc, right... read about it.. here: # megarc -AllAdpInfo help usage : cmd -AllAdpInfo : prints info of all cards . ok . # megarc -AllAdpInfo ** MEGARC MegaRAID Configuration Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA ** [Note: For SATA-2, 4 and 6 channel controllers, please specify Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)] Type ? as command line arg for help No Adapters Found Error: No MegaRaid Found ?!?!?! does that mean that there is no raid? why then the df output? the machine is supposed to have 4 250gig SAS drives. Its more likely that megarc doesnt support the newer controllers which is a shame. you might have more luck with sysutils/linux-megacli since that explicitly mentions LSI MegaRAID SAS, I wish they would make the util open source though. Will mean you need the linux-base port installed and linux.ko loaded. A RAID1 config shoudl suit a busy webserver well. Vicne thanks... Vince Hoffman wrote: kalin m wrote: hi all... a hosting facility build a new dedicated server for me and looking at the dmesg i see: mfi0: LSI MegaSAS 1078 port 0xec00-0xecff mem 0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0 on pci1 mfi0: Megaraid SAS driver Ver 2.00 for df i get: Filesystem SizeUsed Avail Capacity Mounted on /dev/mfid0s1a496M197M259M43%/ devfs1.0K1.0K 0B 100%/dev /dev/mfid0s1e496M 12K456M 0%/tmp /dev/mfid0s1f661G636M608G 0%/usr /dev/mfid0s1d8.7G1.4M8.0G 0%/var i asked for raid1. i cant find too much information about the mfi driver. just that it works with freebsd 7. you might want to look at sysutils/megarc and possibly sysutils/linux-megamgr so you can more closely monitor/investigate your array. Vince i'll keep looking but - has anybody successfully deployed production servers using the LSI MegaSAS 1078 in RAID1 on a very busy web server? is there any loss in performance using that hardware in RAID1? any performance loss in RAID1 at all? thanks... ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Re: any news? 3945 ABG driver!
Long Story wrote: Hello Gurus, Well, any good news or working drivers for wireless 3945ABG ? for 7.0-R or 6.3-R ? Can anyone kindly provide any useful information ? man wpi ;) (sorry to rtfm you but the man page explains it better than I could) Vince THANK YOU Marwan. _ It’s easy to add contacts from Facebook and other social sites through Windows Live™ Messenger. Learn how. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what is /usr/local/bin/gsc ?
Assuming it was installed from ports, if you have portupgrade installed you could try pkg_which /usr/local/bin/gsc For me this gives [11:59:40:/usr/home/jhary] ([EMAIL PROTECTED])$pkg_which /usr/local/bin/gsc ghostscript-gpl-8.62_2 Ghostscript is a postscript interpreter which would make sense since most printers talk postscript. Vince Anton Shterenlikht wrote: Hi What is /usr/local/bin/gsc ? I run FreeBSD 6.3-STABLE #2 on compaq armada laptop. When I send a job for printing I see gsc process running: PID USERNAMETHR PRI NICE SIZERES STATETIME WCPU COMMAND [skip] 99954 daemon1 1170 27244K 19000K RUN 0:05 30.08% gsc % which gsc /usr/local/bin/gsc % However, I cannot find any info on gsc. The latest I've found is from 5.2-release, some gsc(4) -- a device driver for a handy scanner. I doubt this is it. Could somebody tell me what gsc is and what it does. many thanks anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gnash leave a blank page when visit youtube
Jyun-Yi Liou wrote: Is there any way to avoid RESTRICTED and install www/linux-flashplugin7 ? www/linux-flashplugin9 always freeze my firefox :-( I miss the old days with www/linux-flashplugin7 D-: For me the RESTRICTED= Redistribution not allowed line just means what it says, ie you cant redistribute the port/package. Its still builds and (last I tried) works. I tend to use swfdec and swfdec-plugin ports which play youtube fine for me though. Vince btw, graphic/gnash seems pretty stable, but the integration with firefox is poor in my case. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gnash leave a blank page when visit youtube
Vince Hoffman wrote: Jyun-Yi Liou wrote: Is there any way to avoid RESTRICTED and install www/linux-flashplugin7 ? www/linux-flashplugin9 always freeze my firefox :-( I miss the old days with www/linux-flashplugin7 D-: For me the RESTRICTED= Redistribution not allowed line just means what it says, ie you cant redistribute the port/package. Its still builds and (last I tried) works. I tend to use swfdec and swfdec-plugin ports which play youtube fine for me though. Sorry just read your other posts, for some reason I must have uninstalled portaudit at some point on my laptop so I wasn't getting the portaudit message. Vince Vince btw, graphic/gnash seems pretty stable, but the integration with firefox is poor in my case. ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gnash leave a blank page when visit youtube
Robert Huff wrote: Vince Hoffman writes: Is there any way to avoid RESTRICTED and install www/linux-flashplugin7 ? www/linux-flashplugin9 always freeze my firefox :-( For me the RESTRICTED= Redistribution not allowed line just means what it says, ie you cant redistribute the port/package. If that's the case, then it's a poor choice if name for the variable. It seems clear enough to me but I can see why it could cause confusion. For an explanation of what the variables mean its usually best to look though the porters handbook. Taking this as an example: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-restrictions.html Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mfi freebsd7
kalin m wrote: hi all... a hosting facility build a new dedicated server for me and looking at the dmesg i see: mfi0: LSI MegaSAS 1078 port 0xec00-0xecff mem 0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0 on pci1 mfi0: Megaraid SAS driver Ver 2.00 for df i get: Filesystem SizeUsed Avail Capacity Mounted on /dev/mfid0s1a496M197M259M43%/ devfs1.0K1.0K 0B 100%/dev /dev/mfid0s1e496M 12K456M 0%/tmp /dev/mfid0s1f661G636M608G 0%/usr /dev/mfid0s1d8.7G1.4M8.0G 0%/var i asked for raid1. i cant find too much information about the mfi driver. just that it works with freebsd 7. you might want to look at sysutils/megarc and possibly sysutils/linux-megamgr so you can more closely monitor/investigate your array. Vince i'll keep looking but - has anybody successfully deployed production servers using the LSI MegaSAS 1078 in RAID1 on a very busy web server? is there any loss in performance using that hardware in RAID1? any performance loss in RAID1 at all? thanks... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mfi freebsd7
kalin m wrote: megarc, right... read about it.. here: # megarc -AllAdpInfo help usage : cmd -AllAdpInfo : prints info of all cards . ok . # megarc -AllAdpInfo ** MEGARC MegaRAID Configuration Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA ** [Note: For SATA-2, 4 and 6 channel controllers, please specify Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)] Type ? as command line arg for help No Adapters Found Error: No MegaRaid Found ?!?!?! does that mean that there is no raid? why then the df output? the machine is supposed to have 4 250gig SAS drives. Its more likely that megarc doesnt support the newer controllers which is a shame. you might have more luck with sysutils/linux-megacli since that explicitly mentions LSI MegaRAID SAS, I wish they would make the util open source though. Will mean you need the linux-base port installed and linux.ko loaded. A RAID1 config shoudl suit a busy webserver well. Vicne thanks... Vince Hoffman wrote: kalin m wrote: hi all... a hosting facility build a new dedicated server for me and looking at the dmesg i see: mfi0: LSI MegaSAS 1078 port 0xec00-0xecff mem 0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0 on pci1 mfi0: Megaraid SAS driver Ver 2.00 for df i get: Filesystem SizeUsed Avail Capacity Mounted on /dev/mfid0s1a496M197M259M43%/ devfs1.0K1.0K 0B 100%/dev /dev/mfid0s1e496M 12K456M 0%/tmp /dev/mfid0s1f661G636M608G 0%/usr /dev/mfid0s1d8.7G1.4M8.0G 0%/var i asked for raid1. i cant find too much information about the mfi driver. just that it works with freebsd 7. you might want to look at sysutils/megarc and possibly sysutils/linux-megamgr so you can more closely monitor/investigate your array. Vince i'll keep looking but - has anybody successfully deployed production servers using the LSI MegaSAS 1078 in RAID1 on a very busy web server? is there any loss in performance using that hardware in RAID1? any performance loss in RAID1 at all? thanks... ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freeBSD PHP issues
Matthew Seaman wrote: kevin kempter wrote: Hi List; I'm fairly new to freeBSD, but a long time Linux biggot. I installed freeBSD7, then I installed PHP like this: # cd /usr/ports/lang/php5 # make config # make install Next I installed PostgreSQL and pgFouine However when I run pgfouine to generate a log report I get this error: $ php ./pgfouine.php -file $PGDATA/pg_log/postgresql-31.log rept.html PHP Fatal error: Call to undefined function preg_replace() in /usr/local/pgsql/pgfouine/include/reporting/geshi/geshi.php on line 474 preg_replace() I believe is a PHP built-in, anyone know how to correct this, or have thoughts on what I may be doing wrong. Maybe I've missed some sort of config step? You need to install the PCRE module: # cd /usr/ports/devel/php5-pcre # make install and similarly for all of the other PHP modules you will undoubtedly find yourself needing. A quicker way of doing this is cd /usr/ports/lang/php5-extensions make config then choose what extensions you need, and then make install clean Vince Cheers, Matthew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
i386 jail on amd64 7-stable
Hi all, I've managed to get the i386 jail to start by nullfs mounts of /libexec and /usr/lib32 as per the instructions here [http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-03/msg02216.html] (It wouldnt start before, complaining about missing libs even though I had done a full make world/installworld/distribution into the jaildir.) However this means that I'm now missing libkrb5.so.9 and possibly others which means I cant use the base sshd (and probably more.) Is there something basic I have missed or is this not expected to work? Thanks, Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: i386 jail on amd64 7-stable
Vince Hoffman wrote: Hi all, I've managed to get the i386 jail to start by nullfs mounts of /libexec and /usr/lib32 as per the instructions here [http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-03/msg02216.html] (It wouldnt start before, complaining about missing libs even though I had done a full make world/installworld/distribution into the jaildir.) However this means that I'm now missing libkrb5.so.9 and possibly others which means I cant use the base sshd (and probably more.) Is there something basic I have missed or is this not expected to work? Sorry to reply to myself but... I was being a muppet. rather than the nullfs mounts, I just needed to cd $jaildir/libexec ln -s ld-elf.so.1 ld-elf32.so.1 and now it works :) teach me to rely on random mailing list posts and not just thinking it though. ;) Vince Thanks, Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need to build a new mail server
As a sysadmin at a medium mailhosting ISP (~15,000 email customers, averaging about 5 email addresses per customer,) we use a load balanced cluster of Dovecot and exim servers with mysql backend. Theres no way we could use qmail, it just doesnt have the flexibility even with 1/2 a dozen patches. That said I do like postfix I've used it before for smtp relay servers and its performed like a champ. Vince Outback Dingo wrote: Postfix rules, Dovecot or cyrus, though dovecot seems more managable my take running an ISP based mail system Postfix Definately Qmail, its ok, in most cases scenerios Exim - No way and Dovecot or Cyrus for imaps/imap On Fri, May 30, 2008 at 10:05 PM, Oliver Fromme [EMAIL PROTECTED] wrote: Patrick Baldwin wrote: Hi all, I've got an older Solaris system running Sendmail for my mail server right now. It's about time to replace it, and I'm thinking FreeBSD might be the best choice of OS for the replacement. However, it's been some time since I looked into options for mail servers. I'm interested in both suggestions for hardware and mail servers that would make for the best FreeBSD based mail server. I've only got about two dozen users, though they are all very heavy users of email. I'm using IMAP, and I'd like to continue to do so. Finally, we have quite a few aliases I'd want to port over to a new server. I also recommend dovecot. I'm using it for several years without a problem, and it was quite simple to setup. I'm using it with sendmail, though (not postfix), because I've been using sendmail for almost 20 years and haven't had a reason to switch. If you're already familiar with sendmail on Solaris, then I recommend you continue using sendmail on FreeBSD (it's the default MTA that comes with the base system). Having said that, Postfix _is_ a very good MTA, I'm using it at work. If you're willing to switch and invest a little bit of time learning something new, then Postfix is certainly a good choice. It's quite easy to install Postfix from the ports collection. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd C++: an octopus made by nailing extra legs onto a dog -- Steve Taylor, 1998 ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0 and DummyNet
Ray Seals wrote: It's been a long time since I have tried to get dummynet working. I have a FreeBSD 7.0 box ready to go. Do I still need to recompile the kernel and all that stuff or is there any easier way to do this now? I tend to use pf/altq but dummynet and ipfw seem to exist as modules [EMAIL PROTECTED] (19:09:46 /usr/src/sys/amd64/conf) 0 # ls /boot/kernel/dummynet.ko /boot/kernel/dummynet.ko* [EMAIL PROTECTED] (19:10:08 /usr/src/sys/amd64/conf) 0 # ls /boot/kernel/ipfw.ko /boot/kernel/ipfw.ko* so kldload dummynet kldload ipfw should do the job. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0 and DummyNet
Vince Hoffman wrote: Ray Seals wrote: It's been a long time since I have tried to get dummynet working. I have a FreeBSD 7.0 box ready to go. Do I still need to recompile the kernel and all that stuff or is there any easier way to do this now? I tend to use pf/altq but dummynet and ipfw seem to exist as modules [EMAIL PROTECTED] (19:09:46 /usr/src/sys/amd64/conf) 0 # ls /boot/kernel/dummynet.ko /boot/kernel/dummynet.ko* [EMAIL PROTECTED] (19:10:08 /usr/src/sys/amd64/conf) 0 # ls /boot/kernel/ipfw.ko /boot/kernel/ipfw.ko* so kldload dummynet kldload ipfw should do the job. Oh and remember that if you do just kldload ipfw (like i just did to test) it defaults to deny all ;) Vince Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipw2200 freebsd 7 firmware problem
Fernando Apesteguía wrote: On 5/22/08, Vince Hoffman [EMAIL PROTECTED] wrote: Fernando Apesteguía wrote: On Wed, May 21, 2008 at 10:33 AM, Vince Hoffman [EMAIL PROTECTED] wrote: Fernando Apesteguía wrote: Hi all, I have an ipw2200 bg. I can't make it work under FreeBSD 7 on AMD64. This is the output of pciconf -lv [EMAIL PROTECTED]:0:5:0: class=0x028000 card=0x27028086 chip=0x42208086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'MPCI3B driverIntel PRO/Wireless 2200BG' class = network dmesg shows the following: pci0: network at device 5.0 (no driver attached) I tried to instal the iwi-firmware from ports: Have you read the manpage for iwi? No, I tried with iwi-firmware and iwicontrol and none of them existed. no ports are needed the firmware is now in the base system, Just add the entries as specified in this snippet from man iwi So... shouldn't this port be removed? I'm pretty sure that things changed between 6.x and 7.x, I'd imagine the port is needed for 7.x Alternatively, to load the driver as a module at boot time, place the following lines in loader.conf(5): if_iwi_load=YES wlan_load=YES firmware_load=YES In both cases, place the following lines in loader.conf(5) to load the firmware modules: iwi_bss_load=YES iwi_ibss_load=YES iwi_monitor_load=YES and This driver requires firmware to be loaded before it will work. For the loaded firmware to work the license at /usr/share/doc/legal/intel_iwi/LICENSE must be agreed to and the follow-ing line be added to loader.conf(5): legal.intel_iwi.license_ack=1 I'll try it. But AFAIK, I have to recompile the kernel cause the device iwi line is missing. Am i right? I think they should all be loadable as modules if they arent in generic. To try without rebooting I believe the commands you want are: kenv legal.intel_iwi.license_ack=1 kldload if_iwi kldload wlan kldload firmware kldload iwi_bss kldload iwi_ibss kldload iwi_monitor However, I just had a look in my /boot/kernel for the if_iwi module and its not there so you may be correct. (I'm a touch supprised as the do exist on my i386 box) The same on my machine. The line is not in GENERIC and that modules don't exist. I will recompile my module as soon as I have some spare time. Thanks for your help. In theory you should be able to just cd /usr/src/sys/modules/iwi make make install cd /usr/src/sys/modules/iwifw make make install without rebuilding the entire kernel. I'm just puzzled why they dont build by default. Vince Best Regards regards, Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipw2200 freebsd 7 firmware problem
peter harrison wrote: Thursday, 22 May 2008 at 9:13:41 +0100, Vince Hoffman said: Fernando Apesteguía wrote: On 5/22/08, Vince Hoffman [EMAIL PROTECTED] wrote: Fernando Apesteguía wrote: On Wed, May 21, 2008 at 10:33 AM, Vince Hoffman [EMAIL PROTECTED] wrote: snip Have you read the manpage for iwi? No, I tried with iwi-firmware and iwicontrol and none of them existed. no ports are needed the firmware is now in the base system, Just add the entries as specified in this snippet from man iwi So... shouldn't this port be removed? I'm pretty sure that things changed between 6.x and 7.x, I'd imagine the port is needed for 7.x Alternatively, to load the driver as a module at boot time, place the following lines in loader.conf(5): if_iwi_load=YES wlan_load=YES firmware_load=YES In both cases, place the following lines in loader.conf(5) to load the firmware modules: iwi_bss_load=YES iwi_ibss_load=YES iwi_monitor_load=YES and This driver requires firmware to be loaded before it will work. For the loaded firmware to work the license at /usr/share/doc/legal/intel_iwi/LICENSE must be agreed to and the follow-ing line be added to loader.conf(5): legal.intel_iwi.license_ack=1 I'll try it. But AFAIK, I have to recompile the kernel cause the device iwi line is missing. Am i right? I think they should all be loadable as modules if they arent in generic. To try without rebooting I believe the commands you want are: kenv legal.intel_iwi.license_ack=1 kldload if_iwi kldload wlan kldload firmware kldload iwi_bss kldload iwi_ibss kldload iwi_monitor However, I just had a look in my /boot/kernel for the if_iwi module and its not there so you may be correct. (I'm a touch supprised as the do exist on my i386 box) The same on my machine. The line is not in GENERIC and that modules don't exist. I will recompile my module as soon as I have some spare time. Thanks for your help. In theory you should be able to just cd /usr/src/sys/modules/iwi make make install cd /usr/src/sys/modules/iwifw make make install without rebuilding the entire kernel. I'm just puzzled why they dont build by default. I'm running a stock 7.0-STABLE with GENERIC and a default make.conf and I get the iwi modules no problem. I just followed the instructions in the man page and was up and running in 5 minutes. Are you running AMD64? the modules are there on my i386 laptop but not my AMD64 server (I dont use iwi on either though.) vince Peter Harrison Vince Best Regards regards, Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipw2200 freebsd 7 firmware problem
Fernando Apesteguía wrote: Hi all, I have an ipw2200 bg. I can't make it work under FreeBSD 7 on AMD64. This is the output of pciconf -lv [EMAIL PROTECTED]:0:5:0: class=0x028000 card=0x27028086 chip=0x42208086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'MPCI3B driverIntel PRO/Wireless 2200BG' class = network dmesg shows the following: pci0: network at device 5.0 (no driver attached) I tried to instal the iwi-firmware from ports: Have you read the manpage for iwi? no ports are needed the firmware is now in the base system, Just add the entries as specified in this snippet from man iwi Alternatively, to load the driver as a module at boot time, place the following lines in loader.conf(5): if_iwi_load=YES wlan_load=YES firmware_load=YES In both cases, place the following lines in loader.conf(5) to load the firmware modules: iwi_bss_load=YES iwi_ibss_load=YES iwi_monitor_load=YES and This driver requires firmware to be loaded before it will work. For the loaded firmware to work the license at /usr/share/doc/legal/intel_iwi/LICENSE must be agreed to and the follow-ing line be added to loader.conf(5): legal.intel_iwi.license_ack=1 regards, Vince === iwi-firmware-2.4_8 is configured with iwicontrol(8) which you don't need, use 'make rmconfig' and uncheck CONTROL. *** Error code 1 Stop in /usr/ports/net/iwi-firmware. I tried the suggested workaround, but I got: === No user-specified options configured for iwi-firmware-2.4_8 I tried with pkg_add -r iwi-firmware-2.4_8 and I got Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.0-release/Latest/iwi-firmware-2.4_8.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.0-release/Latest/iwi-firmware-2.4_8.tbz' by URL My ports are up to date (cvsup.de.FreeBSD.org) So... How can I make the wireless card work? Any help is appreciated. Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipw2200 freebsd 7 firmware problem
Fernando Apesteguía wrote: On Wed, May 21, 2008 at 10:33 AM, Vince Hoffman [EMAIL PROTECTED] wrote: Fernando Apesteguía wrote: Hi all, I have an ipw2200 bg. I can't make it work under FreeBSD 7 on AMD64. This is the output of pciconf -lv [EMAIL PROTECTED]:0:5:0: class=0x028000 card=0x27028086 chip=0x42208086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'MPCI3B driverIntel PRO/Wireless 2200BG' class = network dmesg shows the following: pci0: network at device 5.0 (no driver attached) I tried to instal the iwi-firmware from ports: Have you read the manpage for iwi? No, I tried with iwi-firmware and iwicontrol and none of them existed. no ports are needed the firmware is now in the base system, Just add the entries as specified in this snippet from man iwi So... shouldn't this port be removed? I'm pretty sure that things changed between 6.x and 7.x, I'd imagine the port is needed for 7.x Alternatively, to load the driver as a module at boot time, place the following lines in loader.conf(5): if_iwi_load=YES wlan_load=YES firmware_load=YES In both cases, place the following lines in loader.conf(5) to load the firmware modules: iwi_bss_load=YES iwi_ibss_load=YES iwi_monitor_load=YES and This driver requires firmware to be loaded before it will work. For the loaded firmware to work the license at /usr/share/doc/legal/intel_iwi/LICENSE must be agreed to and the follow-ing line be added to loader.conf(5): legal.intel_iwi.license_ack=1 I'll try it. But AFAIK, I have to recompile the kernel cause the device iwi line is missing. Am i right? I think they should all be loadable as modules if they arent in generic. To try without rebooting I believe the commands you want are: kenv legal.intel_iwi.license_ack=1 kldload if_iwi kldload wlan kldload firmware kldload iwi_bss kldload iwi_ibss kldload iwi_monitor However, I just had a look in my /boot/kernel for the if_iwi module and its not there so you may be correct. (I'm a touch supprised as the do exist on my i386 box) regards, Vince Thanks in advance regards, Vince === iwi-firmware-2.4_8 is configured with iwicontrol(8) which you don't need, use 'make rmconfig' and uncheck CONTROL. *** Error code 1 Stop in /usr/ports/net/iwi-firmware. I tried the suggested workaround, but I got: === No user-specified options configured for iwi-firmware-2.4_8 I tried with pkg_add -r iwi-firmware-2.4_8 and I got Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.0-release/Latest/iwi-firmware-2.4_8.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.0-release/Latest/iwi-firmware-2.4_8.tbz' by URL My ports are up to date (cvsup.de.FreeBSD.org) So... How can I make the wireless card work? Any help is appreciated. Thanks in advance. ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low/Jerky performance in FreeBSD 7
Yani Brankov wrote: Hey guys, Hi I recently updated to FreeBSD 7 and noticed that my box started to perform as windows does under heavier loads. The mouse starts to be jerky when compiling, window updates/redraws are slow and bump the CPU usage up to 100%. I attributed this to the mga driver which comes with the distro in the beginning. However, I later noticed the same happens even when X has not been started. For instance, I start a kernel compile and the console mouse becomes jumpy. All these have never happened before with FreeBSD on this box. It has enough memory (1.5G) and relatively fast CPU (2.5GHz). I started to think this may be originating from kernel level (irq handling, long times in giant locked code during syscalls, etc). I am wondering whether it is only me who has hit this problem or it is more common. It may be also related to hardware configuration, etc. I'm trying to figure out. Not just you, http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues Vince Attaching my dmesg output in case it's important. Yani ___ 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]
rndis on freebsd?
Hi all, I've been looking at using my htc hermes (orange spv3100) as a 3g modem. To do this it looks like I need to attach it as an rndis device and set the phone as my router. Is this supported at all in freebsd? I tried hacking if_cdce (added device ID) and when i enable connection sharing on the phone it attaches, but I cant get it to talk to my laptop over the cdce interface (either trying dhcp on the cdce interface, manually giving it the IP it gets given on windows or manually setting both ends) so i'm guessing it needs something more. Any clues welcome. regards, Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hammer
Johan Hendriks wrote: Will the hammer filesystem from DragonflyBSD make it into FreeBSD? It looks like a very useable filesystem. last I saw http://leaf.dragonflybsd.org/mailarchive/kernel/2008-04/msg00133.html it was still pre-alpha. once it gets into a stable state I'm sure someone will have a look at the possibility of porting it. Vince Regards, Johan Hendriks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hammer
Vince Hoffman wrote: Johan Hendriks wrote: Will the hammer filesystem from DragonflyBSD make it into FreeBSD? It looks like a very useable filesystem. last I saw http://leaf.dragonflybsd.org/mailarchive/kernel/2008-04/msg00133.html it was still pre-alpha. once it gets into a stable state I'm sure someone will have a look at the possibility of porting it. Vince Oops seems I'm a little out of date http://kerneltrap.org/DragonFlyBSD/HAMMER_Stabilizing but I doubt its stablised that much in a month ;) Vince Regards, Johan Hendriks ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: telnet to mail server from outside does not get 220, telnet from inside works
brad davison wrote: Date: Mon, 12 May 2008 17:49:07 +0200 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: freebsd-questions@freebsd.org Subject: Re: telnet to mail server from outside does not get 220, telnet from inside works Trying ::1... Connected to localhost.x.com. Escape character is '^]'. 220 email.x.com ESMTP Sendmail 8.13.8/8.13.8; Mon, 12 May 2008 10:01:39 -0400 (EDT) But if I try the same thing from 'outside' the firewall I get: %telnet email..com 25 Trying 67.x.x.x... Connected to email.xxx.com. Escape character is '^]'. Connection closed by foreign host. sendmail try to connect to port auth of remote machine. your firewall probably blocks it just by dropping packets, so it tries until timeout telnet from outside, wait few minutes and you will get a prompt. change your firewall rules to fix it ___ You get the prize. We have a Cisco ASA, and everything works on port 587, but port 25 has cisco's 'Application Inspection' or something that I need to figure out how to turn off. assuming its the same as for a pix (been a while since I used a cisco firewall ;) then it should be no fixup smtp (its one of the first things I used to turn off ;) vince Thanks for the attention. _ Make Windows Vista more reliable and secure with Windows Vista Service Pack 1. http://www.windowsvista.com/SP1?WT.mc_id=hotmailvistasp1banner___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hdparm equivalent
Thomas Herzog wrote: hi, is there a hdparm equivalent tool, to set the power-save or spin-down behavior of sata-disk? or can i to it via sysctl or so? sysutils/ataidle in ports at the moment. I believe atacontrol has grown some support for this in current. vince thanks Thomas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7 enable ipaq driver
Sam Fourman Jr. wrote: also I just found out I bet this patch would fix my problem http://www.freebsd.org/cgi/query-pr.cgi?pr=121184cat= Interesting, I have a HTC hermes (well orange spv m3100, same thing) and was going to try the /usr/ports/palm/uppc-kmod to get it working but I'll give this patch a try. Sam Fourman Jr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to use a external monitor on FB7/Gnome
Kemian Dang wrote: Dear All, I use a laptop with Freebsd 7.0 stable and Gnome 2.22, the graphic card is integrated nvidia go 6150. I want to use a external monitor to support my work, but I find it gave no display when I plug the monitor, with the Fn + f4 key(this works in winodws). Seems no related topics in hand book / mailing list, so anyone could give some clue? Its something I havent got round to using properly yet, but xrandr is your friend here. start with xrandr -q to find out what xwindows can see about your external monitor, then try xrandr --auto if that doesnt get it working, read the man page for more explicit options. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [SSHd] Limiting access from authorized IP's
Gilles wrote: Hello I have a couple of questions about running SSHd: 1. I'd like to limit connections from the Net only from specific IP's. It seems like there are several ways to do it (/etc/hosts.allow, AllowHosts/AllowUsers, TCP-wrapper, port-knocking, etc.). Which would you recommend? I tend to use a firewall anyway so thats what works best for me, on machine that I dont firewall, /etc/hosts.allow (which is TCP-wrappers) is a good quick and easy solution. Its very much a whatever works best for you type question. 2. Although it's up and running, I can't find SSHd in the list of installed apps: $ which sshd /usr/sbin/sshd $ pkg_info | grep -i ssh = Nada. How come? ssh is part of the base system. Its also in ports so you can have a more recent version if you like or so you have have things like the ssh hpn patches (http://www.psc.edu/networking/projects/hpn-ssh/) etc etc. Vince Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: qmail w/ SMTP auth using freebsd port
Jeff Dickens wrote: I used the patches and documents from qmail.jms1.net and built my own qmail, and it works well. I think a port that tracks qmail + jms1's current combined patch set would be well received. For what is worth the mail/qmail-tls port says it supports smtp-auth. I dont use qmail myself though so I havent tried it. Vince BTW, I copied the maintainer of the qmail port on my earlier message, and it eventually bounced: [EMAIL PROTECTED] SMTP error from remote mail server after RCPT TO:[EMAIL PROTECTED]: host mx1.freebsd.org [69.147.83.52]: 450 4.7.1 [EMAIL PROTECTED]: Recipient address rejected: Service is unavailable: retry timeout exceeded Michael P. Soulier wrote: On 10/04/08 Jeff Dickens said: Is there a document on how to set up SMTP auth using the FreeBSD qmail port? I didn't think qmail supported anything as modern as smtp auth. Most likely the expectation would be to proxy qmail through a tool that performs it for you. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using FreeBSD with serial port console
Wojciech Puchar wrote: is it tested? how to set it up (with 38400 8N1 console)? i am out of PCI slots, lots of free PCI express slots, but it makes no sense to buy PCIe graphics card (no cheap ones, all ultra-hyper-3D-powereaters) to connect old 14 monitor used rarely with text-mode only. so i would like to remove graphics card to make space for one more PCI thing. Possible and documented :) http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialcomms.html particularly http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD for Linux VPS?
Dan Riordan wrote: Hello, Just wondering if FreeBSD is usable on Linux VPS servers? I run VPS services and a client is asking if we could support it. It would be good if we could. If you could let me know as soon as you can, that would be super. Thank you, Dan It depends how you do your VPS's If you fully virtualise them with vmware then yes, otherwise no as FreeBSD is a completely different operating system than Linux and wont work with things like openvz/virtuozzo and its Xen support is still experimental. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Serial access to a Extreme Nwtworks Switch
Benjamin Cance wrote: Sam Fourman Jr. wrote: hello, I am Running FreeBSD 7.0, I am trying to gain console access to my Extreme Networks Switch, the command cu -l /dev/cuad0 -s 9600 , Says Connected and then does nothing What am I doing Wrong? I have a Straight through serial cable connected to com1, Does someone know a quick way to do this From FreeBSD? the machine is a Dell 1650 if that matters Thank you in advance for any help Sam Fourman Jr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] With Cisco products, we use a roll-over cable. I am not 100% sure if Extreme Networks use the same, but it maybe worth looking into. Unless they differ from model to model you need a null modem cable. http://www.extremenetworks.com/libraries/services/AlpineInstall.pdf http://www.extremenetworks.com/libraries/services/Sumhwv60.pdf have details of the pinouts, I'd imagine the Hardware installation guide for your model would also have details. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: downloading video from http://video.google.com/googleplayer.swf?docId=...
Matthias Apitz wrote: Hello, Is there any command line tool in FreeBSD for downloading a video from a URL like http://video.google.com/googleplayer.swf?docId=7540047147367608928 in the way youtube-dl, for example, does? Thx in advance matthias Umm youtube-dl is a command line tool for doing this (and its in ports www/youtube_dl) theres also www/metacafe_dl for metacafe. Did you mean something different? Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: downloading video from http://video.google.com/googleplayer.swf?docId=...
Matthias Apitz wrote: El día Wednesday, February 13, 2008 a las 03:43:35PM +, Vince Hoffman escribió: Matthias Apitz wrote: Hello, Is there any command line tool in FreeBSD for downloading a video from a URL like http://video.google.com/googleplayer.swf?docId=7540047147367608928 in the way youtube-dl, for example, does? Thx in advance matthias Umm youtube-dl is a command line tool for doing this (and its in ports www/youtube_dl) theres also www/metacafe_dl for metacafe. Did you mean something different? $ youtube-dl 'http://video.google.com/googleplayer.swf?docId=7540047147367608928' Error: URL does not seem to be a youtube video URL. If it is, report a bug. $ i.e. youtube-dl is for YouTube (and works for me), but not for Google Doh sorry, managed to read the url as youtube somehow, thought it was an odd question, more coffee needed obviously. Vince thx anyway matthias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what happened to linuxflashplugin?
Reid Linnemann wrote: Written by Heiko Wundram (Beenic) on 02/11/08 08:40 Am Montag, 11. Februar 2008 15:32:26 schrieb Erich Dollansky: Hi, Reid Linnemann wrote: Written by James on 02/10/08 21:59 I just tried a portupgrade out and it failed on linux flashplugin. Apparently, none of the file exist in the ftp repositories anymore. Any idea what happened there? James from /usr/ports/UPDATING: 2006-04-08 Affects: users of www/linux-flashplugin* Author: [EMAIL PROTECTED] Reason: These ports have been removed because the End User License Agreement explicitly forbids to run the Flash Player on FreeBSD. For more details, see http://www.macromedia.com/shockwave/download/license/desktop/. I could not find the word FreeBSD in the license agreement. BSD also does not appear there. Read this (in the license agreement): ... For the avoidance of doubt, no embedded or device versions of the above operating systems, or any other operating systems, are included as Authorized Operating Systems. ... 2.1You may install and use the Software on a single desktop or laptop computer that runs an Authorized Operating System. A license for the Software may not be shared, installed or used concurrently on different computers. ...where Authorized Operating Systems is only Windows, Linux, Solaris and Mac OS as defined before the initial sentence, and as such, there's no clause that allows you to use the software on BSDs, and finally, that makes it forbidden to use on BSDs. This is another reason why Flash is bad, bad, bad. Am I repeating myself? There appears to be an echo in this room FWIW, should you accidentally comment out the RESTRICTED declaration in the port Makefile, and the plugin tarball mysteriously materialize in /usr/ports/distfiles, you could perhaps accidentally install the port and put yourself in violation of the license (you naughty boy you). I couldn't find the flashplugin-7 tarball anywhere, but the flashplugin-9 tarball is at http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz (so you can download it for your linux machines, duh ;) ) Also people saying that FreeBSD has no licence to use flash should read /usr/ports/www/linux-flashplugin9/pkg-descr or /usr/ports/www/linux-flashplugin7/pkg-descr Where the 2006 UPDATING entrry is addressed. personally http://fpdownload.macromedia.com/get/flashplayer/installers/archive/fp7_archive.zip will download fine for me. [~](15:20:39) [EMAIL PROTECTED] /usr/ports/distfiles/flashplugin/fp7_archive.zip [~](15:21:07) [EMAIL PROTECTED] -f www/linux-flashplugin7 [Gathering depends for www/linux-flashplugin7 . done] --- Reinstalling 'linux-flashplugin-7.0r73' (www/linux-flashplugin7) --- Building '/usr/ports/www/linux-flashplugin7' === Cleaning for linux-flashplugin-7.0r73 === Found saved configuration for linux-flashplugin-7.0r70 = fp7_archive.zip doesn't seem to exist in /usr/ports/distfiles/flashplugin. = Attempting to fetch from http://fpdownload.macromedia.com/get/flashplayer/installers/archive/. fp7_archive.zip39% of 37 MB 203 kBps 01m56s Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what happened to linuxflashplugin?
Wojciech Puchar wrote: Agree here, but open-source friendly companies that promote the use of flash are much worse. As it seems to be, the reason why people want to use flash on FreeBSD is youtube in most of cases. you don't need flash to view youtobe movies. simply get URL from there, use youtube-dl from ports to download and play with mplayer possibly (my connection is to slow now to try realtime) you may do mplayer `youtube-dl -g URL` gnash and swfdec-plugin (both in ports) will also play youtube movies if you need them in your browser for some reason :) by the way you'll get better control of what's going on, and save bandwidth by not downloading the movie every time, just once ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: why does linux-base-f7 exist if the binary compatibility is to a kernel too old to run it? (and how to change that?)
Steve Franks wrote: [EMAIL PROTECTED] /usr/ports/emulators/linux_base-f7]$ sudo make install clean === linux_base-f7-7 compat.linux.osrelease: 2.4.2 is not supported. *** Error code 1 Stop in /usr/ports/emulators/linux_base-f7. ??? Theres work in progress to update the binary compatibility. http://wiki.freebsd.org/linux-kernel I would imagine the linux_base-f7 is useful for testing. Vince Thanks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: why does linux-base-f7 exist if the binary compatibility is to a kernel too old to run it? (and how to change that?)
Steve Franks wrote: But there are sites (such as this one: http://www.linux.com/feature/53055) that talk about actually using linux_base-fc8 (which I can't even find on 7.0rc1). How is that possible if the kernel is too old for it? no idea about /usr/port/emulators/linux_base-8 which that article talks about, its not in my ports tree. but you can use linux_base-f7 if you set compat.linux.osrelease=2.6.16 however its still a work in progress and wont always work as intended, for example it works fine on my laptop [EMAIL PROTECTED] -Ix linux_base linux_base-f7-7 Base set of packages needed in Linux mode (for i386/amd64) [EMAIL PROTECTED] compat.linux.osrelease compat.linux.osrelease: 2.6.16 and I can use acrobat and other linux binaries, however my desktop at home would not start acrobat reader using compat.linux.osrelease=2.6.16 and linux_base-f7-7, and I had to go back to linux_base-fc-4_10 and compat.linux.osrelease: 2.4.2. Vince Steve On Feb 8, 2008 9:42 AM, Vince Hoffman [EMAIL PROTECTED] wrote: Steve Franks wrote: [EMAIL PROTECTED] /usr/ports/emulators/linux_base-f7]$ sudo make install clean === linux_base-f7-7 compat.linux.osrelease: 2.4.2 is not supported. *** Error code 1 Stop in /usr/ports/emulators/linux_base-f7. ??? Theres work in progress to update the binary compatibility. http://wiki.freebsd.org/linux-kernel I would imagine the linux_base-f7 is useful for testing. Vince Thanks, Steve ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: why does linux-base-f7 exist if the binary compatibility is to a kernel too old to run it? (and how to change that?)
Vince Hoffman wrote: Steve Franks wrote: But there are sites (such as this one: http://www.linux.com/feature/53055) that talk about actually using linux_base-fc8 (which I can't even find on 7.0rc1). How is that possible if the kernel is too old for it? no idea about /usr/port/emulators/linux_base-8 which that article talks about, its not in my ports tree. but you can use linux_base-f7 if you set compat.linux.osrelease=2.6.16 Sorry to answer myself here, but Just looked and it seems /usr/port/emulators/linux_base-8 was the redhat 8 port (ie ancient) and has been removed.(http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/linux_base-8/Attic/Makefile) however its still a work in progress and wont always work as intended, for example it works fine on my laptop [EMAIL PROTECTED] -Ix linux_base linux_base-f7-7 Base set of packages needed in Linux mode (for i386/amd64) [EMAIL PROTECTED] compat.linux.osrelease compat.linux.osrelease: 2.6.16 and I can use acrobat and other linux binaries, however my desktop at home would not start acrobat reader using compat.linux.osrelease=2.6.16 and linux_base-f7-7, and I had to go back to linux_base-fc-4_10 and compat.linux.osrelease: 2.4.2. Vince Steve On Feb 8, 2008 9:42 AM, Vince Hoffman [EMAIL PROTECTED] wrote: Steve Franks wrote: [EMAIL PROTECTED] /usr/ports/emulators/linux_base-f7]$ sudo make install clean === linux_base-f7-7 compat.linux.osrelease: 2.4.2 is not supported. *** Error code 1 Stop in /usr/ports/emulators/linux_base-f7. ??? Theres work in progress to update the binary compatibility. http://wiki.freebsd.org/linux-kernel I would imagine the linux_base-f7 is useful for testing. Vince Thanks, Steve ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: acrobat reader (7 or 8) on 7.0-RC1
Boris Samorodov wrote: On Wed, 30 Jan 2008 20:25:47 + Vince Hoffman wrote: Has anyone else had any issues getting this working? my laptop runs acrobat reader7 fine while my desktop doesnt like it at all (see error below.) I am using compat.linux.osrelease=2.6.16 and linux_base-fc6-6_5 I have linux procf mounted. Have you read /usr/ports/UPDATING? any suggestion? Restore default linux base port and sysctl setting(s). Yeah that fixed it, thanks. (I thought I had already gone back to the default linux_base but had left OVERRIDE_LINUX_BASE_PORT=fc6 in my make.conf.) Annoying that it worked on one but not the other. Vince WBR ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: broadcom wireless card on FB7 using ndisgen, no ndis0 after kldload
Kemian Dang wrote: Glen Barber 写道: On Wednesday 30 January 2008 07:18:51 pm Kemian Dang wrote: I have a laptop which using the broadcom wireless card. I download the bcmwl5a.inf/.sys and use ndisgen to generate the .ko file, then I kldload it as the doc said. I can see ndis,if_ndis and bcmwl using kldstat, but there are no ndis0 when ifconfig. I have tried add the bcmwl to the /boot/loader.conf, but still no ndis0. And there no message in the dmesg about the ndis. Did you copy the bcmxxx.ko file to /book/kernel/ ? If you did, make sure you have an entry in your /boot/loader.conf: bcmxxx_load=YES I have my bcm driver called 'bcmwl5_sys.ko' and 'bcmwl5_sys_load=YES in my /boot/loader.conf. Hope that helps Yes, mine is bcmwl5a_sys.ko and I have tried to put it in the loader.conf. Actually, it is in the loader.conf now. I list it below: %ls /boot/modules/bcmwl* /boot/modules/bcmwl5a_sys.ko %more /boot/loader.conf nvidia_load=yes bcmwl5a_sys_load=yes Does yes differ from YES? I think YES and yes are interchangeable although YES tends to be used. whats the output of kldstat? if it doesnt contain ndis.ko what happens if you kldload ndis Vince Best wishes, Kemian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: broadcom wireless card on FB7 using ndisgen, no ndis0 after kldload
Kemian Dang wrote: Vince Hoffman 写道: Kemian Dang wrote: Glen Barber 写道: On Wednesday 30 January 2008 07:18:51 pm Kemian Dang wrote: I have a laptop which using the broadcom wireless card. I download the bcmwl5a.inf/.sys and use ndisgen to generate the .ko file, then I kldload it as the doc said. I can see ndis,if_ndis and bcmwl using kldstat, but there are no ndis0 when ifconfig. I have tried add the bcmwl to the /boot/loader.conf, but still no ndis0. And there no message in the dmesg about the ndis. Did you copy the bcmxxx.ko file to /book/kernel/ ? If you did, make sure you have an entry in your /boot/loader.conf: bcmxxx_load=YES I have my bcm driver called 'bcmwl5_sys.ko' and 'bcmwl5_sys_load=YES in my /boot/loader.conf. Hope that helps Yes, mine is bcmwl5a_sys.ko and I have tried to put it in the loader.conf. Actually, it is in the loader.conf now. I list it below: %ls /boot/modules/bcmwl* /boot/modules/bcmwl5a_sys.ko %more /boot/loader.conf nvidia_load=yes bcmwl5a_sys_load=yes Does yes differ from YES? I think YES and yes are interchangeable although YES tends to be used. whats the output of kldstat? if it doesnt contain ndis.ko what happens if you kldload ndis Vince Below is the output of kldstat: %kldstat Id Refs AddressSize Name 1 21 0xc040 5c0690 kernel 21 0xc09c1000 69415c nvidia.ko 32 0xc1056000 28518linux.ko 41 0xc107f000 5f7a4bcmwl5a_sys.ko 53 0xc10df000 1aa10ndis.ko 62 0xc10fa000 e750 if_ndis.ko 71 0xc1109000 6a1c4acpi.ko 81 0xc520e000 2000 ntfs_iconv.ko 91 0xc521 4000 libiconv.ko 101 0xc5235000 b000 ntfs.ko It has the bcmwl5a_sys.ko, ndis.ko and if_ndis.ko. Damm cant think of anything then, (I did exactly what you are trying last night, and my full steps we just to download the drivers (was a broadcom rebadged as belkin) point ndsigen at the appropriate files (typically the inf wasnt a .inf but a .ntf for some reason) then kldload ndis followed by kldload the created .ko (after moving it to /boot/modules) Sorry I cant help more. Vince Best wishes, Kemian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
WPA and static IP
Hi all, I'm wondering if there is a way to specify WPA ad a static IP for an interface in /etc/rc.conf I've had a quick look though the handbook and google but all the examples use WPA and DHCP. any suggestions welcome, Cheers Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WPA and static IP
Peter Boosten wrote: Vince Hoffman wrote: Hi all, I'm wondering if there is a way to specify WPA ad a static IP for an interface in /etc/rc.conf I've had a quick look though the handbook and google but all the examples use WPA and DHCP. ifconfig_ath0=WPA inet 192.168.13.8 netmask 255.255.255.0 works for me. Peter Doh that simple eh? Thanks, Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
acrobat reader (7 or 8) on 7.0-RC1
Hi, Has anyone else had any issues getting this working? my laptop runs acrobat reader7 fine while my desktop doesnt like it at all (see error below.) I am using compat.linux.osrelease=2.6.16 and linux_base-fc6-6_5 I have linux procf mounted. any suggestion? [EMAIL PROTECTED] (20:16:58 /usr/src) 0 $ acroread *** glibc detected *** /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread: double free or corruption (!prev): 0x09632cd8 *** === Backtrace: = /lib/libc.so.6[0x2a07ec88] /lib/libc.so.6(cfree+0x90)[0x2a082230] /lib/libc.so.6(closedir+0x28)[0x2a0a2cf8] /usr/lib/libfontconfig.so.1(FcDirScan+0x1f2)[0x2a22b21d] /usr/lib/libfontconfig.so.1(FcConfigBuildFonts+0x94)[0x2a225d51] /usr/lib/libfontconfig.so.1(FcInitLoadConfigAndFonts+0x26)[0x2a22d0b3] /usr/lib/libfontconfig.so.1(FcInit+0x2e)[0x2a22d2b0] /usr/lib/libfontconfig.so.1(FcConfigGetCurrent+0x29)[0x2a225c7a] /usr/lib/libfontconfig.so.1(FcConfigSubstituteWithPat+0x6f4)[0x2a227ab3] /usr/lib/libfontconfig.so.1(FcConfigSubstitute+0x33)[0x2a227af8] /usr/lib/libpangoxft-1.0.so.0[0x2a174455] /usr/lib/libpangoft2-1.0.so.0[0x2a262f43] /usr/lib/libpangoft2-1.0.so.0[0x2a262ffc] /usr/lib/libpangoft2-1.0.so.0[0x2a263434] /usr/lib/libpango-1.0.so.0(pango_font_map_load_fontset+0x4a)[0x29f0df6f] /usr/lib/libpango-1.0.so.0[0x29f0c51b] /usr/lib/libpango-1.0.so.0(pango_itemize_with_base_dir+0x98)[0x29f0c9ae] /usr/lib/libpango-1.0.so.0[0x29f13cb0] /usr/lib/libpango-1.0.so.0[0x29f14892] /usr/lib/libgtk-x11-2.0.so.0[0x29c44060] /lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__BOXED+0x59)[0x29f4c769] /lib/libgobject-2.0.so.0[0x29f3e589] /lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0x29f3fd9b] /lib/libgobject-2.0.so.0[0x29f508ca] /lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0x29f51957] /lib/libgobject-2.0.so.0(g_signal_emit_by_name+0xee)[0x29f53cee] /usr/lib/libgtk-x11-2.0.so.0[0x29c98e92] /usr/lib/libgtk-x11-2.0.so.0[0x29c99191] /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_size_request+0x48)[0x29d2e2a4] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixGtkWidgetGetSize+0xba)[0x83739aa] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixShowAboutDialog+0x7ff)[0x86ce95f] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(_Z12UNIX_Startupv+0xd)[0x838743d] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(AVDlgStartup+0x22)[0x858ff02] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(wcsftime+0x2678)[0x8369808] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(AVAppInit+0xf5)[0x8496c85] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixAppInitUI+0xb6)[0x8369906] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixAppMain+0x1fb)[0x836937b] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(main+0x3a)[0x8367daa] /lib/libc.so.6(__libc_start_main+0xdc)[0x2a02cdec] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(gtk_widget_grab_focus+0x31)[0x8367cd1] === Memory map: cheers, vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: acrobat reader (7 or 8) on 7.0-RC1
KAYVEN RIESE wrote: Did you install that acrobat port? yes [EMAIL PROTECTED] (20:22:36 ~) 0 # pkg_info -Ix acroread acroread7-7.0.9_2,1 Adobe Reader for view, print, and search PDF documents (ENU acroreadwrapper-0.0.20071020 Wrapper script for Adobe Reader On Wed, 30 Jan 2008, Vince Hoffman wrote: Hi, Has anyone else had any issues getting this working? my laptop runs acrobat reader7 fine while my desktop doesnt like it at all (see error below.) I am using compat.linux.osrelease=2.6.16 and linux_base-fc6-6_5 I have linux procf mounted. any suggestion? [EMAIL PROTECTED] (20:16:58 /usr/src) 0 $ acroread *** glibc detected *** /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread: double free or corruption (!prev): 0x09632cd8 *** === Backtrace: = /lib/libc.so.6[0x2a07ec88] /lib/libc.so.6(cfree+0x90)[0x2a082230] /lib/libc.so.6(closedir+0x28)[0x2a0a2cf8] /usr/lib/libfontconfig.so.1(FcDirScan+0x1f2)[0x2a22b21d] /usr/lib/libfontconfig.so.1(FcConfigBuildFonts+0x94)[0x2a225d51] /usr/lib/libfontconfig.so.1(FcInitLoadConfigAndFonts+0x26)[0x2a22d0b3] /usr/lib/libfontconfig.so.1(FcInit+0x2e)[0x2a22d2b0] /usr/lib/libfontconfig.so.1(FcConfigGetCurrent+0x29)[0x2a225c7a] /usr/lib/libfontconfig.so.1(FcConfigSubstituteWithPat+0x6f4)[0x2a227ab3] /usr/lib/libfontconfig.so.1(FcConfigSubstitute+0x33)[0x2a227af8] /usr/lib/libpangoxft-1.0.so.0[0x2a174455] /usr/lib/libpangoft2-1.0.so.0[0x2a262f43] /usr/lib/libpangoft2-1.0.so.0[0x2a262ffc] /usr/lib/libpangoft2-1.0.so.0[0x2a263434] /usr/lib/libpango-1.0.so.0(pango_font_map_load_fontset+0x4a)[0x29f0df6f] /usr/lib/libpango-1.0.so.0[0x29f0c51b] /usr/lib/libpango-1.0.so.0(pango_itemize_with_base_dir+0x98)[0x29f0c9ae] /usr/lib/libpango-1.0.so.0[0x29f13cb0] /usr/lib/libpango-1.0.so.0[0x29f14892] /usr/lib/libgtk-x11-2.0.so.0[0x29c44060] /lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__BOXED+0x59)[0x29f4c769] /lib/libgobject-2.0.so.0[0x29f3e589] /lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0x29f3fd9b] /lib/libgobject-2.0.so.0[0x29f508ca] /lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0x29f51957] /lib/libgobject-2.0.so.0(g_signal_emit_by_name+0xee)[0x29f53cee] /usr/lib/libgtk-x11-2.0.so.0[0x29c98e92] /usr/lib/libgtk-x11-2.0.so.0[0x29c99191] /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_size_request+0x48)[0x29d2e2a4] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixGtkWidgetGetSize+0xba)[0x83739aa] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixShowAboutDialog+0x7ff)[0x86ce95f] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(_Z12UNIX_Startupv+0xd)[0x838743d] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(AVDlgStartup+0x22)[0x858ff02] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(wcsftime+0x2678)[0x8369808] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(AVAppInit+0xf5)[0x8496c85] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixAppInitUI+0xb6)[0x8369906] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixAppMain+0x1fb)[0x836937b] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(main+0x3a)[0x8367daa] /lib/libc.so.6(__libc_start_main+0xdc)[0x2a02cdec] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(gtk_widget_grab_focus+0x31)[0x8367cd1] === Memory map: cheers, vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: acrobat reader (7 or 8) on 7.0-RC1
Philip M. Gollucci wrote: Vince Hoffman wrote: KAYVEN RIESE wrote: Did you install that acrobat port? You sir are missing the FREEBSD6_COMPAT config in your kernel. Just for a second I thought you had it, but sadly not [EMAIL PROTECTED] (22:45:02 /usr/src/sys/i386/conf) 0 # uname -a FreeBSD crab.unsane.co.uk 7.0-RC1 FreeBSD 7.0-RC1 #18: Thu Jan 17 12:27:35 GMT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CRAB i386 [EMAIL PROTECTED] (22:45:05 /usr/src/sys/i386/conf) 0 # grep FREEBSD6 /usr/src/sys/i386/conf/CRAB options COMPAT_FREEBSD6 # Compatible with FreeBSD6 However I'm going to try updating and recompiling to see if that fixes it. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shell scripting kungfu
Paul Schmehl wrote: I need to do the following: Take a list of various strings, one of which is a quoted IP address, and extract the IPs. (Done that.) Then take the list of IPs and convert them to a list of IPs with masks on a single line. IOW, I have converted the original list to this: x.x.x.x x.x.x.x x.x.x.x x.x.x.x Now I need to remove the newlines and add /32, to the end of each IP so that I have this: x.x.x.x/32,x.x.x.x/32,x.x.x.x/32,etc. I got close with sed, but I'm not quite there. I got this: x.x.x.x/32,x.x.x.x x.x.x.x/32,x.x.x.x x.x.x.x/32,x.x.x.x Here's the code I used: cat hostlist | cut -d',' -f2 | cut -d'' -f2 | sort | uniq | grep -v inet | sed '/[^*]$/N;s/\n */\/32,/' What am I missing? Its a bit heavy to fireup but perl -pe 's/\n/\/32,/' hostlist should work (if you then remove the final tailing ,) Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Building UNSTRIPPED binaries in ports?
Dan Mahoney, System Admin wrote: Hello, I am encountering a bug with named-9.4.1-P1 that I am attempting to work with ISC on, that I have built from ports (dns/bind94). However, I need a non-stripped version of the binary to get a backtrace. I can't roll my own binary because it may be related to some way that the port is built so I need to maintain a similar build environment. Is there some make.conf or compile time flag that I can set that would prevent the stripping from happening? Or would I just have to manually edit the makefile someplace -- and if so, can anyone give a pointer as to where? Setting the strip command to /bin/true or something, perhaps -- but I can't be sure if the strip_command is being used. I've found references in the porter's handbook that state all binaries should be stripped, but I think in cases like this it would be useful to give the user a universal option to not do so. I had a quick dig in /usr/ports/Mk and from bsd.port.mk It looks like what you want is # WITH_DEBUG- If set, debugging flags are added to CFLAGS and the # binaries don't get stripped by INSTALL_PROGRAM. # Besides, individual ports might add their specific # to produce binaries for debugging purposes. # You can override the debug flags that are passed to # the compiler by setting DEBUG_FLAGS. It is set to # -g at default Vince -Dan -- Man, this is such a trip -Dan Mahoney, October 25, 1997 Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Root access loggin
\ \ Paul Schmehl wrote: --On Tuesday, July 24, 2007 16:01:33 -0400 Ian Lord [EMAIL PROTECTED] wrote: -Original Message- From: John Fitzgerald [mailto:[EMAIL PROTECTED] Sent: 24 juillet 2007 15:42 To: Tom Grove Cc: freebsd-questions@freebsd.org; Ian Lord Subject: Re: Root access loggin I may be misunderstanding this, but wouldn't allowing only certain commands with sudo assume that the user actually knows what commands are needed by the user? In this situation it seems like the whole reason to grant access to the server was because the user _doesn't_ know what needs to be done. ~~ Exactly, I don't know what needs to be done, and they don't neither. That's why they need to browse around trying to figure out why their installer doesn't work. Sudo wouldn't be any help here cause I would need to pre approve commands and I don't know which one will be needed. You seem to have a mistaken understanding of sudo. You can grant them access to everything that root has simply by adding their account to the wheel group and using visudo to grant wheel access to everything that root has access to. You can do this with or without a requirement to type your password when you use sudo. This will allow them to do everything they want while logging every command they type. And that seems to be exactly what you want. So, rather than giving them the root password, create an account for them, add it to the wheel group and use visudo to edit /usr/local/etc/sudoers to grant wheel access to everything. (DO NOT edit the file with vi!) To add the wheel group to a user: pw usermod username -G wheel Granting access to wheel should be self-explanatory: # Uncomment to allow people in group wheel to run all commands %wheel ALL=(ALL) ALL # %wheelALL=(ALL) NOPASSWD: ALL That way everything they do is logged, and you don't have to compromise your root password. The problem here is that the first command I type in this situation if i need to run multiple commands as root it sudo su - after that nothing is logged. I agree with Lowell that watch(8) is probably the way to go. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgraded 6.2 and mysql lost all privileges
user accounts are held in /etc/passwd the default UIDs created by ports are listed in /usr/ports/UIDs including mysql mysql:*:88:88:MySQL Daemon:/var/db/mysql:/sbin/nologin you can either re-add it using pw or just paste the line in using vipw Vince Noah wrote: the user accounts are gone. where does that information reside? I dont know how else to say or ask that question. Cheers, Noah Björn König wrote: Noah schrieb: Hi there, I just upgraded to 6.2 and now I do not see my mysql privileges. is there an easy way to get them back in place. I thought they would magically appear in the /var/db/mysql directory and stuff. Is there an easy way to recover these accounts or do I need to readd them manually?? What privileges do you mean? Privileges for accessing the database or /var/db/mysql? What do you expect? What happens? More input (and output) please. Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: defrag
Kevin Kinsey wrote: Kevin Kinsey wrote: Steve Franks wrote: How come I never hear defrag come up as a topic, and can't find anything related to defrag in the ports tree? Is it really not an issue on UFS? Can someone point me to an explantion if so? Thanks, Steve I'm thinking this one's in the FAQ at freebsd.org. Bah! HEADS-UP: Ignore any advice I feel compelled to give today. Two retractions in one hour would seem to demonstrate a cranial short-circuit this morning. Steve, it's not in the FAQ. Here's a link to a brief mailist discussion: http://lists.freebsd.org/pipermail/freebsd-chat/2003-July/000932.html Assuming you have Ghostscript installed (which may be a big IF), you might be able to take a gander at the document mentioned with something like: groff /usr/share/doc/smm/05.fastfs/* ~/ffs.ps ps2pdf ~/ffs.ps acroread ~/ffs.pdf But there's probably a better way --- I'm certainly one offing today. If you dont mind reading in a terminal. gzcat /usr/share/doc/smm/05.fastfs/* | more does the trick fine for me. By the way thanks for the link to the doc. Vince Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: VMware equivalent?
Chris wrote: RW wrote: On Tue, 6 Feb 2007 07:45:43 -0800 (PST) Chris Maness [EMAIL PROTECTED] wrote: I have been running vmware, and it works very well, but if I can find a open source version that works well, I would like to move in that direction. Thanks for the tips guys. If you do try qemu try building it with kqemu support. qemu does full emulation (which is needed for running an OS for a different platform). kqemu allows some of the guest OS instructions to run directly on the CPU, which is much faster. kqemu is not as mature as qemu, and if it doesn't works for you, you will find qemu much slower than vmware ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I would try VMWare 3 myself (ports tree) however, I'm unclear how to obtain a working key. Any ideas? From the README vmware3 installs After a successful port installation you will need to obtain a license key to run VMware (you can use an old one for Linux). If you want to obtain a new key from http://www.vmware.com , you will have to select Linux as the 'server' platform. regards, Vince ___ 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 install the 3945ABG Driver on a fresh FreeBSD 6.2 install?
Gilbert Cao wrote: On Thu, Jan 18, 2007 at 12:36:04AM +, Vince Hoffman wrote: I hate to say this but this driver only seems to compile on -CURRENT as far as i can tell (and as far as the conversation at http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2007/freebsd-drivers/20070107.freebsd-drivers leads me to believe.) There is another less complete driver floating around that is usable on 6.x although it only works for some people and even then only at 6 meg (i believe the conversation i linked contains links to that driver if you dont fancy running current.) Vince Hi, I think you are talking about that one http://people.freebsd.org/~flz/local/wpi/wpi-freebsd-20061109.tgz about a less complete driver usable on 6.x. And, yes, I have tried it, but it did not work for me. (I don't know yet how it works for some people). In my case, with ifconfig, the status is still on no carrier. No associated status. Hi, Could be although i got it from a different source. About the following, http://www.clearchain.com/~benjsc/download/20070107-wpi-freebsd.tar.gz basically yes, it only compiles on -CURRENT. I have tried it and it works for me. As I wanted to stay on 6.x, I have installed a 6.2-RELEASE, and tried to make the 20070107-wpi-freebsd.tar.gz compiles. Here, you will find the result of my work : http://www.bsdmon.com/download/20070121-wpi-freebsd.tar.gz Excelent, just got a chance to try this on an unsecured network (couldnt get wep to work but i dont tend to need it anyway,) works great, got more than the 6 meg connection speed the other one i was using gave me. To make it compiles, I basically started from 20070107-wpi-freebsd.tar.gz and took some code on wpi-freebsd-20061109.tgz. Now, this new one compiles and it works for me : status: associated on ifconfig output. Don't ask why I do this or that, in the code. I don't really know :p. First, I just wanted to make the latest package I found, compile. And, on the plus side, it works for me. In the package, I have kept the original file as .orig, so you will see what I have added and changed. My programming skill are limited to shell and perl (and limited even then) so i'll take your word for it. I have intentionally commented WPI_DEBUG and WPI_CURRENT. About WPI_CURRENT, this have to be commented, on 6.x. About WPI_DEBUG, it is just that I wanted to get rid of lots of output, in my daily use. Hope it helps ;) It does indeed. many thanks, Vince ___ 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 install the 3945ABG Driver on a fresh FreeBSD 6.2 install?
Daniel Tourde wrote: Hello, I found the driver for my wireless card on: http://www.clearchain.com/~benjsc/download/20070106-wpi-freebsd.tar.gz but how is it supposed to be installed on a fresh FreeBSD 6.2? I hate to say this but this driver only seems to compile on -CURRENT as far as i can tell (and as far as the conversation at http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2007/freebsd-drivers/20070107.freebsd-drivers leads me to believe.) There is another less complete driver floating around that is usable on 6.x although it only works for some people and even then only at 6 meg (i believe the conversation i linked contains links to that driver if you dont fancy running current.) Vince Daniel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: java plugin for firefox
eoghan wrote: Hi Does anyone have a guide or advice for getting java plugin working for firefox? Im running 6.1 on amd. I have installed: diablo-jdk-5.0 diablo-jre1.5.0 linux-blackdown-jre1.1.8 linux-sun-jdk1.4.2 when i try to access a java app from firefox im always presented with the plugin missing page... I had it working on i386 before with just the installation of java... Im not sure what i have to do next... sounds like you may not have the correct files/links in your plugin directory. whats the output of ls -l /usr/local/lib/browser_plugins and ls -l /usr/X11R6/lib/browser_plugins/ if /usr/local/lib/browser_plugins doesnt have a symlink like libjavaplugin_oji.so@ - /usr/local/diablo-jdk1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so then try cd /usr/local/lib/browser_plugins ln -s /usr/local/diablo-jdk1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.solibjavaplugin_oji.so and restart firefox and look at about:plugins Vince Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: changing subject of this list?
Andrew Pantyukhin wrote: On 12/31/06, Matthew Seaman [EMAIL PROTECTED] wrote: Zbigniew Szalbot wrote: All the best for the New Year to everyone. By the way, would it be possible for this list to introduce a subject prefix like [FBSDQ] or something along this line? It would make sorting much easier. Some people put the list address in CC so with MUAs like SquirrelMail it is a bit difficult to filter the messages. A very effective method of filtering is to look for the List-ID: header. Most mail software won't display it to you without persuasion, but for [EMAIL PROTECTED] it looks like this: [...] X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions freebsd-questions.freebsd.org List-Unsubscribe: http://lists.freebsd.org/mailman/listinfo/freebsd-questions, mailto:[EMAIL PROTECTED] [...] Mailing lists should nowadays include a List-ID: header in the mails they send out. [RFC 2919 if you're that interested] Sorting messages based on it is, I find, generally the most accurate way to classify them correctly. It's very easy to do in procmail -- too obvious to bother giving an example. In thunderbird, you have go into Tools:Message Filters, then hit New to create a new rule, then choose 'Customize' from the 'Subject' pull-down. Unfortunately squirrelmail is not a software package I know much about, but I'd expect any reasonably competent e-mail client to be able to filter on arbitrary mail headers without too much trouble. In gmail it's undocumented, but you can use listid search operator to search and filter by List-ID. This is untried as I only use squirrelmail when I am behind draconian firewalls that dont allow imap or ssh and usually use procmailfor filtering, however in the options menu, select filters then new, then choose to match a header that contains *List-Id:* User questions freebsd-questions.freebsd.org and move it to where you want it moved to. Like i say untested but I cant see why it wont work. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Business port
Jerry wrote: Hi all, I have been rummaging through ports wondering if there might be a utility or couple of utilities to handle bookkeeping for a small membership organization. I know little of accounting and such, so don't know how to interpret the scanty pkg-descr tidbits that accompany the ports. So, some amplification would be helpful. It would need to keep records for about 500 members (say under 1000 for good measure - more is, of course OK), including membership, participation and official responsibilities (such as board oficer, etc). It would also need to keep accounts, regular receipts from members, non-members, services and payouts for expenses and also remissions to an umbrella organization. The ability to generate regular reports for the membership, plus year-end reports for tax purposes would be important. The ability to cut checks and keep a record would be a significant plus. So, does anyone know of something good along this line in the open source freeware world that would run on FreeBSD - whether currently in the ports or not? Any suggestions would be appreciated. I cant promise its right for you but have you looked at gnucash? (finance/gnucash) (http://www.gnucash.org/) last time i looked it was about the best open source accounts package (that was a year or so ago though and i never really used it as my requirements can still be met with a spreadsheet ;) Vince Thank you for any useful information you can provide. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Routing Question
Bret J Esquivel wrote: Hi, I have a cable modem at my office with a /28 allocated. I have a FreeBSD 6.1 firewall/router in between the cable modem and the switch to other nodes. My question is how could I add static routes to say my web server having an external IP address but still going through the firewall box? NAT is not an option. INET (70.164.48.225/28) - [xl0] Firewall (70.164.48.226) [xl1] - [xl0] Web server (70.164.48.227) Only really one choice if you really don't want NAT (i've run web servers with a static nat many times though so i wouldn't rule it out if i were you) Routing wouldn't work in this scenario as you dont have enough control, you would have to bridge the interfaces on your firewall. man if_bridge. Bridging xl0 and xl1 on your firewall will make it act like a 2 port hub, but pf ,ipfw and ipf can still filter packets going across it. Personally in this situation i'd just add the IPs to the freebsd box and set static NATs up for anything that needs to be externally visible but a bridging firewall should work too. Vince Thanks in advance. Bret ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: access wikipedia (walk through the great firewall of China)
On Fri, 8 Dec 2006, ~_ wrote: Hello. My office use this method to access wikipedia behind the great firewall of China: 1) we have a server in europ, let's call it server; 2) I run this command on my desktop: $ ssh -L 80:en.wikipedia.org:80 server; 3) everybody in the office edit /etc/hosts, add this line: [my_ip_addr] en.wikipedia.org So my computer become a 'proxy'. The trouble is I have to keep the ssh running there. The 'proxy' will not automatically set up next time I reboot my computer. Is it possible to install some software to run as a daemon and do this proxy? I think of stunnel, but I have too few knowledge to know if stunnel can do this. maybe autossh ? http://www.harding.motd.ca/autossh/ Its in ports Port: autossh-1.4a Path: /usr/ports/security/autossh Info: Automatically restart SSH sessions and tunnels Otherwise as many other people have said there are may better ways to do this. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to tell what the RAM configuration is?
patrick wrote: I'm wondering if there's any way in FreeBSD (4.x on i386) to tell what the RAM configuration in the system is? ie. Can it show me if I have four 256MB modules versus two 512MB's? Obviously it would be possible to just open up the computer and see for my self, I'm hoping I can save myself a trip and wrecking an uptime of 670 days. :) I think http://freebsd.rambler.ru/bsdmail/freebsd-questions_2005/msg18034.html has an answer you can use. (basicly try usr/ports/sysutils/dmidecode) this dumps the bios info in a readable form, just look for the memory module information. worked for me Handle 0x0007, DMI type 5, 20 bytes Memory Controller Information Error Detecting Method: None Error Correcting Capabilities: None Supported Interleave: One-way Interleave Current Interleave: One-way Interleave Maximum Memory Module Size: 4096 MB Maximum Total Memory Size: 8192 MB Supported Speeds: 70 ns 60 ns 50 ns Supported Memory Types: DIMM SDRAM Memory Module Voltage: 2.9 V Associated Memory Slots: 2 0x0008 0x0009 Enabled Error Correcting Capabilities: None Handle 0x0008, DMI type 6, 12 bytes Memory Module Information Socket Designation: DIMM0 Bank Connections: 0 1 Current Speed: 75 ns Type: DIMM Installed Size: 512 MB (Double-bank Connection) Enabled Size: 512 MB (Double-bank Connection) Error Status: OK Handle 0x0009, DMI type 6, 12 bytes Memory Module Information Socket Designation: DIMM1 Bank Connections: 2 3 Current Speed: 75 ns Type: DIMM Installed Size: 512 MB (Double-bank Connection) Enabled Size: 512 MB (Double-bank Connection) Error Status: OK Thanks, Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd doesm't see my script on boot
Gregory Edigarov wrote: Hello, Everybody Well, here is what I am doing: ls -l /usr/local/etc/rc.d total 30 -r-xr-xr-x 1 root wheel 4744 Nov 13 11:38 apache22 -r-xr-xr-x 1 root wheel 673 Nov 13 14:27 clamav-clamd -r-xr-xr-x 1 root wheel 722 Nov 13 14:27 clamav-freshclam -r-xr-xr-x 1 root wheel 1057 Nov 13 14:27 clamav-milter -r-xr-xr-x 1 root wheel 1254 Nov 13 13:01 gnugk -r-xr-xr-x 1 root wheel 198 Nov 15 01:17 l2tpd -r-xr-xr-x 1 root wheel 196 Nov 14 12:35 popa3d -r-xr-xr-x 1 root wheel 1642 Nov 13 11:19 quagga -r-xr-xr-x 1 root wheel 4371 Nov 13 14:00 samba -r-xr-xr-x 1 root wheel 1324 Nov 14 15:20 squid -r-xr-xr-x 1 root wheel 564 Nov 13 11:19 watchquagga cat /usr/local/etc/rc.d/l2tpd #!/bin/sh #PROVIDE l2tpd #REQUIRE NETWORKING . /etc/rc.subr name=l2tpd rcvar=`set_rcvar` command=/usr/local/sbin/${name} flags= echo l2tp debug load_rc_config $name run_rc_command $1 in rc.conf: l2tpd_enable=YES Then after reboot: ps ax | grep l2tpd 667 v1 RL+0:00.00 grep l2tpd i.e no l2tpd has been started. no messages on console, either. My script just got silently skipped, all other services are starting up fine. What's wrong? Does it work if you run it manually? does it start if you run /etc/rc.d/localpkg start not certain this will help but try adding verbose_loading=YES to /boot/loader.conf to see if that give more info on startup. Also try adding set -x to your script to enable more debugging output is you think you need it Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail greet_pause config
Simon Gao wrote: Hi, I am trying to enable a new feature, greet_pause, with Sendmail 8.13.x on FreeBSD 4.7. When I try to re-generate sendmail.cf file, I got following error and the file generation failed: # m4 /usr/share/sendmail/cf/m4/cf.m4 sendmail.mc sendmail.cf m4: sendmail.mc at line 53: include(/usr/share/sendmail/cf/feature/greet_pause.m4): No such file or directory The new feature greet_pause is available since 8.13.1. Why am I missing the file? Or did I do something wrong when creating sendmail.cf? According to the release note freebsd 4.7 used 8.12.6 (http://www.freebsd.org/releases/4.7R/relnotes-i386.html#AEN480) If you are using the version from ports you need to use /usr/local/share/sendmail not /usr/share/sendmail Vince Simon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Change an IP address without a reboot
Andrew Falanga wrote: On 11/2/06, Steve Bertrand [EMAIL PROTECTED] wrote: mybox# ifconfig rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 208.70.104.3 netmask 0xff80 broadcast 208.70.104.127 inet 192.168.250.1 netmask 0xff00 broadcast 192.168.250.255 ...now, mybox# ifconfig rl0 delete 192.168.250.1 ...and finally, newmarlo# ifconfig rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 208.70.104.3 netmask 0xff80 broadcast 208.70.104.127 This seems to work for IPv4 address as I tried the above. I added the address and then deleted it. However, when I attempt to delete the IPv6 address I've given to the interface, I continually get bad value. For example, ifconfig sis0 inet6 fec0:1:1:1::2/64 ifconfig sis0 delete fec0:1:1:1::2 Which returns: ifconfig: fec0:1:1:1::2: Bad value You have the order wrong [EMAIL PROTECTED] (00:22:37 ~) 0 # ifconfig xl0 inet6 2001:470:1f01:244::30 [EMAIL PROTECTED] (00:23:27 ~) 0 # ifconfig xl0 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=9RXCSUM,VLAN_MTU inet6 fe80::211:d8ff:fe9f:531c%xl0 prefixlen 64 scopeid 0x1 inet 10.0.0.100 netmask 0xff80 broadcast 10.0.0.127 inet6 2001:470:1f01:244::30 prefixlen 64 ether 00:11:d8:9f:53:1c media: Ethernet autoselect (100baseTX full-duplex) status: active [EMAIL PROTECTED] (00:23:32 ~) 0 # ifconfig xl0 inet6 2001:470:1f01:244::30 remove [EMAIL PROTECTED] (00:23:34 ~) 0 # ifconfig xl0 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=9RXCSUM,VLAN_MTU inet6 fe80::211:d8ff:fe9f:531c%xl0 prefixlen 64 scopeid 0x1 inet 10.0.0.100 netmask 0xff80 broadcast 10.0.0.127 ether 00:11:d8:9f:53:1c media: Ethernet autoselect (100baseTX full-duplex) status: active I've even tried expressing all 8 blocks of the IPv6 address. Could this be a defect in how ifconfig handles IPv6 addresses? If so, whom do I contact to look into it? Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: easy patch management tools
Aaron Bliss wrote: Hi everyone, first let me say that I'm pretty new to bsd, so please forgive the newbie questions; I've been using linux (redhat, suse, centos) for many years, and so learning bsd was a bit of a learning curve, but not bad (I almost never use gui's for administration); I was wondering if there are any packagement tools for freebsd/pcbsd that offer simular functionality to up2date or yum; I take care of installing and updating complete rpm based systems using yum, and have not found a tool simular to yum for freebds (I'm also trying to stay away from pbi's, since they are specific to pcbsd); I've used the pkg_add, pkg_delete, portupgrade tools, but am just looking for an easy way to ensure my entire bsd box is updated; Also, as I understand it, bsd makes use of ports, by using tools such as cvsup, however I have never had much success compiling my own software, as such much prefer to use binary packages, which I understand that the freebsd authors provide; for example, if I wanted to install pine, I would much rather install it by running pkg_add -r pine ; I'm just looking for a simple way to update currently installed binaries, simular to installing new binaries with pkg_add ; thanks very much for your help with this. Aaron portupgrade has an option in /usr/local/etc/pktools.conf which sounds like what you want. # USE_PKGS: array # USE_PKGS_ONLY: array # # These are lists of ports that you prefer to use packages to # upgrade or install. They apply -P/--use-packages and # -PP/--use-packages-only to specific ports, respectively. # # cf. -P/--use-packages and -PP/--use-packages-only of # portupgrade(1) and portinstall(1) # # e.g.: # USE_PKGS = [ # 'perl', # 'ruby', # 'python', # ] # # USE_PKGS_ONLY = [ # 'x11*/XFree86*', # '*openoffice*', # ] USE_PKGS = [ ] USE_PKGS_ONLY = [ ] use portversion -l to see whats not at the latest version, and use portaudit to see which (if any) have security issues. I use USE_PKGS = [ */*, ] on machines what are slow or low on disk space but let portupgrade build from source otherwise as I like to fine tune the compile options from time to time hope this helps. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vpn connection users+server
On Tue, 25 Jul 2006, Marwan Sultan wrote: Hello everyone, Well, because really i didnot get an answer from the list regarding release internet access based on time+auth. I'm not sure about time, but it sounds like you might be able to use authpf (man authpf for details) otherwise have a look at pfsense for what your trying to do. (missed the first post so sorry if i've missunderstood) Vince SO I thought of the VPN connection, i'm on fbsd 6.1R acting as internet gateway, i dunt want the users to randmly share the internet Is it possible (and how to) create a vpn connection thats the user need to use to authnticate to the gateway server by a valid user/password then the server will allow this user to have the internet, is it possible? the handbook scenario is for two networks sides, Is it possible between a user and the gateway server? Please your answers is highly appreciated. Marwan _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LiveCD FreeBSD
On Wed, 1 Feb 2006, Duane Whitty wrote: Jacob S wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 01 Feb 2006 09:17:44 -0600 Paul [EMAIL PROTECTED] wrote: Dear FreeBSD Up untill Dec 01 '05 I was a die hard MicroShaft user, too many lockups and garbage caused me to search for a new OS. That is when I came up with PCLOS. Then I got a web server and it runs FreeBSD. I would like to use FreeBSD on my local computer so I can learn it more. Is there a LiveCD for FreeBSD I looked at the web site for Freebsd but was unable to be for sure what is there. Try either http://www.freesbie.org/ or as per an earler post try pcbsd in the free vmware player (see http://www.pcbsd.org/index.php?id=23) You might try a google search. The following turned up two useful results in the first 3 hits for me. I have found FreeSBIE to be a good one (3rd result on that page). http://www.google.com/search?hl=enq=freebsd+livecd I perfer a LiveCD so I can first run it on my computer before I totally convert. Also when and if I convert will I lose all my desktop files? As long as you make a backup of your desktop files, they will still be around when you switch to another OS. As to whether you will be able to use them or not, that depends on what type/format the files are. HTH, Jacob -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD4NfykpJ43hY3cTURAkfYAJ0VT4ZQlGjtP8++Z/wzg/hB08wGRwCeI7Rh GjQHB7ch2PZI/z1U5xIiVXg= =A7c1 -END PGP SIGNATURE- I'm running FreeBSD with a dual boot config at the moment. Windows on one drive and FreeBSD on another drive. In past installations I've had Windows and FreeBSD sharing a drive. What I've found convenient is that I am able to access my NTFS drives from FreeBSD (it would seen read-only however) FreeBSD as a desktop environment is quite useable. With KDE 3.5 I'm at the point where I rarely need to boot into Windows anymore. I can say that if you want to learn an OS FreeBSD makes it easier than many because it has so much excellent documentation. Installing FreeBSD as your desktop OS definitly forces a person to learn but as you do you will notice it is very flexible. --Duane Whitty ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Haven't been hacked, just prone to man-in-the-middle attacks (WAS: I have been hacked)
On Thu, 19 Jan 2006, Kilian Hagemann wrote: Hi guys, Just to find closure on this thread, I'd like to admit that I jumped to conclusions too early and would like to share what had actually happened, after many hours wasted playing the detective :-( (glad I didn't format/reinstall though) When I used my FreeBSD gateway as an smtp server to convince myself I had been hacked, the smtp connection was somehow redirected to one of my institution's mail servers (or at least that's what gmail's mail headers are saying). Funny enough the same trick no longer works today, but then they're currently upgrading lots of stuff around here so that's a different story. Then when I used ftp to connect to my gateway and it came up with frox transparent proxy, someone had actually intercepted my connection and forged/spoofed a reply. I know that because I went to the premises of my box, unplugged everything and tried that trick again, successfully, from a separate dial-up connection. Hey, nmap even told me my box had ports open even though it wasn't even up! I've never seen anything like this before, but I've notified my ISP. Remains to be seen if they do anything about it... Good to know you werent hacked, I have seen this before for at least one dialup ISP, redirecting all smtp traffic via their smtp server(s) presumably to stop spammers. (Confused me back at the time to see an exim banner on what should be a sendmail server.) Havent heard about other services having this kind of transparent proxy imposed but it doesnt supprise me. Vince Anyway, long story short I'm glad I'm still secure and thanks to everyone who helped me out and gave me advice. -- Kilian Hagemann ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pam_radius
On Tue, 2 Aug 2005, Sean P. Malone wrote: I’m rolling out a new email system and would love it if I could get that system to authentic the user off of our existing Active Directory user database. As I understand, the pam_radius module should enable me to achieve the task. However, the only instructions that I’ve been able to find are at: https://www.freebsd.uwaterloo.ca/twiki/bin/view/Freebsd/PamRadius?shin=print.patern While these are helpful, I’m still not able to get my BSD system to authenticate against a MS IAS – although the attempts are logged on the IAS box without error. Does anyone know of a good additional source of information? I've had it working happily both against freeradius and against an ACE (securid) radius server, never tried with windows, I may have a go tomorrow at work. The only thing I found was for ssh authentication I had to have a user of that name on the freebsd box, for login/telnet I could use the template_user option. I guess thats something in ssh. Other than that the man pages for pam_radius and radius.conf were enough to get it going. Like I said I'll have a look tomorrow if I get a chance. Vince Thanks! Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using unix mail with maildir format
On Wed, 29 Jun 2005, bsd wrote: Hello, Does anyone know if there is a way to read mail with unix mail program? I've been using this program since couple of years and I am quite happy with It… I can't seem to find a shortcut to have It read maildir format… have a look at the mail/nail port If i remember rightly this will support mbox and maildir and can be told to use the mail interface (it may still use it by default but I havent used it in a while as I use mutt on my maildir accounts.) Vince Thanks. «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Looking for arp scanner
On Wed, 29 Jun 2005, Fabian Anklam wrote: On 6/29/05, Glenn Dawson [EMAIL PROTECTED] wrote: At 02:18 PM 6/29/2005, Fabian Anklam wrote: Hi there, I've browsing freshports.org for an arp scanner and found only arpscan, which is marked broken and knowlan, which hasn't been updated in years. What's the tool of choice to map out IP-Adresses on a subnet when you know that quite a few hosts are firewalled from ping? Try nmap. It has a variety of different ways to look for systems on a given subnet. Thanks. Tried nmap. As I said, some systems that i want to have in my output are locally firewalled and I doubt the -sP switch catches them. Port scans are out of the question. Thinking about it even if the host blocks ping then it will have to reply to an arp request. so make a short script to clear the arp cache ('arp -a -d' as root) then do your nmap -sP xxx.xxx.xxx.xxx/yyy and do an arp -a which will list all the arp entries in your arp cache (should be every host that responded to an arp request when you did the ping scan but maybe pipe it through grep to only get the arps for ips in that range) also arping may be of use. Vince -Glenn Thanks, Fabian ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: netgraph netflow
On Thu, 5 May 2005, Brian McCann wrote: Hi all. I'm trying to get ng_netflow to work, and I'm having a heck of a time doing so. So if anyone can shed some light on my problem, please do so. I've tried multiple configurations, and can't get it to work right. I can only get it to see traffic in one direction (for example, flows from other PCs to the server. Flows starting from the server started by something like fetch or ssh don't show up as sourcing from the server). Here is the config that I thought would do that, but it's not. mkpeer fxp1: tee lower right connect fxp1: fxp1:lower upper left mkpeer fxp1:lower netflow left2right iface0 name fxp1:lower.left2right fxp1_netflow msg fxp1_netflow: setifindex { iface=0 index=5 } mkpeer fxp1_netflow: ksocket export inet/dgram/udp msg fxp1_netflow:export connect inet/127.0.0.1:9800 Using this, when I run flowctl, it shows the source interface as ppp0 and sometimes sl0, which isn't even connected, and a dest interface of fxp1. If I switch all the left2rights with right2lefts, I get only flows going to the server...so after reading how the tee in netgraph works, I assumed if I switched it, it would show the other direction. Any thoughts, suggestions? Thanks, --Brian I'm afraid all i can offer is a me too I was experienceing the same and eventualy gave up and switched to softflowd which seems to be working fine so far. I'd be interested to know if you get it working though. Vince -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ 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]
pam_radius and ssh
Hi all, I've been looking into using the pam_radius pam module and have been trying out the template_user feature as this would ease the administrative burden in our setup, (it allows a user to be specified as a template if the radius user does not have a local account.) I can get it to work fine for login and telnetd, but sshd seems to have a problem. If a local user with the same name as the radius user exists then no problem, if not then the template_user should kick in, however it doesnt, in fact if the user does not exist localy then the pam_radius module is never even invoked, or at least it never sends any query to the radius server. I'm guessing that sshd checks for a valid user even when its using PAM authentication and halts any further progress. Is there any way to turn this off? thank, Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS virgin
On Fri, 11 Feb 2005, kilim wrote: On Thu, Feb 10, 2005 at 04:41:52PM -0600, Kevin Kinsey wrote: kilim wrote: snip Now that I've registered a certain domain through godaddy.com I wish to set up my own DNS server. In the Godaddy's web interface there is a way to set two new DNS server. Can I just put one of the server to be my DNS primary leaving out the secondary ? Or can I leave their server to be my secondary ? snip That said, you could put a site on the air without a secondary, but I wouldn't charge people to use it. ;-) Would it be possible to have only one DNS server to start with and then get a second one later, on a different subnet ? Or would this be possible: put this first dns server up and second aswell, but then later take the second one off and move it to a different network ? Both are possible. you just need to keep the configs in sync (the master knowing where the secondary is and vice versa) and update the listed nameservers at Godaddy. Thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Secure file transfers
On Thu, 10 Feb 2005, Gregor Mosheh wrote: I had a similar, perhaps related question. I'm making backups via tar to a SMB server, but I would rather use sftp/scp for it (the NAS supports both SMB and scp/sftp). I don't have enough disk space to make the backup to a tarchive and then scp that tarchive. Is there a way to make scp/sftp read from a pipe or stdin, rather than specific filenames? The docs haven't mentioned it, but since the subject came up I thought it worth asking... Hmm the other way round is easy enough, scp [EMAIL PROTECTED]:foo.tar.gz /dev/stdout | tar -ztf - and either way with full ssh tar -zcf - * |ssh [EMAIL PROTECTED] cat foo.tar.gz cat foo.tar.gz |ssh jhary:10.0.0.1 tar -zxf - I hope some of this might help as i cant think of a way to do as you want. Vince --- Anthony Atkielski [EMAIL PROTECTED] wrote: Danie Du Toit writes: Which packages are available to upload /download large dumpfiles in a secure fashion (e.g. using SSL). The customer should not need any secure client installed on his PC. Anything that is secure will require appropriate software at both ends of the transfer, and thus will require some sort of security-aware client on the customer's PC. SFTP provides secure file transfers. I use SecureFX on my client machine, and the standard SFTP server on the FreeBSD server. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] easy authpf access from Windows (for non-unix users)?
On Wed, 9 Feb 2005, Hexren wrote: ALG Is anyone running authpf with Windows clients in the network? If so, ALG how are the Windows clients logging in? What's the easiest mechanism ALG for this. ALG I want my grandson to have free access to the (Windows) computers; but I ALG want an adult to manually authorize internet access to prevent ALG unsupervised surfing. ALG Thanks, ALG Andrew Gould ALG ___ ALG freebsd-questions@freebsd.org mailing list ALG http://lists.freebsd.org/mailman/listinfo/freebsd-questions ALG To unsubscribe, send any mail to [EMAIL PROTECTED] - Putty is, in my experince an easy way to give Windows Clients SSH capabilities. Plus its free. Hexren http://www.chiark.greenend.org.uk/~sgtatham/putty/ otherwise try openssh under cygwin www.cygwin.com (gives you a *nix link environment on the windows box, so putty may be better depending on your needs.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dhcpd for ipv6
On Thu, 13 Jan 2005, Chuck Swiger wrote: Erik Norgaard wrote: kame dhcpd does not support address allocation and isc-dhcpd does not support ipv6 - despite ipv6 being defined in 1996. This makes running an ipv6 based local network cumbersome to manage. You're absolutely right. Does anyone know of alternatives? I'm confused, I have a /64 from the hurricane electric tunnelbroker. I use rtadvd on the server that is the tunnel endpoint, advertise the /64 using rtadvd and use rtsold or XPs equivelent so any address's are the prefix then the mac address of the client machine (am using rtsold on netbsd and windows XP's ipv6 both of which work fine) so it seems pretty easy to manage a single subnet lan. to me Vince Certainly: use IPv4. ISC's dhcpd does just fine with classic IPv4 addresses. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: iTunes server setup not going well
On Fri, 31 Dec 2004, Chris wrote: Timothy Luoma wrote: On Dec 31, 2004, at 8:34 PM, Chris wrote: Somewhat related - is there a port that will play the files downloaded from ITunes? I think the answer is no. Protected AAC files can only be played in iTunes, I believe. TjL I sorta thought so - Oh well, so much for my collection that sit on my Windows box... It *might* be worth having a look at at the hymn project http://hymn-project.org/ however i dont have an ipod or use itumes so i havent realy looked at this past the front screen. -- Best regards, Chris Complex problems have simple, easy-to-understand wrong answers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disappearing directory/mount and Crash on umount since 5.3
On Wed, 24 Nov 2004, Kris Kennaway wrote: On Wed, Nov 24, 2004 at 11:29:26AM +, Vince Hoffman wrote: I'm having a reoccuring problem with one of my mounts, I have a disk i mount at /usr/scratch which is also exported via samba. since upgrading to 5.3 after a little while (sorry no exact timings yet,) an ls /usr/scratch gives ls: /usr/scratch: Bad file descriptor [EMAIL PROTECTED] (11:19:06 /usr) 0 # mount /dev/ad0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s1e on /tmp (ufs, local, soft-updates) /dev/ad0s1f on /usr (ufs, local, soft-updates) /dev/ad0s1d on /var (ufs, local, soft-updates) /dev/ad2s1c on /usr/scratch (ufs, local, soft-updates) /dev/ad3s1a on /big (ufs, local, soft-updates) devfs on /var/named/dev (devfs, local) [EMAIL PROTECTED] (11:19:10 /usr) 0 # ls ls: scratch: Bad file descriptor .snap/ bin/ home/ libdata/ obj/ share/ @LongLink compat/include/ libexec/ ports/ src/ X11R6/ games/ lib/ local/ sbin/ sup/ [EMAIL PROTECTED] trying to umount /usr/scratch will crash the machine, (will do it once more this evening and write down the error that pops up.) Drop to single-user mode and run fsck -f /usr/scratch. If it finds errors, repeat until it stops finding them. Kris Seems to have fixed that problem, thanks Kris. Looks like I may have to do a clean reinstall anyway though as I have had 2 more hard crashes since then for no reason I can yet pin down, the only semi useful log entry i have is: Nov 25 18:15:01 lobster kernel: pid 60702 (hostname), uid 0: exited on signal 11 (core dumped) Nov 25 18:15:01 lobster kernel: pid 60718 (mailwrapper), uid 0: exited on signal 11 (core dumped) Think i'll try a clean install and see if thats more stable. I guess the upgrade to 5.3 from 5.2.1 didnt go as well as I thought, which is a shame since my laptop upgraded from 5.2.1 to 5.3-current to 5.3-stable with no issues. Vince ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Disappearing directory/mount and Crash on umount since 5.3
I'm having a reoccuring problem with one of my mounts, I have a disk i mount at /usr/scratch which is also exported via samba. since upgrading to 5.3 after a little while (sorry no exact timings yet,) an ls /usr/scratch gives ls: /usr/scratch: Bad file descriptor [EMAIL PROTECTED] (11:19:06 /usr) 0 # mount /dev/ad0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s1e on /tmp (ufs, local, soft-updates) /dev/ad0s1f on /usr (ufs, local, soft-updates) /dev/ad0s1d on /var (ufs, local, soft-updates) /dev/ad2s1c on /usr/scratch (ufs, local, soft-updates) /dev/ad3s1a on /big (ufs, local, soft-updates) devfs on /var/named/dev (devfs, local) [EMAIL PROTECTED] (11:19:10 /usr) 0 # ls ls: scratch: Bad file descriptor .snap/ bin/ home/ libdata/ obj/ share/ @LongLink compat/include/ libexec/ ports/ src/ X11R6/ games/ lib/ local/ sbin/ sup/ [EMAIL PROTECTED] trying to umount /usr/scratch will crash the machine, (will do it once more this evening and write down the error that pops up.) any ideas ? Vince ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache port
On Tue, 23 Nov 2004, Trevor Hart wrote: I installed Apache version 2.0.43 on my FreeBSD 4.7-RELEASE server. The httpd file is set up with Listen 80 and Listen 8000. The problem is that it will not accept connections on port 80, even though it is listening (checked using netstat, and sockstat). It works fine on port 8000. I have never configured a router, so as far as I know, theres not one running. I am running a mail server, ftp, and a telnet server without problems in addition to the web server. It is not a problem with my ISP, nor my router as it will work if I forward port 80 to another computer. As far as I can tell, its being blocked by FreeBSD, but I have no idea where or why, nor how to fix it. Ok a few things to check (sorry if i'm going for the basics but they need ruling out) 1) are you running ipf/ipfw/pf and if so have you allowed port 80 2) does telnet localhost 80 then a get / give you an error message or just connection refused ? 3) not sure if apache uses tcp wrappers but possibly check your /etc/hosts.allow --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.797 / Virus Database: 541 - Release Date: 15/11/2004 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newsyslog and chrooted bind on 5.3
On Sat, 20 Nov 2004, Ruben de Groot wrote: On Sat, Nov 20, 2004 at 07:45:56AM +0100, Kees Plonsz typed: Vince Hoffman wrote: Hi all, since i updated my server to 5.3 and went with the default option of chrooting bind, anytime named recives a HUP signal it dies. Is this expected ? its a bit of a bugger as i will have to use cron and a short shell script instead of an entry in newsyslog.conf. You can let bind log through the syslog facility. I think that's even the default. That way there's no need to HUP named. Thanks for the reply, I'll go back to letting syslog do its job i guess ;) I only had it logging to files to try and separate some statistics at one point. Vince Vince There was a discussion about that a few hours ago. Use /etc/rc.d/named restart instead. That won't work with newsyslog. newsyslog needs a pidfile to send a HUP to the logging proces after the logs are rotated. Ruben ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
newsyslog and chrooted bind on 5.3
Hi all, since i updated my server to 5.3 and went with the default option of chrooting bind, anytime named recives a HUP signal it dies. Is this expected ? its a bit of a bugger as i will have to use cron and a short shell script instead of an entry in newsyslog.conf. Vince ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mailgraph from the ports - now what do I do?
On Sat, 23 Oct 2004, Massimiliano Stucchi wrote: On 211004, 15:03, Danny wrote: Greetings, After referencing the article here: http://www.onlamp.com/pub/a/onlamp/2004/08/12/mailgraph.html I decided to just install mailgraph from the FreeBSD ports system. So, after installing it successfully (well, there were no errors), I am trying to find the executable mailgraph program: Any suggestions? Try /usr/local/www/cgi-bin/mailgraph.cgi and /usr/local/sbin/mailgraph.pl Also remember it installs a startup script to run in daemon mode (/usr/local/etc/rc.d/mailgraph.sh) needs mailgraph_enable=YES in /etc/rc.conf Cheers -- Massimiliano Stucchi WillyStudios.com [EMAIL PROTECTED] Http://www.willystudios.com/max/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to run a stream based command in place on a file
On Mon, 18 Oct 2004, Richard Bradley wrote: Hi, I want to run stream based commands like `sed` and `tr` on the contents of a file, and save the results to the same file. Obviously I can do this with a temporary file: $sed s/dog/cat/ myanimals.txt tmp.txt $mv tmp.txt myanimals.txt But is there any way I can do this with a single command? Not sure about tr but sed does give the -i option to edit in place. I'm not sure about a more general solution though. My first guess would be a buffer command that reads a file into memory (or into a temp file) then pipes it to stdout, e.g. $cat myanimals.txt | buffer | sed s/dog/cat/ myanimals.txt But there isn't one which, in my experience of BSD, means it either wouldn't work or there is a better way to do it :-) Having read through the Bash manual and run some experiments, it seems that the operator truncates an output file to zero length before any commands are run. So my missing command becomes: $cat myanimals.txt | sed s/dog/cat | bufferedwrite myanimals.txt I can't find anything like this anywhere -- any ideas what the proper way to do this is? Thanks in advance, Rich ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portversion error
On Tue, 12 Oct 2004, Petre Bandac wrote: xxl# portversion | grep [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11731 port entries found .1000.2000.3000.4000.5000.. ...6000.7000.8000/usr/local/lib/ruby/site_ruby/1.8/ portsdb.rb:587: [BUG] Bus Error ruby 1.8.1 (2004-05-02) [i386-freebsd5] Abort (core dumped) xxl# I asked this umm yesterday i think. so i quote Gawd. Not this *again*. Did you try searhing the web at all? http://freebsd.rambler.ru/srch?old_q=3D%5BBUG%5D+Bus+Error+%3E+ruby+1.8.%3D2+%282004-07-29%29+%5Bi386-freebsd5%5D+solutionwords=%5BBUG%5D+Bus+Error+%3E+ruby+1.8.%3D2+%282004-07-29%29+%5Bi386-freebsd5%5D+solutionset=freebsdB Anyhow, a work-around is to: % setenv PORTS_DBDRIVER=3Dbdb1_hash and then do all your portupgrade stuff as usual. =20 The problem is with the bdb1_btree functions in the base system. A fix has been committed to HEAD, RELENG_4 and RELENG_5. It won't be applied to RELENG_5_2, so either you're going to have to extract the patch yourself and apply it manually, or you can upgrade to one of the 5.3-BETAs. http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/db/btree/bt_split.c.= diff?r1=3D1.5r2=3D1.7 Vince (with thanks to Mathew Seaman ;) how can I fix that ? -- Login: petreName: Petre Bandac Directory: /home/petre Shell: /usr/local/bin/zsh On since Tue Oct 12 09:21 (EEST) on ttyv0, idle 4:54 (messages off) New mail received Mon May 24 19:09 2004 (EEST) Unread since Tue Feb 17 12:31 2004 (EET) No Plan. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portupgrade problem
Hi all, Got a port upgrade problem here, ruby is dumping core during a portsdb -uU (and thus any time it tries to update the portsdb. only noticed it today but i did upgrade ruby recently so i tried following the emergency recovery part in /usr/port/UPDATING and did pkg_delete portupgrade-\* pkg_delete -r ruby-\* then cd /usr/ports/sysutils/portupgrade make install clean but no joy, i still get the same error -cut portupgrade error test-- [EMAIL PROTECTED] [/root/cvsup-files] [13:59] #portsdb -uU Updating the ports index ... Generating INDEX.tmp - please wait..test: : unexpected operator Warning: Duplicate INDEX entry: freeciv-gtk2-1.14.1 Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.2 Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5 Done. done [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11732 port entries found .1000.2000.3000.4000.5000.6000.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: [BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd5] Abort (core dumped) --end of port upgrade error text-- uname -a FreeBSD lobster.unsane.co.uk 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #2: Fri Sep 17 21:45:48 BST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/UNSANE i386 (14:40:05 ~) 0 $ ruby -v ruby 1.8.2 (2004-07-29) [i386-freebsd5] any suggestions welcome Vince ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]