Re: remote x session
Perhaps I misunderstand, but I use x11vnc on the 'server' and vncviewer or tightvnc on the 'client'. There are several pages to google on tunneling it thru ssh, and it's much better with latency than sending x iteslf over ssh, I'm told. If you start x11vnc with no options, it will export the current session/desktop, but there is a switch to have it spawn a new x session also. All the other vnc ports only spawn new sessions, and I usually use it to help my wife fix problems when I'm away at the office ;) Best, Steve On Dec 24, 2007 9:05 AM, Jonathan Horne [EMAIL PROTECTED] wrote: i have been wanting to set up the ability to open an entirely new x session to another box, in a window of my currently running session. xnest is one way of doing this, but i was wondering if there are any others (perhaps, a little easier to configure and get going) ? cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CDROM Boot Hangs But Only Under 6.x
Not in this case. As I mentioned in a prior post, I tried booting with the 7.0-BETA4 ISO and got the exact same results. Response: Yes, sorry about that; was in too much of a hurry and missed the later posts. David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: syslog-ng not logging
On Dec 26, 2007, at 9:40 PM, Peter Boosten wrote: Quoting Livia Markoczy [EMAIL PROTECTED]: syslog_ng_config=-u daemon But nothing has logged anywhere, including to console, since the time I killed the system syslogd. file permissions. While your syslog-ng runs as daemon, it has no permission to log to files owned by root (syslogd). I solved that by logging into a different subdir owned by daemon. OK thanks. (I am the original poster, but I'd accidentally posted using my wife's role). Is there any reason not to simply do a cd /var/log chown -R daemon . also chown daemon /dev/console for console logging. Will log rotation preserve daemon ownership? Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing boot partition
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nuno Gonçalves wrote: Hi all, I Have a FreeBSD booting ok. It?s FSTAB is like this: #DeviceMountPoint FStype Options /dev/ad1s1b none swap sw /dev/ad1s1a / ufs rw /dev/acd0 /cdrom cd9660 ro,noauto /dev/ad1s2d /backup ufs rw When I boot the machine the boot manager shows me F1 and F2 to boot for. F1 brings me /dev/ad1s1a OK Still I want the machine to boot to /dev/ad1s2d This partition has a backup from another FreeBSD which I want to boot. To accomplish this, I need only to change FSTAB ? What changes should I do ? changing /dev/ad1s2d to /dev/ad1s2a ? I read that a means boot root partition I tried to change FSTAB to #DeviceMountPoint FStype Options /dev/ad1s1b none swap sw #/dev/ad1s1a / ufs rw /dev/acd0 /cdrom cd9660 ro,noauto /dev/ad1s2a /backup ufs rw And it hanged when I pressed F1 (could not mount the root partition :P ) Could you guys give any hint ? Sorry about this questions but I am a newbie to FreeBSD I forget the exact semantics but do a search for installing freebsd in a usb stick on google the reason for referring to this site is it shows how to duplicate what sysinstall does from the command line - -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHc6rZzIOMjAek4JIRAoevAJ0WZzlRNgLiZeMzgS7RV2SS96kEBgCfe9PI tsmEoCTLlXPqg/FWYSEcukc= =oamg -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Changing boot partition
Hi all, I Have a FreeBSD booting ok. Its FSTAB is like this: #DeviceMountPoint FStype Options /dev/ad1s1b none swap sw /dev/ad1s1a / ufs rw /dev/acd0 /cdrom cd9660 ro,noauto /dev/ad1s2d /backup ufs rw When I boot the machine the boot manager shows me F1 and F2 to boot for. F1 brings me /dev/ad1s1a OK Still I want the machine to boot to /dev/ad1s2d This partition has a backup from another FreeBSD which I want to boot. To accomplish this, I need only to change FSTAB ? What changes should I do ? changing /dev/ad1s2d to /dev/ad1s2a ? I read that a means boot root partition I tried to change FSTAB to #DeviceMountPoint FStype Options /dev/ad1s1b none swap sw #/dev/ad1s1a / ufs rw /dev/acd0 /cdrom cd9660 ro,noauto /dev/ad1s2a /backup ufs rw And it hanged when I pressed F1 (could not mount the root partition :P ) Could you guys give any hint ? Sorry about this questions but I am a newbie to FreeBSD Thanks once again Nuno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: zfs-geli-zfs: opinions/suggestions
Jacob Yocom-Piatt wrote: lo all, have a freebsd 7.0-beta4 machine attached to an external disk enclosure and would like feedback on the following setup: have RAID-Z on 4 disks, ZFS volume that takes up entire RAID-Z, use ZVOL from volume for encryption via geli, use .eli (decrypted) device to make another ZFS pool. the idea being no time/resources wasted doing fscks plus encryption sans hardware RAID. Unless I'm misunderstanding your objective, geli'ing the disks and creating a pool ontop of the encrypted disks (zpool create secure raidz da0.eli da1.eli da2.eli da3.eli) would also work, and would be far easier to maintain. Your data would still be encrypted and you would still need to provide the passphrase to make the pool accessible. Best regards, Hugo translated to commands this reads: # zpool create p_a raidz /dev/mfid1 /dev/mfid2 /dev/mfid3 /dev/mfid4 # zpool list NAMESIZEUSED AVAILCAP HEALTH ALTROOT p_a2.72T 4.02G 2.71T 0% ONLINE - # zfs create -V 2048g p_a/vol # geli init -K /root/p_a.key -s 4096 -l 256 /dev/zvol/p_a/vol # geli attach -k /root/p_a.key /dev/zvol/p_a/vol # zpool create a /dev/zvol/p_a/vol.eli i got a reboot while scp-ing some files to /a (only got ~3 GB in) from another machine with the above setup. am currently waiting far too long for a rm -R directory to complete under /a. will test if any of this behavior is repeatable. i welcome opinions or suggestions on the stability of such a setup (ZFS-geli-ZFS) and if this is not stable, as the reboot i just experienced would indicate, suggestions on alternative configurations that allow use of geli and minimize or eliminate fsck time. i do have a preference for no hardware RAID since it ties us to a particular card. will furnish a proper bug report if the reboots are repeatable in the aforementioned scenario. NOTE: please CC me since i am not yet subscribed to this list cheers, jake ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Hosting Server Load
Hi all, Just wondering what kind of load most hosters consider reasonable. (1 min, 5 min, and 15 min average loads). -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: syslog-ng not logging
Quoting Jeffrey Goldberg [EMAIL PROTECTED]: Is there any reason not to simply do a cd /var/log chown -R daemon . I think (but I'm not sure) that permissions will be reversed by mtree. also chown daemon /dev/console Won't work either. *if* you're going to do that you should alter /etc/devfs.conf for console logging. Will log rotation preserve daemon ownership? Never used the *traditional* log style with syslog-ng, I stored everything per day/month/year/server. I ended up running syslog-ng as root, which is probably a bad idea as well, so I cannot give you any advice on this one. Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Buildworld RELENG_7 problem
On 2007-12-26 06:34, Bernt Hansson [EMAIL PROTECTED] wrote: Hello! I'v got a bit of a problem upgrading from FreeBSD 7.0-BETA2 #0 to any later version. This is the error I get: gtyp-gen.h echo NULL};gtyp-gen.h echo static const char * const lang_dir_names[] = {gtyp-gen.h echo \c\,gtyp-gen.h echo \cp\, gtyp-gen.h echo \objc\, gtyp-gen.h echo NULL};gtyp-gen.h cc -O2 -fno-strict-aliasing -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr\ -I/usr/obj/usr/sr c/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gn u/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contr ib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/include -I/usr/src/gn u/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc/cc_tool s/../../../../contrib/gcclibs/libdecnumber -g -DGENERATOR_FILE -DHAVE_CONFIG_H -I/usr/obj/usr/src /tmp/legacy/usr/include -c /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype.c In file included from ./tm.h:4, from /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype.c:24: ./options.h:901: error: redeclaration of enumerator 'OPT_w' ./options.h:899: error: previous definition of 'OPT_w' was here *** Error code 1 Hi Bernt, Are you using a non-POSIX locale (i.e. LANG, LC_ALL and friends)? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
experience with a Logitech Internet 1500 wireless keyboard/mouse?
It's the cheapest wireless I could find with a ins/del/home/end/pg up/pg down block on the keyboard, and I wanted to ask if anyone had experience with one and FreeBSD? I got an MS wireless keyboard/mouse a while ago, but the mouse doesn't work (no one has gotten one to work apparantly), and I really need wireless on this system. Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: experience with a Logitech Internet 1500 wireless keyboard/mouse?
Hello, Jim. On 27 ??? 2007 ?., 19:36:32 you wrote: JS It's the cheapest wireless I could find with a ins/del/home/end/pg JS up/pg down block on the keyboard, and I wanted to ask if anyone had JS experience with one and FreeBSD? I got an MS wireless keyboard/mouse a JS while ago, but the mouse doesn't work (no one has gotten one to work JS apparantly), and I really need wireless on this system. I'm using Logitech Cordless Rechargeable Desktop for about 2 years with no problems. Probably this one will work too. -- Best regards, Michael mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Any way to access I2C sensors in FreeBSD ?
Hi, Is there anything similar to lm_sensors (for Linux) in FreeBSD, to monitor temperature of motherboard, CPU, etc. ? I'm using Intel D945GNTL mobo with Intel Pentium 4 630 (EM64T/HT) CPU. Following is an output of 'sensors' for my box, when running on Linux: 88 abbe [~] chateau $ sensors lm85-i2c-0-2e Adapter: SMBus I801 adapter at 2000 V1.5: +1.55 V (min = +0.00 V, max = +3.32 V) VCore: +1.35 V (min = +0.00 V, max = +2.99 V) V3.3: +3.28 V (min = +0.00 V, max = +4.38 V) V5: +5.03 V (min = +0.00 V, max = +6.64 V) V12: +12.19 V (min = +0.00 V, max = +15.94 V) CPU_Fan: 1069 RPM (min =0 RPM) fan2: 0 RPM (min =0 RPM) fan3: 778 RPM (min =0 RPM) fan4: 0 RPM (min =0 RPM) CPU Temp:+59°C (low = -127°C, high = +127°C) Board Temp: +47°C (low = -127°C, high = +127°C) Remote Temp: +42°C (low = -127°C, high = +127°C) CPU_PWM: 112 Fan2_PWM: 103 Fan3_PWM: 103 vid: +1.088 V (VRM Version 10.0) 88 Is there anyway to access this information from FreeBSD also, hmm... ? TIA -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- signature.asc Description: Digital signature
Re: Any way to access I2C sensors in FreeBSD ?
,--[ On Thu, Dec 27, 2007 at 07:18:19PM +0100, Pieter de Goeje wrote: [...] | Is there anyway to access this information from FreeBSD also, hmm... ? | | TIA | | Have a look at the sysutils/mbmon and sysutils/healthd ports. Thanks will look at them. -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- signature.asc Description: Digital signature
Re: Any way to access I2C sensors in FreeBSD ?
On Thursday 27 December 2007, आशीष शुक्ल Ashish Shukla wrote: Hi, Is there anything similar to lm_sensors (for Linux) in FreeBSD, to monitor temperature of motherboard, CPU, etc. ? [snip] Is there anyway to access this information from FreeBSD also, hmm... ? TIA Have a look at the sysutils/mbmon and sysutils/healthd ports. Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Logitech keyboard/mouse?
As long as we're in the viciity: I have a Logitech i-Touch keyboard; standard 104 (or whatever it is these days) setup plus a dozen extra buttons and two dials. Great product. It would be even greater if a) I could get X to register/comunicate all the extra stuff and b) programs understood and used those inputs. Has anyone seen this done? I'd dearly loce to be able to use the little dial by the TAB key for volume control in xmms. 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: syslog-ng not logging
On Dec 27, 2007, at 10:40 AM, Peter Boosten wrote: Quoting Jeffrey Goldberg [EMAIL PROTECTED]: Is there any reason not to simply do a cd /var/log chown -R daemon . I think (but I'm not sure) that permissions will be reversed by mtree. This is the first I've heard of mtree. I just looked mtree(8), but I take it that mtree is run periodically somehow to fix things. Do you know where? I can always keep my logs in some place other than /var/log if this is an issue. also chown daemon /dev/console Won't work either. *if* you're going to do that you should alter / etc/devfs.conf More things to learn. I'm not really concerned about logging to console anyway, as the machine will run headless most of the time. Will log rotation preserve daemon ownership? Never used the *traditional* log style with syslog-ng, I stored everything per day/month/year/server. I'm doing that for hosts that this is the remote syslod server for. I'm using /var/log/HOSTS/$HOST/$YEAR/$MONTH/$DAY/$FACILITY-$YEAR$MONTH$DAY for everything coming from the udp source. I suppose I could just add localhost under HOSTS to do a similar destination for everything else, though there I would probably have FACILITY be the major categorization I ended up running syslog-ng as root, which is probably a bad idea as well, so I cannot give you any advice on this one. It sounds like using something other than /var/log for a destination makes the most sense. I won't promise anything, but if I get to grok this all better, I'll submit a pr for syslog-ng which includes a pkg-message and a FreeBSD README. (I had to look in the startup script for instructions on how to enable syslog-ng). Cheers, -j ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: zfs-geli-zfs: opinions/suggestions
Hugo Silva wrote: Jacob Yocom-Piatt wrote: lo all, have a freebsd 7.0-beta4 machine attached to an external disk enclosure and would like feedback on the following setup: have RAID-Z on 4 disks, ZFS volume that takes up entire RAID-Z, use ZVOL from volume for encryption via geli, use .eli (decrypted) device to make another ZFS pool. the idea being no time/resources wasted doing fscks plus encryption sans hardware RAID. Unless I'm misunderstanding your objective, geli'ing the disks and creating a pool ontop of the encrypted disks (zpool create secure raidz da0.eli da1.eli da2.eli da3.eli) would also work, and would be far easier to maintain. Your data would still be encrypted and you would still need to provide the passphrase to make the pool accessible. this is a fine idea and removes a ZFS layer but i expect it will require a short sh script (read input and pipe into loop over disks) unless i want to enter a passphrase per disk. if anybody's already got such a script, would be nice to have since my script skills are kinda weak. will geli each of the disks and test it out to see if it is more stable than the original config. thanks for your input, hugo! cheers, jake Best regards, Hugo translated to commands this reads: # zpool create p_a raidz /dev/mfid1 /dev/mfid2 /dev/mfid3 /dev/mfid4 # zpool list NAMESIZEUSED AVAILCAP HEALTH ALTROOT p_a2.72T 4.02G 2.71T 0% ONLINE - # zfs create -V 2048g p_a/vol # geli init -K /root/p_a.key -s 4096 -l 256 /dev/zvol/p_a/vol # geli attach -k /root/p_a.key /dev/zvol/p_a/vol # zpool create a /dev/zvol/p_a/vol.eli i got a reboot while scp-ing some files to /a (only got ~3 GB in) from another machine with the above setup. am currently waiting far too long for a rm -R directory to complete under /a. will test if any of this behavior is repeatable. i welcome opinions or suggestions on the stability of such a setup (ZFS-geli-ZFS) and if this is not stable, as the reboot i just experienced would indicate, suggestions on alternative configurations that allow use of geli and minimize or eliminate fsck time. i do have a preference for no hardware RAID since it ties us to a particular card. will furnish a proper bug report if the reboots are repeatable in the aforementioned scenario. NOTE: please CC me since i am not yet subscribed to this list cheers, jake ___ 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]
mutt??
I've been trtryinng to rebuild everything on tao to get my i810 graphics working. Somehow, mutt bbroke. It seems to break with something undefined in perl5.8. Anybody know what this is: Undefined symbol __sbmaskrune ? tia, gary PS: I get the same thing from building other versions of mutt, too. -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: syslog-ng not logging
Jeffrey Goldberg wrote: This is the first I've heard of mtree. I just looked mtree(8), but I take it that mtree is run periodically somehow to fix things. Do you know where? I can always keep my logs in some place other than /var/log if this is an issue. IIRC it's done at boot time. Have a look at /etc/rc.d/var Will log rotation preserve daemon ownership? Never used the *traditional* log style with syslog-ng, I stored everything per day/month/year/server. I'm doing that for hosts that this is the remote syslod server for. I'm using /var/log/HOSTS/$HOST/$YEAR/$MONTH/$DAY/$FACILITY-$YEAR$MONTH$DAY for everything coming from the udp source. I suppose I could just add localhost under HOSTS to do a similar destination for everything else, though there I would probably have FACILITY be the major categorization localhost will be created automatically by syslog-ng (although it'll probably use the hosts fqdn). I ended up running syslog-ng as root, which is probably a bad idea as well, so I cannot give you any advice on this one. It sounds like using something other than /var/log for a destination makes the most sense. No, it's enough to grant daemon write permissions in /var/log/HOSTS. Since you're using the $DAY macro, you won't need log rotation anyway. Regards, Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sysctl...
aJTiM writes: I am running FreeBSD 7 beta4. When I start a computer and os loading I got one message which I don't know why and how could I save a problem if it is a problem. Beta 4 works very good and I don't have problems. hw.acpi.cpu.cx_lowest: C1 sysctl: hw.acpi.cpu.cx_lowest: Invalid argument Same here. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sysctl...
Hi! I am running FreeBSD 7 beta4. When I start a computer and os loading I got one message which I don't know why and how could I save a problem if it is a problem. Beta 4 works very good and I don't have problems. hw.acpi.cpu.cx_lowest: C1 sysctl: hw.acpi.cpu.cx_lowest: Invalid argument Thanks in advance. -- It just doesn't seem right to go over the river and through the woods to Grandmother's condo. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Logitech keyboard/mouse?
On Thu, Dec 27, 2007 at 01:18:19PM -0500, Robert Huff wrote: As long as we're in the viciity: I have a Logitech i-Touch keyboard; standard 104 (or whatever it is these days) setup plus a dozen extra buttons and two dials. Great product. It would be even greater if a) I could get X to register/comunicate all the extra stuff and b) programs understood and used those inputs. Has anyone seen this done? I'd dearly loce to be able to use the little dial by the TAB key for volume control in xmms. I tinkered with this stuff a while ago. Let me see if I can remember how (an object lesson in making copious notes whenever you try something new, I guess...) To find out what keycodes your extra keys are bound to, run xev(1) from an Xterm or similar. With your mouse pointer over the little window that pops up, hit each extra key you are interested in and make a note of its keycode value. Quit xev(1) and edit or create ~/.Xmodmap, which allows you to assign keysyms to particular keycodes, etc (see xmodmap(1) for the full story). On my keyboard, turning the dial clockwise generates keycode 176, and anti-clockwise 174 which I map to the XF86AudioRaiseVolume and XF86AudioLowerVolume keysyms: keycode 176 = XF86AudioRaiseVolume keycode 174 = XF86AudioLowerVolume I also have a mute button next to the dial which generates 140: keycode 140 = XF86AudioMute (A full list of keysyms can be found in /usr/local/lib/X11/XKeysymDB) For this to be useful, you need to figure out how your window manager handles keyboard customisation.[1] Under XFCE4, the Keyboard settings applet allows creation of keyboard shortcuts by attaching commands to keysyms. For example, to change the mixer volume, I have `aumix -v +10' assigned to XF86AudioRaiseVolume and `aumix -v -10' assigned to XF86AudioLowerVolume. (aumix is available in the ports). I have assigned a custom shell script to the mute button (XF86AudioMute) which toggles the volume on or off: #!/bin/sh -x # If we are currently playing, mute the speakers and register current # volume level in /tmp/mute-${XINE_PID} # # If mute (ie, if mute-${XINE_PID} exists), restore volume to the level # recorded in the file, and remove the file. XINE_PID=$(pgrep xine) if [ -f /tmp/mute-${XINE_PID} ] then VOL=$(cat /tmp/mute-${XINE_PID}) aumix -v${VOL} rm /tmp/mute-${XINE_PID} else VOL=$(aumix -q | awk '/^vol/ {print $2}' | sed -e 's/,//') echo ${VOL} /tmp/mute-${XINE_PID} aumix -v0 fi It's a little naive, but it works for me (TM). I'm sure much more sophist- icated and robust solutions are to be found! I have also created a very simplistic play/pause/resume script which is bound to XF86AudioPlay (keycode 162 in my case): #!/bin/sh # Play/Pause/Unpause control for Xine. # Invoked from the XFCE4 keyboard shortcuts. XINE_PID=$(pgrep xine) if [ -f /tmp/play_pause-${XINE_PID} ] then rm /tmp/play_pause-${XINE_PID} exec xine -S play else touch /tmp/play_pause-${XINE_PID} exec xine -S pause fi Again, pretty naive, but it works here. Once you have customised your .Xmodmap, you can ativate the changes by adding to your ~/.xsession or ~/.xinitrc xmodmap /path/to/your/home/.Xmodmap Obviously, the same command can be used to load your modifications without logging off. HTH Dan [1] http://gentoo-wiki.com/HOWTO_Use_Multimedia_Keys gives details for various window managers. -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgp2inOxfeGAA.pgp Description: PGP signature
Re: Logitech keyboard/mouse?
Daniel Bye writes: I have a Logitech i-Touch keyboard; standard 104 (or whatever it is these days) setup plus a dozen extra buttons and two dials. Great product. It would be even greater if a) I could get X to register/comunicate all the extra stuff Has anyone seen this done? I'd dearly loce to be able to use the little dial by the TAB key for volume control in xmms. To find out what keycodes your extra keys are bound to, run xev(1) from an Xterm or similar. With your mouse pointer over the little window that pops up, hit each extra key you are interested in and make a note of its keycode value. We can stop right here: nothing gets reported. 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: Logitech keyboard/mouse?
On Thu, Dec 27, 2007 at 02:30:32PM -0500, Robert Huff wrote: Daniel Bye writes: I have a Logitech i-Touch keyboard; standard 104 (or whatever it is these days) setup plus a dozen extra buttons and two dials. Great product. It would be even greater if a) I could get X to register/comunicate all the extra stuff Has anyone seen this done? I'd dearly loce to be able to use the little dial by the TAB key for volume control in xmms. To find out what keycodes your extra keys are bound to, run xev(1) from an Xterm or similar. With your mouse pointer over the little window that pops up, hit each extra key you are interested in and make a note of its keycode value. We can stop right here: nothing gets reported. Absolutely nothing? Hmm. Never seen that before... A few minutes' googling suggests that you might get on better with a different keyboard model in your xorg.conf. What's it currently set to? Mine is Option XkbModel pc101 Try looking for your keyboard in /usr/local/share/X11/xkb/rules/base.lst and try the model name in the first column. Apart from that, I have no idea, sorry. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpBzkcXCP0yH.pgp Description: PGP signature
Re: sysctl...
On Dec 27, 2007 2:20 PM, aJTiM [EMAIL PROTECTED] wrote: Hi! I am running FreeBSD 7 beta4. When I start a computer and os loading I got one message which I don't know why and how could I save a problem if it is a problem. Beta 4 works very good and I don't have problems. hw.acpi.cpu.cx_lowest: C1 sysctl: hw.acpi.cpu.cx_lowest: Invalid argument Thanks in advance. -- It just doesn't seem right to go over the river and through the woods to Grandmother's condo. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I am not running 7.0, so I am just guessing, but I am assuming you changed that option in /etc/sysctl.conf (or possibly copied your /etc directory from an older machine to the 7.0 machine). That would be the why you are getting that message during boot. The reason the message is appearing at all is most likely because that is not a current sysctl variable/option. I would check the sysctl manuals for that. -- Chad M. Gross ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sysctl...
On Thu, Dec 27, 2007 at 02:28:34PM -0500, Chad Gross wrote: On Dec 27, 2007 2:20 PM, aJTiM [EMAIL PROTECTED] wrote: Hi! I am running FreeBSD 7 beta4. When I start a computer and os loading I got one message which I don't know why and how could I save a problem if it is a problem. Beta 4 works very good and I don't have problems. hw.acpi.cpu.cx_lowest: C1 sysctl: hw.acpi.cpu.cx_lowest: Invalid argument Thanks in advance. -- It just doesn't seem right to go over the river and through the woods to Grandmother's condo. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I am not running 7.0, so I am just guessing, but I am assuming you changed that option in /etc/sysctl.conf (or possibly copied your /etc directory from an older machine to the 7.0 machine). That would be the why you are getting that message during boot. The reason the message is appearing at all is most likely because that is not a current sysctl variable/option. I would check the sysctl manuals for that. More likely it is just differences in the ACPI support in the BIOS. I see the same message on one of my machines running 6-STABLE. On another machine also running 6-STABLE it instead says: hw.acpi.cpu.cx_lowest: C1 - C1 Neither system has that option referenced in /etc/sysctl.conf Everything seems to work fine so I don't worry about it. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Blocking undesirable domains using BIND
Hello, I'm currently setting up a new firewall for my home network using FreeBSD 7. The firewall will also act as our local name server (authoritative for the local domain, and caching for everything else). One of the things I'd like to do with it is use BIND to block various undesirable domains (ad servers, malicious sites, etc.). The plan is to have a separate BIND config file which is included in the main one. In that file I map all the blocked domains to either the empty zone or perhaps my local web server that's just serving a blank page for any request. Haven't decided which way is better yet. This file is updated periodically (once a week maybe) and BIND is then told to reload the config. That's the plan as it stands now, eventually I hope to add a web interface to the system for adding and removing blocked domains. My question for you guys is if know any _reliable_ sources for getting that list of domains in the first place? I currently use the hosts file on all my machines, which is about 2MB in size and hasn't been updated in several years. I'll definitely import all of those entries myself, but it would be good if I could periodically pull an updated list from somewhere else. The following site has a pretty decent collection of ad servers, though it's a bit short compared to what I already have: http://pgl.yoyo.org/adservers/. It even provides the list in a BIND format, meaning that I don't need to do any additional processing with it. Just fetch the page and reload BIND. This, however, is not one of my requirements. I'm perfectly happy getting just a list of the domains (in any format), and then processing them into a BIND config file myself. Just need good sources. What are your recommendations? - Max ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CDROM Boot Hangs But Only Under 6.x
I have 18 brand new Gateway towers at work (I can supply the model numbers after school restarts next week). I wanted to clone them using dd and an external usb hard drive. I couldn't boot 6.x or 7.x CDs on any of the boxes, but I was able to install 7 (I didn't try 6.x) on a usb stick, set the BIOS to boot from the device and run FreeBSD (and dd) from there. These machines have CDRW/DVDR drives installed. I've had no problem running any content based media from them at all, but I haven't tried booting any other media (like WinXP) from them, either. Tim David M. Patronis wrote: Not in this case. As I mentioned in a prior post, I tried booting with the 7.0-BETA4 ISO and got the exact same results. Response: Yes, sorry about that; was in too much of a hurry and missed the later posts. David ___ 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: Blocking undesirable domains using BIND
On Dec 27, 2007 3:46 PM, Maxim Khitrov [EMAIL PROTECTED] wrote: Hello, I'm currently setting up a new firewall for my home network using FreeBSD 7. The firewall will also act as our local name server (authoritative for the local domain, and caching for everything else). One of the things I'd like to do with it is use BIND to block various undesirable domains (ad servers, malicious sites, etc.). The plan is to have a separate BIND config file which is included in the main one. In that file I map all the blocked domains to either the empty zone or perhaps my local web server that's just serving a blank page for any request. Haven't decided which way is better yet. This file is updated periodically (once a week maybe) and BIND is then told to reload the config. That's the plan as it stands now, eventually I hope to add a web interface to the system for adding and removing blocked domains. My question for you guys is if know any _reliable_ sources for getting that list of domains in the first place? I currently use the hosts file on all my machines, which is about 2MB in size and hasn't been updated in several years. I'll definitely import all of those entries myself, but it would be good if I could periodically pull an updated list from somewhere else. The following site has a pretty decent collection of ad servers, though it's a bit short compared to what I already have: http://pgl.yoyo.org/adservers/. It even provides the list in a BIND format, meaning that I don't need to do any additional processing with it. Just fetch the page and reload BIND. This, however, is not one of my requirements. I'm perfectly happy getting just a list of the domains (in any format), and then processing them into a BIND config file myself. Just need good sources. What are your recommendations? - Max ___ You could always try one of those ad-blocking databases for firefox. The Ad-Block Plus plugin, I was thinking of specifically. http://easylist.adblockplus.org You could grab that file, then parse it and grab the domains out of it to block. I know this isn't what you want, but it may come in useful anyway: http://www.okean.com/asianspamblocks.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Kernel Log Messages in Security Output
Hi, Just got the following in my security run output and wondering what exactly it means: +++ /tmp/security.zNWgsW2T Fri Dec 28 03:01:05 2007 +(da0:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 +(da0:umass-sim1:1:0:0): CAM Status: SCSI Status Error +(da0:umass-sim1:1:0:0): SCSI Status: Check Condition +(da0:umass-sim1:1:0:0): NOT READY asc:3a,0 +(da0:umass-sim1:1:0:0): Medium not present +(da0:umass-sim1:1:0:0): Unretryable error Opened disk da0 - 6 +(da0:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 +(da0:umass-sim1:1:0:0): CAM Status: SCSI Status Error +(da0:umass-sim1:1:0:0): SCSI Status: Check Condition +(da0:umass-sim1:1:0:0): NOT READY asc:3a,0 +(da0:umass-sim1:1:0:0): Medium not present +(da0:umass-sim1:1:0:0): Unretryable error Opened disk da0 - 6 If anyone can shed some light on it or point me to some documentation that would be great. As far as I can tell the machine is running fine. There is hardware raid setup with mirroring on this box. There are no errors on the physical machine itself. Regards, Terry http://www.sucked-in.com Have you been sucked in? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mutt??
Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2007-12-27 11:02, Gary Kline [EMAIL PROTECTED] wrote: I've been trtryinng to rebuild everything on tao to get my i810 graphics working. Somehow, mutt bbroke. It seems to break with something undefined in perl5.8. Anybody know what this is: Undefined symbol __sbmaskrune ? That's odd. The mutt-devel port (which I am using to type and post this message) does not seem to depend on Perl: Last time I recall seeing a symbol name ending in rune it had something to do with handling charsets and/or locales. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: About Freebsd 7.0 versus 6.3
Aryeh Friedman wrote: On Nov 8, 2007 11:55 AM, Expresso Digital ISP [EMAIL PROTECTED] wrote: Hi, my name is Cesar. I'd like to know what is the diference between 7.0 and 6.3 and why create a newest version and after old version. 6.X is the last of versions meant primarilly for single processing machines (with some after thought payed to multiprocessing). 7.X is the beginning of the versions specifically designed with multiprocessing/cores in mind Under the hood many things have been changed improved in 7 the offical recommendation is 6.3 is for people who can *NOT* upgrade to 7 for whatever reason and everyone else should use 7... note as far most people can tell there is no easy way to upgrade to 7 if you have 6 installed so you should start with 7 When installing a test of 7.0 B4, I found that directories which I have traditionally used (/usr/local/libexec /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/man/* etc) and /etc/make.conf are not visible in a default install. Is this because the B4 is missing them, or has there been a serious change in directory file structure? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FTPd INETd No Response But SFTP Works.
Hi I'm having trouble understanding why my FTPd is not responding. I have uncommented FTP in inetd.conf, inetd is enabled in rc.conf. There have been no changes to the default setup of FreeBSD 6.2 AMD 64 other then the ports install of php5 apache and mysql, so everything is set to basic security, hosts.allow is untouched, and allowing all access. I do have SSHD installed and I have been using SFTP up untill now. I am configuring a php script that attempts to update it's self using the PHP5-FTP mod, but this php mod does not work correctly with SFTP, so I have tried to enable the FTPd (Like I have in the past). I cannot make a connection to the FTP on port 21 with any FTP Client, just hangs. I tried ports install of pure-ftp, as well, I could not connect to it either. I can see them running in top, I can see inetd monitoring port 21 in sockstat, but something just refuses to work. Is there any known issue of having SFTP on port 22 and FTPd on 21 working together? If anyone has a suggestion I'd appreciate any help. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mutt??
On Thu, Dec 27, 2007 at 11:02:00AM -0800, Gary Kline wrote: I've been trtryinng to rebuild everything on tao to get my i810 graphics working. Somehow, mutt bbroke. It seems to break with something undefined in perl5.8. I don't think it is perl; mutt doesn't depend on it. Anybody know what this is: Undefined symbol __sbmaskrune ? tia, If you google for __sbmaskrune, you'll find this; http://bsdpants.blogspot.com/2007/11/yuck-undefined-symbol-sbmaskrune.html Looks like you'll have to update the base system to a state after the following commit; http://lists.freebsd.org/pipermail/cvs-src/2007-November/084046.html Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpEVabOQ4fJU.pgp Description: PGP signature
Re: mutt??
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Giorgos Keramidas wrote: On 2007-12-27 11:02, Gary Kline [EMAIL PROTECTED] wrote: I've been trtryinng to rebuild everything on tao to get my i810 graphics working. Somehow, mutt bbroke. It seems to break with something undefined in perl5.8. Anybody know what this is: Undefined symbol __sbmaskrune ? That's odd. The mutt-devel port (which I am using to type and post this message) does not seem to depend on Perl: % $ pkg_info -r mutt\* % Information for mutt-devel-... % % Depends on: % Dependency: ispell-3.2.06_18 % Dependency: mime-support-3.39.1 % Dependency: libiconv-1.11_1 % Dependency: gettext-0.16.1_3 % % $ This is caused by a change to various ctype functions to do with improved UTF8 support recently, which inadvertently broke ABI compatability on RELENG_6. The change has since been reverted, but it seems that you were unlucky enough to install or upgrade some software during the month or so that it was in place, so that it is referring to symbols that do not exist in libc.so. Perl is just one of the places where __sbmaskrune can show up. There's been quite a lot of discussion of it on various lists recently: http://www.google.co.uk/search?hl=enq=site%3Alists.freebsd.org+__sbmaskrunebtnG=Google+Searchmeta= This, precisely, is the commit message where the ABI breakage you've seen was created: http://lists.freebsd.org/pipermail/cvs-src/2007-October/082836.html and here is where it was fixed: http://lists.freebsd.org/pipermail/cvs-src/2007-November/084046.html To sort out your system, basically make sure you're running a RELENG_6 version from after the fix was committed, and then I'm afraid you've just got to reinstall any software that shows the symptoms. Anything installed before the original commit that broke things will be fine -- it's just software that was recompiled using a RELENG_6 system from between 24 October and 20 November. It's only RELENG_6 that was affected -- the change went into RELENG_7 (and HEAD) where ABI changes are permitted with the new major version number, but RELENG_6_2, RELENG_6_3 and other release branches never had this patch applied. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHdB1D8Mjk52CukIwRCMNSAJ0XiL1xfFz925+P+WVpmqRmG7AJTgCdGNkG APZBRHJq66NqxUScOJrjd8k= =JqqZ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mutt??
On 2007-12-27 11:02, Gary Kline [EMAIL PROTECTED] wrote: I've been trtryinng to rebuild everything on tao to get my i810 graphics working. Somehow, mutt bbroke. It seems to break with something undefined in perl5.8. Anybody know what this is: Undefined symbol __sbmaskrune ? That's odd. The mutt-devel port (which I am using to type and post this message) does not seem to depend on Perl: % $ pkg_info -r mutt\* % Information for mutt-devel-... % % Depends on: % Dependency: ispell-3.2.06_18 % Dependency: mime-support-3.39.1 % Dependency: libiconv-1.11_1 % Dependency: gettext-0.16.1_3 % % $ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blocking undesirable domains using BIND
On Dec 27, 2007 1:46 PM, Maxim Khitrov [EMAIL PROTECTED] wrote: Hello, I'm currently setting up a new firewall for my home network using FreeBSD 7. The firewall will also act as our local name server (authoritative for the local domain, and caching for everything else). One of the things I'd like to do with it is use BIND to block various undesirable domains (ad servers, malicious sites, etc.). The plan is to have a separate BIND config file which is included in the main one. In that file I map all the blocked domains to either the empty zone or perhaps my local web server that's just serving a blank page for any request. Haven't decided which way is better yet. This file is updated periodically (once a week maybe) and BIND is then told to reload the config. That's the plan as it stands now, eventually I hope to add a web interface to the system for adding and removing blocked domains. My question for you guys is if know any _reliable_ sources for getting that list of domains in the first place? I currently use the hosts file on all my machines, which is about 2MB in size and hasn't been updated in several years. I'll definitely import all of those entries myself, but it would be good if I could periodically pull an updated list from somewhere else. The following site has a pretty decent collection of ad servers, though it's a bit short compared to what I already have: http://pgl.yoyo.org/adservers/. It even provides the list in a BIND format, meaning that I don't need to do any additional processing with it. Just fetch the page and reload BIND. This, however, is not one of my requirements. I'm perfectly happy getting just a list of the domains (in any format), and then processing them into a BIND config file myself. Just need good sources. What are your recommendations? Look into the Blackhole-DNS project, formerly one of the BleedingThreats projects hosted at http://www.bleedingsnort.com/blackhole-dns/. This project tracks many hostile domains and produces BIND format files for this very purpose. It's not a great resource for ad blocking, as it focuses mainly on security threats (spyware, other malware, etc.) Since there has been some shuffling and reorganization happening around the BleedingThreats project, it's in a state of flux right now. The current home of the DNS-BH project is at http://malwaredomains.com/. -- Darren Spruell [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: About Freebsd 7.0 versus 6.3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jim Pazarena wrote: When installing a test of 7.0 B4, I found that directories which I have traditionally used (/usr/local/libexec /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/man/* etc) and /etc/make.conf are not visible in a default install. Is this because the B4 is missing them, or has there been a serious change in directory file structure? No, it's just that you haven't installed any ports on your 7.0 system yet. Once you do that, /usr/local will be populated as you expect. /etc/make.conf you just have to write yourself. There isn't a default version. You can look at /usr/share/examples/etc/make.conf and make.conf(5) for guidance. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHdCof8Mjk52CukIwRCEepAKCQ/ZV1eeVTDMsFHjW34vPYQgkQfgCgjuw8 uA6loIR+6N7EW2DFkX4DBeo= =4blg -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: About Freebsd 7.0 versus 6.3
Jim Pazarena wrote: Aryeh Friedman wrote: On Nov 8, 2007 11:55 AM, Expresso Digital ISP [EMAIL PROTECTED] wrote: Hi, my name is Cesar. I'd like to know what is the diference between 7.0 and 6.3 and why create a newest version and after old version. 6.X is the last of versions meant primarilly for single processing machines (with some after thought payed to multiprocessing). 7.X is the beginning of the versions specifically designed with multiprocessing/cores in mind Under the hood many things have been changed improved in 7 the offical recommendation is 6.3 is for people who can *NOT* upgrade to 7 for whatever reason and everyone else should use 7... note as far most people can tell there is no easy way to upgrade to 7 if you have 6 installed so you should start with 7 When installing a test of 7.0 B4, I found that directories which I have traditionally used (/usr/local/libexec /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/man/* etc) and /etc/make.conf are not visible in a default install. Is this because the B4 is missing them, or has there been a serious change in directory file structure? They should be created (except maybe make.conf, which is empty by default). Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
lost X11 input from kybd
I'm running FreeBSD-current. I updated about 30 hours ago, did a rebuild of world and the kernel (without changing my kernel config file at all. I have to explain that I start my X11 via startx, I dislike using anything like xdm (or kdm,gdm etc) so I always use startx, relying on a ~/.xinitrc I have doctored nicely, to get me into kde. Well, like I normally do, I loeed in as root on ttyv0, my user chuckr on ttyv1, and then did the startx as chuckr on ttyv1. Everything started up fine, but when I tried to kill an accientally started xterm, I found I couldn't kill it with a control-D. After a bit of experimentation, it became obvious that I coulld get no keyboard input. Thank god I can still use the mouse perfectly, so I can kill X11 for troubleshooting via the mouse fine. After I did that, I found that all my keyboard input which hadn't shown up on any xterm was pasted instead on the screen of ttyv1, from which I'd started up X11 to begin with. So, I can't get my keyboard input to go to X11. I would REALLY love any guesses at all about why this is, because I can';t use X now on FreeBSD, and that's my mailer. I am using a poor replacement for this now, so I would really like to know what's causinbg this ... Oh, I have to add, I tried rolling the kernel back to kernel.old, no differentce, it;s still bad. I tried (after moving kernel.old back to kernel) to download and install a new world and kernel. Still fails also. I need some help here, badly. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
port knocking
Hi there, doorman is core dumping and not working properly. could somebody please recommend a good port knocker? Cheers, Noah -- Noah Garrett Wallach Juniper Networks Consulting Engineer1194 North Mathilda Avenue Professional Services Sunnyvale CA 94089 [EMAIL PROTECTED] tel: +1-408-936-7363 fax: +1-415-431-7726 - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lost X11 input from kybd-SOLVED!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 आशीष शुक्ल Ashish Shukla wrote: ,--[ On Thu, Dec 27, 2007 at 04:41:18PM -0500, chuckr wrote: | I'm running FreeBSD-current. I updated about 30 hours ago, did a | rebuild of world and the kernel (without changing my kernel config file | at all. I have to explain that I start my X11 via startx, I dislike | using anything like xdm (or kdm,gdm etc) so I always use startx, relying | on a ~/.xinitrc I have doctored nicely, to get me into kde. Well, like | I normally do, I loeed in as root on ttyv0, my user chuckr on ttyv1, | and then did the startx as chuckr on ttyv1. Everything started up fine, | but when I tried to kill an accientally started xterm, I found I | couldn't kill it with a control-D. After a bit of experimentation, it | became obvious that I coulld get no keyboard input. Thank god I can | still use the mouse perfectly, so I can kill X11 for troubleshooting via | the mouse fine. After I did that, I found that all my keyboard input | which hadn't shown up on any xterm was pasted instead on the screen of | ttyv1, from which I'd started up X11 to begin with. | | So, I can't get my keyboard input to go to X11. I would REALLY love any | guesses at all about why this is, because I can';t use X now on | FreeBSD, and that's my mailer. I am using a poor replacement for this | now, so I would really like to know what's causinbg this ... | | Oh, I have to add, I tried rolling the kernel back to kernel.old, no | differentce, it;s still bad. I tried (after moving kernel.old back to | kernel) to download and install a new world and kernel. Still fails | also. I need some help here, badly. Very basic guess, but does your xorg.conf is reconfigured recently, check for something like following in xorg.conf: Nice guess, but no, no changes in my xorg.conf file. Doesn't amtter too much, because I've solved the problem. I recalled a change I made in my config file about 2 weeks ago. I figued it was too minor to count, so I completely forgot I even did it until I wemt looking thru my kernel config with an eye towards hackery, then I remembered that one line I'd added, to restrict the number of virtual terminals to 8. That's what used to be standard, way back when, but I recently saw in the manual that the default's now 16. I know that X servers make use of the highest free terminal, and it COULD be possible that someone coding that up decided not to check the number, just to reply on a default ... now that the problem has disappeared (with only that one change, so it's a certainty what fixed it), I have a bit of a suspicion about that code now. Ahh, heck, who cares. Least it works. Thanks for the effort. ---88 Section ServerLayout Identifier single head configuration Screen 0 Screen0 0 0 InputDeviceKeyboard0 CoreKeyboard EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc105 Option XkbLayout us EndSection ---88 Anyways, have you tried 'xinit xterm', to see if X11 is receiving keyboard input, without KDE ? see, if there're any suspecting error messages, in your /var/log/Xorg.0.log HTH -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHdDEQz62J6PPcoOkRAg6mAJ9EVrGx4Tqxdw9Oywewm3rCSzJwPwCeKdie hBwNE8EAn0CszCOWAPNy8/U= =SKRY -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lost X11 input from kybd
,--[ On Thu, Dec 27, 2007 at 04:41:18PM -0500, chuckr wrote: | I'm running FreeBSD-current. I updated about 30 hours ago, did a | rebuild of world and the kernel (without changing my kernel config file | at all. I have to explain that I start my X11 via startx, I dislike | using anything like xdm (or kdm,gdm etc) so I always use startx, relying | on a ~/.xinitrc I have doctored nicely, to get me into kde. Well, like | I normally do, I loeed in as root on ttyv0, my user chuckr on ttyv1, | and then did the startx as chuckr on ttyv1. Everything started up fine, | but when I tried to kill an accientally started xterm, I found I | couldn't kill it with a control-D. After a bit of experimentation, it | became obvious that I coulld get no keyboard input. Thank god I can | still use the mouse perfectly, so I can kill X11 for troubleshooting via | the mouse fine. After I did that, I found that all my keyboard input | which hadn't shown up on any xterm was pasted instead on the screen of | ttyv1, from which I'd started up X11 to begin with. | | So, I can't get my keyboard input to go to X11. I would REALLY love any | guesses at all about why this is, because I can';t use X now on | FreeBSD, and that's my mailer. I am using a poor replacement for this | now, so I would really like to know what's causinbg this ... | | Oh, I have to add, I tried rolling the kernel back to kernel.old, no | differentce, it;s still bad. I tried (after moving kernel.old back to | kernel) to download and install a new world and kernel. Still fails | also. I need some help here, badly. Very basic guess, but does your xorg.conf is reconfigured recently, check for something like following in xorg.conf: ---88 Section ServerLayout Identifier single head configuration Screen 0 Screen0 0 0 InputDeviceKeyboard0 CoreKeyboard EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc105 Option XkbLayout us EndSection ---88 Anyways, have you tried 'xinit xterm', to see if X11 is receiving keyboard input, without KDE ? see, if there're any suspecting error messages, in your /var/log/Xorg.0.log HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- signature.asc Description: Digital signature
Re: port knocking
On Dec 27, 2007 5:14 PM, Noah Garrett Wallach [EMAIL PROTECTED] wrote: Hi there, doorman is core dumping and not working properly. could somebody please recommend a good port knocker? Cheers, Noah Why don't you use the suggestions made on the Ubuntu mailing list? You know, the one you JUST posted the same EXACT message to, and got several replies? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blocking undesirable domains using BIND
Maxim Khitrov wrote: into a BIND config file myself. Just need good sources. What are your recommendations? I keep a small but potent list of undesirables as described here... http://mark.foster.cc/wiki/index.php/Trackers -- Said one park ranger, 'There is considerable overlap between the intelligence of the smartest bears and the dumbest tourists.' Mark D. Foster, CISSP [EMAIL PROTECTED] http://mark.foster.cc/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
removing ipfw rules
Hi, I have two ipfw rules that I want to remove. They are viewable with the ipfw show command --- snip --- 06600 0 0 allow ip from any to any proto tcp src-ip 66.66.66.66 dst-port 22 06700 0 0 allow ip from any to any proto tcp src-ip 66.66.66.66 dst-port 22 --- snip I am typing the command /sbin/ipfw -q delete pass proto tcp src-ip 66.66.66.66 dst-port 22 but both lines remain. What am I doing wrong? Cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blocking undesirable domains using BIND
Maxim Khitrov wrote: Hello, I'm currently setting up a new firewall for my home network using FreeBSD 7. The firewall will also act as our local name server (authoritative for the local domain, and caching for everything else). One of the things I'd like to do with it is use BIND to block various undesirable domains (ad servers, malicious sites, etc.). The plan is to have a separate BIND config file which is included in the main one. Just a question, and I'm not trying to cast doubt on your plan; I'm curious why using BIND for this purpose instead of a proxy, which is a more typical application as I understand it? Again, I'm not trying to convince you otherwise or say that using BIND is a bad idea. It's just that I'm curious because we use Squid for this sort of thing, and I was wondering why BIND instead? Kevin Kinsey In that file I map all the blocked domains to either the empty zone or perhaps my local web server that's just serving a blank page for any request. Haven't decided which way is better yet. This file is updated periodically (once a week maybe) and BIND is then told to reload the config. That's the plan as it stands now, eventually I hope to add a web interface to the system for adding and removing blocked domains. My question for you guys is if know any _reliable_ sources for getting that list of domains in the first place? I currently use the hosts file on all my machines, which is about 2MB in size and hasn't been updated in several years. I'll definitely import all of those entries myself, but it would be good if I could periodically pull an updated list from somewhere else. The following site has a pretty decent collection of ad servers, though it's a bit short compared to what I already have: http://pgl.yoyo.org/adservers/. It even provides the list in a BIND format, meaning that I don't need to do any additional processing with it. Just fetch the page and reload BIND. This, however, is not one of my requirements. I'm perfectly happy getting just a list of the domains (in any format), and then processing them into a BIND config file myself. Just need good sources. What are your recommendations? - Max -- QOTD: A child of 5 could understand this! Fetch me a child of 5. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mysql port problem
Hello, I'd installed the mysql51-server port (actual snapshot, FBSD6.2r) After install I ran the create DBs scripts and tried to run a mysql client locally. Tried to run the mysqld manually and got a Socket error. /temp/mysql.sock is not I found the log file didnt log anything, so i started looking at the /var/db/mysql files... All files in /var/db/mysql were in wheel group and root owner, so I did chown -R mysql mysql chgrp -R mysql mysql After that it started working, im using it and can do all my work, but... Is it safe to set all those files to mysql user and mysql group? Why the port create those files with root and wheel if they cant be accessed. I found lots of people trying to find out why mysql says sock error after installation. I tried install mysql50-server and it has the same behavior and changing owner and group it is solved too. Can someone enlight me? Im running it from rc.conf with mysql_enable=YES Thanks! Sdav ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: removing ipfw rules
On 2007-12-27 15:47, Noah [EMAIL PROTECTED] wrote: Hi, I have two ipfw rules that I want to remove. They are viewable with the ipfw show command --- snip --- 06600 0 0 allow ip from any to any proto tcp src-ip 66.66.66.66 dst-port 22 06700 0 0 allow ip from any to any proto tcp src-ip 66.66.66.66 dst-port 22 --- snip I am typing the command /sbin/ipfw -q delete pass proto tcp src-ip 66.66.66.66 dst-port 22 but both lines remain. What am I doing wrong? There are differences between the visible rule: allow ip from any to any proto tcp src-ip 66.66.66.66 dst-port 22 and the one you are trying to delete: pass proto tcp src-ip 66.66.66.66 dst-port 22 Having said that, can you try something simpler, i.e. ipfw -q delete 6600 ipfw -q delete 6700 This should work too, if I remember well enough the ipfw syntax. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel Log Messages in Security Output
Terry Sposato wrote: Hi, Just got the following in my security run output and wondering what exactly it means: +++ /tmp/security.zNWgsW2T Fri Dec 28 03:01:05 2007 +(da0:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 +(da0:umass-sim1:1:0:0): CAM Status: SCSI Status Error +(da0:umass-sim1:1:0:0): SCSI Status: Check Condition +(da0:umass-sim1:1:0:0): NOT READY asc:3a,0 +(da0:umass-sim1:1:0:0): Medium not present +(da0:umass-sim1:1:0:0): Unretryable error Opened disk da0 - 6 +(da0:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 +(da0:umass-sim1:1:0:0): CAM Status: SCSI Status Error +(da0:umass-sim1:1:0:0): SCSI Status: Check Condition +(da0:umass-sim1:1:0:0): NOT READY asc:3a,0 +(da0:umass-sim1:1:0:0): Medium not present +(da0:umass-sim1:1:0:0): Unretryable error Opened disk da0 - 6 If anyone can shed some light on it or point me to some documentation that would be great. As far as I can tell the machine is running fine. There is hardware raid setup with mirroring on this box. There are no errors on the physical machine itself. Regards, Terry Does this error also occur at bootup? Medium not present seems to indicate something like I'm trying a CDROM drive but it's empty, or, since this is apparently umass(4) talking, there's this unformatted thumb drive stuck in my USB slot, or something like that. What, if anything, *is* plugged into the USB ports? What does `camcontrol devlist -v say? Could maybe also be some unsupported device that *looks* like a umass(4)device, too, but I'm not guru enough to guess much about that. It's just that the error looks a lot like what I described above. Maybe FBSD senses something interesting with the HW Raid? HTH, if grasping at straws is your hobby, Kevin Kinsey -- If your mother knew what you're doing, she'd probably hang her head and cry. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: removing ipfw rules
thanks for the response. I was Looking for awk to do some of the parsing like this: /sbin/ipfw list | grep '%IP%' | awk '{ print ipfw -q delete $1 }' | sh cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mutt??
According to [EMAIL PROTECTED]: Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2007-12-27 11:02, Gary Kline [EMAIL PROTECTED] wrote: I've been trtryinng to rebuild everything on tao to get my i810 graphics working. Somehow, mutt bbroke. It seems to break with something undefined in perl5.8. Anybody know what this is: Undefined symbol __sbmaskrune ? That's odd. The mutt-devel port (which I am using to type and post this message) does not seem to depend on Perl: Last time I recall seeing a symbol name ending in rune it had something to do with handling charsets and/or locales. I saw that rune ending. perl5.8 wasn't it; more of the error output pointed at one of the autoconfig's v 19 in devel. I had troubles there, so wound up swapping host foo { }; in my DNS server to reroute mail to my new ``tao''. Some troubles with dhcp, but hopefully nothing thaat serious. Am upgrading my older tao ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mutt??
According to Matthew Seaman: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Giorgos Keramidas wrote: On 2007-12-27 11:02, Gary Kline [EMAIL PROTECTED] wrote: I've been trtryinng to rebuild everything on tao to get my i810 graphics working. Somehow, mutt bbroke. It seems to break with something undefined in perl5.8. Anybody know what this is: Undefined symbol __sbmaskrune ? That's odd. The mutt-devel port (which I am using to type and post this message) does not seem to depend on Perl: % $ pkg_info -r mutt\* % Information for mutt-devel-... % % Depends on: % Dependency: ispell-3.2.06_18 % Dependency: mime-support-3.39.1 % Dependency: libiconv-1.11_1 % Dependency: gettext-0.16.1_3 % % $ This is caused by a change to various ctype functions to do with improved UTF8 support recently, which inadvertently broke ABI compatability on RELENG_6. The change has since been reverted, but it seems that you were unlucky enough to install or upgrade some software during the month or so that it was in place, so that it is referring to symbols that do not exist in libc.so. Perl is just one of the places where __sbmaskrune can show up. There's been quite a lot of discussion of it on various lists recently: http://www.google.co.uk/search?hl=enq=site%3Alists.freebsd.org+__sbmaskrunebtnG=Google+Searchmeta= This, precisely, is the commit message where the ABI breakage you've seen was created: http://lists.freebsd.org/pipermail/cvs-src/2007-October/082836.html and here is where it was fixed: http://lists.freebsd.org/pipermail/cvs-src/2007-November/084046.html To sort out your system, basically make sure you're running a RELENG_6 version from after the fix was committed, and then I'm afraid you've just got to reinstall any software that shows the symptoms. Anything installed before the original commit that broke things will be fine -- it's just software that was recompiled using a RELENG_6 system from between 24 October and 20 November. It's only RELENG_6 that was affected -- the change went into RELENG_7 (and HEAD) where ABI changes are permitted with the new major version number, but RELENG_6_2, RELENG_6_3 and other release branches never had this patch applied. Cheers, Matthew Thanks lots, Matthew. I cvsup'd before my rebuild. I'm running 6.2 or later everywhere. Hopefully up rebuilds will straighten things out. gary - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHdB1D8Mjk52CukIwRCMNSAJ0XiL1xfFz925+P+WVpmqRmG7AJTgCdGNkG APZBRHJq66NqxUScOJrjd8k= =JqqZ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: experience with a Logitech Internet 1500 wireless keyboard/mouse?
I expect so (I had a MX Duo before, but both the Keyboard and Mouse are now deceased, and they worked wonderfully - had about 3x the described range), but I had heard good things about MS keyboards/mice on Linux and FreeBSD as well, and I thought I'd give them a try since the Logitech worked maybe 2 years before they died - not nearly long enough in my oppinion. The MS mouse I got won't work in FreeBSD or Linux due to some of the power indicator stuff confusing the lower level drivers in the OS. Since the Logitech has some battery indication stuff, I figured I'd ask. Thanks, -Jim Stapleton On Dec 27, 2007 5:50 PM, Michael Lednev [EMAIL PROTECTED] wrote: Hello, Jim. On 27 ??? 2007 ?., 19:36:32 you wrote: JS It's the cheapest wireless I could find with a ins/del/home/end/pg JS up/pg down block on the keyboard, and I wanted to ask if anyone had JS experience with one and FreeBSD? I got an MS wireless keyboard/mouse a JS while ago, but the mouse doesn't work (no one has gotten one to work JS apparantly), and I really need wireless on this system. I'm using Logitech Cordless Rechargeable Desktop for about 2 years with no problems. Probably this one will work too. -- Best regards, Michael mailto:[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: Blocking undesirable domains using BIND
Hi, I use hosts to block unwanted content but on per machine base. I use currentlu this as a starting point and add private preferences to hosts. http://www.mvps.org/winhelp2002/hosts.txt Has bind a visible advantage in the response time? Erich Maxim Khitrov wrote: Hello, I'm currently setting up a new firewall for my home network using FreeBSD 7. The firewall will also act as our local name server (authoritative for the local domain, and caching for everything else). One of the things I'd like to do with it is use BIND to block various undesirable domains (ad servers, malicious sites, etc.). The plan is to have a separate BIND config file which is included in the main one. In that file I map all the blocked domains to either the empty zone or perhaps my local web server that's just serving a blank page for any request. Haven't decided which way is better yet. This file is updated periodically (once a week maybe) and BIND is then told to reload the config. That's the plan as it stands now, eventually I hope to add a web interface to the system for adding and removing blocked domains. My question for you guys is if know any _reliable_ sources for getting that list of domains in the first place? I currently use the hosts file on all my machines, which is about 2MB in size and hasn't been updated in several years. I'll definitely import all of those entries myself, but it would be good if I could periodically pull an updated list from somewhere else. The following site has a pretty decent collection of ad servers, though it's a bit short compared to what I already have: http://pgl.yoyo.org/adservers/. It even provides the list in a BIND format, meaning that I don't need to do any additional processing with it. Just fetch the page and reload BIND. This, however, is not one of my requirements. I'm perfectly happy getting just a list of the domains (in any format), and then processing them into a BIND config file myself. Just need good sources. What are your recommendations? - Max ___ 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: AAARRRGH: network foul-ups.
On Thu, 2007-12-27 at 18:38 -0800, Gary Kline wrote: The trouble is that two of my machines report the identical private IP: 10.0.0.250. Previously tao was 10.0.0.247 and Be sure to flush old entries from: /var/lib/dhclient/dhclient.leases on DHCP Clients ~BAS tao2 was 10.0.0.250. Today I switched the names in /usr/local/etc/dhcpd.conf, shutdown, and rebooted my mailserver--also my DNS server--and the two other computers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blocking undesirable domains using BIND
Has bind a visible advantage in the response time? Maybe not in response time, but certainly in centralisation: you only maintain one DNS instead of every machine. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
AAARRRGH: network foul-ups.
The trouble is that two of my machines report the identical private IP: 10.0.0.250. Previously tao was 10.0.0.247 and tao2 was 10.0.0.250. Today I switched the names in /usr/local/etc/dhcpd.conf, shutdown, and rebooted my mailserver--also my DNS server--and the two other computers. Whenever I reboot my new tao2 (used to be 10.0.0.247) is reports its IP as 10.0.0.250. Anybody know how I've screw this up?? thanks in advancem gary -- Gary Kline Sr. Systems Admin, Thought Unlimited [EMAIL PROTECTED] www.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NIS Linux - Ubuntu
On Wed, Dec 26, 2007 at 09:10:00PM -0500, Lowell Gilbert wrote: Chad Perrin [EMAIL PROTECTED] writes: The behavior with an asterisk instead of an X is pretty worrisome, however, and is not strictly Ubuntu's fault. Security of a server should not rely on the good will and competence of the client developers. I agree with the latter sentence, but not the former. When using NFS (without Kerberos), it is built into the protocol that the server trusts the client on the UID/GID. That is a good reason not to use NFS in an untrusted environment, but there really isn't anything FreeBSD can do about it. I'm not clear on how that makes it Ubuntu's fault -- which seems to be what you're saying, since you disagreed with the sentence in which I stated it is not strictly Ubuntu's fault. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] John Kenneth Galbraith: If all else fails, immortality can always be assured through spectacular error. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blocking undesirable domains using BIND
Hi, Olivier Nicole wrote: Has bind a visible advantage in the response time? Maybe not in response time, but certainly in centralisation: you only maintain one DNS instead of every machine. this is obvious to me too. I would not like to use bind for filtering except in larger organisations. Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blocking undesirable domains using BIND
On Dec 27, 2007 7:16 PM, Kevin Kinsey [EMAIL PROTECTED] wrote: Maxim Khitrov wrote: Hello, I'm currently setting up a new firewall for my home network using FreeBSD 7. The firewall will also act as our local name server (authoritative for the local domain, and caching for everything else). One of the things I'd like to do with it is use BIND to block various undesirable domains (ad servers, malicious sites, etc.). The plan is to have a separate BIND config file which is included in the main one. Just a question, and I'm not trying to cast doubt on your plan; I'm curious why using BIND for this purpose instead of a proxy, which is a more typical application as I understand it? Again, I'm not trying to convince you otherwise or say that using BIND is a bad idea. It's just that I'm curious because we use Squid for this sort of thing, and I was wondering why BIND instead? Kevin Kinsey I also need a local name server for my domain. That's the primary function, and this filtering stuff is just an added bonus. It'll also be nice to bypass the ISP name servers, which haven't been very reliable lately. - Max ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blocking undesirable domains using BIND
On Dec 27, 2007 4:27 PM, Schiz0 [EMAIL PROTECTED] wrote: On Dec 27, 2007 3:46 PM, Maxim Khitrov [EMAIL PROTECTED] wrote: Hello, I'm currently setting up a new firewall for my home network using FreeBSD 7. The firewall will also act as our local name server (authoritative for the local domain, and caching for everything else). One of the things I'd like to do with it is use BIND to block various undesirable domains (ad servers, malicious sites, etc.). The plan is to have a separate BIND config file which is included in the main one. In that file I map all the blocked domains to either the empty zone or perhaps my local web server that's just serving a blank page for any request. Haven't decided which way is better yet. This file is updated periodically (once a week maybe) and BIND is then told to reload the config. That's the plan as it stands now, eventually I hope to add a web interface to the system for adding and removing blocked domains. My question for you guys is if know any _reliable_ sources for getting that list of domains in the first place? I currently use the hosts file on all my machines, which is about 2MB in size and hasn't been updated in several years. I'll definitely import all of those entries myself, but it would be good if I could periodically pull an updated list from somewhere else. The following site has a pretty decent collection of ad servers, though it's a bit short compared to what I already have: http://pgl.yoyo.org/adservers/. It even provides the list in a BIND format, meaning that I don't need to do any additional processing with it. Just fetch the page and reload BIND. This, however, is not one of my requirements. I'm perfectly happy getting just a list of the domains (in any format), and then processing them into a BIND config file myself. Just need good sources. What are your recommendations? - Max ___ You could always try one of those ad-blocking databases for firefox. The Ad-Block Plus plugin, I was thinking of specifically. http://easylist.adblockplus.org You could grab that file, then parse it and grab the domains out of it to block. I know this isn't what you want, but it may come in useful anyway: http://www.okean.com/asianspamblocks.html The problem with adblock is that it uses regular expressions in its file format. No easy way of pulling out all the domains. That IP block info will come in handy when setting up pf, so thanks for that. - Max ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blocking undesirable domains using BIND
Again, I'm not trying to convince you otherwise or say that using BIND is a bad idea. It's just that I'm curious because we use Squid for this sort of thing, and I was wondering why BIND instead? I think another issue is that Squid will only filter HTTP/FTP connections, while DNS would allow to filter any type of traffic that would try to go to places with a bad name. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]