Re: Troubles with ports...
Dan Nelson wrote: The ports tree is just instructions on building programs. It doesn't include the source. That would add another 14GB to the size of your download :) You will have to manually download that file and place it in /usr/ports/distfiles, or tell fetch about your authenticated proxy (run 'man 3 fetch', search for ENVIRONMENT). Heh... I feel soo stupid... i did feel something was wrong when i found that ports.tar.gz was 27mb but i thought maybe it has been super-compressed or something. But honestly, no where in the guide or the ports page led me to believe that i would need the 14GB download... i think i'll get the CDs... As for fetch, i have added vars in make.conf file and i am getting authenticated now but for some reason i can only access files through http and not ftp... thanks... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: routing for 1000 users and 10Mbit internet.
BM> hugle wrote: >> FG> On Mon, 31 May 2004, hugle wrote: >> dammit.. why then my users eats so much CPU? look: CPU states: 0.0% user, 0.0% nice, 0.8% system, 38.0% interrupt, 61.2% idle Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free I have only 61% idle ? usualy i have ~50 idle.. now I have P4 2.4GHZ maybe my setup is bad (kernel I mean)? >> >> FG> My guess is either cheap hardware (NIC) or bad tuning. What NICs are you >> FG> using? >> >> I'm using Intel cards (fxp) at the moment. But from reading the posts >> I've decided to buy GBIT NIC. >> Now the dilema is what brand name.. INTEL or 3COM ? maybe you guys >> could advice? BM> I've always had good results with fxp cards. how much users do you have? and what model? >> And yes, my PC is dealing with lots of network traffic.. It's a >> gateway + shaping. It deals with almost 1000 users.. >> >> Will this PC (p4 2.4GHZ) deal with 10mbit internet? as a gateway + >> shaper ? with one GBIT NIC connected to 100Mbit swith? BM> A gbit NIC isn't going to run at gbit speed on a 100mbit switch. I know, but as I know it'll have more memory, buffer or smth like that. which somehow will help to deal with the problem, right? BM> I would look elsewhere than the NIC. Intel NICs are good units (in my experience, BM> if someone knows of problems with them, please speak up) from systam -v: 481 fxp0 irq12 226 fxp1 irq3 317 fxp2 irq7 I think it is quite high? right? BM> Read the polling man page and see if it will help you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Troubles with ports...
Danny MacMillan wrote: This is normal behaviour. The ports collection does not include qt-x11-free-3.3.2.tar.bz2. In broad terms, the ports collection does not contain =any= software. Rather, it contains instructions for obtaining and building software to run on your FreeBSD system. When you "make install" a certain port A, it will first make those ports A depends on, and each port THOSE ports depend on, and so on until it comes to a port that doesn't depend on anything you don't already have installed. It will recursively traverse the dependencies until finally it is able to make the port you asked it to make. If I understand you correctly, this is an issue because your fetch is not working through your authenticated ftp proxy. I believe you're going to be less frustrated dealing with that problem first. Otherwise you'll have to manually fetch every distfile for /usr/ports/x11/kde3 and all ports it depends on, directly or indirectly, and that is a =lot= of files, presuming you can manually retrieve these files. You should also be aware that building a mega-package like kde from source is quite a lengthy process, even on relatively fast hardware. You may wish instead to install binary packages. Ordinarily a reference to pkg_add -r is included at this point, but you may have trouble even with that unless and until you get your ftp proxy issue resolved. -- Danny Thanks for the detailed response. I was confused because i stupidly assumed ports.tar.gz has everything. I think i'll go with the packages now... and i'll get them from the cd... Thanks again... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
DNS usage question
I'm running sendmail on my 5.2.1 system, and have a number of DNSBLs set up in my sendmail configuration. I am not currently running BIND (or any other nameserver), and therefore have configured my system to use one of my ISP's DNS servers. I've noticed that each attempted connection to my mail server now generates a flurry of DNS requests from my mail server to my ISP's DNS server. I'd like to streamline this process, but I don't really want to take on DNS administration. I've heard about caching DNS servers, and "tiny DNS", and I wondered if they might suit my needs. Comments, or recommendations?? Thanks, Jay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem With Fix-It CD
On Mon, May 31, 2004 at 08:12:15PM -0700, Rishi Chopra wrote: > I'm unable to load the Fix-It CD; my computer will not boot the CD > directly, and a mounting error is given when I attempt to load the CD > using the boot diskettes. I've tried taking my RAID array to another > machine, and the sysinstall program freezes when loading. I've verified > that the CD (FreeBSD 5.1) is good. the fixit cd is not bootable. you have to boot from the installation cd, select "fixit" and insert the fixit cd. hth, toni -- Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer -- Max Planck | pgp6PyBFvIBIM.pgp Description: PGP signature
Re: DNS usage question
On Tue, 1 Jun 2004 02:31:20 -0500 Jay Moore <[EMAIL PROTECTED]> spake thus: > I'm running sendmail on my 5.2.1 system, and have a number of DNSBLs set up in > my sendmail configuration. I am not currently running BIND (or any other > nameserver), and therefore have configured my system to use one of my ISP's > DNS servers. > > I've noticed that each attempted connection to my mail server now generates a > flurry of DNS requests from my mail server to my ISP's DNS server. > > I'd like to streamline this process, but I don't really want to take on DNS > administration. I've heard about caching DNS servers, and "tiny DNS", and I > wondered if they might suit my needs. > > Comments, or recommendations?? > > Thanks, > Jay Running bind as a caching only nameserver is pretty trivial and fairly fool proof. Lots of good docs on the web and should only take a few minutes to get configured. Have not had any experience with TinyDNS so can't comment on that one. HTH LukeK -- Luke Kearney <[EMAIL PROTECTED]> ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPFW Ruleset Help
Hello. Running FreeBSD 4.10. After I reboot with my new ipfw.rules I can't load any webpages. I didn't try by IP address cause I can't remember any off top at the moment. Here is my following setup In my kernel I have options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=10 options IPSTEALTH In my rc.conf I have firewall_enable="YES" firewall_script="/etc/rc.firewall" firewall_type="OPEN" firewall_quiet="NO" firewall_logging_enable="YES" icmp_drop_redirect="YES" log_in_vain="YES" tcp_drop_sysfin="YES" tcp_restrict_rst="YES" In my /etc/ipfw.rules I have add 00300 deny log tcp from any to any 515 in recv xl0 add 00301 deny tcp from any to any 7101 in recv xl0 add 00302 deny log tcp from any to any 6000 in recv xl0 add 00303 allow log tcp from any to any 113 inr ecv xl0 setup # DNS add 00310 allow tcp from 205.152.133.254 to any in recv xl0 add 00311 allow tcp from 205.152.132.235 to any in recv xl0 add 00320 allow udp from 205.152.133.254 53 to any in recv xl0 add 00321 allow udp from 205.152.132.235 53 to any in recv xl0 # Deny Below port 1000 add 00399 deny log tcp from any to any 0-1000 in recv xl0 setup # Ntpdate add 00403 allow udp from 123 to any 123 in recv xl0 # Deny UDP connections add 00499 deny log udp from any to any in recv xl0 # Log netbus ( haha ) add 00500 deny log tcp from any to any 12345 in recv xl0 add 00501 deny log tcp from any to any 20034 in recv xl0 # Let my ISP ping me! add 00600 allow icmp from 205.152.133.254 to any in recv xl0 add 00601 allow icmp from 205.152.132.235 to any in recv xl0 # Log ICMP echos and dest add 00610 allow log icmp from any to any in recv xl0 icmptype 3 add 00610 allow log icmp from any to any in recv xl0 icmptype 8 First. Things I will be running. I will be running Apache+PHP later on when I get my box more secure but for now I will be running Postfox for my MTA, I want to be able to send and recieve e-mails and any other *basic* things everyone would want on a everyday basis ya know? If I left out anything that would be helpful please let me know and I will post it to the list. Thanks in advance. __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Troubles with ports...
On Tue, Jun 01, 2004 at 12:17:04PM +0500, Muhammad Ali wrote: > Heh... I feel soo stupid... i did feel something was wrong when > i found that ports.tar.gz was 27mb but i thought maybe it has been > super-compressed or something. But honestly, no where in the guide or > the ports page led me to believe that i would need the 14GB download... > i think i'll get the CDs... The CDs don't include everything either, for similar reasons. Kris pgplBuPt5Lu4i.pgp Description: PGP signature
Re: make depend error
On Tuesday 01 June 2004 04:39, john huss wrote: > Hello, > > Can any of you kind teeps help me out please? I'm trying to compile my > FreeBSD 4.9 kernel for the first time and am having problems. > > I am recompiling for several reasons; to learn about compiling the > kernel; to get sound support for my isa soundcard and (finally); to > compile in some firewall options mentioned in the handbook. hi john, I just don't know what the reasons for your problem might be, but would like to give some hints anyway. (1) There's no need to compile sound support and firewall options statically into the kernel. Of course you can do so, but you can use modules for this purpose too. It's your choice. (2) You can safely comment out support for hardware you don't have on your system. (3) It's quite some time ago that 4.9 came out and several security related bugs have been discovered and fixed since then. That's why you should update your sources using cvsup(1) and rebuild the entire base system, not only the kernel. After having updated the sources - cd /usr/src - read UPDATING and README - cp sys/i386/conf/GENERIC sys/i386/conf/CUSTOM_KERNEL - edit your custom kernel configuration - make buildworld - make buildkernel - make installkernel - reboot to single user mode, fsck and mount the file systems - mergemaster -p - cd /usr/src - make installworld - mergemaster these steps will leave you with an up to date system using the GENERIC kernel. To create and install a custom kernel just repeat the make build/install kernel steps in /usr/src but add KERNCONF=CUSTOM_KERNEL. reboot and enjoy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Seeking advice on 'ports-supfile'
Hi Adam, Tks for your advice. > > FreeBSD-5.2 > > > > I'm seeking for advice on 'ports-supfile' to run > > > > # cvsup -g /usr/local/etc/cvsup/ > > ports-supfile > > > > the second time as at the first time there were > some > > problems > > I don't quite use it this way. > > I use the three files located at > http://www.bugman.cx/cvsup/ and I always > put them in my /etc directory (just for easy > access). Noted > make.conf is empty during a standard FreeBSD > installation, but by putting > (some) of these options in it, you'll be able to > update the ports by cd-ing > to /usr/ports and typing in 'make update'. > > It's way better this way. cat /etc/make.conf MASTER_SITE_BACKUP?=\ ftp://ftp2.au.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP} MASTER_SORT_REGEX?= ^file: ^ftp://ftp\.FreeBSD\.org/pub/FreeBSD/ports/local-distfiles/ ://[^/]*\.au/ ://[^/]*\.au\. SUP_UPDATE=yes SUP=/usr/local/bin/cvsup SUPFLAGS=-g -L 2 -r 0 SUPHOST=mirror.internode.on.net SUPFILE=/etc/release-supfile PORTSSUPFILE=/etc/ports-supfile WITHOUT_GUI=true WITHOUT_X11=true WITHOUT_CUPS=true 1) Shall I make change to following lines according to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html MASTER_SITE_BACKUP?=\ ftp://ftp2.au.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP} MASTER_SORT_REGEX?= ^file: ^ftp://ftp\.FreeBSD\.org/pub/FreeBSD/ports/local-distfiles/ ://[^/]*\.au/ ://[^/]*\.au\. and SUPHOST=mirror.internode.on.net 2) Shall I make any change to; /etc/ports-supfile /etc/release-supfile Kindly advice. TIA B.R. Stephen ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd - Mail configuration and syntax
Thanks to those o answered me! I have now some good tips, specialy from Matthew email. I forgot to tell you what would be the use of my email, it would be more easy for you to help me. I have a server, without xwindows configured, the only thing I want from the server about email is to create some scripts to send emails with some files attached. That's why I spoke the mailx (mail)... So I think your tips are enough. Thanks once again > > > On Mon, May 31, 2004 at 09:32:21AM +0100, Carla Neves wrote: > > > I would like someone to give me some good tips to configure my email > > on Freebsd v4.9, to send/receive messages. I would like to use what I > > have already installed: sendmail, mailx. I went through the Freebsd > > manual but I coulnd't find any tips for the syntax of > > sending/receiving emails, just the sendmail configuration. So I would > > apreciate your help to give me the good steps for: > > Hmmm... the mailx command always used to be a SysV thing -- in fact, a > port of the BSD mail(1) command, which they had to rename because they > already had a mail(1) command which did something completely > different. > > Looking at the pkg-descr for the mail/mailx command it actually looks > almost identical to the mail(1) command in the base system. > > > 1- Configuring sendmail (although is already in the manual) > > Could you be more specific about what you want to do with your e-mail > system? In general, all things are possible (e-mail wise) using > sendmail, but not necessarily easy or obvious. > > > 2- Syntax used to send email (with examples would be great). > > Well, to use mail(1) to send an e-mail from the command line it's > pretty much: > > % mail -s "Message Subject here" [EMAIL PROTECTED] > > Then type in your message ending with a ^D or a '.' on a line by > itself. There are a number of ~-escapes you can use to do things like > invoke an editor or edit the message headers. > > For use in scripting, mail(1) is quite handy -- you can do something > like this: > > mail -s "Automatic Message" [EMAIL PROTECTED] < The contents of the message goes here. > > As much as you like, really. > > E_O_M > > but it's more efficient to pipe stuff directly into sendmail: > > /usr/sbin/sendmail -t -oi -oem < To: [EMAIL PROTECTED] > Subject: Automatic Message > > The contents of the message goes here. > > As much as you like, really. > > E_O_M > > > 3- Syntax to see the received emails. > > Just type mail to get a listing of your inbox, then type the message > number to read that message, or 'n' for the next message. > > > I went through the man pages of mailx and sendmail, but they seem not > > to be very userfriendly for someone who is quite knew configuring > > email on Freebsd. So could you please help me? > > sendmail is quite hard to deal with. A very good resource is the file > /usr/share/sendmail/cf/README which summarises all of the options you > can put into a .mc file. The Sendmail Operations manual in > /usr/share/doc/smm/08.sendmailop/paper.ascii.gz also contains a great > deal of useful stuff. However, if you really want to get to grips > with it, you should look at the bat book -- Sendmail, 3rd Ed. Costales > and Allman, O'Reilly (http://www.oreilly.com/catalog/sendmail3/) > > Personally, I'm not a big fan on the mail(1) command for interactive > use -- mutt(1) is much better. Lots of people like pine(1) and it's > certainly a lot more friendly towards beginning users. Then there are > e-mail clients available for emacs, plus a whole range of GUI mail > clients such as Mozilla mail, Thunderbird, Evolution etc. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > PGP: http://www.infracaninophile.co.uk/pgpkey Marlow > Tel: +44 1628 476614 Bucks., SL7 1TH UK > > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem With Fix-It CD
On Tue, 1 Jun 2004 09:28:59 +0200, Toni Schmidbauer wrote: >> > On Mon, May 31, 2004 at 08:12:15PM -0700, Rishi Chopra wrote: > > I'm unable to load the Fix-It CD; my computer will not boot the CD > > directly, and a mounting error is given when I attempt to load the CD > > using the boot diskettes. I've tried taking my RAID array to another > > machine, and the sysinstall program freezes when loading. I've verified > > that the CD (FreeBSD 5.1) is good. > > the fixit cd is not bootable. you have to boot from the > installation cd, select "fixit" and insert the fixit cd. >> I believe that was true of the release 5.1 fixit CD, but that seems to have been "fixed". I don't know exactly when the fixit CDs became bootable. I am not sure about the release 4.9 fixit CD, but I believe the release 5.2, 5.2.1, and 4.10 fixit CDs are bootable, just like the installation CD. The difference is that when you boot the fixit CD you can't really do an installation (because the bytes to install are not there) and when you go into fixit mode you don't have to change the CD in the drive. Dan Strick ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Troubles with ports...
On Tue, Jun 01, 2004 at 12:58:40PM +0500, Muhammad Ali wrote: > Kris Kennaway wrote: > > ><>On Tue, Jun 01, 2004 at 12:17:04PM +0500, Muhammad Ali wrote: > > > >The CDs don't include everything either, for similar reasons. > > > >Kris > > Heh... surely, the binary packages should be there if not the source, > won't they? Some of them, yes, but 1 packages would take up about a dozen CDs. Kris pgpIHu2DlZDnJ.pgp Description: PGP signature
Re: DNS usage question
Luke Kearney wrote: On Tue, 1 Jun 2004 02:31:20 -0500 Jay Moore <[EMAIL PROTECTED]> spake thus: I'm running sendmail on my 5.2.1 system, and have a number of DNSBLs set up in my sendmail configuration. I am not currently running BIND (or any other nameserver), and therefore have configured my system to use one of my ISP's DNS servers. I've noticed that each attempted connection to my mail server now generates a flurry of DNS requests from my mail server to my ISP's DNS server. I'd like to streamline this process, but I don't really want to take on DNS administration. I've heard about caching DNS servers, and "tiny DNS", and I wondered if they might suit my needs. Comments, or recommendations?? Thanks, Jay Running bind as a caching only nameserver is pretty trivial and fairly fool proof. Lots of good docs on the web and should only take a few minutes to get configured. Have not had any experience with TinyDNS so can't comment on that one. If you want to use djbdns, you'll want to run dnscache rather than tinydns - which is designed for publishing DNS information. A good starting point for this is: http://cr.yp.to/djbdns/run-cache.html PWR. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
help me make a Mail Server choice
Hi, I have some trouble choosing between "postfix" and "qmail" for the new corporate mail server I'll be making. I'm looking for the one with least administrative overhead (since I run a one man show) and security is a big issue. Also, I'm looking for some guidance (choices) for POP, IMAP and webMail interface as well as Virus and SPAM (preferably free) protection. Another issue is the FreeBSD version. Should I stay with the 4.x-STABLE or should I go with the 5.x. If I set up a 5.2-Release, will the upgrade to 5.3-STABLE be enough, or is there a possibility that I will have to reformat and do a clean 5.3 install. 10x ahead -- <> ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS server fail-over - how do you do it?
** Reply to note from "adp" <[EMAIL PROTECTED]> Mon, 31 May 2004 12:33:24 -0500 > I was thinking that > since NFS is udp-based, that if the primary NFS server failed, and the > secondary assumed the primary NFS server's IP address, that things would at > least return to normal (of course, any writes that had been in progress > would fail horribly). That doesn't seem to be the case. During a test we > killed the main NFS server and brought up the NFS IP as an alias on the > backup. Didn't work. Has anyone tried anything like this? The idea makes me shiver, as I'm quite sure there would be data losses. However, if you are so brave... have you tried freevrrpd? The problem might be that clients still have that IP associated with the old MAC address in their tables. VRRP is a protocol designed to handel failovers that should also deal with this, by changing the IP *and* the MAC address of the card. bye av. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dlink DSL router doesn't like FreeBSD
Just to update you on the D-Link 504T problem. After some weeks and a relocation I've been able to dig further in it and come to the conclusion that the 504T (mind the 'T') is buggy. Both the D-Link European help desk and the following page confirmed what I suspected: http://www.broadbandreports.com/forum/remark,10278563~mode=flat So, unless D-Link comes out with a new firmware you'd better steer clear from this DSL router. I'll return mine as soon as possible. Cheers, -- walter pelissero http://www.pelissero.de ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: help me make a Mail Server choice
Perica Veljanovski wrote: >Hi, >I have some trouble choosing between "postfix" and "qmail" >for the new >corporate mail server I'll be making. I'm looking for the >one with least >administrative overhead (since I run a one man show) and >security is a >big issue. Also, I'm looking for some guidance (choices) >for POP, IMAP >and webMail interface as well as Virus and SPAM (preferably >free) >protection. My mail setup is Postfix with amavisd-new, spamassasin(built into amavisd-new) and clamav antivirus. It was quite easy to setup, and its stable. For IMAP and POP i use Courier-Imap with SSL, and for webmail i use SquirrelMail. The admin is low (although i only have about 5 LAN users). I would recommend my mail setup anyday. If you like i can mail some resources that i used in setting up our server. > >Another issue is the FreeBSD version. Should I stay with >the 4.x-STABLE >or should I go with the 5.x. If I set up a 5.2-Release, >will the upgrade >to 5.3-STABLE be enough, or is there a possibility that I >will have to >reformat and do a clean 5.3 install. I would stay with the 4.x-STABLE branch (4.10) but get others' input on this. Cheers, Gareth _ For super low premiums ,click here http://www.dialdirect.co.za/quote ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Disk geometry salad...
Hi, I would like to try FreeBSD but recently I've encountered several problems with the detection of my hard drives' geometry, so I have a few questions. I hope this is the right place to ask... First I would like to say that my understanding of this issue is minor, so if my questions seem stupid, I apologize in advance. I have two Western Digital hard drives, (1) WD400BB (40GB) and (2) WD300BB (30GB) and an Asus CUS-L2C motherboard (Intel 815EP chipset). The manufacturer website doesn't provide the CHS geometry for the drives, but lists the number of LBA sectors for each drive. For (1) it's 78,165,360 sectors * 512 bytes resulting in about 40.02 GB. For (2) it's 58,633,344 sectors * 512 bytes resulting in about 30.02 GB. On the first drive I currently have Windows XP, the second drive is empty. Western Digital's diagnostic utility for Windows detects the CHS geometry of the drives as (1) 4865/255/63 and (2) 3649/255/63 and confirms that the number of LBA sectors is identical to the manufacturer specification. FreeBSD 5.2.1 detects the CHS geometry (When it boots, there's a listing of the hard drives and the CHS geometry, but no LBA sectors) as (1) 77545/16/63 and (2) 58168/16/63. I have several questions regarding this. 1) What is the difference between a geometry of 58168/16/63 and 3649/255/63, why did the diagnostic utility detect the latter form, while FreeBSD detected the former (Also, Linux 2.4 detects the geometry as 3649/255/63)? 2) When installing FreeBSD, sysinstall warns that a geometry of the first drive (1) as it detects it (77545/16/63) is incorrect and can't be used. It automatically replaces the values with 4865/255/63. The problem is that after replacing the geometry with 4865/255/63 the number of LBA sectors (as listed in the Disk Slice editor) becomes lower than the manufacturer spec (78,156,225 instead of 78,165,360). What does this mean? 3) I tried installing FreeBSD on the second drive. Sysinstall didn't complain about the geometry of 58168/16/63 and I was able to install. The interesting thing is that when I started the installation program of Fedora Core Linux (Had to check something, and it was FC1 which means 2.4 kernel) it complained about an incorrect partition table that was generated by a tool that didn't have the right BIOS geometry. When I reinstalled FreeBSD on the same drive, but changed the geometry from 58168/16/63 to 3649/255/63, and launched the Fedora Core setup again - it didn't complain! Why is that? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Getting ProFTPD to listen on just one IP address
Hi all, Can anyone enlighten me as to how I get ProFTPD to just listen to one IP address ? I've just installed from ports, so I've got proftpd-1.2.10.r1 I've added the following to my config file : DefaultAddress193.xx.xx.xx I then start ProFTPD and get the following message: - setting default address to 193.xx.xx.xx However, netstat -an | grep 21 shows me this tcp4 0 0 *.21 *.* LISTEN So it's binding to both IP's on the machine. I've tested this and I can definitely FTP to both IP addresses - which is NOT what I want. The reason I'm trying to get this working is that I need 2 different config's on the same machine. Thanks in advance, -- Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870) Wageslaves - Who do you want to make rich today? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Intel Ethernet card not being detected
Hi all, I just bought a server from DNUK . It claims to have the following Ethernet card combination: Intel PRO/1000 / 1000 Mbit / integrated Intel PRO/100 / 100 Mbit / integrated I've installed FreeBSD 4.10-RELEASE onto the box, and all I see is em0, I don't see an fxp0 device. I've tried installing SuSE Linux on the machine, and it detects both cards. For the 100Mb, I see the following in dmesg after boot: e100: selftest OK. e100: eth1: Intel(R) PRO/100 Network Connection Hardware receive checksums enabled cpu cycle saver enabled I can then allocate it an IP address and it appears to work. Does anyone have any advice as to how I can get this working under FreeBSD ? My supplier doesn't support FreeBSD but they do support Linux, and they've said if it works under one, it should work under the other. -- Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870) God gave you the power - Preacher on the Simpsons Hmm. You'd think he'd wanna... limit my power - Bart ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Policy-based transparent proxying
Hi guys Suppose my FreeBSD machine is a router/firewall for a small private network and I use transparent proxying. ipnat.conf looks like this : rdr fxp0 192.168.0.254/32 port 80 -> 192.168.0.254 port 8000 tcp rdr fxp0 0/0 port 80 -> 192.168.0.254 port 3128 tcp map dc0 192.168.0.0/24 -> x.x.x.x/32 proxy port ftp ftp/tcp map dc0 192.168.0.0/24 -> x.x.x.x/32 portmap tcp/udp auto map dc0 192.168.0.0/24 -> x.x.x.x/32 fxp0 being the internal iface and dc0 the external one Now suppose I shall have one more subnet - 192.168.1.0/24 and I want to nat it to another external IP address and make it use a different proxy. With nat it's rather clear but as to using a separate proxy - man 5 ipnat and practice says I can't use "from" clause in rdr. Any ideas (except switching to ipfw) ? Thanks all for your attention Igor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Microsoft Wireless network adapter driver
Hey there, I understand that it is hard to come by drivers for FreeBSD using microsoft products. I am using FreeBSD 5.2 with a standard USB Microsoft Wireless G Network Adapter. Any suggestions would be appreciated. Thanks for your time, Kevin Coles ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
silky doesn't start -- mime.types missing
Hello. Just built/installed silky-0.5.1 on my FreeBSD 5.2.1 box - without any problems. But to run it, I apparently need a "mime.types" file which is currently missing. - How can I get it? Thanks a lot in advance -- > silky -d main.c:442, main(): Debug turned on support.c:1465, silky_create_silkydir(): Directory '/home/liza/.silky/' does not exist, trying to create it support.c:1485, silky_create_silkydir(): '/home/liza/.silky/' created support.c:1499, silky_create_serverkeydir(): trying to create '/home/liza/.silky/serverkeys' support.c:1519, silky_create_serverkeydir(): '/home/liza/.silky/serverkeys' created support.c:1402, silky_read_mimetable(): trying 0: '/home/liza/.mime.types' support.c:1126, mime_init(): mime_init() support.c:1130, mime_init(): file open failed for '/home/liza/.mime.types' support.c:1402, silky_read_mimetable(): trying 1: '/etc/mime.types' support.c:1126, mime_init(): mime_init() support.c:1130, mime_init(): file open failed for '/etc/mime.types' support.c:1402, silky_read_mimetable(): trying 2: '/usr/pkg/etc/mime.types' support.c:1126, mime_init(): mime_init() support.c:1130, mime_init(): file open failed for '/usr/pkg/etc/mime.types' support.c:1402, silky_read_mimetable(): trying 3: '/usr/lib/mime.types' support.c:1126, mime_init(): mime_init() support.c:1130, mime_init(): file open failed for '/usr/lib/mime.types' support.c:1402, silky_read_mimetable(): trying 4: '/usr/local/etc/mime.types' support.c:1126, mime_init(): mime_init() support.c:1130, mime_init(): file open failed for '/usr/local/etc/mime.types' support.c:1402, silky_read_mimetable(): trying 5: 'mime.types' support.c:1126, mime_init(): mime_init() support.c:1130, mime_init(): file open failed for 'mime.types' support.c:1411, silky_read_mimetable(): mime.types not found at all ** ERROR **: Can not find mime.types file. Can not continue. aborting... Abort (core dumped) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel Ethernet card not being detected
On Tue, 1 Jun 2004, Wayne Pascoe wrote: > Hi all, > > I just bought a server from DNUK . It claims to have the following > Ethernet card combination: > > Intel PRO/1000 / 1000 Mbit / integrated > Intel PRO/100 / 100 Mbit / integrated > > I've installed FreeBSD 4.10-RELEASE onto the box, and all I see is em0, > I don't see an fxp0 device. > > I've tried installing SuSE Linux on the machine, and it detects both > cards. For the 100Mb, I see the following in dmesg after boot: > > e100: selftest OK. > e100: eth1: Intel(R) PRO/100 Network Connection > Hardware receive checksums enabled > cpu cycle saver enabled > Well, I could imagine some special version of a 100Pro/VM integrated one, or some special (latest version) 82550 or so. Could you post a "pciconf -lv" from a FreeBSD system? Would help to identify the parts... Olaf -- Olaf Hoyer[EMAIL PROTECTED] Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Getting ProFTPD to listen on just one IP address
Hi Wayne, I haven't tried this myself but it looks like what you are looking for: http://proftpd.linux.co.uk/localsite/Userguide/linked/config_ref_Bind.html Dave. > Hi all, > > Can anyone enlighten me as to how I get ProFTPD to just listen to one IP address ? > > I've just installed from ports, so I've got proftpd-1.2.10.r1 > > I've added the following to my config file : > DefaultAddress193.xx.xx.xx > > I then start ProFTPD and get the following message: > - setting default address to 193.xx.xx.xx > > However, netstat -an | grep 21 shows me this > tcp4 0 0 *.21 *.* LISTEN > > So it's binding to both IP's on the machine. I've tested this and I can definitely FTP to both IP addresses - which is NOT what I want. > > The reason I'm trying to get this working is that I need 2 different config's on the same machine. > > Thanks in advance, > > -- > Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870) Wageslaves - Who do you want to make rich > today? > ___ > [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: Intel Ethernet card not being detected
Wayne Pascoe wrote: > Hi all, > > I just bought a server from DNUK . It claims to have the following > Ethernet card combination: > > Intel PRO/1000 / 1000 Mbit / integrated > Intel PRO/100 / 100 Mbit / integrated > > I've installed FreeBSD 4.10-RELEASE onto the box, and all I see is em0, > I don't see an fxp0 device. Probably only the device ID of the card is not listed in the fxp0 driver. Your case reminds of a very similar problem in c.o.f.m., where the following made the card (also Intel) work (a PR has already been filed): Try adding the following line into the following struct static struct fxp_ident fxp_ident_table[] (/usr/src/sys/dev/fxp/if_fxp.c) { 0x1051, -1, "Intel 82562ET Pro/100 Ethernet" }, This was a Tyan S5102G3NR motherboard with 3 onboard NICs. Of course, the correct name for your NIC might be different, but that shouldn't bee too much of a problem. In case I guessed wrong, please provide me with the output of pciconfig -l dmesg and I'll what I can do. A link to the specification of the motherboard wouldn' hurt, either. Simon signature.asc Description: Digital signature
Re: Intel Ethernet card not being detected
On Tue, Jun 01, 2004 at 01:52:21PM +0200, Olaf Hoyer wrote: > Well, I could imagine some special version of a 100Pro/VM integrated > one, or some special (latest version) 82550 or so. > > Could you post a "pciconf -lv" from a FreeBSD system? > Would help to identify the parts... I'm going to go for a 5.2.1 install on this box now, so I'll send the output of that when I'm done. Regards, -- Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870) I have a very firm grasp on reality. I can reach out and strangle it any time! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DNS usage question
Jay Moore wrote: I'm running sendmail on my 5.2.1 system, and have a number of DNSBLs set up in my sendmail configuration. I am not currently running BIND (or any other nameserver), and therefore have configured my system to use one of my ISP's DNS servers. I've noticed that each attempted connection to my mail server now generates a flurry of DNS requests from my mail server to my ISP's DNS server. I'd like to streamline this process, but I don't really want to take on DNS administration. I've heard about caching DNS servers, and "tiny DNS", and I wondered if they might suit my needs. As with bind, setting up tinyDNS's dnscache program is pretty trivial. See the instructions here: http://cr.yp.to/djbdns.html (He even has different HOWTOs for the different usage scenerios) Note one thing: if you install tinyDNS from ports, your svscan directory will be /var/service instead of /service to comply with hier(7). Adjust the instructions accordingly. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: routing for 1000 users and 10Mbit internet.
hugle wrote: BM> hugle wrote: FG> On Mon, 31 May 2004, hugle wrote: dammit.. why then my users eats so much CPU? look: CPU states: 0.0% user, 0.0% nice, 0.8% system, 38.0% interrupt, 61.2% idle Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free I have only 61% idle ? usualy i have ~50 idle.. now I have P4 2.4GHZ maybe my setup is bad (kernel I mean)? FG> My guess is either cheap hardware (NIC) or bad tuning. What NICs are you FG> using? I'm using Intel cards (fxp) at the moment. But from reading the posts I've decided to buy GBIT NIC. Now the dilema is what brand name.. INTEL or 3COM ? maybe you guys could advice? BM> I've always had good results with fxp cards. > how much users do you have? and what model? Never more than 100 ... it's been a year or two, so I don't remember the model. And yes, my PC is dealing with lots of network traffic.. It's a gateway + shaping. It deals with almost 1000 users.. Will this PC (p4 2.4GHZ) deal with 10mbit internet? as a gateway + shaper ? with one GBIT NIC connected to 100Mbit swith? BM> A gbit NIC isn't going to run at gbit speed on a 100mbit switch. > I know, but as I know it'll have more memory, buffer or smth like that. which somehow will help to deal with the problem, right? Probably. It just seems like a lot of $$$ to drop when you haven't tried polling yet. Keep in mind, that if you try polling and it doesn't work, you can just turn it back off, and you haven't spent any $$$ on hardware that didn't help. BM> I would look elsewhere than the NIC. Intel NICs are good units (in my experience, BM> if someone knows of problems with them, please speak up) from systam -v: 481 fxp0 irq12 226 fxp1 irq3 317 fxp2 irq7 I think it is quite high? right? I guess. I would expect numbers like that considering the load it's under. I'll ask _again_ ... is the machine's performance poor? Fact is, if you give it enough network traffic to shape, it's going to raise the CPU load, no matter what you do. I guess, if you absolutely want to come up with a reason to buy new hardware, this is as good a reason as any. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ifconfig documentation
Hello Everyone, Can anyone give me the ifconfig documentation? or refer me to a link wherein I can find one? thank you and best regards to all. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.693 / Virus Database: 454 - Release Date: 5/31/2004 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel Ethernet card not being detected
Hi Simon, At 12:54 01/06/2004. Simon Barner had this to say: >Wayne Pascoe wrote: >> Hi all, >> >> I just bought a server from DNUK . It claims to have the following >> Ethernet card combination: >> > >Probably only the device ID of the card is not listed in the fxp0 driver. > >Your case reminds of a very similar problem in c.o.f.m., where the >following made the card (also Intel) work (a PR has already been filed): > > >Try adding the following line into the following struct >static struct fxp_ident fxp_ident_table[] >(/usr/src/sys/dev/fxp/if_fxp.c) > >{ 0x1051, -1, "Intel 82562ET Pro/100 Ethernet" }, > > >This was a Tyan S5102G3NR motherboard with 3 onboard NICs. Of course, >the correct name for your NIC might be different, but that shouldn't >bee too much of a problem. I'm having a similar problem, in fact I posted a query on freebsd-questions last week (subject: miibus and fxp motherboard devices). The on-board NICs are being seen, however they aren't being configured fully. I have a 3 onboard NIC motherboard; I've asked the supplier for the manufacturer's name of the motherboard. I've tried adding the 0x1051 line to my if_fxp.c file, but it did not have any effect. This is ifconfig for fxp0 and fxp3, being the first motherboard mounted and an external pci-card mounted version of the same chip: fxp0: flags=8843 mtu 1500 inet x.y.z.a netmask 0x broadcast x.y.z.255 ether 00:30:64:01:86:ff media: Ethernet manual fxp3: flags=8802 mtu 1500 ether 00:30:64:01:81:18 media: Ethernet autoselect (none) status: no carrier This is the comparable dmesg: fxp0: port 0xd400-0xd43f mem \ 0xe720-0xe72f,0xe7302000-0xe7302fff irq 11 at device 8.0 on pci0 fxp0: Ethernet address 00:30:64:01:86:ff, 10Mbps fxp3: port 0xc000-0xc03f mem \ 0xe600-0xe60f,0xe6201000-0xe6201fff irq 10 at device 12.0 on pci3 fxp3: Ethernet address 00:30:64:01:81:18 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Note how the external is on the miibus while the on-board isn't, and that the supported media types list 10baseT etc whereas the on-board simply support 10Mbps (manual). This is pciconf: [EMAIL PROTECTED]:8:0: class=0x02 card=0x chip=0x12298086 \ rev=0x08 hdr=0x00 [EMAIL PROTECTED]:12:0: class=0x02 card=0x00018086 chip=0x12298086 \ rev=0x08 hdr=0x00 Aside from experimentation, is there a way to determine what the correct value is that should go into the if_fxp.c known-devices array, if that is in fact the problem? Thank you for your help, Regards, Richard Williamson dmesg: >Copyright (c) 1992-2003 The FreeBSD Project. >Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >The Regents of the University of California. All rights reserved. >FreeBSD 4.8-RELEASE #1: Fri May 28 16:56:45 BST 2004 >[EMAIL PROTECTED]:/usr/src/sys/compile/FFPRO_MINI >Timecounter "i8254" frequency 1193182 Hz >Timecounter "TSC" frequency 1266717239 Hz >CPU: Intel(R) Pentium(R) III CPU family 1266MHz (1266.72-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 > > Features=0x383f9ff >real memory = 268369920 (262080K bytes) >avail memory = 208556032 (203668K bytes) >Preloaded elf kernel "kernel" at 0xc3297000. >Preloaded mfs_root "/mfsroot" at 0xc329709c. >Pentium Pro MTRR support enabled >md0: Preloaded image 50331648 bytes at 0xc0295794 >md1: Malloc disk >Using $PIR table, 9 entries at 0xc00fdee0 >npx0: on motherboard >npx0: INT 16 interface >pcib0: on motherboard >pci0: on pcib0 >pcib1: at device 1.0 on pci0 >pci1: on pcib1 >isab0: at device 7.0 on pci0 >isa0: on isab0 >atapci0: port 0xe000-0xe00f at device 7.1 on pci0 >ata0: at 0x1f0 irq 14 on atapci0 >ata1: at 0x170 irq 15 on atapci0 >pci0: at 7.2 irq 10 >pci0: (vendor=0x1106, dev=0x3057) at 7.4 >fxp0: port 0xd400-0xd43f mem >0xe720-0xe72f,0xe7302000-0xe7302fff irq 11 at device 8.0 on pci0 >fxp0: Ethernet address 00:30:64:01:86:ff, 10Mbps >fxp1: port 0xd800-0xd83f mem >0xe700-0xe70f,0xe7301000-0xe7301fff irq 5 at device 9.0 on pci0 >fxp1: Ethernet address 00:30:64:01:94:00, 10Mbps >fxp2: port 0xdc00-0xdc3f mem >0xe710-0xe71f,0xe730-0xe7300fff irq 12 at device 10.0 on pci0 >fxp2: Ethernet address 00:30:64:01:94:01, 10Mbps >pcib2: at device 13.0 on pci0 >pci2: on pcib2 >pcib3: at device 15.0 on pci2 >pci3: on pcib3 >fxp3: port 0xc000-0xc03f mem >0xe600-0xe60f,0xe6201000-0xe6201fff irq 10 at device 12.0 on pci3 >fxp3: Ethernet address 00:30:64:01:81:18 >inphy0: on miibus0 >inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >fxp4: port 0xc400-0xc43f mem >0xe610-0xe61f,0xe620-0xe6200fff irq 11 at device 13.0 on pci3 >fxp4: Ethernet address 00:30:64:01:81:19 >inphy1: on miibus1 >inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >vt0 on isa0 >vt0: mda, mono, 8 scr, unknown kbd, [R3.20-b24] >vt0: driver is using old
Cannot get USR 5610 modem to work in 5.2.1
Hello! I have a USR 5610 PCI modem that, for some reason, I cannot get to work under FreeBSD 5.2.1. I just installed 5.2.1 last week. Previously, I used 5.1, but it was on a different computer. The thing is, the modem worked great in that other computer. I switched it over to this computer after buying the computer new a couple of months back. When I boot the machine, dmesg says it finds the modem at sio0 with irq 18. A line or two later, it says it's moving sio0 to sio4, and it puts something else (presumably the "real" serial port on the back of my PC) into sio0. It complains about irq 18 not being in the pool of irqs, or something like that, and says that this port may not be enabled. If I then take a look in /dev, there are no serial ports (sio0 or sio4) listed, but I do have cuaa0 and cuaa4. (which I've noticed that cuaia4, cuaa4, and cuala4 all disappear if I pull out the modem) When I run pciconf -l -v, it tells me that the modem is still at sio4, even though nothing by that name is in /dev. I've also tried running a few basic commands on /dev/cuaa4, but with no luck. I ran ppp, set the device, speed, and enabled dns (as per the ppp troubleshooting section of the handbook) and typed term. I got the correct prompt, but when I try to type in 'at' (without the quotes), all I get on the screen is 'a'. Things seem to be one letter behind. If I were to keep typing and do atdt, it would only show atd until I hit enter. If I hit enter a second time, the cursor returns to the beginning of the line with atdt on it, rather than giving me a new line. At this point, I cannot quit. I just have to bring up another terminal and killall ppp. I've also played around with cu, but with similar results. When I issue cu -l /dev/cuaa4, it says "CONNECT". Then when I try typing the at or atdt commands, it does the same as ppp, and I have to kill it in a similar manner. I've tried moving PCI cards around, and it gives me different irqs (18, 19, or 20, depending on the slot I put it in), but I always get the same results. I don't understand why this modem would work perfectly and simply in my old computer, but not in the new one. What could be preventing it from working? Any ideas or suggestions would be great. I've googled around, read the handbook, and I just can't seem to get it going. I think if I could just get a push in the right direction, I'd be okay. I'm not subscribed to freebsd-questions, though I do watch the group through usenet. Thanks for your time, Jeremy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ifconfig documentation
Aldinson C. Esto wrote: > Hello Everyone, > > Can anyone give me the ifconfig documentation? or refer me > to a link wherein I can find one? If you're on a FreeBSD (or *nix) machine, you there's the ifconfig man page: % man ifconfig These man pages are also available on the FreeBSD web site (be sure to select the right FreeBSD version). http://www.freebsd.org/cgi/man.cgi http://www.freebsd.org/cgi/man.cgi?query=ifconfig&apropos=0&sektion=0&manpath=FreeBSD+5.2-RELEASE+and+Ports&format=html Perhaps, you might also want to have a look at the comprehensive FreeBSD handbook (also on your local system if you installed the documentation) http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ file:///usr/share/doc/en_US.ISO8859-1/books/handbook/ HTH, Simon signature.asc Description: Digital signature
RE: ifconfig documentation
Hello Simon, Thank you very much. Does the handbook or man page you are referring to have the documentation for each function of the ifconfig.c's source code? I really need this for our DHCP server development. Again, thanks very much. Aldinson -Original Message- From: Simon Barner [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 9:33 PM To: Aldinson C. Esto Cc: [EMAIL PROTECTED] Subject: Re: ifconfig documentation Aldinson C. Esto wrote: > Hello Everyone, > > Can anyone give me the ifconfig documentation? or refer me > to a link wherein I can find one? If you're on a FreeBSD (or *nix) machine, you there's the ifconfig man page: % man ifconfig These man pages are also available on the FreeBSD web site (be sure to select the right FreeBSD version). http://www.freebsd.org/cgi/man.cgi http://www.freebsd.org/cgi/man.cgi?query=ifconfig&apropos=0&sektion=0&ma npath=FreeBSD+5.2-RELEASE+and+Ports&format=html Perhaps, you might also want to have a look at the comprehensive FreeBSD handbook (also on your local system if you installed the documentation) http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ file:///usr/share/doc/en_US.ISO8859-1/books/handbook/ HTH, Simon --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.693 / Virus Database: 454 - Release Date: 5/31/2004 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ifconfig documentation
Aldinson C. Esto [Tue, Jun 01, 2004 at 09:39:11PM +0800]: > Does the handbook or man page you are referring to have the > documentation for each function of the ifconfig.c's source > code? I really need this for our DHCP server development. ISC-DHCPD already comes with some framework for writing DHCP stuff. Perhaps you should see it, http://www.isc.org/products/DHCP/ . pgpMpE4My03R3.pgp Description: PGP signature
script entry to finding the version after a cvsup
Hi, I have written a basic script to cvsup, buildworld and install the new kernel-world etc. I have introduced some basic logging, so I can track the time taken. Now I would like to track the version it was before the upgrade (ie. uname -r ), and what it is after the upgrade. Now, I can't use uname -r, because the server has to be restarted so it can pick up the new kernel etc. So my question is, where can I find a entry in the downloaded kernel/world source files that says that it is FreeBSD 4.9 p9 etc. I can't use stable-supfile, because it only records the 'branch' that is being upgraded, not the full version. Any clues? Cheers, Paul Hamilton ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: routing for 1000 users and 10Mbit internet.
BM> hugle wrote: >> BM> hugle wrote: >> FG> On Mon, 31 May 2004, hugle wrote: >>dammit.. >>why then my users eats so much CPU? >>look: >>CPU states: 0.0% user, 0.0% nice, 0.8% system, 38.0% interrupt, 61.2% idle >>Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free >> >>I have only 61% idle ? >>usualy i have ~50 idle.. >>now I have P4 2.4GHZ >> >>maybe my setup is bad (kernel I mean)? FG> My guess is either cheap hardware (NIC) or bad tuning. What NICs are you FG> using? I'm using Intel cards (fxp) at the moment. But from reading the posts I've decided to buy GBIT NIC. Now the dilema is what brand name.. INTEL or 3COM ? maybe you guys could advice? >> >> BM> I've always had good results with fxp cards. >> >> how much users do you have? and what model? BM> Never more than 100 ... it's been a year or two, so I don't remember the model. And yes, my PC is dealing with lots of network traffic.. It's a gateway + shaping. It deals with almost 1000 users.. Will this PC (p4 2.4GHZ) deal with 10mbit internet? as a gateway + shaper ? with one GBIT NIC connected to 100Mbit swith? >> >> BM> A gbit NIC isn't going to run at gbit speed on a 100mbit switch. >> >> I know, but as I know it'll have more memory, buffer or smth like >> that. which somehow will help to deal with the problem, right? BM> Probably. It just seems like a lot of $$$ to drop when you haven't BM> tried polling yet. Keep in mind, that if you try polling and it BM> doesn't work, you can just turn it back off, and you haven't spent BM> any $$$ on hardware that didn't help. >> BM> I would look elsewhere than the NIC. Intel NICs are good units (in my >> experience, >> BM> if someone knows of problems with them, please speak up) >> from systam -v: >> 481 fxp0 irq12 >> 226 fxp1 irq3 >> 317 fxp2 irq7 >> I think it is quite high? right? BM> I guess. I would expect numbers like that considering the load it's BM> under. BM> I'll ask _again_ ... is the machine's performance poor? Fact is, if BM> you give it enough network traffic to shape, it's going to raise the BM> CPU load, no matter what you do. now the main problem is.. that machine is shaping internet, right? I did shaping for my subnet, so users in /24 have 100kbits everybody. But they don't get such speed, they get about 70-80kbps . and if I try to skipt pipe rules for certain IPs, users get all available speed (which is left), it's about 500kbps.. so why machine can't pipe it normally ? Didn't had these problems in the past... BM> I guess, if you absolutely want to come up with a reason to buy new BM> hardware, this is as good a reason as any. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
problem of vipw
Hi, I would like to add a new user into my system. I simply execute the vipw command from the remote machine. No matter how I execute vipw as root or sudo vipw, the system shows the error message to me. i.e. I execute #vipw --> as root #sudo vipw vipw: pw_edit() No such file or directory Thanks for help Hamilton = Shiu-Shin "Hamilton" Lin, Ph.D. Candidate of Computer-Aided Engineering Rm. 310, Civil Engineering Building Department of Civil Engineering National Taiwan University Taipei, Taiwan 10617, R.O.C. TEL: +886-2-2362-7372-22 FAX: +886-2-2363-1558 E-mail: [EMAIL PROTECTED] = ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Whatever happened to the sticky bit (for files)
This may be better suited for hackers@, but I thought I'd bring it up here to get perspective. I was reading this article: http://kerneltrap.org/node/view/3202 and related articles that it links to, and thinking - why did the sticky bit go away? Unless I'm mistaken, at one time turning on the sticky bit on a binary would tell the kernel not to swap out that program when it was running (or somtehing similar ... I think it used to mean "kernel must never swap out this data") Anyway ... considering the arguments that swap algorithms can be stupid (they have to balance the need for disk cache with the need for app space) Wouldn't it make sense to put some of that power back in the hands of the admins and developers? If the sticky bit meant something again ... then admins would have control! Imagine this. The kernel has a new sysctl: use_sticky or something, that allows an admin to revert back to current behaviour. The kernel then takes the sticky bit on an executable file to mean, "do not swap this out unless there's nowhere else to get memory from". This would give the admin the ability to pick certain apps that must always respond quickly (even after long periods without use) and force them to stay in physical RAM where they could jump right to the task. Setting kern.use_sticky=0 causes the kernel to ignore the sticky bit and treat all programs the same, in case this causes problems for someone. Now, what complexity this might introduce into the kernel is beyond my complete understanding, and that complexity alone might prevent such a change. But I'm interested as to why it hasn't been done. I simply refuse to think that nobody else has thought of it. I just figure that there's a good reason somewhere why not to do it. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [solved] silky doesn't start -- mime.types missing
see http://www.freebsd.org/cgi/query-pr.cgi?pr=67446 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Disk geometry salad...
On Tue, 01 Jun 2004 13:37:49 +0200, roman wrote: >> > I have two Western Digital hard drives, (1) WD400BB (40GB) and (2) > WD300BB (30GB) and an Asus CUS-L2C motherboard (Intel 815EP chipset). > The manufacturer website doesn't provide the CHS geometry for the > drives, but lists the number of LBA sectors for each drive. For (1) it's > 78,165,360 sectors * 512 bytes resulting in about 40.02 GB. For (2) it's > 58,633,344 sectors * 512 bytes resulting in about 30.02 GB. > > On the first drive I currently have Windows XP, the second drive is empty. > > Western Digital's diagnostic utility for Windows detects the CHS > geometry of the drives as (1) 4865/255/63 and (2) 3649/255/63 and > confirms that the number of LBA sectors is identical to the manufacturer > specification. > > FreeBSD 5.2.1 detects the CHS geometry (When it boots, there's a listing > of the hard drives and the CHS geometry, but no LBA sectors) as (1) > 77545/16/63 and (2) 58168/16/63. > > I have several questions regarding this. > > 1) What is the difference between a geometry of 58168/16/63 and > 3649/255/63, why did the diagnostic utility detect the latter form, > while FreeBSD detected the former (Also, Linux 2.4 detects the geometry > as 3649/255/63)? >> The c/h/s data format used to pass a disk sector address to an ATA disk drive permits at most 65536 cylinders, 16 heads and 255 sectors per track. The data format used by an ATA disk to report its c/h/s geometry permits at most 65535 cylinders. It also reports its sector capacity and maximum addressable LBA block number in 32 bit fields. This geometry is usually somewhat artificial and may be changed by the host system. The c/h/s data format used to pass a disk sector address to a BIOS disk service routine permits at most 1024 cylinders, 255 heads and 63 sectors per track. In order to maximize the number of disk sectors that can be addressed using the BIOS interface, a BIOS often reports a disk geometry different than what the disk reports to the BIOS and uses that "BIOS" geometry when interpreting disk addresses specified in BIOS function calls. A BIOS geometry usually has 255 heads and 63 sectors per track because that produces the largest addressable disk size. >From the information you have provided I cannot be certain how the numbers you report were generated, but I can speculate. The ATA disk might report a default geometry with 16 heads and 63 sectors per track because those numbers can be used with both ATA and BIOS geometries. The ATA disk cannot report more than 65535 cylinders, but it can report the actual disk capacity in sectors. If FreeBSD were to divide the ATA disk capacity by the cylinder size (#heads * #sectors), it might conclude that the 40GB drive has 77545 cylinders. Since such a large cylinder number cannot be specified in c/h/s format, the driver must be using LBA format when issuing read/write commands. If you divide the 40 GB drive capacity by the typical BIOS cylinder size, you get 4865 cylinders. That is probably where the disk geometry "4865/255/63" comes from. Since cylinder numbers above 1023 cannot be passed to BIOS function calls, the "extended" BIOS functions which use 28 bit LBA addressing must be used to access the entire drive. The common FreeBSD bootstrap program uses the BIOS disk functions with c/h/s addressing by default and therefore cannot access more than 1024*255*63 sectors, a little under 8 GB, unless it is reconfigured with the "boot0cfg" command to use the extended BIOS disk functions. It is often hard to tell exactly what a particular BIOS and bootstrap configuration are doing. You may be able to avoid confusing bootstrap problems by keeping all disk partitions used for booting inside the first 1024*255*63 sectors. >> > 2) When installing FreeBSD, sysinstall warns that a geometry of the > first drive (1) as it detects it (77545/16/63) is incorrect and can't be > used. It automatically replaces the values with 4865/255/63. The problem > is that after replacing the geometry with 4865/255/63 the number of LBA > sectors (as listed in the Disk Slice editor) becomes lower than the > manufacturer spec (78,156,225 instead of 78,165,360). What does this mean? >> Sysinstall, which probably uses BIOS geometry, apparently knows that a geometry with so many cylinders cannot be correct. It apparently guessed 255 heads and 63 sectors per track and computed the largest number of cylinders that would produce a disk capacity that did not exceed the capacity specified by the original geometry. Since you can't have a fraction of a cylinder, you often lose access to a few sectors when you convert the disk geometry. This beats getting an I/O error because you rounded the number of cylinders up instead of down. I don't know why sysinstall seems to tolerate 4865 (more than 1024) cylinders. (Note: a BIOS usually uses a geometry with 255 heads and 63 sectors per track but could choose to use a smaller number of heads or sectors. It is possible
New Servers - Mail, Perl - MySQL - PHP and things.
Hi all, As mentioned in a couple of posts, I am about to deploy two new servers, and have some time to ask a few questions :-) So far, I have FreeBSD 4.10 installed and running nicely. It is virgin, not been touched ... yet. 1. Should I upgrade the perl version. FBSD comes with 5.005_03. I think the latest Perl distro was 5.8. If yes, do I install directly from ports? If yes, how do I ensure the old version is being ignored. I gues what I am really asking, is what is the correct upgrade procedure? I want to be able to keep THIS (FBSD) installation 'upgradeable'. I have done some things to my other systems (FBSD 4.9 and 4.4) that I have been told would break if I upgraded the OS. 2. What are the key items to adhear to when installing FBSD and other software so that the OS remains upgradeable? In the past, I have always used suEXec with Apache. Lately, I have been considering that it may be more pain than its worth. 3. Thoughts on the above please. For mail, I am currently using Exim (4.22) along with vm-pop3d, and Spamassassin. I implimented this combination so I could have truely virtual POP3 mbox's. I find little support for vm-pop3d, and I find Exim is alot of work to impliment (Routers, Transports etc). 4. Does anyne know of a better, still secure, simple method of managing virtual pop accounts that can still handle all the details? (Majordomo, Spamassassin etc). 5. What are the latest releases of Apache, Perl PHP Mysql that seem to play nice for everyone. I have installing software only to find that one relase of one thing does not work with another release of another! TIA ! -Grant ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Getting ProFTPD to listen on just one IP address
On Tue, Jun 01, 2004 at 01:56:28PM +0200, David E. Meier wrote: > Hi Wayne, > > I haven't tried this myself but it looks like what you are looking for: > > http://proftpd.linux.co.uk/localsite/Userguide/linked/config_ref_Bind.html Thanks, but it turned out it wasn't that... It turns out that not only do you need the DefaultAddress option, you also need to specify SocketBindTight on It's like saying "Use this IP address" "No, Seriously! Use this effing IP Address!" Weird! -- Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870) If someone eventually manages to bag a B-2, that's a cool US$1bn worth of scrap metal - missiles, on the other hand, are cheap. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel Ethernet card not being detected
Addendum: >I have a 3 onboard NIC motherboard; I've asked the supplier for >the manufacturer's name of the motherboard. I've tried adding >the 0x1051 line to my if_fxp.c file, but it did not have any effect. motherboard is an adlink ebc-2000 ... Hope someone can help, Richard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel Ethernet card not being detected
Hi, I just had a look at that older post of yours, and I saw that you are still running FreeBSD 4.8. Could you consider upgrading to 4.10-RELEASE or -STABLE? Have a look at the CVS logs for the fxp driver, and at the driver source itself, and you will notice that quite a lot has changed: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/fxp/if_fxp.c When you compare fxp_ident fxp_ident_table (where the device IDs are defined) of FreeBSD 4.8 and 4.10, you'll see that there are now entries for different revisions of 0x12298086 based cards, and there's also an entry for the chip revision that is used in your board (rev. 0x08). IMO there's a really good chance that upgrading will make your onboard NICs work properly. http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/fxp/if_fxp.c?rev=1.110.2.28&content-type=text/plain&only_with_tag=RELENG_4_8 http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/fxp/if_fxp.c?rev=1.110.2.32&content-type=text/plain&only_with_tag=RELENG_4_10 Simon signature.asc Description: Digital signature
Re: Intel Ethernet card not being detected
On Tue, Jun 01, 2004 at 01:52:21PM +0200, Olaf Hoyer wrote: > Well, I could imagine some special version of a 100Pro/VM integrated > one, or some special (latest version) 82550 or so. > > Could you post a "pciconf -lv" from a FreeBSD system? > Would help to identify the parts... I've tried installing 5.2.1 on the machine and it still doesn't work. Now though, it's even worse, as the em0 device doesn't work either. I get something along these lines: em0: Link is up 10Mbps Half Duplex em0: watchdog timeout -- resetting em0: Link is up 10Mbps Half Duplex em0: watchdog timeout -- resetting I can ping the card, but nothing else. This worked fine under 4.10-RELEASE So I've had to slap an additional Intel Etherexpress pro in there to get the pciconf off of the machine. That one works, but it's an old card that I had lying around here. I'm attaching pciconf.txt which is the output of my pciconf commands as well as the dmesg from boot. Any enlightenment would be much appreciated. The motherboard is a Tyan S5102 Tomcat i875P according to my supplier Thanks a lot for the help :) -- Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870) WINDOWS: Where do you want to go today? LINUX: Where do you want to go tomorrow? FreeBSD: Are you guys coming or what? Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a35000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a351f4. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2806.37-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 536805376 (511 MB) avail memory = 511766528 (488 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 12 entries at 0xc00fdea0 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe000-0xefff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 3.0 on pci0 pcib2: could not get PCI interrupt routing table for \\_SB_.PCI0.CSAB - AE_NOT_FOUND pci2: on pcib2 em0: port 0xa000-0xa01f mem 0xf300-0xf301 irq 10 at device 1.0 on pci2 em0: Speed:N/A Duplex:N/A uhci0: port 0xcc00-0xcc1f irq 16 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xc000-0xc01f irq 19 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xc400-0xc41f irq 18 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xc800-0xc81f irq 16 at device 29.3 on pci0 usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib3: at device 30.0 on pci0 pci3: on pcib3 fxp0: port 0xb000-0xb03f mem 0xf200-0xf201,0xf202-0xf2020fff irq 17 at device 1.0 on pci3 fxp0: Ethernet address 00:02:b3:4c:a4:6e miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci3: at device 7.0 (no driver attached) pci3: at device 8.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: at device 31.3 (no driver attached) fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77b,0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 orm0: at iomem 0xc8000-0xc97ff,0xc-0xc7f
Re: RE: ifconfig documentation
> Does the handbook or man page you are referring to have the > documentation for each function of the ifconfig.c's source > code? I really need this for our DHCP server development. No, these are just user manuals. I hardly believe that there exists developer documentation for that. For specific questions, I'd post to the [EMAIL PROTECTED] mailing list. Simon signature.asc Description: Digital signature
Problems installing a USB keyboard
Hello list, this is just a quick question, I used to use a PS/2 keyboard, now I got a Cherry USB which I'd like to try out. I put "device ukbd" in my kernel configuration (along with device uhci, ohci, usb, ugen and uhid) and rebuilt it. However, I seem to be forgetting something, because when booting the system the keyboard doesn't seem to work. The Num-Lock key does (turning the Num-Lock LED on and off), but nothing else (can't even log in or do a CTRL-ALT-DEL). What am I missing? Sorry if this is something painfully obvious. Thanks in advance! -- Andreas "daff" Ntaflos | "A cynic is a man who knows the price of daff AT dword DOT org | everything, and the value of nothing." Vienna, AUSTRIA| Oscar Wilde ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problems installing a USB keyboard
Andreas Ntaflos writes: > What am I missing? Sorry if this is something painfully obvious. It isn't, but you may find this applicable: http://www.freebsd.org/cgi/query-pr.cgi?pr=30570 Robert Huff (who would like to see this fixed) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: routing for 1000 users and 10Mbit internet.
hugle wrote: BM> hugle wrote: BM> hugle wrote: FG> On Mon, 31 May 2004, hugle wrote: dammit.. why then my users eats so much CPU? look: CPU states: 0.0% user, 0.0% nice, 0.8% system, 38.0% interrupt, 61.2% idle Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free I have only 61% idle ? usualy i have ~50 idle.. now I have P4 2.4GHZ maybe my setup is bad (kernel I mean)? FG> My guess is either cheap hardware (NIC) or bad tuning. What NICs are you FG> using? I'm using Intel cards (fxp) at the moment. But from reading the posts I've decided to buy GBIT NIC. Now the dilema is what brand name.. INTEL or 3COM ? maybe you guys could advice? BM> I've always had good results with fxp cards. how much users do you have? and what model? BM> Never more than 100 ... it's been a year or two, so I don't remember the model. And yes, my PC is dealing with lots of network traffic.. It's a gateway + shaping. It deals with almost 1000 users.. Will this PC (p4 2.4GHZ) deal with 10mbit internet? as a gateway + shaper ? with one GBIT NIC connected to 100Mbit swith? BM> A gbit NIC isn't going to run at gbit speed on a 100mbit switch. I know, but as I know it'll have more memory, buffer or smth like that. which somehow will help to deal with the problem, right? BM> Probably. It just seems like a lot of $$$ to drop when you haven't BM> tried polling yet. Keep in mind, that if you try polling and it BM> doesn't work, you can just turn it back off, and you haven't spent BM> any $$$ on hardware that didn't help. BM> I would look elsewhere than the NIC. Intel NICs are good units (in my experience, BM> if someone knows of problems with them, please speak up) from systam -v: 481 fxp0 irq12 226 fxp1 irq3 317 fxp2 irq7 I think it is quite high? right? BM> I guess. I would expect numbers like that considering the load it's BM> under. BM> I'll ask _again_ ... is the machine's performance poor? Fact is, if BM> you give it enough network traffic to shape, it's going to raise the BM> CPU load, no matter what you do. now the main problem is.. that machine is shaping internet, right? I did shaping for my subnet, so users in /24 have 100kbits everybody. But they don't get such speed, they get about 70-80kbps . and if I try to skipt pipe rules for certain IPs, users get all available speed (which is left), it's about 500kbps.. so why machine can't pipe it normally ? Didn't had these problems in the past... Past when? What changed? Typically, only ~80% of available bandwidth is usable. I don't know if that applies to your situation, though, as that's usually referring to ethernet, and you claim the problem hasn't always been there. Try polling and see if the load reduces and the performance increases. If all that machine is doing is routing, you can configure it to be dedicated to routing. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: routing for 1000 users and 10Mbit internet.
BM> hugle wrote: >> BM> hugle wrote: >> BM> hugle wrote: >>FG> On Mon, 31 May 2004, hugle wrote: >> dammit.. why then my users eats so much CPU? look: CPU states: 0.0% user, 0.0% nice, 0.8% system, 38.0% interrupt, 61.2% idle Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free I have only 61% idle ? usualy i have ~50 idle.. now I have P4 2.4GHZ maybe my setup is bad (kernel I mean)? >> >>FG> My guess is either cheap hardware (NIC) or bad tuning. What NICs are you >>FG> using? >> >>I'm using Intel cards (fxp) at the moment. But from reading the posts >>I've decided to buy GBIT NIC. >>Now the dilema is what brand name.. INTEL or 3COM ? maybe you guys >>could advice? BM> I've always had good results with fxp cards. >> how much users do you have? and what model? >> >> BM> Never more than 100 ... it's been a year or two, so I don't remember the model. >> >>And yes, my PC is dealing with lots of network traffic.. It's a >>gateway + shaping. It deals with almost 1000 users.. >> >>Will this PC (p4 2.4GHZ) deal with 10mbit internet? as a gateway + >>shaper ? with one GBIT NIC connected to 100Mbit swith? BM> A gbit NIC isn't going to run at gbit speed on a 100mbit switch. >> I know, but as I know it'll have more memory, buffer or smth like that. which somehow will help to deal with the problem, right? >> >> BM> Probably. It just seems like a lot of $$$ to drop when you haven't >> BM> tried polling yet. Keep in mind, that if you try polling and it >> BM> doesn't work, you can just turn it back off, and you haven't spent >> BM> any $$$ on hardware that didn't help. >> BM> I would look elsewhere than the NIC. Intel NICs are good units (in my experience, BM> if someone knows of problems with them, please speak up) from systam -v: 481 fxp0 irq12 226 fxp1 irq3 317 fxp2 irq7 I think it is quite high? right? >> >> BM> I guess. I would expect numbers like that considering the load it's >> BM> under. >> >> BM> I'll ask _again_ ... is the machine's performance poor? Fact is, if >> BM> you give it enough network traffic to shape, it's going to raise the >> BM> CPU load, no matter what you do. >> >> now the main problem is.. that machine is shaping internet, right? >> I did shaping for my subnet, so users in /24 have 100kbits everybody. >> But they don't get such speed, they get about 70-80kbps . and if I >> try to skipt pipe rules for certain IPs, users get all available >> speed (which is left), it's about 500kbps.. >> so why machine can't pipe it normally ? >> Didn't had these problems in the past... BM> Past when? What changed? actualy nothing... more users joint the LAN. BM> Typically, only ~80% of available bandwidth is usable. I don't know if BM> that applies to your situation, though, as that's usually referring to BM> ethernet, and you claim the problem hasn't always been there. no.. for example if i start downlaoding without using pipes (no shaping) my total bandwith usage increases up to 98-99% BM> Try polling and see if the load reduces and the performance increases. BM> If all that machine is doing is routing, you can configure it to be BM> dedicated to routing. I'll do it in ~10-12 hours.. I'll plug my server off, plug in new 3com gbit NIC. and boot my kernel with new options - device_POOLING. and see what is happening and so on.. PS. i think my PC has too less CPU. cause I think that NAT + shaper both eats much processor. and read somewhere, that: interrupts apper if CPU doesn't manage to deal with them. So, after changing NIC, i'll post my result here hugle ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel Ethernet card not being detected
> I've tried installing 5.2.1 on the machine and it still doesn't work. > Now though, it's even worse, as the em0 device doesn't work either. > > I get something along these lines: > em0: Link is up 10Mbps Half Duplex > em0: watchdog timeout -- resetting > em0: Link is up 10Mbps Half Duplex > em0: watchdog timeout -- resetting I can recall from some older postings (and the archives. Hint, hint ;-) that this can be worked around by disabling ACPI. [...] > [EMAIL PROTECTED]:8:0:class=0x02 card=0x30108086 chip=0x10518086 > rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801EB/ER (ICH5/ICH5R) PRO/100 VE Network Connection' > class= network > subclass = ethernet Okay, that's your Intel NIC that is not detected (yet ;-> Add the following line to struct fxp_ident fxp_ident_table[] (in /usr/src/sys/dev/fxp/if_fxp.c) { 0x1051, -1, "Intel 82562ET (ICH5/ICH5R) Pro/100 VE Ethernet" }, and rebuild your kernel. This has already been added to -CURRENT, so you don't have to file a problem report. Simon P.S: 0x1051 are the first four letters of the chip id in the pciconfig output. -1 matches all chip revisions, i.e. if special hacks for a specific revision (0x02 in your case) were necessary, the would be an extra line for that particular chip. signature.asc Description: Digital signature
Monthly security run.
Doing login accounting: total 1438.65 jimmie 1435.18 root 3.46 This all makes perfect sense, though I was wondering, if there's an easy way to get the script to log how many times (and optionally, who) uses "su" or "su -" and to what account they jumped to. Unfortunaly, I'm not a code monkey, so digging around in the source, and trying myself would probably break something. It's just an idea. Jimmie. __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems installing a USB keyboard
On Tue, Jun 01, 2004 at 11:26:43AM -0400, Robert Huff wrote: > > > What am I missing? Sorry if this is something painfully obvious. > > It isn't, but you may find this applicable: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=30570 > Thanks for your reply! If I am not mistaken the "fix" for this problem is to remove the AT keyboard driver from the kernel? This is mentioned somewhere in the handbook, too I think. There are two entries in the kernel configuration for the keyboard (controller): device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 # flags 0x1: remove and reconnect kbd correctly Which one has to be removed? Probably both, right? But as far as I understand, the atkbdc0 also controls the PS/2 mouse; does that mean it is not possible to use a USB keyboard with a PS/2 mouse? Sounds like I should keep using the keyboard with the USB-to-PS/2 converter, doesn't it? :) But I'll try removing the AT driver first. -- Andreas "daff" Ntaflos | "A cynic is a man who knows the price of daff AT dword DOT org | everything, and the value of nothing." Vienna, AUSTRIA| Oscar Wilde ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems installing a USB keyboard
On Tue, Jun 01, 2004 at 11:26:43AM -0400, Robert Huff wrote: > > > What am I missing? Sorry if this is something painfully obvious. > > It isn't, but you may find this applicable: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=30570 > >Thanks for your reply! >If I am not mistaken the "fix" for this problem is to keyboard driver from the kernel? This is mentioned >somewhere in the >handbook, too I think. There are two entries in the >kernel configuration >for the keyboard (controller): >device atkbdc0 at isa? port IO_KBD >device atkbd0 at atkbdc? irq 1 # flags 0x1: remove >and reconnect kbd correctly >Which one has to be removed? Probably both, right? >But as far as I understand, the >atkbdc0 also controls the PS/2 mouse; does that mean >it is not possible to use >a USB keyboard with a PS/2 mouse? >Sounds like I should keep using the keyboard with the >USB-to-PS/2 >converter, doesn't it? :) But I'll try removing the >AT driver first Just my experence here, I'm using a USB KBD and PS/2 mouse just fine. ukbd0: Microsoft Microsoft Natural Keyboard Pro, rev 1.10/1.11, addr 3, iclass 3/1 My kernel config has: device atkbdc0 at isa? port IO_KBD #device atkbd0 at atkbdc? irq 1 device psm0at atkbdc? irq 12 ... device uhci device usb device ukbd device uhid That said, I A) can't pause the bootloader (no option in my BIOS for legacy USB support) B) or can I use a PS/2 KBD at all with this configuration. Hope it helps you out. Jimmie __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Gnome Frontend for Managing User Accounts
Clay wrote: Howdy, I am a new to FreeBSD. Does anyone know of a Gnome utility for managing FreeBSD user accounts? I haven't yet found one. Try Webmin. [found in /usr/ports/sysutils/webmin] [According to www.webmin.com] "Webmin is a web-based interface for system administration for Unix. Using any browser that supports tables and forms (and Java for the File Manager module), you can setup user accounts, Apache, DNS, file sharing and so on. Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server and all CGI programs are written in Perl version 5, and use no non-standard Perl modules." I use Webmin + SSH for systems administration of a few RH servers and a couple of FreeBSD servers. It works great. Mike -Clay ___ [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: Epson CX5400 scanner
NB: Reply-To: set to -questions. On Tue, Jun 01, 2004 at 09:19:14AM -0700, Shone Earl wrote: > I have just installed 4.10 and i am very happy with > it, all of my hardware works except for the scanner > portion of my epson cx5400 mfp. anyone know how to > get the scanner working? I have to keep mandrake > installed just so I can use my scanner, and I'd rather not. Have you tried installing Sane and XSane from the ports tree? You can find the supported hardware for epson here: http://www.sane-project.org/sane-backends.html#S-EPSON XSane is here: http://xsane.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems installing a USB keyboard
On Tue, Jun 01, 2004 at 09:08:07AM -0700, jimmie james wrote: > On Tue, Jun 01, 2004 at 11:26:43AM -0400, Robert Huff > wrote: > > > > > What am I missing? Sorry if this is something > painfully obvious. > > > > It isn't, but you may find this applicable: > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=30570 Ok, thank you both, it kinda works now, with the limitations Jimmie mentioned. I out-commented "device atkbd0 at atkbdc? irq 1" and I can use the USB keyboard now. Problem kinda solved :) Thanks! -- Andreas "daff" Ntaflos | "A cynic is a man who knows the price of daff AT dword DOT org | everything, and the value of nothing." Vienna, AUSTRIA| Oscar Wilde ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: script entry to finding the version after a cvsup
On Tuesday 01 June 2004 06:55 am, Paul Hamilton wrote: > Hi, > > I have written a basic script to cvsup, buildworld and install the > new kernel-world etc. I have introduced some basic logging, so I can > track the time taken. Now I would like to track the version it was > before the upgrade (ie. uname -r ), and what it is after the upgrade. > Now, I can't use uname -r, because the server has to be restarted so > it can pick up the new kernel etc. > > So my question is, where can I find a entry in the downloaded > kernel/world source files that says that it is FreeBSD 4.9 p9 etc. I > can't use stable-supfile, because it only records the 'branch' that > is being upgraded, not the full version. > > Any clues? Look at /usr/src/sys/conf/newvers.sh Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New Servers - Mail, Perl - MySQL - PHP and things.
On Tue, Jun 01, 2004 at 10:24:53AM -0400, Grant Peel wrote: > 1. Should I upgrade the perl version. FBSD comes with 5.005_03. I think the > latest Perl distro was 5.8. I would say, only if your applications require it. > If yes, do I install directly from ports? Yes. > If yes, how do I ensure the old version is being ignored. I gues > what I am really asking, is what is > the correct upgrade procedure? After installing the perl port, you will get told about "use.perl port". Basically you just type that as root and it will add some things to your /etc/make.conf that makes the port's perl be used in future. You can revert with "use.perl system". > I want to be able to keep THIS (FBSD) installation 'upgradeable'. I have > done some things to my other systems (FBSD 4.9 and 4.4) that I have been > told would break if I upgraded the OS. Well, using ports is a good start. > 2. What are the key items to adhear to when installing FBSD and other > software so that the OS remains upgradeable? It depends exactly what you mean by "upgradeable". If you install all your extra software from ports where possible then this means that the ports collection will help you keep track of dependencies and newer versions, and interaction with the base system. > 5. What are the latest releases of Apache, Perl PHP Mysql that seem to play > nice for everyone. I still find that I need to use the apache13 port and the mysql-server40 port to maintain compatability with everything else I need to use. -- http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B "[Open Source is] like trying to sell human rights to China because it might lead to more effective business models." -- David Kastrup, news:gnu.misc.discuss pgpygum7dTsHb.pgp Description: PGP signature
requesting freebies for lug
Hi my name is Diana Lenko I am from BNLUG LINUX USERS GROUP AND SUNCOAST LINUX USERS GROUP What I do is contact companys like yours and ask for freebies such as Boxed distros teeshirts stuffed animals Hats, books, stickers. and this is too promote your items and let people know you are out there in the linux world long with many other companys and to let them know why they should try your Distros out and see where it fits in our world. Teeshirts should be xxLarge and XLarge . If you would like to check out our site go to.WWW.SunCoastLug.org and check us out.Can you please help us out with some freebies we load your distros on our laptops and show them off also we do raffles with some of the items. Thanks Diana Lenko Diana Lenko 10108 East Columbus Dr Tampa FL. 33619 813-623-2696 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.693 / Virus Database: 454 - Release Date: 5/31/04 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Whatever happened to the sticky bit (for files)
On Jun 1, 2004, at 10:08 AM, Bill Moran wrote: Unless I'm mistaken, at one time turning on the sticky bit on a binary would tell the kernel not to swap out that program when it was running (or somtehing similar ... I think it used to mean "kernel must never swap out this data") That's right, although it's been a few years since that has been used by any OS I can point to. :-) The general idea was that if the system is under VM pressure, it would end up swapping out pages of memory from inactive processes, only you don't want to swap out parts of /bin/sh, or cron, or some other long-running daemons, because you'll end up wanting those pages resident again soon. So you'd mark certain important executables with the sticky bit to help the VM system focus on evicting less critical pages. Anyway ... considering the arguments that swap algorithms can be stupid (they have to balance the need for disk cache with the need for app space) Wouldn't it make sense to put some of that power back in the hands of the admins and developers? Maybe. The situation may more closely resemble the case of using the "register" keyword in C code. At one point, that helped the compilers focus on optimizing the right variables, and also had the advantage of preventing usage of those variables from being potential memory aliases to other parts of memory. Nowadays, the compilers do a good enough job of optimizing register usage for themselves that the "register" keyword is somewhere between not very useful and counterproductive. VM paging algorithms have improved since the usage of the sticky bit was common, and available physical memory on typical systems has also increased significantly. VM systems which use a global page-fault frequency algorithm to help balance memory usage between processes tend to give /bin/sh and other essential daemons enough RAM that you don't tend to swap out their pages anyway when the VM system is looking for pages to evict. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Networking w/ FreeBSD
Hi everyone.. I have two computers systems in my network. The first system is a headless FreeBSD 5.2.1 system. This system stores my mp3's, datafiles and runs mysql and apache. I recently, got rid of windows off my laptop and installed FreeBSD 5.2.1. When I had windows on the laptop, I was able to Map a Network drive to the headless system via Samba runing on the server. My question is this: How would I set something up to perform the same functionality, as when I had windows? I'm just not sure what needs to be installed on either system? Any ideas or comments would be great! Thanks, Bruce ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Networking w/ FreeBSD
On Jun 1, 2004, at 2:07 PM, [EMAIL PROTECTED] wrote: My question is this: How would I set something up to perform the same functionality, as when I had windows? I'm just not sure what needs to be installed on either system? Any ideas or comments would be great! FreeBSD supports mounting Samba/CIFS shares. See "man mount_smbfs". -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Networking w/ FreeBSD
On Tue, 1 Jun 2004 [EMAIL PROTECTED] wrote: > I have two computers systems in my network. The first system is a headless > FreeBSD 5.2.1 system. This system stores my mp3's, datafiles and runs mysql and > apache. I recently, got rid of windows off my laptop and installed FreeBSD > 5.2.1. When I had windows on the laptop, I was able to Map a Network drive to > the headless system via Samba runing on the server. > > My question is this: How would I set something up to perform the same > functionality, as when I had windows? I'm just not sure what needs to be > installed on either system? Any ideas or comments would be great! You can run the Samba client software on the laptop, or change the file sharing on the server to NFS. Or, of course, you could change both to some third sharing solution. Which depends on your assessment of the pros/cons of each; performance, interoperability (do you potentially have other machines that need to reach those resources?), security , etc. For the short term, running smbclient on the laptop is probably the quickest way to get your connectivity back with the fewest config changes, if that helps. KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Networking w/ FreeBSD
[EMAIL PROTECTED] wrote: > I have two computers systems in my network. The first system is a headless > FreeBSD 5.2.1 system. This system stores my mp3's, datafiles and runs mysql and > apache. I recently, got rid of windows off my laptop and installed FreeBSD > 5.2.1. When I had windows on the laptop, I was able to Map a Network drive to > the headless system via Samba runing on the server. > > My question is this: How would I set something up to perform the same > functionality, as when I had windows? I'm just not sure what needs to be > installed on either system? Any ideas or comments would be great! NFS (network file system). There is a chapter in the handbook with detailed setup instructions. http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html Simon signature.asc Description: Digital signature
Re: requesting freebies for lug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dazie wrote: | Hi my name is Diana Lenko I am from BNLUG LINUX USERS GROUP AND SUNCOAST LINUX USERS GROUP | What I do is contact companys like yours and ask for freebies such as Boxed distros teeshirts stuffed animals | Hats, books, stickers. and this is too promote your items and let people know you are out there in the linux world long with many other companys and to let them know why they should try your Distros out and see where it fits in our world. Teeshirts should be xxLarge and XLarge . If you would like to check out our site go to.WWW.SunCoastLug.org | and check us out.Can you please help us out with some freebies we load your distros on our laptops and show them off also we do raffles with some of the items. | Thanks |Diana Lenko FreeBSD.org is not a company, we do not have promotional items to give you. FreeBSDMall.com and BSDMall.com are companies and do have promotional items and CDs. - -- Jeremy Faulkner http://www.gldis.ca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAvMnsfb0Lle2MIEIRAl4VAKC+QQ7VcvZnreoHqsxPVbjlqpaGQgCfXmHh yXN/sIaY6OEjzn75L1KoAYY= =xL7U -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SSH tty?
Hello. I would like to setup say. ttyv5 to always be an ssh session w/ a remote machine. This way, users will not have to login on the machine first to access the remote server. Any ideas? Thanks, Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New Servers - Mail, Perl - MySQL - PHP and things.
On Tue, 1 Jun 2004, Grant Peel wrote: 1. Should I upgrade the perl version. FBSD comes with 5.005_03. I think the latest Perl distro was 5.8. If yes, do I install directly from ports? If yes, how do I ensure the old version is being ignored. I gues what I am really asking, is what is the correct upgrade procedure? Yes to 5.8, yes to from ports, and when you are finished installing it from ports, just run 'use.perl port' and the old will be ignored ... 2. What are the key items to adhear to when installing FBSD and other software so that the OS remains upgradeable? to be honest, install as much as you can from ports and use portupgrade ... every once in a while I get burned with an upgrade, where the software made inconsistent changes with older versions (ie. Zope recently), but its so rare that I can live with the 'seat of my pants learning' for those couple of times ... For mail, I am currently using Exim (4.22) along with vm-pop3d, and Spamassassin. I implimented this combination so I could have truely virtual POP3 mbox's. I find little support for vm-pop3d, and I find Exim is alot of work to impliment (Routers, Transports etc). postfix + cyrus imapd22 will give you 'truely virtual POP3 *and* IMAP mboxes ... 4. Does anyne know of a better, still secure, simple method of managing virtual pop accounts that can still handle all the details? (Majordomo, Spamassassin etc). See above ... 5. What are the latest releases of Apache, Perl PHP Mysql that seem to play nice for everyone. The ones in ports ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Jail patch
Hi list, Is there a patch for 4.9 that allows a jail to have multiple IPs ? Is this scheduled for any official release soon? Rgs, hugo -- www.6s-gaming.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Jail patch
On Tue, Jun 01, 2004 at 04:15:51PM -, [EMAIL PROTECTED] wrote: > Hi list, > > Is there a patch for 4.9 that allows a jail to have multiple IPs ? Is this > scheduled for any official release soon? http://freebsdwiki.org/Using_multiple_IPs_in_a_jail -- http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B "All artists are willing to suffer for their art. So few are willing to learn to draw." -- The League Against Tedium pgpnk5madB2Cz.pgp Description: PGP signature
Re: SSH tty?
On Tue, Jun 01, 2004 at 12:02:57PM -0700, Charlie La Mothe wrote: > Hello. I would like to setup say. ttyv5 to always be an ssh session w/ a > remote machine. This way, users will not have to login on the machine first > to access the remote server. http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/042040.html Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpPpkLzeCZUS.pgp Description: PGP signature
Re: archivemail-0.6.1 not working as expected
On Tue, 01 Jun 2004, Simon Barner wrote: > Oliver Fuchs wrote: > > Hi, > > > > I want to use archivemail-0.6.1 (Python 2.3.2) on FreeBSD 5.2.1-RELEASE. > > I have three questions/problems with the proper use: > > > > 1) I get the error message: > > /usr/local/bin/archivemail:760: SyntaxWarning: assignment to None > > (None, last_dir) = os.path.split(os.path.dirname(message.fp.name)) > > I found the answer (Google) and a patch (it is a problem depending > > on Python 2.3). Is there another solution to this problem? > > Update your ports. It's fixed in archivemail-0.6.1_1. Apart from that, > it's only a syntax _warning_ (which of course can be quite annoying if you > rung archivemail from a cron job and receive an error report every > day), i.e. archivemail works despite of that message. Good advice ... thanx for that ... > > > 2) Running > >archivemail -d90 -o $HOME/Mail/Archive $HOME/Mail/* > > [...] I still have no clue about that > > > 3) I want to run it in a cron job but to be honest I am not quiet sure where > > to put my archive script. > > [...] > > You're lucky: > > Several months ago, I did exactly the same thing. You should put the > cron job into your personal cron tab, i.e. as the user who's mail should > be processed by archivemail, run > > crontab -e Ah ... o.k > > (The other stuff you were looking at were system wide cron jobs). So to make it clear: If I want to run a cron job for a special user I use crontab and otherwise to run a system-wide cron-job that is not defined by FreeBSD itself I use /usr/local/etc/periodic? > > Okay, here comes my config: > > From my cron tab (the following line starts my mailexpire script every > day at 19:30) > > 3019 * * * /home/simon/bin/mailexpire.sh > > - > > #!/bin/sh > > # mail boxes to by processed by archive mail > MBOXES="freebsd-ports.box\ > freebsd-questions.box" > > cd /home/simon/Mail; > > # be sure to change the archivemail options to your personal needs > for box in $MBOXES; do > /usr/local/bin/archivemail -d 21 --delete -q $box > done Græat - thanx for the script > > - > > All this works very well for me, although every other day, I get an email > from archivemail that one of my mail boxes changed during its operation. this is only happening on FreeBSD side - I never saw it on Linux before > This shouldn't normally happen, since both archivemail and fetchmail (which > I use to download my email) use several locking mechanisms to insure that > only one of them is operating on particular mail box. IIRC the > archivemail man page elaborates more on this. Yes, a little bit skimped > > > > Since archivemail is designed not to trash/loose your mail boxes under any > circumstances, this was never a problem for me. Anyway, I wouldn't use > archive mail for my personal mail boxes, but only for mailing lists, > where you still have the archives, just in case ... I never saw it from this angle but I am going to consider this > > Cheers, > Simon So thank you again for all your help and work Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: archivemail-0.6.1 not working as expected
> So to make it clear: If I want to run a cron job for a special user I use > crontab and otherwise to run a system-wide cron-job that is not defined by > FreeBSD itself I use /usr/local/etc/periodic? AFAICS /usr/local/etc/periodic is mainly used by ports, e.g. portaudit uses it to fetch its database every day. For your own system wide cron jobs, you could also use user cron tabs, e.g. root, nobody, ... depending on what you want to do. I think it's only a matter of taste. [...] > So thank you again for all your help and work Don't mention it -- the only thing I did was pasting my script :-) Simon signature.asc Description: Digital signature
Requesting Info
I recently bought FreeBSD and i wanted to know if it was possible to run Counter Strike. "Steam" If you have an answer i would like to know becuase i want to use FreeBSD but i am not sure that i can do both. Thanks for your time Sincerly Armando Juarez ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IPFW Ruleset Help
Hello. Running FreeBSD 4.10. After I reboot with my new ipfw.rules I can't load any webpages. I didn't try by IP address cause I can't remember any off top at the moment. Is the firewall logging working? You need lines in your syslog.conf like ... !ipfw *.* /var/log/ipfw.log Then you can tail -f /var/log/ipfw.log and try to access the web page. You should see packets being blocked and figure out which rules are wrong / which rules you need to add. add 00310 allow tcp from 205.152.133.254 to any in recv xl0 add 00311 allow tcp from 205.152.132.235 to any in recv xl0 add 00320 allow udp from 205.152.133.254 53 to any in recv xl0 add 00321 allow udp from 205.152.132.235 53 to any in recv xl0 You let the DNS responses in, but I do not see any place where you let your requests out. _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NFS Setup Problem | Permission denied from client system
I have setup a NFS Server and the demons are running on the server. I have created an exports file located at /etc/exports This is the exports file: - #EXPORTS FILE USED WITH NFS SERVER #/home/samba/ -alldir -maproot=root 192.168.1.13 /home/samba/ -alldir solid - the one that is commented out is what I had at first, but neither are working for me when I try and mount from the client system. [EMAIL PROTECTED] mount core:/home/samba/ /mnt [udp] core:/home/samba: Permission denied ask you see I get a Permission denied for either export setups.. What am I doing wrong? I was thinking that the problem is folder permissions, but that samba dir has full access to everyone. Maybe the home dir has to have full access as well? Thanks guys, Bruce ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem of vipw
#vipw --> as root #sudo vipw vipw: pw_edit() No such file or directory I pasted that error message in to google and found this: http://lists.freebsd.org/pipermail/freebsd-current/2004-April/025124.html perhaps it will help... _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Disk geometry salad...
> > 2) When installing FreeBSD, sysinstall warns that a geometry of the > > first drive (1) as it detects it (77545/16/63) is incorrect and > > can't be used. It automatically replaces the values with > > 4865/255/63. The problem is that after replacing the geometry with > > 4865/255/63 the number of LBA sectors (as listed in the Disk Slice > > editor) becomes lower than the manufacturer spec (78,156,225 instead > > of 78,165,360). What does this mean? You've encountered a well-known bug in the installer. I've experienced it too and so have many others. During the install, when you're in the fdisk partition editor, just hitting "g" is usually all you have to do to correct the bug. If you've already installed, I'm not sure what you can do to correct the bug other than go back and reinstall, this time hitting "g". There might be another way to change disk geometry without doing that, but I don't know how (anybody reading this know?). You might want to take a look at the following article, the geometry bug is discussed about 1/3 down from the top: http://distrowatch.com/dwres.php?resource=review-freebsd regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem of vipw
On Tue, 1 Jun 2004 21:58:13 +0800 "Hamilton" <[EMAIL PROTECTED]> wrote: > Hi, > I would like to add a new user into my system. > I simply execute the vipw command from the remote machine. > No matter how I execute vipw as root or sudo vipw, the system shows > the error message to me. > i.e. I execute > #vipw --> as root > #sudo vipw > vipw: pw_edit() No such file or directory Dear Hamilton, I would guess that this is probably just a path error. You might be able to start vipw by just typing "/usr/sbin/vipw". If this solves the problem, you might want to add /usr/sbin to the path (it should be there by default, but that depends on what account you're using to log in with). You can set the path in the ~/.profile hidden file. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: requesting freebies for lug
On Tue, Jun 01, 2004 at 02:24:45PM -0400, Jeremy Faulkner wrote: > Dazie wrote: > | Hi my name is Diana Lenko I am from BNLUG LINUX USERS GROUP AND > SUNCOAST LINUX USERS GROUP > | What I do is contact companys like yours and ask for freebies such as > Boxed distros teeshirts stuffed animals > | Hats, books, stickers. and this is too promote your items and let > people know you are out there in the linux world long with many other > companys and to let them know why they should try your Distros out and > see where it fits in our world. Teeshirts should be xxLarge and XLarge . > If you would like to check out our site go to.WWW.SunCoastLug.org > | and check us out.Can you please help us out with some freebies we load > your distros on our laptops and show them off also we do raffles with > some of the items. > | Thanks > |Diana Lenko > > FreeBSD.org is not a company, we do not have promotional items to give you. Except for those you can download for free from the FTP site! :-) Kris pgpVacp3Krw4l.pgp Description: PGP signature
Intel PRO/Wireless 2200
hi, question about a wireless card -- I would like to get a Intel PRO/Wireless 2200 (b/g) mini pci card to run on my laptop (inspiron 8600), but i'm not sure if it is supported by freebsd. i couldn't find any info on the website/lists/web/etc. about whether freebsd has the necessary drivers (or if they exist). i have found that there is a driver for linux, apparently made by intel. they have a page at sourceforge: http://ipw2200.sourceforge.net/ so, does freebsd already support the Intel PRO/Wireless 2200, and if not, will the above linux driver work with freebsd? thanks for any help. mike _ Watch LIVE baseball games on your computer with MLB.TV, included with MSN Premium! http://join.msn.click-url.com/go/onm00200439ave/direct/01/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
acd0 freeze with latest -CURRENT
Hello, I'm facing a problem which appeared between Apr 26 and today: when using the DVD drive of my girlie'laptop, mplayer stands frozen after a few seconds/minutes. I can 'atacontrol reinit 1' and things go on... until next freeze :-/ Not so a specific mplayer issue: same thing when attempting to vob-copy with dvdrip. Laptop model is Compaq Presario 2120EU. You'll find at the end of this email dmesg, ps when the problem arises, kernel config and pciconf -l. I just included DDB in a fresh kernel, but couldn't play much with it, cause IANAC, and especially not wrt the kernel. I'd appreciate if someone could point me at valuable docs/debugging howto so that i can provide anyone who'd care with it with useful input. Last point: the commits from today back to end april on ATA deal with "autosense" feature -> could someone satisfy my curiosity and explain me what is it ? And now, the most useful content: Script started on Wed Jun 2 01:24:01 2004 %ps ax PID TT STAT TIME COMMAND 0 ?? DLs0:00,00 (swapper) 1 ?? SLs0:00,01 /sbin/init -- 2 ?? DL 0:00,01 (g_event) 3 ?? DL 0:00,12 (g_up) 4 ?? DL 0:00,34 (g_down) 5 ?? DL 0:00,02 (taskqueue) 6 ?? SL 0:00,03 (acpi_task0) 7 ?? SL 0:00,01 (acpi_task1) 8 ?? SL 0:00,05 (acpi_task2) 9 ?? DL 0:00,00 (cbb0) 10 ?? DL 0:00,00 (ktrace) 11 ?? RL 2:45,23 (idle: cpu0) 12 ?? WL 0:00,00 (irq0: clk) 13 ?? WL 0:00,00 (irq1: atkbd0) 14 ?? WL 0:00,00 (irq3:) 15 ?? WL 0:00,00 (irq4: sio0) 16 ?? WL 0:00,16 (irq5: pcm0) 17 ?? WL 0:00,00 (irq6: fdc0) 18 ?? WL 0:00,00 (irq7: ppc0) 19 ?? WL 0:00,00 (irq8: rtc) 20 ?? WL 0:00,00 (irq9: acpi0) 21 ?? WL 0:00,00 (irq10: fwohci0+) 22 ?? WL 0:00,69 (irq11: cbb0 sis0) 23 ?? WL 0:00,01 (irq12: psm0) 24 ?? WL 0:00,00 (irq13:) 25 ?? WL 0:00,03 (irq14: ata0) 26 ?? WL 0:01,00 (irq15: ata1) 27 ?? WL 0:00,11 (swi8: tty:sio clock) 28 ?? WL 0:00,00 (swi4: vm) 29 ?? WL 0:00,29 (swi1: net) 30 ?? DL 0:00,07 (yarrow) 31 ?? WL 0:00,00 (swi6:+) 32 ?? WL 0:00,00 (swi5:+) 33 ?? WL 0:00,00 (swi7: acpitaskq) 34 ?? WL 0:00,00 (swi2: camnet) 35 ?? WL 0:00,00 (swi3: cambio) 36 ?? WL 0:00,00 (swi7: task queue) 37 ?? DL 0:00,03 (acpi_thermal) 38 ?? DL 0:00,00 (usb0) 39 ?? DL 0:00,00 (usbtask) 40 ?? WL 0:00,00 (swi0: tty:sio) 41 ?? DL 0:00,00 (pagedaemon) 42 ?? DL 0:00,00 (vmdaemon) 43 ?? DL 0:00,50 (pagezero) 44 ?? DL 0:00,00 (bufdaemon) 45 ?? DL 0:00,01 (syncer) 46 ?? DL 0:00,00 (vnlru) 47 ?? SL 0:00,00 (nfsiod 0) 48 ?? SL 0:00,00 (nfsiod 1) 49 ?? SL 0:00,00 (nfsiod 2) 50 ?? SL 0:00,00 (nfsiod 3) 315 ?? Ss 0:00,01 /usr/sbin/syslogd -s 330 ?? Ss 0:00,01 /usr/sbin/rpcbind 420 ?? Ss 0:00,00 /usr/sbin/mountd -r 422 ?? Ss 0:00,03 nfsd: master (nfsd) 425 ?? S 0:00,57 nfsd: server (nfsd) 426 ?? S 0:00,02 nfsd: server (nfsd) 427 ?? S 0:00,00 nfsd: server (nfsd) 428 ?? S 0:00,00 nfsd: server (nfsd) 452 ?? Ss 0:00,00 /usr/sbin/usbd 502 ?? Ss 0:00,00 /usr/sbin/sshd 508 ?? Ss 0:00,01 sendmail: accepting connections (sendmail) 512 ?? Ss 0:00,00 sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/mqueue 515 ?? Ss 0:00,00 sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/client 529 ?? Ss 0:00,00 /usr/sbin/cron -s 558 ?? Ss 0:00,03 /usr/local/sbin/cupsd 586 ?? Ss 0:00,01 sudoscriptd: main (perl) 588 ?? Ss 0:00,00 sudoscriptd: merger (perl) 637 ?? S 0:00,02 /usr/X11R6/bin/wdm -nodaemon ttyv8 638 ?? S 0:00,11 /usr/X11R6/bin/wdm -nodaemon ttyv8 641 ?? Ss 0:05,08 /usr/X11R6/bin/XFree86 -auth /usr/X11R6/lib/X11/wdm/a 642 ?? Ss 0:00,01 /usr/X11R6/bin/wdm -nodaemon ttyv8 657 ?? Ss 0:00,19 /usr/X11R6/bin/wmaker 675 ?? S 0:00,14 wmxmms 676 ?? S 0:00,06 wmbsdbatt 677 ?? S 0:00,04 wmtime 678 ?? S 0:00,01 /usr/X11R6/bin/xconsole -geometry 480x130-0-0 -daemon 682 ?? S 0:00,07 xterm -sl 1000 703 ?? Ss 0:00,02 sshd: doudou [priv] (sshd) 705 ?? R 0:00,01 sshd: [EMAIL PROTECTED] (sshd) 683 p1 Ss 0:00,02 csh 684 p1 S+ 0:01,21 mplayer -vo x11 -ao oss -double -cache 8192 -zoom -dv 698 p1 DL+0:00,08 mplayer -vo x11 -ao oss -double -cache 8192 -zoom -dv 706 p2 Ss 0:00,02 -csh (csh) 721 p2 S+ 0:00,00 script debug_infos 722 p3 Ss 0:00,01 /bin/csh -i 723 p3 R+ 0:00,00 ps ax 629 v0 Ss+0:00,00 /usr/libexec/getty Pc ttyv0 630 v1 Ss+0:00,00 /usr/libexec/getty Pc ttyv1 631 v2
Re: Whatever happened to the sticky bit (for files)
On Tue, 1 Jun 2004 14:04:36 -0400 Charles Swiger <[EMAIL PROTECTED]> wrote: > On Jun 1, 2004, at 10:08 AM, Bill Moran wrote: > > Unless I'm mistaken, at one time turning on the sticky bit on a binary > > would > > tell the kernel not to swap out that program when it was running (or > > somtehing similar ... I think it used to mean "kernel must never swap > > out > > this data") > > That's right, although it's been a few years since that has been used > by any OS I can point to. :-) Well ... I don't know how long it's been, I just remember seeing a reference somewhere to the historical meaning of the bit. > The general idea was that if the system is under VM pressure, it would > end up swapping out pages of memory from inactive processes, only you > don't want to swap out parts of /bin/sh, or cron, or some other > long-running daemons, because you'll end up wanting those pages > resident again soon. So you'd mark certain important executables with > the sticky bit to help the VM system focus on evicting less critical > pages. > > > Anyway ... considering the arguments that swap algorithms can be stupid > > (they have to balance the need for disk cache with the need for app > > space) > > Wouldn't it make sense to put some of that power back in the hands of > > the > > admins and developers? > > Maybe. The situation may more closely resemble the case of using the > "register" keyword in C code. At one point, that helped the compilers > focus on optimizing the right variables, and also had the advantage of > preventing usage of those variables from being potential memory aliases > to other parts of memory. > > Nowadays, the compilers do a good enough job of optimizing register > usage for themselves that the "register" keyword is somewhere between > not very useful and counterproductive. That all depends on who you ask. There are small religions centered around the belief that compilers do not respect the "register" keyword like they really should ... but that's a different flame war ... ;) > VM paging algorithms have improved since the usage of the sticky bit > was common, and available physical memory on typical systems has also > increased significantly. VM systems which use a global page-fault > frequency algorithm to help balance memory usage between processes tend > to give /bin/sh and other essential daemons enough RAM that you don't > tend to swap out their pages anyway when the VM system is looking for > pages to evict. Absolutely, but what about monsters like OpenOffice? I'm also wondering if this is a Linux thing? I don't see my FreeBSD desktop machine giving me a lot of grief about programs I haven't used in a while being too slow to respond. I mean, there _is_ a problem sometimes, but the response is still usually better than a faster machine with more memory using Windows, so I figure FreeBSD has got a good set of VM algorithms going. (As a side note, a Fedora box running on the same hardware as the Windows box is between Windows and FreeBSD as far as responsiveness is concerned ... no _real_ data here, just my perception with regard to normal usage) -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Static route between two machines.
Hello, In a little test scenario to learn more about routing, I've come up with the folling setup consisting of two machines, directly connected via two separate interfaces on each machine: 172.16.100.10 <---> 172.16.100.25 (fxp0) (ed0) Host ABCHost XYZ (fxp1) (ed1) 192.168.100.10 <--> 192.168.100.25 What I'm trying to do, is force all network traffic through the interfaces on the 172.16.100/24 subnet, as if the link between the two hosts over the 192.168.100/24 subnet did not exist. For example, if I were logged into host ABC and attempted to ping 192.168.100.25, I would like the echo request to be sent via fxp0 (and have the reply come back on fxp0, of course). I've tried doing this by setting up static routes on each host such as: Host ABC: route add -host 192.168.100.25 -interface fxp0 Host XYZ: route add -host 192.168.100.10 -interface ed0 The commands succeed, but the resulting routes don't work as I expected. If I tell tcpdump to listen for ICMP and try pinging 192.168.100.25 from host ABC, tcpdump shows that fxp0 (172.16.100.10) did, in fact, receive an echo request, but ed0 on the other end (also running tcpdump) never picks up that request. I'm not sure if the traffic is being dropped by fxp0 or not - tcpdump says that a request was made, after all, so should I assume this was sent over the wire as well? ed0 certainly never gave that impression. So this is where I'm stuck. Any help is greatly appreciated. If my question doesn't have an easy answer, would someone mind pointing me in the right direction? Thank-you, -David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How do I enable sendmail ONLY for local system mail?
I read /etc/mail/README and also a few posts while I was setting up my firewall. but I'm not getting any system mail like expected. What should the permissions be on my mqueue and clientmqueue dirs in /var? Here are the rc.conf mail options: sendmail_enable="yes" sendmail_submit_enable="yes" sendmail_outbound_enable="yes" sendmail_msp_queue_enable="yes" Here are the ipfw rules: # NEPTUNE firewall rules add 00300 allow ip from 127.0.0.1/32 to 127.0.0.1/32 via lo0 add 00350 allow ip from any to any via vr0 add 00400 check-state add 00401 deny tcp from any to any in established add 00402 allow tcp from any to any out setup keep-state add 00500 allow udp from 216.182.4.5 53 to any in recv tun0 add 00501 allow udp from 216.182.1.2 53 to any in recv tun0 add 00502 allow udp from any to any out add 00600 allow icmp from any to any icmptype 3 add 00601 allow icmp from any to any icmptype 4 add 00602 allow icmp from any to any out icmptype 8 add 00603 allow icmp from any to any in icmptype 0 add 00604 allow icmp from any to any in icmptype 11 jm -- My other computer is your windows box. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NFS Help
I have setup a NFS Server and the demons are running on the server. I have created an exports file located at /etc/exports This is the exports file: - #EXPORTS FILE USED WITH NFS SERVER #/home/samba/ -alldir -maproot=root 192.168.1.13 /home/samba/ -alldir solid - the one that is commented out is what I had at first, but neither are working for me when I try and mount from the client system. [EMAIL PROTECTED] mount core:/home/samba/ /mnt [udp] core:/home/samba: Permission denied ask you see I get a Permission denied for either export setups.. What am I doing wrong? I was thinking that the problem is folder permissions, but that samba dir has full access to everyone. Maybe the home dir has to have full access as well? Thanks guys, Bruce ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Follow up on sending local mail only
I haven't gotten any cron mail yet, but I'm able to send mail as root. However, otherwise, as another user, mutt complains: collect: Cannot write ./dfi520m0hj053054 (bfcommit, uid=1001, gid=25): +Permission denied queueup: cannot create queue file ./qfi520m0hj053054, euid=1001: Permission +denied It looks like I messed up my permissions somehow. jm -- My other computer is your windows box. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[no subject]
hello ive installed freebsd i have 3 versions all of which have the same problem 4.3 4.8 and 5.1 when i go to run the x window it is just huge bigger then the screen in fact so big i cant tell whats going on so its basically unusable ive tried using the - + to change resolutions but nothing i do changes it to a useable size do you have any solutions for me it runs fine in text mode but x window its totalled so any ideas ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Postfix Help Please!
Hello. Running FreeBSD 4.10. I am using Mutt as my MUA and want to use Postfix as my MTA. I have the following in my /etc/rc.conf (This is everything related to my network settings) hostname="bsdjunky.homeunix.org" ifconfig_xl0="inet my.ip.address netmask 255.255.255.0" pccard_ifconfig="inet my.ip.address netmask 255.255.255.0" kern_securelevel="NO" sshd_enable="NO" gateway_enable="YES" hostname="bsdjunky.homeunix.org" portmap_enable="NO" network_interfaces="auto" rwhod_enable="YES" ppp_enable="YES" ppp_profile="pppoe" ppp_mode="background" sendmail_enable="NO" sendmail_flags="-bd" sendmail_pidfile="/var/spool/postfix/pid/master.pid" sendmail_outbound_enable="NO" sendmail_submit_enable="NO" sendmail_msp_queue_enable="NO" In /etc/periodic.conf daily_clean_hoststat_enable="NO" daily_status_mail_rejects_enable="NO" daily_status_include_submit_mailq="NO" daily_submit_queuerun="NO" This is for the other basic question I have. Here is my /etc/ppp/ppp.conf (minus usr and passwd of course) default: set log Phase Chat LCP IPCP CCP tun command nat enable yes nat same_ports yes nat use_sockets yes set redial 0 0 pppoe: set device PPPoE:xl0: set mru 1492 set mtu 1492 set speed sync enable lqr set lqrperiod 5 set cd 5 set dial set login set timeout 0 set authname [EMAIL PROTECTED] set authkey passwd set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR# Add a (sticky) default route enable dns I really have no clue obviously about networking, basic e-mail stuff like domain name, hostname, and the such. I thought I was getting the hang of things but just figured out that I know nothing. I am able to download my e-mails but I can not send any e-mails to anyone besides myself. ANYONE! I've attached my postfix main.cf file. Hope someone could really help me out here. My second problem is when connected to the net (I have a Static IP/PPPoE through Bellsouth) After a little while I am not able to connect to the net. Thank You! __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re:
On Tue, 1 Jun 2004 18:02:22 -0700 "kc" <[EMAIL PROTECTED]> wrote: > hello ive installed freebsd i have 3 versions all of which have the same > problem 4.3 4.8 and 5.1 when i go to run the x window it is just huge bigger > then the screen in fact so big i cant tell whats going on so its basically > unusable ive tried using the - + to change resolutions but nothing i do > changes it to a useable size do you have any solutions for me it runs fine in > text mode but x window its totalled so any ideas ? Sounds like your X settings are not conducive to any resolution higher than the minimum. I think it's been a long time since anyone wrote a GUI app that would work on a 640x480 screen! See this chapter of the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html I'm guessing you somehow have either a monitor or vid card config that makes X think it has to run at a super low resolution. Try to use the information in that chapter to work things out. Sometimes it helps to look through /var/log/XFree86.0.log ... that file often contains information that may tell you what part of the configuration is the limiting factor. If you're not able to get anywhere, post again and include your XFree config, as well as the log file mentioned above. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Requesting Info
You can run a server. I run teamfortress on my FreeBSD 5.0 366Mhz 256MB, and can have 16 people cranking away no problem. Just download hlds_l_3110_full.tar.gz and get the counterstike mods. - Original Message - From: "Ernesto Ortiz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 01, 2004 5:30 PM Subject: Requesting Info > I recently bought FreeBSD and i wanted to know if it was possible to run > Counter Strike. "Steam" If you have an answer i would like to know becuase i > want to use FreeBSD but i am not sure that i can do both. > > Thanks for your time > > Sincerly Armando Juarez > > > ___ > [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: Networking w/ FreeBSD
I just add an entry in /etc/fstab like this /sbin/mount_smbfs //[EMAIL PROTECTED]/interchk/mnt/interchk I use this command to mount my sophos em library share running on XP to my BSD 5.0 machine and then symbolically link the /mnt/interchk to the root of webserver for remote update via http. - Original Message - From: "Kevin Stevens" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 01, 2004 2:14 PM Subject: Re: Networking w/ FreeBSD > On Tue, 1 Jun 2004 [EMAIL PROTECTED] wrote: > > > I have two computers systems in my network. The first system is a headless > > FreeBSD 5.2.1 system. This system stores my mp3's, datafiles and runs mysql and > > apache. I recently, got rid of windows off my laptop and installed FreeBSD > > 5.2.1. When I had windows on the laptop, I was able to Map a Network drive to > > the headless system via Samba runing on the server. > > > > My question is this: How would I set something up to perform the same > > functionality, as when I had windows? I'm just not sure what needs to be > > installed on either system? Any ideas or comments would be great! > > You can run the Samba client software on the laptop, or change the file > sharing on the server to NFS. Or, of course, you could change both to > some third sharing solution. Which depends on your assessment of the > pros/cons of each; performance, interoperability (do you potentially have > other machines that need to reach those resources?), security , etc. > > For the short term, running smbclient on the laptop is probably the > quickest way to get your connectivity back with the fewest config changes, > if that helps. > > KeS > ___ > [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]"
kernel panic and postfix problems
hello, i am running a personal server and after nearly 26 days of uptime without any major problems last night at around ten pm. central time there was what i assume is a kernel panic. im running 5.2 RELEASE on a pentium 3 877 mhz. heres the output: (hopefully this is accurate i had to write this out by hand, if someone knows how to get the orignal output that would be nice) Fatal trap 12: page fault while in kernel mode cpuid =0; apic id = 00 fault virtual address = 0x38 fault code = supervisor read, page not present instruction pointer = 0x8:0xc06bc08a stack pointer = 0x10:0xcb57098c frame pointer = 0x10:0xcb570a68 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres1, dres321, gran1 processor eflags= interrupt enabled, resume, 10pl=0 current process = 27 (swi1:net) trap number = 12 panic page fault cpuid=0; syncing disks, buffers remaining... 1787 1787 and then it was crashed hard. i couldnt switch virtual terminals, i couldnt shut down, all i could do is press the power button. so thats my first problem, what happened? was it a kernel panic? or was it something different, and whatever it was, what caused it? ok now onto the next problem. i was running my own mail server until recently as well, but i was getting beaten into the ground by spam. my /var/spool/postfix directory was 1.8 gigabytes. it was all spam i was bouncing from dynamic ips. none of it was getting to my accounts, but my server was getting clogged, since im running this off of adsl. im just wondering what i can do to stop this. the legitimate mail was not a problem at all. also this only started being a problem after a few weeks. as a temporary solution ive stopped postfix and deleted my entire spooled mail directory. however i would like a more permenant solution to these spammers attacking my server. right now postfix is bouncing all emails where the ips dont match the domain name. well thanks for any and all help. cya anthony philipp ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Intel Ethernet card not being detected
From: Wayne Pascoe > I've tried installing 5.2.1 on the machine and it still doesn't work. > Now though, it's even worse, as the em0 device doesn't work either. > > I get something along these lines: > em0: Link is up 10Mbps Half Duplex > em0: watchdog timeout -- resetting > em0: Link is up 10Mbps Half Duplex > em0: watchdog timeout -- resetting I would check your cabling. I recently had a similar problem that was caused by a lousy connection. -- Danny ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
fat32 corruption
Hi, Is there any status on bug kern/39043? I think I'm experiencing the same problem, but under 5.2.1. The bug was written against 4.6 but it does not seem to have been closed for 2 years (if I'm reading it correctly.. I'm not very familiar with the bug database). But I'm asking here as opposed to the samba mailing list since the bug report seems to be pointing the finger at a kernel bug. Symptoms: I installed FreeBSD 5.2.1 then samba 3.0.4 from source (I was unable to install the samba 3.0.x from ports, it keeps failing with ec = -1). By default I was getting the following message in /var/log/messages: May 30 14:24:21 mbox kernel: kern.maxpipekva exceeded, please see tuning(7) so I added: kern.ipc.maxpipekva=16222976 to the defaults. Don't know what the value should've been, but at least this fixes the message. I attached an older 80GB drive as /library. I created 10 files in notepad on windows XP Pro. They are just text files, with the sequence 0-9 repeated six times per line, then repeated for about 200,000 lines, giving me 10 identical files of about 16 mb. Exported my fat drive as /fat, and my /tmp drive as /ufs. Ran a copy from windows: copy testfile* \\computername\fat and copy testfile* \\computername\ufs in my tmp, the ten files were identical. on my fat drive, none of the ten files were identical to each other. The size was the same, but the data inside was scrambled, after a few correct blocks at the beginning. Using the /V flag on xcopy didn't signal any errors, but doing an fc /b after the copy from the windows machine showed a lot of differences. There were no errors while copyin to the ufs share, but coping to the fat share I get tons of the following in the samba.machine log: [2004/06/02 00:41:53, 0] locking/posix.c:posix_fcntl_lock(657) posix_fcntl_lock: WARNING: lock request at offset 0, length 92233720368547758\ 08 returned [2004/06/02 00:41:53, 0] locking/posix.c:posix_fcntl_lock(658) an Invalid argument error. This can happen when using 64 bit lock offsets [2004/06/02 00:41:53, 0] locking/posix.c:posix_fcntl_lock(659) on 32 bit NFS mounted file systems. [2004/06/02 00:41:53, 0] locking/posix.c:posix_fcntl_lock(673) Count greater than 31 bits - retrying with 31 bit truncated length. [2004/06/02 00:41:54, 0] locking/posix.c:posix_fcntl_lock(657) posix_fcntl_lock: WARNING: lock request at offset 0, length 16580 returned [2004/06/02 00:41:54, 0] locking/posix.c:posix_fcntl_lock(658) an Invalid argument error. This can happen when using 64 bit lock offsets [2004/06/02 00:41:54, 0] locking/posix.c:posix_fcntl_lock(659) on 32 bit NFS mounted file systems. [2004/06/02 00:41:54, 0] locking/posix.c:posix_fcntl_lock(657) posix_fcntl_lock: WARNING: lock request at offset 16580, length 16580 returne\ D Note that I'm not using NFS at all. This is a 32-bit machine. NFSCLIENt and NFSSERver is commented out in the kernel config file. I am also curious to know if this bug would affect updates to files, or just copies. Some of the files were updated over the share. I'm not sure if I trust the updates, but I can't visually inspect 60GB of data looking for anomalies. TIA... FWIW, my fstab and dmesg follows. The drive passed rom-based diagnostics. /etc/fstab: # DeviceMountpoint FStype Options Dump Pass# /dev/ad0s1b noneswapsw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1d /tmpufs rw 2 2 /dev/ad0s1f /usrufs rw 2 2 /dev/ad0s1e /varufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/ad1s1 /librarymsdosfs rw,-u=1012,-g=1012 \ 2 2 Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2.1-RELEASE #0: Sat May 29 09:11:27 CDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/mbox Preloaded elf kernel "/boot/kernel/kernel" at 0xc0815000. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (863.87-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383fbff real memory = 267386880 (255 MB) avail memory = 250081280 (238 MB) MPTable: ioapic0: Changing APIC ID to 8 ioapic0: Assuming intbase of 0 ioapic0 irqs 0-23 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 10 entries at 0xc00e8810 pcib0: at pcibus 0 on motherboard pci0: on pcib0 pcib0: slot 2 INTA routed to irq 16 pcib0: slot 31 INTC routed to irq 23 pcib0: slot 31 INTB routed to irq 17 agp0: mem 0x4050-0x4057,0x4400-0x47ff irq 16 at device 2.0 on pci0 pcib1: at d
Re: Mail Delivery (failure jags... [Authorize]
Hi, You just sent an email to my Mailblocks spam-free email service. (If you didnt recently send a message to me, please see the Note below*.) Because this is the first time you have sent to this email account, please confirm yourself so you'll be recognized when you send to me in the future. It's simple. To prove your message comes from a human and not a computer, go to: http://app3.mailblocks.com/confirm2.aspx?ck=C2phZ3N0aGlzdGxlDm1haWxibG9ja3MuY29tHWZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnL-1jYw**&a=1 This is the email message you have sent that is in my Pending folder waiting for your quick authentication: Subject: Mail Delivery (failure [EMAIL PROTECTED]) Sent: Jun 1, 10:55 PM If you have not confirmed within several days, your message will automatically be deleted. *Note: If you did not send the above message to me, and you would like to report this email as unwanted, please notify Mailblocks by going to: http://app3.mailblocks.com/didnotsend.aspx?ck=C2phZ3N0aGlzdGxlDm1haWxibG9ja3MuY29tHWZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnL-1jYw**&a=1 We will ensure that you do not receive any further notification regarding the above message. Mailblocks investigates all reports made using this link. - Email for Humans... Mailblocks Try Mailblocks web-based personal email -- faster, cleaner interface, more storage, bigger attachments, and 100% spam-free. http://about.mailblocks.com/?src=emailauthorize (c) 2003-2004 Mailblocks Inc. All rights reserved. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: How do I enable sendmail ONLY for local system mail?
-Original Message- From: Jonathon McKitrick > > I read /etc/mail/README and also a few posts while I was setting up my > firewall. but I'm not getting any system mail like expected. > > What should the permissions be on my mqueue and clientmqueue dirs in /var? > > Here are the rc.conf mail options: > sendmail_enable="yes" > > ... Hi, I don't know about your routing issue ... but if you're using the 5.2.1 release, you can put the following in your rc.conf and have it still work (if, as the subject line says, you really are only using it for local system mail): sendmail_enable="no" It's not intuitive to me either, but it does work (at least it did for me). >From the rc.sendmail man page: sendmail_enable (str) If set to ``YES'', run the sendmail(8) daemon at system boot time. If set to ``NO'', do not run a sendmail(8) daemon to listen for incoming network mail.This does not preclude a sendmail(8) daemon listening on the SMTP port of the loopback interface. The ``NONE'' option is deprecated and should not be used. It will be removed in a future release. -Danny ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"