lost+found
Hello, If I pull the power on my server whilst its doing heavy IO, should I get files in lost+found if my raid card has battery backed cache? I was under the understanding that the file operations were atomic, and hence freebsd's file system should have no corrupted files on the reboot. The raid card says that it is flushing the cache of the card, yet freebsd still experiences the corrupt files. What should I be looking for? I would like to also know how to turn off (or check) caching on the physical disk itself. JB ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2006-06-18 - 2006-07-08
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. These are the articles posted during this period: 4-Jul : Sponsors wanted I'm looking for sponsors with 8 SATA II drives and AMD dual core chips http://freebsddiary.org/sponsors-wanted.php?2 26-Jun : IBM ThinkPad T41 - a second battery This isn't about a spare battery, it's about two batteries in the one laptop. http://freebsddiary.org/ibm-thinkpad-t41-second-battery.php?2 22-Jun : Dual Opteron Server - the drives Details of the drive bays, 3Ware RAID controller, and battery backup unit http://freebsddiary.org/dual-opteron-drives.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 rl interface
On 8/07/2006 5:10 PM, Rob Hurle wrote: But the killer is that I want to run 2 ethernet interfaces. The on-board one is fxp0 (Intel) and comes up fine. The other is a PCI card with the RealTek 8139D chipset, so I'm expecting a rl0 interface. I've put if_rl_load=YES into the /boot/loader.conf filem but the system does not seem to like it, giving me the message failed to register: 17 at module load time, and then no driver attached at bring-up-interface time. /var/log/messages extract is as follows: ... Jul 9 09:14:08 grandpa kernel: module_register: module pci/rl already exists! Jul 9 09:14:08 grandpa kernel: Module pci/rl failed to register: 17 This means the driver is already in the kernel, so you do not need to load it manually by placing the if_rl_load=YES line in your loader.conf. Jul 9 09:14:08 grandpa kernel: pcib5: ACPI PCI-PCI bridge at device 30.0 on pci0 Jul 9 09:14:08 grandpa kernel: pci5: ACPI PCI bus on pcib5 Jul 9 09:14:08 grandpa kernel: pci5: network, ethernet at device 2.0 (no driver attached) So the network card is found, but the rl driver doesn't detect that it's a Realtek NIC and bind to it. It may simply be a case of having to add the appropriate PCI device IDs to the driver. Could you provide the output of pciconf -lv? (what is plip0 - did not occur on FreeBSD 4.6?) This is the IP-over-parallel port interface; unless you're using a network connection over the parallel port you can usually disable this. Regards Antony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Printing to winprinters with LPR, no CUPS needed
So you don't like printing with CUPS or aspfilter or any of those hold-your-hand programs, eh? Well, neither do I. So you have a yucky winprinter which doesen't understand a Real Man's printer control language like any decent self-respecting printer does? Well, so do I! You can indeed print to these printers using just LPR plus the engine programs used to massage PostScript (which UNIX programs like Firefox generate) into the gross binary dreck that Winprinters digest. There are 3 keys to getting this working: 1) You must use a filter that calls gimpprint, gimpprint then calls ghostscript. You don't have to use gimpprint - some HP inkjets are supported by a HP-written driver that I believe converts the IJS output of Ghostscript into the HP winprinter stuff - you will need to play around with this. You MUST understand what gimpprint is doing! Your going to need to modify a lot of the options passed to gimpprint by hand in order to get it to work with your printer. Note that the command that runs gimpprint in the script is ALL ONE LINE, and it is really long! It is wrapped in the examples here but I'm sure you can figure this out. Note that for a FEW printer models, you can not use gimpprint at all, just use Ghostscript. For example, PCL-speaking printers. Some inkjets. This is because Ghostscript has drivers for these built right into Ghostscript. The filter is really the heart of the whole thing. CUPS prettifies all of the different options that are passed to gimpprint - you do not need to know, for example, that InkType=CMYK might need to be passed to gimpprint for your printer, because you just click a button in CUPS that does this. That is great if your a plain old user that only has point-and-click skills. It's hideous if your a network admin that wants to script anything, and it's awful if you want to know what the hell is really going on under the hood. 2) The filter must be an OUTPUT filter because the output of gimpprint is NOT 7-bit ASCII in any way, shape or form - it almost certainly is going to contain null characters and other such things that will stop any UNIX textprocessing programs cold. 3) You need to define multiple filters for different things you want your printer to do. For example suppose you normally print color but your printer takes forever to print a very high res image like a photograph, and you just want to print colored spreadsheets at a low resolution. So you would define 2 different filters, and put them on 2 different print queues, when you want to print at low res, you print to one queue, when you want to print high res, you print to the other. Now, to the instructions: The sample here is my Epson Stylus C84 color inkjet printer. I bought this printer for three reasons: 1) It has good support in gimpprint, 2) It has individual ink resivors for EACH color, so you don't have to chuck out a multi-ink cartridge just because you ran out of red. 3) It has a parallel interface in addition to USB. So, I plug my FreeBSD box into the parallel port, and my wife's Windows box to the USB port, and now I don't have to fiddle faddle around with setting up a USB print server, etc. As a bonus, I found you can communicate with this printer to ask it how much ink is left. Also, as another bonus, the C84 does understand ASCII (but of course, you can't print in color or do any of the fancy stuff with just talking ASCII to the printer) 1) Load and setup FreeBSD. Install the ports directories. 2) Plug printer into parallel port. Make sure ls -l | /dev/lpt0 or ls -l | /dev/usb0 or ls -l | lpr -P mynetworkprinterialreadysetupinprintcap makes the printer do something, even if it's nothing more than printing a few characters of garbage. 3) setup print queues (don't worry about the filter epsonfilter720x360 yet we will get to that) Add the following to the end of /etc/printcap: lp-epson-720x360|Epson C84 Color printer:\ :sh:\ :lp=/dev/lpt0:sd=/var/spool/output/lp-epson:lf=/var/log/lpd-errs:mx=0:\ :of=/usr/local/bin/epsonfilter720x360:rw: lp-epson-raw|Epson C84 Color Printer - raw for Windows systems spooling through us and for testing:\ :sh:\ :lp=/dev/lpt0:sd=/var/spool/output/lp-epson-raw:lf=/var/log/lpd-errs:\ :mx#0:rw: Create the print queues: cd /var/spool/output mkdir lp-epson mkdir lp-epson-raw Add in access for the local systems vi /etc/hosts.lpd # # See lpd(8) #machine.domain putinmymachinesthatIwanttospoolthroughme Run some test prints through the queues: cd /etc ls -l | lpr -P lp-epson ls -l | lpr -P lp-epson-raw Don't worry that nothing comes out yet, we are only testing to make sure LPD is setup right. Note there is a bug in lpd it creates the queue spools with the wrong permissions if your very first print is from the network, this is another reason why we do these tests locally first. (may need to do a chmod 664 on the lock file in the queues, since network LPR doesen't set the mask up properly per
Re: lost+found
Jerlique Bahn wrote: If I pull the power on my server whilst its doing heavy IO, should I get files in lost+found if my raid card has battery backed cache? Yes, it's still possible. I was under the understanding that the file operations were atomic, and hence freebsd's file system should have no corrupted files on the reboot. The raid card says that it is flushing the cache of the card, yet freebsd still experiences the corrupt files. The cache on the RAID card will be flushed OK, but any in-process operations by live processes will be interrupted in the middle if the OS goes away. While some operations are atomic (things like unlink or move), simply writing pieces out is not... What should I be looking for? I would like to also know how to turn off (or check) caching on the physical disk itself. smartmontools port? sysctl hw.ata.wc...? -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 rl interface
Hi Antony, Thanks for that valuable information: Jul 9 09:14:08 grandpa kernel: module_register: module pci/rl already exists! Jul 9 09:14:08 grandpa kernel: Module pci/rl failed to register: 17 This means the driver is already in the kernel, so you do not need to load it manually by placing the if_rl_load=YES line in your loader.conf. OK, I've removed all references to if_rl and if_re from the loader.conf file, so this error is not occuring any more. Jul 9 09:14:08 grandpa kernel: pcib5: ACPI PCI-PCI bridge at device 30.0 on pci0 Jul 9 09:14:08 grandpa kernel: pci5: ACPI PCI bus on pcib5 Jul 9 09:14:08 grandpa kernel: pci5: network, ethernet at device 2.0 (no driver attached) So the network card is found, but the rl driver doesn't detect that it's a Realtek NIC and bind to it. It may simply be a case of having to add the appropriate PCI device IDs to the driver. Could you provide the output of pciconf -lv? I'm not sure how to add the PCI device ID to the driver. The output from the `pciconf -lv` command is rather long, but here it is. The last 8 or so lines seem to be the ones of importance for this problem. I'm a bit puzzled by the line that says: [EMAIL PROTECTED]:2:0: class=0x02 card=0x chip=0x81391904 rev=0x01 hdr=0x00 The card=0x is a worry. Thanks heaps for your help. - [EMAIL PROTECTED]:0:0: class=0x06 card=0x544e8086 chip=0x27708086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82945 Series Memory Controller Hub (MCH)' class= bridge subclass = HOST-PCI [EMAIL PROTECTED]:1:0: class=0x060400 card=0x0088 chip=0x27718086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = 'PCI Express Graphics Port' class= bridge subclass = PCI-PCI [EMAIL PROTECTED]:27:0: class=0x040300 card=0x02028086 chip=0x27d88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) High Definition Audio' class= multimedia [EMAIL PROTECTED]:28:0: class=0x060400 card=0x0040 chip=0x27d08086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class= bridge subclass = PCI-PCI [EMAIL PROTECTED]:28:2: class=0x060400 card=0x0040 chip=0x27d48086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class= bridge subclass = PCI-PCI [EMAIL PROTECTED]:28:3: class=0x060400 card=0x0040 chip=0x27d68086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class= bridge subclass = PCI-PCI [EMAIL PROTECTED]:29:0: class=0x0c0300 card=0x544e8086 chip=0x27c88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class= serial bus subclass = USB [EMAIL PROTECTED]:29:1: class=0x0c0300 card=0x544e8086 chip=0x27c98086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class= serial bus subclass = USB [EMAIL PROTECTED]:29:2: class=0x0c0300 card=0x544e8086 chip=0x27ca8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class= serial bus subclass = USB [EMAIL PROTECTED]:29:3: class=0x0c0300 card=0x544e8086 chip=0x27cb8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class= serial bus subclass = USB [EMAIL PROTECTED]:29:7: class=0x0c0320 card=0x544e8086 chip=0x27cc8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller' class= serial bus subclass = USB [EMAIL PROTECTED]:30:0: class=0x060401 card=0x0050 chip=0x244e8086 rev=0xe1 hdr=0x01 vendor = 'Intel Corporation' device = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub Interface to PCI Bridge' class= bridge subclass = PCI-PCI [EMAIL PROTECTED]:31:0: class=0x060100 card=0x544e8086 chip=0x27b88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB/GR (ICH7 Family) LPC Interface Controller' class= bridge subclass = PCI-ISA [EMAIL PROTECTED]:31:1: class=0x01018a card=0x544e8086 chip=0x27df8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) Ultra ATA Storage Controller' class= mass storage subclass = ATA [EMAIL PROTECTED]:31:2: class=0x01018f card=0x544e8086 chip=0x27c08086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller' class= mass storage subclass = ATA [EMAIL PROTECTED]:31:3: class=0x0c0500
Re: usb storage device mounting problems
Hi, still cannot seem to get usb device working as an ordinary user between multiple reboots, without doing /etc/rc.d/devfs start as root every time. did the following things described under 4.3.3. from http://www.gphoto.org/doc/manual/permissions-usb.html added this to devfs.rules: [usb_devices=10] add path 'da*s*' mode 0666 group usb add path 'ugen*' mode 0666 group usb added this to rc.conf: devfs_system_ruleset=usb_devices removed this from devfs.conf: own /dev/fd0 root:operator perm /dev/fd0 0666 then, I restarted my rc.conf: /etc/rc.d/devfs start now, it is possible to mount the device as described, however only during this login. If I reboot, I have to do devfs start again as root. anybody knows how to retain these settings between multiple reboots? TIA, Bram ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.1; reiserfs works only once, then crashes system :(
Hello Family I have a problem whereas if it never worked, I'd be ok for the moment but this worked once then never worked again. I have a fully functional 6.1 system working, dual booted with an OS that has a reiserfs partition. /dev/ad3s1 I was able to do the kernel module load of the reiserfs.ko once, did a full rsync of a directory and all was well. I then went to do another rsync and it hangs for a few seconds, the does a full system reboot. I've tried the exact set of steps that worked once and was wondering if I'm missing something or is reiserfs (ro) support not really fully there yet. TIA -- Bill Schoolcraft || http://wiliweld.com To be unhappy over what one lacks is to waste what one already possesses. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: using fping to monitor internet connection status
-Original Message- From: Greg Barniskis [mailto:[EMAIL PROTECTED] Sent: Thursday, 6 July 2006 11:32 PM To: Paul Hamilton Cc: freebsd-questions@freebsd.org Subject: Re: using fping to monitor internet connection status Paul Hamilton wrote: Hi, I need to monitor a number of IP addresses, so that if they ALL go down (say three IP's), then that is a pretty good indication that my server has lost internet connectivity. [snip] Any idea's on a ping tool or simple script? Your test would be a little simpler if you just test one IP address: your ISP's upstream router. Its reachability is quite definitive re: whether your ISP link is up or down. Even it it's assigned dynamically by DHCP, you should be able to write a script that pulls that IP, pings it a few times, and checks the result. No special tools necessarily required. -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) gregb at scls.lib.wi.us, (608) 266-6348 Hi All, Thanks for your input. I was hoping there was another cmd/util out there similar to fping that I could elegantly use. I like the above idea though, so I ended up using this to isolate the upstream ISP gateway IP: traceroute -nm 2 close-by Internet IP | tail -1 | awk '{ print $2 }' Integrated that into the fping Perl script and we are away! Thanks once again :-) Cheers, Paul Hamilton While the cats away - the mice do play! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
after i upgraded 6.0 to 6.1, do i need to rebuild all of the ports i installed?
hey all. i have a question about upgrade: after i upgraded from freebsd5.4 to 6.0 in 2005,i got some error when run a part of installed ports was installed in version 5.4,until a committer tell me to rebuild all of my ports. now i want to upgrade from 6.0 to 6.1 do i need to do this? i have already got the source tag: RELENG_6_1 use cvsup,and i will use it to upgrade to 6.1,is it right? Thx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: after i upgraded 6.0 to 6.1, do i need to rebuild all of the ports i installed?
lveax wrote: after i upgraded from freebsd5.4 to 6.0 in 2005,i got some error when run a part of installed ports was installed in version 5.4,until a committer tell me to rebuild all of my ports. now i want to upgrade from 6.0 to 6.1 do i need to do this? No. This is what a stable branch means -- you can upgrade from 5.x to 5.x or from 6.x to 6.x without rebuilding everything, but when you upgrade from FreeBSD 5.x to FreeBSD 6.x you have to rebuild. i have already got the source tag: RELENG_6_1 use cvsup,and i will use it to upgrade to 6.1,is it right? You can do that, or you could instead use the binary upgrade script which I posted to freebsd-stable about earlier today: http://www.daemonology.net/freebsd-upgrade-6.0-to-6.1/ Colin Percival ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: after i upgraded 6.0 to 6.1, do i need to rebuild all of the ports i installed?
You will be fine (I think), but the real answer is in /usr/src/UPDATING On Sun, 9 Jul 2006, lveax wrote: hey all. i have a question about upgrade: after i upgraded from freebsd5.4 to 6.0 in 2005,i got some error when run a part of installed ports was installed in version 5.4,until a committer tell me to rebuild all of my ports. now i want to upgrade from 6.0 to 6.1 do i need to do this? i have already got the source tag: RELENG_6_1 use cvsup,and i will use it to upgrade to 6.1,is it right? Thx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.1 Install Halt Problems
Hello, I'm experiencing some strange problems while installing FreeBSD via CD-ROM, and hoping someone might have an idea as to what's causing this. FreeBSD will load fine, and I am able to get to the sysinstall menu, when a few minutes pass, and the computer halts. The amount of time it takes to halt is inconsistent, however its usually within the first 9 minutes of being in the sysinstall menu. Needless to say, I can't quite finish an install when this is happening. Interestingly, I popped in an older FreeBSD 5.3 install CD, and it seems to be fine, I can finish an install, and I also just let it sit inside the sysinstall menu for several hours with no problems or halts. I'm wondering if this is related to some kind of hardware incompaitbility issue, as I have ran hardware diagnostics and successfully installed FreeBSD 5.3, Linux, and Windows on this same box with no problems. I've read through the hardware requirements for 6.1, and nothing seems to be out of order (unless I'm missing something obvious), any ideas? Hardware: AMD Athlon XP 2500+ 333FSB Barton Core CPU Biostar M7NCD Motherboard 512 MB Corsair (2 x 256) 3200LLPT (Part# TWINX512-3200LLPT) Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sysinstall - Will not die
If this has been discussed before, please point it out. I've done some searching and can not quite come up with the solution other than to reboot the server. I'm hoping a reboot can be avoided. I recently attempted to run sysinstall to install something that was not listed in the ports collection. Sysinstall is still running in the back ground as a result of my ssh session getting terminated. Now, I can not kill sysinstall. I found some things on the web that pointed out there may be a parent that is keeping the child thread alive. That parent has been killed off and I still can not kill sysinstall. I am noticing some things in the messages log that may be as a direct result of sysinstall still running. I am getting the following two lines logged all the time: Jul 9 16:51:16 cgate kernel: acd0: req=0xc3833640 TEST_UNIT_READY semaphore timeout !! DANGER Will Robinson !! Jul 9 16:51:17 cgate kernel: acd0: req=0xc38324b0 SETFEATURES SET TRANSFER MODE semaphore timeout !! DANGER Will Robinson !! I know acd0 has something to do with the cdrom drive. That is the only thing being complained about within the logs as far as hardware goes. No other file systems are having issues. Can someone shed some light on what is going on? -- This message was sent using 100% recycled electrons. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sshd not working
I just did a fresh install of FreeBSD 6.1 I enabled ssh on startup. I can see that it is running from the console but it is not accepting ssh connections across the network. I can ping the machine and nmap the machine and see ssh port 22 open, also /etc/rc.conf shows ssh enabled what am I missing? Thank You ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd not working
On Sun, Jul 09, 2006 at 02:55:41PM -0400, Elijah Savage wrote: I just did a fresh install of FreeBSD 6.1 I enabled ssh on startup. I can see that it is running from the console but it is not accepting ssh connections across the network. I can ping the machine and nmap the machine and see ssh port 22 open, also /etc/rc.conf shows ssh enabled what am I missing? Since port 22 is open, try the -v switch on the client side and see where and what isn't working. If it's a config problem between what the server will accept and what the client is trying it should show up there. Also check syslog to see if something funky happened on the server side. -- Darrin Chandler| Phoenix BSD Users Group [EMAIL PROTECTED] | http://bsd.phoenix.az.us/ http://www.stilyagin.com/ | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd not working
On Jul 9, 2006, at 3:03 PM, Darrin Chandler wrote: On Sun, Jul 09, 2006 at 02:55:41PM -0400, Elijah Savage wrote: I just did a fresh install of FreeBSD 6.1 I enabled ssh on startup. I can see that it is running from the console but it is not accepting ssh connections across the network. I can ping the machine and nmap the machine and see ssh port 22 open, also /etc/rc.conf shows ssh enabled what am I missing? Since port 22 is open, try the -v switch on the client side and see where and what isn't working. If it's a config problem between what the server will accept and what the client is trying it should show up there. Also check syslog to see if something funky happened on the server side. -- Darrin Chandler| Phoenix BSD Users Group [EMAIL PROTECTED] | http://bsd.phoenix.az.us/ http://www.stilyagin.com/ | ___ Well thank you for the reply but it was the network card. I am not sure if I should take it back or not. It is a brand new network D Link GigE card realtek chipset RTL8169. This was such strange behavior, I could get out from the machine but could not get into it across the network. I just replaced it with a Intel 100mb fxp0 and everything works now. Sort of sucks my server will be runnning at 100mb and every other client at GigE. I made sure my card was on the list so it could be bad I suppose. The re(4) driver supports RealTek RTL8139C+, RTL8169, RTL8169S and RTL8110S based Fast Ethernet and Gigabit Ethernet adapters including: * Alloy Computer Products EtherGOLD 1439E 10/100 (8139C+) * Compaq Evo N1015v Integrated Ethernet (8139C+) * Corega CG-LAPCIGT Gigabit Ethernet (8169S) * D-Link DGE-528(T) Gigabit Ethernet (8169S) * Gigabyte 7N400 Pro2 Integrated Gigabit Ethernet (8110S) * LevelOne GNC-0105T (8169S) * PLANEX COMMUNICATIONS Inc. GN-1200TC (8169S) * Xterasys XN-152 10/100/1000 NIC (8169) Thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd not working
On Sun, Jul 09, 2006 at 03:38:33PM -0400, Elijah Savage wrote: Well thank you for the reply but it was the network card. I am not sure if I should take it back or not. It is a brand new network D Link GigE card realtek chipset RTL8169. This was such strange behavior, I could get out from the machine but could not get into it across the network. I just replaced it with a Intel 100mb fxp0 and everything works now. Sort of sucks my server will be runnning at 100mb and every other client at GigE. I made sure my card was on the list so it could be bad I suppose. If you want to investigate it might be worth it. Check ifconfig output and compare to other cards of the same make. Check duplex settings, etc. Swap cards and see if problems follow the card or stay with the machine... Glad you found the problem, anyway. -- Darrin Chandler| Phoenix BSD Users Group [EMAIL PROTECTED] | http://bsd.phoenix.az.us/ http://www.stilyagin.com/ | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
default umask for Apache
Hello; I've not had to do this on a Unix system before. But now I have Apache running as nobody and have php scripts creating and writing to directories. The files it creates have the default mask rw-r-r and I want to change it to rw-rw-- so I can remove the files and dirs with group write permissions via ftp. I'm using default csh. I don't remember where to find this info in Complete FreeBSD, or other sources. so: question How do you change the default mask for a user like Apache on a Unix system? /question (I assume there is a separate default for both files and directories.) Other wise I have to manually cd into each directory, remove the files as root, cd back, remove the dir, cd to the next, etc. It could add up to hundreds of directories with multiple hundreds of files to remove. Maybe I could practice shell scripting with this, or modify the php code to unlink the files and remove the dirs. But i may need to save some for future reference. thanks in advance; JK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd not working
On Jul 9, 2006, at 4:12 PM, Darrin Chandler wrote: On Sun, Jul 09, 2006 at 03:38:33PM -0400, Elijah Savage wrote: Well thank you for the reply but it was the network card. I am not sure if I should take it back or not. It is a brand new network D Link GigE card realtek chipset RTL8169. This was such strange behavior, I could get out from the machine but could not get into it across the network. I just replaced it with a Intel 100mb fxp0 and everything works now. Sort of sucks my server will be runnning at 100mb and every other client at GigE. I made sure my card was on the list so it could be bad I suppose. If you want to investigate it might be worth it. Check ifconfig output and compare to other cards of the same make. Check duplex settings, etc. Swap cards and see if problems follow the card or stay with the machine... Glad you found the problem, anyway. Yeah I checked all that and it was good I even moved it to a different switch port. I put this card in my suse 10 machine and had no problems with it so I am surely at a lost now. I will just get an intel GigE card probably give will me better performance anyway. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: default umask for Apache
On Sun, Jul 09, 2006 at 01:19:47PM -0700, jekillen wrote: Hello; I've not had to do this on a Unix system before. But now I have Apache running as nobody and have php scripts creating and writing to directories. The files it creates have the default mask rw-r-r and I want to change it to rw-rw-- so I can remove the files and dirs with group write permissions via ftp. Could you not chmod the files / directories via your php script? See: http://php.net/manual/en/function.chmod.php question How do you change the default mask for a user like Apache on a Unix system? /question I believe you can set this via envvars -- Kelly D. Grills [EMAIL PROTECTED] pgppItvhPmZUY.pgp Description: PGP signature
Belkin Wireless G notebook card
I am trying to get a Belkin Wireless G notebook card running on a Sony VAIO laptop, FreeBSD 6.1. I followed the advice in the handbook and copied the following files from the Belkin CD to the if_ndis directory: rt61.inf and rt61.sys and ran ndiscvt -i rt61.inf -s rt61.sys -o ndis_driver_data.h after make and make install I did: kldload ndis kldload if_ndis This gave an error if_ndis: file exists. But kldstat showed the if_ndis driver loaded. I also tried copying the RT619x.sys file to the if_ndis directory, and doing ndiscvt -i rt61.inf -s rt61.sys -o -f RT619.sys -o ndis_driver_data.h make, make install. None of these seem to enable the card. dmesg tells me: cardbus0: Expecting link target, got 0x0 cardbus0: Resource not specified in CIS: id=10, size=8000 cardbus0: network at device 0.0 (no driver attached) cardbus0: Expecting link target, got 0x0 cardbus0: Resource not specified in CIS: id=10, size=8000 This sounds like there is some sort of builtin database that needs to be modified, but I can't seem to find anything in the handbook or manual pages. Any suggestions gratefully accepted. Thanks, Scott -- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CUPS, Quota limit reached woes woes woes
Hello, After successfully setting up my HP Officejet with CUPS and having printed a successful test page. I can no longer print. Now I try to print nothing happens, I go into cups configuration page and I don't see any printer there, it just disappeared, I go through the adding a new printer process again and I add it exactly the same way I did the first time and I try to print a test page I get this error: Quota limit reached I click on administration again and then manage printers and again the printer I just added is not there. Does anyone know what's going on with this? It just doesn't make any sense! At first I thought I had it and now ??? Anyway I'm running FBSD 6.1. Any help would be appreciated. Thanks. EJC www.only7bucks.com - Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS, Quota limit reached woes woes woes
On Jul 9, 2006, at 7:36 PM, E. J. Cerejo wrote: Hello, Hello, After successfully setting up my HP Officejet with CUPS and having printed a successful test page. I can no longer print. What version of CUPS did you get your printer working with and what version are you running now? Now I try to print nothing happens, I go into cups configuration page and I don't see any printer there, it just disappeared, I go through the adding a new printer process again and I add it exactly the same way I did the first time and I try to print a test page I get this error: Quota limit reached I click on administration again and then manage printers and again the printer I just added is not there. Does anyone know what's going on with this? It just doesn't make any sense! At first I thought I had it and now ??? Anyway I'm running FBSD 6.1. Any help would be appreciated. Thanks. EJC www.only7bucks.com - Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS, Quota limit reached woes woes woes
The version is Common UNIX Printing System 1.2.0, I installed it using the portinstall and I had just finished updating my ports tree. Anthony Agelastos [EMAIL PROTECTED] escreveu: On Jul 9, 2006, at 7:36 PM, E. J. Cerejo wrote: Hello, Hello, After successfully setting up my HP Officejet with CUPS and having printed a successful test page. I can no longer print. What version of CUPS did you get your printer working with and what version are you running now? Now I try to print nothing happens, I go into cups configuration page and I don't see any printer there, it just disappeared, I go through the adding a new printer process again and I add it exactly the same way I did the first time and I try to print a test page I get this error: Quota limit reached I click on administration again and then manage printers and again the printer I just added is not there. Does anyone know what's going on with this? It just doesn't make any sense! At first I thought I had it and now ??? Anyway I'm running FBSD 6.1. Any help would be appreciated. Thanks. EJC www.only7bucks.com - Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] EJC www.only7bucks.com - Yahoo! Copa 2006 - cobertura dos jogos em tempo real e tudo sobre a seleção brasileira! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS, Quota limit reached woes woes woes
On Jul 9, 2006, at 7:48 PM, E. J. Cerejo wrote: The version is Common UNIX Printing System 1.2.0, I installed it using the portinstall and I had just finished updating my ports tree. I was trying to extract if you had it working on a 1.1.x install of CUPS and when you updated it to 1.2.0 it stopped working. A lot of people are having issues with CUPS at 1.2.0. I recommend going to the mailing list archives and going through the several CUPS threads to see if anything there may help you, if you haven't already. One thread entitled HP Officejet Printer may assist you. Good luck. Anthony Agelastos [EMAIL PROTECTED] escreveu: On Jul 9, 2006, at 7:36 PM, E. J. Cerejo wrote: Hello, Hello, After successfully setting up my HP Officejet with CUPS and having printed a successful test page. I can no longer print. What version of CUPS did you get your printer working with and what version are you running now? Now I try to print nothing happens, I go into cups configuration page and I don't see any printer there, it just disappeared, I go through the adding a new printer process again and I add it exactly the same way I did the first time and I try to print a test page I get this error: Quota limit reached I click on administration again and then manage printers and again the printer I just added is not there. Does anyone know what's going on with this? It just doesn't make any sense! At first I thought I had it and now ??? Anyway I'm running FBSD 6.1. Any help would be appreciated. Thanks. EJC www.only7bucks.com - Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] EJC www.only7bucks.com Yahoo! Copa 2006 - cobertura dos jogos em tempo real e tudo sobre a seleção brasileira! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[UPDATE] Re: BTX halted
On Sun, 18 Jun 2006 17:01:30 +1000 Norberto Meijome [EMAIL PROTECTED] wrote: On Sat, 17 Jun 2006 23:50:10 +0400 horn [EMAIL PROTECTED] wrote: I install FreeBSD 5.3 from floppy-diskets. After a choice of loading(default, safe_mode) there is a error: int=000e err= efl=00010083 eip=95ca eax=c101ffb8 ebx=c101ffb0 ecx=8c10 edx=ff02 esi=ffef edi=1952 ebp=c1021d60 esp=c101ffa0 cs=0008 ds=0010 es=0010fs=0010 gs=0010 ss=0010 cs:eip=ac e8 46 00 00 00 fe c9-74 0c b0 2d 80 f9 08 74 02 b0 20 aa eb ea fe ca-74 0e b0 0a aa b1 07 b0 ss:esp=10 00 00 00 68 97 00 00-db 91 00 00 00 18 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff BTX halted I got a similar looking error (sorry, dont have that particular box at hand to verify) when booting from 6.1-Release CD on a Shuttle Zen PC. HD already had a Gentoo 2006.0 installation on it. No changes whether I booted without APIC of ACPI, or safe mode. Beto I actually tried a bit later on with the same machine, but this time I had wiped the first sectors ( about 2048, just to be safe) of the HD. 6.1 Release CD #1 booted just fine, and I could install and use with no problem at all. (actually, the UDMA problems with IDE that I had with 5.3 were gone in 6.1 :) great job! ) Before wiping it, it had Gentoo installed in it. (Caveat - the msg I got included BTX Halted, but I cannot confirm whether all the other information was similar). B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Video card
Don't top-post, please. victor leon [EMAIL PROTECTED] writes: the install is normal after that when i restart the cpu sounds a beep and can't use X mode ,i only can use text mode my monitor is a AOC model CT520n So FreeBSD is fine, but you're having problems with configuring X. Have you installed an X server? Which one? How did you configure it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The ENV variable
The shell variable ENV is supposed to name a script to be invoked whenever the Korn shell starts up an interactive shell. While this is the case for just about all users, on my system it is not the case for users with the user-id of root . Is this how UNIX is supposed to work? For my system: uname -a FreeBSD 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC i386 How does ENV work in later systems, the same (i.e., not for root )? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating vinum RAID 1 on place
On Friday, 7 July 2006 at 11:29:46 +0700, Olivier Nicole wrote: Hi, Is there a trick on the way to build a vinum RAID 1 without backup-in the data first? Sometimes. It's described in The Complete FreeBSD, page 236 or so. See http://www.lemis.com/grog/Documentation/CFBSD/ for how to get the book. 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. pgp9bRktZRlpn.pgp Description: PGP signature
FreeBSD 6.1 SMP Kernel - Cardbus issue
Hello All, I am stuck on a FreeBSD 6.1 SMP Kernel issue that won't allow me to use my Cardbus wireless nic. I did a little digging and I found that a driver is not being loaded for the pci0 bridge device. Is there a way to load a driver for this device? I think this will resolve my issue. Is there such a thing as a non-cardbus wireless nic? If so please let me know the chipset/card. I beleive this is another way to solve my problem. Thanks, Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The ENV variable
On Mon, Jul 10, 2006 at 01:43:40AM +, [EMAIL PROTECTED] wrote: The shell variable ENV is supposed to name a script to be invoked whenever the Korn shell starts up an interactive shell. While this is the case for just about all users, on my system it is not the case for users with the user-id of root . Is this how UNIX is supposed to work? By default, root uses csh. Have you modified your root to use ksh? -- Jonathan Chen [EMAIL PROTECTED] -- Only the meek get pinched. The bold survive. - Ferris Bueller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Boot Menu
Dear All, How can i change default menuitem in boot menu to number 3 or safe mode. so it will boot the default to number 3 in menu ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot Menu
On 2006-07-10 10:53, RdBSD [EMAIL PROTECTED] wrote: Dear All, How can i change default menuitem in boot menu to number 3 or safe mode. so it will boot the default to number 3 in menu ? That's usually a slightly bad idea. Why do you want to do this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]