Re: Bash
Thank You Derrick Wow, talk about a quick response !! Worked like a charm, I already have bash up and running as a user. Thank You Andy On Fri, 6 Feb 2004 04:16 pm, you wrote: > Use chsh = change shell > Or vipw - and change the shell there. > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Andy > > Sent: Thursday, February 05, 2004 10:24 PM > > To: [EMAIL PROTECTED] > > Subject: Bash > > > > Hiya All > > > > Hoping this is easy. Whenever I log in, I get bash (2) as > > root, but it does not work with a user login unless I invoke > > it (/usr/local/bin/bash) and then switches off when close > > that terminal. Sorry if this question is a bit basic, I have > > read the man page, and have added the startup lines in > > ~/.cshrc and in ~/.login, but no good. Can anyone tell me > > where I have gone wrong here ? > > Please mail to this address as I am not on the list. > > > > All help appreciated > > Thank You > > Andy > > -- > > Powered By FreeBSD 4.7-RELEASE. Free your desktop. > > > > ___ > > [EMAIL PROTECTED] mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" -- Powered By FreeBSD 4.7-RELEASE. Free your desktop. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl issues after port upgrade
On Fri, 2004-02-06 at 08:33, george vagner wrote: > I upgraded perl via ports to 5.8.2 and typed in "use.perl port" > as it said and now i am getting problems with my scripts such as. > > Message: Premature end of script headers: /usr/local/www/cgi-bin/openwebmail/ > openwebmail-send.pl > Can't locate Text/Iconv.pm in @INC (@INC contains: /usr/local/lib/perl5/ > site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 /usr/ > libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/www/cgi-bin/ > openwebmail) at /usr/local/www/cgi-bin/openwebmail/shares/iconv.pl line 7. > BEGIN failed--compilation aborted at /usr/local/www/cgi-bin/openwebmail/ > shares/iconv.pl line 7. > > this is where i found the iconv.pm file. > > /usr/local/lib/perl5/site_perl/5.8.2/mach/Text/Iconv.pm > > there is a directory /usr/local/lib/perl5/site_perl/5.005 > but it has no iconv.pm file in it. You'll find that all the programs you installed that required perl before you upgraded to 5.8.2 will give you problems. My advice for you is a re-install of all those programs. Apache if you use it will probably also need to be re-installed. Regards, -- Nelis Lamprecht PGP: http://www.8ball.co.za/pgp/nelis.key "Unix IS user friendly.. It's just selective about who its friends are." signature.asc Description: This is a digitally signed message part
Re: Bash
On Fri, Feb 06, 2004 at 04:24:15PM +1000, Andy wrote: > Hiya All > > Hoping this is easy. Whenever I log in, I get bash (2) as root, but it does > not work with a user login unless I invoke it (/usr/local/bin/bash) and then > switches off when close that terminal. Sorry if this question is a bit basic, > I have read the man page, and have added the startup lines in ~/.cshrc and in > ~/.login, but no good. Can anyone tell me where I have gone wrong here ? As the user, run chsh(1), and change to your preferred shell. -- Jonathan Chen <[EMAIL PROTECTED]> -- "Nyuck, nyuck, nyuck" - Curly ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
perl issues after port upgrade
I upgraded perl via ports to 5.8.2 and typed in "use.perl port" as it said and now i am getting problems with my scripts such as. Message: Premature end of script headers: /usr/local/www/cgi-bin/openwebmail/ openwebmail-send.pl Can't locate Text/Iconv.pm in @INC (@INC contains: /usr/local/lib/perl5/ site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 /usr/ libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/www/cgi-bin/ openwebmail) at /usr/local/www/cgi-bin/openwebmail/shares/iconv.pl line 7. BEGIN failed--compilation aborted at /usr/local/www/cgi-bin/openwebmail/ shares/iconv.pl line 7. this is where i found the iconv.pm file. /usr/local/lib/perl5/site_perl/5.8.2/mach/Text/Iconv.pm there is a directory /usr/local/lib/perl5/site_perl/5.005 but it has no iconv.pm file in it. I am thinking I may need a link to the new perl but dont know the correct syntax of how to apply it. I thought i might make a link from the 5.005 to the 5.8.2 directory but am afraid it may be incorrect to do it this way and need suggestions. thanks for the support! George ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Stack Backtraces -- disk related?
Hello all, I've been getting these messages on my console and in my kernel log. I'm noticing stuff in there that looks like it has to do with the filesystem. Both the disks on this system are IDE disks, so yes, this kind of gets my attention. What does it mean? I'm running 5.2-CURRENT on this system: > > syscall(2f,2f,2f,bfbfee14,bfbfedc3) at syscall+0x217 > Xint0x80_syscall() at Xint0x80_syscall+0x1d > --- syscall (95), eip = 0x280b8677, esp = 0xbfbfed9c, ebp = 0xbfbfedcc --- > Stack backtrace: > backtrace(c25d0f00,1,cda99c14,cda99c00,c0718580) at backtrace+0x12 > getdirtybuf(cda99bf0,0,1,c45b52a8,1) at getdirtybuf+0x2c > flush_deplist(c2c27a4c,1,cda99c14) at flush_deplist+0x30 > flush_inodedep_deps(c217b000,285eb,c087f118,cda99c60,c05fb1e0) at > flush_inodedep_deps+0x82 > softdep_sync_metadata(cda99cb0) at softdep_sync_metadata+0x72 > ffs_fsync(cda99cb0) at ffs_fsync+0x336 > fsync(c23f37e0,cda99d14,1,1,292) at fsync+0x10b > syscall(2f,2f,2f,bfbfee14,bfbfedc3) at syscall+0x217 > Xint0x80_syscall() at Xint0x80_syscall+0x1d > --- syscall (95), eip = 0x280b8677, esp = 0xbfbfed9c, ebp = 0xbfbfedcc --- > Stack backtrace: > backtrace(c285,1,cd546c14,cd546c00,c0718580) at backtrace+0x12 > getdirtybuf(cd546bf0,0,1,c45b52a8,1) at getdirtybuf+0x2c > flush_deplist(c25d32cc,1,cd546c14) at flush_deplist+0x30 > flush_inodedep_deps(c217b000,28528,c087f118,cd546c60,c05fb1e0) at > flush_inodedep_deps+0x82 > softdep_sync_metadata(cd546cb0) at softdep_sync_metadata+0x72 > ffs_fsync(cd546cb0) at ffs_fsync+0x336 > fsync(c20f73f0,cd546d14,1,9cf,292) at fsync+0x10b > syscall(2f,2f,2f,c,0) at syscall+0x217 > Xint0x80_syscall() at Xint0x80_syscall+0x1d > --- syscall (95), eip = 0x280be677, esp = 0xbfbfebbc, ebp = 0xbfbfecf8 --- > Stack backtrace: > backtrace(c21a0a80,1,cd546c14,cd546c00,c0718580) at backtrace+0x12 > getdirtybuf(cd546bf0,0,1,c45b52a8,1) at getdirtybuf+0x2c > flush_deplist(c27fda4c,1,cd546c14) at flush_deplist+0x30 > flush_inodedep_deps(c217b000,2852a,c087f118,cd546c60,c05fb1e0) at > flush_inodedep_deps+0x82 > softdep_sync_metadata(cd546cb0) at softdep_sync_metadata+0x72 > ffs_fsync(cd546cb0) at ffs_fsync+0x336 > fsync(c20f73f0,cd546d14,1,9e3,292) at fsync+0x10b > syscall(2f,2f,2f,,0) at syscall+0x217 > Xint0x80_syscall() at Xint0x80_syscall+0x1d > --- syscall (95), eip = 0x280be677, esp = 0xbfbfebbc, ebp = 0xbfbfecf8 --- > Stack backtrace: > backtrace(c2845300,1,cd546c14,cd546c00,c0718580) at backtrace+0x12 > getdirtybuf(cd546bf0,0,1,c45ddc58,1) at getdirtybuf+0x2c > flush_deplist(c2c26d4c,1,cd546c14) at flush_deplist+0x30 > flush_inodedep_deps(c217b000,28486,c087f118,cd546c60,c05fb1e0) at > flush_inodedep_deps+0x82 > softdep_sync_metadata(cd546cb0) at softdep_sync_metadata+0x72 > ffs_fsync(cd546cb0) at ffs_fsync+0x336 > fsync(c20f73f0,cd546d14,1,cbb,292) at fsync+0x10b > syscall(2f,2f,2f,,0) at syscall+0x217 > Xint0x80_syscall() at Xint0x80_syscall+0x1d > --- syscall (95), eip = 0x280be677, esp = 0xbfbfebbc, ebp = 0xbfbfecf8 --- > Stack backtrace: > backtrace(c2893200,1,cd546c14,cd546c00,c0718580) at backtrace+0x12 > getdirtybuf(cd546bf0,0,1,c459b100,1) at getdirtybuf+0x2c > flush_deplist(c28a,1,cd546c14) at flush_deplist+0x30 > flush_inodedep_deps(c217b000,285f5,c087f118,cd546c60,c05fb1e0) at > flush_inodedep_deps+0x82 > softdep_sync_metadata(cd546cb0) at softdep_sync_metadata+0x72 > ffs_fsync(cd546cb0) at ffs_fsync+0x336 > fsync(c20f73f0,cd546d14,1,fc0,292) at fsync+0x10b > syscall(2f,2f,2f,,0) at syscall+0x217 > Xint0x80_syscall() at Xint0x80_syscall+0x1d > --- syscall (95), eip = 0x280be677, esp = 0xbfbfebbc, ebp = 0xbfbfecf8 --- > Stack backtrace: > backtrace(c288d500,1,cdb4ec14,cdb4ec00,c0718580) at backtrace+0x12 > getdirtybuf(cdb4ebf0,0,1,c459b100,1) at getdirtybuf+0x2c > flush_deplist(c2850ccc,1,cdb4ec14) at flush_deplist+0x30 > flush_inodedep_deps(c217b000,28572,c087f118,cdb4ec60,c05fb1e0) at > flush_inodedep_deps+0x82 > softdep_sync_metadata(cdb4ecb0) at softdep_sync_metadata+0x72 > ffs_fsync(cdb4ecb0) at ffs_fsync+0x336 > fsync(c261f000,cdb4ed14,1,0,292) at fsync+0x10b > syscall(2f,2f,2f,bfbfee14,bfbfedc3) at syscall+0x217 > Xint0x80_syscall() at Xint0x80_syscall+0x1d > --- syscall (95), eip = 0x280b8677, esp = 0xbfbfed9c, ebp = 0xbfbfedcc --- > Stack backtrace: > backtrace(c2893880,1,cda8dc14,cda8dc00,c0718580) at backtrace+0x12 > getdirtybuf(cda8dbf0,0,1,c459b100,1) at getdirtybuf+0x2c > flush_deplist(c28acbcc,1,cda8dc14) at flush_deplist+0x30 > flush_inodedep_deps(c217b000,28573,c087f118,cda8dc60,c05fb1e0) at > flush_inodedep_deps+0x82 > softdep_sync_metadata(cda8dcb0) at softdep_sync_metadata+0x72 > ffs_fsync(cda8dcb0) at ffs_fsync+0x336 > fsync(c23f32a0,cda8dd14,1,2,292) at fsync+0x10b > syscall(2f,2f,2f,bfbfee14,bfbfedc3) at syscall+0x217 > Xint0x80_syscall() at Xint0x80_syscall+0x1d > --- syscall (95), eip = 0x280b8677, esp = 0xbfbfed9c, ebp = 0xbfbfedcc --- > Stack backtrace: > backtrace(c288ee00,1,cd546c14,cd546c00,c0718580) at backtrace+0x12 > get
RE: ipf + ipnat + dmz + bridge question
On Thu, 2004-02-05 at 15:04, Jason Lavigne wrote: > Clever. I tried that and now I have found a different issue, I don't > know if ipnat is working correctly, I can browse the internet using my > LAN however the ipnat.rules are being completely ignored, I removed all > rules and I can still browse the Internet with my LAN and to me this is > odd. > > Any ideas? Just one. Besides the usual kernel tunes the most important one for ipf to successfully work is IP Forwarding. Make sure you have this enabled. sysctl net.inet.ip.forwarding=1 > > Thanks for your time. > > Jay > > -Original Message- > From: Nelis Lamprecht [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 05, 2004 3:47 AM > To: Jason Lavigne > Cc: FreeBSD Questions Mail List > Subject: Re: ipf + ipnat + dmz + bridge question > > On Thu, 2004-02-05 at 02:57, Jason Lavigne wrote: > > Hello all, > > > > I currently have a firewall with 3 nics, one goes to the net, one to > the > > DMZ and one to the LAN. I have ipf and ipnat running along with > FreeBSD > > bridge support and I have the external nic and the DMZ nic bridged. > All > > DMZ computers are configured with a real public ip and have the > firewall > > as the gateway. > > > > My question is when any computer from my DMZ goes out to the net it > uses > > the ip of the firewall and not the public ip it was assigned. > Internally > > within the DMZ they use the correct ips. How can I make it so when the > > DMZ computers are on the net they report as using their assigned ip. > Is > > the DMZ using ipnat? I only have the LAN mapped in ipnat.rules and > > nothing about the DMZ ips. > > > > TIA > > > > Jay > > > > Here are my configs: > > > > ifconfig > > > > dc0: flags=8843 mtu 1500 > > inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 > > inet6 fe80::203:6dff:fe00:9bd%dc0 prefixlen 64 scopeid 0x1 > > ether 00:03:6d:00:09:bd > > media: Ethernet autoselect (100baseTX) > > status: active > > dc1: flags=8943 mtu > 1500 > > inet6 fe80::280:c6ff:feea:7af1%dc1 prefixlen 64 scopeid 0x2 > > inet xxx.yyy.200.99 netmask 0xfff0 broadcast > xxx.yyy.200.111 > > ether 00:80:c6:ea:7a:f1 > > media: Ethernet autoselect (100baseTX ) > > status: active > > xl0: flags=8943 mtu > 1500 > > options=3 > > inet6 fe80::250:daff:fe1b:90c3%xl0 prefixlen 64 scopeid 0x3 > > inet xxx.yyy.200.106 netmask 0x broadcast > > xxx.yyy.200.106 > > inet xxx.yyy.200.107 netmask 0x broadcast > > xxx.yyy.200.107 > > ether 00:50:da:1b:90:c3 > > media: Ethernet autoselect (10baseT/UTP) > > status: active > > lp0: flags=8810 mtu 1500 > > lo0: flags=8049 mtu 16384 > > inet6 ::1 prefixlen 128 > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 > > inet 127.0.0.1 netmask 0xff00 > > tun0: flags=8051 mtu 1492 > > inet xxx.yyy.200.97 --> 207.136.64.4 netmask 0xff00 > > Opened by PID 241 > > > > /etc/ipnat.rules > > > > # nat the lan > > map xl0 192.168.1.0/24 -> xxx.yyy.200.97/32 > > try changing this to: > > map xl0 from 192.168.1.0/24 ! to xxx.yyy.200.99/32 -> xxx.yyy.200.97/32 > > which basically tells ipnat to always use NAT unless you are speaking > with your DMZ xxx.yyy.200.99/32 > > > Regards, -- Nelis Lamprecht PGP: http://www.8ball.co.za/pgp/nelis.key "Unix IS user friendly.. It's just selective about who its friends are." signature.asc Description: This is a digitally signed message part
Bash
Hiya All Hoping this is easy. Whenever I log in, I get bash (2) as root, but it does not work with a user login unless I invoke it (/usr/local/bin/bash) and then switches off when close that terminal. Sorry if this question is a bit basic, I have read the man page, and have added the startup lines in ~/.cshrc and in ~/.login, but no good. Can anyone tell me where I have gone wrong here ? Please mail to this address as I am not on the list. All help appreciated Thank You Andy -- Powered By FreeBSD 4.7-RELEASE. Free your desktop. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
USB wireless adapter (netgear wg121)
Hi, I get access to the Internet via a wireless connection to my router in another room. I use a usb wireless adapter (Netgear WG121), which works fine under Winbut I am really not sure how to get this working with FreeBSD 5.1. I have read the manual and a few forum posts, and it seems that USB adapters are supported by default in FreeBSD 5? Is this true, or is there something I need to enable in the kernel? I am just not sure what to do in order to get this working, and until it works...my BSD box is without inet access :(:( Could anyone help? Thanks for your time! Best regards Wang ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD Traffic Shaping?
Greetings all: I have a ADSL connection where the upstream pipe is smaller than the downstream with it at 1.5Mbps/384kbps now and will be upgrading to 6Mbps/608kbps soon. The issue I'm having is that whenever I upload, it fills the upstream to full capacity and the downstream would lag as the ACKs can't be send back in time. I was told that with traffic shaping or fair queue routing would solve this issue but I only have one NIC interface as I am running FreeBSD on a fully loaded notebook with a Pentium 4M-2.6Ghz CPU, 2GB RAM and 60GB 7200RPM HDD with a 10/100 3COM xl0 built in NIC. The problem is that I have 8 static IP's with my ISP so that the LAN IP's, x.x.x.224-.231 netmask 255.255.255.0 are all locally on the LAN so I want those to use the full speed of the connection without traffic shaping. The NIC also has the 192.168.x.x netmask 255.255.0.0 addresses for the local LAN as well so how do I setup traffic shaping in this scenario so that only traffic that actually uses x.x.x.1 from the x.x.x.224 IP that isn't local LAN traffic actually use traffic shaping or fair queue routing while LAN traffic will just use the full speed. I already have these options in the KERNEL config. options IPFIREWALL options IPDIVERT options DUMMYNET options BRIDGE Thanks for your help in advance! Cheers, Vince - [EMAIL PROTECTED] - Vice President __ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[] [EMAIL PROTECTED] - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Free space wierdness
Hi, A process running on your server might have created a large temporary file which was occupyng space and which got deleted when the server got a reboot. Regards SSR From: Herbert Wolverson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Free space wierdness Date: Thu, 5 Feb 2004 15:12:07 -0600 I have a system running FreeBSD 4.9-RELEASE. It primarily functions as a firewall and router, and is generally pretty lightly loaded (load averages around 0.2). It is a low end system (P200, 64mb RAM, 2 gig hard drive), and is generally stable as a rock. The system has drives setup as follows: / 256M (UFS) /usr1.2gb (UFS+Softupdates) (/var and /tmp are linked onto /usr/var and /usr/tmp respectively) This morning I noticed that the "/" partition was at 108% utilization, and "df -h" looked like this (approximately): FilesystemSize Used Avail Capacity Mounted on /dev/ad0s1a 252M 256M -8M108% / Oddly, "du -h -d1 -x" showed only a total of 29Mb used on the partition! The output looked like this: su-2.05b# du -h -d1 -x 68K./dev 2.0K./usr 2.7M./stand 1.3M./etc 512B./proc 4.0M./bin 542K./boot 2.0K./mnt 6.4M./modules 30K./root 12M./sbin 4.0K./tmp 4.0K./oldvar 29M. When I rebooted the system (without deleting any files), "df -h" showed the following: FilesystemSize Used Avail Capacity Mounted on /dev/ad0s1a 252M29M 203M12%/ This is good, since the correct amount of free space now shows, and the server is back to running perfectly. Can anyone shed any light as to why this discrepancy happened in the first place? I'd love to know what I can do to avoid ever having to worry about this again! Thanks, Herbert Wolverson, The Turner Stephenson Group, Inc. http://www.tsghelp.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" _ Marriage? Join BharatMatrimony.com. http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Freebsd on a usb pen drive ,, bootable?
Has anyone installed freebsd to a usb pen drive,, boot from pen drive etc..? I have a 256 mb. cigar pro-2 usb pen drive and i would like to use it to carry a small freebsd operating system with me and be able to boot from it. I would also like to pull out the hard drive in my firewall and replace it with a pen drive,, have it boot and run from the pen drive would be nice and since after boot everything "most things" would run from ram i dont see a problem with speed. Its this dam booting thing that has me stumped. I loaded freebsd 5.2, it recognized the pen drive during boot from the cd ,,the only drive on the system to avoid confusion,, and it was available to the system as da0. I successfully setup partitions and such, installed a standard minimal base installeverything went fine and rebooted at the end as usual. Ok so in my bios i set to boot from usb-hddusb-fddusb-zip ,, and nothing. I have another computer with usb-hdd in the bios so i tried it on that,, its a award bios,,, it did seem to do something on the usb-hdd setting as it showed "FREEBSD -- F1" like it does with first starting my regular desktop with 5.2 but it does nothing and the computer only beeps if i press F1 enter or anything really. Has anyone done this before, i could sure use some help with this. Thanks and have a great day. -- Sweetleaf [EMAIL PROTECTED] -- http://www.fastmail.fm - IMAP accessible web-mail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: buildworld inside a jail
On Friday 06 February 2004 03:05, Colin Percival wrote: > At 01:59 06/02/2004, Harald Schmalzbauer wrote: > >with identical (5.2-p2) sources I can buildworld on the host machine but > > if I try to buildowrld inside a jail it fails with the following error: > >"Works for me". Can you describe > * The kernel you're running, Custom UP, APIC, SCHED_4BSD and acpi. Please find the config attached > * The world you've got inside the jail, and It's the world of "make installworld DESTDIR=/jail" > * The contents of /dev inside the jail? It's the result of [devfsrules_jail=4] from devfs.rules (/etc/defaults) reading: dr-xr-xr-x 2 root wheel - 512 5 Feb 23:21:07 2004 fd dr-xr-xr-x 2 root wheel - 512 5 Feb 23:21:07 2004 net crw-rw-rw- 1 root wheel - 2, 2 6 Feb 03:13:50 2004 null crw-rw-rw- 1 root wheel - 6, 0 6 Feb 02:35:01 2004 ptyp0 crw-rw-rw- 1 root wheel - 6, 1 6 Feb 03:18:17 2004 ptyp1 crw-rw-rw- 1 root wheel - 6, 2 6 Feb 02:31:13 2004 ptyp2 crw-rw-rw- 1 root wheel - 6, 3 6 Feb 01:13:39 2004 ptyp3 crw-rw-rw- 1 root wheel - 249, 0 5 Feb 23:21:08 2004 random lrwxr-xr-x 1 root wheel -6 5 Feb 23:21:07 2004 stderr -> fd/2 lrwxr-xr-x 1 root wheel -5 5 Feb 23:21:07 2004 stdin -> fd/0 lrwxr-xr-x 1 root wheel -6 5 Feb 23:21:07 2004 stdout -> fd/1 crw-rw-rw- 1 root wheel - 5, 0 6 Feb 03:18:17 2004 ttyp0 crw--w 1 root tty- 5, 1 6 Feb 03:18:17 2004 ttyp1 crw-rw-rw- 1 root wheel - 5, 2 6 Feb 02:31:13 2004 ttyp2 crw-rw-rw- 1 root wheel - 5, 3 6 Feb 01:13:39 2004 ttyp3 lrwxr-xr-x 1 root wheel -7 5 Feb 23:21:07 2004 urandom -> random crw-rw-rw- 1 root wheel - 2, 12 5 Feb 23:20:19 2004 zero Thank you, -Harry P.S. Its past 3 in the mornig here so I'll be back tomorrow. Thanks a lot! > > Colin Percival > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "[EMAIL PROTECTED]" machine i386 cpu I686_CPU ident DFI options SCHED_4BSD #4BSD scheduler #optionsSCHED_ULE options INET#InterNETworking options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options QUOTA options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS#Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] #optionsCOMPAT_FREEBSD4 #Compatible with FreeBSD4 options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options CLK_USE_I8254_CALIBRATION options CLK_USE_TSC_CALIBRATION options HZ=2000 options PERFMON options RANDOM_IP_ID # To make an SMP kernel, the next two are needed #optionsSMP # Symmetric MultiProcessor Kernel #options MPTABLE_FORCE_HTT device apic# I/O APIC device isa device pci device agp # support several AGP chipsets device npx device acpi # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass# Passthrough device (direct SCSI access) # RAID controllers device twe # 3ware ATA RAID # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard options ATKBD_DFLT_KEYMAP # specify the built-in keymap makeoptions ATKBD_DFLT_KEYMAP=german.iso device psm # PS/2 mouse device vga # VGA video card driver # syscons is the default console driver, resembling an SCO console device sc options MAXCONS=12 options SC_DISABLE_REBOOT options SC_DFLT_FONT# compile font in makeoptions SC_DFLT_FONT=iso15 # Add suspend/resume s
Re: switching to an internal DSL modem -- natd, ipfw
On Thu, 5 Feb 2004, Mikhail Teterin wrote: > [Now CC-ing Chuck Cranor -- the en's author] > > => => http://store.yahoo.com/softbuyweb/inpcidslmod3.html > > => =What makes you think we have a driver for this? > > => The en(4) manual page and the description of this product (on the > => page above) as one based on Efficient Network's chip. Can there be > => anything else? > > =I'd be dubious.. the en driver was for an old expensive ATM card from > ='95 or so.. even though the ad says it supports PPPoE among other > =things, I'd be pretty surprised if we could talk to it.. > > =(surprises do happen though) > > So, back to the original question -- am I likely to have to any problems > with natd and ipfw dealing with this non-Ethernet interface -- assuming > en-driver attaches to this card at all? > > Any other ATM card I should consider as an internal DSL modem? Thanks! natd and ipfw will work with any interface.. they are attached to teh ip stack.. I don't KNOW of any DSL cards that are supported but it's difficult to keep abreast of ALL developments :-) > > -mi > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: buildworld inside a jail
At 01:59 06/02/2004, Harald Schmalzbauer wrote: with identical (5.2-p2) sources I can buildworld on the host machine but if I try to buildowrld inside a jail it fails with the following error: "Works for me". Can you describe * The kernel you're running, * The world you've got inside the jail, and * The contents of /dev inside the jail? Colin Percival ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Advertising?
I thank you for your display of considerable arrogance and unwillingness to cooperte on a socdial or business level. - Original Message - From: "Peter Risdon" <[EMAIL PROTECTED]> To: "Greg Wilson" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, February 05, 2004 8:32 PM Subject: Re: Advertising? > Greg Wilson wrote: > > >http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001602.html > >http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001781.html > > > >Hi > > > >I reference these two documents, where you have publish my private correspondance. > > > This was obviously inadvertent, but as has been pointed out you mailed a > mailing list, not an individual, and so your correspondence has never > been private. We all read it as soon as you sent it out. > > The fact that this is a mailing list is made very clear on the FreeBSD > website. > > All mails sent to this list are archived (and mirrored around the world) > automatically, and this is a necessary and important part of the way > these lists function. It means an archive (which is searchable) builds > up as a point of reference, so people who are dealing with problems and > issues can refer to it. Also, there's some chance that questions won't > be asked over and over again. Again, this is made clear on the FreeBSD > website. Indeed, you can search the archives right there. > > From time to time people do send inappropriate messages to the list. > Frankly, most subscribers would prefer it if they didn't. Your mail was > in this category. Inappropriate mails waste people's time. You are, in > effect, asking someone to waste more time. > > > I am writing to ask you to remove these documents which were published with out my consent. > > > > > IANAL, but I'd have thought that the act of sending a mail to a public, > open, archived forum constitutes consent to the contents of that mail > being displayed in a public, open, archived forum. > > >Please tell me when they are removed, > > > > > The horse left the stable when you first posted the mails. I can't see > that any harm has been done. But if it has, it happened when you sent > the mails. Perhaps you could consider this to have been a learning > experience? > > PWR. > > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Disk no longer valid
Greetings. After rebooting a system that had been up for quite some time, I could not get the second drive (da1) to mount. The drive worked fine before I rebooted. dmesg reported: . . . da1s4: rejecting partition in BSD label: it isn't entirely within the slice da1s4: start 63, end 71132959, size 71132897 da1s4d: start 0, end 71132959, size 71132960 . . . When I tried to access the disk, dmesg said: . . . (da1:ahc0:0:1:0): SCB 0x36 - timed out Dump Card State Begins < ahc0: Dumping Card State while idle, at SEQADDR 0x9 Card was paused ACCUM = 0x0, SINDEX = 0x1e, DINDEX = 0xe4, ARG_2 = 0x0 HCNT = 0x0 SCBPTR = 0x17 SCSIPHASE[0x0] SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0] [ lots more debugging info] sg[0] - Addr 0x706d000 : Length 4096 sg[1] - Addr 0xdb6e000 : Length 4096 (da1:ahc0:0:1:0): Queuing a BDR SCB (da1:ahc0:0:1:0): no longer in timeout, status = 34a Feb 5 00:01:03 above /kernel: Dump Card State Ends >>> (da1:ahc0:0:1:0): Invalidating pack . . . The drive was inaccessible. I rebooted again. dmesg still says: . . . da1s4: rejecting partition in BSD label: it isn't entirely within the slice da1s4: start 63, end 71132959, size 71132897 da1s4d: start 0, end 71132959, size 71132960 . . . but now I can access the disk fine. Can I fix the drive without losing the information on it? If so, how? --Paul Hoffman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
buildworld inside a jail
Hello, with identical (5.2-p2) sources I can buildworld on the host machine but if I try to buildowrld inside a jail it fails with the following error: gzip -cn /usr/src/lib/libz/zlib.3 > zlib.3.gz ===> libexec ===> libexec/atrun cc -O -pipe -mcpu=pentiumpro -DATJOB_DIR=\"/var/at/jobs/\" -DLFILE=\"/var/at/ jobs/.lockfile\" -DLOADAVG_MX=1.5 -DATSPOOL_DIR=\"/var/at/spool\" -DVERSION=\"2.9\" -DDAEMON_UID=1 -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -DDEFAULT_AT_QUEUE=\'c\' -DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/ atrun/../../usr.bin/at -I/usr/src/libexec/atrun -c /usr/src/libexec/atrun/ atrun.c cc -O -pipe -mcpu=pentiumpro -DATJOB_DIR=\"/var/at/jobs/\" -DLFILE=\"/var/at/ jobs/.lockfile\" -DLOADAVG_MX=1.5 -DATSPOOL_DIR=\"/var/at/spool\" -DVERSION=\"2.9\" -DDAEMON_UID=1 -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -DDEFAULT_AT_QUEUE=\'c\' -DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/ atrun/../../usr.bin/at -I/usr/src/libexec/atrun -c /usr/src/libexec/atrun/ gloadavg.c cc -O -pipe -mcpu=pentiumpro -DATJOB_DIR=\"/var/at/jobs/\" -DLFILE=\"/var/at/ jobs/.lockfile\" -DLOADAVG_MX=1.5 -DATSPOOL_DIR=\"/var/at/spool\" -DVERSION=\"2.9\" -DDAEMON_UID=1 -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -DDEFAULT_AT_QUEUE=\'c\' -DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/ atrun/../../usr.bin/at -I/usr/src/libexec/atrun -o atrun atrun.o gloadavg.o /usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `_nsyyerror' /usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `_nsyylex' /usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `_nsyyin' /usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `_nsyylineno' /usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `_nsyytext' *** Error code 1 Stop in /usr/src/libexec/atrun. *** Error code 1 Stop in /usr/src/libexec. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Any idea? Thanks in advance, -Harry pgp0.pgp Description: signature
Re: switching to an internal DSL modem -- natd, ipfw
net CC removed... Mikhail Teterin wrote: So, back to the original question -- am I likely to have to any problems with natd and ipfw dealing with this non-Ethernet interface -- assuming en-driver attaches to this card at all? wait, why not just take the ethernet cable from the inside interface on your existing modem, connect it to a 2nd 'outside' NIC on your BSD box with a driver that's known to work, and save $100+ on a new modem? you mentioned "cabling inconvenience" before, but i don't see enough inconvenience to warrant > $100 expenditure. maybe i missed something, wouldn't be the first time... but i'm doing DSL with ipfw/natd at home using multiple NICs (outside, inside, wireless)... and it works well. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: switching to an internal DSL modem -- natd, ipfw
[Now CC-ing Chuck Cranor -- the en's author] => => http://store.yahoo.com/softbuyweb/inpcidslmod3.html => =What makes you think we have a driver for this? => The en(4) manual page and the description of this product (on the => page above) as one based on Efficient Network's chip. Can there be => anything else? =I'd be dubious.. the en driver was for an old expensive ATM card from ='95 or so.. even though the ad says it supports PPPoE among other =things, I'd be pretty surprised if we could talk to it.. =(surprises do happen though) So, back to the original question -- am I likely to have to any problems with natd and ipfw dealing with this non-Ethernet interface -- assuming en-driver attaches to this card at all? Any other ATM card I should consider as an internal DSL modem? Thanks! -mi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: switching to an internal DSL modem -- natd, ipfw
On Thu, 5 Feb 2004 [EMAIL PROTECTED] wrote: > =On Thu, 5 Feb 2004 [EMAIL PROTECTED] wrote: > > => But what about an internal modem? Like > => > =>http://store.yahoo.com/softbuyweb/inpcidslmod3.html > > > =What makes you think we have a driver for this? > > The en(4) manual page and the description of this product (on the page > above) as one based on Efficient Network's chip. Can there be anything > else? > I'd be dubious.. the en driver was for an old expensive ATM card from '95 or so.. even though the add says it supports PPPoE among other things, I'd be pretty surprised if we could talk to it.. (surprises do happen though) > -mi > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: static routes
On 5 Feb 2004 at 16:15, Mark McConnell wrote: {static routes...}: (a mistake in my fictitious example) > route add -net 192.168.2.0 mask 0.0.0.0 192.168.1.1 route add -net 192.168.2.0 mask 255.255.255.0 192.168.1.1 Mark -- Mark McConnell - Portland, OR Technical Imaging Systems [EMAIL PROTECTED] 503-546-0517 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: backup question
On Thu, 5 Feb 2004, Darryl Hoar wrote: > I have a Freebsd 5.1-release box with samba installed, configured and > working. > > On my network I have an NT 4 server (can't change this right now). It has > a share on it called publications. > > I would like to synchronize (in one direction) the files from the > publication share to the Freebsd box. So, when I synchronized, any > changes on the publications share are copied to the freebsd box, but > NEVER the other way. Use mount_smbfs to mount the publications share read-only on the FreeBSD system. Then use rsync -a to copy it to your backup location. -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Where can I find a list of the cvsup tags for ports?
On Thu, Feb 05, 2004 at 06:36:59PM -0600, Frank Knobbe wrote: > On Wed, 2004-02-04 at 14:31, stan wrote: > > I have a system that I have removed all teh non English language port > > directories, and I run a cvsup _with_ a refuse file for these. Then I did a > > portdb -Uu. This resulted in a fair number of complaints, but when I ran > > portupgrade -aRr it hapilly took of running. > > > > Granted this sytem only has 19 ports installed. But it seems to work. Am I > > missing somehting hrere? > > Nope. I've been doing that too. I have non-english and unused ports > commented out in my ports-supfile (ports-all commented out and > individual ports are in), and also listed non-language ports in refuse. > portupgrade runs fine. portdb complaints with a ton of error messages > about dependencies missing etc, but all is well. > > The only gotcha I encountered is when new ports branches are added (i.e. > port-dns). Since I list specific ports in my supfile, new ports are not > caught automatically, which means the supfile needs occasional > maintenance. That's about it. And you're right, it's a space saver on > small drives :) Thanks for the confirmation that it works on a more fully populated machine. -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: switching to an internal DSL modem -- natd, ipfw
=On Thu, 5 Feb 2004 [EMAIL PROTECTED] wrote: => But what about an internal modem? Like => => http://store.yahoo.com/softbuyweb/inpcidslmod3.html =What makes you think we have a driver for this? The en(4) manual page and the description of this product (on the page above) as one based on Efficient Network's chip. Can there be anything else? -mi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: switching to an internal DSL modem -- natd, ipfw
On Thu, 5 Feb 2004 [EMAIL PROTECTED] wrote: > Hello! > > My current network setup consists of the ISP-provided DSL-modem plugged > into the little switch together with the rest of the network. One of the > machines on the runs natd and the others use it as the default router. > > To get better protection I should be using a separate Ethernet card, into > which only the modem will be plugged in. This is not as convenient from > the cabling prospective, however. > > But what about an internal modem? Like > > http://store.yahoo.com/softbuyweb/inpcidslmod3.html What makes you think we have a driver for this? > > It seems, en(4) should be able to use it and it should be able to connect > to the ISP -- their modem is the Efficient Network's SpeedStream, which > uses the same chip, most likely: > > Hardware Interface Name - SpeedStream 5660-R:ENI > Hardware Interface Desc - Motorola 850 SAR Alcatel/RT Adapter > Hardware Serial Number - [...] > Hardware Revision Number - 00010001 > Hardware Instance Number - 0 > Driver Name - enatm0 > > (notice the ``en'' in the driver name) > > But -- will natd(8), the ipfw (4) and (8) work properly with en0? Any > other potential problems? Thanks! > > -mi > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: static routes
On Thu, Feb 05, 2004 at 04:15:51PM -0800, Mark McConnell wrote: [...] > I want to be sure that the interfaces are configured automatically, > in case the system is rebooted. Should this go in rc.conf ? Where > (the interface? routed?) and with what syntax? Should I place a shell > script in /usr/local/etc/rc.d instead? > > Interactively, for example, I would say at the CLI: > route add -net 192.168.2.0 mask 0.0.0.0 192.168.1.1 /etc/rc.conf: static_routes="mynet" route_mynet="-net 192.168.2.0 mask 0.0.0.0 192.168.1.1" -- Jonathan Chen <[EMAIL PROTECTED]> -- "I don't want to achive immortality through my works.. I want to achieve it through not dying" - Woody Allen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 4.9 on i386, using Generic Mapping Tools, calloc
I think I'm on the right track with trying to increase the "dat seg size" with ulimit. But even as root, I cannot increase the size of the data segment above 262144 kbytes. $ ulimit -a cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 262144 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 5547 open files (-n) 11095 virtual mem size(kbytes, -v) unlimited sbsize (bytes, -b) unlimited $ ulimit -d 524288 $ulimit -a cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 262144 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 5547 open files (-n) 11095 virtual mem size(kbytes, -v) unlimited sbsize (bytes, -b) unlimited Is some sysctl parameter sitting on this? Previous question -- I am running GMT on a FreeBSD i386 with 2GB physical memory and 6GB total swap space. Queries to the system show that I am truly running with that amount of memory (sysctl hw.physmem and top to see swap space.) My GMT script bombs when the grdproject program tries to allocate less than 100MB of memory (23049601 x 4bytes)! Even if I am forgetting about something in this calculation, it is 20 times less memory than what exists on the system, NOT INCLUDING SWAP! Is there a sysctl variable that I need to adjust, like a vm.??? or vfs.??? Is "calloc" the problem? I'm stumped. GMT code that is running when Fatal Error occurs - This is a routine, gmt_support.c, that is used by many of the GMT programs. void *GMT_memory (void *prev_addr, size_t nelem, size_t size, char *progname) { void *tmp; if (nelem == 0) return(VNULL); /* Take care of n = 0 */ if (prev_addr) { if ((tmp = realloc ((void *) prev_addr, (size_t)(nelem * size))) == VNULL) { fprintf (stderr, "GMT Fatal Error: %s could not reallocate more memory, n = %d\n", progname, nel em); exit (EXIT_FAILURE); } } else { if ((tmp = calloc ((size_t) nelem, (unsigned) size)) == VNULL) { fprintf (stderr, "GMT Fatal Error: %s could not allocate memory, n = %d, %d\n", progname, nelem, size); exit (EXIT_FAILURE); } } return (tmp); } Fatal Error - $cal_neva.script grdimage: Allocates memory and read data file grdimage: Allocates memory and read intensity file grdimage: project grdfiles grdimage: New grid size (nx,ny) 4801 by 4801 GMT Fatal Error: grdproject could not allocate memory, n = 23049601, 4 man page for calloc - The calloc() function allocates space for number objects, each size bytes in length. The result is identical to calling malloc() with an argument of ``number * size'', with the exception that the allocated memory is explicitly initialized to zero bytes. Howard Bundock U. S. Geological Survey Earthquake Hazards Team 345 Middlefield Road, MS977 Menlo Park, CA 94025 phone (650) 329-5621 FAX (650) 329-4732 [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Where can I find a list of the cvsup tags for ports?
On Wed, 2004-02-04 at 14:31, stan wrote: > I have a system that I have removed all teh non English language port > directories, and I run a cvsup _with_ a refuse file for these. Then I did a > portdb -Uu. This resulted in a fair number of complaints, but when I ran > portupgrade -aRr it hapilly took of running. > > Granted this sytem only has 19 ports installed. But it seems to work. Am I > missing somehting hrere? Nope. I've been doing that too. I have non-english and unused ports commented out in my ports-supfile (ports-all commented out and individual ports are in), and also listed non-language ports in refuse. portupgrade runs fine. portdb complaints with a ton of error messages about dependencies missing etc, but all is well. The only gotcha I encountered is when new ports branches are added (i.e. port-dns). Since I list specific ports in my supfile, new ports are not caught automatically, which means the supfile needs occasional maintenance. That's about it. And you're right, it's a space saver on small drives :) Cheers, Frank signature.asc Description: This is a digitally signed message part
static routes
Where is the best place to put a static route, so that it will renew at bootup? I want to be sure that the interfaces are configured automatically, in case the system is rebooted. Should this go in rc.conf ? Where (the interface? routed?) and with what syntax? Should I place a shell script in /usr/local/etc/rc.d instead? Interactively, for example, I would say at the CLI: route add -net 192.168.2.0 mask 0.0.0.0 192.168.1.1 Where is the best place to put this? Mark -- Mark McConnell - Portland, OR Technical Imaging Systems [EMAIL PROTECTED] 503-546-0517 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
switching to an internal DSL modem -- natd, ipfw
Hello! My current network setup consists of the ISP-provided DSL-modem plugged into the little switch together with the rest of the network. One of the machines on the runs natd and the others use it as the default router. To get better protection I should be using a separate Ethernet card, into which only the modem will be plugged in. This is not as convenient from the cabling prospective, however. But what about an internal modem? Like http://store.yahoo.com/softbuyweb/inpcidslmod3.html It seems, en(4) should be able to use it and it should be able to connect to the ISP -- their modem is the Efficient Network's SpeedStream, which uses the same chip, most likely: Hardware Interface Name - SpeedStream 5660-R:ENI Hardware Interface Desc - Motorola 850 SAR Alcatel/RT Adapter Hardware Serial Number - [...] Hardware Revision Number - 00010001 Hardware Instance Number - 0 Driver Name - enatm0 (notice the ``en'' in the driver name) But -- will natd(8), the ipfw (4) and (8) work properly with en0? Any other potential problems? Thanks! -mi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[FAQ] Re: Free space wierdness
Herbert Wolverson <[EMAIL PROTECTED]> writes: > This is good, since the correct amount of free space now shows, and the > server is back to running perfectly. Can anyone shed any light as to why > this discrepancy happened in the first place? I'd love to know what I can do to > avoid ever having to worry > about this again! "The du and df commands show different amounts of disk space available. What is going on?" http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF "How is it possible for a partition to be more than 100% full?" http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DISK-MORE-THAN-FULL ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help with using wv2 application.
Sorry, wv (= wvWare) and wv2 are two different beasts. AFAIK wv2 is a library, not utility, and is used only by KWord (KDE wordprocessor, from editors/koffice-kde3) as a backend for M$ Word format exporter, and Ruby wrapper ruby-rwv2 ("grep -lr wv2 /usr/ports", BTW). On Thursday 05 February 2004 22:35, JJB wrote: > Rebuilt locate db and no wvWare. > Only wv file is wv2-config. > _ Regards, Vladimir ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SoundMAX Interated Digital Audio Card
hi,..i am a new freeBSD user i was trying to get my SoundMAX Interated Digital Audio Card to work but while loading the device it will crash the entire system... is it something about the Integrated Audio Card? is it not supported by freeBSD? by the way i am using the 4.8 release version of freeBSD truly yours... roberto _ Charla con tus amigos en lĂnea mediante MSN Messenger: http://messenger.latam.msn.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: reliable tape units
On Fri, 06 Feb 2004 09:42:34 +1100 Rowdy <[EMAIL PROTECTED]> wrote: > > > > I am really surprised its only last 3 years... but then, I don't > > know what to expect. > > > > I have an HP DDS-2 DAT drive that was "refurbished", used in an HP I can tell you what NOT to get. Someone forced Dell Powervaults down my throat here at work. They blow. Have had two replaced so far in less than a month -- 122T's. re, - Matthew Bettinger System Administrator Champion Elevators, Inc Houston, Texas 77061 713.640.8500 - KeyID: 68F0AAC4 Key Fingerprint: 096F 98AE 74FB 984B 2134 5C41 0E94 CF91 68F0 AAC4 Public Key: http://www.championelevators.com/~mbettinger/pub_key.asc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Help with using wv2 application.
The FBSD Wv2 has 32 dependant ports. There is no way I am going to fight my way through cvsup-ing all those config files and then download the 32 sources and compile each one, just to find out it's broken also. Thats the whole reason I used the package collection. So I guess you are saying the FBSD wv2 package is broken and I should submit an PR and email the maintainer directly. http://wvware.sourceforge.net/ says it's an very small source with command line options and it does not have any dependants, so I do not understand just what all that FBSD dependant stuff is for. Sure looks like overkill, or an very major screw up. Who ever ported this sure was out in left field and there was no one monitoring their handy work to verify it was done correctly. And what about some kind of intended use and overview description. The 5 word description is useless. An much better job has to be done that that. I see the same problem with many other ports. What good is an inventory of 9600 ports when there is no information to explain to the installer how to get started. My ESP just is not that good. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Louis LeBlanc Sent: Thursday, February 05, 2004 5:38 PM To: [EMAIL PROTECTED] Subject: Re: Help with using wv2 application. On 02/05/04 03:35 PM, JJB sat at the `puter and typed: > Rebuilt locate db and no wvWare. > Only wv file is wv2-config. Are you sure you have it installed? $ locate wvWare /usr/local/bin/wvWare /usr/local/man/cat1/wvWare.1.gz /usr/local/man/man1/wvWare.1.gz If you don't have wvWare in /usr/local/bin you might want to try installing it from the port (/usr/ports/textproc/wv). HTH Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ÔżÔ¬ The only way to keep your health is to eat what you don't want, drink what you don't like, and do what you'd rather not. -- Mark Twain ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: reliable tape units
David Bear wrote: I wanted to ask this group what their experience was regarding tape units, what your experience has been regarding reliability and longevity. I am faced with replacing an AIT tape unit thats just over 3 years old. Its based on a sony sdx-300 series. Its had minimal use. I am really surprised its only last 3 years... but then, I don't know what to expect. I have an HP DDS-2 DAT drive that was "refurbished", used in an HP server here at work for a year or so (backups done once per week), and then retired. I snapped up the drive, and I now am doing backups with that drive using Bacula under FreeBSD 5.1 at home on a daily basis with no problems at all. The tapes are also a year or two old, but have not experienced any errors. So the drive is at least 3 or 4 years old, and the tapes are a couple of years old, all works fine :) Dave ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
WD160 + Drive geometry
Hiya, First time using a mailing list so I hope I'm in the right place! To the problem, I recently got a 160 gig hard drive, it seems to be mounted properly, partitions and slices "seem" fine, yet I cant write more than 2k to the disk, it's just as if there wasn't any free space left. I'm using a Promise Ultra ATA/133 controller, which does support drives greater than 137 gigs so that shouldn't be the problem. I'm running 5.1-Current. Here's the output to a couple commands First from dmesg ad4: 19546MB [39714/16/63] at ata2-master UDMA100 ad5: 76319MB [155061/16/63] at ata2-slave UDMA100 ad6: 39205MB [79656/16/63] at ata3-master UDMA133 ad7: 152627MB [310101/16/63] at ata3-slave UDMA100 df (why is it at 108%?) Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad4s1a253678 251702-18318 108%/ devfs 11 0 100%/dev /dev/ad4s1e2536782233382 0%/tmp /dev/ad4s1f 18121388 2997228 1367445018%/usr /dev/ad4s1d2536783343619994814%/var /dev/ad7s1 1513687062 139259208 0%/hd1 /dev/ad6s1 38879438 32184422 358466290%/hd2 /dev/ad5s1 75685352 69630522 2 100%/hd3 Then disklabel ad7s1 (starts to get interesting here - 8 partitions? that's whack!) # /dev/ad7s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 312576642 63unused0 0 # "raw" part, don't edit d: 312576642 634.2BSD 2048 16384 28552 partition c: partition extends past end of unit disklabel: partition c doesn't start at 0! disklabel: An incorrect partition c may cause problems for standard system utilities partition d: partition extends past end of unit I'm not sure if it has to do with the drive geometry, I stuck the drive in my windows box and got the following geometry, 16709/255/63 (however it wasn't recognizing more than 137gig). When I use the fdisk utility it tells me that the geometry of 310101/16/63 (which is what you can find on the western digital website in the drive specs) is incorrect, and that it is using a more likely geometry. I try to set it back to the default, but the changes don't seem to "stick", or change the fact that I can't use the hard disk. Any help is appreciated! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help with using wv2 application.
On 02/05/04 03:35 PM, JJB sat at the `puter and typed: > Rebuilt locate db and no wvWare. > Only wv file is wv2-config. Are you sure you have it installed? $ locate wvWare /usr/local/bin/wvWare /usr/local/man/cat1/wvWare.1.gz /usr/local/man/man1/wvWare.1.gz If you don't have wvWare in /usr/local/bin you might want to try installing it from the port (/usr/ports/textproc/wv). HTH Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ÔżÔ¬ The only way to keep your health is to eat what you don't want, drink what you don't like, and do what you'd rather not. -- Mark Twain ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
reliable tape units
I wanted to ask this group what their experience was regarding tape units, what your experience has been regarding reliability and longevity. I am faced with replacing an AIT tape unit thats just over 3 years old. Its based on a sony sdx-300 series. Its had minimal use. I am really surprised its only last 3 years... but then, I don't know what to expect. -- David Bear phone: 480-965-8257 fax:480-965-9189 College of Public Programs/ASU Wilson Hall 232 Tempe, AZ 85287-0803 "Beware the IP portfolio, everyone will be suspect of trespassing" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Advertising?
On 05/02/04 19:12 -, Greg Wilson wrote: > http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001602.html > http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001781.html > > Hi > > I reference these two documents, where you have publish my private correspondance. > I am writing to ask you to remove these documents which were published with out my > consent. > > Please tell me when they are removed, > > Thanks > > Greg. Greg, Your "private" correspondence was with a very large public mailing list. So large, in fact, that the list is also available on usenet. See here: http://groups.google.com/groups?q=www.car-insurance-first.co.uk&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&selm=b6ssin%242cf5%241%40FreeBSD.csie.NCTU.edu.tw&rnum=1 There is no way to remove the documents unless you want to take google to court. If you do, you will most likely lose. Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Free space wierdness
UNIX file caching. The files were likely deleted but still open by some process and therefore still taking up space. The reboot killed the process, released the file and -viola- the free space was reported correctly. HTH, Christopher Hollow Herbert Wolverson wrote: I have a system running FreeBSD 4.9-RELEASE. It primarily functions as a firewall and router, and is generally pretty lightly loaded (load averages around 0.2). It is a low end system (P200, 64mb RAM, 2 gig hard drive), and is generally stable as a rock. The system has drives setup as follows: / 256M (UFS) /usr1.2gb (UFS+Softupdates) (/var and /tmp are linked onto /usr/var and /usr/tmp respectively) This morning I noticed that the "/" partition was at 108% utilization, and "df -h" looked like this (approximately): FilesystemSize Used Avail Capacity Mounted on /dev/ad0s1a 252M 256M -8M108% / Oddly, "du -h -d1 -x" showed only a total of 29Mb used on the partition! The output looked like this: su-2.05b# du -h -d1 -x 68K./dev 2.0K./usr 2.7M./stand 1.3M./etc 512B./proc 4.0M./bin 542K./boot 2.0K./mnt 6.4M./modules 30K./root 12M./sbin 4.0K./tmp 4.0K./oldvar 29M. When I rebooted the system (without deleting any files), "df -h" showed the following: FilesystemSize Used Avail Capacity Mounted on /dev/ad0s1a 252M29M 203M12%/ This is good, since the correct amount of free space now shows, and the server is back to running perfectly. Can anyone shed any light as to why this discrepancy happened in the first place? I'd love to know what I can do to avoid ever having to worry about this again! Thanks, Herbert Wolverson, The Turner Stephenson Group, Inc. http://www.tsghelp.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Christopher Hollow - Technical Consultant Infrastructure & Technology Support Toronto, ON ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Make BuildWorld options
>> I was reading this >> http://lists.freebsd.org/pipermail/freebsd-small/2003-December/000125.html >> >> And noticed that it talks about a make.conf for use with buildworld with >> options like >> NO_CVS= true# do not build CVS >> NO_CXX= true# do not build C++ and friends >> NO_BIND=true# do not build BIND >> NO_FORTRAN= true# do not build g77 and related libraries >> NO_GDB= true# do not build GDB >> >> Is there a list of these options anywhere that explains what each option >> does? > > How about /etc/defaults/make.conf? > > -- > Matt Emmerton > > Thanks for all the replies, the file I was looking for is located in /usr/share/examples/etc/make.conf Tom ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ACL mask shanging group perms
On Thu, Feb 05, 2004 at 10:24:40AM -0700, Jerad Hampton wrote: > Is anyone using acls on there file sytstem? > > When I change an acl it also sets the unix g permissions the same as the mask > > orca# ll > total 4 > -rw-r-x---+ 1 root users 68 Feb 5 09:58 index.html > orca# getfacl index.html > #file:index.html > #owner:0 > #group:1000 > user::rw- > user:nobody:r-x > group::--- > mask::r-x > other::--- > orca# setfacl -m u:nobody:rwx index.html > orca# ll > total 4 > -rw-rwx---+ 1 root users 68 Feb 5 10:24 index.html > orca# getfacl index.html > #file:index.html > #owner:0 > #group:1000 > user::rw- > user:nobody:rwx > group::--- > mask::rwx > other::--- > orca# > > I don't think this is normal behavior. Any sugestions? > It's how it works on according to spec. Use -n switch to prevent recalculating the mask. You may want to read: http://ezine.daemonnews.org/200310/acl.html greg -- Grzegorz Czaplinski "The Power to Serve, Right for the Power Users!" - http://www.FreeBSD.org/ Fingerprint: EB77 E19D CFA2 5736 810F 847C A70F A275 2489 469F pgp0.pgp Description: PGP signature
Re: Free space wierdness
I recently had a similar phenomenon happen on a Linux box, but the same could happen on BSD I believe. The problem ended up being that a process had created a bunch of huge files, then deleted them but hadn't closed them yet. The space doesn't get reclaimed until the file is deleted and has no open file descriptors. This is why the space came back after the reboot. If it happens again you can use 'lsof' (available in the ports collection) to find out what's holding the descriptors open. As for being over 100% capacity, I believe UFS (like most *nix filesystems) reserves some amount of space that only root can use. This lets you boot and repair a system is an important filesystem (e.g. /, /usr) is full. Hope this sheds some light, -Nate On Thu, 5 Feb 2004, Herbert Wolverson wrote: > I have a system running FreeBSD 4.9-RELEASE. It primarily functions as a firewall and > router, and is generally pretty lightly loaded (load averages around 0.2). It > is a low end system (P200, 64mb RAM, 2 gig hard drive), and is generally > stable as a rock. > > The system has drives setup as follows: > / 256M (UFS) > /usr 1.2gb (UFS+Softupdates) > (/var and /tmp are linked onto /usr/var and /usr/tmp respectively) > > This morning I noticed that the "/" partition was at 108% utilization, > and "df -h" looked like this (approximately): > > FilesystemSize Used Avail Capacity Mounted on > /dev/ad0s1a 252M 256M -8M108% / > > Oddly, "du -h -d1 -x" showed only a total of 29Mb used on the partition! > The output looked like this: > > su-2.05b# du -h -d1 -x > 68K./dev > 2.0K./usr > 2.7M./stand > 1.3M./etc > 512B./proc > 4.0M./bin > 542K./boot > 2.0K./mnt > 6.4M./modules > 30K./root > 12M./sbin > 4.0K./tmp > 4.0K./oldvar > 29M. > > When I rebooted the system (without deleting any files), "df -h" showed > the following: > > FilesystemSize Used Avail Capacity Mounted on > /dev/ad0s1a 252M29M 203M12%/ > > This is good, since the correct amount of free space now shows, and the > server is back to running perfectly. Can anyone shed any light as to why > this discrepancy happened in the first place? I'd love to know what I can do to > avoid ever having to worry > about this again! > > Thanks, > Herbert Wolverson, > The Turner Stephenson Group, Inc. > http://www.tsghelp.com/ > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
samba 3.0.1
has anyone got samba to compile and joined to a domain successfuly for freebsd 5.2 or 5.1 i can get it to compile but when i go to join it to an active directory it chokes it keeps prompting me for a root password like samba isn't acceptin the kerberos authentication i just did ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Free space wierdness
I have a system running FreeBSD 4.9-RELEASE. It primarily functions as a firewall and router, and is generally pretty lightly loaded (load averages around 0.2). It is a low end system (P200, 64mb RAM, 2 gig hard drive), and is generally stable as a rock. The system has drives setup as follows: / 256M (UFS) /usr1.2gb (UFS+Softupdates) (/var and /tmp are linked onto /usr/var and /usr/tmp respectively) This morning I noticed that the "/" partition was at 108% utilization, and "df -h" looked like this (approximately): FilesystemSize Used Avail Capacity Mounted on /dev/ad0s1a 252M 256M -8M108% / Oddly, "du -h -d1 -x" showed only a total of 29Mb used on the partition! The output looked like this: su-2.05b# du -h -d1 -x 68K./dev 2.0K./usr 2.7M./stand 1.3M./etc 512B./proc 4.0M./bin 542K./boot 2.0K./mnt 6.4M./modules 30K./root 12M./sbin 4.0K./tmp 4.0K./oldvar 29M. When I rebooted the system (without deleting any files), "df -h" showed the following: FilesystemSize Used Avail Capacity Mounted on /dev/ad0s1a 252M29M 203M12%/ This is good, since the correct amount of free space now shows, and the server is back to running perfectly. Can anyone shed any light as to why this discrepancy happened in the first place? I'd love to know what I can do to avoid ever having to worry about this again! Thanks, Herbert Wolverson, The Turner Stephenson Group, Inc. http://www.tsghelp.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Help with using wv2 application.
Rebuilt locate db and no wvWare. Only wv file is wv2-config. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Louis LeBlanc Sent: Thursday, February 05, 2004 3:26 PM To: [EMAIL PROTECTED] ORG Subject: Re: Help with using wv2 application. On 02/05/04 03:19 PM, JJB sat at the `puter and typed: > Installed the wv2 package and all of it's dependants. > Sure seems a lot of over kill just for an utility to convert ms/word > files to html. > Am I missing something here. > Does wv2 run under the desktop with menu system? > > Can not find any documentation on how to use it? > > Need pointers on how to use it? man wvWare should be a good place to start. Note the 'SEE ALSO' section at the end. HTH Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ÔżÔ¬ Bagdikian's Observation: Trying to be a first-rate reporter on the average American newspaper is like trying to play Bach's "St. Matthew Passion" on a ukelele. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Advertising?
Greg Wilson wrote: http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001602.html http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001781.html Hi I reference these two documents, where you have publish my private correspondance. This was obviously inadvertent, but as has been pointed out you mailed a mailing list, not an individual, and so your correspondence has never been private. We all read it as soon as you sent it out. The fact that this is a mailing list is made very clear on the FreeBSD website. All mails sent to this list are archived (and mirrored around the world) automatically, and this is a necessary and important part of the way these lists function. It means an archive (which is searchable) builds up as a point of reference, so people who are dealing with problems and issues can refer to it. Also, there's some chance that questions won't be asked over and over again. Again, this is made clear on the FreeBSD website. Indeed, you can search the archives right there. From time to time people do send inappropriate messages to the list. Frankly, most subscribers would prefer it if they didn't. Your mail was in this category. Inappropriate mails waste people's time. You are, in effect, asking someone to waste more time. I am writing to ask you to remove these documents which were published with out my consent. IANAL, but I'd have thought that the act of sending a mail to a public, open, archived forum constitutes consent to the contents of that mail being displayed in a public, open, archived forum. Please tell me when they are removed, The horse left the stable when you first posted the mails. I can't see that any harm has been done. But if it has, it happened when you sent the mails. Perhaps you could consider this to have been a learning experience? PWR. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Help with using wv2 application.
Installed the wv2 package and all of it's dependants. Sure seems a lot of over kill just for an utility to convert ms/word files to html. Am I missing something here. Does wv2 run under the desktop with menu system? Can not find any documentation on how to use it? Need pointers on how to use it? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help with using wv2 application.
On 02/05/04 03:19 PM, JJB sat at the `puter and typed: > Installed the wv2 package and all of it's dependants. > Sure seems a lot of over kill just for an utility to convert ms/word > files to html. > Am I missing something here. > Does wv2 run under the desktop with menu system? > > Can not find any documentation on how to use it? > > Need pointers on how to use it? man wvWare should be a good place to start. Note the 'SEE ALSO' section at the end. HTH Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ÔżÔ¬ Bagdikian's Observation: Trying to be a first-rate reporter on the average American newspaper is like trying to play Bach's "St. Matthew Passion" on a ukelele. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[TFM pointer] Re: Make BuildWorld options
[EMAIL PROTECTED] writes: > I was reading this > http://lists.freebsd.org/pipermail/freebsd-small/2003-December/000125.html > > And noticed that it talks about a make.conf for use with buildworld with > options like > NO_CVS= true# do not build CVS > NO_CXX= true# do not build C++ and friends > NO_BIND=true# do not build BIND > NO_FORTRAN= true# do not build g77 and related libraries > NO_GDB= true# do not build GDB > > Is there a list of these options anywhere that explains what each option > does? "man make.conf" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Advertising?
At 2004-02-05T19:51:12Z, "Greg Wilson" <[EMAIL PROTECTED]> writes: > I sent these emails to you as the webmaster. No. You sent them to a widely-read mailing list, not an individual. They are now (correctly) archived as are all other messages that have been sent to that list, including these. -- Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box." pgp0.pgp Description: PGP signature
Help with using wv2 application.
Installed the wv2 package and all of it's dependants. Sure seems a lot of over kill just for an utility to convert ms/word files to html. Am I missing something here. Does wv2 run under the desktop with menu system? Can not find any documentation on how to use it? Need pointers on how to use it? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Make BuildWorld options
> I was reading this > http://lists.freebsd.org/pipermail/freebsd-small/2003-December/000125.html > > And noticed that it talks about a make.conf for use with buildworld with > options like > NO_CVS= true# do not build CVS > NO_CXX= true# do not build C++ and friends > NO_BIND=true# do not build BIND > NO_FORTRAN= true# do not build g77 and related libraries > NO_GDB= true# do not build GDB > > Is there a list of these options anywhere that explains what each option > does? How about /etc/defaults/make.conf? -- Matt Emmerton ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Advertising?
Louis LeBlanc wrote: On 02/05/04 07:12 PM, Greg Wilson sat at the `puter and typed: http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001602.html http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001781.html Hi I reference these two documents, where you have publish my private correspondance. I am writing to ask you to remove these documents which were published with out my consent. Please tell me when they are removed, Actually, since these comments were made to a public forum, I believe your consent is not required. Even so, I don't think it could be removed. If I'm not mistaken, the archiving of this list is automatic. Lou AFAIK, so is the mirroring ;-) Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Error in messages.
this reminds this newbie: is there any documentation on freebsd (system) error messages ? Derrick MacPherson wrote: I started seeing this today: Feb 4 07:00:00 mail /kernel: (da1:ahc0:0:2:0): READ(10). CDB: 28 0 2 c 1 5f 0 0 10 0 Feb 4 07:00:00 mail /kernel: (da1:ahc0:0:2:0): MEDIUM ERROR info:20c0168 asc:11,0 Feb 4 07:00:00 mail /kernel: (da1:ahc0:0:2:0): Unrecovered read error sks:80,35 I umounted the disk, dumped it's contents to a spare disk. Can you suggest some tests for this drive, or should I just get it replaced? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Make BuildWorld options
I was reading this http://lists.freebsd.org/pipermail/freebsd-small/2003-December/000125.html And noticed that it talks about a make.conf for use with buildworld with options like NO_CVS= true# do not build CVS NO_CXX= true# do not build C++ and friends NO_BIND=true# do not build BIND NO_FORTRAN= true# do not build g77 and related libraries NO_GDB= true# do not build GDB Is there a list of these options anywhere that explains what each option does? I am trying to build a very minimal system using buildworld and everytime I try of these options I have to way the hour or so that buildworld takes to see if the option changed anything. I am trying to bring the size of the build down currently it is 172 mb. I would like to get it to 50mb or so. This system is for an embedded router, I am only using racoon, ipsec, ipfw, ssh, 2x ethernet cards on an freesbie type boot cd. Thanks Tom ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Advertising?
I'm afraid you're mistaken. I'm not the webmaster. I'm simply one little voice in the 'public'. Since I've subscribed to this list, I'm getting every message posted to it sent to my mailbox along with thousands of other subscribers. I don't have access to the database in question, so no, it's not hard, it's impossible. And bear in mind that even these messages will be archived in the near future. You'd be surprised how many 'insensible rants' have been immortalized on that and many other archives, as well as offensive spam and the like. Lou On 02/05/04 07:51 PM, Greg Wilson sat at the `puter and typed: > Lou, > > I sent these emails to you as the webmaster. Please can you remove them? > Surely its not hard to remove them from your database. > > Thanks > > Greg. > - Original Message - > From: "Louis LeBlanc" <[EMAIL PROTECTED]> > To: "Greg Wilson" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Thursday, February 05, 2004 7:28 PM > Subject: Re: Advertising? > > > > On 02/05/04 07:12 PM, Greg Wilson sat at the `puter and typed: > > > > http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001602.html > > > > http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001781.html > > > > > > Hi > > > > > > I reference these two documents, where you have publish my private > > > correspondance. I am writing to ask you to remove these documents > > > which were published with out my consent. > > > > > > Please tell me when they are removed, > > > > Actually, since these comments were made to a public forum, I believe > > your consent is not required. Even so, I don't think it could be > > removed. If I'm not mistaken, the archiving of this list is > > automatic. > > > > Lou > > -- > > Louis LeBlanc [EMAIL PROTECTED] > > Fully Funded Hobbyist, KeySlapper Extrordinaire :) > > http://www.keyslapper.org ÔżÔ¬ > > > > The two most common things in the Universe are hydrogen and stupidity. > > -- Harlan Ellison > > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ÔżÔ¬ Hatred, n.: A sentiment appropriate to the occasion of another's superiority. -- Ambrose Bierce, "The Devil's Dictionary" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: forwarding with ttl=1
On Thu, Feb 05, 2004 at 03:17:04PM +0200, Alexander Botov wrote: From: "Alexander Botov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Date: Thu, 5 Feb 2004 15:17:04 +0200 Subject: forwarding with ttl=1 Hi All I am newbie with configuring networks under FreeBSD . I have small network with gateway running on FreeBSD 5.2 Release .My ISP offers me pppoe service for connecting to Internet . I didn't have problems with configuring ppp with pppoe . I used nat option wchich works fine for masquerading the local network from the world . The problem is that the ISP's gateway returns every time packets with ttl=1 which makes further forwarding impossible . My gateway returns icmp error mesage "time exceeded" and discards packets . I want to know if I made some mistake with configuring nat service or if not what is the solution of the problem ? Is there any service that can increment ttl and process the packet ? I tried to avoid the checking of ttl in the ip_forward() function in ip_input.c and skipping the decrement of ttl and everything works fine but i think that this is very ugly kernel hack . Probably there is an easy and elegant solution . Any ideas ? You don't need to hack the kernel because this was already did. Add options IPSTEALTH in your kernel configuration file, build the new kernel and set net.inet.ip.ipstealt sysctl variable to 1. For more information see /usr/src/sys/conf/NOTES and /usr/src/sys/netinet/ip_input.c. please excuse my English ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Dancho Penev ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Advertising?
Lou, I sent these emails to you as the webmaster. Please can you remove them? Surely its not hard to remove them from your database. Thanks Greg. - Original Message - From: "Louis LeBlanc" <[EMAIL PROTECTED]> To: "Greg Wilson" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, February 05, 2004 7:28 PM Subject: Re: Advertising? > On 02/05/04 07:12 PM, Greg Wilson sat at the `puter and typed: > > http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001602.html > > http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001781.html > > > > Hi > > > > I reference these two documents, where you have publish my private > > correspondance. I am writing to ask you to remove these documents > > which were published with out my consent. > > > > Please tell me when they are removed, > > Actually, since these comments were made to a public forum, I believe > your consent is not required. Even so, I don't think it could be > removed. If I'm not mistaken, the archiving of this list is > automatic. > > Lou > -- > Louis LeBlanc [EMAIL PROTECTED] > Fully Funded Hobbyist, KeySlapper Extrordinaire :) > http://www.keyslapper.org ÔżÔ¬ > > The two most common things in the Universe are hydrogen and stupidity. > -- Harlan Ellison > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Advertising?
At 2004-02-05T19:12:41Z, "Greg Wilson" <[EMAIL PROTECTED]> writes: > I reference these two documents, where you have publish my private > correspondance. I see know private corresponence, only a solicitation to a public mailing list with hundreds (thousands?) of subscribers. What part of that did you intend to keep private? -- Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box." pgp0.pgp Description: PGP signature
Re: Installing 5.2 Trouble on 486 with 16Mb of memory
On Thu, 5 Feb 2004 12:40:06 +0200 "igor" <[EMAIL PROTECTED]> wrote: > System hangs when starting sysinstall :( > > On system with 8Mb of memory, when starting /stand/sysinstall happens > restart. > > > > There is piece of install.txt: > > > > 1.2 Hardware Requirements > > FreeBSD for the i386 requires a 386 or better processor to run (sorry, > there is no support for 286 processors) and at least 5 megs of RAM to > install and 4 megs of RAM to run. > > > > So, it must work on system with 16Mb of memory! I don't remember where I read this (I checked the handbook but I couldn't find it): FreeBSD will run with 4M of memory, but sysinstall requires more - I thought it was more than 5M, but still less than 16M... maybe install.txt is out of date? Anyway, you could try this: - take the HDD out of the 16M machine - put it in a machine with more memory - install FreeBSD on it with that machine - put it back in the 16M machine When doing this, be careful about which device the HDD it thinks it is - e.g, if it's the primary master in the machine with 16M of memory, make it the primary master in the other machine too. -Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Advertising?
On 02/05/04 07:12 PM, Greg Wilson sat at the `puter and typed: > http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001602.html > http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001781.html > > Hi > > I reference these two documents, where you have publish my private > correspondance. I am writing to ask you to remove these documents > which were published with out my consent. > > Please tell me when they are removed, Actually, since these comments were made to a public forum, I believe your consent is not required. Even so, I don't think it could be removed. If I'm not mistaken, the archiving of this list is automatic. Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ÔżÔ¬ The two most common things in the Universe are hydrogen and stupidity. -- Harlan Ellison ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 4.9 on i386, using Generic Mapping Tools, calloc
I am running GMT on a FreeBSD i386 with 2GB physical memory and 6GB total swap space. Queries to the system show that I am truly running with that amount of memory (sysctl hw.physmem and top to see swap space.) My GMT script bombs when the grdproject program tries to allocate less than 100MB of memory (23049601 x 4bytes)! Even if I am forgetting about something in this calculation, it is 20 times less memory than what exists on the system, NOT INCLUDING SWAP! Is there a sysctl variable that I need to adjust, like a vm.??? or vfs.??? Is "calloc" the problem? I'm stumped. GMT code that is running when Fatal Error occurs - This is a routine, gmt_support.c, that is used by many of the GMT programs. void *GMT_memory (void *prev_addr, size_t nelem, size_t size, char *progname) { void *tmp; if (nelem == 0) return(VNULL); /* Take care of n = 0 */ if (prev_addr) { if ((tmp = realloc ((void *) prev_addr, (size_t)(nelem * size))) == VNULL) { fprintf (stderr, "GMT Fatal Error: %s could not reallocate more memory, n = %d\n", progname, nel em); exit (EXIT_FAILURE); } } else { if ((tmp = calloc ((size_t) nelem, (unsigned) size)) == VNULL) { fprintf (stderr, "GMT Fatal Error: %s could not allocate memory, n = %d, %d\n", progname, nelem, size); exit (EXIT_FAILURE); } } return (tmp); } Fatal Error - $cal_neva.script grdimage: Allocates memory and read data file grdimage: Allocates memory and read intensity file grdimage: project grdfiles grdimage: New grid size (nx,ny) 4801 by 4801 GMT Fatal Error: grdproject could not allocate memory, n = 23049601, 4 man page for calloc - The calloc() function allocates space for number objects, each size bytes in length. The result is identical to calling malloc() with an argument of ``number * size'', with the exception that the allocated memory is explicitly initialized to zero bytes. Howard Bundock U. S. Geological Survey Earthquake Hazards Team 345 Middlefield Road, MS977 Menlo Park, CA 94025 phone (650) 329-5621 FAX (650) 329-4732 [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: backup question
Here's how I do it... - Open a writable Samba share on the FreeBSD box. - Map the drive from Windows and ensure the Win-user can write to it. - Schedule Robocopy (Res. Kit utility) to sync the Samba share from publications. Should do it. Robocoy script should be something like: robocopy.exe C:\publications J:\sambashare /mir >> C:\robocopy.log where C:\ is your local source directory that you are syncing from and J: is your mapped Samba share on the FreeBSD box. HTH, Christopher Hollow Darryl Hoar wrote: Greetings, I have a Freebsd 5.1-release box with samba installed, configured and working. On my network I have an NT 4 server (can't change this right now). It has a share on it called publications. I would like to synchronize (in one direction) the files from the publication share to the Freebsd box. So, when I synchronized, any changes on the publications share are copied to the freebsd box, but NEVER the other way. Any ideas on this ? thanks, Darryl ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Christopher Hollow - Technical Consultant Infrastructure & Technology Support Toronto, ON ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Advertising?
http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001602.html http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001781.html Hi I reference these two documents, where you have publish my private correspondance. I am writing to ask you to remove these documents which were published with out my consent. Please tell me when they are removed, Thanks Greg. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Question in regards to software verification...
This is going to sound incredibly new, but i've never understood how to completely verify software that you download. For instance, a new Security Advisory was released today regarding the shmat reference counting bug One thing that I thought of when I was looking at this is the option to d/l the patch, then patch your system. I also noticed that there was, not only the patch you can download, but the .asc file which is supposed to verify the software you download. So I wanted to know the methods available that you can use to verify software that you d/l? How about .asc? I have seen that one before, but not really familiar with it. I know you can also use md5 as well as gnupg. Anyone care to take a moment and enlighten me with the steps to verify software? I appreciate it. Cheers, Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gnupg and multiple keyrings
At 2004-02-05T17:02:43Z, Tom Parquette <[EMAIL PROTECTED]> writes: > I'm trying to create multiple public key rings because of statements in > the PGP book about performance problems with single, large, public key > rings. I've set my GnuPG to automatically fetch public keys that it encounters that aren't on its keyring. After reading groups and mailing lists with a sizable population of message-signers, I have 466 public keys with 5113 unique signatures. I haven't experienced any noticeable performance issues with having them all on one keyring. -- Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box." pgp0.pgp Description: PGP signature
RE: Good comments
Lee, I'm not involved in FreeBSD in any way, however, currently all seven of my webservers and support group run on a flavor of FreeBSD dating all the way back to the 4.4-Stables that run DNS. The boxes run exceptionally well with uptimes in the teens of months. I've recently updated my primary webserver to 5.1 release, and other than a few of my own stupidity moments, it too rocks. I have installed this, and will continue to install this, and only this, operating system as the Internet system of choice. My two cents... Res Ipsa Loquitor, Mark-Nathaniel Weisman Site Master Mystic1.net -Original Message- From: lee slaughter [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 9:31 AM To: Simon Barner Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Good comments Simon Barner wrote: >Hi, > > > >> I just bought BSDfree version 5.1 because I had very >>good >>comments about your operating system. Our company is planning to use as a NAT >>server . I want to know where can I take some courses to have at least the >>basics that it looks to be an awesome operating system. >> >> > >For a production system, the 5.x branch of FreeBSD (sic!) is not quite >ready yet, so you should better go with FreeBSD 4.9 (FreeBSD 4.x is the >so-called stable branch at the present). > >If you insist in deploying FreeBSD 5.x, please note that FreeBSD 5.2 is >already out. > > I too bought shrink-wrapped 5.1 CD set from bookstore and now have it running pretty well. I really don't feel like re-installing it already but the implication is that if you (unwittingly) installed a -CURRENT, you need to keep it up, i.e. go today to 5.2, etc. I don't wanna do that. I'm newbie and my box is production-prone and I don't want bleeding edge and too ignorant to be in the -CURRENT branch. So are we recommended to go to 4.9-STABLE? (implying no updates until next -STABLE comes out? What are the dire consequences of staying with 5.1 until 5-STABLE comes out... and not always upgrading? tks. this is a great os and a great support group, btw. lee slaughter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Dlink dwlg520 netgear WG311
Hi, I have a little problem! I have to configure my dlink dwl g520 and netgear WG311 card for Freebsd in ad hoc mode, but it doesn't. I have installed Freebsd 5.2 on two machines. On the first i have typed : ifconfig ath0 inet 192.168.1.1 netmask 0xff0 ssid my_net mode 11b mediaopt adhoc. On the second i have typed : ifconfig ath0 inet 192.168.1.2 netmask 0xff0 ssid my_net mode 11b mediaopt adhoc. When the machine try to ping each other, I see arp request message and arp reply message, but machines don't ping each other. Can you help me? Mikele. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Good comments
Simon Barner wrote: Hi, I just bought BSDfree version 5.1 because I had very good comments about your operating system. Our company is planning to use as a NAT server . I want to know where can I take some courses to have at least the basics that it looks to be an awesome operating system. For a production system, the 5.x branch of FreeBSD (sic!) is not quite ready yet, so you should better go with FreeBSD 4.9 (FreeBSD 4.x is the so-called stable branch at the present). If you insist in deploying FreeBSD 5.x, please note that FreeBSD 5.2 is already out. I too bought shrink-wrapped 5.1 CD set from bookstore and now have it running pretty well. I really don't feel like re-installing it already but the implication is that if you (unwittingly) installed a -CURRENT, you need to keep it up, i.e. go today to 5.2, etc. I don't wanna do that. I'm newbie and my box is production-prone and I don't want bleeding edge and too ignorant to be in the -CURRENT branch. So are we recommended to go to 4.9-STABLE? (implying no updates until next -STABLE comes out? What are the dire consequences of staying with 5.1 until 5-STABLE comes out... and not always upgrading? tks. this is a great os and a great support group, btw. lee slaughter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: forwarding with ttl=1
Alex, When posting please wrap your lines...they are easier to read and some MUA's don't deal well with them...including mine :) Thanks. This situation is kind of funny, I've never heard of an ISP doing this. I belive what you want to do is, if you are using IpFilter, use the fastroute keyword. You can find more about it at the link[1] posted below. Just do a search on the page for fastroute. There are probably options for the alternate packet filters (ipfw, pf) also. Just read the howto corresponding to the packet filters name and you should find out some more information. [1]http://www.obfuscation.org/ipf/ipf-howto.txt --Stephen > Hi All > > I am newbie with configuring networks under FreeBSD . I have small network > with gateway running on FreeBSD 5.2 Release .My ISP offers me pppoe > service for connecting to Internet . I didn't have problems with > configuring ppp with pppoe . I used nat option wchich works fine for > masquerading the local network from the world . The problem is that the > ISP's gateway returns every time packets with ttl=1 which makes further > forwarding impossible . My gateway returns icmp error mesage "time > exceeded" and discards packets . I want to know if I made some mistake > with configuring nat service or if not what is the solution of the problem > ? Is there any service that can increment ttl and process the packet ? I > tried to avoid the checking of ttl in the ip_forward() function in > ip_input.c and skipping the decrement of ttl and everything works fine but > i think that this is very ugly kernel hack . Probably there is an easy and > elegant solution . Any ideas ? > > please excuse my English ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie trying to build a new world
On Thu, 5 Feb 2004 18:13:50 +0100 Nicolas <[EMAIL PROTECTED]> wrote: > Hello again. Sorry to bother you with this but I really dont know what went > wrong this time. Ive done it on my old computer with 4,9 and it went smothe. > This is the sequence that I followed: > cd /usr/obj > rm -Rf * > cd /usr/src > make buildworld > > Then: > cd /usr/src > make buildkernel KERNCONF=MOAK If you didn't reboot or drop to single user, the next step is bad. > Then: > fsck -p > mount -u / > mount -a -t ufs > swapon -a > cd /usr/src > make installworld > > make installkernel KERNCONF=MOAK > > It is hard following the order in the handbook Nop. First you intallkernel, then you reboot, then from single user installworld. Note that the ultimate reference for all this is /usr/src/UPDATING; if something is told there, follow it. READ IT. Read it again. Follow it. > I think it is a bit confusing > to read. > In my last mail I wrote it in the wrong order. Could be. But perhaps you should take a little pause, drink a coffee, etc. and retry a little later; often one makes the same mistakes again and again when tired; experience speaking ;) Second suggestion - print this and follow it (if it doesn't conflict with UPDATING, I don't know from what to what you are upgrading): cd /usr/obj chflags -R noschg * rm -Rf * cd /usr/src && make clean all script /tmp/build_kernel_1 make buildkernel KERNCONF=GENERIC && touch /tmp/done_Build_Kernel_G make installkernel KERNCONF=GENERIC && touch /tmp/done_Install_Kernel_G CTRL+D if it breaks until here you have a problem with your sources; cvsup. reboot if everithing seems to be OK: script /tmp/mergemaster_p mergemaster -p CTRL+D script /tmp/build_w cd /usr/src make buildworld && touch /tmp/done_Build_World make buildkernel KERNCONF=MOAK && touch /tmp/done_Build_Kernel make installkernel KERNCONF=MOAK && touch /tmp/done_Install_Kernel CTRL+D reboot in single user fsck -p mount -u / mount -a -t ufs swapon -a if needed (you don't have the BIOS clock on UTC) also : adjkerntz -i script /tmp/install_w make installworld CTRL+D reboot script /tmp/build_w maergemaster CTRL+D Of course, heaven only knows what exactly did you do until now; but with script we can try to figure out what goes wrong. The touch(1) are only to be easy to see where it breaks. > If I try again do I have to do it all from the beginning (cvsup src and > ports)? No. The hole make ... doesn't change the sources. -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
backup question
Greetings, I have a Freebsd 5.1-release box with samba installed, configured and working. On my network I have an NT 4 server (can't change this right now). It has a share on it called publications. I would like to synchronize (in one direction) the files from the publication share to the Freebsd box. So, when I synchronized, any changes on the publications share are copied to the freebsd box, but NEVER the other way. Any ideas on this ? thanks, Darryl ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: build packages recursively from ports collection
On 5 Feb 2004 at 14:49, Didier WIROTH wrote: {build packages recursively from por...}: > Hi, > > I want to use some of our freebsd servers to build .tgz binaries from the > ports collection. Then, I would like to install the packages with pkg_add on > different workstations. > > My main problem is how to build packages on servers without installing them! > > All i could find or was told, is: > 1) make fetch-recursive > 2) postinstall -rRp kde > 3) portupgrade -frRp kde > > All of theses samples "installs" the ports software! > > For example kde: > How do you recursively build .tgz packages of the kde sources and their > dependencies "WITHOUT" actually installing them on the servers? On 5 Feb 2004 at 14:49, Didier WIROTH wrote: {build packages recursively from por...}: > Hi, > > I want to use some of our freebsd servers to build .tgz > binaries from the ports collection. Then, I would like to > install the packages with pkg_add on different workstations. > > My main problem is how to build packages on servers without > installing them! > > All i could find or was told, is: > 1) make fetch-recursive > 2) postinstall -rRp kde > 3) portupgrade -frRp kde > > All of theses samples "installs" the ports software! > > For example kde: How do you recursively build .tgz packages > of the kde sources and their dependencies "WITHOUT" actually > installing them on the servers? Do you mean, for example: # cd /usr/port/portname # make This creates the ports, plus the dependencies, and does not install them. To install: # make install or better # make install clean Mark -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gnupg and multiple keyrings
Tom Parquette wrote: Hi. I've been playing with gnupg trying to get comfortable with it. I've looked at the man pages and I have also read the O'Reilly PGP book. I searched the FreeBSD mailing lists and I didn't find anything. I'm trying to create multiple public key rings because of statements in the PGP book about performance problems with single, large, public key rings. To test, I created a normal public key ring then I tried to create a FreeBSD public key ring using the --keyring FreeBSD option to GPG. No matter what I do, everything seems to end up in the single public key ring. Can someone help me understand this behaviour? TIA... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" !DSPAM:40227915430421607316573! From gpg's man pages: --show-keyring Causes --list-keys, --list-public-keys, and --list-secret-keys to display the name of the keyring a given key resides on. This is only useful when you're listing a specific key or set of keys. It has no effect when listing all keys. --keyring file Add file to the list of keyrings. If file begins with a tilde and a slash, these are replaced by the HOME directory.If the filename does not contain a slash, it is assumed to be in the GnuPG home directory ("~/.gnupg" if --homedir is not used). The filename may be prefixed with a scheme: "gnupg-ring:" is the default one. It might make sense to use it together with --no-default-keyring. Make sure there is not file path mangling/confusion. Maybe try using gpa or kgpg from the ports. I did not try anything like that. That's all I can think of. Regards, Alin. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cron timing out
I am running the f-prot anti-virus update script and it was timing out half way through the script *** * F-Prot Antivirus Updater* *** Nothing to be done... *** * F-Prot Antivirus Updater* *** There's a new version of: "Application/Script viruses and Trojans" signatures on the web. Starting to download... Download completed. Preparing to install Application/Script viruses and Trojans signatures. Wed Nov 19 10:00:00 CST 2003 *** * F-Prot Antivirus Updater* *** it was stopping after a certain amount of time it seemed but if you ran it through the command line it would run properly so I though something was wrong and wrote my own pearl script to do the same thing with checksum and ftp as opposed to http which the f-prot one was written in. and it exhibits the same behavior it works correctly on the command line Thu Feb 5 10:17:19 CST 2004 Archive: sign.zip inflating: SIGN.DEF Archive: sign2.zip inflating: SIGN2.DEF Archive: macrdef2.zip inflating: MACRO.DEF inflating: MACRO.ASC SIGN.DEF is a duplicates! SIGN2.DEF is a duplicates! MACRO.DEF is a duplicates! but when I run it through cron it exhibits the same behavior as the first scripts I am calling the system and running the date command before it downloads the files so it looks like it is timing out during the file download Thu Feb 5 00:00:00 CST 2004 Thu Feb 5 01:00:00 CST 2004 Thu Feb 5 02:00:00 CST 2004 Thu Feb 5 03:00:00 CST 2004 Thu Feb 5 04:00:00 CST 2004 Thu Feb 5 05:00:00 CST 2004 Thu Feb 5 06:00:01 CST 2004 Thu Feb 5 07:00:01 CST 2004 Thu Feb 5 08:00:00 CST 2004 Thu Feb 5 09:00:00 CST 2004 Thu Feb 5 10:00:00 CST 2004 I don't think it is the perl script but if anyone needs to see it I will post the script. any help would be appreciated ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ACL mask shanging group perms
Is anyone using acls on there file sytstem? When I change an acl it also sets the unix g permissions the same as the mask orca# ll total 4 -rw-r-x---+ 1 root users 68 Feb 5 09:58 index.html orca# getfacl index.html #file:index.html #owner:0 #group:1000 user::rw- user:nobody:r-x group::--- mask::r-x other::--- orca# setfacl -m u:nobody:rwx index.html orca# ll total 4 -rw-rwx---+ 1 root users 68 Feb 5 10:24 index.html orca# getfacl index.html #file:index.html #owner:0 #group:1000 user::rw- user:nobody:rwx group::--- mask::rwx other::--- orca# I don't think this is normal behavior. Any sugestions? Thanks Jerad Hampton Network Administrator The King's University College ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
gnupg and multiple keyrings
Hi. I've been playing with gnupg trying to get comfortable with it. I've looked at the man pages and I have also read the O'Reilly PGP book. I searched the FreeBSD mailing lists and I didn't find anything. I'm trying to create multiple public key rings because of statements in the PGP book about performance problems with single, large, public key rings. To test, I created a normal public key ring then I tried to create a FreeBSD public key ring using the --keyring FreeBSD option to GPG. No matter what I do, everything seems to end up in the single public key ring. Can someone help me understand this behaviour? TIA... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: natd question
Multihome your FBSD box. Assign your outside nic the external ip, inside nic your local subnet dg. Configure natd. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html Does FreeBSD still ship with ipnat? Or is natd the only nat'ing service? Chris Markus Kovero wrote: How to config natd to nat certain private subnets to another external ips? Markus Kovero -- Christopher Hollow - Technical Consultant Infrastructure & Technology Support ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: can't use subscript on split
On Thu, Feb 05, 2004 at 01:08:32PM +0200, Toomas Aas wrote: > Maybe there is something in the Perl code above that is immediately obvious to > anyone knowing Perl, but IANAP. Yeah, it's the issue that caused 2.63 to be released. perl 5.005 doesn't like that subscript trick. we fixed the issue and released 2.63 to solve the problem for perl 5.005 people. :) -- Randomly Generated Tagline: Sigh. I like to think it's just the Linux people who want to be on the "leading edge" so bad they walk right off the precipice. (Craig E. Groeschel) pgp0.pgp Description: PGP signature
natd question
How to config natd to nat certain private subnets to another external ips? Markus Kovero ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A reverse DNS question
On Thu, Feb 05, 2004 at 10:22:19AM -0500, stan wrote: > Can I use dig, or some tool to query an upstream DNS amchine to findout > what rnage it is authoratative for in _reverse_ DNS? If you can do it for a "normal" zone, yes. (hint: there's not really any such thing as reverse DNS). Ceri -- pgp0.pgp Description: PGP signature
4.9R Bootup Failure - BTX halted
int=0006 err= elf=000110246 eip=811e7525... .etc.. ss: estp=25 00 00 00 00 ff ff ff-eb 1f 9d 46 01 50 53 68 BTX halted This happens right on bootup. This is a fresh install of 4.9 Release. Any ideas? Thank you! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
A reverse DNS question
Can I use dig, or some tool to query an upstream DNS amchine to findout what rnage it is authoratative for in _reverse_ DNS? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: forwarding with ttl=1
> TTL (Time To Live) is a counter value in an IP packet that gets decremented > by every "hop" (router). When it reaches a value of zero, the packet is > discarded. One more thing . If the packet is going to be forwarded and the TTL has value of 1 than the hop discards the packet . "A system should never receive IP datagram with TTL of 0 , but Net/3 generates the correct ICMP error if this happens since ip_ttl is examined after the packet is considered for local delivery and before it is forwarded" [TCP/IP Illustrated , Volume 2 - Gary R. Wright , W.Richard Stevens] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: forwarding with ttl=1
> > The problem is that the ISP's > > gateway returns every time packets with ttl=1 which makes > > further forwarding impossible . My gateway returns icmp error > > mesage "time exceeded" and discards packets . > > TTL (Time To Live) is a counter value in an IP packet that gets > decremented > by every "hop" (router). When it reaches a value of zero, the packet is > discarded. > > Using a TTL of 1 isn't going to be very useful as your packets will all be > discarded at the first router. This is working as intended. > That's what I mean . The incoming packets are with TTL=1 and my gateway cannot forward them to the local network . Probably the reason is that the ISP doesn't want from his clients to share one Internet connection between different machines in the local network . I dont have problem with outgoing packets . here is the code fragment from ip_forward() in ip_input.c /usr/src/sys/netinet/ip_input.c : if (ip->ip_ttl <= IPTTLDEC) { //Yes !!! the TTL == 1 icmp_error(m, ICMP_TIMXCEED, ICMP_TIMXCEED_INTRANS,0, 0); return; } and further: ip->ip_ttl -= IPTTLDEC; when i execute netstat -s there is a big number of icmp time exceed errors indicating that the packets are discarded because of TTL expiration I need a way to avoid this . Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: C/C++ Unix/Programmer/Tester
> > I'am interesing in becoming BSD tester or alfa tester, how I can get > information about job positions in BSD development. FreeBSD is created and developed by volunteers rather than paid staff. To get a job in BSD development, you would have to get a job in a company that is using FreeBSD (or one of the other BSDs) and that, for their own reasons, chooses to have some staff working on BSD things - probably that run on top of BSD. You could also volunteer to do development, but you would not get paid for it from FreeBSD - no one does. To do this, look at the various projects and or the bug (pr) list and do a good job writing the needed code or correction and submit it. If it gets used and you do this often enough you might end up being a committer. As for testing, just download the latest CURRENT and update to the latest with cvsup and you will be running (and thus testing) the latest BSD. Check out information from the FreeBSD web page - follow the appropriate links. jerry > > Thanks > Ricardo Balda > ___ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
documentation on FreeBSD kernel
Are there books equivalent to e.g. "Understanding the Linux kernel" concerning FreeBSD ? More precisely, books (or other sources) discussing thoroughly the implementation of the FreeBSD kernel on ia32 computers. Yours, Thierry Lacoste. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Newbie trying to build a new world
Thank you all for answering. I tried all your solutions and I got one step further. I tried to: ln -s /root/kernels/MOAK /usr/src/sys/i386/conf/MOAK and got the answer that the file exists. I changed settings in MOAK. Then i ran: make installkernel KERNCONF=MOAK and it worked. But then I ran: make buildkernel KERNCONF=MOAK and I got this on my screen (last rows): install -p -m 555 -o root -g wheel kernel /boot/kernel install: /boot/kernel/kernel: Read-only file system Error code 71 Stop in /usr/obj/usr/src/sys/MOAK Error code 1 stop in /usr/src error code 1 Thank you again Nicolas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: tcp blackhole and ident
J.D. Bronson wrote: At 07:39 AM 1/31/2004, Matthew Seaman wrote: On Sat, Jan 31, 2004 at 07:32:36AM -0600, J.D. Bronson wrote: > I have a question. I setup the following in sysctl.conf: > > net.inet.tcp.blackhole=2 > net.inet.udp.blackhole=1 > > ..Well this works, but now I have a new issue. > I run sendmail and as such, need to allow TCP 113 into this machine > and yet get CONNECTION REFUSED. - I dont want to run IDENT, but > need to still get the CONNECTION REFUSED... Run ipfw(8) or a similar firewall and set up a rule that sends an ICMP reject whenever it detects an incoming connection on port 113 as part of your firewall configuration. Eg. something like: 01600 reset tcp from any to me dst-port 113 setup Thanks...but I have quite a robust Cisco firewall in place ahead of the freebsd machines...so I dont -need- to run ipfw...Hmmm... You can achieve this rejection on the application level as well. Here's how: 1. Run inetd with command line options '-wW' to enable libwrap support. 2. Enable inetd's internal auth service with authstream tcp nowait rootinternal 3. Deny auth connections in libwrap's /etc/hosts.allow, like so: auth : ALL : severity debug : deny ALL : ALL : allow Now you have something (inetd) bound to port 113, so a connection can be established, but it gets dropped immediately due to the libwrap setup. This is sufficient to prevent timeouts on the remote end but at the same time leaks as little information as possible for an application level solution. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: "make package-recursive install" question
Hi, thanks. No, because: 1) I would like to know how you do that as I want to learn how this is done 2) I'm testing with CFLAGS and optimizing the compiler stuff. 3) pkg_add will install 3.1.4, I want to test 3.2 > -Original Message- > From: JJB [mailto:[EMAIL PROTECTED] > Sent: jeudi 5 février 2004 14:21 > To: Didier WIROTH > Subject: RE: "make package-recursive install" question > > You are going about this all wrong. Why install from ports > collection and then build your own package, this is crazy, > just download the package to start with. Use pkg_add -rv > kde3 on each machine you want to install it on. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 5.2 fails to probe parallel port
Hi! I have a strange problem with the parallel port of my Compaq EVO D510. I'm running 5.x on this machine since 6/7 months ago. Finally I decided to attach a local printer to the parallel port and found that the kernel couldn't detect it. ATM I'm running a GENERIC kernel, but in precedence I compiled my kernel with these: # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip# TCP/IP over parallel device ppi # Parallel port interface device I tried several hints for the ppc device without effect, changing irqs, ports with acpi enabled and disabled but still nothing. dmesg always shows this line: ppc0: failed to probe at irq 7 on isa0 What am I missing? Thanks for any reply! Ciao!!! Claudio Di Martino [EMAIL PROTECTED] - Unsolicited and/or junk e-mail to this address isn't accepted ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
build packages recursively from ports collection
Hi, I want to use some of our freebsd servers to build .tgz binaries from the ports collection. Then, I would like to install the packages with pkg_add on different workstations. My main problem is how to build packages on servers without installing them! All i could find or was told, is: 1) make fetch-recursive 2) postinstall -rRp kde 3) portupgrade -frRp kde All of theses samples "installs" the ports software! For example kde: How do you recursively build .tgz packages of the kde sources and their dependencies "WITHOUT" actually installing them on the servers? Thx ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: forwarding with ttl=1
> > Hi All > > I am newbie with configuring networks under FreeBSD . I have > small network with gateway running on FreeBSD 5.2 Release .My > ISP offers me pppoe service for connecting to Internet . I > didn't have problems with configuring ppp with pppoe . I used > nat option wchich works fine for masquerading the local > network from the world . The problem is that the ISP's > gateway returns every time packets with ttl=1 which makes > further forwarding impossible . My gateway returns icmp error > mesage "time exceeded" and discards packets . I want to know > if I made some mistake with configuring nat service or if not > what is the solution of the problem ? Is there any service > that can increment ttl and process the packet ? I tried to > avoid the checking of ttl in the ip_forward() function in > ip_input.c and skipping the decrement of ttl and everything > works fine but i think that this is very ugly kernel hack . > Probably there is an easy and elegant solution . Any ideas ? > TTL (Time To Live) is a counter value in an IP packet that gets decremented by every "hop" (router). When it reaches a value of zero, the packet is discarded. Using a TTL of 1 isn't going to be very useful as your packets will all be discarded at the first router. This is working as intended. Normally, TTL is set to 128-ish. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
wireless and diskless terminals 4.9 stable
Is there a bootable 54 MBit/s PCI card (FreeBSD 4.9 Stable)? Experiences with Allnet ALL0271 Wireless 54 Mbit PCI? Any help is highly appreciated. Cheers, -- Robert Barten ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
forwarding with ttl=1
Hi All I am newbie with configuring networks under FreeBSD . I have small network with gateway running on FreeBSD 5.2 Release .My ISP offers me pppoe service for connecting to Internet . I didn't have problems with configuring ppp with pppoe . I used nat option wchich works fine for masquerading the local network from the world . The problem is that the ISP's gateway returns every time packets with ttl=1 which makes further forwarding impossible . My gateway returns icmp error mesage "time exceeded" and discards packets . I want to know if I made some mistake with configuring nat service or if not what is the solution of the problem ? Is there any service that can increment ttl and process the packet ? I tried to avoid the checking of ttl in the ip_forward() function in ip_input.c and skipping the decrement of ttl and everything works fine but i think that this is very ugly kernel hack . Probably there is an easy and elegant solution . Any ideas ? please excuse my English ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: ipf + ipnat + dmz + bridge question
Clever. I tried that and now I have found a different issue, I don't know if ipnat is working correctly, I can browse the internet using my LAN however the ipnat.rules are being completely ignored, I removed all rules and I can still browse the Internet with my LAN and to me this is odd. Any ideas? Thanks for your time. Jay -Original Message- From: Nelis Lamprecht [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 3:47 AM To: Jason Lavigne Cc: FreeBSD Questions Mail List Subject: Re: ipf + ipnat + dmz + bridge question On Thu, 2004-02-05 at 02:57, Jason Lavigne wrote: > Hello all, > > I currently have a firewall with 3 nics, one goes to the net, one to the > DMZ and one to the LAN. I have ipf and ipnat running along with FreeBSD > bridge support and I have the external nic and the DMZ nic bridged. All > DMZ computers are configured with a real public ip and have the firewall > as the gateway. > > My question is when any computer from my DMZ goes out to the net it uses > the ip of the firewall and not the public ip it was assigned. Internally > within the DMZ they use the correct ips. How can I make it so when the > DMZ computers are on the net they report as using their assigned ip. Is > the DMZ using ipnat? I only have the LAN mapped in ipnat.rules and > nothing about the DMZ ips. > > TIA > > Jay > > Here are my configs: > > ifconfig > > dc0: flags=8843 mtu 1500 > inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 > inet6 fe80::203:6dff:fe00:9bd%dc0 prefixlen 64 scopeid 0x1 > ether 00:03:6d:00:09:bd > media: Ethernet autoselect (100baseTX) > status: active > dc1: flags=8943 mtu 1500 > inet6 fe80::280:c6ff:feea:7af1%dc1 prefixlen 64 scopeid 0x2 > inet xxx.yyy.200.99 netmask 0xfff0 broadcast xxx.yyy.200.111 > ether 00:80:c6:ea:7a:f1 > media: Ethernet autoselect (100baseTX ) > status: active > xl0: flags=8943 mtu 1500 > options=3 > inet6 fe80::250:daff:fe1b:90c3%xl0 prefixlen 64 scopeid 0x3 > inet xxx.yyy.200.106 netmask 0x broadcast > xxx.yyy.200.106 > inet xxx.yyy.200.107 netmask 0x broadcast > xxx.yyy.200.107 > ether 00:50:da:1b:90:c3 > media: Ethernet autoselect (10baseT/UTP) > status: active > lp0: flags=8810 mtu 1500 > lo0: flags=8049 mtu 16384 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 > inet 127.0.0.1 netmask 0xff00 > tun0: flags=8051 mtu 1492 > inet xxx.yyy.200.97 --> 207.136.64.4 netmask 0xff00 > Opened by PID 241 > > /etc/ipnat.rules > > # nat the lan > map xl0 192.168.1.0/24 -> xxx.yyy.200.97/32 try changing this to: map xl0 from 192.168.1.0/24 ! to xxx.yyy.200.99/32 -> xxx.yyy.200.97/32 which basically tells ipnat to always use NAT unless you are speaking with your DMZ xxx.yyy.200.99/32 Regards, -- Nelis Lamprecht PGP: http://www.8ball.co.za/pgp/nelis.key "Unix IS user friendly.. It's just selective about who its friends are." ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Newbie trying to build a new world
Hello. I am a newbie trying to build a new kernel. I have been following the handbook step by step but I still do something wrong. I copied GENERIC and did some changes and called my new kernel MOAK. I put it into /root/kernels and typed: ln -s /root/kernels/MOAK I cvsuped src all and ports all. Then and did: make -j4 buildworld. No problem. Then I rebooted and went into single user mode and typed: make buildkernel KERNCONF=MOAK. Then I get this output: config: /usr/src/sys/i386/conf/MOAK:274: syntax error Error code 1 stop in /usr/src error code 1 Stop in /usr/src Is there something wrong in MOAK (see attachment)??? Hope that somebody can offer me some help. Many thanks Nicolas # # MOAK -- Min egen configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # #http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.394.2.2 2003/12/07 23:52:53 scottl Exp $ machine i386 cpu I686_CPU ident MOAK #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" #Default places to look for devices. #makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols options SCHED_4BSD #4BSD scheduler options INET#InterNETworking #optionsINET6 #IPv6 communications protocols #optionsFFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists #optionsUFS_DIRHASH #Improve performance on big directories options MD_ROOT #MD is a potential root device #optionsNFSCLIENT #Network Filesystem Client #optionsNFSSERVER #Network Filesystem Server #optionsNFS_ROOT#NFS usable as /, requires NFSCLIENT #optionsMSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem #optionsPROCFS #Process filesystem (requires PSEUDOFS) #optionsPSEUDOFS#Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 #optionsSCSI_DELAY=15000#Delay (in ms) before probing SCSI options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~215k to driver. # Debugging for use in -current #optionsDDB #Enable the kernel debugger #optionsINVARIANTS #Enable calls of extra sanity checking options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS #optionsWITNESS #Enable checks to detect deadlocks and cycles #optionsWITNESS_SKIPSPIN#Don't run witness on spinlocks for speed # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel device apic# I/O APIC device isa #device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # SCSI Controllers #device ahb # EISA AHA1742 family #device ahc # AHA2940
Re: Newbie trying to build a new world
On Thu, 5 Feb 2004 12:15:16 +0100 Nicolas <[EMAIL PROTECTED]> wrote: > Hello. > I am a newbie trying to build a new kernel. I have been following the handbook > step by step but I still do something wrong. I copied GENERIC and did some > changes and called my new kernel MOAK. I put it into /root/kernels and typed: > ln -s /root/kernels/MOAK > I cvsuped src all and ports all. > Then and did: make -j4 buildworld. > No problem. > Then I rebooted and went into single user mode and typed: > make buildkernel KERNCONF=MOAK. No need to build kernel in single user. > Then I get this output: > config: /usr/src/sys/i386/conf/MOAK:274: syntax error > Error code 1 > stop in /usr/src > error code 1 > Stop in /usr/src > Is there something wrong in MOAK (see attachment)??? A lot. #options FFS #Berkeley Fast Filesystem optionsSOFTUPDATES #Enable FFS soft updates support What type of file system will you be using ? FFS=Berkeley Fast Filesystem it our fs and SOFTUPDATES, UFS_ACL require FFS optionsUFS_ACL #Support for access control lists #options UFS_DIRHASH #Improve performance on big directories I would keep this also. #options PROCFS #Process filesystem (requires PSEUDOFS) #options PSEUDOFS#Pseudo-filesystem framework I think you want also this (or you can load the /boot/kernel/ appropriate .ko) # Debugging for use in -current #options DDB #Enable the kernel debugger #options INVARIANTS #Enable calls of extra sanity checking optionsINVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS Use also INVARIANTS if you want this. # Pseudo devices - the number indicates how many units to allocate. #devicerandom # Entropy device 99.9% you do need random device loop# Network loopback #deviceether # Ethernet support Also this for networking. #devicepty # Pseudo-ttys (telnet etc) Probably this. #devicemd # Memory "disks" If you want MDROOT you probably want this to. # USB support device uhci# UHCI PCI->USB interface device ohci# OHCI PCI->USB interface device usb # USB Bus (required) #deviceudbp# USB Double Bulk Pipe devices #deviceugen# Generic #deviceuhid# "Human Interface Devices" #deviceukbd# Keyboard #deviceulpt# Printer #deviceumass # Disks/Mass storage - Requires scbus and da #deviceums # Mouse #deviceurio# Diamond Rio 500 MP3 player #deviceuscanner# Scanners # USB Ethernet, requires mii #deviceaue # ADMtek USB ethernet #deviceaxe # ASIX Electronics USB ethernet #devicecue # CATC USB ethernet #devicekue # Kawasaki LSI USB ethernet # FireWire support device firewire# FireWire bus code I have the feeling you want also scbus and da for this, not sure. #Sound device pcm You could load the appropriate .ko for your sound card. options PNPBIOS You don't need PNPBIOS in 5.x, despite the handbook. > Hope that somebody can offer me some help. > Many thanks Nicolas > -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"