running out of mbuf clusters
Hi, I'm running a shaper system on a FreeBSD box. It is pushing sustained 8 Mbps. In the messages log I'm getting lots of Dec 11 21:03:54 ritalin /kernel: All mbuf clusters exhausted, please see tuning(7). When I run netstat -m however I get $ netstat -m 1766/5904/8 mbufs in use (current/peak/max): 1766 mbufs allocated to data 1765/5900/2 mbuf clusters in use (current/peak/max) 13276 Kbytes allocated to network (22% of mb_map in use) 30 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines Why is it saying its run out of mbuf clusters when it peaked at 5900? The machine is running FreeBSD 4.9-RELEASE. The reason for this is that it is a shaper appliance, and it was shipped to us with 4.9 on it. Does anyone have any ideas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OT: Bind secondary
Hi, I am playing at being secondary for many domains from a few hosts. Is there any way in bind of saying I trust this guy there, so if he tries to give me a domain I will just accept it. or do I have to manually add the zone to my list of secondaries. (By manually I mean a webpage or a cron job on the primary using ssh to send the zone over.) Regards, -John -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PPPoE Max Tunnels,
On Mon, Feb 20, 2006 at 05:46:15PM -0600, Porpoise Power wrote: Please excuse me if I make a mistake here as I'm more familar with OpenBSD's ppp and pf daemons. What does your conf files look like? Also Your network settings look a little funny, Can you elaborate on them? It might be a source of the problem. OK, I have two NIC's, bge0 with a public IP and vr0 which I've assigned the private ip 10.42.73.37/8 which I sucked out my thumb. I'm using the standard pppoe startup script and this is in my /etc/rc.conf pppoed_enable=YES pppoed_flags=-d -P /var/run/pppoed.pid -a yonetwork -l default pppoed_interface=vr0 The contents of my /etc/ppp/ppp.conf are: default: set log Chat Command Phase enable pap allow mode direct enable proxy disable ipv6cp set mru 1472 set mtu 1472 set ifaddr 10.42.73.38 10.42.73.37 set radius /etc/radius.conf accept dns The contents of /etc/radius.conf are: auth radiusmachine:1812 my_secret acct radiusmachine:1813 my_secret That is all the configuration that I have for the PPPoE setup. I have configured the machine as a gateway and there is no firewall running on the box at the moment. It plugs into a switch and I'm statically routing the netblocks that my clients use to the bge interface of the box. All the clients use public IPs. Here is a snippet of the output of ifconfig: tun26: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492 inet 10.42.73.38 -- xxx.xxx.xxx.26 netmask 0x Opened by PID 490 tun27: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492 inet 10.42.73.38 -- xxx.xxx.xxx.13 netmask 0x Opened by PID 754 tun28: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492 inet 10.42.73.38 -- xxx.xxx.xxx.7 netmask 0x Opened by PID 563 The problem is that the machine will not take more than 30 clients. I'm trying to find a limit somewhere in the config files but I can't. The kernel has NETGRAPH, NETGRAPH_PPP and NETGRAPH_PPPOE in it. Any ideas? -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PPPoE Max Tunnels
I hope this is the right place to post. I'm having a problem with my PPPoE server in that it refuses to create more than 30 tunnels. net 10.42.73.38 -- xxx.xx.xxx.xx netmask 0x Opened by PID 2534 tun31: flags=8010POINTOPOINT,MULTICAST mtu 1500 tun32: flags=8010POINTOPOINT,MULTICAST mtu 1500 Are there any limits by default in the kernel that say you can only create 32 tunnels, or could it be in the ppp.conf or pppoe setup somewhere. TIA, -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: iSCSI support
On Tue, Nov 22, 2005 at 12:24:49AM +0100, Wojciech Puchar wrote: and growing. I'm currently looking at a Coraid AoE (ATA-over-Ethernet) solution since it seems to have good support for FreeBSD and Windows drivers in the works. On the other hand, iSCSI has Windows support and FreeBSD in the works. stupid question: can anyone explain me the sense and adventages of iSCSI compared to say NFS? for me it's just some more layer to take lots of $$$ from people. ICBW but to me it seems that iSCSI is like a distributed NFS backend. You can store the data on multiple devices, in multiple forms (as long as they all talk iSCSI). You can also have two storage sites (geographically separate) connected by fibre and use those for storage. -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What have you done
On Fri, Nov 11, 2005 at 11:26:06AM -0800, Greg Maruszeczka wrote: come on do you want me to go to red hat. Can't speak for anyone else here but... You're speaking for me too! Read the docs. Think about it. Realise that this is a completely volunteer effort. Then we have an easy solution for your problem, dunk your head in a bucket of water three times and take it out twice. -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[OT] RRD merge problem
Hi, I realise this is off topic, but there is a wealth of experience on this list. I have been using smoke ping for some time now, and when I move someone from one group to another a new RRD is created. Now there is a whole bunch of data in the old RRD which I'd really like to recover and merge in with the new RRD because I don't want to loose my data. How can I merge two RRD files? -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cisco Netflow Port
What netflow graphing tool(s) do you guys recommend to capture Cisco Netflow data. -John -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ssh X forwarding problem
I have two machines, cortizone and morphine. On cortizone if I ssh into the box I can run X programs just fine (like eximon). On morphine, I cannot get X forwarding going. FreeBSD cortizone.yoafrica.com 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #0: Mon Jul 25 09:13:02 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CORTIZONE i386 FreeBSD morphine.yoafrica.com 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #0: Mon Jul 25 11:21:15 CAT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MORPHINE i386 their /etc/ssh/sshd_config's are exactly the same and have the following in them #X11Forwarding yes #X11DisplayOffset 10 #X11UseLocalhost yes The only difference I can find is that on cortizone, there are the following ports installed which are not on morphine xorg-clients-6.8.2/ xorg-fonts-encodings-6.8.2/ xorg-fonts-truetype-6.8.2/ Will that matter? TIA, -John -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MySQL syncing
Okay, I want to sync two tables in one database from a master box to a slave. Doing live syncing would be preferable, but not essential (I can cron it to happen every 5 mins or so). I've found SQLyog (http://www.webyog.com/) but its a linux only binary, and I'd prefer not to have to install linux compatibility on my server. I don't want complete replication here cos there are tables in the database that I want to keep separate (e.g. stats). TIA, -John -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh X forwarding problem
On Tue, Oct 18, 2005 at 12:24:56AM -0700, Garrett Cooper wrote: Try uncommenting, #X11Forwarding yes #X11UseLocalhost yes Done that, to no avail. -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh X forwarding problem [FIXED]
On Tue, Oct 18, 2005 at 01:34:39AM -0700, N Deepak wrote: On Tue, Oct 18, 2005 at 01:31:35AM -0700, N Deepak wrote: On Tue, Oct 18, 2005 at 09:11:32AM +0200, John Oxley wrote: I have two machines, cortizone and morphine. On cortizone if I ssh into the box I can run X programs just fine (like eximon). On morphine, I cannot get X forwarding going. What exactly is the error message you see? Try ssh -Y hostname (instead of -x) and see if it helps. Sorry, that is -X, not -x. I had to install xorg-clients from ports and it works perfectly now. -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Preferred softphone for Asterisk ...
On Sun, Oct 16, 2005 at 07:27:40PM +0200, Kiffin Gish wrote: I was just wondering which (free) soft-phones were available on FreeBSD I can use to play around with my asterisk setup. I've had success with kphone and linphone. I prefered kphone, but I could never get multiple sound channels working satisfactorily. -John -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended partitioning
On Sat, Oct 15, 2005 at 05:01:01PM -0400, Teo De Las Heras wrote: Part Size / 10G - for both the / and /usr files (swap) 2G /var 10G - Web server, print spool, other log files?? /var/mail 10G - for all mail files and easy backup /home 50G - for all user files /home/teo 40G - For my files and easy backup *The rest of the space I'll leave unused in case I need to grow a partition I'm new to FreeBSD/*Nix so all criticism is welcome. Teo Keep / small, around 200MB, and split user from this. You'll understand why as soon as something nasty happens while you're writing to /usr and the machine falls over. You can still boot because / is mainly static. put 10-20 gigs in usr. When you build ports, they use space in /usr (by default. You can change this) which is why I say 20 gigs. 256M in /tmp is fine /var you want to be quite big if you're running a production server or a mysql box, because db files and logs and mail etc. go to /var by default. I find it easier to make /var big than create symlinks or modify where things go. Splitting /var and /var/mail is a good idea because if /var fills up with logs then you'll still receive mail. For the same reason its a good idea to make /var/db/mysql separate as well. The problem you run into there is say you've put 10 gigs for each and you have 3 gigs of logs, 5 gigs of mail and need 12 gigs for your database, then you loose the flexibility. I put my web pages in /usr/local/www/virtual/ so that comes under /usr. You may want to put 90 gigs straight into /home and then setup quota's so your users don't use up your disk space. My 2 cents. -John -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: .wma music files
On Mon, Oct 17, 2005 at 12:14:35AM +1000, Warren wrote: im runnign FreeBSD 5.4-STABLE with XMMS mp3 player and out of curiosity, why is it that windows media vid files can be played on FreeBSD, but the music files cant? Install /usr/ports/audio/xmms-wma -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rt client denied by server configuration
I'm trying to install rt on FreeBSD 5.4 with Apache 2. I have installed the port, and configured it. I have also setup Apache like this: # Tell FastCGI to put its temporary files somewhere sane. FastCgiIpcDir /tmp # Number of processes is tunable, but you need at least 3 or 4 # FastCgiServer is illegal in the VirtualHost section FastCgiServer /usr/local/rt3/bin/mason_handler.fcgi -idle-timeout 120 -processes 4 VirtualHost * ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/local/rt3/share/html ServerName rt.yoafrica.com ErrorLog /var/log/httpd/rt-error_log CustomLog /var/log/httpd/rt-access_log common Alias /NoAuth/images /usr/local/rt3/share/html/NoAuth/images/ ScriptAlias / /usr/local/rt3/bin/mason_handler.fgci/ /VirtualHost Apache starts okay, but when I go to http://rt.yoafrica.com/ the page says: Forbidden You don't have permission to access / on this server. Apache/2.0.54 (FreeBSD) PHP/4.3.11 mod_fastcgi/2.4.2 Server at rt.yoafrica.com Port 80 and in /var/log/httpd/rt-error_log there is: [Sun Oct 09 14:18:18 2005] [error] [client 196.44.177.50] client denied by server configuration: /usr/local/rt3/bin/mason_handler.fgci [Sun Oct 09 14:18:18 2005] [error] [client 196.44.177.50] client denied by server configuration: /usr/local/rt3/bin/mason_handler.fgci Does anyone know what I am doing wrong ? Regards, -John -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc ___ 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 recompile a port in a clean maneer?
Sorry, I lost the beginning of this thread, On Wed, Oct 05, 2005 at 06:50:40PM -0400, Chuck Swiger wrote: Eric Devolder wrote: [ ... ] My specific questions are: * how to fetch the source code of a port? and especially from another release? Look in /usr/ports/Mk/bsd.port.mk There are options do to the entirety of make install About line 674 it shows the default sequence for all # check-sanity fetch checksum extract patch configure build Have a look through that file for a much better idea of the magic behind ports. -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Webcams and FreeBSD
On Sun, Sep 25, 2005 at 05:05:24AM -0500, Ned Harrison wrote: I'm running FreeBSD 5.4 as a desktop operating system on my home computer. I would like to set up a webcam for physical security/nature observation while I'm away from the residence. Something simple, I just want to take periodic images and store them on an external hard drive. In the past couple of days researching this, I get the impression that it may be possible to do this but I have not found specific instructions on how to set it up. Even though I am a newbie, I have been able to get things working when I can find the right documentation. Does anybody know of an article which describes setting something like this up? If you are not bound to FreeBSD, I recommend installing Linux. USB webcams work much better under Linux, and there is a package called motion which only records if there is a certain amount of motion detected which is a better setup for security anyway. -John -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Syslog to remote host
OK, I have syslog'ging to a remote host done. I am logging from morphine to marijuana. On morphine I am saying, in /etc/syslog.conf mail.info @marijuana.yoafrica.com On marijuana, in /etc/rc.conf, I have put syslogd_flags=-a morphine:* -b marijuana which according to me accepts from morphine and binds on marijuana. All is working to here, everything that morphine syslogs to mail.info I can on marijuana get that out with mail.info. The problem is it mixes it up with marijuana's mail.info, and when I add a whole bunch of other servers/switches/routers etc, its going to get VERY hairy. How can I tell marijuana to log everything from morpine in /var/log/morpine. I have tried +morphine mail.info /var/log/morphine/maillog But that does absolutely nothing. I am having trouble understanding the syslog.conf man page. TIA -John -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[FIXED] Re: Syslog to remote host
On Thu, Sep 22, 2005 at 11:31:39AM +0200, John Oxley wrote: OK, I have syslog'ging to a remote host done. I am logging from morphine to marijuana. On morphine I am saying, in /etc/syslog.conf mail.info @marijuana.yoafrica.com On marijuana, in /etc/rc.conf, I have put syslogd_flags=-a morphine:* -b marijuana which according to me accepts from morphine and binds on marijuana. All is working to here, everything that morphine syslogs to mail.info I can on marijuana get that out with mail.info. The problem is it mixes it up with marijuana's mail.info, and when I add a whole bunch of other servers/switches/routers etc, its going to get VERY hairy. How can I tell marijuana to log everything from morpine in /var/log/morpine. I have tried +morphine mail.info /var/log/morphine/maillog To reply to myself At the start of /etc/syslog.conf on marijuana, I put +morphine mail.in. to log stuff for morphine. Then: +@ to log stuff for localhost, then I did the Its all working now -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can vim-lite paste from the clipboard?
On Fri, Sep 16, 2005 at 10:51:15AM -0400, bob self wrote: I copied some text while in firefox, then went to vim and typed :reg. The text is not there. I also tried going into insert mode and clicking the right mouse button, but no text. Do I need a different version of vim (maybe gvim?). If you haven't set mouse to anything in vim, try middle clicking, or hitting Shift+Insert while in vim's insert mode. -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NMAP probing of network ports
On Thu, Sep 15, 2005 at 01:43:56PM -0500, Boris Karloff wrote: Hello: How do I cause freeBSD 5.4 to not respond to an nmap inquiry? I have already tried creating a line in rc.firewall that says: ${fwcmd} deny all from any to any ${fwcmd} drop all from any to any I know these are active, since 1) I see them on the screen at startup, and 2) pinging from any computer to any computer results in a timeout. (both of these should drop all TCP packets; but apparently, they cause a RESET message to be sent.) Umm, try putting the drop before the deny. AFAIK, drop just drops the packet totally, and deny sends a RST back to the host. That is if ipfw works that way (ICBW). You don't need both these lines anyway, only one of them. -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPs , Netmasks and Broadcast.
On Wed, Sep 14, 2005 at 12:00:12PM -0400, Grant Peel wrote: Now I am really confused. First of all install ipcalc NOW. Up until this morning I thought I had a good handle on when I need to use the real Netmask and Broadcast. For example, If I have 3 servers, and my upline asigns me a block of 128 addresses, for the first ip used (from this block) on each server, I would need to specify the IP, true netmask and a broadcase. Then, when using more IPs from that block, I would use a 255.255.255.255 netmask and a broadcast equal to the IP. No, a 255.255.255.255 netmask specifies a single host. If your ISP has given you 128 IPs, that is a /25 or netmask 255.255.255.128 as shown : [EMAIL PROTECTED]:~$ ipcalc 192.168.254.0/25 Address: 192.168.254.01100.10101000.1110.0 000 Netmask: 255.255.255.128 = 25 ...1 000 Wildcard: 0.0.0.127...0 111 = Network: 192.168.254.0/25 1100.10101000.1110.0 000 HostMin: 192.168.254.11100.10101000.1110.0 001 HostMax: 192.168.254.126 1100.10101000.1110.0 110 Broadcast: 192.168.254.127 1100.10101000.1110.0 111 Hosts/Net: 126 Class C, Private Internet So all your machines would have the same network and broadcast, and you would make them all use your gateway box as the default route. As you can see, a 255.255.255.255 netmask (/32) is only one host: [EMAIL PROTECTED]:~$ ipcalc 192.168.254.34/32 Address: 192.168.254.34 1100.10101000.1110.00100010 Netmask: 255.255.255.255 = 32 ... Wildcard: 0.0.0.0 ... = Hostroute: 192.168.254.34 1100.10101000.1110.00100010 Hosts/Net: 1 Class C, Private Internet What you need to do is use IP calc to see what the network and broadcast are and set those, although on FreeBSD 4.X (I think anyway, someone correct me if I am wrong) you can just put in your /etc/rc.conf ifconfig_bge0=inet 192.168.254.32/25 or ifconfig_bge0=inet 192.168.254.32 netmask 255.255.255.128 And FreeBSD will work out the network and broadcast for you. Today, I was in this exact position where I was tring to add an (the first one one THAT machine, from that block) IP from a block that is almost completely used up on another server, and the one I was adding it to would not take it. When I tried adding it with a 255.255.255.255 netmask, and a broadcast eaqual to the amount of IPs from that block - it worked. Like I said before, there is only 1 IP in a /32 block, and the broadcast will be either a.b.c.127 or a.b.c.255 depending whether you have the first or second subnet inside that class C. Hope this helps -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPs , Netmasks and Broadcast.
On Thu, Sep 15, 2005 at 09:31:20AM -0400, Jerry McAllister wrote: Anyway, all the aliases for any one NIC card must be 255.255.255.255. Not so. All aliases for any one NIC on the same network must be 0x. If you have an alias which is on another network, then the first alias on that network must use that networks netmask and then all the other aliases on the same network use 0x. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtual-hosts.html But when you have two different networks on one NIC, I think you may have to do some routing (I'm lucky, I just do the routing on the Cisco switches that all our servers are plugged into :). Have a look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html Also google for or dual homed or something like that. I can't remember exactly what you have to do because I haven't done it in so long. -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Command to trace a route?
On Tue, Aug 30, 2005 at 08:28:26PM -0500, Kelly D. Grills wrote: On Fri, Aug 26, 2005 at 04:50:43PM -0500, Efren Bravo wrote: Hi, What's the name of the command to trace a route to a host, on windows is tracert. Thanks As others have pointed out it's traceroute. apropos may help the next time you're looking for a command: Slightly OT, but tcptraceroute is also very useful: Info: A traceroute implementation using TCP packets -John ___ 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 find out which ports/dependencies were installed when installing a port?
On Sat, Aug 27, 2005 at 12:24:47PM -0400, Robert G. wrote: Hi, New here. I'm running portuprade and wondering if it's possible to find out which ports/dependencies were installed when installing a specific application. For example: I install A which needs B and C to run. So portupgrade installs B and C along with A. Later down the road I deinstall A and decide I'd like to get rid of the ports/dependencies that A needed installed with it. How would I go about finding B and C just by knowing A's name? There has to be an easy answer, but I can't figure it out. pkg_cutleaves and pkg_tree -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make own freebsd distro
On Thu, Aug 25, 2005 at 07:49:14AM -0700, Damon Blom wrote: Hi I have a current-freebsd 7.0 amd64 system on my Presario 3000. Is there any way I can make a freebsd distro cd (disk 1 and disk2 ) of my system so I can easily put it on other presarios or easily reinstall it back on my notebook after disk crash? Have a look at cfengine. Its in ports. [EMAIL PROTECTED]:/usr/ports/sysutils/cfengine2$ cat pkg-descr Cfengine, or the configuration engine is an agent/software robot and a very high level language for building expert systems to administrate and configure large computer networks. Cfengine uses the idea of classes and a primitive form of intelligence to define and automate the configuration and maintenance of system state, for small to huge configurations. Cfengine is designed to be a part of a computer immune system. WWW: http://www.cfengine.org/ -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
GeoDNS + Bind + FreeBSD 5.4
Hi, I am trying to setup the GeoDNS patch (http://www.caraytech.com/geodns/) on Bind. Right now I am trying to patch it to /usr/src/contrib/bind9. Is it a bad idea to patch things into the bind in world. I know that I'll have to repatch every time I update sources, or would it be a bettter idea to install from ports? Anyway the problem I am having is getting bind to compile with -lGeoIP. This is the error I'm getting is below. How do I tell make that I want to use -lGeoIP for dig and not everything else, or can I only do this with ports. === usr.bin/dig cc -O -pipe -I/usr/local/include/ -DVERSION='9.3.1' -DHAVE_CONFIG_H -DWANT_IPV6 -DOPENSSL -DUSE_MD5 -DNS_LOCALSTATEDIR='/var' -DNS_SYSCONFDIR='/etc/namedb' -DNAMED_CONFFILE='/etc/namedb/named.conf' -DRNDC_CONFFILE='/etc/namedb/rndc.conf' -DRNDC_KEYFILE='/etc/namedb/rndc.key' -I/usr/src/usr.bin/dig/../../lib/bind -I/usr/src/usr.bin/dig/../../contrib/bind9/lib/bind9/include -I/usr/src/usr.bin/dig/../../contrib/bind9/lib/dns/include/dst -I/usr/src/usr.bin/dig/../../contrib/bind9/lib/dns/include -I/usr/src/usr.bin/dig/../../lib/bind/dns -I/usr/src/usr.bin/dig/../../contrib/bind9/lib/isccc/include -I/usr/src/usr.bin/dig/../../contrib/bind9/lib/isccfg/include -I/usr/src/usr.bin/dig/../../contrib/bind9/lib/isc/unix/include -I/usr/src/usr.bin/dig/../../contrib/bind9/lib/isc/pthreads/include -I/usr/src/usr.bin/dig/../../contrib/bind9/lib/isc/include -I/usr/src/usr.bin/dig/../../lib/bind/isc -I/usr/src/usr.bin/dig/../../contrib/bind9/lib/lwres/unix/include -I/usr/src/usr.bin/dig/../../contrib/bind9/lib/lwres/include -I/usr/src/usr.bin/dig/../../lib/bind/lwres -I/usr/src/usr.bin/dig/../../contrib/bind9/bin/dig/include -L/usr/local/lib -o dig dig.o dighost.o ../../lib/bind/bind9/libbind9.a ../../lib/bind/dns/libdns.a ../../lib/bind/isccc/libisccc.a ../../lib/bind/isccfg/libisccfg.a ../../lib/bind/isc/libisc.a ../../lib/bind/lwres/liblwres.a -lcrypto -lpthread ../../lib/bind/dns/libdns.a(acl.o)(.text+0x495): In function `dns_aclelement_match': : undefined reference to `GeoIP_new' ../../lib/bind/dns/libdns.a(acl.o)(.text+0x4bf): In function `dns_aclelement_match': : undefined reference to `GeoIP_country_code_by_addr' *** Error code 1 Stop in /usr/src/usr.bin/dig. *** Error code 1 Stop in /usr/src/usr.bin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. [EMAIL PROTECTED]:/usr/src# ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Switching left and right sound channels
Hi, I am running FreeBSD 5.4-RELEASE-p2. I have a CMI sound card, 04:01.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10) I think either my headphones are dodgy, or the sound card is misconfigured, and sound is coming out the wrong speakers. How do I swap the channels in software. TIA, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Software Router
On Wed, Aug 03, 2005 at 04:43:37PM +0530, Subhro wrote: Hello Folks, One of my clients had asked me to provide a router. I was planning to use an old P1 boxs to make the router. The requirements state that it is for the purpose of internet ? vlan communication. The router must have features like encapsulation , creating sub interfaces , enabling port trunking (802.1Q) etc. Is it possible? Have a look at quagga (/usr/ports/net/quagga): Quagga is a routing software suite, providing implementations of OSPFv2, OSPFv3, RIP v1 and v2, RIPv3, BGPv4 and experemental ISIS for Unix platforms, particularly FreeBSD and Linux and also NetBSD, to mention a few. Quagga is a fork of GNU Zebra which was developed by KunihiroIshiguro. The Quagga tree aims to build a more involved community around Quagga than the current centralised model of GNU Zebra. -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make package problem
Hi, If I try to do a make package or make package-recursive, and the port is already installed, it always complains about that. Can I make a package without pkg_delete -f'ing the port first. It doesn't seem to complain about the dependencies though. Here is a transcript of the error message: [EMAIL PROTECTED]:/usr/ports/ftp/lftp# make package-recursive === Installing for lftp-3.2.1 === lftp-3.2.1 depends on shared library: intl - found === Generating temporary packing list === Checking if ftp/lftp already installed === lftp-3.2.1 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of ftp/lftp without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/ftp/lftp. [EMAIL PROTECTED]:/usr/ports/ftp/lftp# What can I do to fix this behaviour? Regards, -John smime.p7s Description: S/MIME cryptographic signature
Re: groupadd/useradd in FreeBSD?
On Thu, Jul 28, 2005 at 05:11:29PM +0800, Xu Qiang wrote: Hi, all: I am installing MySQL 4.1.13 into my machine. It has finished successfully. But before or after that, I need create some user account rather than root by the command groupadd mysql and useradd -g mysql mysql. However, these commands are not found in my FreeBSD 5.3 system. Try pw groupadd help and pw useradd help. -John smime.p7s Description: S/MIME cryptographic signature
ETINC BW Manager. Watchdog failover not working
I have installed the ETINC BW Shaper software v3.24c and things aren't working. The problem I am having is if I try and run watchdogd, I get this: [EMAIL PROTECTED]:/sys/conf# watchdogd failover -i 7 -d IOCTL: Invalid argument Checking every 2 seconds enabling WDT IOCTL: Invalid argument enable_wdt:: Invalid argument Below is a detailed explanation of what I have done. I am using the ETINC BW Manager on a FreeBSD 4.11 system. Here is my uname -a FreeBSD pluto 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #15: Tue Jul 26 11:25:09 CAT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/Pluto i386 The machine is a: CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2093.22-MHz 686-class CPU) with SCSI hard drives, an onboard fxp and onboard em NICs, and I have bought a http://www.etinc.com/product_info.php?products_id=32 for the actual shaping. The BW software I am using is v3.24c. I have followed the install docs, not quite to the letter, because I had to modify the /sys/conf/files from what they said to get the kernel to compile. These are my modifications: #net/if_ethersubr.coptional ether net/if_etherbwmgr.coptional ether net/if_etherbwmgr.coptional bw I am not meant to put the last line there, but if I don't the kernel compile complains that it can't find the bw device. I have built the kernel (with my modifications) and the module etbwmgr loads successfully: Jul 26 12:50:33 pluto /kernel: ET/BWMGR Driver v3.24c If I try and load the et_bypass module (which I think is for the gigabit failover card), i get (link_elf: symbol em_read_ctlext undefined). I have put options HW_WDOG into my kernel. If anyone can give me some pointers as to what to do, please let me know. Regards, -John smime.p7s Description: S/MIME cryptographic signature
Re: ETINC BW Manager. Watchdog failover not working
On Tue, Jul 26, 2005 at 06:57:37AM -0700, Danial Thom wrote: More curiously, why don't you ask them rather than us? I have, about 3 days ago, but I have not received any response from them. -John smime.p7s Description: S/MIME cryptographic signature
Re: Can't access to gmail (maybe a port problem with ipfw)
On Sun, Jul 17, 2005 at 12:47:47PM +0200, Emil Khatib wrote: Hi everybody. I'm trying to access gmail from my FreeBSD box (5.4). I'm usinf IPFW. The question is I can acces if I set ipfw to accept all from any to any, so I know there's a port that should be opened to access the main page of gmail. When the firewall is up (allowing only traffic through ports 21, 80 and above 1024) I can't even acces gmail main page (mozilla simply ignores the address I give it) You authenticate to gmail over port 443 (https). Open this up. Also add a rule to allow all established incoming connections, although you've probably done this if you can browse other sites. Regards, -John smime.p7s Description: S/MIME cryptographic signature
Re: Whats up with KCalc?
On Wed, Jul 13, 2005 at 01:13:24AM -0500, Nikolas Britton wrote: On 7/12/05, Nikolas Britton [EMAIL PROTECTED] wrote: Ok... this thing is WAY OFF... if you type in 85.49 and then hit the + key the thing automatically jumps to 85.48488409230252727866172791!!! My SuSE box shows 85.49 but if you copy and paste the number into a text editor it shows 85.48999... too. IANA Mathematician, but my guess would be that there is a rounding error. KCalc as you have all said uses 96bit long double precision. This means that floating point numbers are stored as 96bit doubles. And yes 46 is a floating point (46.000). My varsity days are a bit hazy, but I believe a double is stored as X bits ^ Y bits. Not sure of the ratios of X and Y though. This means you can only get a certain accuracy. If X is 8 for example, the accuracy is 1/(268435456) =~ 3.725290e-09. Therefore your smallest unit number is that and any other number will be a multiple of that, raised to a power which is where the Y bits comes in. Oh I forgot to mention that X+Y = 96. This is probably a very bad explanation and hopefully someone can do it better :) -John smime.p7s Description: S/MIME cryptographic signature
Re: Forcing a packet through an interface (OT?)
On Tue, Jul 12, 2005 at 09:45:21AM -0600, Chad Leigh -- Shire.Net LLC wrote: On Jul 12, 2005, at 5:38 AM, Mario Lobo wrote: First, thanks to all for the suggestions. Now, using the same scenario, 1) rl0 (real.ip.no.1) --- ISP x 2) rl1 (real.ip.no.2) --- ISP y Suppose 1) is down and I?m using 2). If I ping www.google.com, it will go out through 2). What I really need to do is to issue the same ping www.google.com but make go out through 1) !! Nom what you want to do is ping isp1.router.net no, ping -r isp1.router.net -r Bypass the normal routing tables and send directly to a host on an attached network. If the host is not on a directly-attached network, an error is returned. This option can be used to ping a local host through an interface that has no route through it (e.g., after the interface was dropped by routed(8)). or maybe have a look at the -S flag smime.p7s Description: S/MIME cryptographic signature
Software RAID-1 - Swap partition
Hi, I followed http://people.freebsd.org/~rse/mirror/ to create a software RAID mirror. I have two 75G drives in the machine. I allocated 74G to the filesystem on each drive and 1 G to swap. When I blanked ad1 and created ad1s1, I didn't notice that it had taken up the whole of the drive. Can I shrink the mirror partition and have two swap partitions, or if that is not possible, how would I go about creating a mirrored swap partition? # bsdlabel /dev/mirror/gm0s1 # /dev/mirror/gm0s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 52428804.2BSD 2048 16384 32776 c: 1562963220unused0 0 d: 1048576 5242884.2BSD 2048 16384 8 e: 20971520 15728644.2BSD 2048 16384 28552 f: 132643453 225443844.2BSD 2048 16384 28552 # gmirror list Geom name: gm0 State: COMPLETE Components: 2 Balance: round-robin Slice: 4096 Flags: NONE GenID: 0 SyncID: 1 ID: 2442074130 Providers: 1. Name: mirror/gm0 Mediasize: 80026361344 (75G) Sectorsize: 512 Mode: r4w4e2 Consumers: 1. Name: ad0 Mediasize: 80026361856 (75G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 1 ID: 707256281 2. Name: ad1 Mediasize: 80026361856 (75G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 1 ID: 655505428 -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 smime.p7s Description: S/MIME cryptographic signature
Interface aliases
I know that I can put at least 65,000 aliases on an interface using ifconfig alias. What kind of affect does this have on the system load wise? smime.p7s Description: S/MIME cryptographic signature
Re: Remote X client
On Mon, 6 Jun 2005, Karel Miklav wrote: I ssh on remote server, set DISPLAY, then run Thunderbird, Links etc. remotely and everything looks and works great. Now I try Firefox and WTF! it read configuration from the local machine! Links and settings are all local and it doesn't resolve as I didn't set up route on local machine yet. So it's local, but how can that happen - it was run over ssh on remote machine?! try running firefox --no-xshm -- John Oxley Systems Administrator Yo!Africa E-Mail: [EMAIL PROTECTED] Tel: +263 4 858404 ext 2017 smime.p7s Description: S/MIME cryptographic signature
Re: Bootable CD with virus checking for NTFS
On Wed, Jun 08, 2005 at 08:44:46AM -0700, Brent Wiese wrote: I've been searching around for a bootable CD that can virus fix NTFS partitions. Obviously that means it needs to be able to mount NTFS partitions as RW. http://www.nu2.nu/pebuilder/ smime.p7s Description: S/MIME cryptographic signature
Re: FreeBSD
On Mon, May 30, 2005 at 09:27:32PM -0700, Tina Neil wrote: I want to use FreeBSD for our robotics club. I am a programmer so what i want to know is what would be better for us to use Windows XP or FreeBSD. For the most part we want to go with FreeBSD. Also the text scares some members so what would be better for us to use KDE or gnome. What would you suggest for us to compile with on freebsd. i want to use C++. would bloodshed c++ run on FreeBSD. For future reference, please wrap your line length to 72 characters. Onto the FreeBSD side of things. If you are doing robotics, you will be using the parallel interface or the seriald interface a lot for transfering programs/commands to the robot. From this side alone, I would say go with FreeBSD. Hardware programming in windows is a *BITCH*, and with FreeBSD/Linux (which is also an option) it is much easier, just fopen(/dev/parallel-port-device); basically. You have gcc at your disposal, which contains implementations of C and C++. However, if you are going to compile stuff for a microprocessor, you will probably want to find the compiler for that microprocessor. Hope this helps -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and Exim
On Thu, May 19, 2005 at 10:03:32PM -0400, Joe Wood wrote: Can someone point me to a good how-to on setting up Exim on FreeBSD 5.4? I've looked in a few places but haven't seen anything informative yet. http://ws.edu.isoc.org/workshops/2005/pre-SANOG-VI/bc/mail/exim/EximPrac.htm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bash: Setting Prompt
On Wed, May 18, 2005 at 06:26:53AM -0400, Gerard Seibert wrote: I have the following in my '.bash_profile' file. # # Set the prompt to display the '[EMAIL PROTECTED]' and the working # directory with a '#' for root and '$' for user. # PS1=[EMAIL PROTECTED] \w case 'id -u' in 0) PS1=${PS1}# ;; *) PS1=${PS1}$ ;; esac Okay you can do that or if you are using bash 2.05 or above, just do this PS1='[EMAIL PROTECTED] \w \$ ' The \$ is clever and is a # if you are root, and $ if you are not. This is from my ~/.bashrc export PS1='\[\e]2;\h:\w\a\e[1;[EMAIL PROTECTED]:\[\e[1;34m\]\w\[\e[m\]\$ ' -- John Oxley Senior Systems Administrator Yo!Africa E-Mail:[EMAIL PROTECTED] Tel: +263 4 858404 ext 2017 Cell: +263 91 335 109 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Process tracking
Right, when i run top I see perl grazing 50% of my CPU. How do I find out what process actually launched that. Linux has a nifty utility called htop, but that is not in the FreeBSD ports. I have looked at porting it, but it seems that htop talks straight to the kernel Any ideas? TIA -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
TCP Header Rewrite
Hi, I am cross posting this to [EMAIL PROTECTED] and [EMAIL PROTECTED] because my problem lies with both. Okay, the scenario: I am an ISP dealing with a lot of clients who like sending lots and lots of mail. Currently they are all sending out through a smart host, which checks mail for spam and viruses. All local bandwidth is given at the maximum of the carrier (radio, leased line etc) and international bandwidth is limited to what the client pays for. This is the way mail flows. local ^ I I client -- smarthost -- router -- shaper -- international The smarthost is a FreeBSD-5.3-STABLE system running exim 4.50 built from the exim-mysql port. The router is transparent. This setup works well as is, but the problem is that the shaper thinks that the traffic has come from the smarthost itself, and not the client, and thus the client isn't being bandwidth limited for international mail. My solution to this would be to rewrite the TCP header on the smarthost of all mail packets going out to make them look like they came from the client rather than the smart host. That way the shaper will pick up the packets as though they were from the customer and appropriately shape them. The Exim Side of things: I was thinking of rewriting the remote_smtp transport to send mail to a program which then sends the message off with modified headers. I would do it something like this remote_smtp: driver = pipe command = HEADER_MOD_COMMAND Is there a better way of doing this? Correct me if I am wrong, but this will send the entire mail to STDIN of HEADER_MOD_COMMAND? The FreeBSD side of things (**hairy**): === Once I have the mail sent to the command i was thinking of sending it off through a pipe of some description. I am wondering however to do this. PF with AltQ, which I have never done before, or should I use a ipfw pipe with a divert? And how would I do it on this side? Has anyone done something similar to this? I would have to take the mail and look at the contents to see where it came from in order to mangle the headers, then reintroduce through the pipe. What sort of processor overhead will I be looking at? I am not to worried because CPU time is much cheaper than bandwidth. The smarthost is currently a 2.8Ghz server but can be upgraded if the load gets too high. TIA -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mutt header arrangement
Hi all, I hope this is the correct list to post to. When I receive mail in mutt, I have set it to ignore certain headers. What I want coming through is From: To: Cc: Bcc: Subject: Date: How can I order them in mutt so that they are always shown like that, not randomly jumbled up by whoever is sending me the mail. I don't want to play with the mail using maildrop, I'd much rather get mutt to do it, because I often want to see the full headers of the mail. TIA, -John -- John Oxley E-Mail: [EMAIL PROTECTED] Tel: +263 4 858404 ext 2017 Yo!Africa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A good IDE for C development?
On Sat, 23 Oct 2004 22:39:24 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2004-10-24 03:35, Choy Kho Yee [EMAIL PROTECTED] wrote: Hi, I am a student of Computer Science. I am looking for a good IDE(integrated development environment?) for developing C programs. Something like netbeans for Java would be good. Since I am still learning, I will mainly develop with source codes. Emacs is perfectly fine for most of this. Not to start a flame war on which is the better editor, but vim with ctags is my way. If you are looking for something to help you along a bit more, try anjuta. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrading from 5.2.1-RELEASE-p9 to 5.3-BETA7
I have cvsupped my /usr/src recently and doing make buildworld fails with the below message. Please could someone help me. This is my sup file: *default host=cvsup.rucus.ru.ac.za *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_5 *default delete use-rel-suffix src-all And this is the error: === games/fortune/strfile /usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for /usr/src/games/fortune/strfile rm -f .depend mkdep -f .depend -a-I/usr/obj/usr/src/i386/legacy/usr/include /usr/src/games/fortune/strfile/strfile.c echo strfile: /usr/lib/libc.a /usr/obj/usr/src/i386/legacy/usr/lib/libegacy.a .depend cc -O -pipe -I/usr/obj/usr/src/i386/legacy/usr/include -c /usr/src/games/fortune/strfile/strfile.c cc -O -pipe -I/usr/obj/usr/src/i386/legacy/usr/include -static -L/usr/obj/usr/src/i386/legacy/usr/lib -o strfile strfile.o -legacy /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x74): undefined reference to `_init_tls' *** Error code 1 Stop in /usr/src/games/fortune/strfile. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. reknaw:/usr/src# ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Disk quotas
The Scenario: I am running a multiuser FreeBSD 5.2.1-RELEASE box for ~500 users. We have enforced disk quotas on /home and /tmp of 250MB soft and 256MB hard The Problem: One user has inadvertently snaked around this. (btw I like users who tell you when they have found a problem that works in their favour) We're running Apache 1 with mod_php, mod_ssl etc etc etc. This user has gallery setup on his webpage and the albums directory is chmod 707'd so that httpd can write to it. The problem is that httpd creates files as http:group and quota is not picking up that he is using more disk space than we want him to. The Question: Can quota be told that all files in ~luser belong to luser as well as all files owned by luser. If not, where would the appropriate place for hacking be, the kernel or usr.bin/*quota* -Ox ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gdm/kdm and synergy
I have two machines infront of me. A FreeBSD 5.2.1 system and a Gentoo system. The gentoo system has a mouse and keyboard plugged into it. The FreeBSD system doesn't. How do I add synergyc -f onan to the gdm startup script. I would rather use gdm, because I don't want to install qt/kde on the machine. TIA -John ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
anjuta
I have installed anjuta 1.2.2 from ports and am getting some odd errors: It complains that libtool is not installed but I have installed as dependencies both libtool13 and libtool15. When I symlink /usr/local/bin/libtool15 to libtool and do the same for libtoolize, the autogen.sh script works but configure is failing with: loading cache /dev/null within ltconfig ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed Can anyone help me TIA, -Ox -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Terminal Server
On Sun 2004-06-20 (11:00), Mike Miocevich wrote: Hi, Can FreeBSD act like Windows Terminal Server, i.e. remote access, multiple sessions? Hi Mike, The short answer is yes. The longer answer is FreeBSD, like all unices, has been built from the ground up as a multi-user network operating system. Allowing multiple users to work at the same time on a FreeBSD box is as simple as enabling ssh and adding users to the system. If you want to give them graphical access, you can use X forwarding, or if you are on windows machines, VNC. I recommend TightVNC (http://www.tightvnc.com/). I have worked on an easy way to allow users a graphical login without having to make them run X servers on windows or manually setup a VNC session. It is documented at http://oxo.rucus.net/docs/Terminal-Vnc-HOWTO It is incomplete at the moment. All I need to do is clean up the presentation and grammar (I was always better at maths :), and insert instructions on use of KDE's Desktop Manager. -Ox -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Terminal VNC server
I have setup a terminal VNC server, and half-documented the way I did it at http://oxo.rucus.net/docs/Terminal-Vnc-HOWTO I am the sysadmin of a multi-user box and I am doing this for the plebs who are members of the computer society (RUCUS http://rucus.ru.ac.za/). What I want is an easy way of making vnc connections secure. The machine is firewalled from outside the LAN, but obviously not from inside it. I still don't like unencrypted data flowing over the network. For my own use, I use ssh tunnels to do the encryption, but that is far beyond your Random Joe Fuc^WUser. How can I make the connections over vnc secure? I would prefer not to delve into the source code, but will if I have to. TIA, -Ox -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
x2vnc
I am using x2vnc to manipulate my windows box. Is there any way of making x2vnc send the Win key, which doesn't work in windows, but does on my BSD box. I am running 5.2.1-RELEASE-p5 and x2vnc version 1.6 -Ox -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP IDE instead of Bluefish
On Sun 2004-06-06 (04:31), Michal Pasternak wrote: Bruce Hunter [Sat, Jun 05, 2004 at 09:46:09PM -0400]: I have recently gotten rid of window and now only run FBSD. I am a programmer of many kinds. I program in PHP and was wondering what is a good PHP IDE? Maybe something in the ports collection. editors/xemacs works just great! :^) Try editors/vim, its been fantastic for me. -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
c++ compile problem
I have written and incredibly complex cpp program #include iostream using namespace std; int main(void) { cout Hello World! endl; return 0; } On a linux box, uname -a: Linux skeleton 2.4.22-gentoo-r7 #4 Mon Mar 29 22:21:06 SAST 2004 i686 AMD Athlon(tm) XP 2400+ AuthenticAMD GNU/Linux everything works perfectly, the program compiles. on a FreeBSD box however, uname -a: FreeBSD shell.rucus.ru.ac.za 5.1-RELEASE-p13 FreeBSD 5.1-RELEASE-p13 #3: Thu Feb 5 21:18:42 SAST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SHELL i386 the compiler throws many error messages $ g++ -ansi -pedantic -Wall -ggdb -o hello hello.cpp 21 | wc -l 88 I have posted the messages at http://oxo.rucus.net/cpp-err.txt If I compile without -ansi and -pedantic, everything works fine. This is my first foray into cpp on FreeBSD, before I have coded only in C. Please could someone tell me what I am doing wrong. -Ox -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
disk recovery
Hi, I have a personal server with 400Gb of hard disks in various shapes and sizes. I don't have enough money for redundant disks, and I would like to know what the most efficient way of making sure my data doesn't get lost, in case of a hard drive failure. The best would be for some sort of recovery if a disk goes south for the winter. On this note, what's the best way of recovering data when a disk does go bad. -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IMPS/2 for mouse-wheel not supported
Here is an excerpt from my XF86Config Option ProtocolAuto Option Device /dev/sysmouse Option ZAxisMapping 4 5 You may also want to include Option Buttons 5 On Tue 2004-05-18 (16:23), Richard Bradley wrote: Hi, I have a brand new Microsoft optical wheel mouse with a 'tilt wheel'. It works as a 3-button mouse under X with: Option Protocol PS/2 Option Device/dev/psm0 but the wheel doesn't work (i.e. doesn't even show up in `xev`) The X documentation: [ http://www.xfree86.org/current/mouse6.html ] seems to suggest that I use either IMPS/2 or ExplorerPS/2, but both of these fail with Protocol not supported. Does FreeBSD support PS/2 mouse initialization (which the above link says is required for these protocols)? Is there a kernel module I need to enable this? Any help would be much appreciated. Rich ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remove users from system
On Thu 2004-05-13 (11:31), Kent Stewart wrote: On Thursday 13 May 2004 11:14 am, OLAF STEIN wrote: hi everybody, i recently switched from linux to freebsd, so this question might sound a little stupid the problem i removed 2 users from my system by deleting their entries in /etc/passwd and /etc/group (they had their own group and where in no other groups) the users are still able to login after i deleted them the rmuser command now does not remove them anymore because it cannot find their entries in /etc/passwd, cause as mentioned i deleted them from their the handbook lists all actions that are taken, when the rmuser command is executed and i did all actions manually except the deletion of the home directories of those users, because i want to keep them how can i remove those users completely? and is there something like a /etc/shadow file? Use vipw to do the delete. You deleted the text in the shadow text file and left /etc/master.passwd with the previous working version. You can force the update of master.passwd but I think you should get used to using vipw. /etc/passwd is a world readable version on /etc/master.passwd so that no one can see your password hash. editing /etc/passwd is pointless, and editing /etc/master.passwd to delete a user is like using a cannon to kill a mosquito. Use pw userdel -rn username to delete the user from /etc/master.passwd, rebuild the pwd.db, remove him/her from all the groups and kill their homedir. Editing master.passwd is a *VERY* bad idea unless you use vipw, which rebuilds pwd.db so in short, DON'T. Read the man pages for pw, as it is very useful for manipulating users and groups. Hope this helps. -Ox -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade a port
On Fri 2004-04-23 (11:18), Chiang Seng Chang wrote: currently i have openldap client 2.1 installed. $ pkg_glob -r openldap-client-2.1.30 openldap-client-2.1.30 kdeutils-3.2.2 kdebase-3.2.2 kdenetwork-3.2.2 kdegraphics-3.2.2 kdegames-3.2.2 kdelibs-3.2.2 gnupg-1.2.4_1 samba-3.0.3.p2_1,1 if i want to use version 2.2, do i just simply: pkg_deinstall openldap-client-2.1.30 portinstall net/openldap22-client i suspect step 1 would fail because there are dependency, or switching them around would work ? as in: $ portinstall net/openldap22-client $ pkg_deinstall openldap-client-2.1.30 A better idea would be portupgrade -r openldap22-client The -r recursively upgrade all packages that are dependent on openldap22-client. if you specify -rf it will force a recompile of all ports that are dependent on it. Much better idea, although it does take longer. -Ox -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
: Re: Using portsupgrade with make arguments
I apologise that I have lost the In-Reply-To: Field, but here is my question. On Tue 2004-04-20 (21:23), [EMAIL PROTECTED] wrote: Hi all, just to get it clear for me: If I upgrade a port that has been originally installed with additional make arguments I must include them again. Is the following correct? Original installation: # make arg_1=val_1 arg_2=arg_2 install clean Upgrading port using portupgrade: # portupgrade -R -m arg_1=val_1 arg_2=arg_2 port [snip] on this note, if I change /etc/make.conf to .if ${.CURDIR} == /usr/ports/my/port arg_1=val_1 arg_2=val_2 .endif cd /usr/ports/my/port make install clean then later, I portupgrade that port, will portupgrade use the options from /etc/make.conf -Ox -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, FHS, and /mnt/cdrom
On Fri 2003-11-21 (15:41), Frank Murphy wrote: [snip] - Anyplace at all I'm for this one. I like a purple bikeshed. -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bridging
Hi, my scenario is: onan (WinXP) with realtek NIC MAC address: 00:0a:cd:02:be:8d reknaw (FreeBSD 5.1-RELEASE-p10) with 2 realtek NIC's, rl0 (mac: 00:50:22:8d:f4:3f) and rl1 (mac: 00:40:f4:18:b1:0c). reknaw:rl0 has a real world ip address (foo.bar.37.150) reknaw:rl1 has no ip address onan has a real world ip address (foo.bar.37.190) There is a crossover cable from onan to reknaw:rl1. This is a two part question. Part 1. === I can access the rest of the world perfectly from reknaw and onan, and the rest of the world can see reknaw and onan without any trouble, but the two machines cannot see each other. When I ping reknaw from onan, and then do an arp -a, i see a dynamic entry for reknaw:rl1. When I ping onan from reknaw I get 3 packets transmitted, 0 packets received, 100% packet loss and an arp -a gives: onan.domain (foo.bar.37.190) at 00:0a:cd:02:be:8d on rl0 [ethernet] I have tried 'arp -s foo.bar.37.150 reknaw:rl0` and that does abosolutely nothing to help me. Please can someone help me get these machines talking to each other. Another thing, my bridging setup: /etc/sysctl.conf: net.link.ether.bridge=1 net.link.ether.bridge_cfg=rl1,rl0 net.link.ether.bridge_ipfw=1 /etc/rc.conf: firewall_enable=YES firewall_type=open defaultrouter=foo.bar.32.1 hostname=reknaw.domain ifconfig_rl0=inet foo.bar.37.150 netmask 255.255.248.0 # there is no line for ifconfig_rl1, see next part of my question. Part 2. === I have an 8 port switch. Is it possible for me to give reknaw:rl1 a 192.168.0.1 address, and plug in another computer with a private ip as well, can I bridge and NAT at the same time with the one NIC, or will I need to get another NIC. TIA, -John -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which linux? (not flame bait, thank you)
On Tue 2003-11-04 (00:20), DavidB wrote: First I would like to say that FreeBSD rocks, and have been using it for more than a few years. I like the ports system, I like compiling from source so I can get the compile time features I want. Portupgrade really helps with maintaining ports. My question is this, I would like to have a little exposure to linux and am wondering which distro to run, I used redhat back at the same time I started with FreeBSD3~ , not sure if I should check them out. I had in my list of potentials, slackware, debian, and I was wondering what was thought of gentoo(I read that this was started by a former? freebsd developer)[I hope there is no bad blood there]. I didn't want to go thru a list, installing and playing with several different ones, don't have time for that, I still have to upgrade the webserver/mailserver/database box and the desktop box to 4.9 [not much to that] or wondering if I should just jump into RELENG_5_1 (I like to keep my server and desktop running with the same versions, so I can swap the desktop in place of the server should the server box fail, call it cheap insurance). So is there any particular distro that stands out to freebsd types, so I can check one out, so in a pinch, if I need to setup a linux box for some strange reason I could do so. Not here to start a religious war, I hope people have calmed down on that, but just one simple, perhaps, stupid question. Thanks, Dave If you like FreeBSD I recommend Gentoo. It is a source based distro. the emerge tool is very similar to portupgrade, in fact easier even. On the minus side, it doesn't have the networking power of FreeBSD and is klunkier. Gentoo's portage needs python, which adds to the base system. I am trying to show FreeBSD / Gentoo differences rather than the numerous FreeBSD / Linux differences. What you might find, as I did when I moved to FreeBSD from Gentoo is that linux in general seems slightly more bloated. However for a desktop system, I do advocate linux, mainly due to its better hardware support and you have Mandrake/Redhat for Random Joe F-wit. To sum up, if you like FreeBSD and the way it works, try Gentoo, if you like the way windows is (point click, grind, *slowness* :) then go with Mandrake/Redhat. My 2c -John -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mapping apps to keys in X Windows
On Sat 2003-11-01 (18:15), Lowell Gilbert wrote: Dru [EMAIL PROTECTED] writes: Does any know if there are any tools or configurable scripts that come with X that allow a user to map an application to a shortcut key? Or is one supposed to instead use their window manager or an application in the ports collection (such as xbindkeys). Traditionally, it has been a window manager issue. If you install and run bbkeys from ports, and specify key bindings, it works over all window managers I have tried. -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd on Macs
There is also OpenDarwin http://www.opendarwin.org/ I haven't tried it yet, but I haven't had a chance to play with my mac yet. On Wed 2003-10-29 (12:02), Payne wrote: If you computer can run 10.3 I would got that way because this version is now is more *nix like than ever. It has X11 built into so you can now run X11, and there are hundreds of ports of BSD programs. And it stable. Payne Viktor Lazlo wrote: On Tue, 28 Oct 2003 [EMAIL PROTECTED] wrote: I am wondering if it is currently possible to run freebsd on a Mac. please reply to [EMAIL PROTECTED] THANKS! Although OS X is partially derived from FreeBSD, there is no Mac port yet. NetBSD and OpenBSD do though, check them out. Cheers, Viktor ___ [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] -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4.8 on i386
It might be hardware. Start with http://www.memtest86.com/ On Wed 2003-10-29 (11:31), [EMAIL PROTECTED] wrote: Yes, I used the upgrade tool in /stand/sysinstall and then ftp for the upgrade. I tried a clean install from a 4.8 and 4.9 ISO disk and things still collapse with the Xserver required fonts and whatever, then totally fails on the kernel extraction. Can't figure what's up. Dan Date sent:Wed, 29 Oct 2003 09:03:28 -0600 From: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Copies to:[EMAIL PROTECTED] Subject: Re: 4.8 on i386 [EMAIL PROTECTED] wrote: Hello, Are there issues with trying to install 4.8 on i386 machines? I've tried upgrading from 4.2 on ISO cd to using the FTP site directly, even tried a clean install from the ISO but the istall continues to fall apart while retrieving anything with the Xserver and the binary itself. I just, this AM, used the FTP direct upgrade (thinking my ISO burn was faulty), skipped through the Xserve stuff that failed and allegedly did a successful upgrade. On reboot I get: booting(kernel)... can't load 'kernel' can't load 'kernel.old' no bootable kernel ok I have a Mylex 760 raid card, is this the impediment? The 4.2 is successful without a hitch. I have an AMI 3.0 bios, a Super p6dgs/dbs motherboard. I've downloaded the ISO from different FTP sites and still get the same result from ISO install attempts. Any words for the unwise here? thanks, Dan [EMAIL PROTECTED] I won't call you unwise, but it's a lng way from 4.2 to 4.8. If you've still got a 4.2 world and a 4.2 kernel, I'd try to use cvsup/makebuildworld/../../../mergemaster (etc.) to get to 4.4, then 4.6, then 4.8 or 4.9.. Can you explain the phrase FTP direct upgrade a little more clearly? Do you mean using /stand/sysinstall? You may need to wait until some bigger brains see your question : ( Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5 button mouse and MozillaFirebird
Hi, I have a 5 button optical mouse. I have put the lines: Option Buttons 7 Option ZAxisMapping 6 7 in my Identifier section of XF86Config. I also run `xmodmap -e pointer = 1 2 3 6 7 4 5` in my .xinitrc. Running xev i can see that the side buttons are buttons 6 and 7, while the scroll up and down is 4 and 5. How do I tell MozillaFirebird to map back and forward to buttons 6 and 7. I realise that this isn't strictly a FreeBSD question but any help would be greatly appreciated. My system is FreeBSD-5.1-RELEASE-p10, running XFree86 Version 4.3.0. My window manager is blackbox 0.65.0. -John -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5 button mouse and MozillaFirebird
OK, figured it out: Step by step for anyone who wants to know how. edit XF86Config put in Option Buttons 7 Option ZAxisMapping 6 7 in ~/.imwheelrc put: .* None, Up, Alt_L|Left None, Down, Alt_L|Right and last of all in .xinitrc, put: imwheel -p -b 67 xmodmap -e pointer = 1 2 3 6 7 4 5 On Mon 2003-10-27 (17:02), John Oxley wrote: Hi, I have a 5 button optical mouse. I have put the lines: Option Buttons 7 Option ZAxisMapping 6 7 in my Identifier section of XF86Config. I also run `xmodmap -e pointer = 1 2 3 6 7 4 5` in my .xinitrc. Running xev i can see that the side buttons are buttons 6 and 7, while the scroll up and down is 4 and 5. How do I tell MozillaFirebird to map back and forward to buttons 6 and 7. I realise that this isn't strictly a FreeBSD question but any help would be greatly appreciated. My system is FreeBSD-5.1-RELEASE-p10, running XFree86 Version 4.3.0. My window manager is blackbox 0.65.0. -John -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]