Re: 5.3 random reboot problems
Subhro wrote: Trevor Sullivan wrote: My server is randomly rebooting when I try to do almost anything on it (I was trying to create a custom kernel post-install) and even just modifying a configuration file caused it to reboot. Anything indicated in /var/log/messages?Regards S. Hey thanks for replying...umm, no I don't see anything in that file that would relate to this I don't think. The only problem I see is that the filesystems were unmounted improperly :-) a result of my problem in the first place. Is there anything specific I should look for? -Trevor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2005-03-20 - 2005-04-09
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ls colorized in freebsd csh??
At 2005-04-09T17:15:30-03:00, [EMAIL PROTECTED] wrote: How do I use a ls colorized in FreeBSD 5.2.1??? ... how to do in FreeBSD csh??? One way is to put something like this in ~/.tcshrc. See tcsh(1). --- ## Enable color display for listing files. set color ## Specify the colors for listing various file types. setenv LS_COLORS no=00:fi=00:di=01;34:ln=01;36;40:pi=40;33:so=01;35 setenv LS_COLORS $LS_COLORS:bd=40;33;01:cd=40;33;01:or=40;31;01 setenv LS_COLORS $LS_COLORS:ex=01;32;40:*.tar=01;31:*.tgz=01;31 setenv LS_COLORS $LS_COLORS:*.arj=01;31:*.taz=01;31:*.lzh=01;31 setenv LS_COLORS $LS_COLORS:*.zip=01;31:*.z=01;31:*.Z=01;31 setenv LS_COLORS $LS_COLORS:*.gz=01;31:*.deb=01;31:*.jpg=01;35 setenv LS_COLORS $LS_COLORS:*.gif=01;35:*.bmp=01;35:*.ppm=01;35 setenv LS_COLORS $LS_COLORS:*.tga=01;35:*.xbm=01;35:*.xpm=01;35 setenv LS_COLORS $LS_COLORS:*.tif=01;35:*.mpg=01;37:*.avi=01;37 setenv LS_COLORS $LS_COLORS:*.gl=01;37:*.dl=01;37:*.tex=01;35 setenv LS_COLORS $LS_COLORS:*.ps=01;35: ## Use the `tcsh' builtin command `ls-F' to list files. alias ls ls-F --- Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | See mail headers for contact Harish-Chandra Research Institute | and OpenPGP details. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
net-snmp and mrtg question
I have FreeBSD router with two interfaces. Every interface has several networks. The basic configuration of snmpd and mrtg allow me to monitor the load only on per-interface basis, but I need to be able to monitor the traffic on each network separately. Is there a way to do it via net-snmp / mrtg? Are there orther tools with output similar to mrtg (prefferably the same), which can do this? TIA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT
Michal Mertl wrote: Didier Wiroth wrote: Hi, I'm using freebsd 5.4-prerelease on my laptop. My laptop has an ati mobility radeon 9600. Unfortunately it has very poor console vesa support. SC_PIXEL_MODE does not work, 90x60 is the highest resolution I can get for now. It looks like I'm not the only one having this problem with ati chipsets: http://www.freebsd.org/cgi/getmsg.cgi?fetch=1091839+1096057+/usr/local/w ww/db/text/2005/freebsd-questions/20050123.freebsd-questions I saw this posting: http://lists.freebsd.org/pipermail/freebsd-current/2004-August/035621.ht ml Unfortunately I'm not a programmer and have no ... to very poor patching skills. It looks to me, that in this posting(s) a few patches are grouped together to enable vesa 1024x768. 1) Has someone applied this patches? 2) As the patch(es) is/are on the entire page, I don't know how to separate them. Would someone mail me as an attachment the different patches and tell me how I should apply them: for example, mail me patch1, patch2, patch3 and the explanation how to patch them: cd /usr/src patch ~/patch1 patch ~/patch2 ...etc I think the newest and probably best (?) patch was prepared by Xin Li ([EMAIL PROTECTED]) who is also committer. I sent this email to him (or she? - sorry about that) in case he has some comments. Beware that he said he experienced some problems with previous version of the patch. I haven't tested this version of the patch myself but it at least compiles. It's available at http://people.freebsd.org/~delphij/vesa/ in files syscons.diff.20050215 and vidcontrol.diff.20050215 You would apply them with: cd /usr/src/sys/dev/syscons patch /path/syscons.diff.20050215 cd /usr/src/usr.sbin/vidcontrol patch /path/vidcontrol.diff.20050215 make clean make all make install You need also to rebuild and reinstall the kernel. You must have 'options SC_PIXEL_MODE' in your kernel config. You also need to have VESA available - you can load it with kldload vesa or include it in the kernel with 'options VESA'. After reboot with the new kernel you should be able to get list of all VESA and standard modes your card support with 'vidcontrol -i mode'. To be able to use them as your console mode you need to have the appropriate font loaded. The font resolution is seen in vidcontrol output in the 'font' column. To load the font 8x8 you can use 'vidcontrol -f /usr/share/syscons/fonts/cp437-8x8.fnt' or similar. To set the mode use 'vidcontrol MODE_$num' where $num is the mode number (first column in 'vidcontrol -i mode' output). HTH Michal I feel like I am missing a lot here. I want to display 132 characters per line on my console. I am not running X Windows and it is not a notebook. I am running 5.3-RELEASE-p5 #0. What is this SC_PIXEL_MODE and where may I find documentation on it? I don't find it in /usr/src/sys/i386/conf/NOTES. To rebuild and reinstall the kernel, after editing my /usr/src/sys/i386/conf/GENERIC to insert 'options SC_PIXEL_MODE', would I 'make buildkernel' and then 'make installkernel' or is there something else I'm missing? I note that some of the messages are posted to multiple mailing lists, and I suspect that as I only read [EMAIL PROTECTED] I'm not seeing the entire story. Jay O'Brien Rio Linda, California USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ata driver.
On 30 Mar 2005 10:52:40 -0500, Lowell Gilbert Soeren Schmidt has a set of patches for his latest set of upgrades, but they're not going into the main tree quite yet. http://www.freebsd.dk/ Any idea where I could get those patches at the moment? freebsd.dk seems to be offline. has been few days... -- kpn @ IRCnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I log every login via telnet?
Sandy Rutherford writes: See login.access(5) and login.conf(5). Both provide this functionality. I've tried this and I've obtained weird results. Supposedly login stops at the first match in the login.access file. So I used this: +:ALL:console +:ALL:LOCAL +:xxx yyy:ALL EXCEPT 216.134.77.112 161.13.67.41 -:ALL:ALL The idea is to prohibit any logins from anywhere except the LAN and console for all users except xxx and yyy (and even for those two logins are not accepted from two specific IP addresses). But as soon as I add the -:ALL:ALL at the end, logins are disallowed for everyone except xxx and yyy, even on the LAN, and even with ssh. I'm perplexed. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT
Jay O'Brien wrote: Michal Mertl wrote: Didier Wiroth wrote: Hi, I'm using freebsd 5.4-prerelease on my laptop. My laptop has an ati mobility radeon 9600. Unfortunately it has very poor console vesa support. SC_PIXEL_MODE does not work, 90x60 is the highest resolution I can get for now. It looks like I'm not the only one having this problem with ati chipsets: http://www.freebsd.org/cgi/getmsg.cgi?fetch=1091839+1096057+/usr/local/w ww/db/text/2005/freebsd-questions/20050123.freebsd-questions I saw this posting: http://lists.freebsd.org/pipermail/freebsd-current/2004-August/035621.ht ml Unfortunately I'm not a programmer and have no ... to very poor patching skills. It looks to me, that in this posting(s) a few patches are grouped together to enable vesa 1024x768. 1) Has someone applied this patches? 2) As the patch(es) is/are on the entire page, I don't know how to separate them. Would someone mail me as an attachment the different patches and tell me how I should apply them: for example, mail me patch1, patch2, patch3 and the explanation how to patch them: cd /usr/src patch ~/patch1 patch ~/patch2 ...etc I think the newest and probably best (?) patch was prepared by Xin Li ([EMAIL PROTECTED]) who is also committer. I sent this email to him (or she? - sorry about that) in case he has some comments. Beware that he said he experienced some problems with previous version of the patch. I haven't tested this version of the patch myself but it at least compiles. It's available at http://people.freebsd.org/~delphij/vesa/ in files syscons.diff.20050215 and vidcontrol.diff.20050215 You would apply them with: cd /usr/src/sys/dev/syscons patch /path/syscons.diff.20050215 cd /usr/src/usr.sbin/vidcontrol patch /path/vidcontrol.diff.20050215 make clean make all make install You need also to rebuild and reinstall the kernel. You must have 'options SC_PIXEL_MODE' in your kernel config. You also need to have VESA available - you can load it with kldload vesa or include it in the kernel with 'options VESA'. After reboot with the new kernel you should be able to get list of all VESA and standard modes your card support with 'vidcontrol -i mode'. To be able to use them as your console mode you need to have the appropriate font loaded. The font resolution is seen in vidcontrol output in the 'font' column. To load the font 8x8 you can use 'vidcontrol -f /usr/share/syscons/fonts/cp437-8x8.fnt' or similar. To set the mode use 'vidcontrol MODE_$num' where $num is the mode number (first column in 'vidcontrol -i mode' output). HTH Michal I feel like I am missing a lot here. I want to display 132 characters per line on my console. I am not running X Windows and it is not a notebook. It doesn't matter. I only saw the most complaints from notebook owners who didn't have text mode console covering all LCD surface. I am running 5.3-RELEASE-p5 #0. What is this SC_PIXEL_MODE and where may I find documentation on it? I don't find it in /usr/src/sys/i386/conf/NOTES. man syscons(4). It's also mentioned in NOTES although not the NOTES you were looking at. Don't forget that on 5.x there are two conf directories - one platform independent in /sys/conf and other in /sys/$ARCH/conf. Common (platform independent) options like this one are in /sys/conf/NOTES. To rebuild and reinstall the kernel, after editing my /usr/src/sys/i386/conf/GENERIC to insert 'options SC_PIXEL_MODE', would I 'make buildkernel' and then 'make installkernel' or is there something else I'm missing? No, that's the way to do it. I note that some of the messages are posted to multiple mailing lists, and I suspect that as I only read [EMAIL PROTECTED] I'm not seeing the entire story. I'm afraid that's quite possible. Please go search the archives. Jay O'Brien Rio Linda, California USA Michal Mertl Prague, Bohemia, Czech Republic :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
perl installation problem
Hi all. Please help me to install the perl5. he seems to miss some -lnsl librari. There is the output of my try. [EMAIL PROTECTED] perl5]$ make install clean === Extracting for perl-5.6.2_2 = Checksum OK for perl-5.6.2.tar.gz. = Checksum OK for BSDPAN-5.6.2.tar.gz. mkdir: /usr/ports/lang/perl5/work: Permission denied *** Error code 1 Stop in /usr/ports/lang/perl5. [EMAIL PROTECTED] perl5]$ su Password: su-2.05b# make install clean === Extracting for perl-5.6.2_2 = Checksum OK for perl-5.6.2.tar.gz. = Checksum OK for BSDPAN-5.6.2.tar.gz. === Patching for perl-5.6.2_2 === Applying FreeBSD patches for perl-5.6.2_2 /usr/bin/sed -e 's|%%PREFIX%%|/usr/local|g;' -e 's|%%PERL_VER%%|5.6.2|g;' -e 's|%%PERL_VERSION%%|5.6.2|g;' -e 's|%%PERL_ARCH%%|mach|g;' -e 's|%%MAKE_CONF%%|/etc/make.conf|g;' /usr/ports/lang/perl5/files/use.perl /usr/ports/lang/perl5/work/use.perl /bin/cp /usr/ports/lang/perl5/work/use.perl /usr/ports/lang/perl5/work/pkg-install /bin/cp /usr/ports/lang/perl5/work/use.perl /usr/ports/lang/perl5/work/pkg-deinstall === Configuring for perl-5.6.2_2 First let's make sure your kit is complete. Checking... Locating common programs... Checking compatibility between /bin/echo and builtin echo (if any)... Symbolic links are supported. Checking how to test for symbolic links... You can test for symbolic links with 'test -h'. Good, your tr supports [:lower:] and [:upper:] to convert case. Using [:upper:] and [:lower:] to convert case. 3b1 dynix isc_2 opussunos_4_1 aix dynixptxlinux os2 super-ux altos486epixlynxos os390 svr4 amigaos esix4 machten os400 svr5 apollo fps machten_2 posix-bcti1500 atheos freebsd mintpowerux titanos aux_3 genix mipsqnx ultrix_4 beosgnu mpc rhapsodyumips bsdos greenhills mpeix sco unicos convexoshpuxncr_tower sco_2_3_0 unicosmk cxuxi386netbsd sco_2_3_1 unisysdynix cygwin irix_4 newsos4 sco_2_3_2 utekv darwin irix_5 next_3 sco_2_3_3 uts dcosx irix_6 next_3_0sco_2_3_4 uwin dec_osf irix_6_0next_4 solaris_2 vmesa dguxirix_6_1nonstopux stellar vos dos_djgpp isc openbsd sunos_4_0 Which of these apply, if any? [freebsd] Some users have reported that Configure halts when testing for the O_NONBLOCK symbol with a syntax error. This is apparently a sh error. Rerunning Configure with ksh apparently fixes the problem. Try ksh Configure [your options] Operating system name? [freebsd] Operating system version? [5.4-stable] Build a threading Perl? [n] Build Perl for multiplicity? [n] Use which C compiler? [cc] Checking for GNU cc in disguise and/or its version number... Now, how can we feed standard input to your C preprocessor... Directories to use for library searches? [/usr/lib /usr/local/lib] What is the file extension used for shared libraries? [so] Build Perl for SOCKS? [n] Checking for optional libraries... What libraries to use? [-lnsl -lgdbm -lm -lc -lcrypt -lutil] What optimizer/debugger flag should be used? [-O -pipe ] Any additional cc flags? [-DAPPLLIB_EXP=/usr/local/lib/perl5/5.6.2/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include] Let me guess what the preprocessor flags are... Any additional ld flags (NOT including libraries)? [-Wl,-E -L/usr/local/lib] Checking your choice of C compiler and flags for coherency... I've tried to compile and run the following simple program: #include stdio.h int main() { printf(Ok\n); exit(0); } I used the command: cc -o try -O -pipe -DAPPLLIB_EXP=/usr/local/lib/perl5/5.6.2/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include -Wl,-E -L/usr/local/lib try.c -lnsl -lgdbm -lm -lc -lcrypt -lutil ./try and I got the following output: /usr/bin/ld: cannot find -lnsl I can't compile the test program. You have a BIG problem. Shall I abort Configure [y] Ok. Stopping Configure. === Script Configure failed unexpectedly. Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the /usr/ports/lang/perl5/work/perl-5.6.2/config.log including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/lang/perl5. What i need to install to have this -lnsl library ? Thank. ___ freebsd-questions@freebsd.org mailing list
read/write stats from disks
Hello, For a statistics tool I need a script, which shows the number of bytes read and bytes written to a disk. Iostat combines reads and writes, but I need them separate. Any thoughts? I'm running FreeBSD 5.4 with IDE disks. Please CC me. Greetings, Ronald. -- Ronald Klop, Amsterdam, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Running PPP via crontab
Hello everyone, I have setup a FreeBSD box which a friend of mine will run as a mail server/firewall in his SOHO, using dialup (modem) to his ISP. Almost everything is setup and running, even ppp can work when I manually run through the dialup procedure. I don't have much problem configuring what he will run on this box, but one aspect has pinned me down. The ppp _MUST_ not run in auto or ondemand modes. It must be initiated manually. I would like to make a crontab entry that will run ppp after every one hour. I don't have a problem with crontab, but how to invoke ppp via it ;) I'd appreciate some hand-holding here. What shall I put as the command that will be run by cron? -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Do you realize how many holes there could be if people would just take the time to take the dirt out of them? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
route entries after ICMP redirect
I've got some problem with route entries that was created after ICMP redirect messages. They are never expired. Our default gateway (it's a HP switch) send ICMP redirect messages if it see a short path to destination. It's makes it not so overloaded. But pathes sometime changed. There is no problem with Windows workstations, they are rebooted daily. But my FreeBSD boxes hold dinamic route entries forever. I've looked through RFCs and Stevens' books and found no answer on what TTL for this entries. Now I just add route flush as cron job. But may be there is another way? -- Sem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running PPP via crontab
Odhiambo Washington wrote: Hello everyone, I have setup a FreeBSD box which a friend of mine will run as a mail server/firewall in his SOHO, using dialup (modem) to his ISP. Almost everything is setup and running, even ppp can work when I manually run through the dialup procedure. I don't have much problem configuring what he will run on this box, but one aspect has pinned me down. The ppp _MUST_ not run in auto or ondemand modes. It must be initiated manually. I would like to make a crontab entry that will run ppp after every one hour. I don't have a problem with crontab, but how to invoke ppp via it ;) I'd appreciate some hand-holding here. What shall I put as the command that will be run by cron? 1 */1 * * * root /usr/sbin/ppp -quiet -ddial -nat mtu Something like this where root is the user to run ppp as (remove it in case you're not a superuser and not editing /etc/crontab), -ddial is the mode - change it to whatever you need, -nat enables nat (you can also do it from ppp.conf), and mtu is the section of ppp.conf to load. Best wishes, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: route entries after ICMP redirect
Sergey Matveychuk wrote: I've got some problem with route entries that was created after ICMP redirect messages. They are never expired. Our default gateway (it's a HP switch) send ICMP redirect messages if it see a short path to destination. It's makes it not so overloaded. But pathes sometime changed. There is no problem with Windows workstations, they are rebooted daily. But my FreeBSD boxes hold dinamic route entries forever. I've looked through RFCs and Stevens' books and found no answer on what TTL for this entries. Now I just add route flush as cron job. But may be there is another way? Quoting this http://www.bsdbooks.net/shells/sysctl.html, The third concept that we want to strengthen our box against is redirects. In a well-designed network, redirects to the end stations should not be required. Both the sending and accepting of redirects should be disabled. Again to achieve this first run the command and then add to /etc/rc.conf: #sysctl -w net.inet.icmp.drop_redirect=1 #sysctl -w net.inet.icmp.log_redirect=1 #sysctl -w net.inet.ip.redirect=0 #sysctl -w net.inet6.ip6.redirect=0 Best wishes, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running PPP via crontab
* Andrew P. [EMAIL PROTECTED] [20050410 14:44]: wrote: Odhiambo Washington wrote: Hello everyone, I have setup a FreeBSD box which a friend of mine will run as a mail server/firewall in his SOHO, using dialup (modem) to his ISP. Almost everything is setup and running, even ppp can work when I manually run through the dialup procedure. I don't have much problem configuring what he will run on this box, but one aspect has pinned me down. The ppp _MUST_ not run in auto or ondemand modes. It must be initiated manually. I would like to make a crontab entry that will run ppp after every one hour. I don't have a problem with crontab, but how to invoke ppp via it ;) I'd appreciate some hand-holding here. What shall I put as the command that will be run by cron? 1 */1 * * * root /usr/sbin/ppp -quiet -ddial -nat mtu Something like this where root is the user to run ppp as (remove it in case you're not a superuser and not editing /etc/crontab), -ddial is the mode - change it to whatever you need, -nat enables nat (you can also do it from ppp.conf), and mtu is the section of ppp.conf to load. Hello Andrew, et al, I figured out I could use ppp -background sucks (where sucks is the ISP label in ppp.conf). This seems to be what I am looking for, no?? I can run it on the command line. I hope it will do same thing via cron. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ One way to make your old car run better is to look up the price of a new model. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running PPP via crontab
Odhiambo Washington wrote: Hello Andrew, et al, I figured out I could use ppp -background sucks (where sucks is the ISP label in ppp.conf). This seems to be what I am looking for, no?? I can run it on the command line. I hope it will do same thing via cron. Frankly, I don't seem to know what exactly you're looking for. I find ddial mode perfect for most uses. If you tell us precisely what you want, we may be able to suggest a better solution. Best wishes, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
what application is needed to open a video streaming site
Hi, I like viewing the streaming videos in this site [ http://nextsteps.org/video/] using WinXP/Windows Media Player. But, now I have to shift to FreeBSD-5.3 and I would still want to view these educational streaming videos. I know mplayer, xmms, kaboodle, etc. which are the multimedia players in FreeBSD/KDE environment. Can anyone point me to a tutorial on how to open streaming videos using FreeBSD-5.3 and KDE-3.xdesktop? I saw that the file extension is .wvx which is a Windows Media Audio/Video shortcut. Is there an application in FreeBSD that can open such audio/video format? Also, if I need to view real player format of streaming video, what program do I need to install in FreeBSD? Thank you very much! -Edwin -- -- Edwin D. Viñas http://www.geocities.com/edwin_vinas/ IN THE WORLD OF SCIENCE, NOTHING IS IMPOSSIBLE. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ata driver.
Perttu Laine [EMAIL PROTECTED] writes: On 30 Mar 2005 10:52:40 -0500, Lowell Gilbert Soeren Schmidt has a set of patches for his latest set of upgrades, but they're not going into the main tree quite yet. http://www.freebsd.dk/ Any idea where I could get those patches at the moment? freebsd.dk seems to be offline. has been few days... Ask Søren... -- 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 [EMAIL PROTECTED]
ipfw: getsockopt(IP_FW_ADD): Invalid argument
teste# ipfw add fwd 10.10.10.10, 3128 tcp from any to any dst-port 80 ipfw: getsockopt(IP_FW_ADD): Invalid argument ipfw2 initialized, divert enabled, rule-based forwarding disabled, default to accept, logging limited to 100 packets/entry by default rule-based forwarding disabled. enable??? Celso ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BIND 9 on a dynamic ip address
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I am hoping to set up a DNS server for my home network just for the sake of learning BIND. Unfortunately, I have a PPPoE connects (wireless broadband) with a dynamic ip address. At the moment, I use dyndns just so I have a hostname and I would like to keep using dyndns. All I am looking to do is to use bind for hosts in my network and have a local dns cache. I do not plan on pointing any domains to my nameservers. Would this be possible? Or will there be problems that I am not foreseeing? I am really new at this, that is why I would like to leard bind. Thanks in advance. - - Ryan -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCWS13TMDaAcJxvKgRAmKiAJ9mwpRW2lz3KFRka9jtf0SSV7I1UgCgsobJ ZrzY9MrVXEK6g0eUcPESq2g= =b6RX -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: BIND 9 on a dynamic ip address
Ryan J. Cavicchioni wrote: Hello, I am hoping to set up a DNS server for my home network just for the sake of learning BIND. Unfortunately, I have a PPPoE connects (wireless broadband) with a dynamic ip address. At the moment, I use dyndns just so I have a hostname and I would like to keep using dyndns. All I am looking to do is to use bind for hosts in my network and have a local dns cache. I do not plan on pointing any domains to my nameservers. Would this be possible? Or will there be problems that I am not foreseeing? I am really new at this, that is why I would like to leard bind. If you have a stable LAN ip address, it's not a problem. Configure BIND to listen on it and the dynamic address you get to use internet won't bother anyone (even BIND itself). On the other hand, configuring a DNS server listening on a dynamic IP address is a really bad idea. BIND 9 Administrator Reference Manual is a good place to start (I started there a few weeks ago). http://www.bind9.net/manual/bind/9.3.1/Bv9ARM.html Best wishes, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
X does not start with NVIDIA 1.0-7174 on 5.3
I have installed the NVIDIA 1.0-7174 on my FreeBSD 5.3 with Xorg 6.8.1 installed. I have no problem with NVIDIA 1.0-6113 driver but when I start X with the new driver it hangs up. Anyone can help me ? This is the Xorg log: X Window System Version 6.8.1 Release Date: 17 September 2004 X Protocol Version 11, Revision 0, Release 6.8.1 Build Operating System: FreeBSD 5.4 i386 [ELF] Current Operating System: FreeBSD soheil.laptop 5.3-STABLE-SNAP001 FreeBSD 5.3-STABLE-SNAP001 #0: Thu Mar 17 14:42:10 IRST 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/SOHEIL i386 Build Date: 09 March 2005 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Wed Apr 6 19:43:55 2005 (==) Using config file: /usr/X11R6/lib/X11/xorg.conf (==) ServerLayout X.org Configured (**) |--Screen Screen0 (0) (**) | |--Monitor Monitor0 (**) | |--Device Card0 (**) |--Input Device Mouse0 (**) |--Input Device Keyboard0 (==) Keyboard: CustomKeycode disabled (WW) `fonts.dir' not found (or not valid) in /usr/X11R6/lib/X11/fonts/Speedo/. Entry deleted from font path. (Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/Speedo/). (WW) `fonts.dir' not found (or not valid) in /usr/X11R6/lib/X11/fonts/CID/. Entry deleted from font path. (Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/CID/). (WW) `fonts.dir' not found (or not valid) in /usr/X11R6/lib/X11/fonts/75dpi/. Entry deleted from font path. (Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/75dpi/). (WW) `fonts.dir' not found (or not valid) in /usr/X11R6/lib/X11/fonts/100dpi/. Entry deleted from font path. (Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/100dpi/). (**) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/ (**) RgbPath set to /usr/X11R6/lib/X11/rgb (**) ModulePath set to /usr/X11R6/lib/modules (**) Option Xinerama off (**) Option NoAllowDeactivateGrabs (**) Option NoAllowClosedownGrabs (II) Module ABI versions: X.Org ANSI C Emulation: 0.2 X.Org Video Driver: 0.7 X.Org XInput driver : 0.4 X.Org Server Extension : 0.2 X.Org Font Renderer : 0.4 (II) Loader running on freebsd (II) LoadModule: bitmap (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a (II) Module bitmap: vendor=X.Org Foundation compiled for 6.8.1, module version = 1.0.0 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.4 (II) Loading font Bitmap (II) LoadModule: pcidata (II) Loading /usr/X11R6/lib/modules/libpcidata.a (II) Module pcidata: vendor=X.Org Foundation compiled for 6.8.1, module version = 1.0.0 ABI class: X.Org Video Driver, version 0.7 (--) Using syscons driver with X support (version 2.0) (--) using VT number 2 (II) PCI: Probing config type using method 1 (II) PCI: Config type is 1 (II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 8086,1a30 card 1028,00f3 rev 05 class 06,00,00 hdr 00 (II) PCI: 00:01:0: chip 8086,1a31 card , rev 05 class 06,04,00 hdr 01 (II) PCI: 00:1d:0: chip 8086,2482 card 1028,00f3 rev 02 class 0c,03,00 hdr 80 (II) PCI: 00:1d:1: chip 8086,2484 card 1028,00f3 rev 02 class 0c,03,00 hdr 00 (II) PCI: 00:1e:0: chip 8086,2448 card , rev 42 class 06,04,00 hdr 01 (II) PCI: 00:1f:0: chip 8086,248c card , rev 02 class 06,01,00 hdr 80 (II) PCI: 00:1f:1: chip 8086,248a card 1028,00f3 rev 02 class 01,01,8a hdr 00 (II) PCI: 00:1f:3: chip 8086,2483 card 1028,00f3 rev 02 class 0c,05,00 hdr 00 (II) PCI: 00:1f:5: chip 8086,2485 card 1028,00f3 rev 02 class 04,01,00 hdr 00 (II) PCI: 00:1f:6: chip 8086,2486 card 14f1,5421 rev 02 class 07,03,00 hdr 00 (II) PCI: 01:00:0: chip 10de,0112 card 1028,00f3 rev b2 class 03,00,00 hdr 00 (II) PCI: 02:01:0: chip 10b7,9200 card 1028,00f3 rev 78 class 02,00,00 hdr 00 (II) PCI: 02:04:0: chip 1217,6972 card fffd, rev 00 class 06,07,00 hdr 02 (II) PCI: End of PCI scan (II) Host-to-PCI bridge: (II) Bus 0: bridge is at (0:0:0), (0,0,3), BCTRL: 0x0008 (VGA_EN is set) (II) Bus 0 I/O range: [0] -1 0 0x - 0x (0x1) IX[B] (II) Bus 0 non-prefetchable memory range: [0] -1 0 0x - 0x (0x0) MX[B] (II) Bus 0 prefetchable memory range: [0] -1 0 0x - 0x (0x0) MX[B] (II) PCI-to-PCI bridge: (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000c (VGA_EN is set) (II) Bus 1 non-prefetchable memory range: [0] -1 0 0xe000 - 0xe7ff (0x800) MX[B] (II) Bus 1 prefetchable memory range: [0] -1 0 0xf000 - 0xf7ff
Re: How can I log every login via telnet?
Anthony Atkielski wrote: Sandy Rutherford writes: See login.access(5) and login.conf(5). Both provide this functionality. I've tried this and I've obtained weird results. Supposedly login stops at the first match in the login.access file. So I used this: +:ALL:console +:ALL:LOCAL +:xxx yyy:ALL EXCEPT 216.134.77.112 161.13.67.41 -:ALL:ALL The idea is to prohibit any logins from anywhere except the LAN and console for all users except xxx and yyy (and even for those two logins are not accepted from two specific IP addresses). But as soon as I add the -:ALL:ALL at the end, logins are disallowed for everyone except xxx and yyy, even on the LAN, and even with ssh. I'm perplexed. Anthony, If you are using ipfw, you could do something like this: # Allow in only a few Telnet, SFTP, SSH, and SCP from public Internet ${fwcmd} add 090 pass log tcp from 161.13.67.41,216.134.77.112 to ${ip} 23 setup limit src-addr 5 What this does is allow the above mentioned in from the above mentioned IP's - THEN, only allows a connection of 5. Something to think about if you run the firewall. To the rest of the outside, users will get dead space if they try to telnet in. -- Best regards, Chris If opportunity came disguised as temptation, one knock would be enough. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Having problems with user PPP to private network in 5.4-STABLE
Has there been a change in user-ppp or general networking behaviour between 4.* and 5-STABLE which might explain why I can't talk to a private network's PPP server from a 5.4 machine when I can from a 4.11 machine using the same ppp.conf etc? I can connect and all looks fine WRT routing and ifconfig etc. but I can't even ping the machine at the far enf of the PPP link. I can connect to and use a real ISP, so the modem seems to be fine. I was connecting to this private network from here using this modem and this ppp.config on a 4.8 machine on friday, and can connect now from a 4.11 machine. The only vaguely interesting things about the connection are that I am using a USB-serial adapter to hook up the modem, and that the remote network uses non-routable addresses in 192.168.16.0/24 and hands me 192.168.16.104 as my address. Is something defaulting to blocking communication with non-routable addresses in 5.*? I have added an ipfw rule to log all packets in and out down tun0 and the ping packets seem to go but nothing comes back. So it looks like the problem is at the PPP level or below. Eventually the modem connection jams up, looks like the problem discussed recently on the freebsd-usb list WRT USB-serial converters. However, given that I can dial an ISP and talk to web sites etc. I presume that is not the actual show-stopper. Here are some relevent settings as they appear after I connect, there are other interfaces and routes, but I think they are irrelevent. smurf/~# ifconfig [...] tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500 inet 192.168.16.104 -- 192.168.16.7 netmask 0x Opened by PID 3939 [...] smurf/~# netstat -nr Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default82.41.210.1UGS 130778rl1 [...] 192.168.16 192.168.16.7 UGS 00 tun0 192.168.16.7 192.168.16.104 UH 10 tun0 [...] -- Mail me as [EMAIL PROTECTED]_O_ | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.4 vinum
Greetings, Has anyone been successful creating new vinum volume configurations or dropping old configurations on FreeBSD-5.4 pre-releases? AFAIK the old vinum does not work properly. At least it keeps complaining me about problems. Additionally gvinum which has been reported as a supported replacement for the old vinum does not work either. The latter seems to even be missing support for many of the commands mentioned in man vinum. E.g. dumpconfig, info, and resetconfig do not work. To make the pain really hurt there is no man page for gvinum. Obvious enough, replacing old systems which have been running 4.x with the old perfectly functional vinum, has become very hard. (OTOH things like ath, ehci, etc. are only available in 5.x.) The upgrade should be created on fresh hard drives and the drives replaced when the new installation is ready. So, it is vitally important to be able to create and drop configurations for vinum before the upgrade can proceed. If anyone has an operational 5.4 + vinum installation which was generated fresh on 5.3 or 5.4, any experiences, sample configurations, and notes about the how the installation was really done would be more than welcome. Cheers, // jau .--- ..- -.- -.- .-.- .-.-.-..- -.- -.- --- -. . -. /Jukka A. Ukkonen,Mawit Ltd, Finland /__ M.Sc. (sw-eng cs)(Phone) +358-500-606-671 / Internet: Jukka.Ukkonen(a)Mawit.Com (Home) +358-9-6215-280 /Internet: ukkonen(a)nic.funet.fi v Internet: jau(a)iki.fi .--- .- ..- ...-.- .. -.- .. .-.-.- ..-. .. + + + + My opinions are mine and mine alone, not my employers. + + + + ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Connect to Cisco VPN server from FreeBSD?
Hi all, As in the subject - has anyone managed to get a FreeBSD machine to connect to a Cisco VPN server, using IPSec and 2-factor authentication (password + SecurID card)? My employer has been acquired by another company, and this will soon be the only remote-access method available. Linux client software exists, but given that it relies on a kernel module I'm not holding out much hope of it working. The security/vpnc port looks like it might be useful. No idea if racoon + FreeBSD native IPSec can be persuaded to do the SecurID authentication. I would try all these things myself, except I don't have any account details for the server yet. I really don't want to keep a Linux or Windows machine around just to connect to the office... Many thanks in advance, Scott -- === Scott Mitchell | PGP Key ID | Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines scott at fishballoon.org | 0xAA775B8B | -- Anon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT
Michal Mertl wrote: Jay O'Brien wrote: Michal Mertl wrote: Didier Wiroth wrote: Hi, I'm using freebsd 5.4-prerelease on my laptop. My laptop has an ati mobility radeon 9600. Unfortunately it has very poor console vesa support. SC_PIXEL_MODE does not work, 90x60 is the highest resolution I can get for now. It looks like I'm not the only one having this problem with ati chipsets: http://www.freebsd.org/cgi/getmsg.cgi?fetch=1091839+1096057+/usr/local/w ww/db/text/2005/freebsd-questions/20050123.freebsd-questions I saw this posting: http://lists.freebsd.org/pipermail/freebsd-current/2004-August/035621.ht ml Unfortunately I'm not a programmer and have no ... to very poor patching skills. It looks to me, that in this posting(s) a few patches are grouped together to enable vesa 1024x768. 1) Has someone applied this patches? 2) As the patch(es) is/are on the entire page, I don't know how to separate them. Would someone mail me as an attachment the different patches and tell me how I should apply them: for example, mail me patch1, patch2, patch3 and the explanation how to patch them: cd /usr/src patch ~/patch1 patch ~/patch2 ...etc I think the newest and probably best (?) patch was prepared by Xin Li ([EMAIL PROTECTED]) who is also committer. I sent this email to him (or she? - sorry about that) in case he has some comments. Beware that he said he experienced some problems with previous version of the patch. I haven't tested this version of the patch myself but it at least compiles. It's available at http://people.freebsd.org/~delphij/vesa/ in files syscons.diff.20050215 and vidcontrol.diff.20050215 You would apply them with: cd /usr/src/sys/dev/syscons patch /path/syscons.diff.20050215 cd /usr/src/usr.sbin/vidcontrol patch /path/vidcontrol.diff.20050215 make clean make all make install You need also to rebuild and reinstall the kernel. You must have 'options SC_PIXEL_MODE' in your kernel config. You also need to have VESA available - you can load it with kldload vesa or include it in the kernel with 'options VESA'. After reboot with the new kernel you should be able to get list of all VESA and standard modes your card support with 'vidcontrol -i mode'. To be able to use them as your console mode you need to have the appropriate font loaded. The font resolution is seen in vidcontrol output in the 'font' column. To load the font 8x8 you can use 'vidcontrol -f /usr/share/syscons/fonts/cp437-8x8.fnt' or similar. To set the mode use 'vidcontrol MODE_$num' where $num is the mode number (first column in 'vidcontrol -i mode' output). HTH Michal I feel like I am missing a lot here. I want to display 132 characters per line on my console. I am not running X Windows and it is not a notebook. It doesn't matter. I only saw the most complaints from notebook owners who didn't have text mode console covering all LCD surface. I am running 5.3-RELEASE-p5 #0. What is this SC_PIXEL_MODE and where may I find documentation on it? I don't find it in /usr/src/sys/i386/conf/NOTES. man syscons(4). It's also mentioned in NOTES although not the NOTES you were looking at. Don't forget that on 5.x there are two conf directories - one platform independent in /sys/conf and other in /sys/$ARCH/conf. Common (platform independent) options like this one are in /sys/conf/NOTES. Thanks! Now that I see that it is perhaps not required for my system, that is not a laptop, is it possible that I don't need this at all? Is it definitely needed to support 132 character terminal mode, or is just needed for laptops? To rebuild and reinstall the kernel, after editing my /usr/src/sys/i386/conf/GENERIC to insert 'options SC_PIXEL_MODE', would I 'make buildkernel' and then 'make installkernel' or is there something else I'm missing? No, that's the way to do it. I note that some of the messages are posted to multiple mailing lists, and I suspect that as I only read [EMAIL PROTECTED] I'm not seeing the entire story. I'm afraid that's quite possible. Please go search the archives. Jay O'Brien Rio Linda, California USA Michal Mertl Prague, Bohemia, Czech Republic :-) It is wonderful to be a part of a caring community that spans the world, without concern for international borders. Fortunately for me, everyone uses english; I'm stuck with only one language (plus international morse code, but that's another story). Jay O'Brien Rio Linda, California, USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installation
Dear developers, I'm trying to install from CD Version:FreeBSD 4.11 MB: P4C800 Video: NVIDIA GeForce4 MX 440 with ACP8X Monitor:LG F900B The installation program hangs at the stage of device probing. The result is the same in both enhanced and compatible ATA configuration (BIOS). I disabled all the devices but video and keyboard, but the situation did not change. What else can I modify in order to go further with installation? Sincerely yours, V.Kisselev ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what application is needed to open a video streaming site
On Sun, Apr 10, 2005 at 05:44:01AM -0700, Edwin D. Vinas wrote: Hi, I like viewing the streaming videos in this site [ http://nextsteps.org/video/] using WinXP/Windows Media Player. But, now I have to shift to FreeBSD-5.3 and I would still want to view these educational streaming videos. I know mplayer, xmms, kaboodle, etc. which are the multimedia players in FreeBSD/KDE environment. Can anyone point me to a tutorial on how to open streaming videos using FreeBSD-5.3 and KDE-3.xdesktop? I saw that the file extension is .wvx which is a Windows Media Audio/Video shortcut. Is there an application in FreeBSD that can open such audio/video format? mplayer can play Windows Media Player files. There's also a browser plugin for it in the ports called mplayerplug-in. Also, if I need to view real player format of streaming video, what program do I need to install in FreeBSD? Real doesn't offer binaries for FreeBSD. You'll have to install linux emulation and use the linux version of realplayer. The multimedia section of the handbook will give more details: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/multimedia.html Thank you very much! -Edwin -- -- Edwin D. Vi?as http://www.geocities.com/edwin_vinas/ IN THE WORLD OF SCIENCE, NOTHING IS IMPOSSIBLE. -- ___ 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: Installation
On Sunday 10 April 2005 18:09, Viatcheslav Kisselev wrote: Dear developers, I'm trying to install from CD Version: FreeBSD 4.11 MB: P4C800 Video:NVIDIA GeForce4 MX 440 with ACP8X Monitor: LG F900B Is there a reason why you are using 4.11 , not the current version which is 5.3 ? Benjamin Rossen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT
Jay O'Brien wrote: Michal Mertl wrote: I feel like I am missing a lot here. I want to display 132 characters per line on my console. I am not running X Windows and it is not a notebook. It doesn't matter. I only saw the most complaints from notebook owners who didn't have text mode console covering all LCD surface. I am running 5.3-RELEASE-p5 #0. What is this SC_PIXEL_MODE and where may I find documentation on it? I don't find it in /usr/src/sys/i386/conf/NOTES. man syscons(4). It's also mentioned in NOTES although not the NOTES you were looking at. Don't forget that on 5.x there are two conf directories - one platform independent in /sys/conf and other in /sys/$ARCH/conf. Common (platform independent) options like this one are in /sys/conf/NOTES. Thanks! Now that I see that it is perhaps not required for my system, that is not a laptop, is it possible that I don't need this at all? Is it definitely needed to support 132 character terminal mode, or is just needed for laptops? There's no standard VGA 132 character text mode. It's either provided by VESA or emulated using some graphics mode. Newer graphics hardware stopped supporting extended text modes. If you want such modes you need to emulate them (render the characters using lots of small dots instead of just writing characters to the adapter which renders them for you). Support for this functionality is included in syscons/vga driver when you define options SC_PIXEL_MODE. Standard FreeBSD supports only planar graphics mode 800x600 dots with 4 bits (16) of color information per pixel which can be run on old plain VGA with 256KB of memory. The patches we are talking about add support for rendering the characters in any graphics mode your card supports (through VESA) with = 15 bits per pixel. You could then run say 1600x1200x32 bpp (16milions of colours) for a text mode console. You can't use any graphics there but the textual resolution will be bigger. There also isn't support for using simultaneously more than 16 (or is it 15?) different colors for characters even when milions are technically possible. It is wonderful to be a part of a caring community that spans the world, without concern for international borders. Fortunately for me, everyone uses english; I'm stuck with only one language (plus international morse code, but that's another story). Yes, it really is great. Not the English though. I'd prefer Czech but I'm afraid it's a lost battle :-). Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: net-snmp and mrtg question
In the last episode (Apr 10), Angelin Lalev said: I have FreeBSD router with two interfaces. Every interface has several networks. The basic configuration of snmpd and mrtg allow me to monitor the load only on per-interface basis, but I need to be able to monitor the traffic on each network separately. Is there a way to do it via net-snmp / mrtg? Are there orther tools with output similar to mrtg (prefferably the same), which can do this? Try this. Add some ipfw count rules, two per network you want to monitor: add 1000 count ip from any to network1/mask out add 1001 count ip from network1/mask to any in , create a shell script called /usr/local/bin/get-ipfw-stats: #! /bin/sh inrule=$1 outrule=$2 set -- $(ipfw show $inrule) echo $3 set -- $(ipfw show $outrule) echo $3 uptime hostname , and use this in your Target line in your mrtg config file: Target[net1]: `/usr/local/bin/get-ipfw-stats 1000 1001` -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
firefox crashing on unknown files
Firefox is crashing on me whenever I click on a link for a file whose extension is not in the system mime.types file. (It was crashing on every non-html link before I installed the mime-support port.) I am almost positive this is happening because the default plugin is not enabled -- this is what about:plugins says: Default Plugin File name: libnullplugin.so The default plugin handles plugin data for mimetypes and extensions that are not specified and facilitates downloading of new plugins. MIME Type Description SuffixesEnabled * All types .* No How can I enable libnullplugin.so or else prevent this behavior? Stats: FreeBSD 5.3-RELEASE-p7 firefox-1.0.2 thanks, Thomas -- N.J. Thomas [EMAIL PROTECTED] Etiamsi occiderit me, in ipso sperabo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cross-development of Windows 32-bit applications under FreeBSD?
Is it possible to develop and build native Windows 32-bit applications under FreeBSD, using only command-line tools like gcc and other open-source components? -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connect to Cisco VPN server from FreeBSD?
Scott Mitchell wrote: Hi all, As in the subject - has anyone managed to get a FreeBSD machine to connect to a Cisco VPN server, using IPSec and 2-factor authentication (password + SecurID card)? My employer has been acquired by another company, and this will soon be the only remote-access method available. Linux client software exists, but given that it relies on a kernel module I'm not holding out much hope of it working. The security/vpnc port looks like it might be useful. No idea if racoon + FreeBSD native IPSec can be persuaded to do the SecurID authentication. I would try all these things myself, except I don't have any account details for the server yet. I really don't want to keep a Linux or Windows machine around just to connect to the office... Many thanks in advance, Scott I have not personally used this, however I have had reports of users connecting to a Cisco VPN 3000 box that I administered at one point with the following client: http://www.unix-ag.uni-kl.de/~massar/vpnc/ -Ash ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DVD Burning: ISO9660 vs. UDF
Thus spake [EMAIL PROTECTED] ([EMAIL PROTECTED]) [09/04/05 23:34]: : If you're only backing up data, this is not so important, but if you're : backing up whole systems, you may want to consider a more pragmatic : approach: Of course. Were I backing up a whole system, chances are, I'd not be dealing with 3GB tarballs; in that case, ISO9660 should work just fine. : The real question here is: can you read UDF from a freshly installed : system without having to install additional programs, and without : having to restore from that very UDF backup? Or, asked differently: : can you actually READ your UDF backups when booting from the fixit CD? : : When doing backups, it's always best to be really conservative about : the formats you use. : : If your file is 1GB, you could always split(1) it into 1GB chunks : before running growisofs (be sure to document it in some way though, : e.g. fileN.1o4, fileN.2o4, fileN.3o4, fileN.4o4). split is a pretty handy utility. It's saved me more than once, and I /was/ considering using it again here. The question, in this case, was a little more academic: is it /possible/? If so, how? I didn't want to address the Is it a good idea? aspect of my approach. Luckily, in my case, the system I'm backing up is a, Oh, we just got hacked, here's a few dumps for the entire system. Now we need to flatten and re-install. I'm backing up more for just-in-case purposes; I will never, ever be 'required' to pull the data from this backup. I may, one day down the road, be curious as to something that was on the system, but it's been about six months since the re-install, so the likelihood of me needing the data again is about as close to zero as you can get. So, again, this was more of a can-I-do-this question than a should-I-do-this question. But thanks for the pointers, anyhow: I had never used dump's tape length option (now, does dump for ext3 handle it as well...). - Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
debuging options in FBSD-5.x
Hello every fellow freebsd user. I've been browsing the handbook and I can't quite catch how to make an fully debugging 5.x kernel so that whenever I need to post an pr/bug it actuallty contains useful information for the bughunters. is the makeoptions DEBUG=-g enough? Or should the kernel be configured with addition options so an memory dump etc. would be available? What kernel-tunings and config changes are needed to be completely sure to catch an kernel crash and record useful information? At the moment I'm running an Freebsd CVS STABLE-5.4 from 08.april.2005 At the moment I have an very nasty nfs vs ata-sleep/idle kernel panic that reared it's ugly head after upgrading to STABLE-5 from RELEASE-5.2.1. I'l post more about this one after I've gotten an kernel running with all debuging enabled. After all, it's practically useless to post an PR without any debugging available. PS. As I'm not an regular subscriber to the mailinglist, I would like to get any replies cc'ed to me personally. Heikki Soerum. -- Throughout history it has been the inaction of those who could have acted, the indifference of those who should have known better, the silence of the voice of justice when it mattered most, that has made it possible for evil to triumph. - Haile Selassie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BIND 9 on a dynamic ip address
Andrew P. wrote: Ryan J. Cavicchioni wrote: Hello, I am hoping to set up a DNS server for my home network just for the sake of learning BIND. Unfortunately, I have a PPPoE connects (wireless broadband) with a dynamic ip address. At the moment, I use dyndns just so I have a hostname and I would like to keep using dyndns. All I am looking to do is to use bind for hosts in my network and have a local dns cache. I do not plan on pointing any domains to my nameservers. Would this be possible? Or will there be problems that I am not foreseeing? I am really new at this, that is why I would like to leard bind. If you have a stable LAN ip address, it's not a problem. Configure BIND to listen on it and the dynamic address you get to use internet won't bother anyone (even BIND itself). On the other hand, configuring a DNS server listening on a dynamic IP address is a really bad idea. BIND 9 Administrator Reference Manual is a good place to start (I started there a few weeks ago). http://www.bind9.net/manual/bind/9.3.1/Bv9ARM.html Best wishes, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Adding to Andrew's comments. If you do not have a LAN interface, you should be able to use a loopback (lo(4) interface to test things with. You will^H^H^H^Hshould always have lo0 up and listening to 127.0.0.1 (/8). You can bring up other instances of lo(4) with ifconfig(8) and treat it as you would any other interface. For example if you want to create lo1, you would type: # ifconfig lo1 create If you do have a local network, you can run bind without any difficulties on just your local network without any problems. You just want to be sure that you don't tell your servers that they are authoritative for a real domain (e.g. freebsd.com) or else you won't be able to resolve any host/sub-domain from freebsd.com. You can safely pick a non-valid domain without expecting to run into problems. An example would be my.lan (e.g. host1.my.lan host2.my.lan). Since .lan is not a valid TLD (at least today), you can expect to use it without running into any collisions. I believe Cisco uses .lan as a fake TLD in some of their lower end equipment (e.g. wireless APs/routers). Good luck! -Ash ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
environment variables
Hi all. In order to set an environment variable at boot time, something like http_proxy, where would I do that? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: environment variables
Michael S wrote: Hi all. In order to set an environment variable at boot time, something like http_proxy, where would I do that? Environment variables are not set at boot time. They are set when you o into your shell. For doing that, set yhe environment variable in .login. Regards S. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connect to Cisco VPN server from FreeBSD?
On Sun, Apr 10, 2005 at 12:26:45PM -0500, Ash wrote: Scott Mitchell wrote: Hi all, As in the subject - has anyone managed to get a FreeBSD machine to connect to a Cisco VPN server, using IPSec and 2-factor authentication (password + SecurID card)? My employer has been acquired by another company, and this will soon be the only remote-access method available. Linux client software exists, but given that it relies on a kernel module I'm not holding out much hope of it working. The security/vpnc port looks like it might be useful. No idea if racoon + FreeBSD native IPSec can be persuaded to do the SecurID authentication. I would try all these things myself, except I don't have any account details for the server yet. I really don't want to keep a Linux or Windows machine around just to connect to the office... Many thanks in advance, Scott I have not personally used this, however I have had reports of users connecting to a Cisco VPN 3000 box that I administered at one point with the following client: http://www.unix-ag.uni-kl.de/~massar/vpnc/ Thanks, that looks promising. The SecurID thing is apparently just a flavour of XAUTH which seems to be supported, so it might just work. Cheers, Scott -- === Scott Mitchell | PGP Key ID | Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines scott at fishballoon.org | 0xAA775B8B | -- Anon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fax4CUPS
Can we have this in ports ? http://vigna.dsi.unimi.it/fax4CUPS/ Or somthing simular that can provide fax support in cups ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cross-development of Windows 32-bit applications under FreeBSD?
I don't know whether it is possible with only FreeBSD, however you can check whether you can run Visual Studio under the Wine emulator or use one of those cross-platform toolkits such as Qt or WxWidgets. The latter one will not give you Win32 binaries, but it's quite easy to port the code to Windows. Hope it helps. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cross-development of Windows 32-bit applications under FreeBSD?
Michael S writes: I don't know whether it is possible with only FreeBSD, however you can check whether you can run Visual Studio under the Wine emulator or use one of those cross-platform toolkits such as Qt or WxWidgets. The latter one will not give you Win32 binaries, but it's quite easy to port the code to Windows. I'm trying to avoid Visual(Anything) since it costs around $2900, and that's hard to justify for just playing around with little applications. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connect to Cisco VPN server from FreeBSD?
Scott Mitchell wrote: On Sun, Apr 10, 2005 at 12:26:45PM -0500, Ash wrote: Scott Mitchell wrote: Hi all, As in the subject - has anyone managed to get a FreeBSD machine to connect to a Cisco VPN server, using IPSec and 2-factor authentication (password + SecurID card)? My employer has been acquired by another company, and this will soon be the only remote-access method available. Linux client software exists, but given that it relies on a kernel module I'm not holding out much hope of it working. The security/vpnc port looks like it might be useful. No idea if racoon + FreeBSD native IPSec can be persuaded to do the SecurID authentication. I would try all these things myself, except I don't have any account details for the server yet. I really don't want to keep a Linux or Windows machine around just to connect to the office... Many thanks in advance, Scott I have not personally used this, however I have had reports of users connecting to a Cisco VPN 3000 box that I administered at one point with the following client: http://www.unix-ag.uni-kl.de/~massar/vpnc/ Thanks, that looks promising. The SecurID thing is apparently just a flavour of XAUTH which seems to be supported, so it might just work. Cheers, Scott Whoops forgot to mention that I had configured out VPN3000 to authenticate users using SecurID. The vpnc users were able to authenticate just fine. OT, but they were also able to use vpnc to bypass split-tunneling restrictions (no real surprise there). Good luck, -Ash ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cross-development of Windows 32-bit applications under FreeBSD?
On Sunday 10 April 2005 18:00, Anthony Atkielski wrote: Is it possible to develop and build native Windows 32-bit applications under FreeBSD, using only command-line tools like gcc and other open-source components? djgpp is a port of gcc which can compile dos exucatables, from the site Yes, I know Windows is the wave of the future, but I don't like it, so I don't support it. DJGPP is for making DOS programs, and if you can convince it to make a Windows program, good for you. how easy it would be to make windows executables I don't know. I would reckon your best bet would be to use something like lcc with some windows emulation, since you are going to want to test and debug it too. Even with that, I would feel very uncomfortable producing a windows program that I hadn't tested on a pure windows system. Cheers, Martin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: environment variables
Hi all. In order to set an environment variable at boot time, something like http_proxy, where would I do that? Depends somewhat on what it is and what it is for. But, many things you can set in /etc/rc.conf. Things specific to certain applications should probably be done either in their config files or in the /usr/local/etc/rc.d/xxx.sh script. jerry Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: debuging options in FBSD-5.x
On Sun, Apr 10, 2005 at 07:43:49PM +0200, heikki soerum wrote: Hello every fellow freebsd user. I've been browsing the handbook and I can't quite catch how to make an fully debugging 5.x kernel so that whenever I need to post an pr/bug it actuallty contains useful information for the bughunters. is the makeoptions DEBUG=-g enough? Or should the kernel be configured with addition options so an memory dump etc. would be available? See the chapter on kernel debugging in the developers' handbook. kris pgpNa50FSgyRN.pgp Description: PGP signature
bus error w/ mozilla or firefox
People, I need some clues as to *why* after the gnome update script has finished on my laptop neither mozilla nor firefox run. Note that on my laptop, there were not many files that needed to be rebuilt. One question seems apropos here: why can't the gnome (and kde) upgrades be handled thru Packages rather than by source rebuilding? (AFter 2+ days of running the script here on tao --a 750MHz platform--I the script may have succeeded; the laptop in a 400MHz ThinkPad. ... ) Help? Suggestions anybody? gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fax4CUPS
Gert Cuykens wrote: Can we have this in ports ? http://vigna.dsi.unimi.it/fax4CUPS/ Are you volunteering? -- Best regards, Chris Anything is possible, but nothing is easy. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cross-development of Windows 32-bit applications under FreeBSD?
On Sun, Apr 10, 2005 at 08:37:39PM +0200, Anthony Atkielski wrote: I'm trying to avoid Visual(Anything) since it costs around $2900, and that's hard to justify for just playing around with little applications. Using MinGW, you can write windows apps using the tools you know from FreeBSD. I'm using it to cross-compile freebsd-amd64 apps for windows. Applications (e.g. filters) that stick to the functionality of the standard C library can be easily cross-compiled for Windows. It also comes with headers and import libraries for win32 graphical apps. Roland -- R.F. Smith /\ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ /No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \Respect for open standards pgpWhAZ7v3g7G.pgp Description: PGP signature
Re: fax4CUPS
On Apr 10, 2005 9:58 PM, Chris [EMAIL PROTECTED] wrote: Gert Cuykens wrote: Can we have this in ports ? http://vigna.dsi.unimi.it/fax4CUPS/ Are you volunteering? -- Best regards, Chris Anything is possible, but nothing is easy. How do you mean ? I did not install it yet but it sounds useful if cups could handle a serial fax like a printer :) Aldo i think the script can only send faxes and not handle incoming faxes like printing them or sending them to a mailbox directory. But i am sure you can add some magic faxing features to it :) 10$ its going to be a popular port and for people like you not that hart to add some fax incomming features :) With a little bit of luck you don't have to compile anything :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connect to Cisco VPN server from FreeBSD?
On Sun, Apr 10, 2005 at 01:41:20PM -0500, Ash wrote: Scott Mitchell wrote: Thanks, that looks promising. The SecurID thing is apparently just a flavour of XAUTH which seems to be supported, so it might just work. Cheers, Scott Whoops forgot to mention that I had configured out VPN3000 to authenticate users using SecurID. The vpnc users were able to authenticate just fine. OT, but they were also able to use vpnc to bypass split-tunneling restrictions (no real surprise there). Good luck, -Ash Cool - sounds like just the thing. I look forward to trying it out as soon as my new overlords give me my SecurID :-) Many thanks, Scott -- === Scott Mitchell | PGP Key ID | Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines scott at fishballoon.org | 0xAA775B8B | -- Anon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Question about processes
How does one determine which process initiated any given network connection? Or which program (on disk) initiated the process that initiated the network connection? Been searching, but not finding. Regards, -- dave [ please don't CC me ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BIND 9 on a dynamic ip address
Thank you for the replies. Ash, can I use my dynamic dns hostname as the domain which actually points to my network? Would that still be trouble? Ash wrote: Andrew P. wrote: Ryan J. Cavicchioni wrote: Hello, I am hoping to set up a DNS server for my home network just for the sake of learning BIND. Unfortunately, I have a PPPoE connects (wireless broadband) with a dynamic ip address. At the moment, I use dyndns just so I have a hostname and I would like to keep using dyndns. All I am looking to do is to use bind for hosts in my network and have a local dns cache. I do not plan on pointing any domains to my nameservers. Would this be possible? Or will there be problems that I am not foreseeing? I am really new at this, that is why I would like to leard bind. If you have a stable LAN ip address, it's not a problem. Configure BIND to listen on it and the dynamic address you get to use internet won't bother anyone (even BIND itself). On the other hand, configuring a DNS server listening on a dynamic IP address is a really bad idea. BIND 9 Administrator Reference Manual is a good place to start (I started there a few weeks ago). http://www.bind9.net/manual/bind/9.3.1/Bv9ARM.html Best wishes, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Adding to Andrew's comments. If you do not have a LAN interface, you should be able to use a loopback (lo(4) interface to test things with. You will^H^H^H^Hshould always have lo0 up and listening to 127.0.0.1 (/8). You can bring up other instances of lo(4) with ifconfig(8) and treat it as you would any other interface. For example if you want to create lo1, you would type: # ifconfig lo1 create If you do have a local network, you can run bind without any difficulties on just your local network without any problems. You just want to be sure that you don't tell your servers that they are authoritative for a real domain (e.g. freebsd.com) or else you won't be able to resolve any host/sub-domain from freebsd.com. You can safely pick a non-valid domain without expecting to run into problems. An example would be my.lan (e.g. host1.my.lan host2.my.lan). Since .lan is not a valid TLD (at least today), you can expect to use it without running into any collisions. I believe Cisco uses .lan as a fake TLD in some of their lower end equipment (e.g. wireless APs/routers). Good luck! -Ash ___ 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: BIND 9 on a dynamic ip address
All I am really looking to do is learn DNS and BIND as well as host my own local DNS server for faster DNS lookups within my home network. Would using the invalid LAN domain have any negative afters on my web or ftp server? I am really new at BIND, sorry if I seem clueless. Thank you for taking the time to help me out. Ash wrote: Ryan J. Cavicchioni wrote: Thank you for the replies. Ash, can I use my dynamic dns hostname as the domain which actually points to my network? Would that still be trouble? Ash wrote: You can use your dynamic host name as the domain, however I'm not really sure why you would want to. By definition dynamic domain names change; Why would you want to reconfigure your DNS server configuration files as well as all of your hosts every time your ISP assigns a new IP/host name to you? I don't see any advantage in using your dynamic host name over an invalid TLD. What are the goals that you are trying to resolve by using your dynamic host name as your local LAN's domain name? Perhaps we can come up with a solution that requires less work, but still addresses your concerns. -Ash ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Digital Cameras
On Apr 9, 2005 2:53 PM, Vulpes Velox [EMAIL PROTECTED] wrote: On Tue, 5 Apr 2005 04:28:30 + (UTC) Sergei Gnezdov [EMAIL PROTECTED] wrote: Is there a chance to get digital camers working with FreeBSD? All I need is load images from camera using USB port. I have a Canon G3 which works well with FreeBSD5.3 using gphoto2 *Check if your desired camera is surported http://www.gphoto.org/proj/libgphoto2/support.php *if surported, install gphoto2 from ports *attach camera to computer * sudo gphoto2 -P will pull all images from camera to pwd If your camera isnt amongst the 500+ cameras supported, use a card reader as earlier suggested. -- ~michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BIND 9 on a dynamic ip address
Sorry for the typo ... afters should be effects. Oops. :-P. Ryan J. Cavicchioni wrote: All I am really looking to do is learn DNS and BIND as well as host my own local DNS server for faster DNS lookups within my home network. Would using the invalid LAN domain have any negative afters on my web or ftp server? I am really new at BIND, sorry if I seem clueless. Thank you for taking the time to help me out. Ash wrote: Ryan J. Cavicchioni wrote: Thank you for the replies. Ash, can I use my dynamic dns hostname as the domain which actually points to my network? Would that still be trouble? Ash wrote: You can use your dynamic host name as the domain, however I'm not really sure why you would want to. By definition dynamic domain names change; Why would you want to reconfigure your DNS server configuration files as well as all of your hosts every time your ISP assigns a new IP/host name to you? I don't see any advantage in using your dynamic host name over an invalid TLD. What are the goals that you are trying to resolve by using your dynamic host name as your local LAN's domain name? Perhaps we can come up with a solution that requires less work, but still addresses your concerns. -Ash ___ 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: Question about processes
On Sunday 10 April 2005 23:13, David J. Weller-Fahy wrote: How does one determine which process initiated any given network connection? Or which program (on disk) initiated the process that initiated the network connection? Been searching, but not finding. Regards, sockstat will show you all network and unix sockets and the processes and their PIDs. If you want to know more such as the full path or so (if used when invoked), you can run ps wwwaux and grep on the PID. HTH, Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fax4CUPS
Gert Cuykens writes: On Apr 10, 2005 9:58 PM, Chris [EMAIL PROTECTED] wrote: Gert Cuykens wrote: Can we have this in ports ? http://vigna.dsi.unimi.it/fax4CUPS/ Are you volunteering? Anything is possible, but nothing is easy. How do you mean ? I did not install it yet but it sounds useful if cups could handle a serial fax like a printer :) Aldo i think the script can only send faxes and not handle incoming faxes like printing them or sending them to a mailbox directory. But i am sure you can add some magic faxing features to it :) 10$ its going to be a popular port and for people like you not that hart to add some fax incomming features :) With a little bit of luck you don't have to compile anything :) It does work well, (as per the sparse docs in the tar file.) You can use efax for incoming faxes, (or better, hylafax, if you can talk [EMAIL PROTECTED] into coming down and configuring it for you,) and the fax4CUPS does appear as a printer according to lpstat -a, and does send faxes, (saved as a postscript file out of openoffice.org, etc.) You will have to use cup's lpr -j option to tell it the fax printer what number to send the fax to, (so you will probably have to configure a printer in everyone's openoffice.org, etc.) The lpadmin command to install the cups/efax printer is: lpadmin -p efax -L machine -D fax -E -v efax:/dev/ttyXX -m efax.ppd Where efax.ppd is installed in probably /usr/share/cups/model/, and the efax script, (with the first 8 lines modified for your configuration,) installed in probably /usr/lib/cups/backend/. Note: if efax answer is running on /dev/ttyXX from /etc/inittab, it may be necessary to disable efax answer for the lpadmin command, but only to install the fax printer, (apparently, lpadmin doesn't like other things listening on its serial printer ports when it installs the printer.) If you use efax or hylafax for incoming, enable MIME e-mailing of the fax to a faxmaster, who distributes the file to the appropriate machine-its default for hylafax. For efax, configure /etc/efax.rc and /usr/bin/fax, (these are some script changes,) to send the fax attachment as a postscript file so they can be read with gv/ghostscript, (which probably came with your cups installation.) The efax/tiff file formats come out half size if a low resolution fax is received, which is corrected if postscript is used. Recommendation: YMMV, but hylafax is a bit difficult to configure, but is very robust once running; efax is probably preferable for non-industrial strength applications. FWIW ... John -- John Conover, [EMAIL PROTECTED], http://www.johncon.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question about processes
On Sun, Apr 10, 2005 at 11:13:40PM +0200, David J. Weller-Fahy wrote: How does one determine which process initiated any given network connection? Or which program (on disk) initiated the process that initiated the network connection? Been searching, but not finding. Read the man page for ps, specifically ps -j and variations of. What you are looking for is the ppid, Parent Process ID. Might find a process was started by inetd this way. netstat is the other tool you are looking for, to list open connections. The proc filesystem may also help associate open connections with running processes. man procfs. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question about processes
* Danny Pansters [EMAIL PROTECTED] [2005-04-10 23:26 +0200]: sockstat will show you all network and unix sockets and the processes and their PIDs. If you want to know more such as the full path or so (if used when invoked), you can run ps wwwaux and grep on the PID. That's exactly what I was looking for, Thanks! * David Kelly [EMAIL PROTECTED] [2005-04-10 23:37 +0200]: Read the man page for ps, specifically ps -j and variations of. What you are looking for is the ppid, Parent Process ID. Might find a process was started by inetd this way. netstat is the other tool you are looking for, to list open connections. The proc filesystem may also help associate open connections with running processes. man procfs. I've tried netstat before, no luck - it shows open connections, but I was never able to get the process/program from it. I had skimmed the ps man page, but not read through it thoroughly - I'll rectify that. ;] Regards, -- dave [ please don't CC me ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Broken port tree: how to repair ?
Hello, I had a problem of corrupted database and I did a big mistake: I incidentally deleted my port tree instead of the database. Now I have big troubles whenever I want to upgrade/install any new port. Is there any way to fix this ? Thank you. -- Registered Linux-User #340967 with the Linux Counter, http://counter.li.org. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to fix failed CRC file?
# T.F. Cheng: Hi, I have downloaded some multimedia files from a news server, and they are usually coming in rar format and lots of pieces. I use par2repair to fix them, but one of the files failed, and reported to be CRC failed. Can anybody tell me how to fix this? thanks!! Basically, redownload the broken file. It might save you some time to get an md5-sum of the server's file first, in case it's already broken there. FWIW, you could also try unraring with the kb-switch, but I doubt unrar can handle a CRC-error. Regards, Mario -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT
Michal Mertl wrote: There's no standard VGA 132 character text mode. It's either provided by VESA or emulated using some graphics mode. Newer graphics hardware stopped supporting extended text modes. If you want such modes you need to emulate them (render the characters using lots of small dots instead of just writing characters to the adapter which renders them for you). Support for this functionality is included in syscons/vga driver when you define options SC_PIXEL_MODE. Standard FreeBSD supports only planar graphics mode 800x600 dots with 4 bits (16) of color information per pixel which can be run on old plain VGA with 256KB of memory. The patches we are talking about add support for rendering the characters in any graphics mode your card supports (through VESA) with = 15 bits per pixel. You could then run say 1600x1200x32 bpp (16milions of colours) for a text mode console. You can't use any graphics there but the textual resolution will be bigger. There also isn't support for using simultaneously more than 16 (or is it 15?) different colors for characters even when milions are technically possible. Thanks for the explanation, it is appreciated. I tried the process and encountered errors. Here's what happened: patch /tmp/syscons.diff.20050215 this went fine. patch /tmp/vidcontrol.diff.20050215 returned errors as shown below: # patch /tmp/vidcontrol.diff.20050215 Hmm... Looks like a unified diff to me... The text leading up to this was: -- |Index: vidcontrol.1 |=== |RCS file: /home/ncvs/src/usr.sbin/vidcontrol/vidcontrol.1,v |retrieving revision 1.55 |diff -u -r1.55 vidcontrol.1 |--- vidcontrol.1 2 Mar 2003 21:04:21 - 1.55 |+++ vidcontrol.1 17 Jan 2005 05:27:25 - -- Patching file vidcontrol.1 using Plan A... Hunk #1 succeeded at 11. Hunk #2 succeeded at 88. Hunk #3 succeeded at 297. Hunk #4 succeeded at 532. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -- |Index: vidcontrol.c |=== |RCS file: /home/ncvs/src/usr.sbin/vidcontrol/vidcontrol.c,v |retrieving revision 1.48 |diff -u -r1.48 vidcontrol.c |--- vidcontrol.c 13 Jan 2005 03:59:44 - 1.48 |+++ vidcontrol.c 17 Jan 2005 05:27:25 - -- Patching file vidcontrol.c using Plan A... Hunk #1 succeeded at 24. Hunk #2 succeeded at 48. Hunk #3 succeeded at 66 with fuzz 1. Hunk #4 failed at 187. Hunk #5 succeeded at 223. Hunk #6 failed at 239. Hunk #7 failed at 257. Hunk #8 failed at 297. Hunk #9 failed at 332. Hunk #10 succeeded at 348 with fuzz 2. Hunk #11 failed at 377. Hunk #12 failed at 419. Hunk #13 failed at 507. Hunk #14 failed at 572. Hunk #15 failed at 669. Hunk #16 failed at 722. Hunk #17 failed at 743. Hunk #18 failed at 806. Hunk #19 succeeded at 891. Hunk #20 failed at 900. Hunk #21 failed at 933. Hunk #22 succeeded at 950 with fuzz 2. Hunk #23 failed at 962. Hunk #24 failed at 985. Hunk #25 failed at 1035. Hunk #26 failed at 1050. Hunk #27 succeeded at 1148. Hunk #28 succeeded at 1173. Hunk #29 succeeded at 1217. Hunk #30 succeeded at 1234. 19 out of 30 hunks failed--saving rejects to vidcontrol.c.rej done Not being a c programmer, I can't understand what the vidcontrol.c.rej file is trying to tell me. It is a 29K file. As I recalled a previous email telling someone to go ahead anyway, I went ahead with make clean and that went ok. Then I did make all and here's the results: make all cc -O -pipe -c /usr/src/usr.sbin/vidcontrol/vidcontrol.c /usr/src/usr.sbin/vidcontrol/vidcontrol.c: In function `video_mode': /usr/src/usr.sbin/vidcontrol/vidcontrol.c:500: error: `_VESA_800x600_DFL_COLS' undeclared (first use in this function) /usr/src/usr.sbin/vidcontrol/vidcontrol.c:500: error: (Each undeclared identifier is reported only once /usr/src/usr.sbin/vidcontrol/vidcontrol.c:500: error: for each function it appears in.) /usr/src/usr.sbin/vidcontrol/vidcontrol.c:505: error: `_VESA_800x600_DFL_FNSZ' undeclared (first use in this function) /usr/src/usr.sbin/vidcontrol/vidcontrol.c:509: error: `_VESA_800x600_DFL_ROWS' undeclared (first use in this function) *** Error code 1 Stop in /usr/src/usr.sbin/vidcontrol. I did not do a make install. Guidance will be appreciated. Thanks! Jay O'Brien Rio Linda, California, USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT
Jay O'Brien pe v ne 10. 04. 2005 v 15:21 -0700: Michal Mertl wrote: There's no standard VGA 132 character text mode. It's either provided by VESA or emulated using some graphics mode. Newer graphics hardware stopped supporting extended text modes. If you want such modes you need to emulate them (render the characters using lots of small dots instead of just writing characters to the adapter which renders them for you). Support for this functionality is included in syscons/vga driver when you define options SC_PIXEL_MODE. Standard FreeBSD supports only planar graphics mode 800x600 dots with 4 bits (16) of color information per pixel which can be run on old plain VGA with 256KB of memory. The patches we are talking about add support for rendering the characters in any graphics mode your card supports (through VESA) with = 15 bits per pixel. You could then run say 1600x1200x32 bpp (16milions of colours) for a text mode console. You can't use any graphics there but the textual resolution will be bigger. There also isn't support for using simultaneously more than 16 (or is it 15?) different colors for characters even when milions are technically possible. Thanks for the explanation, it is appreciated. I tried the process and encountered errors. Here's what happened: patch /tmp/syscons.diff.20050215 this went fine. patch /tmp/vidcontrol.diff.20050215 returned errors as shown below: # patch /tmp/vidcontrol.diff.20050215 Hmm... Looks like a unified diff to me... The text leading up to this was: -- |Index: vidcontrol.1 |=== |RCS file: /home/ncvs/src/usr.sbin/vidcontrol/vidcontrol.1,v |retrieving revision 1.55 |diff -u -r1.55 vidcontrol.1 |--- vidcontrol.1 2 Mar 2003 21:04:21 - 1.55 |+++ vidcontrol.1 17 Jan 2005 05:27:25 - -- Patching file vidcontrol.1 using Plan A... Hunk #1 succeeded at 11. Hunk #2 succeeded at 88. Hunk #3 succeeded at 297. Hunk #4 succeeded at 532. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -- |Index: vidcontrol.c |=== |RCS file: /home/ncvs/src/usr.sbin/vidcontrol/vidcontrol.c,v |retrieving revision 1.48 |diff -u -r1.48 vidcontrol.c |--- vidcontrol.c 13 Jan 2005 03:59:44 - 1.48 |+++ vidcontrol.c 17 Jan 2005 05:27:25 - -- Patching file vidcontrol.c using Plan A... Hunk #1 succeeded at 24. Hunk #2 succeeded at 48. Hunk #3 succeeded at 66 with fuzz 1. Hunk #4 failed at 187. Hunk #5 succeeded at 223. Hunk #6 failed at 239. Hunk #7 failed at 257. Hunk #8 failed at 297. Hunk #9 failed at 332. Hunk #10 succeeded at 348 with fuzz 2. Hunk #11 failed at 377. Hunk #12 failed at 419. Hunk #13 failed at 507. Hunk #14 failed at 572. Hunk #15 failed at 669. Hunk #16 failed at 722. Hunk #17 failed at 743. Hunk #18 failed at 806. Hunk #19 succeeded at 891. Hunk #20 failed at 900. Hunk #21 failed at 933. Hunk #22 succeeded at 950 with fuzz 2. Hunk #23 failed at 962. Hunk #24 failed at 985. Hunk #25 failed at 1035. Hunk #26 failed at 1050. Hunk #27 succeeded at 1148. Hunk #28 succeeded at 1173. Hunk #29 succeeded at 1217. Hunk #30 succeeded at 1234. 19 out of 30 hunks failed--saving rejects to vidcontrol.c.rej done Not being a c programmer, I can't understand what the vidcontrol.c.rej file is trying to tell me. It is a 29K file. As I recalled a previous email telling someone to go ahead anyway, I went ahead with make clean and that went ok. Then I did make all and here's the results: You haven't read the thread in the archives carefully enough, have you? Here is what I wrote (privately to the original poster but I explained the error to the mailing list too): What? I don't know how the patching of vidcontrol ended but you'd better redo it with fresh files from current. Go download vidcontrol.c v 1.48 and vidcontrol.1 from http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/vidcontrol/ Then run the patch on it again and recompile/reinstall vidcontrol binary. Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cross-development of Windows 32-bit applications under FreeBSD?
- Original Message - From: Anthony Atkielski [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Sunday, April 10, 2005 7:00 PM Subject: Cross-development of Windows 32-bit applications under FreeBSD? Is it possible to develop and build native Windows 32-bit applications under FreeBSD, using only command-line tools like gcc and other open-source components? -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] hm i dont know whether this is a solution for u but u can download turbo c and turbo cpp for dos from the borland ftp. its free and makes dos applications (without the need of extra dll, or sim)... with some modifikation its also possible to make win applications... cygwin is another solution... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cross-development of Windows 32-bit applications under FreeBSD?
On Mon, Apr 11, 2005 at 12:44:43AM +0200, Lis wrote: From: Anthony Atkielski [EMAIL PROTECTED] Is it possible to develop and build native Windows 32-bit applications under FreeBSD, using only command-line tools like gcc and other open-source components? hm i dont know whether this is a solution for u but u can download turbo c and turbo cpp for dos from the borland ftp. its free and makes dos applications (without the need of extra dll, or sim)... with some modifikation its also possible to make win applications... cygwin is another solution... Perhaps running cygwin under wine would help (if it is at all possible)? You'll probably need access to native Windows DLLs instead of the wine libs though. BTW, if you really want to write cross-platform apps, you may consider using Qt (not kde!) or wxWidgets. Just develop under FreeBSD as usual, and then compile against the Windows versions of the libraries (Beware: Qt requires for the Windows version last time I checked), using Cygwin, Borland C++ or Microsoft Visual C++ (under Wine, if you prefer and if it is possible). Good luck! -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 [EMAIL PROTECTED]
Re: Broken port tree: how to repair ?
Xavier Maillard wrote: Hello, I had a problem of corrupted database and I did a big mistake: I incidentally deleted my port tree instead of the database. Now I have big troubles whenever I want to upgrade/install any new port. Is there any way to fix this ? Thank you. You can cvsup your ports tree to bring it up to date: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html (yes this will work even if you've deleted your whole tree) -ash ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Binary linking/updating libraries
How do I relink a binary against a library after I have updated the lib? For example I updated glib and now xchat complains about the library not being installed as it was linked against the old version. Is there any utility that can see which executables have library problems and relink them accordingly? Thanks in advance, - j ._ | Justin R. Pessa | http://jstn.sdf1.org pgpgs0VzRS33k.pgp Description: PGP signature
Re: bus error w/ mozilla or firefox
Does it segment fault when you start it from console ? If it does, just delete .gtk*, it should work after that. Le Dimanche 10 Avril 2005 21:36, Gary Kline a écrit : People, I need some clues as to *why* after the gnome update script has finished on my laptop neither mozilla nor firefox run. Note that on my laptop, there were not many files that needed to be rebuilt. One question seems apropos here: why can't the gnome (and kde) upgrades be handled thru Packages rather than by source rebuilding? (AFter 2+ days of running the script here on tao --a 750MHz platform--I the script may have succeeded; the laptop in a 400MHz ThinkPad. ... ) Help? Suggestions anybody? gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Binary linking/updating libraries
On Sun, Apr 10, 2005 at 07:08:47PM -0400, Justin R. Pessa wrote: How do I relink a binary against a library after I have updated the lib? For example I updated glib and now xchat complains about the library not being installed as it was linked against the old version. Is there any utility that can see which executables have library problems and relink them accordingly? In general this is the wrong thing to do. If a library changes version, it's usually because it's no longer compatible with the old version of the library, and applications that use it need to be recompiled or they may no longer run properly. Alternatively, if you upgrade using portupgrade, the old library will be preserved so that existing applications will not be affected. Kris pgpabeqKDPs8y.pgp Description: PGP signature
Re: Broken port tree: how to repair ?
delete /var/db/pkg/pkgdb.db do a cvsup of your port tree ... do a make fetchindex under /usr/ports now, check portversion -l'' it should reconstruct everything Le Lundi 11 Avril 2005 00:02, Xavier Maillard a écrit : Hello, I had a problem of corrupted database and I did a big mistake: I incidentally deleted my port tree instead of the database. Now I have big troubles whenever I want to upgrade/install any new port. Is there any way to fix this ? Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Binary linking/updating libraries
On Apr 10 04:12PM, Kris Kennaway wrote: On Sun, Apr 10, 2005 at 07:08:47PM -0400, Justin R. Pessa wrote: How do I relink a binary against a library after I have updated the lib? For example I updated glib and now xchat complains about the library not being installed as it was linked against the old version. Is there any utility that can see which executables have library problems and relink them accordingly? In general this is the wrong thing to do. If a library changes version, it's usually because it's no longer compatible with the old version of the library, and applications that use it need to be recompiled or they may no longer run properly. Alternatively, if you upgrade using portupgrade, the old library will be preserved so that existing applications will not be affected. Kris Not what I wanted to hear but I appreciate your help! ;) I'll tinker with portupgrade and cross my fingers! Thanks, - j ._ | Justin R. Pessa | http://jstn.sdf1.org pgpRvaeM9Ww0D.pgp Description: PGP signature
Re: Broken port tree: how to repair ?
On 11 Apr 2005, Bachelier Vincent wrote: delete /var/db/pkg/pkgdb.db do a cvsup of your port tree ... do a make fetchindex under /usr/ports now, check portversion -l'' it should reconstruct everything And what about stalled dependancies ? -- In Gruuik we trust ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT
Michal Mertl wrote: You haven't read the thread in the archives carefully enough, have you? Yes, but unfortunately I didn't comprehend. Here is what I wrote (privately to the original poster but I explained the error to the mailing list too): What? I don't know how the patching of vidcontrol ended but you'd better redo it with fresh files from current. Go download vidcontrol.c v 1.48 and vidcontrol.1 from http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/vidcontrol/ Then run the patch on it again and recompile/reinstall vidcontrol binary. I did that. The files are vidcontrol.1 Rev 1.55 and Vidcontrol.c Rev 1.48. Now all hunks failed. The results are below. What did I screw up this time? Jay |Index: vidcontrol.1 |=== |RCS file: /home/ncvs/src/usr.sbin/vidcontrol/vidcontrol.1,v |retrieving revision 1.55 |diff -u -r1.55 vidcontrol.1 |--- vidcontrol.1 2 Mar 2003 21:04:21 - 1.55 |+++ vidcontrol.1 17 Jan 2005 05:27:25 - -- Patching file vidcontrol.1 using Plan A... Hunk #1 failed at 11. Hunk #2 failed at 88. Hunk #3 failed at 297. Hunk #4 failed at 532. 4 out of 4 hunks failed--saving rejects to vidcontrol.1.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -- |Index: vidcontrol.c |=== |RCS file: /home/ncvs/src/usr.sbin/vidcontrol/vidcontrol.c,v |retrieving revision 1.48 |diff -u -r1.48 vidcontrol.c |--- vidcontrol.c 13 Jan 2005 03:59:44 - 1.48 |+++ vidcontrol.c 17 Jan 2005 05:27:25 - -- Patching file vidcontrol.c using Plan A... Hunk #1 failed at 24. Hunk #2 failed at 48. Hunk #3 failed at 66. Hunk #4 failed at 187. Hunk #5 failed at 223. Hunk #6 failed at 239. Hunk #7 failed at 257. Hunk #8 failed at 297. Hunk #9 failed at 332. Hunk #10 failed at 348. Hunk #11 failed at 377. Hunk #12 failed at 419. Hunk #13 failed at 507. Hunk #14 failed at 572. Hunk #15 failed at 669. Hunk #16 failed at 722. Hunk #17 failed at 743. Hunk #18 failed at 806. Hunk #19 failed at 891. Hunk #20 failed at 900. Hunk #21 failed at 933. Hunk #22 failed at 950. Hunk #23 failed at 962. Hunk #24 failed at 985. Hunk #25 failed at 1035. Hunk #26 failed at 1050. Hunk #27 failed at 1148. Hunk #28 failed at 1173. Hunk #29 failed at 1217. Hunk #30 failed at 1234. 30 out of 30 hunks failed--saving rejects to vidcontrol.c.rej done ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CALCRU??????
I Installed a Freebsd 5.21 with windows98SE but exhibition this message in various program during the initialization: calcru: negative time of -33886933 usec for pid 476 (ls) this program exhibition this message (fsck_ufs) (sysinstall etc...) what is it??? when I runnig various program exhibing this message... sorry for my english...:( Conheça o novo iBest Acelerado e aumente a velocidade da sua navegação em até 5 vezes. O primeiro mês é gratuito. Basta acessar o endereço http://www.ibest.com.br/acelerado para se cadastrar. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Broken port tree: how to repair ?
On Mon, Apr 11, 2005 at 01:25:41AM +0200, Xavier Maillard wrote: On 11 Apr 2005, Bachelier Vincent wrote: delete /var/db/pkg/pkgdb.db do a cvsup of your port tree ... do a make fetchindex under /usr/ports now, check portversion -l'' it should reconstruct everything And what about stalled dependancies ? What is a stalled dependency? Kris pgpnKrzj0BZjP.pgp Description: PGP signature
Re: Cross-development of Windows 32-bit applications under FreeBSD?
In the last episode (Apr 10), Anthony Atkielski said: Is it possible to develop and build native Windows 32-bit applications under FreeBSD, using only command-line tools like gcc and other open-source components? Check out /usr/ports/devel/mingw , which will install a gcc cross-compiler targeted to build native win32 binaries. -- Dan Nelson [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: CALCRU??????
On Sun, Apr 10, 2005 at 08:42:30PM -0300, [EMAIL PROTECTED] wrote: I Installed a Freebsd 5.21 with windows98SE but exhibition this message in various program during the initialization: calcru: negative time of -33886933 usec for pid 476 (ls) this program exhibition this message (fsck_ufs) (sysinstall etc...) what is it??? when I runnig various program exhibing this message... Probably a bug in 5.2.1, which is of course very old by now and was not intended as a production-quality release of FreeBSD in the first place. Try using 5.3, or better, the soon to be released 5.4. Kris P.S. That '?' key of yours is still giving you trouble. Maybe try a new keyboard? pgpYH2Gq9JXJ9.pgp Description: PGP signature
Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT
Jay O'Brien wrote: Michal Mertl wrote: You haven't read the thread in the archives carefully enough, have you? Yes, but unfortunately I didn't comprehend. Here is what I wrote (privately to the original poster but I explained the error to the mailing list too): What? I don't know how the patching of vidcontrol ended but you'd better redo it with fresh files from current. Go download vidcontrol.c v 1.48 and vidcontrol.1 from http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/vidcontrol/ Then run the patch on it again and recompile/reinstall vidcontrol binary. I did that. The files are vidcontrol.1 Rev 1.55 and Vidcontrol.c Rev 1.48. Now all hunks failed. The results are below. I don't know. The text before the line starting with Patching is taken from the patch file. The patch program doesn't retrieve any files. So I think you either used bad files to patch or bad patchfile. You need to have the original files. To check they're correct you can use md5 utility. md5 vidcontrol.c MD5 (vidcontrol.c) = 1068e5a6aff863e2bc7a0c02098d43b1 md5 vidcontrol.1 MD5 (vidcontrol.1) = 080d2b84f2e3914090279fee6e5f2406 md5 vidcontrol.diff.20050215 MD5 (vidcontrol.diff.20050215) = 67ae12fe2a4fecae1bb7adb141efe021 You need to see the same strings. Then command 'patch /path/to/vidcontro.diff.20050215' must work. Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone ever consider a filesystem served by MySQL for mail folders?
# Doug Lee: [ fixed quote-levels ] On Sat, Apr 09, 2005 at 05:33:22PM -0400, Chuck Swiger wrote: [ mail storage backed by DB ] The advantage is that users gets fancy searching. The disadvantage is that you need to provide around 4 times as much disk space for a DB-based mailstore as you would for a normal mbox/maildir style representation, you need to provide a lot more server horsepower, you need to continuously maintain and purge old mail from the database, and you end up with your mail buried in database tables, so heaven help you if the database becomes inconsistent and you need to recover. Whereas you can repair mbox-files with your favorite editor and employ pretty much the same level of fancy searching with a couple of scripts. But as for increased storage requirements, I've always wondered how much could be saved by an intelligent method of behind-the-scenes handling of quoting among messages in a thread. Goodness knows half the mail on a lot of lists, and even in a lot of personal mail streams, is simply copies of some or all of other messages, perhaps shifted over by quote signs like `' etc. Seems to me a system could be devised to store directions for rebuilding a message instead of the message itself with all quoting intact. Basically, you could just kill any quotechar, trim headers and store the threads as incremental diffs. You could squeeze redundancy a bit more, but then you'll cry if some bug decides to eat a byte or two. ;) but I wouldn't be surprised if it could reverse the increased storage requirements you mention. Probably. What's the gain in all that, though? The mbox-format is simple enough[1], you can just build something to suit your needs in your favorite scripting language. Personally, I'd just build three scripts for that: - The first to interactively insert some headers from within my MUA (mutt, in this instance), i.e. 'X-Archive-Keywords: ' and 'X-Archive-Location: '. - The second to (as a cron-job) i) extract mails from mbox files ii) move them into some kind of archive directory tree (based on the above -location-header, i.e. $TREEBASE/$LOCATION) and iii) store interesting headers inside a DB. - The third for searching and cat(1)ing results to stdout (which in turn is nothing but a new mbox-file). The hard part about this is integrating it into $MUA, but there might be some hook around for that. Actually looks like a perfect mini-project to learn a new language with. ;) Cheers. Mario [1]: IIRC: the header of a mail starts with /^From / and terminates with /^$/ and the other way around for the body of a mail. Can't get more simple than that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Common Lisp on FreeBSD
On Fri, Apr 08, 2005 at 10:51:52AM -0400, Lowell Gilbert wrote: : Depends on what you're doing. Other than clisp, the Common Lisp : implementations in ports are pretty much all derived from the same : origin (the CMU implementation), so you might as well just try them : and see what you like; the technical differences shouldn't be that : big. [That's ignoring the embeddable one, but I wouldn't recommend : that for learning.] I think I've decided to stick with clisp for now, until I find a reason to change. The REPL seems nicer, for one thing. : Or maybe you should consider Scheme... but that's another holy war. No thanks. I've had enough of those. :-) Say, have you fooled around with any clisp GUI toolkits? jm -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Loading Samba Shares at Startup
hi there, not really sure if this is appropriate for this list, or if i should be sending it to the samba lists. i'll try here first. i have a samba server which serves a few windows machines, and i also use it via sharity-light from my freebsd machine running 4.10 RELEASE. i have a script that loads my shares, and i put it in my rc.d folder (i've taken out the user and password info): #!/bin/sh /usr/local/sbin/shlight //cessna/http /usr/home/iain/development/http/ -U * -u * -g wheel -f 775 -d 775 -P * /usr/local/sbin/shlight //cessna/http_inertia /usr/home/iain/development/http_inertia/ -U * -u * -g wheel -f 775 -d 775 -P * /usr/local/sbin/shlight //cessna/music /usr/home/iain/music -U * -u * -g wheel -f 775 -d 775 -P * /usr/local/sbin/shlight //cessna/dools /usr/home/iain/dools_network -U * -u * -g wheel -f 775 -d 775 -P * it runs fine when i start up freebsd, but when i login, i don't have access to the shares. so i put the call to the script inside my .tcshrc file, but this means that, even if i login remotely, and every time i start a new konsole session or scp something, this script runs. does anyone have any clues as to why it wouldn't have access to the shares after running this script from inside rc.d? i really only want it to run when the machine starts up, not every time i login. cheers iain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C
Hello all, My HP DeskJet 612C printer is printing unbearably slow (0.033 PPM). I have a stock installation (GENERIC KERNEL) of FreeBSD 5.3 straight off of the install CDs, and I have installed very little software thus far. I have mainly followed the installation instructions from http://www.csua.berkeley.edu/~ranga/notes/freebsd_cups.html It basically prints one line at a time, then pauses for a while, and makes some noises, and then repeats. The whole single test page took over 30 minutes to print. Does anyone have any insight/info that they can give me to solve this problem or point me in the right direction of solving it? I have Googled and done some searching and did not come up with anything. I checked the CUPS documentation and forums and did not see anything either. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't cd to /usr/obj/usr/src/sys/BIGD
I've redirected this to freebsd-questions which is more relevant. On Sat, 9 Apr 2005 17:01, Darrel wrote: make buildworld exit script /var/tmp/bk.out make buildkernel KERNCONF=BIGD exit Did these succeed? You didn't cd into /usr/src first so I don't see how they can have worked.. - Rebooted to single user fsck -p Why run fsck? mount -u / mount -a -t ufs mount -a is fine here (unless you have NFS in fstab) swapon -a make installkernel KERNCONF=BIGD error code don't know how to make bsd.README You aren't in /usr/src? Did you read the handbook on this stuff? -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgpyVOXhzLNR4.pgp Description: PGP signature
Re: bus error w/ mozilla or firefox
On Mon, Apr 11, 2005 at 01:11:14AM +0200, Bachelier Vincent wrote: Does it segment fault when you start it from console ? If it does, just delete .gtk*, it should work after that. It wasn't a segv, it was a Bus error (core dumped). This was left in ~/. -rw--- 1 kline kline 3612672 Apr 10 17:50 mozilla-bin.core I believe that the update script will run to completion once I have ruby18 updated. But it dies on me too... :-( gary Le Dimanche 10 Avril 2005 21:36, Gary Kline a écrit : People, I need some clues as to *why* after the gnome update script has finished on my laptop neither mozilla nor firefox run. Note that on my laptop, there were not many files that needed to be rebuilt. One question seems apropos here: why can't the gnome (and kde) upgrades be handled thru Packages rather than by source rebuilding? (AFter 2+ days of running the script here on tao --a 750MHz platform--I the script may have succeeded; the laptop in a 400MHz ThinkPad. ... ) Help? Suggestions anybody? gary ___ 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C
Anthony M. Agelastos writes: Hello all, My HP DeskJet 612C printer is printing unbearably slow (0.033 PPM). I have a stock installation (GENERIC KERNEL) of FreeBSD 5.3 straight off of the install CDs, and I have installed very little software thus far. I have mainly followed the installation instructions from http://www.csua.berkeley.edu/~ranga/notes/freebsd_cups.html It basically prints one line at a time, then pauses for a while, and makes some noises, and then repeats. The whole single test page took over 30 minutes to print. Does anyone have any insight/info that they can give me to solve this problem or point me in the right direction of solving it? I have Googled and done some searching and did not come up with anything. I checked the CUPS documentation and forums and did not see anything either. Maybe, make sure you installed the correct driver-there are two; a high resolution, (something like 3K dots per inch, and it will only do 3K dots per inch, which makes it very slow,) and a driver that uses the CUPS specific version of ghostscript, ESP ghostscript, (the other drivers require all of gimp-print to be installed.) The ESP ghostscript drivers end with a -ijs extension, and that's probably the one you want. Look at the ppd file you installed in probably /usr/share/cups/model/ for something like: *cupsFilter: application/vnd.cups-postscript 0 foomatic-rip and see if there is anything in the file ending with -ijs. John BTW, this solved the same thing on my Epson Photo Stylus 780. Maybe your problem, too. -- John Conover, [EMAIL PROTECTED], http://www.johncon.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone ever consider a filesystem served by MySQL for mail folders?
The disadvantage is that you need to provide around 4 times as much disk (B space for a DB-based mailstore as you would for a normal mbox/maildir (B style (B representation, you need to provide a lot more server horsepower, you (B need (B to continuously maintain and purge old mail from the database, and you (B end (B up with your mail buried in database tables, so heaven help you if the (B database becomes inconsistent and you need to recover. (B (B Whereas you can repair mbox-files with your favorite editor (B and employ pretty much the same level of fancy searching (B with a couple of scripts. (B (BI am not recommending a database to resolve this problem, but I'll note (Bhere that a text editor for searching has its limits when the bulk of (Bthe mail is Japanese (or any other predominantly non-Latin language). (B (BSpeaking of which, anyone know of an editor/filter combination that can (Bhandle all the funny encodings used to make mail 7-bit safe? (Base 64 (Bexcepted, of course.) (B (B-- (BJoel Rees [EMAIL PROTECTED] (Bdigitcom, inc. $B3t<02q
Re: route entries after ICMP redirect
At Sun, 10 Apr 2005 15:14:59 +0400, Sergey Matveychuk wrote: I've got some problem with route entries that was created after ICMP redirect messages. They are never expired. Our default gateway (it's a HP switch) send ICMP redirect messages if it see a short path to destination. It's makes it not so overloaded. But pathes sometime changed. There is no problem with Windows workstations, they are rebooted daily. But my FreeBSD boxes hold dinamic route entries forever. I've looked through RFCs and Stevens' books and found no answer on what TTL for this entries. Now I just add route flush as cron job. But may be there is another way? Routes set through the redirect path do not have a timeout associated with them. The redirect message usually implies an error in the network setup of your machines which would have to be handled by a human being changing the configuration. If you want to handle this in a more clever way than a cron job you could write a small daemon which reads routing messages and does the right thing for whatever your situation is. Later, George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C
On Sunday 10 April 2005 08:34 pm, Anthony M. Agelastos wrote: Hello all, My HP DeskJet 612C printer is printing unbearably slow (0.033 PPM). I have a stock installation (GENERIC KERNEL) of FreeBSD 5.3 straight off of the install CDs, and I have installed very little software thus far. I have mainly followed the installation instructions from http://www.csua.berkeley.edu/~ranga/notes/freebsd_cups.html It basically prints one line at a time, then pauses for a while, and makes some noises, and then repeats. The whole single test page took over 30 minutes to print. Does anyone have any insight/info that they can give me to solve this problem or point me in the right direction of solving it? I have Googled and done some searching and did not come up with anything. I checked the CUPS documentation and forums and did not see anything either. If you are using the parallel port it sounds like an interrupt problem. Check you settings in the BIOS and try different ECP/EPP settings for the port. -- Anish Mistry pgpMwOpB8y3vU.pgp Description: PGP signature
Re: Broken port tree: how to repair ?
delete /var/db/pkg/pkgdb.db (B do a cvsup of your port tree ... (B do a "make fetchindex" under /usr/ports (B now, check portversion -l'' (B it should reconstruct everything (B (B And what about stalled dependancies ? (B (B What is a stalled dependency? (B (BOr, perhaps more to the point, how does a dependency, stalled or (Botherwise, survive a broken ports tree? (B (B-- (BJoel Rees [EMAIL PROTECTED] (Bdigitcom, inc. $B3t<02q
Re: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C
After trying some various ideas, I ran dmesg and noticed the following message Interrupt storm detected on irq7: lpt0; throttling interrupt source This appears to be inline with what you are speaking of. Having said this, however, I played around with my BIOS settings and still could not get it to work. Here are the available options given. Parallel Port: Disabled Enabled Auto Mode: Output only Bi-directional EPP ECP Base I/O Address: 378 278 228 Interrupt: 5 7 DMA: 1 3 I am still playing around with combinations. Any suggestions? On Apr 10, 2005, at 9:31 PM, Anish Mistry wrote: On Sunday 10 April 2005 08:34 pm, Anthony M. Agelastos wrote: Hello all, My HP DeskJet 612C printer is printing unbearably slow (0.033 PPM). I have a stock installation (GENERIC KERNEL) of FreeBSD 5.3 straight off of the install CDs, and I have installed very little software thus far. I have mainly followed the installation instructions from http://www.csua.berkeley.edu/~ranga/notes/freebsd_cups.html It basically prints one line at a time, then pauses for a while, and makes some noises, and then repeats. The whole single test page took over 30 minutes to print. Does anyone have any insight/info that they can give me to solve this problem or point me in the right direction of solving it? I have Googled and done some searching and did not come up with anything. I checked the CUPS documentation and forums and did not see anything either. If you are using the parallel port it sounds like an interrupt problem. Check you settings in the BIOS and try different ECP/EPP settings for the port. -- Anish Mistry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C
Thank you for your reply, When I installed CUPS (make make install), it defaulted to ghostscript-gnu-7.07_12. After that, I installed Gimp-print. To get the printer working, I used the web-based admin system (http://localhost:631) and chose the 600/600c series printer drivers (CUPS+Gimp-Print). This resulted in retardedly-slow prints. After posting the email, I then tried the HP DeskJet 600/600C - CUPS+Gimp-Print drivers and it has the same problem. I do not see any other options to choose for this printer in the dialogue I am given. Are you suggesting that CUPS should use ESP Ghostscript as opposed to the one it defaults to? If so, how do I go about doing this? I have not installed any PPDs manually (I relied on Gimp-Print). Maybe, make sure you installed the correct driver-there are two; a high resolution, (something like 3K dots per inch, and it will only do 3K dots per inch, which makes it very slow,) and a driver that uses the CUPS specific version of ghostscript, ESP ghostscript, (the other drivers require all of gimp-print to be installed.) The ESP ghostscript drivers end with a -ijs extension, and that's probably the one you want. Look at the ppd file you installed in probably /usr/share/cups/model/ for something like: *cupsFilter: application/vnd.cups-postscript 0 foomatic-rip and see if there is anything in the file ending with -ijs. John BTW, this solved the same thing on my Epson Photo Stylus 780. Maybe your problem, too. -- John Conover, [EMAIL PROTECTED], http://www.johncon.com/ ___ 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: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C
I forgot to mention that after the first reply to my thread by John, I turned the resolution down to 150x150 (the lowest it would go) and black and white (not even grayscale). Putting the interrupt at 5 as opposed to 7 allowed for one whole test page to print straight through. Turning the quality to 300x300 grayscale promoted the same problem with the dmesg message: Interrupt storm detected on irq5: lpt0; throttling interrupt source On Apr 10, 2005, at 9:31 PM, Anish Mistry wrote: On Sunday 10 April 2005 08:34 pm, Anthony M. Agelastos wrote: Hello all, My HP DeskJet 612C printer is printing unbearably slow (0.033 PPM). I have a stock installation (GENERIC KERNEL) of FreeBSD 5.3 straight off of the install CDs, and I have installed very little software thus far. I have mainly followed the installation instructions from http://www.csua.berkeley.edu/~ranga/notes/freebsd_cups.html It basically prints one line at a time, then pauses for a while, and makes some noises, and then repeats. The whole single test page took over 30 minutes to print. Does anyone have any insight/info that they can give me to solve this problem or point me in the right direction of solving it? I have Googled and done some searching and did not come up with anything. I checked the CUPS documentation and forums and did not see anything either. If you are using the parallel port it sounds like an interrupt problem. Check you settings in the BIOS and try different ECP/EPP settings for the port. -- Anish Mistry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firefox crashing on unknown files
N.J. Thomas wrote: Firefox is crashing on me whenever I click on a link for a file whose extension is not in the system mime.types file. (It was crashing on every non-html link before I installed the mime-support port.) I am almost positive this is happening because the default plugin is not enabled -- this is what about:plugins says: Default Plugin File name: libnullplugin.so The default plugin handles plugin data for mimetypes and extensions that are not specified and facilitates downloading of new plugins. MIME Type Description SuffixesEnabled * All types .* No How can I enable libnullplugin.so or else prevent this behavior? Stats: FreeBSD 5.3-RELEASE-p7 firefox-1.0.2 thanks, Thomas Maybe the plugin has some problems or dependancies that needs updating? But whatever it is if you just delete it firefox will no longer popup on you about a missing plugin(or crash?). This is/was the recomended way of stopping firefox from asking you to get a plugin. So it is safe to delete. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X does not start with NVIDIA 1.0-7174 on 5.3
Soheil Hassas Yeganeh wrote: I have installed the NVIDIA 1.0-7174 on my FreeBSD 5.3 with Xorg 6.8.1 installed. I have no problem with NVIDIA 1.0-6113 driver but when I start X with the new driver it hangs up. Anyone can help me ? You are not using the port are you? The stock drivers have to be patched to work. Look at the make file of the current version to port them now yourself if you want. BTW, your xorg server is out of date, not that it matters for the driver. Also you can grep your log for EE and !! and WW just to make things easy. This is the Xorg log: X Window System Version 6.8.1 Release Date: 17 September 2004 X Protocol Version 11, Revision 0, Release 6.8.1 Build Operating System: FreeBSD 5.4 i386 [ELF] Current Operating System: FreeBSD soheil.laptop 5.3-STABLE-SNAP001 FreeBSD 5.3-STABLE-SNAP001 #0: Thu Mar 17 14:42:10 IRST 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/SOHEIL i386 Build Date: 09 March 2005 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Wed Apr 6 19:43:55 2005 (==) Using config file: /usr/X11R6/lib/X11/xorg.conf (==) ServerLayout X.org Configured (**) |--Screen Screen0 (0) (**) | |--Monitor Monitor0 (**) | |--Device Card0 (**) |--Input Device Mouse0 (**) |--Input Device Keyboard0 (==) Keyboard: CustomKeycode disabled (WW) `fonts.dir' not found (or not valid) in /usr/X11R6/lib/X11/fonts/Speedo/. Entry deleted from font path. (Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/Speedo/). (WW) `fonts.dir' not found (or not valid) in /usr/X11R6/lib/X11/fonts/CID/. Entry deleted from font path. (Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/CID/). (WW) `fonts.dir' not found (or not valid) in /usr/X11R6/lib/X11/fonts/75dpi/. Entry deleted from font path. (Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/75dpi/). (WW) `fonts.dir' not found (or not valid) in /usr/X11R6/lib/X11/fonts/100dpi/. Entry deleted from font path. (Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/100dpi/). (**) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/ (**) RgbPath set to /usr/X11R6/lib/X11/rgb (**) ModulePath set to /usr/X11R6/lib/modules (**) Option Xinerama off (**) Option NoAllowDeactivateGrabs (**) Option NoAllowClosedownGrabs (II) Module ABI versions: X.Org ANSI C Emulation: 0.2 X.Org Video Driver: 0.7 X.Org XInput driver : 0.4 X.Org Server Extension : 0.2 X.Org Font Renderer : 0.4 (II) Loader running on freebsd (II) LoadModule: bitmap (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a (II) Module bitmap: vendor=X.Org Foundation compiled for 6.8.1, module version = 1.0.0 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.4 (II) Loading font Bitmap (II) LoadModule: pcidata (II) Loading /usr/X11R6/lib/modules/libpcidata.a (II) Module pcidata: vendor=X.Org Foundation compiled for 6.8.1, module version = 1.0.0 ABI class: X.Org Video Driver, version 0.7 (--) Using syscons driver with X support (version 2.0) (--) using VT number 2 (II) PCI: Probing config type using method 1 (II) PCI: Config type is 1 (II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 8086,1a30 card 1028,00f3 rev 05 class 06,00,00 hdr 00 (II) PCI: 00:01:0: chip 8086,1a31 card , rev 05 class 06,04,00 hdr 01 (II) PCI: 00:1d:0: chip 8086,2482 card 1028,00f3 rev 02 class 0c,03,00 hdr 80 (II) PCI: 00:1d:1: chip 8086,2484 card 1028,00f3 rev 02 class 0c,03,00 hdr 00 (II) PCI: 00:1e:0: chip 8086,2448 card , rev 42 class 06,04,00 hdr 01 (II) PCI: 00:1f:0: chip 8086,248c card , rev 02 class 06,01,00 hdr 80 (II) PCI: 00:1f:1: chip 8086,248a card 1028,00f3 rev 02 class 01,01,8a hdr 00 (II) PCI: 00:1f:3: chip 8086,2483 card 1028,00f3 rev 02 class 0c,05,00 hdr 00 (II) PCI: 00:1f:5: chip 8086,2485 card 1028,00f3 rev 02 class 04,01,00 hdr 00 (II) PCI: 00:1f:6: chip 8086,2486 card 14f1,5421 rev 02 class 07,03,00 hdr 00 (II) PCI: 01:00:0: chip 10de,0112 card 1028,00f3 rev b2 class 03,00,00 hdr 00 (II) PCI: 02:01:0: chip 10b7,9200 card 1028,00f3 rev 78 class 02,00,00 hdr 00 (II) PCI: 02:04:0: chip 1217,6972 card fffd, rev 00 class 06,07,00 hdr 02 (II) PCI: End of PCI scan (II) Host-to-PCI bridge: (II) Bus 0: bridge is at (0:0:0), (0,0,3), BCTRL: 0x0008 (VGA_EN is set) (II) Bus 0 I/O range: [0] -1 0 0x - 0x (0x1) IX[B] (II) Bus 0 non-prefetchable memory range: [0] -1 0 0x - 0x (0x0) MX[B] (II) Bus 0 prefetchable memory range: [0] -1 0 0x - 0x (0x0) MX[B] (II) PCI-to-PCI bridge: (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000c (VGA_EN
rpc error on nfs
Help me, when i try to mount NFS on my machine,.. error messages appear like : NFS Portmap: RPC: Port mapper failure - RPC: Unable to send what was wrong on my system..? Thanks... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: route entries after ICMP redirect
[EMAIL PROTECTED] wrote: If you want to handle this in a more clever way than a cron job you could write a small daemon which reads routing messages and does the right thing for whatever your situation is. I've explore a code and found I can do quite easy addition for dynamic routes - fill an expire field, check it periodicaly and remove expired entries (just like for arp entries). I think to do a sysctl variable for indication what time will set as expire values and set it to zero by default (no expires). -- Sem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot manager
On Sun, Apr 03, 2005 at 08:47:22PM +0200, Emanuel Strobl wrote: Am Sonntag, 3. April 2005 20:36 schrieb Gert Cuykens: On Apr 3, 2005 7:33 PM, Christopher Nehren [EMAIL PROTECTED] wrote: On 2005-04-03, Teilhard Knight scribbled these What's wrong with FreeBSD's boot manager? It writes ?? instead of windows Nobody knows how it works for example how to install it witout sysinstall :P The latter is not true, the manpage very clearly points to boot0cfg, a very convinient tool and there's probably nothing out there which describes the booting stages on i386 better than the boot(8) manpage. I just checked boot0cfg and it really seems to be impossible to control ?? characters. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]