portupgrade, xfce4 problems
I have strange problem with portupgrade. --$ sudo portupgrade -a ** Port directory not found: x11/libxfce4mcs ** Port directory not found: x11-themes/xfce4-icon-theme ** Port directory not found: sysutils/xfce4-mcs-manager ** There are errors in a meta info for xfce4-mcs-plugins-4.4.3 ** Run 'pkgdb -F' to interactively fix them. When i try pkgdb -F --$ sudo pkgdb -F ---> Checking the package registry database Stale origin: 'x11/libxfce4mcs': perhaps moved or obsoleted. -> The port 'x11/libxfce4mcs' was removed on 2009-03-02 because: "got obsolete by xfce 4.6 update" -> Hint: libxfce4mcs-4.4.3 is required by the following package(s): Terminal-0.2.8.3 xfce4-panel-4.4.3 libexo-0.3.4_2 xfce4-print-4.4.3 xfce4-cpugraph-plugin-0.3.0_5 Thunar-0.9.3 xfce4-xkb-plugin-0.4.3_4 xfce4-netload-plugin-0.4.0_5 xfce4-mixer-4.4.3 xfce4-mcs-plugins-4.4.3 orage-4.4.3 xfce4-utils-4.4.3 xfce4-systemload-plugin-0.4.2_5 xfce4-session-4.4.3 xfce4-desktop-4.4.3 xfce4-wm-4.4.3 xfce4-mcs-manager-4.4.3 -> Hint: checking for overwritten files... -> No files installed by libxfce4mcs-4.4.3 have been overwritten by other packages. Deinstall libxfce4mcs-4.4.3 ? [no] y ---> Deinstalling 'libxfce4mcs-4.4.3' pkg_delete: package 'libxfce4mcs-4.4.3' is required by these other packages and may not be deinstalled: Terminal-0.2.8.3 Thunar-0.9.3 libexo-0.3.4_2 orage-4.4.3 xfce4-cpugraph-plugin-0.3.0_5 xfce4-desktop-4.4.3 xfce4-mcs-manager-4.4.3 xfce4-mcs-plugins-4.4.3 xfce4-mixer-4.4.3 xfce4-netload-plugin-0.4.0_5 xfce4-panel-4.4.3 xfce4-print-4.4.3 xfce4-session-4.4.3 xfce4-systemload-plugin-0.4.2_5 xfce4-utils-4.4.3 xfce4-wm-4.4.3 xfce4-xkb-plugin-0.4.3_4 ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! libxfce4mcs-4.4.3 (pkg_delete failed) Command failed [exit code 1]: /usr/local/sbin/pkg_deinstall libxfce4mcs-4.4.3 what can i do to slove the problem and update the ports ? Regards, Jurif ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Problems watching video with the Radeon HD 3850
On Fri, Apr 17, 2009 at 09:35:45PM +0200, Aniruddha wrote: > Roland Smith wrote: > > For the best performance, you'll have to update to a recent 7-STABLE, or > > wait for the upcoming 7.2 release. The kernel support code for graphics > > chips has been updated since the release of 7.1. > > > > > Thanks I'll try that. What's the recommended way to upgrade nowadays? > freebsd-update or still cvsup/portupgrade? Well, freebsd-update is only for the base system (binary updates) while the cvsup/portupgrade combo is for ports. I tend to update the sources and recompile, so I can use src.conf and make.conf to customise the base system and ports. For the base system: csup (not a typo, it's a replacement in the base system for the cvsup port). For ports, a combination of portsnap to update the ports tree, and portmaster to recompile out-of-date ports. 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) pgpQ1iWlOj0Rh.pgp Description: PGP signature
Re: PAM-SSH-LDAP problem
On Apr 17, 2009, at 11:04 PM, Panos wrote: hello I'm trying to setup an ldap for authenticating users. I think that the ldap server is ok but ssh gives me an error PAM authntication error illigal user XXX from XXX.XXX.XXX.XXX I think that something is wrong when pam-ldap is quering tο ldap. Fisrt I thounght that was acl problem so I tried something like this access * by * write full access to alla but nothing. When I'm using phpldadmin to connet to ldap I have no problem, [snip] Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 fd=11 ACCEPT from IP=127.0.0.1:51667 (IP=0.0.0.0:389) Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=0 BIND dn="cn=manager,dc=something,dc=something,dc=something" method=128 Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=0 BIND dn="cn=manager,dc=something,dc=something,dc=something" mech=SIMPLE ssf=0 Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=0 RESULT tag=97 err=0 text= Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=1 SRCH base="ou=users,dc=something,dc=something,dc=something" scope=2 deref=0 filter="(&(?objectClass=possixAccount)(uid=ldap_test))" Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=value does not conform to assertion syntax Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 fd=11 closed (connection lost) I suggest you have a look at the LDAP filter. The log above shows: (&(?objectClass=possixAccount)(uid=ldap_test)) While I expect something like: (&(objectClass=possixAccount)(uid=ldap_test)) i.e. remove the '?'. Regards, - Emiel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PAM-SSH-LDAP problem
On 04/17/2009 02:04 PM, Panos wrote: > hello I'm trying to setup an ldap for authenticating users. > I think that the ldap server is ok > but ssh gives me an error PAM authntication error illigal user XXX from > XXX.XXX.XXX.XXX > I think that something is wrong when pam-ldap is quering tο ldap. > Fisrt I thounght that was acl problem so I tried something like this > access * by * write > full access to alla but nothing. > When I'm using phpldadmin to connet to ldap I have no problem, [...] Have you enabled ldap in /etc/nsswitch.conf? You may find it helpful to read through the FreeBSD LDAP Authentication article[1]. [1] http://www.freebsd.org/doc/en/articles/ldap-auth/index.html -- Benjamin Lee http://www.b1c1l1.com/ signature.asc Description: OpenPGP digital signature
PAM-SSH-LDAP problem
hello I'm trying to setup an ldap for authenticating users. I think that the ldap server is ok but ssh gives me an error PAM authntication error illigal user XXX from XXX.XXX.XXX.XXX I think that something is wrong when pam-ldap is quering tο ldap. Fisrt I thounght that was acl problem so I tried something like this access * by * write full access to alla but nothing. When I'm using phpldadmin to connet to ldap I have no problem, my ldap.conf base dc=something,dc=something,dc=something uri ldap://XXX.XXX.XXX.XXX/ ldap_version 3 binddn cn=manager,dc=something,dc=something,dc=something bindpw password(uncrypted) scope sub pam_filter objectclass=possixAccount pam_login_attribute uid pam_check_host_attr yes pam_check_service_attr no nss_base_passwdou=users,dc=something,dc=something,dc=something?sub nss_base_shadowou=users,dc=something,dc=something,dc=something?sub nss_base_group ou=groups,dc=something,dc=something,dc=something?sub I have tried this too but still nothing base dc=something,dc=something,dc=something uri ldap://XXX.XXX.XXX.XXX/ ldap_version 3 binddn cn=manager,dc=something,dc=something,dc=something bindpw password(uncrypted) scope sub pam_filter objectclass=possixAccount pam_login_attribute uid nss_base_passwdou=users,dc=something,dc=something,dc=something?sub nss_base_shadowou=users,dc=something,dc=something,dc=something?sub nss_base_group ou=groups,dc=something,dc=something,dc=something?sub my nss_ldap.conf base ou=users,dc=something,dc=something,dc=something uri ldap://XXX.XXX.XXX.XXX/ ldap_version 3 my slapd.conf include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/cosine.schema include /usr/local/etc/openldap/schema/nis.schema include /usr/local/etc/openldap/schema/inetorgperson.schema include /usr/local/etc/openldap/schema/sendmail.schema include /usr/local/etc/openldap/schema/pureftpd.schema include /usr/local/etc/openldap/schema/radius.schema pidfile /var/run/openldap/slapd.pid argsfile/var/run/openldap/slapd.args loglevel -256 sizelimit 1000 lastmod on modulepath /usr/local/libexec/openldap moduleload back_bdb access to * by self write by dn="cn=Manager,dc=something,dc=something,dc=something" write by users read by anonymous auth access to attr=userPassword by dn="cn=Manager,dc=something,dc=something,dc=something" write by anonymous auth by self write by * none databasebdb suffix "dc=something,dc=something,dc=something" rootdn "cn=Manager,dc=something,dc=something,dc=something" rootpw {CRYPT}PASSWORD. directory /var/db/openldap-data TLSVerifyClient demand TLSCertificateFile /etc/certs/cert.crt TLSCertificateKeyFile /etc/certs/cert.key TLSCACertificateFile/etc/certs/cert.crt TLSCipherSuite HIGH:MEDIUM:+SSLv2 index objectClass eq index uid eq,pres index cn eq,pres index maileq,pres index ou eq,pres,sub index uidnumber eq,pres index gidnumber eq,pres my pam.d/ssh authsufficient pam_opie.so no_warn no_fake_prompts authrequisite pam_opieaccess.so no_warn allow_local authsufficient /usr/local/lib/pam_ldap.so no_warn authrequiredpam_unix.so no_warn try_first_pass # account account requiredpam_nologin.so no_warn account requiredpam_login_access.so account required/usr/local/lib/pam_ldap.so no_warn ignore_authinfo_unavail ignore_unknown_user # session session requiredpam_permit.so # password passwordrequiredpam_unix.so no_warn try_first_pass and my ldap.log output Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 fd=11 ACCEPT from IP=127.0.0.1:51667 (IP=0.0.0.0:389) Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=0 BIND dn="cn=manager,dc=something,dc=something,dc=something" method=128 Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=0 BIND dn="cn=manager,dc=something,dc=something,dc=something" mech=SIMPLE ssf=0 Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=0 RESULT tag=97 err=0 text= Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=1 SRCH base="ou=users,dc=something,dc=something,dc=something" scope=2 deref=0 filter="(&(?objectClass=possixAccount)(uid=ldap_test))" Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=value does not conform to assertion syntax Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 fd=11 closed (connection lost) if you could help me I would be gratefull. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-u
Re: snd-hda no sound whatsoever
Polytropon wrote: >>From your diagnostics, the sound card seems to be detected okay, > as far as I see it. > > Things worth checking are the mixer settings, such as: > > % mixer pcm 100 > % mixer vol 100 Mixer vol is currently set to 100:100 Mixer pcm is currently set to 100:100 Mixer line is currently set to 100:100 > > which will turn PCM and master volume to 100:100. For checking, > it's usually the most comfortable way to play some media file, > instead of a "plain file" into /dev/dsp. I tried mplayer > > The play command from the port / package sox or mpg123 / madplay > for mp3 files work well, as does mplayer. $ls -lao /dev/dsp0.0 crw-rw-rw- 1 root wheel - 0, 94 Apr 17 13:48 /dev/dsp0.0 ls -lao /dev/dsp0.0 crw-rw-rw- 1 root wheel - 0, 94 Apr 17 13:48 /dev/dsp0.0 > > Have a look at where /dev/dsp points to, it should be the dsp0 > device. > > I don't have furtther experiences with the hda stuff, so these > would be my basic ideas. Thanks > > > -- Eitan Adler "Security is increased by designing for the way humans actually behave." -Jakob Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: snd-hda no sound whatsoever
On Friday 17 April 2009 19:34:34 Eitan Adler wrote: > I have no sound whatsoever. Speakers are plugged in and turned on. > I'm not sure what debugging information I need. > > $kldstat |grep snd > 51 0xc5985000 19000snd_hda.ko > > $cat /bin/sh >/dev/dsp > Produces no sound > > $sysctl -a|grep hda > http://isis.poly.edu/~eitan/files/hda-sound-problem-sysctl-output.txt > > $cat /dev/sndstat > (hw.snd.verbose: 4) > http://isis.poly.edu/~eitan/files/hda-sound-problem-sndstat-output.txt > > Any ideas? Looking at your 2 analog and 1 digital output, the following from snd_hda4 man page probably applies to you: According to HDA and UAA specifications, depending on the number of HDA buses and codecs present in system, their audio capabilities and BIOS provided configuration, the snd_hda driver often provides several PCM audio devices. For example, one device for main rear 7.1 output and inputs, one device for independent headset connectors at front and one device for SPDIF or HDMI audio input/output. The assignment of audio inputs and outputs may be tuned with device.hints(5). The driver's ver- bose boot messages provide a lot of information about the operation of the driver and present audio setup. The default audio device may be tuned by setting the hw.snd.default_unit sysctl, as described in sound(4), or explicitly specified in application settings. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Problems watching video with the Radeon HD 3850
On Friday 17 April 2009 21:30:09 Aniruddha wrote: > Mel Flynn wrote: > > -cache 20480 for a ~20MB cache which should be sufficient to rule this > > out. If this resolves the problem, it's not in your video card (or > > driver), but rather in storage media. > > > > If using mplayer, can you try if specifying a cache resolves the > > problems? Use > > This didn't work, I suspect the problem is with the driver though. Good (kinda ;p ). I had similar problems with a built-in intel, till I noticed that disk video didn't display this problem. I tried the cache for the dvd and that solved it, 2 days later my DVD drive died, which is why I now rule this out before anything else, takes only a few minutes to do. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Struggling to remove package.
On Friday 17 April 2009 20:34:14 Kent Stewart wrote: > On Friday 17 April 2009 04:50:22 am Brent Clark wrote: > > Hiya > > > > I seem to be struggling with removing a perl bsdpan package. > > > > I tried: > > > > # pkg_delete bsdpan-IO-stringy-2.110 > > > > But I get > > > > pkg_delete: package 'bsdpan-IO-stringy-2.110' doesn't have a prefix No @cwd in +CONTENTS. You may be able fix this by simply adding the correct installation prefix to the +CONTENTS file. But there may be other problems. Please post the /var/db/pkg/bsdpan-IO-stringy-2.110/+CONTENTS file, so we can inspect it and possibly fix your issues. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Problems watching video with the Radeon HD 3850
Roland Smith wrote: For the best performance, you'll have to update to a recent 7-STABLE, or wait for the upcoming 7.2 release. The kernel support code for graphics chips has been updated since the release of 7.1. Thanks I'll try that. What's the recommended way to upgrade nowadays? freebsd-update or still cvsup/portupgrade? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Problems watching video with the Radeon HD 3850
Mel Flynn wrote: -cache 20480 for a ~20MB cache which should be sufficient to rule this out. If this resolves the problem, it's not in your video card (or driver), but rather in storage media. If using mplayer, can you try if specifying a cache resolves the problems? Use This didn't work, I suspect the problem is with the driver though. I added the following line to my xorg.conf's device section (source http://www.x.org/wiki/radeonhd:INSTALL): Option "AccelMethod" "EXA" Option "DRI" This seemed to fix the problem somewhat but now scrolling in Firefox is very slow. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: snd-hda no sound whatsoever
>From your diagnostics, the sound card seems to be detected okay, as far as I see it. Things worth checking are the mixer settings, such as: % mixer pcm 100 % mixer vol 100 which will turn PCM and master volume to 100:100. For checking, it's usually the most comfortable way to play some media file, instead of a "plain file" into /dev/dsp. The play command from the port / package sox or mpg123 / madplay for mp3 files work well, as does mplayer. Have a look at where /dev/dsp points to, it should be the dsp0 device. I don't have furtther experiences with the hda stuff, so these would be my basic ideas. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Struggling to remove package.
On Friday 17 April 2009 04:50:22 am Brent Clark wrote: > Hiya > > I seem to be struggling with removing a perl bsdpan package. > > I tried: > > # pkg_delete bsdpan-IO-stringy-2.110 > > But I get > > pkg_delete: package 'bsdpan-IO-stringy-2.110' doesn't have a prefix > > I even went to ~/.cpan/build/IO-stringy-2.110-SFns8F/ and ran > # make uninstall > > and this is that I got. > > Uninstall is unsafe and deprecated, the uninstallation was not performed. > We will show what would have been done. > > unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::AtomicFile.3 > unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::InnerFile.3 > unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Lines.3 > unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Scalar.3 > unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::ScalarArray.3 > unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Stringy.3 > unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Wrap.3 > unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::WrapTie.3 > unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/AtomicFile.pm > unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/InnerFile.pm > unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Lines.pm > unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Scalar.pm > unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/ScalarArray.pm > unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Stringy.pm > unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Wrap.pm > unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/WrapTie.pm > unlink /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/IO/Stringy/.packlist > > Uninstall is unsafe and deprecated, the uninstallation was not performed. > Please check the list above carefully, there may be errors. > Remove the appropriate files manually. > Sorry for the inconvenience. > > -- > > If anyone can assist, I would be most grateful. If you used the port, it is p5-IO-stringy-2.110. However, if you added it outside of the port system, I think you are own your own. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Problems watching video with the Radeon HD 3850
On Fri, Apr 17, 2009 at 06:53:50PM +0200, Aniruddha wrote: > First of all I must say I'm impressed by the latest stable freebsd > release (7.1). A lot of hardware which didn't work before now works out > of the box :) I only have problems watching video, it feels sluggish > and there frequently runs a stripe through my screen. Which settings > (and driver) do I need to use in order solve this? I now use the > radeonhd driver. I have a Radeon HD 3850 (RV670PRO) card . Thanks in > advance! For the best performance, you'll have to update to a recent 7-STABLE, or wait for the upcoming 7.2 release. The kernel support code for graphics chips has been updated since the release of 7.1. With this update you should get hardware accellerated 2D from you video card. 3D hardware accelleration for R6xx chips is not complete yet, AFAIK. The xf86-video-radeonhd driver works best, in my experience. 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) pgpT1Rg1Ahywk.pgp Description: PGP signature
Re: Problems watching video with the Radeon HD 3850
On Friday 17 April 2009 18:53:50 Aniruddha wrote: > First of all I must say I'm impressed by the latest stable freebsd > release (7.1). A lot of hardware which didn't work before now works out > of the box :) I only have problems watching video, it feels sluggish > and there frequently runs a stripe through my screen. Which settings > (and driver) do I need to use in order solve this? I now use the > radeonhd driver. I have a Radeon HD 3850 (RV670PRO) card . Thanks in > advance! If using mplayer, can you try if specifying a cache resolves the problems? Use -cache 20480 for a ~20MB cache which should be sufficient to rule this out. If this resolves the problem, it's not in your video card (or driver), but rather in storage media. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: IPFW missing feature
KES wrote: > , Lowell. > > ?? ?? 16 ?? 2009 ?., 15:22:31: > > LG> KES writes: > >>> The tablearg feature provides the ability to use a value, looked up in >>> the table, as the argument for a rule action, action parameter or rule >>> option. This can significantly reduce number of rules in some >>> configura- >>> tions. If two tables are used in a rule, the result of the second >>> (des- >>> tination) is used. The tablearg argument can be used with the >>> following >>> actions: nat, pipe, queue, divert, tee, netgraph, ngtee, fwd, skipto >>> action parameters: tag, untag, rule options: limit, tagged. >>> >>> >>> Why tablearg cannot be used with setfib? > > LG> Because tables are a feature of IPFW, and the FIB isn't. > > setfib is also feature of ipfw. see man: > > setfib fibnum > The packet is tagged so as to use the FIB (routing table) fibnum > in any subsequent forwarding decisions. Initially this is limited > to the values 0 through 15. See setfib(8). Processing continues > at the next rule. > > There is no any difficulties to use 'tablearg' as 'fibnum' > > ipfw add 3 setfib 2 all from 192.168.0.0/16 to any in recv > ipfw add 3 setfib tablearg all from table() to any in recv > > but now this is not mistake to write 'setfib tablearg'. IPFW just > replace tablearg in rule with 0 > It seems like a bug. because of it MUST work in proper way or DO NOT > work at all. IMHO I use tablearg with netgraph. For example, ipfw add netgraph tablearg all from 'table(9)' to any in When I run ipfw show, I see: 02380 408 60358 netgraph tablearg ip from any to table(9) in KES, do you mean to say that when you run `ipfw show' the rule is echoed back to you as: setfib 0 all from table() to any in recv instead of tablearg? If that's the case, it sounds like ipfw is parsing the rule incorrectly. If tablearg isn't supported by setfib, I would expect a syntax error to be thrown and not a different rule being inserted into your ruleset. If this is the behavior you're seeing, you should run it by the folks on the -net mailing list. That would also be a good place to ask about future plans to support this feature. -- Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley pgp9RVXkdJwBy.pgp Description: PGP signature
Re: Console mode scrolling
On Friday 17 April 2009 19:09:00 Polytropon wrote: > On Fri, 17 Apr 2009 18:13:08 +0200, Mel Flynn wrote: > > Scroll-lock. Might be a problem with recent keyboards, where the key is > > removed. > > Not neccessarily - if the Pause / Break key is still present, > it has the same functionality as Scroll Lock. Good to know for this case. Won't help my el-cheapo kvm ;). First time ever I was disappointed in a Logitech purchase lol -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
snd-hda no sound whatsoever
I have no sound whatsoever. Speakers are plugged in and turned on. I'm not sure what debugging information I need. $kldstat |grep snd 51 0xc5985000 19000snd_hda.ko $cat /bin/sh >/dev/dsp Produces no sound $sysctl -a|grep hda http://isis.poly.edu/~eitan/files/hda-sound-problem-sysctl-output.txt $cat /dev/sndstat (hw.snd.verbose: 4) http://isis.poly.edu/~eitan/files/hda-sound-problem-sndstat-output.txt Any ideas? -- Eitan Adler "Security is increased by designing for the way humans actually behave." -Jakob Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PDF Authoring tool, suggestions?
On Fri, 17 Apr 2009 12:17:45 -0400, Michael Powell wrote: > Ltcddata wrote: > > > Don't know if I am missing the point here but why not use open office > > to create your pdf file with its export as PDF feature? > > Unless something has changed very recently OpenOffice.org doesn't import > .pdf's that already exist, which the OP indicates he needs in order to edit > a pre-existing file. I think it would pe possible to use LaTeX in this case, too. The source PDF can be imported, but I think it needs to be converted to ps or eps before. Then, the modification (add) can be done with overlaying another image, and afterwards pdflatex (from the teTeX package) can be used to create a PDF document again. Anyway, while this is a possible way, it seems to be one of the most over-complicated ones. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Console mode scrolling
On Fri, 17 Apr 2009 18:13:08 +0200, Mel Flynn wrote: > Scroll-lock. Might be a problem with recent keyboards, where the key is > removed. Not neccessarily - if the Pause / Break key is still present, it has the same functionality as Scroll Lock. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Problems watching video with the Radeon HD 3850
First of all I must say I'm impressed by the latest stable freebsd release (7.1). A lot of hardware which didn't work before now works out of the box :) I only have problems watching video, it feels sluggish and there frequently runs a stripe through my screen. Which settings (and driver) do I need to use in order solve this? I now use the radeonhd driver. I have a Radeon HD 3850 (RV670PRO) card . Thanks in advance! Regards, Aniruddha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Console mode scrolling
Fernando Apesteguía wrote: Hi, Is there a way to scroll the screen in console mode? Something like I do in Linux with Ctrl + Page Up? I find it specially useful, but I don't know how to do it in FreeBSD. I'm using FreeBSD 7.1-RELEASE-p4 #12 Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ScrollLock. Then Page Up or Page Down. ScrollLock again to go back to previous behaviour. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PDF Authoring tool, suggestions?
On Fri, 17 Apr 2009 15:47:28 +0100 Ltcddata wrote: > On Fri, 17 Apr 2009 14:22:08 +0100 > Anton Shterenlikht wrote: > > > On Fri, Apr 17, 2009 at 07:26:39AM +0200, Roland Smith wrote: > > > On Thu, Apr 16, 2009 at 08:50:44PM -0600, Modulok wrote: > > > > I'm looking for recommendations for a BSD-friendly, PDF > > > > authoring tool (Not a viewer, see below.) > > > > > > > > I have an image of a signature that I need to put into a PDF > > > > document. I converted the original, un-signed PDF document to a > > > > raster PNG, then used GIMP to place a photograph of the > > > > signature where I need it. I then converted the PNG back to a > > > > PDF using ImageMagick's 'convert' utility. The problem, is the > > > > PDF is now HUGE. Both in dimensions as well as file size. It > > > > went from 28kb to 292Kb. There must be a better way to do this. > > > > > > Convert the PNG to a JPEG file with the gimp, then use jpeg2ps > > > from the graphics/jpeg2ps-a4 or graphics/jpeg2ps-letter port to > > > convert it to PostScript. Finally, use epstopdf from > > > print/teTeX-base or ps2pdf from print/ghostscript8 to convert to > > > PDF. > > > > hard to get good quality because the result is likely to be a raster > > image. Technically I'd do this with ImageMagick's composite - > > overlaps one image over another, but the output pdf will be a poor > > quality raster image and, yes, significantly bigger in size. > > > > Don't know if I am missing the point here but why not use open office > to create your pdf file with its export as PDF feature? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Struggling to remove package.
Brent Clark wrote: > Hiya > > I seem to be struggling with removing a perl bsdpan package. > > I tried: > > # pkg_delete bsdpan-IO-stringy-2.110 > > But I get > > pkg_delete: package 'bsdpan-IO-stringy-2.110' doesn't have a prefix > > I even went to ~/.cpan/build/IO-stringy-2.110-SFns8F/ and ran > # make uninstall > > and this is that I got. > > Uninstall is unsafe and deprecated, the uninstallation was not performed. > We will show what would have been done. > > unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::AtomicFile.3 > unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::InnerFile.3 > unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Lines.3 > unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Scalar.3 > unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::ScalarArray.3 > unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Stringy.3 > unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Wrap.3 > unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::WrapTie.3 > unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/AtomicFile.pm > unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/InnerFile.pm > unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Lines.pm > unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Scalar.pm > unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/ScalarArray.pm > unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Stringy.pm > unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Wrap.pm > unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/WrapTie.pm > unlink /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/IO/Stringy/.packlist > > Uninstall is unsafe and deprecated, the uninstallation was not performed. > Please check the list above carefully, there may be errors. > Remove the appropriate files manually. > Sorry for the inconvenience. > > -- > > If anyone can assist, I would be most grateful. > In theory the ports system should allow you to delete it if it was installed and registered properly. Maybe a shortcoming of this particular port. This may be of interest: http://opensourceexperiments.wordpress.com/2009/03/28/how-to-uninstall-a- cpan-module/ -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PDF Authoring tool, suggestions?
On Thu, Apr 16, 2009 at 08:50:44PM -0600, Modulok wrote: > I'm looking for recommendations for a BSD-friendly, PDF authoring tool > (Not a viewer, see below.) Not a tool, but a python library: print/py-reportlab2 It's flexible enough to solve your image-embedding problem. ;-) > Suggestions? > -Modulok- -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PDF Authoring tool, suggestions?
2009/4/17 Ltcddata : > On Fri, 17 Apr 2009 14:22:08 +0100 > Anton Shterenlikht wrote: > >> On Fri, Apr 17, 2009 at 07:26:39AM +0200, Roland Smith wrote: >> > On Thu, Apr 16, 2009 at 08:50:44PM -0600, Modulok wrote: >> > > I'm looking for recommendations for a BSD-friendly, PDF authoring >> > > tool (Not a viewer, see below.) >> > > >> > > I have an image of a signature that I need to put into a PDF >> > > document. I converted the original, un-signed PDF document to a >> > > raster PNG, then used GIMP to place a photograph of the signature >> > > where I need it. I then converted the PNG back to a PDF using >> > > ImageMagick's 'convert' utility. The problem, is the PDF is now >> > > HUGE. Both in dimensions as well as file size. It went from 28kb >> > > to 292Kb. There must be a better way to do this. >> > >> > Convert the PNG to a JPEG file with the gimp, then use jpeg2ps from >> > the graphics/jpeg2ps-a4 or graphics/jpeg2ps-letter port to convert >> > it to PostScript. Finally, use epstopdf from print/teTeX-base or >> > ps2pdf from print/ghostscript8 to convert to PDF. >> >> hard to get good quality because the result is likely to be a raster >> image. Technically I'd do this with ImageMagick's composite - overlaps >> one image over another, but the output pdf will be a poor quality >> raster image and, yes, significantly bigger in size. >> > > Don't know if I am missing the point here but why not use open office > to create your pdf file with its export as PDF feature? I would imagine it would give a large output file; a stated goal of the OP is to give a small output. Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PDF Authoring tool, suggestions?
Ltcddata wrote: > On Fri, 17 Apr 2009 14:22:08 +0100 > Anton Shterenlikht wrote: > >> On Fri, Apr 17, 2009 at 07:26:39AM +0200, Roland Smith wrote: >> > On Thu, Apr 16, 2009 at 08:50:44PM -0600, Modulok wrote: >> > > I'm looking for recommendations for a BSD-friendly, PDF authoring >> > > tool (Not a viewer, see below.) >> > > >> > > I have an image of a signature that I need to put into a PDF >> > > document. I converted the original, un-signed PDF document to a >> > > raster PNG, then used GIMP to place a photograph of the signature >> > > where I need it. I then converted the PNG back to a PDF using >> > > ImageMagick's 'convert' utility. The problem, is the PDF is now >> > > HUGE. Both in dimensions as well as file size. It went from 28kb >> > > to 292Kb. There must be a better way to do this. [snip] > > Don't know if I am missing the point here but why not use open office > to create your pdf file with its export as PDF feature? Unless something has changed very recently OpenOffice.org doesn't import .pdf's that already exist, which the OP indicates he needs in order to edit a pre-existing file. Inkscape, after a certain version number, has recently begun to be able to import .pdf. I used it only once to do something like what the OP described but have not used it extensively. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Console mode scrolling
On Friday 17 April 2009 16:55:16 Fernando Apesteguía wrote: > Hi, > > Is there a way to scroll the screen in console mode? Something like I > do in Linux with Ctrl + Page Up? > > I find it specially useful, but I don't know how to do it in FreeBSD. > I'm using FreeBSD 7.1-RELEASE-p4 #12 Scroll-lock. Might be a problem with recent keyboards, where the key is removed. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Support for Apple iBook keyboards
On Fri, 17 Apr 2009 15:12:16 +0100 jigger smith wrote: > Hi, > > I would like to use FreeBSD on my Apple G4 iBook, can you tell me if > the ADB keyboard is supported in the latest version available? > > I use FreeBSD on both my i386's and servers, so it would make sense to > use it on my laptop instead of OpenBSD. ADB support was added fairly recently and is only available on -current and hasn't been MFC'd to -stable. On the G4 you'll probably want to run the following at the OpenFirmware prompt to make the CPU run at full speed: dev /cpus/PowerPC,g...@0 set-dfs-high You can find powerpc -current ISO images at pub/FreeBSD/snapshots/200812 on most FreeBSD ftp mirrors - I can't find any newer images, they don't seem to have been built for powerpc in February. -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Console mode scrolling
On Fri, 17 Apr 2009 16:55:16 +0200 Fernando Apesteguía wrote: > Hi, > > Is there a way to scroll the screen in console mode? Something like I > do in Linux with Ctrl + Page Up? > > I find it specially useful, but I don't know how to do it in FreeBSD. > I'm using FreeBSD 7.1-RELEASE-p4 #12 use the scroll-lock key ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Console mode scrolling
2009/4/17 Polytropon : > On Fri, 17 Apr 2009 16:55:16 +0200, Fernando Apesteguía > wrote: >> Is there a way to scroll the screen in console mode? Something like I >> do in Linux with Ctrl + Page Up? > > FreeBSD offers a better solution than Linux: It uses the key on > the keyboard that is intended to do this. > > Have a look at the ScrL (Scroll Lock) key. Have you ever asked > yourself what this key will do? Try it, press it! :-) Believe it or not, I forgot about the key because I never had to use it before :) Thanks! > > Use the up / down and page up / page down arrow keys then. To > relapse to normal operations, press ScrL again. > > While in ScrL mode, you can still enter data, but it won't be > echoed to the terminal. You will see it after exiting ScrL > mode. > > To indicate ScrL mode, the block cursor will disappear. > > > > > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Console mode scrolling
On Fri, 17 Apr 2009 16:55:16 +0200, Fernando Apesteguía wrote: > Is there a way to scroll the screen in console mode? Something like I > do in Linux with Ctrl + Page Up? FreeBSD offers a better solution than Linux: It uses the key on the keyboard that is intended to do this. Have a look at the ScrL (Scroll Lock) key. Have you ever asked yourself what this key will do? Try it, press it! :-) Use the up / down and page up / page down arrow keys then. To relapse to normal operations, press ScrL again. While in ScrL mode, you can still enter data, but it won't be echoed to the terminal. You will see it after exiting ScrL mode. To indicate ScrL mode, the block cursor will disappear. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Console mode scrolling
2009/4/17 Fernando Apesteguía : > Hi, > > Is there a way to scroll the screen in console mode? Something like I > do in Linux with Ctrl + Page Up? If you search the archives, you will find the answer in there. You need to enable the scroll lock to be able to scroll. -- The world is not octal despite DEC. - http://kingsly.net/tmp/fortune.php/1239960643 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Console mode scrolling
In the last episode (Apr 17), Fernando Apesteguía said: > Is there a way to scroll the screen in console mode? Something like I do > in Linux with Ctrl + Page Up? Press scroll-lock, then up/down/pgup/pgdn/home/end. The buffer is per-vty and persists when you switch vtys, unlike Linux. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Question about amd64 tier1 status.
J. Julián Rodríguez writes: > I´m a FreeBSD user from 4.0 version to Current (i386 arch). I've recently > switched to a amd64 machine and > consecuently to the amd64 version of the OS. > You claim the amd64 version enjoys "Tier 1 Status", but in the page > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/committers-guide/archs.html > under the point "12.2 Tier 1: Fully Supported Architectures" i read: > > "Tier 1 architectures are expected to be fully supported by the ports > system. All the ports should build on a Tier 1 platform, > or have the appropriate filters to prevent the inappropriate ones from > building there. The packaging system must support all > Tier 1 architectures. To ensure an architecture's Tier 1 status, proponents > of that architecture must show that all relevant > packages can be built on that platform." > > > At this moment is not possible to run Wine on a amd64 version of Freebsd due > to problems of the amd64 kernel handling > segment registers, ldt segments or something like that (too technical for me > to explain right but the point is > that it doesn´t work). No matter which way you try (port, 32 bit package, > etc) there is no report of success as far as i know. > > My question is: > > "Is Wine a non relevant port (I don't thik so) or the amd64 version of > FreeBSD doesn't meet the requirements to be > considered a Tier 1 Architecture ?" My opinion is that the description isn't clear, and could possibly be reworded. Under your interpretation, any ports that might be conceivably be useful on more than one platform would have to build on all Tier 1 platforms. This probably won't ever be possible again on *any* platform, so it isn't really a useful standard to apply. I am redirecting the question to -docs... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PDF Authoring tool, suggestions?
On Fri, 17 Apr 2009 14:22:08 +0100 Anton Shterenlikht wrote: > On Fri, Apr 17, 2009 at 07:26:39AM +0200, Roland Smith wrote: > > On Thu, Apr 16, 2009 at 08:50:44PM -0600, Modulok wrote: > > > I'm looking for recommendations for a BSD-friendly, PDF authoring > > > tool (Not a viewer, see below.) > > > > > > I have an image of a signature that I need to put into a PDF > > > document. I converted the original, un-signed PDF document to a > > > raster PNG, then used GIMP to place a photograph of the signature > > > where I need it. I then converted the PNG back to a PDF using > > > ImageMagick's 'convert' utility. The problem, is the PDF is now > > > HUGE. Both in dimensions as well as file size. It went from 28kb > > > to 292Kb. There must be a better way to do this. > > > > Convert the PNG to a JPEG file with the gimp, then use jpeg2ps from > > the graphics/jpeg2ps-a4 or graphics/jpeg2ps-letter port to convert > > it to PostScript. Finally, use epstopdf from print/teTeX-base or > > ps2pdf from print/ghostscript8 to convert to PDF. > > hard to get good quality because the result is likely to be a raster > image. Technically I'd do this with ImageMagick's composite - overlaps > one image over another, but the output pdf will be a poor quality > raster image and, yes, significantly bigger in size. > Don't know if I am missing the point here but why not use open office to create your pdf file with its export as PDF feature? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: IPFW missing feature
KES writes: > Здравствуйте, Lowell. > > Вы писали 16 апреля 2009 г., 15:22:31: > > LG> KES writes: > >>> The tablearg feature provides the ability to use a value, looked up in >>> the table, as the argument for a rule action, action parameter or rule >>> option. This can significantly reduce number of rules in some >>> configura- >>> tions. If two tables are used in a rule, the result of the second >>> (des- >>> tination) is used. The tablearg argument can be used with the >>> following >>> actions: nat, pipe, queue, divert, tee, netgraph, ngtee, fwd, skipto >>> action parameters: tag, untag, rule options: limit, tagged. >>> >>> >>> Why tablearg cannot be used with setfib? > > LG> Because tables are a feature of IPFW, and the FIB isn't. > > setfib is also feature of ipfw. see man: > > setfib fibnum > The packet is tagged so as to use the FIB (routing table) fibnum > in any subsequent forwarding decisions. Initially this is limited > to the values 0 through 15. See setfib(8). Processing continues > at the next rule. > > There is no any difficulties to use 'tablearg' as 'fibnum' > > ipfw add 3 setfib 2 all from 192.168.0.0/16 to any in recv > ipfw add 3 setfib tablearg all from table() to any in recv > > but now this is not mistake to write 'setfib tablearg'. IPFW just replace > tablearg in rule with 0 > It seems like a bug. because of it MUST work in proper way or DO NOT > work at all. IMHO This does not make sense to me. What do you expect the "tablearg" to be in the second line you listed? That keyword is used to apply the output of an ipfw table lookup, and you haven't used an ipfw table before that line. If you want table() to give back a fib to use, then you need to do that lookup before you do a setfib action. On the other hand, I don't see any point in doing that, because there can only be one result for a given address in your table(), so there's no reason to have more than one FIB. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: MailScanner & sendmail
On Fri, Apr 17, 2009 at 06:27:19AM -0500, Derek Ragona wrote: > At 03:15 PM 4/15/2009, Bob Willcox wrote: > >I asked this question in freebsd-ports (in a different way as I thought > >maybe I could clarify the situation some by rewording it) the other day > >and didn't receive any reply so I thought I try here this time. > > > >I have a 7.2-prelease system that I am trying to get sendmail and > >MailScanner running on and for some reason sendmail isn't listening on > >*.smtp, though it is listening on localhost.smtp. > > > >If I remove MailScanner from the mix and run sendmail in the > >conventional way (with sendmail_enable="YES" specified in /etc/rc.conf) > >then things work as expected (except no MailScanner, of course). > > > >I currently have a running 6.4-stable system that this new 7.2 system > >is scheduled to replace that is using the same MailScanner and sendmail > >configuration files and it is working ok (and has been for a long time). > > > >I suspect that I'm simply missing some configuration option here that > >I've overlooked or that may have changed between 6.4 and 7.2, but don't > >really know where to look. > > > >Any help or tips on things to do/check would be greatly appreciated. > > > >Thanks, > >Bob > > > >-- > >Bob Willcox The trouble with doing something right the first > >b...@immure.com time is that nobody appreciates how difficult it > >was. > >Austin, TX -- unknown > > Bob, > > > I have sendmail with mailscanner running on 7.1 release with no > problems. Do you have: > mta_type="sendmail" > mailscanner_enable="YES" > in your /etc/rc.conf? > > I also have: > spamd_enable="YES" > in my /etc/rc.conf > > -Derek Thanks Derek. Your reply gave the clues that I needed to make further progress on this problem. I now have sendmail listening on *.smtp. I had to also add the lines: mta_enable="YES" mta_flags="-bd" to my rc.conf file so that the /usr/loca/etc/rc.d/mta script would run and have the right flags for sendmail. Without the -bd flag sendmail would print out a message about needing recipients and then just hang there at startup. I still don't understand what may have changed between 6.x and 7.x. (I have none of the mta_* variables specified in my 6.4 system's rc.conf.) Thanks again, Bob > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > -- Bob Willcox The trouble with doing something right the first b...@immure.com time is that nobody appreciates how difficult it was. Austin, TX -- unknown ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Console mode scrolling
Hi, Is there a way to scroll the screen in console mode? Something like I do in Linux with Ctrl + Page Up? I find it specially useful, but I don't know how to do it in FreeBSD. I'm using FreeBSD 7.1-RELEASE-p4 #12 Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: Support for Apple iBook keyboards
Hi, I would like to use FreeBSD on my Apple G4 iBook, can you tell me if the ADB keyboard is supported in the latest version available? I use FreeBSD on both my i386's and servers, so it would make sense to use it on my laptop instead of OpenBSD. Kind regards, Liam Sullivan. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: Freebsd Built-in vacation program does not auto reply
> -Original Message- > From: owner-freebsd-questi...@freebsd.org > [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of lyd mc > On Friday 17 April 2009 13:47:45 lyd mc wrote: > > hi, > > > > I don't know how to run it in debug mode > > > > I already try this one. > > > > #/usr/bin/vacation -d alydio.mc > > > > but nothing happened... no logs in /var/log/message and > /var/log/maillog > > pertaining to vacation. Hi, Check your permissions on the the .forward file - should not be world or group writable as far as I can remember. Also, you haven't specified and alias in your vacation command, so only mails addressed to alydio...@domain will be forwarded - could this be the problem? It might help to show the lines from /var/log/maillog that pertain to your test message. - Barry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Add options to a port.
On Fri, 17 Apr 2009 16:01:00 +1000 Dave Hardman wrote: > Following a recent ports updating gnucash crashes with a > segmentation fault. I've been advised to enable debugging to track down Don't bother. http://svn.gnucash.org/trac/changeset/17747 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd Built-in vacation program does not auto reply
At 07:27 AM 4/17/2009, lyd mc wrote: Thanks Odhiambo for your time. Actually i have a working vacation program from freebsd ports (/usr/ports/mail/vacation). I only wondering why the freebsd base vacation behave differently I still want freebsd base vacation... the one from ports is obsolete (as per its maintainer website) and sometime i need to edit its makefile for it to compile Thanks again. I think the base system vacation is the one that is part of sendmail. So using it with postfix as the MTA may be the issue. I have use the base vacation version flawlessly with sendmail. -Derek --- On Fri, 4/17/09, Odhiambo Washington wrote: From: Odhiambo Washington Subject: Re: Freebsd Built-in vacation program does not auto reply To: alydi...@yahoo.com Cc: "Steve Bertrand" , freebsd-questions@freebsd.org Date: Friday, April 17, 2009, 8:10 PM On Fri, Apr 17, 2009 at 2:47 PM, lyd mc wrote: hi, I don't know how to run it in debug mode I already try this one. #/usr/bin/vacation -d alydio.mc but nothing happened... no logs in /var/log/message and /var/log/maillog pertaining to vacation. Okay. I think you need to look again at your MTA logs. Not being an expert with Postfix, I am not sure I can help with it anyway. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: does ndisgen work with(mini) pci-E cards?
On 4/13/09, Steve Franks wrote: > My new laptop is the fist I've seen with mini-pci-express. Major > PITA. I get ndis0 after ndisgen/kldload/etc, but I can see any AP's, > and I'm wondering if it's due to the new bus? I suspect I'm barking > up the wrong tree since the driver does get loaded, it's probably > finding the card...other thoughts I'm having is alot of Q&A I've > googled makes reference to the speficic rev of ndis (4.0, 5.0, > 5.1)...maybe that's an issue... You really did not provide any useful information. When you load module what is displayed on console? What is displayed if you change debug.ndis sysctl to 1? What is your pciconf -lv output for ndis0? nd...@pci0:16:0:0: class=0x028000 card=0x1364103c chip=0x431114e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'Dell Wireless 1390 WLAN Mini-PCI Card' class = network -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PDF Authoring tool, suggestions?
On Fri, Apr 17, 2009 at 07:26:39AM +0200, Roland Smith wrote: > On Thu, Apr 16, 2009 at 08:50:44PM -0600, Modulok wrote: > > I'm looking for recommendations for a BSD-friendly, PDF authoring tool > > (Not a viewer, see below.) > > > > I have an image of a signature that I need to put into a PDF document. > > I converted the original, un-signed PDF document to a raster PNG, then > > used GIMP to place a photograph of the signature where I need it. I > > then converted the PNG back to a PDF using ImageMagick's 'convert' > > utility. The problem, is the PDF is now HUGE. Both in dimensions as > > well as file size. It went from 28kb to 292Kb. There must be a better > > way to do this. > > Convert the PNG to a JPEG file with the gimp, then use jpeg2ps from the > graphics/jpeg2ps-a4 or graphics/jpeg2ps-letter port to convert it to > PostScript. Finally, use epstopdf from print/teTeX-base or ps2pdf from > print/ghostscript8 to convert to PDF. hard to get good quality because the result is likely to be a raster image. Technically I'd do this with ImageMagick's composite - overlaps one image over another, but the output pdf will be a poor quality raster image and, yes, significantly bigger in size. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
dbus, hal over xdmcp?
I've read the dbus and hal help pages but I'm still confused. In a configuration where xserver connects to clients via xdmcp where do I need to run dbus and hald: a. only on the machine which runs xserver? b. only on the machine which runs the clients? c. on both the xserver and clients machines? I've tried various configurations, but cannot still cannot get a web browser to run, only endless dbus-launch and dbus-daemon processes. Please advise. Perhaps this question is more suited to x11 or gnome mailing list? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd Built-in vacation program does not auto reply
No output either --- On Fri, 4/17/09, Mel Flynn wrote: From: Mel Flynn Subject: Re: Freebsd Built-in vacation program does not auto reply To: freebsd-questions@freebsd.org, alydi...@yahoo.com Cc: "Odhiambo Washington" , "Steve Bertrand" Date: Friday, April 17, 2009, 8:21 PM On Friday 17 April 2009 13:47:45 lyd mc wrote: > hi, > > I don't know how to run it in debug mode > > I already try this one. > > #/usr/bin/vacation -d alydio.mc > > but nothing happened... no logs in /var/log/message and /var/log/maillog > pertaining to vacation. And /var/log/debug.log? -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Struggling to remove package.
Hiya I seem to be struggling with removing a perl bsdpan package. I tried: # pkg_delete bsdpan-IO-stringy-2.110 But I get pkg_delete: package 'bsdpan-IO-stringy-2.110' doesn't have a prefix I even went to ~/.cpan/build/IO-stringy-2.110-SFns8F/ and ran # make uninstall and this is that I got. Uninstall is unsafe and deprecated, the uninstallation was not performed. We will show what would have been done. unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::AtomicFile.3 unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::InnerFile.3 unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Lines.3 unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Scalar.3 unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::ScalarArray.3 unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Stringy.3 unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Wrap.3 unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::WrapTie.3 unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/AtomicFile.pm unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/InnerFile.pm unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Lines.pm unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Scalar.pm unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/ScalarArray.pm unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Stringy.pm unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Wrap.pm unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/WrapTie.pm unlink /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/IO/Stringy/.packlist Uninstall is unsafe and deprecated, the uninstallation was not performed. Please check the list above carefully, there may be errors. Remove the appropriate files manually. Sorry for the inconvenience. -- If anyone can assist, I would be most grateful. Kind Regards Brent Clark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd Built-in vacation program does not auto reply
Thanks Odhiambo for your time. Actually i have a working vacation program from freebsd ports (/usr/ports/mail/vacation). I only wondering why the freebsd base vacation behave differently I still want freebsd base vacation... the one from ports is obsolete (as per its maintainer website) and sometime i need to edit its makefile for it to compile Thanks again. --- On Fri, 4/17/09, Odhiambo Washington wrote: From: Odhiambo Washington Subject: Re: Freebsd Built-in vacation program does not auto reply To: alydi...@yahoo.com Cc: "Steve Bertrand" , freebsd-questions@freebsd.org Date: Friday, April 17, 2009, 8:10 PM On Fri, Apr 17, 2009 at 2:47 PM, lyd mc wrote: hi, I don't know how to run it in debug mode I already try this one. #/usr/bin/vacation -d alydio.mc but nothing happened... no logs in /var/log/message and /var/log/maillog pertaining to vacation. Okay. I think you need to look again at your MTA logs. Not being an expert with Postfix, I am not sure I can help with it anyway. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd Built-in vacation program does not auto reply
On Friday 17 April 2009 13:47:45 lyd mc wrote: > hi, > > I don't know how to run it in debug mode > > I already try this one. > > #/usr/bin/vacation -d alydio.mc > > but nothing happened... no logs in /var/log/message and /var/log/maillog > pertaining to vacation. And /var/log/debug.log? -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd Built-in vacation program does not auto reply
On Fri, Apr 17, 2009 at 2:47 PM, lyd mc wrote: > hi, > > I don't know how to run it in debug mode > > I already try this one. > > #/usr/bin/vacation -d alydio.mc > > but nothing happened... no logs in /var/log/message and /var/log/maillog > pertaining to vacation. > Okay. I think you need to look again at your MTA logs. Not being an expert with Postfix, I am not sure I can help with it anyway. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd Built-in vacation program does not auto reply
hi, I don't know how to run it in debug mode I already try this one. #/usr/bin/vacation -d alydio.mc but nothing happened... no logs in /var/log/message and /var/log/maillog pertaining to vacation. thnx --- On Fri, 4/17/09, Odhiambo Washington wrote: From: Odhiambo Washington Subject: Re: Freebsd Built-in vacation program does not auto reply To: alydi...@yahoo.com Cc: "Steve Bertrand" , freebsd-questions@freebsd.org Date: Friday, April 17, 2009, 7:41 PM On Fri, Apr 17, 2009 at 2:35 PM, lyd mc wrote: Hi, I already did vacation -i as per the manual say but it still does not auto reply. You can run it in debug mode and see what it says in the logs, perhaps? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd Built-in vacation program does not auto reply
On Fri, Apr 17, 2009 at 2:35 PM, lyd mc wrote: > Hi, > > > I already did vacation -i as per the manual say but it still does not auto > reply. You can run it in debug mode and see what it says in the logs, perhaps? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd Built-in vacation program does not auto reply
Hi, I already did vacation -i as per the manual say but it still does not auto reply. --- On Fri, 4/17/09, Odhiambo Washington wrote: From: Odhiambo Washington Subject: Re: Freebsd Built-in vacation program does not auto reply To: "Steve Bertrand" Cc: alydi...@yahoo.com, freebsd-questions@freebsd.org Date: Friday, April 17, 2009, 4:05 PM On Fri, Apr 17, 2009 at 10:33 AM, Steve Bertrand wrote: Odhiambo Washington wrote: > On Fri, Apr 17, 2009 at 6:00 AM, lyd mc wrote: > >> Hi guys, >> >> Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto >> reply? >> >> I am using fresh installed Freebsd7.0 and 7.1. here is my configs. >> >> Under the home directory of the user (alydio.mc) >> >> .forward >> \alydio.mc, "|/usr/bin/vacation alydio.mc" >> >> .vacation.msg >> Subject: On vacation message >> From: alydio...@mydomain.com >> I'm on vacation and will not be reading my mail for a while. >> Your mail will be dealt with when I return. >> . >> from postfix/sendmail logs: >> >> ...sniff >> (delivered to command: /usr/bin/vacation alydio.mc) >> >> after this nothing will happened... no errors no warnings... >> >> However the one I installed from ports (/usr/local/bin/vacation) works >> fine. >> >> >> I want to use the freebsd base vacation program. > > > Did you read the man page fully and understand it? > Did you initialize the vacation database? > Have you tried to run it in debug mode? > Try RTFM again and see if you could figure out the problem yourself. Wow... wait a sec... I recall years ago having to deal with 'vacation' messages along with sendmail, and with thousands of users, I hated doing it manually. Perhaps a ``how I do it'' is warranted here. It is quite apparent that the OP has RTFM, _and_ tried to work it out for himself... I was waiting for the OP to say that he actually did run `vacation -i` first, as that is a requirement. Of course he can also run with -d and watch the logs for clues. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: MailScanner & sendmail
At 03:15 PM 4/15/2009, Bob Willcox wrote: I asked this question in freebsd-ports (in a different way as I thought maybe I could clarify the situation some by rewording it) the other day and didn't receive any reply so I thought I try here this time. I have a 7.2-prelease system that I am trying to get sendmail and MailScanner running on and for some reason sendmail isn't listening on *.smtp, though it is listening on localhost.smtp. If I remove MailScanner from the mix and run sendmail in the conventional way (with sendmail_enable="YES" specified in /etc/rc.conf) then things work as expected (except no MailScanner, of course). I currently have a running 6.4-stable system that this new 7.2 system is scheduled to replace that is using the same MailScanner and sendmail configuration files and it is working ok (and has been for a long time). I suspect that I'm simply missing some configuration option here that I've overlooked or that may have changed between 6.4 and 7.2, but don't really know where to look. Any help or tips on things to do/check would be greatly appreciated. Thanks, Bob -- Bob Willcox The trouble with doing something right the first b...@immure.com time is that nobody appreciates how difficult it was. Austin, TX -- unknown Bob, I have sendmail with mailscanner running on 7.1 release with no problems. Do you have: mta_type="sendmail" mailscanner_enable="YES" in your /etc/rc.conf? I also have: spamd_enable="YES" in my /etc/rc.conf -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [tobias.rehb...@web.de: Re: [OT] C programming question: reopen stdin]
2009/4/16 Tobias Rehbein : > s/Good/Could/ > > > -- Forwarded message -- > From: Tobias Rehbein > To: Mel Flynn > Date: Thu, 16 Apr 2009 21:03:52 +0200 > Subject: Re: [OT] C programming question: reopen stdin > Am Tue, Apr 14, 2009 at 09:07:26PM +0200 schrieb Mel Flynn: >> On Tuesday 14 April 2009 20:13:00 Tobias Rehbein wrote: >> >> > I'm having a little trouble solving a specific problem in C. I want to >> > write a filter which reads data from stdin. After reading the user should >> > be able to interact with the program via stdin. >> >> Just open(2) /dev/tty. If tty is invalid, then you don't have to expect a >> user >> either. > > Thanks for this hint. I tried to implement an example. Good someone take a > look > at it and tell me if I did it right. Well, at least it works... > > The code is here: > > http://gist.github.com/95320 > > To avoid further spamming of the freebsd-questions mailing list: Could someone > point me to a good place to ask C programming questions? > > Regards > > Tobias > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > http://groups.google.com/group/comp.lang.c The oldest and probably most populated. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: boot manager vista
2009/4/17 Manolis Kiagias : > John Beukema wrote: >> I am having trouble with the freebsd boot manager on an >> ACER Aspire 4730Z laptop. >> >> I installed the latest version >> of FBSD on partition 3. Partition 1 is a 10 G compressed >> partition with the Windows Vista Home system to install and >> backup. partition 2 is Windows after installation. >> >> I installed the boot0 manager. it worked for bsd but not >> vista and i had to reinstall windows. >> >> after I could not access fbsd other than by setting partition 3 >> active which again denied access to windows. fbsd is there and >> boots. >> >> How can I install a boot manager to be able to use both Vista and fbsd? >> >> John Beukema >> >> >> > For Vista, the easiest way is to use EasyBCD (free). Do not install the > FreeBSD boot manager on the MBR. > > http://neosmart.net/dl.php?id=1 > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > Interesting, it worked fine for me, dual booting with Vista and FreeBSD. I think I may have used EasyBCD to put the BCD code in the Vista partition's boot sector instead of the MBR, but don't quote me on that. All I can say is, it's definitely possible. Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd Built-in vacation program does not auto reply
did you vacation -i On Thu, 16 Apr 2009, lyd mc wrote: Hi guys, Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto reply? I am using fresh installed Freebsd7.0 and 7.1. here is my configs. Under the home directory of the user (alydio.mc) .forward \alydio.mc, "|/usr/bin/vacation alydio.mc" .vacation.msg Subject: On vacation message From: alydio...@mydomain.com I'm on vacation and will not be reading my mail for a while. Your mail will be dealt with when I return. . from postfix/sendmail logs: ...sniff (delivered to command: /usr/bin/vacation alydio.mc) after this nothing will happened... no errors no warnings... ?? However the one I installed from ports (/usr/local/bin/vacation) works fine. I want to use the freebsd base vacation program. ?? Please help. Thank you, alydiomc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Automounting of USB drives - Why is it a problem?
On Wednesday 15 April 2009 21:03:50 Polytropon wrote: > On Wed, 15 Apr 2009 14:33:46 -0400, Mehmet Erol Sanliturk wrote: > > Problem is not to select an operating system to use but it is easiness of > > usability of FreeBSD especially for the new beginners . > > The thing with "easieness of usability" is... well... it depends > on what you are used to. Those who are (I hope it doesn't sound > impolite)... "spoiled" by strange "Windows" concepts about how > to do things (e. g. copying and moving files through the edit > buffer... ugh...) may find things complicated where others say, > "wow, so easy!" (e. g. "cp " - compare this to > the easieness of JCL!). > > What may be the best and most comfortable solution to me may > sound like a nightmare to others. > > The topic, regarding USB automount, is such a case. The question > that could arise is: In how much is the operating system responsible > for this automounting? Should it be done by the OS, and if, by > default, and if by default, with which parameters? Or should it > be left to an additional service? There's a lot of consolidation going on in the unix desktop world, that pretty much forces applications that are buggy, don't know anything about non-linux and require real effort from various FreeBSD developers to get in a somewhat working state, but it still eliminates options. hal being my primary pet-peeve followed by xorg. The reason why I embraced FreeBSD (after BSDi's premature death): ability to do it my way, which is slowly being taken away from me. For example, try getting hal to automount a cd based on a given label, with currently running user on path below home directory, rather then /media. Maybe you can, but I doubt it. In fact, using glabel will present you with multiple notification dialogs out of the box. I can get done exactly what I want, by using native freebsd devd and ditching hal and I have a second option of using amd, except then I have a buggy working Xorg server if it's working at all. Anyway, here's a nice rant about hal, that I think represents how a lot of long time users of FreeBSD on the desktop feel, that may or may not give you some different perspectives: http://lists.freebsd.org/pipermail/freebsd-current/2009-April/005758.html -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd Built-in vacation program does not auto reply
On Fri, Apr 17, 2009 at 10:33 AM, Steve Bertrand wrote: > Odhiambo Washington wrote: > > On Fri, Apr 17, 2009 at 6:00 AM, lyd mc wrote: > > > >> Hi guys, > >> > >> Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto > >> reply? > >> > >> I am using fresh installed Freebsd7.0 and 7.1. here is my configs. > >> > >> Under the home directory of the user (alydio.mc) > >> > >> .forward > >> \alydio.mc, "|/usr/bin/vacation alydio.mc" > >> > >> .vacation.msg > >>Subject: On vacation message > >>From: alydio...@mydomain.com > >>I'm on vacation and will not be reading my mail for a while. > >> Your mail will be dealt with when I return. > >> . > >> from postfix/sendmail logs: > >> > >> ...sniff > >> (delivered to command: /usr/bin/vacation alydio.mc) > >> > >> after this nothing will happened... no errors no warnings... > >> > >> However the one I installed from ports (/usr/local/bin/vacation) works > >> fine. > >> > >> > >> I want to use the freebsd base vacation program. > > > > > > Did you read the man page fully and understand it? > > Did you initialize the vacation database? > > Have you tried to run it in debug mode? > > Try RTFM again and see if you could figure out the problem yourself. > > Wow... wait a sec... > > I recall years ago having to deal with 'vacation' messages along with > sendmail, and with thousands of users, I hated doing it manually. > Perhaps a ``how I do it'' is warranted here. > > It is quite apparent that the OP has RTFM, _and_ tried to work it out > for himself... I was waiting for the OP to say that he actually did run `vacation -i` first, as that is a requirement. Of course he can also run with -d and watch the logs for clues. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Add options to a port.
On Friday 17 April 2009 08:01:00 Dave Hardman wrote: > Following a recent ports updating gnucash crashes with a > segmentation fault. I've been advised to enable debugging to track down > the problem. This is done > by enabling the option --enable-debug to the config. My problem is that > I don't know how to do this within the ports system. It looks as if this > is done by adding an option to the makefile. I'm uncertain of what > changes need to be made. > > I would be grateful for advice on this. One way really: echo 'CONFIGURE_ARGS+=--enable-debug' > \ /usr/ports/finance/gnucash/Makefile.local If portmaintainer would have been kind enough to use CONFIGURE_ARGS+= in the Makefile you could've done it 3 ways ;p -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: new package system proposal
Sorry to jump in late. On Saturday 04 April 2009 16:13:22 Chris Whitehouse wrote: > pkg_add somewhat addresses this but it doesn't work quite as well as > ports because of possible version mismatches. > > The suggestion below is not aimed at servers because they have > completely different requirements. > > My suggestion is to start with a ports tree that is fixed in time. Make > that ports tree available as part of this package system and compile a > typical desktop set of ports, particularly choosing ones which are large > or have many dependencies. When it is all complete release it and start > again. Surely quite a wide selection of desktops, wm's and apps could be > compiled in a couple of weeks? > > Modify pkg_add so that it can be told to use this 'snapshot' including > downloading the fixed ports tree that was used. I've already thought this through and you're going about it the wrong way. Version/package mismatches are caused by two things: 1) The buildservers do not repack dependants of an updated port 2) Installed slave ports as dependency cannot be identified by a package that has the master port built in. Ex: if installing kdelibs3-nocups through pkg_add, anything using it will download kdelibs3, try to install and fail. The first is easy to solve, by iterating through the built packages and repacking them after reinstallation so that +CONTENTS is updated correctly with the new dependency. I've written a tool pkgsync which does that, but there's still some corner cases I need to fix and I'm not happy with the time it takes to read deps from 800+ packages, so might consider using aio(4) or fixing up my algorithm. The second case is more difficult, as it requires "flexible dependencies". I've fixed this myself, by hacking port Makefiles to correctly set the dependency origin, but this only applies to "one build" (meaning: my buildserver only makes packages with a fixed set of slave ports, if I'd want to use CUPS, I'd have to create a seperate buildserver or jail). The most important thing is that you don't need a snapshot ports tree if 1) is met. What you also need for binary upgrading is an index format that doesn't need a ports tree and is consistent with what is actually available on the given build server. I've solved this like so: #!/bin/sh # vim: ts=4 sw=4 noet ai tw=78 # $Coar: pkgtools/pkgindex/pkgindex.sh,v 1.5 2008/04/17 21:43:46 mdev Exp $ AWK=${AWK:="/usr/bin/awk"} PKGDB=${PKGDB:="/var/db/pkg"} PACKAGES=${PACKAGES:="/home/packages-6"} PKGINDEX=${PKGINDEX:="${PACKAGES}/All/INDEX.bz2"} TMPINDEX=/tmp/INDEX.$$ # clean up a previous halted version that had the same pid [ -f ${TMPINDEX} ] && rm -f ${TMPINDEX} [ -f ${TMPINDEX}.bz2 ] && rm -f ${TMPINDEX}.bz2 DONE=0 echo -n "Creating new in index in $PACKAGES/All" cd ${PACKAGES}/All for pkg in *.tbz; do origin=$(pkgorigin ${pkg}) hash=$(sha256 -q ${pkg}) size=$(ls -aLln ${pkg} | ${AWK} '{ print $5}') echo "$origin:${pkg}:$hash:$size" >> ${TMPINDEX} DONE=$((${DONE} + 1)) if test $((${DONE} % 10)) -eq 0; then if test $((${DONE} % 50)) -eq 0; then echo -n ${DONE} else echo -n . fi fi done echo done. bzip2 ${TMPINDEX} mv -v ${TMPINDEX}.bz2 ${PKGINDEX} This gives you origin, pkgname, sha256 hash and filesize for download verification. All you need to determine whether a package is eligible for binary upgrade. pkgorigin is a utility I wrote that quickly gets an origin out of a package without the need for a staging directory. Attached as shar if it makes it to the list. Btw, I don't think supporting various OPTIONS is a good idea. Port maintainers should properly use PACKAGE_BUILDING. There's no such thing as "good defaults", so try to satisfy what you think is the majority and redirect complaints to the infamous bit bucket. Proper use also includes disabling RESTRICTED and IS_INTERACTIVE ports. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd Built-in vacation program does not auto reply
Odhiambo Washington wrote: > On Fri, Apr 17, 2009 at 6:00 AM, lyd mc wrote: > >> Hi guys, >> >> Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto >> reply? >> >> I am using fresh installed Freebsd7.0 and 7.1. here is my configs. >> >> Under the home directory of the user (alydio.mc) >> >> .forward >> \alydio.mc, "|/usr/bin/vacation alydio.mc" >> >> .vacation.msg >>Subject: On vacation message >>From: alydio...@mydomain.com >>I'm on vacation and will not be reading my mail for a while. >> Your mail will be dealt with when I return. >> . >> from postfix/sendmail logs: >> >> ...sniff >> (delivered to command: /usr/bin/vacation alydio.mc) >> >> after this nothing will happened... no errors no warnings... >> >> However the one I installed from ports (/usr/local/bin/vacation) works >> fine. >> >> >> I want to use the freebsd base vacation program. > > > Did you read the man page fully and understand it? > Did you initialize the vacation database? > Have you tried to run it in debug mode? > Try RTFM again and see if you could figure out the problem yourself. Wow... wait a sec... I recall years ago having to deal with 'vacation' messages along with sendmail, and with thousands of users, I hated doing it manually. Perhaps a ``how I do it'' is warranted here. It is quite apparent that the OP has RTFM, _and_ tried to work it out for himself... Off the top of my head, here is what I had to do to create a vacation message. Perhaps sendmail folk could help me out here: Run the following command to initialize the vacation db: # vacation -i ...now, put your content into a file called ".vacation.msg" in the user's home directory. The data could resemble something like this: From: m...@email.address (Steve Bertrand) Subject: Out of office Delivered-By-The-Graces-Of: The Vacation program Precedence: bulk I will be out of the office for the rest of my life. Contact someone who cares until I decide I come back. ...then, in a file named ".forward" within the users home directory, put: \username, "| /path/to/vacation username" ...as far as I recall, this should kick the vacation program into gear. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: boot manager vista
John Beukema wrote: > I am having trouble with the freebsd boot manager on an > ACER Aspire 4730Z laptop. > > I installed the latest version > of FBSD on partition 3. Partition 1 is a 10 G compressed > partition with the Windows Vista Home system to install and > backup. partition 2 is Windows after installation. > > I installed the boot0 manager. it worked for bsd but not > vista and i had to reinstall windows. > > after I could not access fbsd other than by setting partition 3 > active which again denied access to windows. fbsd is there and > boots. > > How can I install a boot manager to be able to use both Vista and fbsd? > > John Beukema > > > For Vista, the easiest way is to use EasyBCD (free). Do not install the FreeBSD boot manager on the MBR. http://neosmart.net/dl.php?id=1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
boot manager vista
I am having trouble with the freebsd boot manager on an ACER Aspire 4730Z laptop. I installed the latest version of FBSD on partition 3. Partition 1 is a 10 G compressed partition with the Windows Vista Home system to install and backup. partition 2 is Windows after installation. I installed the boot0 manager. it worked for bsd but not vista and i had to reinstall windows. after I could not access fbsd other than by setting partition 3 active which again denied access to windows. fbsd is there and boots. How can I install a boot manager to be able to use both Vista and fbsd? John Beukema ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Add options to a port.
Following a recent ports updating gnucash crashes with a segmentation fault. I've been advised to enable debugging to track down the problem. This is done by enabling the option --enable-debug to the config. My problem is that I don't know how to do this within the ports system. It looks as if this is done by adding an option to the makefile. I'm uncertain of what changes need to be made. I would be grateful for advice on this. Thanks Dave ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"