How to make printer print faster?
Marco Beishuizen writes: >I own a HP LaserJet 2100, connected to my home network. According to the >specifications it should be able to print 10 pages per minute. When using >Windows that's not a problem. But using FreeBSD (with lpd configured with >help of Apsfilter from the ports) it prints very slowly, I guess about 2 >pages per minute. > >Is it possible to make printing go faster? When something is slow, the first thing to learn is _why_ it is slow. With it running, call up systat 1 -vmstat (systat-one-dash-vmstat) and look at the bar graph from the lhs to the center of the display. If you see lots of dashes or angle brackets, the problem is with user-level code such as ghostscript . If you see lots of equal signs, then something in the kernel (a driver?) is eating the time. If you see lots of plus signs, then a lot of time is being spent fielding interrupts, which suggests that the communication between the computer and the printer is not well handled. (Parallel ports are horrible in this way.) If there is not a lot of CPU being used, then the problem lies in the printer or in the precise instructions is is being given -- or else in some other source of delay in the computer. In an extreme case, heavy disk I/O could do this; you'll see that in the display on the bottom left to bottom center. Once you know where the bottleneck is, or at least where it ISN'T, you can look for the precise problem and the real fix. systat -vmstat may be the best thing a performance-concious developer will find in FreeBSD. Apart, that is, from a system which wants to run fast if only you'll let it. Mark Terribile __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sftp and ftp servers access only
Hello all, Here is our environment: 1. FreeBSD 5.1-RELEASE 1. proftpd running and a user account called 'sandy' is chrooted and working fine. 2. sshd version OpenSSH_3.6.1p1 FreeBSD-20030423 with DenyUsers for user account 'sandy'. Tested, sandy can not ssh to the system. This is also desired. # grep DenyUsers /etc/ssh/sshd_config DenyUsers sandy The setup we want is to have the followings: A. User can ftp. B. User can sftp but on ssh. C. User can only sftpd to the same chroot'ed directory which is also used for ftp. Here A is fine. B is not as DenyUsers does not let 'sandy' to user sftp-server defined in /etc/ssh/sshd_config as follows: Subsystem sftp/usr/libexec/sftp-server If I remove the user 'sandy' against the DenyUsers, it does let him to use both ssh and sftp sessions. This is working as designed. To make things more complicated, I cp the /sbin/nologin to /sbin/ftponly and placed in /etc/shells and removed against DenyUsers for 'sandy'. He initialize a ssh session and ends up in getting "This account is currently not available." which is good and also verified in the /var/log/auth.log file as: Dec 10 04:41:11 ftp sshd[783]: Accepted password for sandy from x.x.x.x port 1287 ssh2 Dec 10 04:41:11 ftp sshd[785]: session_input_channel_req: no session 0 req window-change and when starting a sftp session, no success either and /var/log/auth.log indicates: Dec 10 04:44:07 ftp sshd[789]: Accepted password for sandy from x.x.x.x port 1296 ssh2 Dec 10 04:44:07 ftp sshd[791]: subsystem request for sftp Moral of the story: Is it possible with the above environment that a system can act as an ftp and sftp servers only at the same time. If possibly it does, how some one chroot the environment like in proftpd for the DefaultRoot set to same in sftp session. Thank you for reading my first letter to this list! | | | | |===| |___| ).( \|/ S. Mohammad[EMAIL PROTECTED] '--- Who taught by the pen [96.04 Qur'an] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Kernel Panic (obelix)
Hi folks! I have had two kernel panics in quick succession, after being stable for 6 months. Strange The box is quite up to date on the 4 Stable branch: # uname -v FreeBSD 4.9-RELEASE-p1 #0: Fri Nov 28 09:49:42 SAST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/obelix Suddenly it has crashed twice in less than 8 hours. The last crash was Dec 9 16:09. I have put a stack trace from gdb at http://docs.perimeter.co.za/crash/2003-12/20031209_1609_a. Any pointers would be much appreciated. Regards, Patrick. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Lots of disks.
On Mon, 8 Dec 2003, Lewis Thompson wrote: > Is it even possible to have >4 IDE disks? I know the performance > would be terrible but I have considered this and realised it is > irrelevant since the box only has a 10Mbit connection (it's for storing > large data files (videos, etc.)). Yes - you many also want to look at 3ware their IDE cards (which can handle 4 8 or 16 disks). That is an easy/cheap way to add some IDE disks to your machine. See http://www.ironsystems.com/ and ASA computers for some inspiration and configs. We've used the latter for 'cheap' but low quality storage in the 0.5-2Tb for things like large datafiles. For certain things it can be very effective and under the 5k sort of value. Dw ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to make printer print faster?
On stardate Wed, 10 Dec 2003, the wise Mark Terribile entered: > When something is slow, the first thing to learn is _why_ it is slow. > With it running, call up systat 1 -vmstat (systat-one-dash-vmstat) and > look at the bar graph from the lhs to the center of the display. If you > see lots of dashes or angle brackets, the problem is with user-level code > such as ghostscript . If you see lots of equal signs, then something in > the kernel (a driver?) is eating the time. If you see lots of plus signs, > then a lot of time is being spent fielding interrupts, which suggests that > the communication between the computer and the printer is not well handled. > (Parallel ports are horrible in this way.) If there is not a lot of CPU > being used, then the problem lies in the printer or in the precise > instructions is is being given -- or else in some other source of delay in > the computer. In an extreme case, heavy disk I/O could do this; you'll see > that in the display on the bottom left to bottom center. > > Once you know where the bottleneck is, or at least where it ISN'T, you > can look for the precise problem and the real fix. > > systat -vmstat may be the best thing a performance-concious developer > will find in FreeBSD. Apart, that is, from a system which wants to run > fast if only you'll let it. I did the test: - When ps is busy processing the document, a lot of angle brackets are visible in the middle of the graph (under user). But only for a second or two. - When the data is sent to the printer, a split second one plus sign is visible under sys. After that everything returns to "normal" as if nothing is busy and the data is being sent to the printer and the printer starts printing. At first I thought the bottleneck is the speed of my network and the speed the data is sent tot the printer. But it has to be something else because when I attach a laptop to my network (with Win2000) it's printing 10 ppm. I got the impression that the printer is processing the data coming from Windows a lot faster than when the data is coming from FreeBSD. Marco -- A [golf] ball hitting a tree shall be deemed not to have hit the tree. Hitting a tree is simply bad luck and has no place in a scientific game. The player should estimate the distance the ball would have traveled if it had not hit the tree and play the ball from there, preferably atop a nice firm tuft of grass. -- Donald A. Metz ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Console resolution
> > Problem is that this notebok Toshiba, has *very* ugly system font. On > > RedHat I solved this problem, by giving higher resolution to text mode > > (which I what I would like to do here). I am wondering if this is also > > possible on freebsd. I use text mode a lot, so this is quite important, I > > use Xwindows only if I must... > try "man 1 vidcontrol" 1. Don't forget to "kldload vesa" for some higher resolutions. 2. Try /usr/sbin/vidfont. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to make printer print faster?
On stardate Tue, 9 Dec 2003, the wise Warren Block entered: > You could get the PostScript DIMM for the 2100 and eliminate apsfilter. > The speed increase would depend on what type of things you're printing, > but it's inexpensive (saw the DIMM on printerworks.com for $39). > > -Warren Block * Rapid City, South Dakota USA If that increases the speed, I'll look for it. I live in Europe so I will look for a PS DIMM here first :). It could be the solution because it seems the only difference between the Windows laptop and my FreeBSD computers (only talking about printing now of course). I print mostly "text" (from Acrobat or ApplixWare etc.). Marco -- Corruption is not the #1 priority of the Police Commissioner. His job is to enforce the law and fight crime. -- P.B.A. President E. J. Kiernan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: for understanding correctly -- Up-to-date - Upgread ..
> When I want to upgread to new release when it > available Which way is true to that ; Binary Update Mechanism to move > from release to release ( using freebsd-update-1.4 ports is correct or > Do you know any ports ) or Using New release CD and using sysinstall > program ... Maybe wrong, but I think "FreeBSD Update" is for security updates only - not for updating from release to release. sysinstall "Upgrade" should work. Greetings, Mark Weinem ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: It's very relevant replying me, please
On Sun, 07 Dec 2003, Vahric MUHTARYAN wrote: > Run "pkgdb -F" first After that run " portupgrade -a " pkgdb and portupgrade are not available after a fresh installation. Use pkg_add or sysinstall ("Configure" -> "Packages") to install additional software. Setting up the XFree86 GUI: sysinstall -> "Configure" -> "XFree86" and "Desktop" (after reading Chapter 2 of the handbook!) Greetings, Mark Weinem ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Hard drive geometry headache (slightly off topic)
Frederick Bowes wrote: I've solved the problem and repreat it here for future generations reference (: It appears that the MBR was infact corrupt, causing fdisk to get confused... the following command made the hd appear blank and let it all work again: dd if=/dev/zero of=/dev/ad0 count=2000 (Yes i lost my data but the drive now works!) Thanks for ur help (: It would be more precise to use dd if=/dev/zero of=/dev/ad0 bs=512 count=1 as this will delete exactly the first block of the first IDE-disk, aka MBR. If your MBR is corrupt, but you still care for the data, you have better chances to recover this way. Ciao Siegbert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
performance gain by compiling ports and kernel / java issues
Hey, 1) I now use the pre-build ports and kernel. (4.9-Release) What performance-gain do I obtain by building my own kernel and compiling the ports ? (the system is a PIII 500 Mhz with 512 MB ram) Does the extra work and efforts compare to the gain ? 2) Installing Eclipse on my box drives me completely nuts. The dependencies of the package requires: the diablo jdk, apache ant ... But during installing apache-ant it also wanted jdk 1.2.2, which requires linux-blackdown jdk. 3 jdk's needed ? Or am I wrong ? www.freebsd.org/java doesn't help me. The automatic installation procedure of eclipse got interrupted because the sun jdk package needs manual download. Did that affect my systems consistency ? Thanx in advance Bert (PS: Since I've subscribed for this list, I receive a lot of virus mails. Am I the only one ?) -- Bert Lagaisse K.U.Leuven, Dept. computer science Address: Celestijnenlaan 200A 3001 Heverlee Belgium Email: [EMAIL PROTECTED] Tel: +32 16 32 78 24 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
fsck not recognizing vinum filesystem type
Hello all... I am a relatively new FreeBSD user and I have never posted a request for help before so I hope I am doing this right and not plugging up the board with irrelevant and out of context questions. My apologies if I am. Here is my problem: I have vinum installed on my FreeBSD 5.1-Release box. Vinum starts and runs fine, but I can't fsck any of the volumes because it says... "fsck: Could not determine filesystem type." If I do a fsck -T ufs /dev/vinum/??? it will work fine, but it's when I don't explicity tell fsck what the filesystem type is that I get this error. Everything relating to vinum seems to work fine and the configuration is identical to the one I made at work (that works) except that the server at work is a 5.0 box. This wouldn't be a big deal, but when the server recycles fsck "Could not determine filesystem type" and dumps me into single user mode so I can fsck my volumes. This is a problem!! I wonder if I could tell fsck to use "-T ufs" in the rc.conf file, but I feel like I am just sidestepping the issue. FSCK should be able to detemine the filesystem type without help as far as I know, but I'm not sure what the problem could be. Any help or suggestions would be greatly appreciated. Thanks. This e-mail is intended only for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential, and exempt from disclosure under applicable law. If you are not the intended recipient, or an employee or agent of the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error please notify us immediately by replying to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sftp and ftp servers access only
Lines prefixed with ">" are what [EMAIL PROTECTED] wrote. >Hello all, > >Here is our environment: > >1. FreeBSD 5.1-RELEASE >1. proftpd running and a user account called 'sandy' is chrooted and working > fine. 2. sshd version OpenSSH_3.6.1p1 FreeBSD-20030423 with DenyUsers for > user account 'sandy'. Tested, sandy can not ssh to the system. This is also > desired. > ># grep DenyUsers /etc/ssh/sshd_config > >DenyUsers sandy > >The setup we want is to have the followings: > >A. User can ftp. >B. User can sftp but on ssh. >C. User can only sftpd to the same chroot'ed directory which is also used > for ftp. > >Here A is fine. B is not as DenyUsers does not let 'sandy' to user >sftp-server defined in /etc/ssh/sshd_config as follows: > >Subsystem sftp/usr/libexec/sftp-server > >If I remove the user 'sandy' against the DenyUsers, it does let him to >use both ssh and sftp sessions. This is working as designed. > >To make things more complicated, I cp the /sbin/nologin to >/sbin/ftponly and placed in /etc/shells and removed against DenyUsers >for 'sandy'. He initialize a ssh session and ends up in getting >"This account is currently not available." which is good and also verified > in the /var/log/auth.log file as: > >Dec 10 04:41:11 ftp sshd[783]: Accepted password for sandy from x.x.x.x port > 1287 ssh2 Dec 10 04:41:11 ftp sshd[785]: session_input_channel_req: no > session 0 req window-change > >and when starting a sftp session, no success either and /var/log/auth.log > indicates: > >Dec 10 04:44:07 ftp sshd[789]: Accepted password for sandy from x.x.x.x port > 1296 ssh2 Dec 10 04:44:07 ftp sshd[791]: subsystem request for sftp > >Moral of the story: Is it possible with the above environment that a system > can act as an ftp and sftp servers only at the same time. If possibly it > does, how some one chroot the environment like in proftpd for the > DefaultRoot set to same in sftp session. Check out /usr/ports/shells/scponly. Make sure to compile it with chroot support, if that's what you want. >Thank you for reading my first letter to this list! > >|===| >|___| > > ).( > \|/ S. Mohammad[EMAIL PROTECTED] > '--- Who taught by the pen [96.04 Qur'an] > >___ >[EMAIL PROTECTED] mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- "There are people who cheat on their spouse but not at cards, and vice versa, and both and neither. Reputation is not necessarily portable from one situation to another, and it's not easily expressed." --Clay Shirkey. (http://www.shirky.com/writings/group_enemy.html) "It has been said that man is a rational animal. All my life I have been searching for evidence which could support this." --Bertrand Russell. "The American empire is ideological, not territorial. We are the most ideological people in the world, and we are so united in our view that we don't understand there can be other views." --Lt. Gen. William Odom, ret. (Former Director of NSA). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kernel Panic (obelix)
As expected - it crashed again today at 14:21... Stack trace at http://docs.perimeter.co.za/crash/2003-12/20031210_1421_a. HHeeeppp !:) Regards, Patrick. [EMAIL PROTECTED] writes: Hi folks! I have had two kernel panics in quick succession, after being stable for 6 months. Strange The box is quite up to date on the 4 Stable branch: # uname -v FreeBSD 4.9-RELEASE-p1 #0: Fri Nov 28 09:49:42 SAST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/obelix Suddenly it has crashed twice in less than 8 hours. The last crash was Dec 9 16:09. I have put a stack trace from gdb at http://docs.perimeter.co.za/crash/2003-12/20031209_1609_a. Any pointers would be much appreciated. Regards, ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone have /usr/ports/java/jdk14 working on 4.8?
On Tue, 09 Dec 2003 15:44:54 -0600 Charles Howse <[EMAIL PROTECTED]> wrote: > Please tell me how you did it. > My build always fails. > I have /usr/local/linux-sun-jdk1.4.2 working. > > [EMAIL PROTECTED] /usr/local/linux-sun-jdk1.4.2/bin]# ./java -version > java version "1.4.2_02" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03) > Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode) > > -- > Thanks, > Charles > http://howse.homeunix.net:8080 > > Random Murphy's Law: > Envelopes and stamps which don't stick when you lick > them will stick to other things when you don't want > them to. > Hi Charles: Yes, here's what I had to do: 1. cd /usr/ports/java/linux-sun-jdk14 && make install <-- Don't clean yet 2. cd /usr/ports/java/jdk14 && make install < installs, and works 3. cd /usr/ports/java/linux-sun-jdk14 && make clean it'll take a couple of hours on an athlon 2100+ running 4.8 release patch level 14 hth. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to make dhclient give up its lease and get a new one with routes, etc. ?
paul beard <[EMAIL PROTECTED]> writes: > somewhere other than on my network. As luck would have, I got assigned > a new IP address last night (for the first time since I used @home > more than 3 years ago) and for some reason the dhcp client wouldn't > get the new address. I ran dhclient and that just set my address to > all 0's. I then killed it and restarted and got an address but no > routes. I ended up rebooting and that solved it (I then had to fix > both no-ip's config file since the old one was unparseable by version > 2 clients and go to zoneedit and update my address). > > So how to make dhclient do all this without the Windows workaround of > rebooting? You have to kill the existing dhclient instantiation before you mess around with this (I suspect that's the part you missed). Then you should try "dhclient -r" to release the existing lease (and, probably, reset some state at the server), and then start dhclient up again. That should do it. -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password "public" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone have /usr/ports/java/jdk14 working on 4.8?
On Wednesday 10 December 2003 07:16 am, Eric Pogroski wrote: > On Tue, 09 Dec 2003 15:44:54 -0600 > > Charles Howse <[EMAIL PROTECTED]> wrote: > > Please tell me how you did it. > > My build always fails. > > I have /usr/local/linux-sun-jdk1.4.2 working. > > > > [EMAIL PROTECTED] /usr/local/linux-sun-jdk1.4.2/bin]# ./java -version > > java version "1.4.2_02" > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03) > > Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode) > > > > -- > > Thanks, > > Charles > > http://howse.homeunix.net:8080 > > > > Random Murphy's Law: > > Envelopes and stamps which don't stick when you lick > > them will stick to other things when you don't want > > them to. > > Hi Charles: > > Yes, here's what I had to do: > 1. cd /usr/ports/java/linux-sun-jdk14 && make install <-- Don't clean yet > 2. cd /usr/ports/java/jdk14 && make install < installs, and works > 3. cd /usr/ports/java/linux-sun-jdk14 && make clean > > it'll take a couple of hours on an athlon 2100+ running 4.8 release patch > level 14 Eric, thanks for the reply. I'll try that right away. You don't by any chance have OpenOffice-1.1 working do you? That's where I'm going with this, but I have to get jdk working first. attempting to install jdk takes 6+ hrs on my machine. :-) -- Thanks, Charles http://howse.homeunix.net:8080 Random Murphy's Law: You can't guard against the arbitrary. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone have /usr/ports/java/jdk14 working on 4.8?
On Wed, Dec 10, 2003 at 07:25:46AM -0600, Charles Howse wrote: > You don't by any chance have OpenOffice-1.1 working do you? > That's where I'm going with this, but I have to get jdk working first. > attempting to install jdk takes 6+ hrs on my machine. :-) I just got both working less than a week back. I first fetched the packages for jdk14 so that all is ready for compilation. Just make sure you have plenty of swap too (I needed atleast 128M). If that's your problem, you could add some space in a swap file for now and then delete it later (see the handbook). The error message is mostly visible in ttyv0 (apart from the errors on the screen) # cd /usr/ports/java/jdk14 # make fetch-recursive # make install clean # (go to sleep...) openoffice-1.1 takes about 15 hrs on my celeron 1.7Ghz with 256 MB ram. Hope that was of some use... Gautam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone have /usr/ports/java/jdk14 working on 4.8?
On Wed, 2003-12-10 at 08:47, Gautam Gopalakrishnan wrote: > On Wed, Dec 10, 2003 at 07:25:46AM -0600, Charles Howse wrote: > > You don't by any chance have OpenOffice-1.1 working do you? > > That's where I'm going with this, but I have to get jdk working first. > > attempting to install jdk takes 6+ hrs on my machine. :-) > > I just got both working less than a week back. I first fetched the packages > for jdk14 so that all is ready for compilation. Just make sure you have > plenty of swap too (I needed atleast 128M). If that's your problem, you > could add some space in a swap file for now and then delete it later (see > the handbook). The error message is mostly visible in ttyv0 (apart from the > errors on the screen) > > # cd /usr/ports/java/jdk14 > # make fetch-recursive > # make install clean > # (go to sleep...) > Me too. Worked ok on fresh 4.9 install. > openoffice-1.1 takes about 15 hrs on my celeron 1.7Ghz with 256 MB ram. > About 20 hrs on IBM Thinkpad 700 celeron. Steve > Hope that was of some use... > Gautam > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Steve Bertrand President/CTO, Northumberland Network Services t: 905.352.2688 w: www.northnetworks.ca ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux Hardware Drivers with FreeBSD?
"Jonathan Walters" <[EMAIL PROTECTED]> writes: > I connect to the internet with a wireless card (Blitzz 802.11b 11Mbps > Wireless LAN PCI Card, http://www.iblitzz.com). This has always worked > well under Windows 2000, but now I'd like to do the same with FreeBSD > 4.9. Unfortunately, the closest drivers available on their website are > one for RedHat 7.3 or one for 8.0. Is there any way for this work, or > do I need to look for an alternate connection? Will the wi(4) driver work with it? [You may need to check the chipset from the card itself -- I can't find that information on the web, not that you mentioned the specific model...] -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password "public" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: performance gain by compiling ports and kernel / java issues
To answer your question number 1. I have done it both ways and I have not seen any performance gain building things by hand. Time is money, so using an pre-built port which is called an package is all ways my first choose. If the port I want does not have package then I use the port. Only at times when the port environment is in flux being updated for new released of FBSD am I forced to do ports by hand. To answer your question number 2 & 3 in an generic way. The port collection is currently going through an upgrade to support FBSD version 5.2 and at times like this it is very common to have mis-matches on the release levels of dependants required by the primary port. FBSD only has a single port system that they try to keep current with bleeding edge version of FBSD. Sure it would be nice if each production release of FBSD had it's own unique port system which is frozen once all the ports are working for that FBSD version, but that is not going to happen, so learn to live with it like the rest of us do. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bert Lagaisse Sent: Wednesday, December 10, 2003 8:13 AM To: [EMAIL PROTECTED] Subject: performance gain by compiling ports and kernel / java issues Hey, 1) I now use the pre-build ports and kernel. (4.9-Release) What performance-gain do I obtain by building my own kernel and compiling the ports ? (the system is a PIII 500 Mhz with 512 MB ram) Does the extra work and efforts compare to the gain ? 2) Installing Eclipse on my box drives me completely nuts. The dependencies of the package requires: the diablo jdk, apache ant ... But during installing apache-ant it also wanted jdk 1.2.2, which requires linux-blackdown jdk. 3 jdk's needed ? Or am I wrong ? www.freebsd.org/java doesn't help me. The automatic installation procedure of eclipse got interrupted because the sun jdk package needs manual download. Did that affect my systems consistency ? Thanx in advance Bert (PS: Since I've subscribed for this list, I receive a lot of virus mails. Am I the only one ?) -- Bert Lagaisse K.U.Leuven, Dept. computer science Address: Celestijnenlaan 200A 3001 Heverlee Belgium Email: [EMAIL PROTECTED] Tel: +32 16 32 78 24 ___ [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: Apache
[Forgot to CC the list.] On Tue, 2003-12-09 at 16:51, Payne wrote: > Hi, > > Thanks, yes FreeBSD rocks!!! I know this is the right place to ask, so > if you have the apache group list that would be nice, but what do I have > to do to get my users account to work? Are they place for example > > /home/user_x/public_html > > On any web browser I get the following error. > > Forbidden > > You don't have permission to access /~user_x/ on this server. > > On my linux server this is already turn on so I am little lost. > > Payne See the suggestions offered in the other replies, but also remember that the user's ~/public_html directory has to be readable by the user running the apache process (typically 'www'). Many people on a multi-user machine do "chmod 700 ~" to keep others from snooping around in their home directory, but this also keeps apache from being able to read the web pages in ~/public_html. Charles Ulrich -- http://bityard.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sed from a shell script - invalid command code
I'm trying to get the following Bourne shell script to output a list of all users on the server with the exception of those listed in the $ignore_users variable: -snip- #!/bin/sh sed=/usr/bin/sed passwd_file=/etc/passwd ignore_users="root|toor|daemon|operator|bin|tty|kmem|games|news|man|smmsp|bind|uucp|xten|pop|nobody|mysql|www|sshd|ftp|cyrus" cmd="$sed -E -e '/^(#|$ignore_users)/d' -e 's/:.*//' $passwd_file" users=`cmd` echo $users -snip- However when I run this code it returns: sed: 1: "'/^(#|root|toor|daemon| ...": invalid command code ' How can I get this code to work? If I echo out the contents of $cmd it looks as it should do: /usr/bin/sed -E -e '/^(#|root|toor|daemon|operator|bin|tty|kmem|games|news|man|smmsp|bind|uucp|xten|pop|nobody|mysql|www|sshd|ftp|cyrus)/d' -e 's/:.*//' /etc/passwd and if I execute that command I get the desired result - I'm just having trouble getting the results of the command into a variable. TIA -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: performance gain by compiling ports and kernel / java issues
On Dec 10, 2003, at 8:12 AM, Bert Lagaisse wrote: Hey, 1) I now use the performance-gain do I obtain by building my own kernel and compiling the ports ? (the system is a PIII 500 Mhz with 512 MB ram) Does the extra work and efforts compare to the gain ? If you have a newer processor, there can be a slight performance gain. You must specify the processor type in make.conf before building though. A custom kernel compiled for your processor only can be rather "peppy". My custom kernel is half the size of the GENERIC kernel. So to answer your question, yes if you do it correctly following the manual on freebsd.org Lucas Holt [EMAIL PROTECTED] FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) 'Re-implementing what I designed in 1979 is not interesting to me personally. For kids who are 20 years younger than me, Linux is a great way to cut your teeth. It's a cultural phenomenon and a business phenomenon. Mac OS X is a rock-solid system that's beautifully designed. I much prefer it to Linux.' -- Bill Joy, Wired Article 2003 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to make printer print faster?
Marco, I haven't much time at the moment, so this will not be a clean reply. ... > I did the test: > - When ps is busy processing the document, a lot of angle brackets are > visible in the middle of the graph (under user). But only for a second or > two. > - When the data is sent to the printer, a split second one plus sign is > visible under sys. > > After that everything returns to "normal" as if nothing is busy and the > data is being sent to the printer and the printer starts printing. You are not bound up on either CPU or interrupt behavior. > At first I thought the bottleneck is the speed of my network and the speed > the data is sent tot the printer. But it has to be something else because > when I attach a laptop to my network (with Win2000) it's printing 10 ppm. > > I got the impression that the printer is processing the data coming from > Windows a lot faster than when the data is coming from FreeBSD. I'm wondering if the problem is that everything going through APSFILTER is sent as Postscript or raster. If this is on a 4.x (did you say 4.9?) then you are limited to the 1.1 Meg/sec of USB1 (I'm assuming that it's a USB printer). USB2 is 450 times faster, and may remove a bottleneck. On the other hand, the bottleneck may be the speed at which the printer can process either Postscript or its raster data. And that may depend on some resolution settings. I can't think of how to measure these things offhand, but that's where I would start. Mark Terribile __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: group file limits
On Tue, 2003-12-09 at 17:45, jonathan wrote: > Hi, I'm running a freebsd 4.8 data server on an intranet. > > There is many group (10 and more will come) and a lot of members (10-12 by group) > into them... So i'm having big trouble with the fact that 'pw' doesn't read further > than 1024 characters into the '/etc/group' file. > > Is there a way to bypass that limit? > > Or a better way of managing many groups on freebsd? > > I really need to solve this... any help will be a miracle! You might want to take a look at using ACLs (Access Control Lists) instead of groups to manage your users. Unfortunately, ACLs appear to be new to FreeBSD 5.x, so if this is for a production environment, you may have to kludge your way around until 5.x is in STABLE. Unless, of course, you're willing to run a 5.x release in a production environment, which is usually quite doable and problem-free, but never deliberately recommended. Charles Ulrich -- http://bityard.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd mount nwfs
Hi all, At last, I got it to work. I be able to mount nwfs. Thank you for those who gave me information and guideline. Thank you again. feroz --- Cristian Salan <[EMAIL PROTECTED]> wrote: > On Tue, Dec 09, 2003 at 12:22:02PM +, Feroz F. > Basir wrote: > > Hi, > > > > IPX network number is 33A95AF6. Do I need to use > this > > as ifconfig_fxp0_ipx="ipx 33A95AF6". Any way I can > > change this from command line instead of rebooting > my > > box? > > > Hello, > You are getting closer. I'm curious, is it working > now? > > As sugested by other list members is good to read > man 3 ef and as long > as you can obtain information from the novell > sysadmin try to bind > your nic to the specific ethernet frame used by > novell server, eg. if > is using Ethernet_802.2 frame use > ifconfig_fxp0f2_ipx="ipx 33A95AF6". > > All the best, > Cristian > > --- > Xnet scaneaza automat toate mesajele impotriva > virusilor folosind RAV AntiVirus. > Xnet automatically scans all messages for viruses > using RAV AntiVirus. > > Nota: RAV AntiVirus poate sa nu detecteze toti > virusii noi sau toate variantele lor. > Va rugam sa luati in considerare ca exista un risc > de fiecare data cand deschideti > fisiere atasate si ca MobiFon nu este responsabila > pentru nici un prejudiciu cauzat > de virusi. > > Disclaimer: RAV AntiVirus may not be able to detect > all new viruses and variants. > Please be aware that there is a risk involved > whenever opening e-mail attachments > to your computer and that MobiFon is not responsible > for any damages caused by > viruses. > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" BT Yahoo! Broadband - Save £80 when you order online today. Hurry! Offer ends 21st December 2003. The way the internet was meant to be. http://uk.rd.yahoo.com/evt=21064/*http://btyahoo.yahoo.co.uk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
chroot(2)ed or jail(8)ed www/apache{13,2,21} ports?
Hi, is there a configuration option to install www/apache13 and www/apache2 [www/apache21] in a chroot(2) environment, or perhaps even in a jail(8)? There's no knob in the ports Makefile(s) for this, and doing it manually is error-prone... BTW, what's the difference between www/apache2 and www/apache21? Thanks. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone have /usr/ports/java/jdk14 working on 4.8?
On Wed, 10 Dec 2003 07:25:46 -0600 Charles Howse <[EMAIL PROTECTED]> wrote: > On Wednesday 10 December 2003 07:16 am, Eric Pogroski wrote: > > On Tue, 09 Dec 2003 15:44:54 -0600 > > > > Charles Howse <[EMAIL PROTECTED]> wrote: > > > Please tell me how you did it. > > > My build always fails. > > > I have /usr/local/linux-sun-jdk1.4.2 working. > > > > > > [EMAIL PROTECTED] /usr/local/linux-sun-jdk1.4.2/bin]# ./java -version > > > java version "1.4.2_02" > > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03) > > > Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode) > > > > > > -- > > > Thanks, > > > Charles > > > http://howse.homeunix.net:8080 > > > > > > Random Murphy's Law: > > > Envelopes and stamps which don't stick when you lick > > > them will stick to other things when you don't want > > > them to. > > > > Hi Charles: > > > > Yes, here's what I had to do: > > 1. cd /usr/ports/java/linux-sun-jdk14 && make install <-- Don't clean yet > > 2. cd /usr/ports/java/jdk14 && make install < installs, and works > > 3. cd /usr/ports/java/linux-sun-jdk14 && make clean > > > > it'll take a couple of hours on an athlon 2100+ running 4.8 release patch > > level 14 > > Eric, thanks for the reply. > I'll try that right away. > You don't by any chance have OpenOffice-1.1 working do you? > That's where I'm going with this, but I have to get jdk working first. > attempting to install jdk takes 6+ hrs on my machine. :-) > > -- > Thanks, > Charles > http://howse.homeunix.net:8080 > > Random Murphy's Law: > You can't guard against the arbitrary. > Hi Charles: OpenOffice 1.1 took me about 15 hours to compile, but I believe that doing a 'make package clean' added to the time. good luck! Eric ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone have /usr/ports/java/jdk14 working on 4.8?
On Wednesday 10 December 2003 07:53 am, Steve Bertrand wrote: > On Wed, 2003-12-10 at 08:47, Gautam Gopalakrishnan wrote: > > On Wed, Dec 10, 2003 at 07:25:46AM -0600, Charles Howse wrote: > > > You don't by any chance have OpenOffice-1.1 working do you? > > > That's where I'm going with this, but I have to get jdk working first. > > > attempting to install jdk takes 6+ hrs on my machine. :-) > > > > I just got both working less than a week back. I first fetched the > > packages for jdk14 so that all is ready for compilation. Just make sure > > you have plenty of swap too (I needed atleast 128M). If that's your > > problem, you could add some space in a swap file for now and then delete > > it later (see the handbook). The error message is mostly visible in ttyv0 > > (apart from the errors on the screen) > > > > # cd /usr/ports/java/jdk14 > > # make fetch-recursive > > # make install clean > > # (go to sleep...) > > Me too. Worked ok on fresh 4.9 install. > > > openoffice-1.1 takes about 15 hrs on my celeron 1.7Ghz with 256 MB ram. > > About 20 hrs on IBM Thinkpad 700 celeron. > > Steve > > > Hope that was of some use... > > Gautam That's much help, thanks! OK, next question... Assuming I get OO installed, what versions of MS Office files will it open? I have need to open MS Office *XP* files. (cross fingers) -- Thanks, Charles http://howse.homeunix.net:8080 Random Murphy's Law: A little ambiguity never hurt anyone. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone have /usr/ports/java/jdk14 working on 4.8?
> That's much help, thanks! > OK, next question... > Assuming I get OO installed, what versions of MS Office files will it open? > I have need to open MS Office *XP* files. (cross fingers) I can successfully import/export Word, excel, ppt documents successfully, and although some will say that some formatting loss occurs, I haven't experienced this as of yet, as most of the documents I use are text only without images. I have no experience with files under Office 2003 however. Cheers! Steve -- Steve Bertrand President/CTO, Northumberland Network Services t: 905.352.2688 w: www.northnetworks.ca ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to make printer print faster?
On stardate Wed, 10 Dec 2003, the wise Mark Terribile entered: > I'm wondering if the problem is that everything going through APSFILTER is > sent as Postscript or raster. If this is on a 4.x (did you say 4.9?) then > you are limited to the 1.1 Meg/sec of USB1 (I'm assuming that it's a USB > printer). USB2 is 450 times faster, and may remove a bottleneck. On the > other hand, the bottleneck may be the speed at which the printer can process > either Postscript or its raster data. And that may depend on some resolution > settings. > > I can't think of how to measure these things offhand, but that's where I > would start. > > Mark Terribile Most of the time I'm printing from a PIII450 which runs FreeBSD 4.8-release and an Alpha which runs 4.7-release (I know I should upgrade but that's another issue :)). The printer is connected to a small network at home, three computers all running FreeBSD and the printer, all connected to a switch. Sometimes I plug a laptop from my work into the network, which runs Windows 2000. Now I think that the data sent to the printer is PostScript and not PCL (if this is possible, I'm no expert on this but I guess that's the reason Windows is printing a lot faster) and that I should install a so called "PostScript emulator DIMM". Problem is that these are hard to find since the LaserJet 2100 is an old model now. I just got a tip on the mailinglist that they are still being sold at http://www.printerworks.com. Now I hope that they deliver to Europe also and that the company can be trusted... Marco -- Finagle's Second Law: No matter what the anticipated result, there will always be someone eager to (a) misinterpret it, (b) fake it, or (c) believe it happened according to his own pet theory. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
I'm having a hell of a time with mysql/apache/php
I installed 5.1 and need to install apache2/mysql/php. I did this a month ago and it worked great. Now I cannot get any of them to install. (I'm using the same cd, on a computer that is the same as the previous one). The errors keep coming back to the compiler. It says Checking if conversion of longlong to float works... segmentation fault (core dumped) no configure: error: your compiler cannot convert a longlong value to a float. If you are using gcc 2.8.# you should upgrade to egcs 1.0.3 or newer and try again I have tried to upgrade to egcs 1.0.3 but it fails also - it's marked as broken "bad c++ code". Any suggestions on what to do now? -- Chip ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to make printer print faster?
On Wednesday 10 December 2003 11:13, Marco Beishuizen wrote: > I got the impression that the printer is processing the data coming from > Windows a lot faster than when the data is coming from FreeBSD. I have a similiar "issue" with a HP LaserJet 4 Plus, which is capable of 12ppm. It's connected to my network using a JetDirect card on 100mbit switch, so speed of the interface shouldn't be an issue. I'm using the hpijs drivers currently. I would also agree that it seems to print more slowly than in Windows. My impression is that the LaserJet 4 is quite an old printer and has a relatively slow processor and therefore seems to spend quite a long time processing each page. I don't know for sure but I think it's just simply that it has to do more processing for UNIX print jobs. E.g. on WIndows it looks something like this: Application > PCL -> Printer On FreeBSD, mine does something like this: Application -> PostScript -> PCL -> Printer I was wondering if the PCL generated from PostScript was rather more complicated than that generated by the Windows driver and therefore required more processing. also take a look at (misleadingly-named) www.linuxprinting.org. They reccommend the use of the pxlmono driver, and say that it's much faster than others: http://www.linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_2100 Cheers, Chris Howells ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kernel Panic (obelix)
[EMAIL PROTECTED] wrote: As expected - it crashed again today at 14:21... Stack trace at http://docs.perimeter.co.za/crash/2003-12/20031210_1421_a. HHeeeppp !:) I glanced at the stack trace. I emphasise that I am NOT qualified to interpret such output properly but whenever I've seen page not present errors like that it's turned out to be faulty memory. That's true of most kinds of strange crashes of previously stable machines, in my experience. So if I were in your shoes, I'd consider testing/changing the RAM. PWR. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I'm having a hell of a time with mysql/apache/php
[EMAIL PROTECTED] wrote: I installed 5.1 and need to install apache2/mysql/php. I did this a month ago and it worked great. Now I cannot get any of them to install. (I'm using the same cd, on a computer that is the same as the previous one). The errors keep coming back to the compiler. It says Checking if conversion of longlong to float works... segmentation fault (core dumped) no configure: error: your compiler cannot convert a longlong value to a float. If you are using gcc 2.8.# you should upgrade to egcs 1.0.3 or newer and try again I have tried to upgrade to egcs 1.0.3 but it fails also - it's marked as broken "bad c++ code". Any suggestions on what to do now? -- Chip There is a call to close(2) in one of the mysql files that must be changed to fclose(3). I had the same problem. Refer to http://lists.freebsd.org/pipermail/freebsd-current/2003-June/004462.html I'll take a quick look at see if I can figure out which file it is KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I'm having a hell of a time with mysql/apache/php
[EMAIL PROTECTED] wrote: I installed 5.1 and need to install apache2/mysql/php. I did this a month ago and it worked great. Now I cannot get any of them to install. (I'm using the same cd, on a computer that is the same as the previous one). The errors keep coming back to the compiler. It says Checking if conversion of longlong to float works... segmentation fault (core dumped) no configure: error: your compiler cannot convert a longlong value to a float. If you are using gcc 2.8.# you should upgrade to egcs 1.0.3 or newer and try again I have tried to upgrade to egcs 1.0.3 but it fails also - it's marked as broken "bad c++ code". Any suggestions on what to do now? -- Chip ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" The file is the "configure" script for the mysql323-client. /usr/ports/databases/mysql323-client/work/somedir/configure (I cleaned after the last build, so don't have the exact path, sorry.) KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux Hardware Drivers with FreeBSD?
Quoting Jonathan Walters <[EMAIL PROTECTED]>: > I connect to the internet with a wireless card (Blitzz 802.11b 11Mbps > Wireless LAN PCI Card, http://www.iblitzz.com). This has always worked well > under Windows 2000, but now I'd like to do the same with FreeBSD 4.9. > Unfortunately, the closest drivers available on their website are one for > RedHat 7.3 or one for 8.0. Is there any way for this work, or do I need to > look for an alternate connection? > > _ > Shop online for kids toys by age group, price range, and toy category at > MSN Shopping. No waiting for a clerk to help you! http://shopping.msn.com > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > There aren't any drivers for this in FreeBSD as far as I know. You could always try porting the linux drivers, but the linux driver that's out there now will not work in binary form on FreeBSD. Ken ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Terminal setting
Hello; My FreeBSD box is going to serve some young shell users who have begun with Linux. In order to atract them it mustbe as good looking as a Linux system but I am having serious peroblem with my terminal settings. Some vary important keys such as Back Space, home, end and ... don't work in editors such as vim. For example in Emacs the Alt key does not work. Also editors such as vim and Emacs do not show syntax highlighting and so on. Can anybody help me with this problem. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Spam Filter - Sieve
Hi All, I am using Cyrus mail appn and its filter appn is "sieve". FYI I am FreeBSD newbie want to learn to filter spam. Any suggetions. Thanks in Advance. Ajit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to make printer print faster?
On stardate Wed, 10 Dec 2003, the wise Chris Howells entered: > I have a similiar "issue" with a HP LaserJet 4 Plus, which is capable of > 12ppm. It's connected to my network using a JetDirect card on 100mbit switch, > so speed of the interface shouldn't be an issue. I'm using the hpijs drivers > currently. I would also agree that it seems to print more slowly than in > Windows. My impression is that the LaserJet 4 is quite an old printer and has > a relatively slow processor and therefore seems to spend quite a long time > processing each page. I don't know for sure but I think it's just simply that > it has to do more processing for UNIX print jobs. > > E.g. on WIndows it looks something like this: > > Application > PCL -> Printer > > On FreeBSD, mine does something like this: > > Application -> PostScript -> PCL -> Printer > > I was wondering if the PCL generated from PostScript was rather more > complicated than that generated by the Windows driver and therefore required > more processing. Yes I also have the impression that it has something to do with the translation from PostScript to PCL. The printer prints 10ppm from my laptop with Windows2000, so it can't be a hardware problem. I think it has to be a driver issue, some difference of printing systems between FreeBSD/Windows. > also take a look at (misleadingly-named) www.linuxprinting.org. They > reccommend the use of the pxlmono driver, and say that it's much faster than > others: > > http://www.linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_2100 I tried the "pxlmono" driver, recommended on the site instead of the "lj5mono" or "lj5gray" I'm using now. But that driver didn't work at all. Thanks for the tip though. I'm thinking of looking for a Postscript emulator DIMM now, to make my printer a PS printer. Marco -- "I played lead guitar in a band called The Federal Duck, which is the kind of name that was popular in the '60s as a result of controlled substances being in widespread use. Back then, there were no restrictions, in terms of talent, on who could make an album, so we made one, and it sounds like a group of people who have been given powerful but unfamiliar instruments as a therapy for a degenerative nerve disease." -- Dave Barry, "The Snake" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Terminal setting
> Hello; > My FreeBSD box is going to serve some young shell users who have > begun with Linux. In order to atract them it mustbe as good looking as a > Linux system but I am having serious peroblem with my terminal settings. > Some vary important keys such as Back Space, home, end and ... don't work > in editors such as vim. For example in Emacs the Alt key does not work. Also > editors such as vim and Emacs do not show syntax highlighting and so on. If you're using X, make sure that TERM is set to 'xterm' Without X, TERM should be set to 'cons25' For Emacs syntax highlighting, you need to add (global-font-lock-mode t) to ~/.emacs For backspace to work in Emacs, set (global-set-key "\C-h" 'delete-backward-char) If you like a colored 'ls', alias ls to 'ls -G': alias ls='/bin/ls -G' > Can anybody help me with this problem. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
UPS
Hello, I've got a 5.1 box and a few other systems, one that comes to mind and a cable modem, possibly other stuff will be added in the future, that i'd like to put a UPS on. I'm looking for information and user experiences with UPS's under fbsd. I'd like something that i can query via fbsd or with a web interface to determine it's status and automatic powerdown when the power gets low on the UPS. Any info appreciated. Thanks. Dave. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Stupid vinum questions
Hi! Before I start experimenting, I would like to find out, if I am on the right track. I have got some old and small SCSI harddisks left. 1) Can I use vinum to make them look like one big ufs slice (or is it more like a partition, which can be sliced)? 2) Can I boot from such a thing, or do I need a seperate disk? 3) Is there some fine manual around, that could be used as a starting point for reading? (I had a look at at my copy of "The Complete FreeBSD", but I guess I wouldn't ask these questions, if I had understood it.) Regards, Uli. +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
group limits
Hi, I'm running freebsd 4.8. I need to know if there is a maximum number of group a user can be member of. If yes, can that maximum number can be set to an higher value. Any help or suggestion will be appreciated. tank's to C. Ulrich for anwsering my last question. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Spam Filter - Sieve
IMGate, join the mailling list and ask for config files and docs. http://imgate.meiway.com/index.cfm - Original Message - From: "Ajitesh K" <[EMAIL PROTECTED]> To: "FreeBSD - Questions" <[EMAIL PROTECTED]> Cc: "FreeBSD - Questions" <[EMAIL PROTECTED]> Sent: Wednesday, December 10, 2003 10:26 AM Subject: Spam Filter - Sieve Hi All, I am using Cyrus mail appn and its filter appn is "sieve". FYI I am FreeBSD newbie want to learn to filter spam. Any suggetions. Thanks in Advance. Ajit ___ [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]"
Mozilla display issues, esp. with hover
Hello I'm running Mozilla on Windows and I get the same thing. Its funny, I post the code on my apache (1.3) server and it does this (on php includes) however, it doesn't do this when I post it to a web server off site (hostultra) it doesn't do this. I wonder if it is the way the web server sends information to the browser. Eric ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Question about ports...
Hi, I am want to install postnuke but when-ever I go to do make under /usr/port/www/postnuke, it wants to install mod_php4 again, I don't want to have to reinstall ports everytime I add something new. Thanks, Payne ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Stupid vinum questions
At 17:57 10.12.2003 +0100, Peter Ulrich Kruppa wrote: I have got some old and small SCSI harddisks left. 1) Can I use vinum to make them look like one big ufs slice (or is it more like a partition, which can be sliced)? Its like a partition/partitions that you newfs and mount like: mount /dev/vinum/bigdrive /lotofdisks 2) Can I boot from such a thing, or do I need a seperate disk? This depends which version of FreeBSD you are using. Older versions need some tricks, but there is a doc in /usr/share/doc/en/articles/vinum/ which descibes how to setup this. I am not sure, but 4.9R and/or 5.1R may be able to boot directly via vinum. man 4 vinum man 8 vinum http://www.vinumvm.org/ 3) Is there some fine manual around, that could be used as a starting point for reading? (I had a look at at my copy of "The Complete FreeBSD", but I guess I wouldn't ask these questions, if I had understood it.) See above, plus FreeBSD handbook Alexander ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: UPS
--- dave <[EMAIL PROTECTED]> wrote: > Hello, > I've got a 5.1 box and a few other systems, one > that comes to mind and a > cable modem, possibly other stuff will be added in > the future, that i'd like > to put a UPS on. I'm looking for information and > user experiences with UPS's > under fbsd. I'd like something that i can query via > fbsd or with a web > interface to determine it's status and automatic > powerdown when the power > gets low on the UPS. > Any info appreciated. > Thanks. > Dave. > > ___ > [EMAIL PROTECTED] mailing list check out apcupsd in the ports. also check out recent "apcupsd" thread in archives. __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Trouble Adding New Boot Drive
I have a 4.9 system that has two identical 850 MB drives and a 4 GB drive. The system boots from one of the 850 MB drives (ad0s1a) and uses a 50 MB slice (?) for root. The rest of this drive is unused. The 4 GB drive (ad2s1e) contains /usr. The other standard filesystems such at /var, /tmp, etc. are symlinked to /usr/* as suggested in The Complete FreeBSD for simple systems. Anyway, the system is sometimes inaccessible due to a flurry of hard errors on ad0. The only way into the system is to power off/on and then let fsck sort things out. Then the system will run fine for days and even weeks but it will eventually happen again. I suspect a complete disk failure is eminent. Thus, I would like to use ad1 (the unused 850 MB drive) in place of ad0 but instead of limiting the root partition to 50 MB, I'd like to just use the whole disk. I have followed instructions from man and web pages in an attempt to get this going. I used /stand/sysinstall to fdisk and added the boot flag. Here's the current fdisk output: blacksheep# fdisk -s ad1 /dev/ad1: 6616 cyl 4 hd 63 sec PartStartSize Type Flags 1: 0 1667232 0xa5 0x80 Then I used /stand/sysinstall to disklabel and newfs. Here's the current disklabel output: blacksheep# disklabel ad1 # /dev/ad1c: type: ESDI disk: ad1s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 4 sectors/cylinder: 252 cylinders: 6616 sectors/unit: 1667232 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 166723204.2BSD 2048 1638490 # (Cyl.0 - 6615) c: 16672320unused0 0 # (Cyl.0 - 6615) Next, I mounted ad1s1a and used several 'cp -Rp' commands to copy the contents of / to ad1s1a. Now for the test... I read the boot man page and surmised that the way to boot from ad1 was to use '1:ad(1,a)/kernel' at the boot prompt but I get this error: Disk error 0x1 (lba=0x47a14bc0) Invalid format I've never attempted anything like this before so it's very possible I'm missing something basic. Any ideas? Thanks, Drew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to Setup Reverse DNS on LAN?
- Original Message - From: "Stephane Bortzmeyer" <[EMAIL PROTECTED]> Sent: Tuesday, December 09, 2003 9:40 AM > On Tue, Dec 09, 2003 at 05:50:25AM -0800, > Drew Tomlinson <[EMAIL PROTECTED]> wrote > a message of 33 lines which said: > > > When connecting via ssh to my FBSD boxes, it takes over a minute > > before the connection is established. Searching the archives > > suggests that this is due to a failed reverse DNS lookup that must > > time out before connecting. > > Probably. > > > But 192.168.1.3 does not: > > > > blacksheep> host 192.168.1.3 > > Host not found, try again. > > On FreeBSD 5.1, it appears, speaking both from the man page and from > an actual test, that host does not use /etc/hosts at all. It would be > nice to have a command which uses getaddrinfo() but host does not. I'm using 4.9. Sorry, I forgot to specify. > ping would be a better test: > > ~ % ping localhost > PING fetiche (127.0.0.1): 56 data bytes > 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.253 ms > > The name 'fetiche' was found in /etc/hosts. I'm not sure what I'm looking for here. The machine that runs the ssh client is a Win XP box named 'bigdaddy'. That resolves on the Win XP box: C:\Documents and Settings\tomlinson_dr>ping localhost Pinging bigdaddy [127.0.0.1] with 32 bytes of data: Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 The FBSD box running sshd also resolves: blacksheep# ping localhost PING localhost (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.519 ms So what do I need to do? As I understand it, their needs to be an entry for the client machine in /etc/hosts which I have. Thanks, Drew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Spam Filter - Sieve
> I am using Cyrus mail appn and its filter appn is "sieve". FYI I am FreeBSD newbie > want to learn to filter spam. Any suggetions. > http://spamassassin.org Steve > Thanks in Advance. > Ajit > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Steve Bertrand President/CTO, Northumberland Network Services t: 905.352.2688 w: www.northnetworks.ca ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
freeBSD 4.9 won't boot after installation
HI, I am pretty sure this is a misconfigured partition problem but maybe someone there can help. installing freeBSD 4.9 onto a compaq deskpro, 4 GB IDE, 192 MB RAM, previous OS is XP home ed. I dedicated a 4 GB drive to freebsd 4.9 and specified it be bootable. I also installed (at least once) the boot loader. no matter the configuration when the boot loader or the bios tries to boot freeBSD a black, blank screen appears and the system reboots. It loops like this. no problems installing from CDrom. Only problem is after the installation. I have confirmed that freeBSD files are on the hard drive and as a test I installed SUSE linux onto the same machine, no problems. any suggestions or resources to explore. i have looked over the handbooks and googled it to death. thanks very much matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Installing 5.1 on a Proliant 3000
Hola, I am trying to install 5.1-RELEASE on an old Compaq Proliant 3000. When I boot on the cd, and choose 'default' in the bootloader - I get the following error message - followed by a panic: acpi: bad RSDP checksum (182) NMI ISA D0, EISA ff RAM parity error, likely hardware failure. and the panic. The server has been running fine for a long time with linux. I have tried re-seating the RAM blocks - and I have also succeeded in starting a linux installation. Any ideas ? (Besides getting some new hardware) /mich ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NGROUPS_MAX
Hi, i'm jonathan and i'm running a freebsd 4.8 box. i wish to increase the value of NGROUPS_MAX into /usr/src/sys/sys/syslimits.h. I'd like to know how increasing that number to permit users from /etc/passwd to be member of more than 16 groups will affect system performances. What will be an acceptable value for NGROUPS_MAX? I know this number is set to 32 in suse linux I know that ACL is a better way but i wont use it until it's stable under 5.x freebsd and that 5.x is recomended for production issues. About how doing that change... Is it just about changing the value and reboot the machine or there is some recompilation matter linked to that change? Any help will be greatly appreciated! I'm new to this list... everybody keep on that good work ;) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sed from a shell script - invalid command code
On Wed, Dec 10, 2003 at 02:40:58PM +, Jez Hancock wrote: > I'm trying to get the following Bourne shell script to output a list of > all users on the server with the exception of those listed in the > $ignore_users variable: > > -snip- > #!/bin/sh > sed=/usr/bin/sed > passwd_file=/etc/passwd > > ignore_users="root|toor|daemon|operator|bin|tty|kmem|games|news|man|smmsp|bind|uucp|xten|pop|nobody|mysql|www|sshd|ftp|cyrus" > > cmd="$sed -E -e '/^(#|$ignore_users)/d' -e 's/:.*//' $passwd_file" > > users=`cmd` > echo $users > -snip- Solved - solution was: #!/bin/sh sed=/usr/bin/sed passwd_file=/etc/passwd ignore_users="root|toor|daemon|operator|bin|tty|kmem|games|news|man|smmsp|bind|uucp|xten|pop|nobody|mysql|www|sshd|ftp|cyrus" users="`$sed -E -e '/^(#|$ignore_users)/d' -e 's/:.*//' $passwd_file`" echo $users -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Upgrading
I need to upgrade my 4.3 box, but haven't done so in a long time. Is the below still valid? cvsup -g -L2 supfile cd /usr/src make buildworld make buildkernel KERNCONF=MYKERNEL make installkernel KERNCONF=MYKERNEL make installworld reboot ---Marius ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading
On Wed, Dec 10, 2003 at 01:36:43PM -0500, Marius Kirschner wrote: > I need to upgrade my 4.3 box, but haven't done so in a long time. Is the > below still valid? The upgrade procedure is documented in the handbook and in /usr/src/UPDATING. Your list omitted a few things. Kris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Printing from FreeBSD to Windows XP
Hello, I have a small home network with 2 computers, one running FreeBSD and the other with Windows XP Professional. I have a printer hooked up to the Windows XP machine and I would like to be able to print to it from my FreeBSD box. I have already install "Printer Services for Unix" in Windows. I am just a little confused on how to setup the FreeBSD part. Any help would be greatly appreciated. Marc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Printing from FreeBSD to Windows XP
> > Hello, I have a small home network with 2 computers, one > running FreeBSD > and the other with Windows XP Professional. I have a printer > hooked up > to the Windows XP machine and I would like to be able to print to it > from my FreeBSD box. I have already install "Printer Services > for Unix" > in Windows. I am just a little confused on how to setup the > FreeBSD part. Any help would be greatly appreciated. > If you share out the printer on the XP box like you would for any other win box, you can just install/configure apsfilter (in the ports) to print to it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to make dhclient give up its lease and get a new one with routes, etc. ?
On Dec 9, 2003, at 1:33 PM, paul beard wrote: Advice on automagically notifying zoneedit is welcome, as well but not as pressing: I think they work with dyndns and of course I chose no-ip.org. I think you need to install /ports/dns/ddclient. This will update zoneedit when your IP is reassigned. -Ryan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mount_smbfs problems
Hi, I'm running 4.8-RELEASE on a box that, daily, connects to a windows machine and writes files to a "share". This system was working for about a month. But now, every time I issue the mount_smbfs command I get "mount_smbfs: unable to open connection: syserr = RPC struct is bad" In /var/log/messages I see... "/kernel: smb_maperror: Unmapped error 2:2242" Absolutely nothing has changed on either the FreeBSD box or the Windows 2000 server. In fact, neither box had even been rebooted until the discovery of this problem. Subsequently, each box was bounced once, but to no avail. I've googled on both phrases but have found nothing. Can anyone shed light on this or, perhaps, point me in the right direction? -- Regards, Doug -- Regards, Doug ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mount_smbfs problems
Maybe your Google is broken. =) The string "mount_smbfs: unable to open connection: syserr = RPC struct is bad" returned ten or so relevant results including... http://www.mail-archive.com/[EMAIL PROTECTED]/msg41941.html Looks as though the Windoze user that you are connecting with has a password that is about to expire. Depending on your security policy, maybe consider checking "Password never expires" for that user. Hope this helps... Chris Doug Poland wrote: Hi, I'm running 4.8-RELEASE on a box that, daily, connects to a windows machine and writes files to a "share". This system was working for about a month. But now, every time I issue the mount_smbfs command I get "mount_smbfs: unable to open connection: syserr = RPC struct is bad" In /var/log/messages I see... "/kernel: smb_maperror: Unmapped error 2:2242" Absolutely nothing has changed on either the FreeBSD box or the Windows 2000 server. In fact, neither box had even been rebooted until the discovery of this problem. Subsequently, each box was bounced once, but to no avail. I've googled on both phrases but have found nothing. Can anyone shed light on this or, perhaps, point me in the right direction? -- Christopher Hollow - Technical Consultant Infrastructure & Technology Support Toronto, ON ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mount_smbfs problems
HOLLOW, CHRISTOPHER said: > Maybe your Google is broken. =) The string "mount_smbfs: unable to > open connection: syserr = RPC struct is bad" returned ten or so relevant > results including... > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg41941.html > hmmm. You're right, I limited my search to groups and freebsd mailing questions. The message you reference never came up. Learn something new every day :) > Looks as though the Windoze user that you are connecting with has a > password that is about to expire. Depending on your security policy, > maybe consider checking "Password never expires" for that user. > bingo! > Hope this helps... > many thanks to you Sir. > > Doug Poland wrote: > >>Hi, >> >>I'm running 4.8-RELEASE on a box that, daily, connects to a windows machine >>and writes files to a "share". >> >>This system was working for about a month. But now, every time I issue the >>mount_smbfs >>command I get >> >> "mount_smbfs: unable to open connection: syserr = RPC struct is bad" >> >>In /var/log/messages I see... >> >> "/kernel: smb_maperror: Unmapped error 2:2242" >> >>Absolutely nothing has changed on either the FreeBSD box or the Windows 2000 server. >>In fact, neither box had even been rebooted until the discovery of this problem. >>Subsequently, each box was bounced once, but to no avail. >> >>I've googled on both phrases but have found nothing. Can anyone shed light on >>this or, perhaps, point me in the right direction? >> >> >> > > -- > Christopher Hollow - Technical Consultant > Infrastructure & Technology Support > Toronto, ON > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
scp between windows and freebsd
All, I'm following the directions here: http://www.unixwiz.net/techtips/postfix-exchange-users.html to improve the gateway to our Exchange box, and am stuck on a particular step. I just can't seem to make the Putty SCP work from my workstation. I used Putty's window copy function to paste into vi to create the .pub file, then used the command line: "ssh-keygen -i -f /tmp/exchupdate.pub >> /root/.ssh/authorized_keys2" on the FreeBSD box per the instructions to convert to an openssh key, then use the following command line to do the copy: "pscp -2 -i exchupdate.ppk exchusers.txt [EMAIL PROTECTED]:/etc" but I keep getting the following two messages on the Windows box: "Authenticating with public key "postfix update users key" "Fatal: Lost connection" and the following on the FreeBSD box: "server2 sshd[36802]: fatal: monitor_read: unsupported request:" This, even though I've made certain to enter a edit the public key to add a comment (using vi) into the public key on the FreeBSD box. I've done some googling, and read some man pages, but can't seem to find out what the heck I'm doing wrong. I've put the authorized_keys2 file into /etc/ssh, /root/.ssh and even /root hoping that it was simply a matter of location, but still no go. Help? Thanks, Kurt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
I can't connect to internet. Plz help me
Hello, I'm a novice linux user currently switched over to freebsd when many linux users told me that freebsd is real unix and only slackware is somehow matched with it. So I installed feeebsd 4.8 but I am getting few problems I can't handle. Kindly tell me how to do the following ; I can't connect to internet. Plz let me explain that. I have a username and password which my isp gave me to use for having mail and surfing internet like [EMAIL PROTECTED] and my mail servers names are mail.myisp.com(pop3)and smtp.mail.com. I tried using kpp and I could connect to my isp ( I am telling this because pppd does run ) but whenever I try to visit a website it doesn't work, browser says unknown host. I even tried xchat, it says something like "have u missspelled your host name ?". I also don't know what my host name is. Whenever I type the command "hostname" in console it displays nothing and only cursor reappears. I installed it as it is describe in the handbook. Only thing I have done is place this entry "firewall_type=open" in rc.conf. I haven't changed anything in any configuration file apart from that. I have written this because it seemed the default firewall has got something to do with it but I ain't sure. Please tell me in a step by step procedure so I will be able to fix it.. I am gradually being depressed for that. Here telephone charge is very costly and for that I can't stay connected and experiment for long. Please help me. P.S I also can't send & receive mail using kmail inspite of giving all the required parameters. - Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I can't connect to internet. Plz help me
> because pppd does run ) but whenever I try to > visit a website it doesn't work, browser says unknown host. > I even tried xchat, it says something like "have u missspelled your host name ?". I > also don't know what my host name is. Whenever Have you properly configured the DNS nameservers (which your ISP should have told you) in /etc/resolv.conf? -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I can't connect to internet. Plz help me
On Dec 10, 2003, at 4:11 PM, nil ban wrote: I can't connect to internet. [ ... ] names are mail.myisp.com(pop3)and smtp.mail.com. I tried using kpp and I could connect to my isp ( I am telling this because pppd does run ) but whenever I try to visit a website it doesn't work, browser says unknown host. Sounds like /etc/resolv.conf hasn't been setup to point to valid DNS servers. Try adding a line like: nameserver 4.2.2.1 ...to /etc/resolv.conf and see whether that solves your problem, only you should use the nameservers your ISP gives you if you know what they are. You can also configure PPP to set this file up for you when you connect via the "enable dns" config option in /etc/ppp/ppp.conf. [Maybe for userland PPP rather than kernel-based PPP?] -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I can't connect to internet. Plz help me
nil ban wrote: ... sp gave me to use for having mail and surfing internet like [EMAIL PROTECTED] and my mail servers names are mail.myisp.com(pop3)and smtp.mail.com. I tried using kpp and I could connect to my isp ( I am telling this because pppd does run ) Do that then, once you are "connected", type: ping 158.43.128.1 if you get no packets back, it's a problem with your ppp settings. If you do get packets back, type: ping www.yahoo.com if you get no packets back, it's your DNS settings. Look at /etc/resolv.conf - you should see at least one line like this: nameserver ip.address.of.nameserver If you don't add such a line (or two) with valid nameservers. Your ISP should give you such settings. If they haven't, you could use: nameserver 158.43.128.1 but only temporarily - it's a Worldcom/MCI nameserver and might not live forever. Oh, and set a hostname. (see man hostname). PWR. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printing from FreeBSD to Windows XP
Marc Smith wrote: Hello, I have a small home network with 2 computers, one running FreeBSD and the other with Windows XP Professional. I have a printer hooked up to the Windows XP machine and I would like to be able to print to it from my FreeBSD box. I have already install "Printer Services for Unix" in Windows. That's more for printing to Unix, and other tcp/ip networked, print servers. I am just a little confused on how to setup the FreeBSD part. Try CUPS, which can work with smbclient to print to windows shared printers. If you like, just use smbclient alone. If you installed samba (which is a good idea in a mixed network like this), you should already have it all. PWR ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I can't connect to internet. Plz help me
On Wed, Dec 10, 2003 at 01:11:22PM -0800, nil ban wrote: > Hello, > I'm a novice linux user currently switched over to freebsd when many > linux users told me that freebsd is real unix and only slackware is > somehow matched with it. So I installed feeebsd 4.8 but I am getting > few problems I can't handle. Kindly tell me how to do the following ; > I can't connect to internet. Plz let me explain that. I have a > username and password which my isp gave me to use for having mail and > surfing internet like [EMAIL PROTECTED] and my mail servers names > are mail.myisp.com(pop3)and smtp.mail.com. I tried using kpp and I > could connect to my isp ( I am telling this because pppd does run ) > but whenever I try to visit a website it doesn't work, browser says > unknown host. I even tried xchat, it says something like "have u > missspelled your host name ?". I also don't know what my host name > is. Whenever I type the command "hostname" in console it displays > nothing and only cursor reappears. I installed it as it is describe in > the handbook. Only thing I have done is place this entry > "firewall_type=open" in rc.conf. I haven't changed anything in any > configuration file apart from that. I have written this because it > seemed the default firewall has got something to do with it but I > ain't sure. Please tell me in a step by step procedure so I will be > able to fix it.. I am gradually being depressed for that. Here > telephone charge is very costly and for that I can't stay connected > and experiment for long. > > Please help me. > > P.S I also can't send & receive mail using kmail inspite of giving > all the required parameters. Do you have DNS name resolution setup correctly on your machine? Your ISP should have given you at least one IP address for their DNS server(s). Make sure that you place these addresses in your /etc/resolv.conf file. Such as: nameserver 1.2.3.4 nameserver 1.2.3.5 Also, while kppp tells you that you are connected, try pinging an IP address instead of the domain name. hotmail.com is 64.4.32.7 and microsoft.com is 207.46.245.222. Alternatively you could just plug either of the IP addresses into your browser address bar. If it still doesn't work then you may be able to rule out a DNS issue. Nathan -- gpg --keyserver pgp.mit.edu --recv-keys D8527E49 pgp0.pgp Description: PGP signature
cvsup behind http proxy
hi, anybody ever cvsup behind http proxy? The only way to go out (internet) is going through http proxy. And this http require authentication as well. Any ideas? Thank you in advance. BT Yahoo! Broadband - Save £80 when you order online today. Hurry! Offer ends 21st December 2003. The way the internet was meant to be. http://uk.rd.yahoo.com/evt=21064/*http://btyahoo.yahoo.co.uk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Strange errors "swap..."
Hello I've got some strange errors but don't no what they realy mean: [snip] Dec 8 09:47:52 saturn /kernel: swap_pager: indefinite wait buffer: device: #ad/0x30001, blkno: 52232, size: 4096 [snip] Dec 9 09:40:27 saturn /kernel: swap_pager: indefinite wait buffer: device: #ad/0x30001, blkno: 3464, size: 4096 Dec 9 09:40:39 saturn /kernel: swap_pager: indefinite wait buffer: device: #ad/0x30001, blkno: 3464, size: 4096 Dec 9 09:40:39 saturn /kernel: swap_pager: indefinite wait buffer: device: #ad/0x30001, blkno: 14952, size: 8192 [snip] Do you have some ideas? -- Regards Martin Schweizer <[EMAIL PROTECTED]> PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; pgp0.pgp Description: PGP signature
Re: Thanks,
On Wed, Dec 10, 2003 at 02:07:24PM -0800, nil ban wrote: > Thanks, > > > Yes , when I run kpp it says /etc/resolve.conf is missing or can't be > read. I havn't got anything except username and password from my isp. > I'll do what u said I don't have to use any address explicitly in > windows. And yes I also remember my isp gave a printed form and there > two address defined , one as a primary and one is secondery. will I > use those addresses? Thanks again Yes, those would be the two addresses to use. Add those two addresses to the file /etc/resolv.conf in the form specified in previous messages. Nathan -- gpg --keyserver pgp.mit.edu --recv-keys D8527E49 pgp0.pgp Description: PGP signature
Re: Problem with vnconfig and ISO images
On Tue, Dec 09, 2003 at 11:07:49PM -0600, Marc Wiz wrote: > I'm using FreeBSD 4.9 > > I used to be able to mount an ISO image (disk file) using vnconfig > on 4.7 and 4.8. Now I cannot. > > > -su-2.05b# vnconfig -c vn2c /stage/daily-1.iso > -su-2.05b# file /stage/daily-1.iso > /stage/daily-1.iso: ISO 9660 CD-ROM filesystem data > -su-2.05b# mount -t cd9660 /dev/vn2c /mnt > cd9660: /dev/vn2c: Invalid argument Well I solved my own problem. The ISO image I had created was for a multi-session image. And the image was not the first one. Creating a single session image worked. Marc -- Marc Wiz [EMAIL PROTECTED] Yes, that really is my last name. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apache
On Tue, Dec 09, 2003 at 04:51:24PM -0500, Payne wrote: > > Thanks, yes FreeBSD rocks!!! I know this is the right place to ask, so > if you have the apache group list that would be nice, but what do I have > to do to get my users account to work? Are they place for example > > /home/user_x/public_html > > On any web browser I get the following error. > > Forbidden > > You don't have permission to access /~user_x/ on this server. > > On my linux server this is already turn on so I am little lost. > For http://server/~user support you need to load the apache's mod_user in your httpd.conf see http://www.apache.org for more info. The apache user (typically nobody or www-data ) must have read permissions on the ~/public_html directory. DirectoryListing is disabled by default so if you want to show the directory listing when the index.html is missing you'll need to enable it with "options +Indexes" example: options Indexes will enable directory listing for all users homepages. -- Staf Wagemakers email: [EMAIL PROTECTED] homepage: http://staf.patat.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvsup behind http proxy
On Wed, Dec 10, 2003 at 10:14:14PM +, Feroz F. Basir wrote: > > anybody ever cvsup behind http proxy? The only way to > go out (internet) is going through http proxy. And > this http require authentication as well. Any ideas? > > Thank you in advance. > Try to set "HTTP_PROXY" & "HTTP_AUTH" variable: # HTTP_PROXY=your.proxy # HTTP_AUTH=login:pass # export HTTP_PROXY HTTP_AUTH # cvsup -L 2 my_supfile -- Staf Wagemakers email: [EMAIL PROTECTED] homepage: http://staf.patat.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
problem with perl when installing port dvdrip
Hi. I don't understand what this mean: %cd /usr/ports/multimedia/dvdrip %make ===> dvdrip-0.50.13_1 is marked as broken: You need at least perl 5.6.0. Do not use FreeBSD 4.x' system perl, it's outdated. Install lang/perl5 and issue 'use.perl port' I installed perl5 ,but " issue 'use.perl port' " ? Mikael ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: scp between windows and freebsd
From: "KURT BUFF" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: scp between windows and freebsd Date: Wed, 10 Dec 2003 13:50:01 -0700 (MST) All, I'm following the directions here: http://www.unixwiz.net/techtips/postfix-exchange-users.html to improve the gateway to our Exchange box, and am stuck on a particular step. I just can't seem to make the Putty SCP work from my workstation. I used Putty's window copy function to paste into vi to create the .pub file, then used the command line: I've had better luck with http://winscp.sourceforge.net/eng/download.php In fact it's nice enough that I'd like to for my users to have something similar for their FreeBSD desktops, buy YMMV;-) good luck, "ssh-keygen -i -f /tmp/exchupdate.pub >> /root/.ssh/authorized_keys2" on the FreeBSD box per the instructions to convert to an openssh key, then use the following command line to do the copy: "pscp -2 -i exchupdate.ppk exchusers.txt [EMAIL PROTECTED]:/etc" but I keep getting the following two messages on the Windows box: "Authenticating with public key "postfix update users key" "Fatal: Lost connection" and the following on the FreeBSD box: "server2 sshd[36802]: fatal: monitor_read: unsupported request:" This, even though I've made certain to enter a edit the public key to add a comment (using vi) into the public key on the FreeBSD box. I've done some googling, and read some man pages, but can't seem to find out what the heck I'm doing wrong. I've put the authorized_keys2 file into /etc/ssh, /root/.ssh and even /root hoping that it was simply a matter of location, but still no go. Help? Thanks, Kurt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" _ Wonder if the latest virus has gotten to your computer? Find out. Run the FREE McAfee online computer scan! http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Adelphia at home and NAT...
I chose Adelphia for my high speed internet service here in lovely Vermont. Well, actually, Adelphia is the ONLY choice. Don't get me started. DSL isn't even in sight. I would like to be able to ssh into my home machine from a remote internet site or someone else's computer. I've tried a couple of things I thought might work and no such lunch. I understand Adelphia might be using NAT to route packets to my home machine. If this is true, does it mean I'm can't ssh remotely? How, if possible, can I get through. There is a company in Boston that advertises a package that does dynamic DNS for home computers. I haven't looked into how it works, though. There's gotta be a way! Thanks, Alex - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Alexander Sendzimir 802 863 5502 Mac Tutor of Vermont, LLC info @ mactutor . vt . us Colchester, VT 05446 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Good understanding about kernel
Hi , I check the kernel file it's come to me too big . For example with default installation My kernel size is 5,473,370 You will say because of GENERIC kernel too many driver support for this reason it can be . My question is here 1) in document said that FreeBSD support dynamic module okey but after that same documentation said that " because the functionality is so tied to kernel that can not be made dynamically loadable ? " a) For What functionality ??! and Why it can't be ?!!! Because in Linux possible to have too small kernels ... I know that small kernels always work faster ... I think FreeBSD consider this ?! b) I can not believe FreeBSD moduler support because I check /usr/src/sys/modules and all those files compiled and moved to /boot/kernel directory with .ko extansion ( I think this extansion FreeBSD module extansion ) But in Linux We can choose (almost everything like LVS , File System , Network Settings any Dirvers , RAIDs , File System ) this will be moduler or this will bein the kernel ( static ) with this configuration we can have small kernel ... Could you say me How can I choose this feture or driver will be moduler or not becasu only to things can poosbile put the start of line #or not .. How FreeBSD understand that This will be moduler or not c) in Linux we can create a boot disk with this boot disk if any problem occur on the boot we can up the system with this disket .. in FreeBSD with this big kernel it's not poessible I think . I want to learn What FreeBSD users do if FreeBSD dont open the system for any boot file corrupt or something ... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvsup behind http proxy
On Thu, Dec 11, 2003 at 12:19:37AM +0100, staf wagemakers wrote: > On Wed, Dec 10, 2003 at 10:14:14PM +, Feroz F. Basir wrote: > > > > anybody ever cvsup behind http proxy? The only way to > > go out (internet) is going through http proxy. And > > this http require authentication as well. Any ideas? > > > > Thank you in advance. > > > > Try to set "HTTP_PROXY" & "HTTP_AUTH" variable: > > # HTTP_PROXY=your.proxy > # HTTP_AUTH=login:pass > # export HTTP_PROXY HTTP_AUTH > # cvsup -L 2 my_supfile cvsup doesn't use http, so a http proxy won't be any use to you. You could use something like httptunnel to tunnel to a site outside the firewall, or an alternative source distribution method like ctm (which uses email). Kris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mount_smbfs problems
> You're right, I limited my search to groups and freebsd mailing questions. > The message you reference never came up. Learn something new every day :) Also useful: http://freebsd.rambler.ru/ Simon signature.asc Description: Digital signature
Creating New FreeBSD CVS Server in Turkey
Hi , I don't know How or to Whom I have to contact to create a cvsupdate server in Turkey for mirror . I mean Turkish people or closer countries can access from this server more easy and Download FreeBSD and in Turkey I did not hear too much people who are using FreeBSD for this reason I want to translate this Handbook into Turkish and put it on the web for easy access for reading and Learning . How can I do that ? From Whom I have to get okey for this job ... Thanks Vahric ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Good understanding about kernel
> I check the kernel file it's come to me too big . For example with > default installation My kernel size is 5,473,370 You will say because of > GENERIC kernel too many driver support for this reason it can be . My > question is here What's (statically) included in the GENERIC kernel, is listed in /usr/src/sys/i386/conf/GENERIC. You can compile your own custom kernel, as explained in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html Don't forget to statically include every module that is needed to locate and load the kernel though (e.g. ata drivers), because you won't be able to kldload the initial modules without booting first. > c) in Linux we can create a boot disk with this boot disk if any > problem occur on the boot we can up the system with this disket .. in > FreeBSD with this big kernel it's not poessible I think . I want to learn > What FreeBSD users do if FreeBSD dont open the system for any boot file > corrupt or something ... I use the LIVE filesystem on the FreeBSD ISOs. In combination with /stand/sysinstall (or /usr/sbin/sysinstall), option rescue, you can always repair a broken installation. Most of the time, the boot loader will allow you to boot an old kernel (say /kernel.old) if your new kernel is broken. FreeBSD's bootloader is much more stable/reliable than LILO ;) -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Sound Blaster Vibra 128
Can you please tell me how to install SoundBlaster Vibra 128 on my FreeBSD 4.9-STABLE ? I've tried pcm, sb and sbc, and none of them works Thx ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Creating New FreeBSD CVS Server in Turkey
> and in Turkey I did not hear too much people who are using FreeBSD for > this reason I want to translate this Handbook into Turkish and put it on the > web for easy access for reading and Learning . How can I do that ? From Whom > I have to get okey for this job ... Someone already wrote a first article in Turkish: http://www.freebsd.org/doc/tr_TR.ISO8859-9/articles/explaining-bsd/ so the tr_TR.ISO8859-9 hiearchy is in place. You may want to contact the FreeBSD documentation project. Please start here: "FreeBSD Documentation Project Primer for New Contributors" http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/ ...and thanks for the thought :-) > Thanks > Vahric -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: diskless swap filename
Re: http://docs.freebsd.org/cgi/mid.cgi?200311291436.37674.ianjhart On Saturday 29 November 2003 2:36 pm, ian j hart wrote: > Does anyone have a patch to use the mac address instead of the ip > address for the swapfile name? > > Feeling lazy this week :) > > Cheers No takers then :( For the archive, here's a patch. It's probably bogus and it certainly breaks style, but it seems to work okay. --- sys/nfs/bootp_subr.c.orig Thu Dec 11 00:06:28 2003 +++ sys/nfs/bootp_subr.cThu Dec 11 00:14:10 2003 @@ -57,6 +57,7 @@ #include #include +#include #include #include @@ -1845,9 +1846,31 @@ gctx->lookup_path, nd->swap_fh, &nd->swap_fhsize, &nd->swap_args, procp); - if (error != 0) - panic("nfs_boot: lookup swap, error=%d", - error); + if (error != 0) { + if (gctx->interfaces->sdl->sdl_type == IFT_ETHER && + gctx->interfaces->sdl->sdl_alen == ETHER_ADDR_LEN) { + snprintf(gctx->lookup_path, + sizeof(gctx->lookup_path), + "swap.%02x:%02x:%02x:%02x:%02x:%02x", + ((struct ether_addr *)LLADDR(gctx->interfaces->sdl))->octet[0], + ((struct ether_addr *)LLADDR(gctx->interfaces->sdl))->octet[1], + ((struct ether_addr *)LLADDR(gctx->interfaces->sdl))->octet[2], + ((struct ether_addr *)LLADDR(gctx->interfaces->sdl))->octet[3], + ((struct ether_addr *)LLADDR(gctx->interfaces->sdl))->octet[4], + ((struct ether_addr *)LLADDR(gctx->interfaces->sdl))->octet[5] + ); + error = md_lookup_swap(&nd->swap_saddr, + gctx->lookup_path, + nd->swap_fh, &nd->swap_fhsize, + &nd->swap_args, procp); + if (error != 0) + panic("nfs_boot: lookup swap name=%s, error=%d", + gctx->lookup_path, error); + } + else + panic("nfs_boot: lookup swap, error=%d", + error); + } } nfs_diskless_valid = 3; } -- ian j hart http://ars.userfriendly.org/cartoons/?id=20031016 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Adelphia at home and NAT...
I have Adelphia Cable also and this is how it works. They use DHCP to issue dynamic ip addresses to their cable modem. The ip address does not change unless you power off the cable modem or there is an power outage in your area. Use ifconfig command to display info about your interfaces (IE: Nic cards), the Nic card cabled from FBSD gateway to cable modem will have an public IP address assigned by Adelphia. Write down that ip address, when at work use ssh to login at that ip address and you will go to your home machine. If you have web server on your FBSD system you can just use IP address in ms/windows internet browser to access your home apache server. Your other question about using 'dynamic DNS for home computers' has been answered many times in this list. You need to do your home work to earn your strips by first searching this lists archives for you answers. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alex (ander Sendzimir) Sent: Wednesday, December 10, 2003 6:43 PM To: [EMAIL PROTECTED] Subject: Adelphia at home and NAT... I chose Adelphia for my high speed internet service here in lovely Vermont. Well, actually, Adelphia is the ONLY choice. Don't get me started. DSL isn't even in sight. I would like to be able to ssh into my home machine from a remote internet site or someone else's computer. I've tried a couple of things I thought might work and no such lunch. I understand Adelphia might be using NAT to route packets to my home machine. If this is true, does it mean I'm can't ssh remotely? How, if possible, can I get through. There is a company in Boston that advertises a package that does dynamic DNS for home computers. I haven't looked into how it works, though. There's gotta be a way! Thanks, Alex - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Alexander Sendzimir 802 863 5502 Mac Tutor of Vermont, LLC info @ mactutor . vt . us Colchester, VT 05446 ___ [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: Spam Filter - Sieve
On Wed, Dec 10, 2003 at 12:47:58PM -0500, Steve Bertrand wrote: > > I am using Cyrus mail appn and its filter appn is "sieve". FYI I am FreeBSD > > newbie want to learn to filter spam. Any suggetions. > > > > http://spamassassin.org You might wanna combine spamfiler (which is _realy_ good) with procmail. Spamassassin checks if a spam is spam and procmail is the filthering process. Both are in the port system. -- Alex P.S. Please CC me. Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 4.x & Shuttle FB75
Hello, Two questions: First, I am wondering whether FreeBSD 4.x will work on a Shuttle FB75. Here are the specs of this system: Form Factor : Shuttle Form Factor CPU Socket : Intel Socket 478, support 533/800MHz FSB HT CPU Chipsets : North bridge:Intel 875P, South bridge:ICH5-R Memory Socket : DDR 333/400 * 2 (Dual Channel) On Board VGA : None On Board Audio : Realtek ALC650 6 channel audio Expansion Slot : PCI * 1 8X AGP * 1 IDE interface : ATA-100 / Serial ATA I am totally unconcerned about the audio, but am very concerned about the IDE. I don't care if I have to set the thing into compatibility mode and I'm not planning to use any exotic RAID modes (I know FreeBSD 4.x has very little / no SATA support) but I'm wondering if it'll work at all. Oh, I'm planning to use a WD SATA drive, if that matters. If anyone has this system, are there any BIOS settings to set? I have had issues with older shuttles that worked around very nicely when I turned off ultra-DMA ... is this another one of those situations? Second, is FreeBSD 5.1's native SATA support usable? What about its support of this chipset (i875p)? Thank you very much for any assistance, Brian Costello ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printing from FreeBSD to Windows XP
On Wed, 10 Dec 2003, Marc Smith wrote: > Hello, I have a small home network with 2 computers, one running FreeBSD > and the other with Windows XP Professional. I have a printer hooked up > to the Windows XP machine and I would like to be able to print to it > from my FreeBSD box. I have already install "Printer Services for Unix" > in Windows. I am just a little confused on how to setup the FreeBSD part. > Any help would be greatly appreciated. This was just answered well on the newsgroup comp.unix.bsd.freebsd.misc a couple of days ago: http://groups.google.com/groups?selm=e1t3qb.31n1.ln%40homer -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem with perl when installing port dvdrip
On Thu, 11 Dec 2003 00:29:48 +0100, mikael backman <[EMAIL PROTECTED]> wrote: Hi. I don't understand what this mean: %cd /usr/ports/multimedia/dvdrip %make ===> dvdrip-0.50.13_1 is marked as broken: You need at least perl 5.6.0. Do not use FreeBSD 4.x' system perl, it's outdated. Install lang/perl5 and issue 'use.perl port' I installed perl5 ,but " issue 'use.perl port' " ? You are supposed to install perl5 from the FreeBSD ports. Then you "issue" the command 'use.perl port' at your command prompt. use.perl is a script that switches the perl in use by your system between the perl 5.005 that's standard with FreeBSD 4.x and perl 5.6 that is the perl5 port. Mostly it just changes the symlinks at /usr/bin/perl etc. Note that perl 5.6.1 is quite outdated and if you want full perl support (i.e. all the latest whizz-bang perl modules to Just Work) you should consider installing perl 5.8 from source. - nick -- Nick Tonkin {|8^)> ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why userland , basesystem and Kernel are together?!
On Tue, Dec 09, 2003 at 01:37:48AM +0200, Vahric MUHTARYAN <[EMAIL PROTECTED]> wrote a message of 46 lines which said: > Why some programs are in base system . What is the meaning of > Sendmail or SSH in base system . Programs are only executable things > What is the relation about those programs with base system ?! With the ideas you have about how an operating system should be assembled, I suggest that you use Debian http://www.debian.org/> instead of FreeBSD. it is much closer to your philosophy. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why userland , basesystem and Kernel are together?!
On Tue, Dec 09, 2003 at 03:42:17PM -0500, Scott W <[EMAIL PROTECTED]> wrote a message of 104 lines which said: > 1. Kernel. Umm, I hope I don't have to expain this one ;-) > 2. Core system- This one can likely be argued a bit with bsd (and > 3. userland apps- Kernel and core make a rudimentary system, but I don't have the Handbook to check and I'm offline at the present time but I'm suprised. I thought that "userland" meaned "everything which is not the kernel", including the base system. What you call "userland", "everything but the base system", seems to be what the Handbook calls the ports. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why userland , basesystem and Kernel are together?!
On Wed, Dec 10, 2003 at 02:19:04AM +0100, Simon Barner <[EMAIL PROTECTED]> wrote a message of 101 lines which said: > If you have a look at all this, you will easily understand why there > aren't multiple FreeBSD distributions (like in the Linux world): > The FreeBSD Project provides more than a kernel - it also maintains > the base system and almost 1 ported third-party applications (the > so-called ports collection). You are comparing apples and oranges. Linux is a kernel, not an operating system. "Distributions" is a specially ill-choosen word in the Linux world. There are several operating systems, Debian, RedHat, Mandrake, which only have in common to use the Linux kernel. Forget the word "distributions" which seems to imply that an operating system is defined by its kernel. And there are several operating systems based on a BSD kernel, too: FreeBSD, NetBSD, OpenBSD, there is even now a Debian/BSD which uses a NetBSD kernel instead of Linux. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Stupid vinum questions
On Wednesday, 10 December 2003 at 17:57:56 +0100, Peter Ulrich Kruppa wrote: > Hi! > > Before I start experimenting, I would like to find out, if I am > on the right track. > I have got some old and small SCSI harddisks left. > 1) Can I use vinum to make them look like one big ufs slice (or >is it more like a partition, which can be sliced)? Yes. > 2) Can I boot from such a thing, or do I need a seperate disk? You can't boot from a Vinum volume without a single-subdisk plex. That doesn't sound like what you want to build. > 3) Is there some fine manual around, that could be used as a >starting point for reading? (I had a look at at my copy of >"The Complete FreeBSD", but I guess I wouldn't ask these >questions, if I had understood it.) Maybe it would be a good start to say what you didn't understand in the book. That way I can fix it for other people too. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature
[no subject]
hi, i am kind of a newbie to FreeBSD so i have some questions... I have an older 4/86 laptop that currently has nothing but dos on it. I want to install FreeBSD on this machine but without windows i can't get on the internet to download freeBSD. I have a newer desktpo machine that i will have to download the files with. Then i will Laplink them over to my laptop and setup FBSD from there. Will this work? And secondly, How do i download the files?! Clicking on them in my browser does not help. Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Perl 5.8.2 problems (was Re: how to build Spamassassin)
> Install Perl 5.8.2 from ports (or source) I did this (/usr/ports/lang/perl5.8). Made fine, but grokked during 'make install': /bin/mkdir -p /usr/local/perl/lib/perl5/5.8.2/BSDPAN/ExtUtils install -c -o root -g wheel -m 444 /usr/ports/lang/perl5.8/work/BSDPAN-5.8.0/ExtUtils/MM_Unix.pm /usr/local/perl/lib/perl5/5.8.2/BSDPAN/ExtUtils/MM_Unix.pm /bin/mkdir -p /usr/local/perl/lib/perl5/5.8.2/BSDPAN/ExtUtils install -c -o root -g wheel -m 444 /usr/ports/lang/perl5.8/work/BSDPAN-5.8.0/ExtUtils/Packlist.pm /usr/local/perl/lib/perl5/5.8.2/BSDPAN/ExtUtils/Packlist.pm /usr/libexec/ld-elf.so.1: /usr/local/perl/bin/perl: Undefined symbol "PL_exit_flags" *** Error code 1 At this point, /usr/local/perl/bin/perl is installed (above error is some later foo) but any attempt to run /usr/local/perl/bin/perl gets the same error from the dynamic loader -- but I am trying it as root (see later). Found a post from '[EMAIL PROTECTED]' to freebsd.ports (on 11/12) with the same problem (he was on 4.8, I'm on 4.9) but no answer. Looks like PL_exit_flags is defined in the BSS segment of {/usr/local/perl}/lib/perl5/5.8.2/mach/CORE/libperl.so. But this seems too deep a path for addition to LD_LIBRARY_PATH. Looking back through the build logs, I could see places where commands were run with LD_LIBRARY_PATH prepended with /usr/ports/lang/perl5.8/work/perl-5.8.2 to pick up a copy of libperl.so in that directory but not in the case where the make failed. So, I prepended the path to LD_LIBRARY_PATH in the parent environment and reran make. This solved the problem and make install completed. But now I get this, which is baffling me a bit: $ /usr/local/perl/bin/perl -v This is perl, v5.8.2 built for i386-freebsd Copyright 1987-2003, Larry Wall [snip] $ su Password: # /usr/local/perl/bin/perl -v /usr/libexec/ld-elf.so.1: /usr/local/perl/bin/perl: Undefined symbol "PL_exit_flags" # exit $ script Script started, output file is typescript $ /usr/local/perl/bin/perl -v /usr/libexec/ld-elf.so.1: /usr/local/perl/bin/perl: Undefined symbol "PL_exit_flags" $ ^D Script done, output file is typescript $ ksh $ /usr/local/perl/bin/perl -v This is perl, v5.8.2 built for i386-freebsd Copyright 1987-2003, Larry Wall [snip] $ ^D Something is getting screwed up in the su and pty/script cases, as "su -" works fine as does starting a subshell (.kshrc). LD_LIBRARY_PATH is in the environment in all cases (=/usr/lib). Anyone got any ideas. It's probably something obvious but it isn't dawning on me. Yes, I have rebooted post installing perl. This is all 4.9 FreeBSD. thanks! Tony ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"