Boot Menu
Dear All, How can i change default menuitem in boot menu to number 3 or safe mode. so it will boot the default to number 3 in menu ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 6.0 smbfs problem
Dear All, The same with previous question : Now i can mount our NT system from freeBSD 6.0 Stable box with samba server installed. but i have a little problem. I see in kernel log say : smb_maperror: Unmapped error 1:158 this log appear when i try to mounting and execute excel file from Samba Server share. NT Share - Samba Server [Mounting NT Share] - Client Login to Samba Server and Execute Excel File. This only happen in Excel File. Then excel say something like sharing violation error ? Is this some kernel errors or samba errors ? Please Help Me ... Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.4 smbfs problem
Dear All, My last email about mounting FreeBSD 6.0 stable box to our NT system has a problem. And now I've been downgrading to 5.4. The problem's gone. Is this a bug in FreeBSD 6.0 System ? Now i can mount our NT system from freeBSD 5.4Stable box, but i have a litle problem. I see in kernel log say : smb_maperror: Unmapped error 1:158 this log appear when i try to mounting and execute excel file from NT share. Then excel say something like sharing violation error ? Is this some kernel errors or samba errors ? Thanks for helping me. Rd BSD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't Mount Windows NT From FreeBSD 6.0 Stable
Dear All, This is my third email to freebsd-questions with the same question. Why i can't mount my nt share from my freebsd 6.0 stable. it was stabilized to 6.0 about 2 weeks ago. when i have 5.4 stable there's no such error and all fine and worked. Would you allhelp me please ? Error : [EMAIL PROTECTED]: mount_smbfs -I 192.168.0.3 //[EMAIL PROTECTED]/misc$ /mnt/workgroup/1/ Password: mount_smbfs: unable to open connection: syserr = Connection reset by peer Kernel Error : WARNING: userland calling deprecated sysctl, please rebuild world Thanks for the answers. RdBSD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
smbfs in freebsd 6
Dear All, Now i have freebsd-6.0 stable updated via cvsup. that's work but i have a little problem when i'm trying to connect to my windows nt dc. it was fine when 5.4 as my current system. the error say : [EMAIL PROTECTED]: mount_smbfs -I 192.168.0.3 //[EMAIL PROTECTED]/misc$ /mnt/workgroup/ Password: mount_smbfs: unable to open connection: syserr = Connection reset by peer [EMAIL PROTECTED]: tail -f /var/log/messages Dec 2 10:31:44 i-box kernel: WARNING: userland calling deprecated sysctl, please rebuild world i have deleted /usr/include/g++ as instructions in readme file at /usr/src dir. and then i rebuild with make installworld. But those error still appear. Can anyone help me ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SMBFS Problem after Upgrading to 6.0 stable
Dear all, Now i've been upgrading my system to 6.0 stable. But i have a little problem with smbfs in freebsd that i can't mount our windows server from my bsd box. Here are log file say : [EMAIL PROTECTED]: mount_smbfs -I 192.168.0.3 //[EMAIL PROTECTED]/misc$ /mnt/workgroup/ Password: mount_smbfs: unable to open connection: syserr = Connection reset by peer Before upgrading, there's no such error. Thanks for answer. RdBSD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error installing php5.0.4 in freebsd 5.4 Stable
Dear All, I Have a Problem when installing php5.0.4 from source or from ports. Here's the detail of errors : www:make gcc -Iext/libxml/ -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/ext/libxml/ -DPHP_ATOM_INC -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/include -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/main -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4-I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/mysql/include -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/TSRM -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/Zend -g -O2 -c /data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/ext/libxml/libxml.c -o ext/libxml/libxml.o echo ext/libxml/libxml.lo In file included from /usr/local/include/libxml2/libxml/parser.h:781, from /data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4 /ext/libxml/libxml.c:38: /usr/local/include/libxml2/libxml/encoding.h:136: error: syntax error before iconv_t *** Error code 1 Stop in /data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4. Can anybody help me ? My System : FreeBSD 5.4 Stable Apache 1.3.1 PHP 5.0.4 Mysql 5 And other modules for Apache Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Denying Multiple login in samba with ipfw2
Dear all, Can i deny multiple login with the same username in samba using ipfw2 ? Thanks, RdBSD IT Staff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD dialin server
Dear all, I have freebsd 5.4 and i want to have dialin server. How can i configure my freebsd as dialin server. Thanks for the answer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Portinstall samba-vscan error
Dear all, i've an error when i try to install samba-vscan on ports. The error say : openantivirus/vscan-oav.c:179:33: invalid suffix a on integer constant openantivirus/vscan-oav.c:242:33: invalid suffix a on integer constant gmake: *** [openantivirus/vscan-oav.po] Error 1 *** Error code 2 this error has the same problem with another AV module. for example:: gmake kavp or clamav Stop in /usr/ports/security/samba-vscan. -- samba version : 3.0.14a freebsd 5.4 stable help me please as i need this vfs module. Thanks. RDBSD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Porting M0n0wall WebGUI to freebsd 5.4 Stable
Dear all, I've been tested monowall and it's captive portal. That's nice but missing some feature that i need. Than i've download rootfs from m0n0 to porting webgui into freebsd box. But i have some errors : #!/usr/local/bin/php Warning: Cannot add header information - headers already sent by (output started at /data/www/monowall/usr/local/www/services_captiveportal.php:2) in /data/www/monowall/usr/local/www/guiconfig.inc on line 33 Warning: Cannot add header information - headers already sent by (output started at /data/www/monowall/usr/local/www/services_captiveportal.php:2) in /data/www/monowall/usr/local/www/guiconfig.inc on line 34 Warning: Cannot add header information - headers already sent by (output started at /data/www/monowall/usr/local/www/services_captiveportal.php:2) in /data/www/monowall/usr/local/www/guiconfig.inc on line 35 Warning: Cannot add header information - headers already sent by (output started at /data/www/monowall/usr/local/www/services_captiveportal.php:2) in /data/www/monowall/usr/local/www/guiconfig.inc on line 36 Warning: Cannot add header information - headers already sent by (output started at /data/www/monowall/usr/local/www/services_captiveportal.php:2) in /data/www/monowall/usr/local/www/guiconfig.inc on line 37 Fatal error: Failed opening required 'config.inc' (include_path='.:/etc/inc:/data/www/monowall/usr/local/www:/usr/local/captiveportal') in /data/www/monowall/usr/local/www/guiconfig.inc on line 41 I've copied mono php.ini to /usr/local/lib/ in my freebsd box. Does anyone can help me ? RMN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Grub and NTFS
Dear all, Can I use grub to boot windows 2003 server with ntfs file system ? Thanks for help. Bsd'Ers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Nocat Radius Auth in Freebsd
Dear all, has anyone get succeded in installing nocat auth in freebsd using Radius datasource : I Have an error when client get authentication. My apache log say : [2005-06-03 09:32:07] User test from 192.168.0.5 requests form [2005-06-03 09:32:07] Connecting to RADIUS server 192.168.0.1 with Timeout 5 [2005-06-03 09:32:07] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:07] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:07] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:07] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:07] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:07] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:07] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:07] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:07] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:07] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:07] Use of uninitialized value in length at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 102, FILE line 1. [2005-06-03 09:32:07] Use of uninitialized value in concatenation (.) or string at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 112, FILE line 1. [2005-06-03 09:32:12] Going to the next server: check the secret/port/reachability of this one [2005-06-03 09:32:12] popped 192.168.0.1 in usenextserver [2005-06-03 09:32:12] Connecting to RADIUS server 192.168.0.1 with Timeout 5 [2005-06-03 09:32:12] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:12] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:12] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:12] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:12] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:12] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:12] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:12] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:12] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:12] Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 233, FILE line 1. [2005-06-03 09:32:12] Use of uninitialized value in length at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 102, FILE line 1. [2005-06-03 09:32:12] Use of uninitialized value in concatenation (.) or string at /usr/local/lib/perl5/site_perl/5.8.5/Authen/Radius.pm line 112, FILE line 1. [2005-06-03 09:32:17] Out of servers to try then i try to using DBI source, but still no luck : [2005-06-03 09:48:08] User [EMAIL PROTECTED] from 192.168.0.5 requests form [2005-06-03 09:48:09] /usr/local/bin/gpg --sign --armor --homedir=/usr/local/nocat/authserv/pgp --keyring trustedkeys.gpg --no-tty -o- returned error message: gpg: WARNING: using insecure memory! gpg: please see http://www.gnupg.org/faq.html for more information gpg: Sorry, no terminal at all requested - can't get input [2005-06-03 09:48:09] /usr/local/bin/gpg --sign --armor --homedir=/usr/local/nocat/authserv/pgp --keyring trustedkeys.gpg --no-tty -o- returned error: ( 2 ) Can't call method text on an undefined value at ../lib//NoCat/AuthService.pm line 134. [Fri Jun 3 09:48:09 2005] [error] [client 192.168.0.5] Premature end of script headers: /usr/local/nocat/authserv/cgi-bin/login can anyone help me ? Thanks your your attention. Rd BSD ___ freebsd-questions@freebsd.org mailing list
Simetric Upload Download Bandwidth pf+altq
Dear all, I want to ask something that strange for me. I Have freebsd 5.4 Stable with pf+altq compiled in kernel. i try to use the altq for bandwidth shaping. the script is : altq on $internet_if bandwidth 64Kb cbq queue { gateway, internet } queue gateway priority 1 bandwidth 64Kb cbq( ecn default ) queue internet priority 2 bandwidth 64Kb cbq( ecn ) { standard, pri_3, pri_6, pri_7 } queue standard priority 5 cbq( ecn borrow ) queue pri_3 bandwidth 64Kb priority 3 cbq( ecn ) { http, smtp, ssh_data, ftp, pop3 } queue smtp cbq( ecn ) queue ssh_data cbq( ecn ) queue ftp cbq( ecn ) queue pop3 cbq( ecn ) queue pri_6 bandwidth 64Kb priority 4 cbq( ecn ) queue http cbq( ecn ) queue pri_7 priority 7 cbq( ecn borrow ) { im, ssh_login, domain } queue imcbq( ecn ) queue ssh_login cbq( ecn ) queue domaincbq( ecn ) pass on $internet_if proto tcp from any port { ftp, 455001 } queue ftp $tcp_options pass on $internet_if proto tcp to any port { ftp, 455001 } queue ftp $tcp_options but when i try to upload my files, my speed meter show 416Kbps. but it's different with download speed. it has a 64Kbps and i think this speed is correct. My question is why it;s different beetwen upload and download in pf+altq Rgds, Rino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ppp conf
Dear All, I Just add 9 in front of the set phone, but i still cannot connect to isp. Log say No Dialtone. But if i dial direct using telephone i can dial out to isp and same result if i test with windows. Please help me. i use pabx and i have to dial 9 first to dial out. Thanks for your answer ppp.conf : dialisp: set phone 9, 1223311 set log Phase Chat LCP IPCP CCP tun command set login set authname me set authkey me set timeout 120 set ifaddr 0.0.0.0/0 0.0.0.0/0 0.0.0.0 0.0.0.0 add default HISADDR enable dns set reconnect 3 20 set timeout 60 300 # The minimum charge period is 5 minutes, so don't set device /dev/cuaa0 # Or whatever set speed 115200 # Use as high a speed as possible set log -command +tcp/ip disable iface-alias iface clear ppp.log : Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Phone: 9, 1223311 Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: deflink: Dial attempt 1 of 1 Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Send: AT^M Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Expect(5): OK Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Received: AT^M^M Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Received: OK^M Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Send: ATE1Q0^M Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Expect(5): OK Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Received: ATE1Q0^M^M Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Received: OK^M Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Send: ATDT9, 1223311^M Mar 30 08:32:24 ws1 ppp[500]: tun0: Chat: Expect(40): CONNECT Mar 30 08:32:26 ws1 ppp[500]: tun0: Chat: Received: ATDT9, 1223311^M^M Mar 30 08:32:26 ws1 ppp[500]: tun0: Chat: Received: NO DIALTONE^M Mar 30 08:33:04 ws1 ppp[500]: tun0: Chat: Expect timeout Mar 30 08:33:04 ws1 ppp[500]: tun0: Warning: Chat script failed Mar 30 08:33:04 ws1 ppp[500]: tun0: Phase: deflink: dial - hangup Mar 30 08:33:04 ws1 ppp[500]: tun0: Phase: deflink: Disconnected! Mar 30 08:33:04 ws1 ppp[500]: tun0: Phase: deflink: Connect time: 42 secs: 0 octets in, 0 octets out Mar 30 08:33:04 ws1 ppp[500]: tun0: Phase: deflink: 0 packets in, 0 packets out Mar 30 08:33:04 ws1 ppp[500]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Wed Mar 30 08:32:22 2005 Mar 30 08:33:04 ws1 ppp[500]: tun0: Phase: deflink: hangup - closed Mar 30 08:33:04 ws1 ppp[500]: tun0: Phase: bundle: Dead Mar 30 08:33:04 ws1 ppp[500]: tun0: Phase: PPP Terminated (normal). On Tue, 29 Mar 2005 06:54:50 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Just add the 9 to front of phone number you code in ppp.conf for ISP. Read this http://freebsd.packards-home.net/index.php -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of RdBSD Sent: Tuesday, March 29, 2005 2:59 AM To: freebsd-questions@freebsd.org Subject: ppp conf Dear all, I want to connect to isp using dial up modem, but my office has a rule if we want to connect to outside we have to dial 9 first then destination number. How can i configure ppp.conf ? Thanks for the answer. ___ 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]
ppp conf
Dear all, I want to connect to isp using dial up modem, but my office has a rule if we want to connect to outside we have to dial 9 first then destination number. How can i configure ppp.conf ? Thanks for the answer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ipfw altq support howto
dear all, i have patch for ipfw altq support. i've patch it and rebuild the kernel. i have 5.3 stable with ipfw and pf enabled. but when i rebuild the kernel by make buildkernel KERNCONF=conf i have error : cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/netinet/in_proto.c /usr/src/sys/netinet/in_proto.c:216: error: `div_usrreqs' undeclared here (not in a function) /usr/src/sys/netinet/in_proto.c:216: error: initializer element is not constant /usr/src/sys/netinet/in_proto.c:216: error: (near initialization for `inetsw[11].pr_usrreqs') /usr/src/sys/netinet/in_proto.c:216: error: initializer element is not constant /usr/src/sys/netinet/in_proto.c:216: error: (near initialization for `inetsw[11]') /usr/src/sys/netinet/in_proto.c:240: error: initializer element is not constant /usr/src/sys/netinet/in_proto.c:240: error: (near initialization for `inetsw[12]') /usr/src/sys/netinet/in_proto.c:248: error: initializer element is not constant /usr/src/sys/netinet/in_proto.c:248: error: (near initialization for `inetsw[13]') *** Error code 1 Stop in /usr/obj/usr/src/sys/blaster-pf. *** Error code 1 Stop in /usr/src. *** Error code 1 anybody can help me ? Thanks. RD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]