Re: changelog for 6.1 ?
Ok, thanks. I went here: http://www.freebsd.org/cgi/cvsweb.cgi/CVSROOT/ but I don't see a changelog, or a file that looks like one. I'm still not very familiar with FreeBSD, I guess I will wait for the official release. thx On 2/11/06, Kris Kennaway [EMAIL PROTECTED] wrote: On Sat, Feb 11, 2006 at 01:11:22AM -0500, Xn Nooby wrote: Do you know what the URL is? I'm looking around here: ftp://ftp.freebsd.org/pub/FreeBSD http://cvsweb.freebsd.org/ (as 10 seconds with google would have shown you ;-) Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mount changing mount point rights?
Ceri Davies wrote: On 9 Feb 2006, at 12:52, Norberto Meijome wrote: hi all, I'm mounting a GELI encrypted, file backed vnode on ~/mount_folder. I am member of wheel. I start with Home directory: drwxr-x--- 51 betom betom 3072 Feb 9 23:38 betom file and folder which i want to mount in. drwxrwx--- 2 betom betom 512 Feb 9 17:42 mount_folder -rw-rw 1 betom betom 614400 Feb 9 23:38 geli.dsk I then define the md device, attach it to geli (it was already init and newfs -U run on it), fsck sudo mdconfig -a -t vnode -f ./_1.dsk -u 13 sudo geli attach /dev/md13 fsck -p -t ufs /dev/md13.eli the devices look like this : $ ls -l /dev/md* crw-r- 1 root wheel0, 121 Feb 9 22:24 /dev/md13 crw-r- 1 root wheel0, 122 Feb 9 23:23 /dev/md13.eli crw-rw 1 root wheel0, 87 Feb 9 22:24 /dev/mdctl Then mount it: sudo mount /dev/md13.eli /home/betom/mount_folder PROBLEM : the mount folder has changed it's access from 770 betom:betom to 750 root:wheel drwxr-xr-x 3 root wheel 512 Feb 9 18:51 mount_folder -rw-rw 1 betom betom 614400 Feb 9 23:50 geli.dsk umask : $ umask 0022 [EMAIL PROTECTED] [Thu Feb 9 23:48:53 2006] ~ $ sudo umask 0022 WHY is it doing that?! Since I want to use this folder as my own user , not root, I have to do the extra step of changing owner of the folder every time...quite annoying. how can I fix this? The owner of the root folder on the filesystem on md13.eli is root. Just chown/chmod it once it's mounted and it'll stick. thanks for the pointer. After mounting it, I did sudo chown betom: mnt_fld cd mnt_fld ls -la drwx-- 16 betom wheel512 Feb 11 12:07 . drwxr-x--- 50 betom betom 3072 Feb 11 11:47 .. [...] which looks ok to me.. but as soon as I unmount and mount again, it reverts to root:wheel it isn't the end of the world as I will be wrapping the mounting process with a script, but I just wonder what is the story B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Connecting to serial port
That happens, you can try a BIOS update, and also make sure your motherboard CMOS settings specify the port for serial0, and match port 0x3f8-0x3ff irq 4, and aren't set to auto. You can also try changing the setting for plug-and-play OS to off, (or on, if it was off before) You can ignore the message: configured irq 4 not in bitmap of probed irqs 0 as long as your serial port actually responds. A lot of motherboards will emit this message but the serial port still works. Unfortunately it looks like yours isn't one of these due to the not responding error message. Worst case, disble the motherboard serial ports and buy a pci serial port card. This seems to happen a lot on systems that use pci-express, probably because they are tying the serial port hardware to the pci bus rather than the isa bus. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Steve Douville Sent: Friday, February 10, 2006 9:25 PM To: freebsd-questions@freebsd.org Subject: Connecting to serial port I'm trying to connect to the serial port of a Dell PowerConnect 3024. I've connected a null modem cable between them. During boot, this is what is happening: Feb 11 00:34:17 server2 kernel: sio0: configured irq 4 not in bitmap of probed irqs 0 Feb 11 00:34:17 server2 kernel: sio0: port may not be enabled Feb 11 00:34:17 server2 kernel: sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 Feb 11 00:34:17 server2 kernel: sio0: type 8250 or not responding Can anyone shed some light on what I might have done wrong or where to continue looking? Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.5/256 - Release Date: 2/10/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: SATA Raid
Here's some output from 3 of my servers with different ide raid, judge for yourself: Server #1: FreeBSD 6.0, Promise udma raid chip on motherboard: www# dmesg . . ad4: 114473MB Seagate ST3120026A 8.01 at ata2-master UDMA100 ad6: 114473MB Seagate ST3120026A 8.01 at ata3-master UDMA100 Waiting 5 seconds for SCSI devices to settle ar0: 114440MB Promise Fasttrak RAID1 status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master . . www# atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: acd0 Pioneer CD-ROM ATAPI Model DR-944 0107/E1.07 ATA/ATAPI revision 4 Slave: no device present ATA channel 2: Master: ad4 ST3120026A/8.01 ATA/ATAPI revision 6 Slave: no device present ATA channel 3: Master: ad6 ST3120026A/8.01 ATA/ATAPI revision 6 Slave: no device present www# atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: READY Server #2 FreeBSD 5.4 Adaptec ATA RAID 1200A (Highpoint Rocket Raid 100) on a pci card # dmesg . . . atapci0: HighPoint HPT370 UDMA100 controller port 0xd800-0xd8ff,0xdfe0-0xdfe3,0xdfa8-0xdfaf,0xdfe4-0xdfe7,0xdff0-0xdff7 irq 9 at device 10.0 on pci2 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 . . . ad4: 152627MB ST3160023A/8.01 [310101/16/63] at ata2-master UDMA100 ad6: 152627MB ST3160023A/3.01 [310101/16/63] at ata3-master UDMA100 ar0: 152627MB ATA RAID1 array [19457/255/63] status: READY subdisks: disk0 READY on ad4 at ata2-master disk1 READY on ad6 at ata3-master . . . # atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: acd0 CDU5211/YYS7 ATA/ATAPI revision 0 Slave: no device present ATA channel 2: Master: ad4 ST3160023A/8.01 ATA/ATAPI revision 6 Slave: no device present ATA channel 3: Master: ad6 ST3160023A/3.01 ATA/ATAPI revision 6 Slave: no device present # # atacontrol status 0 ar0: ATA RAID1 subdisks: ad4 ad6 status: READY # Server #3 FreeBSD 6.0-RELEASE #0: Intel ICH5R/6300ESB SATA150 RAID chip on motherboard #dmesg . . . atapci1: Intel 6300ESB SATA150 controller port 0xe400-0xe407,0xe000-0xe003,0xd c00-0xdc07,0xd800-0xd803,0xd400-0xd40f irq 18 at device 31.2 on pci0 atapci1: failed to enable memory mapping! ata2: ATA channel 0 on atapci1 ata3: ATA channel 1 on atapci1 . . . ad4: 286168MB Seagate ST3300831AS 3.03 at ata2-master SATA150 ad6: 286168MB Seagate ST3300831AS 3.03 at ata3-master SATA150 ar0: 286168MB Adaptec HostRAID RAID1 status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master . . . mail# atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: acd0 TSSTcorpCD/DVDW TS-H552U/US06 ATA/ATAPI revision 0 Slave: no device present ATA channel 2: Master: ad4 ST3300831AS/3.03 Serial ATA v1.0 Slave: no device present ATA channel 3: Master: ad6 ST3300831AS/3.03 Serial ATA v1.0 Slave: no device present mail# mail# atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: READY mail# Ted Mittelstaedt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Uzzi Sent: Friday, February 10, 2006 7:35 PM To: freebsd-questions@freebsd.org Subject: SATA Raid Anyone know of any of the cheaper SATA raid cards that work well under FreeBSD. I'd love to go get a 3ware but they are fairly pricey. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.5/256 - Release Date: 2/10/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xmule 6.0-REL
On Sat, Feb 11, 2006 at 08:43:12AM +0100, [EMAIL PROTECTED] wrote: El d?a Friday, February 10, 2006 a las 02:28:43PM -0500, Lowell Gilbert escribi?: [EMAIL PROTECTED] writes: Hi, I've tried to install xmule in 6.0-REL from the ports collection, but the port is broken: # cd /usr/ports/net/xmule # make === xmule-1.10.0.a is marked as broken: Incomplete pkg-plist. # the FreeBSD homepage shows a recent version but in a tree which 6.0-REL not has: /usr/ports/net-p2p What is the correct way to update this tree into my 6.0-REL? See the FreeBSD Handbook chapter titled The Cutting Edge. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html Thanks for the hint but I don't belong to the 3 groups of persons mentioned in chapter '21.2.1.2 Who Needs FreeBSD-CURRENT' :-) I can't put CURRENT on my notebook and lock me out of the world if is does not boot anymore. I only wanted to test a small piece of the ports collection. You don't need -CURRENT. You only need to update your ports-tree to be up-to-date. Installing by hand is possible, but you lose all the advantages of using the ports-tree; ie clean deinstalls, coherent management of build and run dependancies, FreeBSD specific tweaks. -- Jonathan Chen [EMAIL PROTECTED] --- One, with God, is always a majority, but many a martyr has been burned at the stake while the votes were being counted. -- Thomas B. Reed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Barcode software?
Hi people, did someone knows if we have some barcode designer on Freebsd?, i googling and just found kbarcode -kde, but we have something else...? Thanks for your time, greetings. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
enlightenment-0.16.999.023 does not build on 4.X
Is this port broken ?? or am i just to tired to make it work right -- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.computerking.ca/pages/links/affiliates/affiliates.htm Maybe Computer Science should be in the College of Theology. -- R. S. Barton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question
Jose Jesus Ortega wrote: By any chance do you know what Debian GNU/kFreeBSD because I'm confused on it. Can I run freeBSD packages or ports if I install debian with that package or is it something else? thanks. It's a somewhat bizarre sounding combination of the FreeBSD kernel and the Debian Linux userland. See: http://www.debian.org/ports/kfreebsd-gnu/ So, no, you can't use FreeBSD ports with this -- you'ld have to use the Debian userland package management tools (apt-get etc.) It's also still a work in progress, so you shouldn't think about using it in any sort of production setting or if you're unprepared to cope with porting and debugging software. If you want FreeBSD ports, you've pretty much got to use FreeBSD. Maybe you could use DragonflyBSD, but from my cursory reading of docco on the DFBSD site, the plan there is to make some wide ranging changes to the ports/packages system, which would probably break compatibility. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Thunderbird vs Evolution...
Anyone has preferences on one or the other for heavy use of email? Stability on Thunderbird 1.5 has been **shocking** lately (running with enigmail 0.94.0, Remove duplicate msgs 0.1.02, Notary 0.2, Signature switch 1.02) , so right now is my main concern,... Exchange plugin is interesting ,but it just didnt want to work for me, so i'm not worrying too much about it. thanks! Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gtk-WARNING **: cannot open display:
Peter wrote: As mentioned in an earlier post, I tried that on my own when I ran into trouble and I have not edited this file. The default is to allow root logins. Just to be clear, FreeBSD is shipped with root logins via SSH *DISABLED*. (most Linux distros i remember, OTOH, have it enabled). I have another possibly related issue. I cannot use the login command for root either. I get the same effects: prompt for password but password does not work. - if you go to the console, can you log in as root? - is the shell program assigned to the root user a valid root? I have a feeling this has to do with pam which I know nothing about. why do you say that is PAM related? Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 6.0, amd64, A8N-SLI and 4gb ram
I've been running FreeBSD 6.0 stable on an A8N-SLI Premium amd64 box with 2gb of ram for a few weeks now and it has been running well, but some of the analysis I run needs more ram, so I dropped in another 2 gb and started having all sorts of weird problems, such as DHCP failure and running very slowly. I tracked it down to 2 bios settings, both related to PAE (one turning on s/w PAE, the other h/w) - if i turn both of those off, then everything works, but FreeBSD can only see 3gb of ram. Some documentation suggested a custom kernel with 'options PAE' enabled would be required, but adding that generates an 'invalid option PEA' error when running make. Is it possible for FreeBSD to access the full 4gb on this m/b? Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: enlightenment-0.16.999.023 does not build on 4.X
RYAN M. vAN GINNEKEN [EMAIL PROTECTED] wrote: Is this port broken ?? or am i just to tired to make it work right The port requires FreeBSD 5.x or later. From the Makefile: .if ${OSVERSION} 50 IGNORE= does not build on 4.X .endif Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: I can't mount my USB thumb drive or ipod -- no /dev/da*
Erin Sharmahd wrote: I'm a bit of a newbie, but I've done a good bit of research, and some asking around on this issue, and haven't been able to resolve it yet. I'm using FreeBSD 6.0 RELEASE with the GENERIC kernel. (from what i can tell, it has all of the necessary pieces to allow usb drives). When I plug my ipod into my computer, dmesg gets the following addition: umass0: Apple iPod mini, rev 2.00/0.01, addr 2 However, that's all that appears there relative to it. From google, I found that plugging in an ipod or a usb thumb drive should add a /dev/da0 (or similar) entry to /dev, which you should mount. I still don't have a /dev/da*, and I actually checked, and nothing is getting added to /dev when I plug the ipod in. I thought that perhaps this was a problem related to support for the ipod, but I have the exact same problem whenever I try to mount a usb thumb drive. Nothing new appears in /dev, and dmesg simply gives one line explaining that umass0 sees the item. A TA's thumb drive had the same problem. The ipod is FAT32, and has been used in linux many times. The thumb drive is currently ext3, but I'd like to reformat it to FAT32 once I can get FreeBSD to recognize it. Here's the info I can find about the ipod: from dmesg: umass0: Apple iPod mini, rev 2.00/0.01, addr 2 from usbdevs -d: addr 1: EHCI root hub, Intel uhub4 addr 2: iPod mini, Apple umass0 And the info from my usb thumb drive: from dmesg: umass0: PNY Attache 2.0, rev 2.00/2.00, addr 2 from usbdevs -d: addr 1: EHCI root hub, Intel uhub4 addr 2: Attache 2.0, PNY umass0 Lines that I think are important from the kernel config: # USB support deviceuhci# UHCI PCI-USB interface deviceohci# OHCI PCI-USB interface deviceehci# EHCI PCI-USB interface (USB 2.0) deviceusb # USB Bus (required) #device udbp# USB Double Bulk Pipe devices deviceugen# Generic deviceuhid# Human Interface Devices deviceumass # Disks/Mass storage - Requires scbus and da # SCSI peripherals devicescbus # SCSI bus (required for SCSI) devicech# SCSI media changers deviceda# Direct Access (disks) If there's any further information that would help, please let me know. These are the things I've found mentioned on google... Thanks, ~Erin -- http://www.tuxgirl.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi, I believe you need this entry in you kernel config file device pass Then you need to rebuild and install your kernel with this new option. See the FreeBSD Handbook for details on how to do that. Here is the URI. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html Hope this helps, --Duane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba Problem
Warren Liddell wrote: When i try logging onto the FreeBSD machine from windows via samba, upon entering the username/pswd windows Automatically adds: fred/shinjii All i want it to have is just shinjii .. what am i missing and where do i go to fix this ? ___ Hi, It might help if you could send a copy of your samba configuration file, usually it is located at /usr/local/etc/smb.conf This is where I would start looking for problems. Also read the smb.conf.default file as it gives good examples as a starting point. --Duane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ij C news
Hi, http://www.mitrigia.com VnAdLblqUbMh a$c1o,z2h1e CeIwAlLoIzSj j$t3d,p3v3i VvIyAvGyRbAd f$e3y,m7b5d ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to check status of IBM ServRaid 6i remotely?
I have an IBM eServer 226 with ServRaid 6i U320 SCSI-raid-controller running in raid-5 mode. The appropriate FreeBSD driver is ips. Is there a way of checking the status of that hardware-raid5 remotely? I could not find any info concerning this matter, but there surely has to be a way (how else would you know about a disc gone down, if you are not in the vicinity of the server?). -- Sincerely, Michael A FreeBSD Prospect, who is actually using Gentoo Linux ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Thunderbird vs Evolution...
Norberto Meijome [EMAIL PROTECTED] wrote: Anyone has preferences on one or the other for heavy use of email? Stability on Thunderbird 1.5 has been **shocking** lately (running with enigmail 0.94.0, Remove duplicate msgs 0.1.02, Notary 0.2, Signature switch 1.02) , so right now is my main concern,... You might want to look at Sylpheed-Claws as well, it has similar features. I have no problems with stability either, but with 2.0.0 language changing for the spell checker is a mess and X11 style copy and paste doesn't work anymore. I haven't yet found a way to reenable these functions, but other than that it's fine. Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: Samba Problem
On Saturday 11 February 2006 12:33, Duane Whitty wrote: Warren Liddell wrote: When i try logging onto the FreeBSD machine from windows via samba, upon entering the username/pswd windows Automatically adds: fred/shinjii All i want it to have is just shinjii .. what am i missing and where do i go to fix this ? - Hi, It might help if you could send a copy of your samba configuration file, usually it is located at /usr/local/etc/smb.conf This is where I would start looking for problems. Also read the smb.conf.default file as it gives good examples as a starting point. Attached is conf file #=== Global Settings = [global] # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH workgroup = WORKGROUP # server string is the equivalent of the NT Description field server string = Samba Server # Security mode. Defines in which mode Samba will operate. Possible # values are share, user, server, domain and ads. Most people will want # user level security. See the Samba-HOWTO-Collection for details. security = user # This option is important for security. It allows you to restrict # connections to machines which are on your local network. The # following example restricts access to two C class networks and # the loopback interface. For more examples of the syntax see # the smb.conf man page ; hosts allow = 192.168.1. 192.168.2. 127. # If you want to automatically load your printer list rather # than setting them up individually then you'll need this ;load printers = yes # you may wish to override the location of the printcap file ; printcap name = /etc/printcap # on SystemV system setting printcap name to lpstat should allow # you to automatically obtain a printer list from the SystemV spool # system ; printcap name = lpstat # It should not be necessary to specify the print system type unless # it is non-standard. Currently supported print systems include: # bsd, cups, sysv, plp, lprng, aix, hpux, qnx ; printing = cups # Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user nobody is used ; guest account = pcguest # this tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/log.%m # Put a capping on the size of the log files (in Kb). max log size = 50 # Use password server option only with security = server # The argument list may include: # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name] # or to auto-locate the domain controller/s # password server = * # password server = NT-Server-Name # Use the realm option only with security = ads # Specifies the Active Directory realm the host is part of ; realm = MY_REALM # Backend to store user information in. New installations should # use either tdbsam or ldapsam. smbpasswd is available for backwards # compatibility. tdbsam requires no further configuration. # passdb backend = tdbsam # Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting. # Note: Consider carefully the location in the configuration file of # this line. The included file is read at that point. ; include = /usr/local/etc/smb.conf.%m # Most people will find that this option gives better performance. # See the chapter 'Samba performance issues' in the Samba HOWTO Collection # and the manual pages for details. # You may want to add the following on a Linux system: # SO_RCVBUF=8192 SO_SNDBUF=8192 socket options = TCP_NODELAY # Configure Samba to use multiple interfaces # If you have multiple network interfaces then you must list them # here. See the man page for details. ; interfaces = 192.168.12.2/24 192.168.13.2/24 # Browser Control Options: # set local master to no if you don't want Samba to become a master # browser on your network. Otherwise the normal election rules apply ; local master = no # OS Level determines the precedence of this server in master browser # elections. The default value should be reasonable ; os level = 33 # Domain Master specifies Samba to be the Domain Master Browser. This # allows Samba to collate browse lists between subnets. Don't use this # if you already have a Windows NT domain controller doing this job ; domain master = yes # Preferred Master causes Samba to force a local browser election on startup # and gives it a slightly higher chance of winning the election ; preferred master = yes # Enable this if you want Samba to be a domain logon server for # Windows95 workstations. ; domain logons = yes # if you enable domain logons then you may want a per-machine or # per user logon script # run a specific logon batch file per workstation (machine) ; logon script = %m.bat # run a specific logon batch file per username ; logon script = %U.bat # Where to store roving
Re: FreeBSD 6.0, amd64, A8N-SLI and 4gb ram
On Sat, 11 Feb 2006 23:19:07 +1100, Robert Leftwich [EMAIL PROTECTED] said: I've been running FreeBSD 6.0 stable on an A8N-SLI Premium amd64 box with 2gb of ram for a few weeks now and it has been running well, ...[snip] Forgot to mention, I'm running a kernel with 'options SMP' + GENERIC minus one or two of the non-applicable options. Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.0 on DVD
On Saturday 04 February 2006 13:38, Chris wrote: It would be nice if FBSD offered at least a torrent download of the DVD. If it's out there - where? I'm not sure about this, but aren't the DVD versions created by a third-party company? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.0 on DVD
RW wrote: On Saturday 04 February 2006 13:38, Chris wrote: It would be nice if FBSD offered at least a torrent download of the DVD. If it's out there - where? I'm not sure about this, but aren't the DVD versions created by a third-party company? Afaik, only BSDMall sells DVD versions. The release building Makefile doesn't haven an option to build a DVD, but I agree it would be a nice feature. Gabor Kovesdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba Problem
Warren Liddell wrote: When i try logging onto the FreeBSD machine from windows via samba, upon entering the username/pswd windows Automatically adds: fred/shinjii All i want it to have is just shinjii .. what am i missing and where do i go to fix this ? ___ Hi, Sorry, as well I meant to ask which version of MS-Windows are you running and what version of SAMBA. --Duane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SATA Raid
Be wary of any of the cheaper SATA RAID using si chips, there have been many problems noted you will find searching this list and the list for current. I had a lot of problems with an adaptec card that used one of those chips. Most of the cheaper cards just employ software raid, which is usually fine unless you need higher performance. Soren is the one to answer on what works well beyond the hardware list. Hope this helps. -Derek At 09:35 PM 2/10/2006, Robert Uzzi wrote: Anyone know of any of the cheaper SATA raid cards that work well under FreeBSD. I'd love to go get a 3ware but they are fairly pricey. ___ 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]
File verification script
Hello! I need a simple script that uses CFV to report on broken MP3 albums. All my MP3 albums contain an .sfv file that list MP3 tracks with their CRC values. I just need something simple like: ([EMAIL PROTECTED])(16:23:02/10/06) (%:~) verify curtis_mayfield-superfly_ost-1972: Corrupt miles_davis-four_and_more-reissue-2005: Corrupt sun_ra_and_his_outer_space_arkestra-nuclear_war-2002: Corrupt How would that look like? The reason I'd prefer something as simple as this, is because most SFV validation tools are so bloated with useless features. Anyway ... I have different SFV script though. It uses CFV to go into all MP3 albums containing an information file (.nfo) and then generating an SFV of the MP3 tracks, giving it the same name as the .nfo. For those who are curious, it looks like this: #!/usr/local/bin/bash # # Generate SFV and M3U based on NFO. # $ARBA: seal.sh,v 1.0 2007/11/11 15:09:05 vaaf Exp $ # # Requires CFV. # for file in `find -s $(pwd) -name \*.nfo`; do directory=`dirname ${file}` prefix=`basename ${file} | sed 's/.nfo//g'` current=`basename ${directory}` sfv=${directory}/${prefix}.sfv m3u=${directory}/${prefix}.m3u cd ${directory} rm -f *.sfv; rm -f *.m3u touch ${sfv}; cfv -Cq *.mp3 cat ${current}.sfv | awk '! /^;/' ${sfv} rm -f ${current}.sfv for mp3 in *.mp3; do echo ${mp3} ${m3u}; done echo $current: Done done Take care people! Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: daemontools - djbdns
On Thursday 09 February 2006 18:56, Cristian Mijea wrote: Ok. trying to follow Matt Simenson's DJBDNS on FreeBSD how-to from here: http://matt.simerson.net/computing/dns/djbdns-freebsd.shtml Now it writes that I must get the start up script from here: http://matt.simerson.net/computing/mail/toaster/services.txt All OK, just that the .txt file is missing. Can anyone please email it to me? That how-to is pretty-old, there is a local rc.d script now. You just need turn it on in /etc/rc.conf svscan_enable=YES and optionally set svscan_servicedir if you don't want to use /var/service. Some of the how-tos for DJBDNS use some really odd paths. It doesn't really matter where the service directory goes, since it should only contain links, but some people have the real dnscache directory under /etc which is a bad place to put it under FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Program for restarting stopped/crashed daemons
db wrote: Hi all I've been looking for a program to restart apache, postfix and my other server daemons when they stop/crash, but couldn't find a good one. I've read the sourcecode for sysutils/monit and sysutils/monitord but they seem to need /proc and insist on poll instead of using kqueue(2) and kevent(2). So before I start coding my own, can someone recommend a port or tell me why kevent(2) shouldn't be used for this? Best regards db ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Did you try djb's daemontools ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SDR GEM312P
Tom Grove wrote: aic7902 is the controller card...the board that has your scsi channels and such. SDR GEM318P 1 is the processor on the aforementioned board. It's similar to a regular motherboard in that you would have a things like ata0 and cpu0 except here you have ahd0 and ses0. Ok, thanks. But then again, what's its purpose? On other systems I only have ahd0 (or ahc0, or sym0, ...) and the drives. If ahd0 (or...) works somewhat as a bridge between the PCI bus and the SCSI bus, sends commands to drives and gets the answers, what does ses0 do? If the system works perfectly well without it, what does it add? bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: stale dependencies in pkgdb
On Friday 10 February 2006 20:35, Andrew wrote: think I've got it now. I believe I was correct in thinking that portupgrade usually takes care of dependencies; the portion that I was missing was that pkgdb catches what discrepancies do appear between what is installed and what is required. Try portmanager instead. Portupgrade, and the other package-tools installed by the portupgrade port, are highly dependent on the package database and need it to self-consistent. Portmanger uses the information in the port makefiles instead, which makes it much more robust. This also means it's working from information about how thing should be, rather than how they are/were. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Protecting Windows
Brian Astill wrote: On Fri, 10 Feb 2006 06:19 am, Romana Branden wrote: Brian Astill wrote: Interesting. The spiel on the Nuance website gave me that impression, too. However the Royal Society for the Blind in Adelaide tried v 7 (current is 8) and were VERY unimpressed. anything they recommend that we could test on crossover or wine? Yes - they use ZoomText 9 and Jaws 7. These aren't the same as DSN but do a somewhat similar job. FWIW, I did some localisation work for a product that supported the Jaws* reader for windows (cant remember the version). The Jaws software loaded in memory and it would get the handle for each object that had focus (a handle in Windows world is like a pointer to the object in the session...or something like that). Jaws would search a particular resource in that object and read it aloud. If that label didnt exist it'd fallback for the text in the object (which wasn't always ideal). Anyway, I'm pretty certain there are text-to-voice software for *BSD and GNU/Linux (avoiding flames from RMS ;) ). Maybe a similar approach could be taken under X? Not sure at all how you'd go about text based software that is not ncurses based (maybe a similar approach to lynx / links ? ). Voice to text is another BEAST altogether, and a lot harder than text to voice. Training of the software to your particular voice is the first part of the process, of course, but I doubt it ends there... (on the side... does Asterix support for voice-based menu selections? The technology for that (not voip itself, but the recognition bit) would be quite similar to what an end user would need, i would say) I'm sure there is a group somewhere doing something about this. anyway, http://www.tldp.org/HOWTO/Accessibility-HOWTO/index.html is an (old) start, i guess ;) Regards, Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mount changing mount point rights?
On 11 Feb 2006, at 08:44, Norberto Meijome wrote: thanks for the pointer. After mounting it, I did sudo chown betom: mnt_fld cd mnt_fld ls -la drwx-- 16 betom wheel512 Feb 11 12:07 . drwxr-x--- 50 betom betom 3072 Feb 11 11:47 .. [...] which looks ok to me.. but as soon as I unmount and mount again, it reverts to root:wheel That's very, very strange, and shouldn't be possible. What are you doing differently to me: # uname -v FreeBSD 6.1-PRERELEASE #19: Sun Feb 5 04:58:29 GMT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SHRIKE # dd if=/dev/zero of=/a/md bs=1000 count=6144000 # mdconfig -a -f /a/md md2 # geli init /dev/md2 # geli attach /dev/md2 # newfs -U /dev/md2.eli # mount /dev/md2.eli /mnt # ls -ld /mnt drwxr-xr-x 3 root wheel 512 Feb 11 15:15 /mnt # chown ceri:users /mnt # ls -ld /mnt drwxr-xr-x 3 ceri users 512 Feb 11 15:15 /mnt # umount /mnt # mount /dev/md2.eli /mnt # ls -ld /mnt drwxr-xr-x 3 ceri users 512 Feb 11 15:15 /mnt Ceri -- That must be wonderful! I don't understand it at all. -- Moliere PGP.sig Description: This is a digitally signed message part
Re: MBR blown away
I need help. I added a slice to a single hard drive dual-boot (windows) system and now I guess that scrambled my MBR. I get three options from the FreeBSD (5.4) boot manager: 1. DOS 2. FreeBSD 3. FreeBSD I can boot to FreeBSD (the new slice is fine) by choosing option 3 but the windows/dos option is fried. The MBR itself looks OK. According to that piece of menu you posted, you just added another bootable slice. So, there are now two bootable FreeBSD slices and one bootable Microsloth slice. Are you saying that the MS slice will no longer boot if you select '1' from the menu?If that is the case, it is not the MBR that was messed up. It is something in the MS slice - probably their boot sector. I don't even pretend to know how MS sets up theirs if it is any different from FreeBSD. But, the MBR is doing what it is supposed to do. It discovers all the bootable slices and makes a menu and transfers control to the selected slice. What happens after that is not the problem of the MBR. That may be bad news, I suppose. It might be easier to fix the MBR than the MS slice boot code if it is actually messed up. It might be as simple as you managed to mark the MS slice as not bootable in some way, but in that case, I wouldn't expect the MBR to be able to see that slice and put it in the menu as bootable. Did you use some utility to shrink the original two slices to fit in the new one? Or was there already unused space (previously unallocated) that you were using?Maybe the utility you used to shrink the other slices messed something up.You might need to go back to it and check it out. Was the MS slice an NTFS type file system? Many of the free utilities for resizing slices do not work properly on NTFS systems. So, it is possible, in that case, that the MS slice was not shrunk properly and so it got trashed at that stage. Just some thing to consider. Good luck, jerry My current strategy is to use boot0cfg: # boot0cfg -B But I'm a little squeemish. I don't want to be locked out of FreeBSD (I barely use Windows but I still would like it back for Visio). Any guidance? As per my comments above, I don't think rewriting the MBR will help any. /jrm -- Peter __ Find your next car at http://autos.yahoo.ca ___ 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]
Re: MBR blown away
Jerry McAllister wrote: I need help. I added a slice to a single hard drive dual-boot (windows) system and now I guess that scrambled my MBR. I get three options from the FreeBSD (5.4) boot manager: 1. DOS 2. FreeBSD 3. FreeBSD I can boot to FreeBSD (the new slice is fine) by choosing option 3 but the windows/dos option is fried. The MBR itself looks OK. According to that piece of menu you posted, you just added another bootable slice. So, there are now two bootable FreeBSD slices and one bootable Microsloth slice. Are you saying that the MS slice will no longer boot if you select '1' from the menu?If that is the case, it is not the MBR that was messed up. It is something in the MS slice - probably their boot sector. I don't even pretend to know how MS sets up theirs if it is any different from FreeBSD. But, the MBR is doing what it is supposed to do. It discovers all the bootable slices and makes a menu and transfers control to the selected slice. What happens after that is not the problem of the MBR. That may be bad news, I suppose. It might be easier to fix the MBR than the MS slice boot code if it is actually messed up. It might be as simple as you managed to mark the MS slice as not bootable in some way, but in that case, I wouldn't expect the MBR to be able to see that slice and put it in the menu as bootable. Did you use some utility to shrink the original two slices to fit in the new one? Or was there already unused space (previously unallocated) that you were using?Maybe the utility you used to shrink the other slices messed something up.You might need to go back to it and check it out. Was the MS slice an NTFS type file system? Many of the free utilities for resizing slices do not work properly on NTFS systems. So, it is possible, in that case, that the MS slice was not shrunk properly and so it got trashed at that stage. Just some thing to consider. Good luck, jerry My current strategy is to use boot0cfg: # boot0cfg -B But I'm a little squeemish. I don't want to be locked out of FreeBSD (I barely use Windows but I still would like it back for Visio). Any guidance? As per my comments above, I don't think rewriting the MBR will help any. /jrm -- Peter Hi, Just out of curiosity, did you try using sysinstall again to take a look at things? Maybe you can mark your Windows partition bootable? Trying this might at least tell you whether your Windows slice is fried or not. I know I seem to have some sort of trouble along these lines every time I do a fresh install because I'm always trying to run so many different systems on one machine. Windows just doesn't play nice. But so far I have always been able to get things straightened out. --Duane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: notebook multi-homed question
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lowell Gilbert Sent: Monday, February 06, 2006 4:36 PM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Subject: Re: notebook multi-homed question Robert Ken Francis [EMAIL PROTECTED] writes: Hello, This is probably a common hardware configuration. I have a wireless NIC in my notebook and a built-in NIC. My wireless NIC is 10 times slower than my built-in NIC so I prefer to just plug in the built-in NIC when I can. I would like to have them both going to the same router. In my Windows partition I have a Network Bridge to bridge together the NICs. The soft bridge has its own IP address. The advantage is that I don't have to configure anything or do anything. It just works. Is there a software bridge like this in FreeBSD? if_bridge(4) should do most of what you need, and even implements spanning tree, but it might take a little work to make sure that the wired connection gets the traffic when present... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.2/251 - Release Date: 2/4/2006 Thanks Lowell. It seems like you are the only one who replied. I tried if_bridge(4) but I don't think I got the configuration right, and Worse I ended up blowing out my wireless NIC... it no longer is able to ping local IP addresses but I can still surf the Internet. So for me I'm out of it. But for others is there a HOWTO? This has got to be a common problem for notebook and laptop users with a built-in NIC and a built-in or cardbus wireless NIC. Thanks in advance for any replies. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.6/257 - Release Date: 2/10/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba Problem
Warren Liddell wrote: On Saturday 11 February 2006 12:33, Duane Whitty wrote: Warren Liddell wrote: When i try logging onto the FreeBSD machine from windows via samba, upon entering the username/pswd windows Automatically adds: fred/shinjii All i want it to have is just shinjii .. what am i missing and where do i go to fix this ? - Hi, It might help if you could send a copy of your samba configuration file, usually it is located at /usr/local/etc/smb.conf This is where I would start looking for problems. Also read the smb.conf.default file as it gives good examples as a starting point. Attached is conf file #=== Global Settings = [global] # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH workgroup = WORKGROUP # server string is the equivalent of the NT Description field server string = Samba Server # Security mode. Defines in which mode Samba will operate. Possible # values are share, user, server, domain and ads. Most people will want # user level security. See the Samba-HOWTO-Collection for details. security = user # This option is important for security. It allows you to restrict # connections to machines which are on your local network. The # following example restricts access to two C class networks and # the loopback interface. For more examples of the syntax see # the smb.conf man page ; hosts allow = 192.168.1. 192.168.2. 127. # If you want to automatically load your printer list rather # than setting them up individually then you'll need this ;load printers = yes # you may wish to override the location of the printcap file ; printcap name = /etc/printcap # on SystemV system setting printcap name to lpstat should allow # you to automatically obtain a printer list from the SystemV spool # system ; printcap name = lpstat # It should not be necessary to specify the print system type unless # it is non-standard. Currently supported print systems include: # bsd, cups, sysv, plp, lprng, aix, hpux, qnx ; printing = cups # Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user nobody is used ; guest account = pcguest # this tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/log.%m # Put a capping on the size of the log files (in Kb). max log size = 50 # Use password server option only with security = server # The argument list may include: # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name] # or to auto-locate the domain controller/s # password server = * # password server = NT-Server-Name # Use the realm option only with security = ads # Specifies the Active Directory realm the host is part of ; realm = MY_REALM # Backend to store user information in. New installations should # use either tdbsam or ldapsam. smbpasswd is available for backwards # compatibility. tdbsam requires no further configuration. # passdb backend = tdbsam # Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting. # Note: Consider carefully the location in the configuration file of # this line. The included file is read at that point. ; include = /usr/local/etc/smb.conf.%m # Most people will find that this option gives better performance. # See the chapter 'Samba performance issues' in the Samba HOWTO Collection # and the manual pages for details. # You may want to add the following on a Linux system: # SO_RCVBUF=8192 SO_SNDBUF=8192 socket options = TCP_NODELAY # Configure Samba to use multiple interfaces # If you have multiple network interfaces then you must list them # here. See the man page for details. ; interfaces = 192.168.12.2/24 192.168.13.2/24 # Browser Control Options: # set local master to no if you don't want Samba to become a master # browser on your network. Otherwise the normal election rules apply ; local master = no # OS Level determines the precedence of this server in master browser # elections. The default value should be reasonable ; os level = 33 # Domain Master specifies Samba to be the Domain Master Browser. This # allows Samba to collate browse lists between subnets. Don't use this # if you already have a Windows NT domain controller doing this job ; domain master = yes # Preferred Master causes Samba to force a local browser election on startup # and gives it a slightly higher chance of winning the election ; preferred master = yes # Enable this if you want Samba to be a domain logon server for # Windows95 workstations. ; domain logons = yes # if you enable domain logons then you may want a per-machine or # per user logon script # run a specific logon batch file per workstation (machine) ; logon script = %m.bat # run a
Script to clean text files
Hello. Among other things, this script is suppose to add an empty line at the bottom of a file. But somehow it always removes the first line in a text file, how do I stop this? #!/usr/local/bin/bash # # Remove CRLF, trailing whitespace and double lines. # $ARBA: clean.sh,v 1.0 2007/11/11 15:09:05 vaaf Exp $ # for file in `find -s . -type f -not -name .*`; do if file -b $file | grep -q 'text'; then echo $file perl -i -pe 's/\015$//' $file perl -i -pe 's/[^\S\n]+$//g' $file perl -pi -00 -e 1 $file echo $file: Done fi done Thanks, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How get swedish keyboard on the consol after loggin on
After the system starts and before I log on to the system the keys and letters åäö and ÅÄÖ seem to work OK. But as soon as I log on they don't. Why is that? Thanks! /John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Samba Problem
[mailto:[EMAIL PROTECTED] On Behalf Of Warren Liddell Sent: Saturday, February 11, 2006 12:41 PM To: freebsd-questions@freebsd.org Subject: Re: Samba Problem On Saturday 11 February 2006 12:33, Duane Whitty wrote: Warren Liddell wrote: When i try logging onto the FreeBSD machine from windows via samba, upon entering the username/pswd windows Automatically adds: fred/shinjii All i want it to have is just shinjii .. what am i missing and where do i go to fix this ? - Hi, It might help if you could send a copy of your samba configuration file, usually it is located at /usr/local/etc/smb.conf This is where I would start looking for problems. Also read the smb.conf.default file as it gives good examples as a starting point. Attached is conf file 1. Check workstation is in the same workgroup 2. When you define your network path in Windows, make sure you use the connect using a different user name dialog box. 3. Make sure the password you use in (2) is the same as your samba password. 4. Note Windows will encrypt passwords by default. If this isn't working for you, you'll have to turn it off in the registry. -gayn Bristol Systems Inc. 714/532-6776 www.bristolsystems.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I can't mount my USB thumb drive or ipod -- no /dev/da*
I believe you need this entry in you kernel config file device pass It's in there already. I just didn't know that it was related... :) Thanks, ~Erin -- http://www.tuxgirl.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I can't mount my USB thumb drive or ipod -- no /dev/da*
try kldstat and see if da.ko is listed. if it isn't, try kldload da the problem is that while the machine see the usb device attached, it hasn't loaded the driver for the disk, hence the absense of anything in dmesg about da0... good luck. oh, the module might not be called da.ko exactly, but it will have a similar name. i'm not at my fbsd box now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: SATA Raid
Most of the cheaper cards just employ software raid, This isn't accurate. All cards, even so-called hardware raid cards, use software in their firmware. software raid refers to when the host CPU is doing the raid management, and that isn't what is happening with chips like the promise, highpoint, and intel ich that I posted. Those chips are mirroring/striping only, and do not offer raid 5 so there is no parity calculation going on. Instead, when the driver does a write to the chipset, the chipset duplicates the write between the disks. That is the same principle as the bigger and more powerful hardware raid cards like the compaq/hp intelligent array controller when they are in raid0 The only significant difference between a real raid card like the HP/Compaq intelligent array controller and the cheaper raid chipsets is that you cannot attach the cheaper ata raid chipsets to hot-swap disk drive cages, and pull out one of the hard drives while the server is in operation, replace it, and have the raid controller detect all this and silently rebuild the array without interrupting reads and writes to the host operating system. Instead, if a disk drive dies, you have to shut the server down, replace the drive, and reboot into the BIOS so you can run the utility that rebuilds the array. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Derek Ragona Sent: Saturday, February 11, 2006 5:40 AM To: Robert Uzzi; freebsd-questions@freebsd.org Subject: Re: SATA Raid Be wary of any of the cheaper SATA RAID using si chips, there have been many problems noted you will find searching this list and the list for current. I had a lot of problems with an adaptec card that used one of those chips. Most of the cheaper cards just employ software raid, which is usually fine unless you need higher performance. Soren is the one to answer on what works well beyond the hardware list. Hope this helps. -Derek At 09:35 PM 2/10/2006, Robert Uzzi wrote: Anyone know of any of the cheaper SATA raid cards that work well under FreeBSD. I'd love to go get a 3ware but they are fairly pricey. ___ 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] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.6/257 - Release Date: 2/10/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I can't mount my USB thumb drive or ipod -- no /dev/da*
try kldstat and see if da.ko is listed. if it isn't, try kldload da the problem is that while the machine see the usb device attached, it hasn't loaded the driver for the disk, hence the absense of anything in dmesg about da0... good luck. oh, the module might not be called da.ko exactly, but it will have a similar name. i'm not at my fbsd box now. I think you're probably getting to the right problem, but I'm still having a few issues. Here's what kldstat shows: [amon-re conf] kldstat Id Refs AddressSize Name 1 13 0xc040 63070c kernel 21 0xc0a31000 57c8 snd_ich.ko 32 0xc0a37000 1d408sound.ko 41 0xc0a55000 2364 accf_http.ko 51 0xc0a58000 a30c if_iwi.ko 6 16 0xc0a63000 568dcacpi.ko 71 0xc3079000 15000linux.ko I'm not seeing anything similar to da.ko there, but da.ko isn't right, and in looking through what shows up when I hit tab after kldload, I'm not seeing anything similar to it. The interesting thing is, some things like umass are not listed in kldstat, and yet I know that they're working. Does that mean that they're built-in instead of modules? or what? (sorry... i'm stll really new to *bsd). Anyway, if anybody knows what the actual name for the module I'm looking for is, I'd appreciate it. I'm also curious why it's not just working automagically, like it seems to do for many people. Thanks a ton! ~Erin -- http://www.tuxgirl.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Xeon CPU temp
Wasn't sure if this would be better directed to -hardware. I'm attempting to read the temperatures of my CPUs on my dual Xeon Tyan 2720 running 5.4-STABLE. According to the manual, the motherboard has supports diagnostics via smbus, so I dutifully built a new kernel with the smbus and i2c options. The docs says Winbond 83782D is accessible on slave 0x29 for CPU fans, voltage and system temperature. The W83627HF at slave 0x2A has 3 addtional chassis fan sensors. So far, no problem. I've been able to read these via healthd, xmbmon or lmmon. I've fiddled with them a bit to make sure they're looking at the right slave address, but other than that reading the smbus makes sense. Here's where I'm stuck. The manual says the Xeons have on-chip thermal sensors at slave 0x18 0x19, both at bank 0 and register 0. When I try to read these, I get a Device not configured error from the ioctl call. I've come across a few refs to the hw.acpi.thermal.tz1.temperature sysctl, but that OID's apparently not available to me. Any suggestions? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I can't mount my USB thumb drive or ipod -- no /dev/da*
I think you're probably getting to the right problem, but I'm still having a few issues. Here's what kldstat shows: [amon-re conf] kldstat Id Refs AddressSize Name 1 13 0xc040 63070c kernel 21 0xc0a31000 57c8 snd_ich.ko 32 0xc0a37000 1d408sound.ko 41 0xc0a55000 2364 accf_http.ko 51 0xc0a58000 a30c if_iwi.ko 6 16 0xc0a63000 568dcacpi.ko 71 0xc3079000 15000linux.ko I'm not seeing anything similar to da.ko there, but da.ko isn't right, and in looking through what shows up when I hit tab after kldload, I'm not seeing anything similar to it. The interesting thing is, some things like umass are not listed in kldstat, and yet I know that they're working. Does that mean that they're built-in instead of modules? or what? (sorry... i'm stll really new to *bsd). Anyway, if anybody knows what the actual name for the module I'm looking for is, I'd appreciate it. I'm also curious why it's not just working automagically, like it seems to do for many people. Someone on ##freebsd suggested that i try rebooting with the ipod plugged in, so I tried that. Right after detecting my hard drive and my dvd burner, the system just hung for about a minute and a half until i unplugged the ipod. Then, it printed something about umass0 detatched (it went by really fast), and then it continued booting. I tried rebooting again, this time with my thumb drive, and it booted fine, but i still didn't have /dev/da* and dmesg still didn't have any more information than before. I tried it also with a full power-off between each part, but the only difference was that this time, the kernel panicked when i unplugged the ipod after a couple minutes of hanging... Anyway, maybe that will give someone an idea as to what could be causing this? Thanks, ~Erin -- http://www.tuxgirl.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fbdesk or idesk for fluxbox icons?
On Sat, Feb 11, 2006 at 02:45:47AM -0500, Xn Nooby wrote: I'm trying to figure out fbdesk, but there is amazingly little to go on. Does anyone have any sample config files? Or should I be using idesk? I have fluxbox 0.9.14 on FreeBSD 6.0. I also sometimes can't get rid of the fluxbox menu, which is highly annoying. thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Since I don't use the fbdesk or idesk only thing I can help you with is the menu. I am using fluxbox 0.1.14. To hide the main menu again, right click on the menu title. maybe this will help for fbdesk... http://fluxbox.sourceforge.net/fbdesk/ -- FreeBSD 6.0-RELEASE i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xeon CPU temp
hello, try reading up on cpufreq and the acpi thermal sensors as i beleive they arn't loaded by a generic kernel you acpi_thermal i beleive it's called. Regards, Chris Wasn't sure if this would be better directed to -hardware. I'm attempting to read the temperatures of my CPUs on my dual Xeon Tyan 2720 running 5.4-STABLE. According to the manual, the motherboard has supports diagnostics via smbus, so I dutifully built a new kernel with the smbus and i2c options. The docs says Winbond 83782D is accessible on slave 0x29 for CPU fans, voltage and system temperature. The W83627HF at slave 0x2A has 3 addtional chassis fan sensors. So far, no problem. I've been able to read these via healthd, xmbmon or lmmon. I've fiddled with them a bit to make sure they're looking at the right slave address, but other than that reading the smbus makes sense. Here's where I'm stuck. The manual says the Xeons have on-chip thermal sensors at slave 0x18 0x19, both at bank 0 and register 0. When I try to read these, I get a Device not configured error from the ioctl call. I've come across a few refs to the hw.acpi.thermal.tz1.temperature sysctl, but that OID's apparently not available to me. Any suggestions? ___ 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]
Re: fbdesk or idesk for fluxbox icons?
That also works on closing the fbdesk menu, thanks! On 2/11/06, ajm [EMAIL PROTECTED] wrote: On Sat, Feb 11, 2006 at 02:45:47AM -0500, Xn Nooby wrote: I'm trying to figure out fbdesk, but there is amazingly little to go on. Does anyone have any sample config files? Or should I be using idesk? I have fluxbox 0.9.14 on FreeBSD 6.0. I also sometimes can't get rid of the fluxbox menu, which is highly annoying. thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Since I don't use the fbdesk or idesk only thing I can help you with is the menu. I am using fluxbox 0.1.14. To hide the main menu again, right click on the menu title. maybe this will help for fbdesk... http://fluxbox.sourceforge.net/fbdesk/ -- FreeBSD 6.0-RELEASE i386 GENERIC ___ 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]
RE: SATA Raid
None of there are relevant since the only add in card is UDMA 100 not SATA different chipsets. The others are built in's and not add in cards. Here's some output from 3 of my servers with different ide raid, judge for yourself: Server #1: FreeBSD 6.0, Promise udma raid chip on motherboard: www# dmesg . . ad4: 114473MB Seagate ST3120026A 8.01 at ata2-master UDMA100 ad6: 114473MB Seagate ST3120026A 8.01 at ata3-master UDMA100 Waiting 5 seconds for SCSI devices to settle ar0: 114440MB Promise Fasttrak RAID1 status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master . . www# atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: acd0 Pioneer CD-ROM ATAPI Model DR-944 0107/E1.07 ATA/ATAPI revision 4 Slave: no device present ATA channel 2: Master: ad4 ST3120026A/8.01 ATA/ATAPI revision 6 Slave: no device present ATA channel 3: Master: ad6 ST3120026A/8.01 ATA/ATAPI revision 6 Slave: no device present www# atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: READY Server #2 FreeBSD 5.4 Adaptec ATA RAID 1200A (Highpoint Rocket Raid 100) on a pci card # dmesg . . . atapci0: HighPoint HPT370 UDMA100 controller port 0xd800-0xd8ff,0xdfe0-0xdfe3,0xdfa8-0xdfaf,0xdfe4-0xdfe7,0xdff0-0xdff7 irq 9 at device 10.0 on pci2 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 . . . ad4: 152627MB ST3160023A/8.01 [310101/16/63] at ata2-master UDMA100 ad6: 152627MB ST3160023A/3.01 [310101/16/63] at ata3-master UDMA100 ar0: 152627MB ATA RAID1 array [19457/255/63] status: READY subdisks: disk0 READY on ad4 at ata2-master disk1 READY on ad6 at ata3-master . . . # atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: acd0 CDU5211/YYS7 ATA/ATAPI revision 0 Slave: no device present ATA channel 2: Master: ad4 ST3160023A/8.01 ATA/ATAPI revision 6 Slave: no device present ATA channel 3: Master: ad6 ST3160023A/3.01 ATA/ATAPI revision 6 Slave: no device present # # atacontrol status 0 ar0: ATA RAID1 subdisks: ad4 ad6 status: READY # Server #3 FreeBSD 6.0-RELEASE #0: Intel ICH5R/6300ESB SATA150 RAID chip on motherboard #dmesg . . . atapci1: Intel 6300ESB SATA150 controller port 0xe400-0xe407,0xe000-0xe003,0xd c00-0xdc07,0xd800-0xd803,0xd400-0xd40f irq 18 at device 31.2 on pci0 atapci1: failed to enable memory mapping! ata2: ATA channel 0 on atapci1 ata3: ATA channel 1 on atapci1 . . . ad4: 286168MB Seagate ST3300831AS 3.03 at ata2-master SATA150 ad6: 286168MB Seagate ST3300831AS 3.03 at ata3-master SATA150 ar0: 286168MB Adaptec HostRAID RAID1 status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master . . . mail# atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: acd0 TSSTcorpCD/DVDW TS-H552U/US06 ATA/ATAPI revision 0 Slave: no device present ATA channel 2: Master: ad4 ST3300831AS/3.03 Serial ATA v1.0 Slave: no device present ATA channel 3: Master: ad6 ST3300831AS/3.03 Serial ATA v1.0 Slave: no device present mail# mail# atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: READY mail# Ted Mittelstaedt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Uzzi Sent: Friday, February 10, 2006 7:35 PM To: freebsd-questions@freebsd.org Subject: SATA Raid Anyone know of any of the cheaper SATA raid cards that work well under FreeBSD. I'd love to go get a 3ware but they are fairly pricey. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.5/256 - Release Date: 2/10/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: formatting text from within vi
On 2006-02-11 13:46, David Banning [EMAIL PROTECTED] wrote: I am familiar with the !}fmt used in vi to reformat a paragraph, but I wondered how, or if it is possible to do more complex formatting. I am thinking specifically of numbering, or creating points. I am familiar with the .AL .LI point 1 .LI point 2 .LE that can be run with nroff -mm, but I notice that it can not be run successfully with, say !}nroff -mm from within vi. For simpler numbering of lines, you can use }!nl Or even !}cat -n For more complex formatting, I usually resort to the block-editing features or editors/vim-lite or to Emacs, which is my favorite :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I can't mount my USB thumb drive or ipod -- no /dev/da*
In message [EMAIL PROTECTED], Erin S harmahd writes: I'm a bit of a newbie, but I've done a good bit of research, and some asking around on this issue, and haven't been able to resolve it yet.=20 I'm using FreeBSD 6.0 RELEASE with the GENERIC kernel. (from what i can tell, it has all of the necessary pieces to allow usb drives). When I plug my ipod into my computer, dmesg gets the following addition: umass0: Apple iPod mini, rev 2.00/0.01, addr 2 However, that's all that appears there relative to it. From google, I found that plugging in an ipod or a usb thumb drive should add a /dev/da0 (or similar) entry to /dev, which you should mount. I still don't have a /dev/da*, and I actually checked, and nothing is getting added to /dev when I plug the ipod in. Unfortunately a number of Apple iPod devices don't work with 6.0 release. FreeBSD sends a command to the device that causes the iPod USB interface to get confused and it stops responding. This was fixed in 6-stable, so you'll need to upgrade or patch the kernel to get it to work. You could also just manually remove the offending code. The change you need to make is in /usr/src/sys/dev/usb/usb_subr.c. Find the usbd_setup_pipe() function, and then put a '#if 0' and '#endif' around the code for clearing stall conditions, i.e.: #if 0 /* Clear any stall and make sure DATA0 toggle will be used next. */ if (UE_GET_ADDR(ep-edesc-bEndpointAddress) != USB_CONTROL_ENDPOINT) { err = usbd_clear_endpoint_stall(p); ... return (err); } } #endif Then recompile and install the kernel, reboot, and the iPod should work. Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: formatting text from within vi
On Sat, Feb 11, 2006, David Banning wrote: I am familiar with the !}fmt used in vi to reformat a paragraph, but I wondered how, or if it is possible to do more complex formatting. You can format any line or block of text in vi(m) by passing it through an arbitrary filter program. I have this line in my ~/.vimrc file which formats whatever paragraph the cursor is in by running through a script I wrote that formats its standard using ``groff -mm''. The ``{'' positions the cursor at the beginning of the paragraph and the ``!}'' says filter to the end of the paragraph. map F5 {!}gfmt You can also type a command on a line, and execute it replacing the contents of the line with the output of the program. If I want to get copies of all my signature files containing the text ``democracy'' I could enter the following line, place the cursor somplace in that line, and press ``!!shRETURN''. cat `grep -li democracy ~/.signature.*` Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 Those who profess to favor freedom, and yet depreciate agitation, are men who want rain without thunder and lightning. They want the ocean without the roar of its many waters. -- Frederick Douglass ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Additional Hard Drive Prblems
Hello Everyone, Thanks in advanced for helping me. I am doing a new install of FreeBSD 6.0 RELEASE My computer is a Dell PowerEdge 400sc I have 2 hard drives installed in the computer: 1 80GB IDE hard drive and 1 200 GB SATA hard drive I can install FreeBSD on the IDE drive (detected as ad0) fine and have no problems. The issue arises after the install when I try to fdisk and Label the SATA drive (detected as ad4). I want to use the SATA drive as a depot of sorts to hold all my media. I use sysinstall after the installation to slice and label the drive. After I do this and reboot FreeBSD will not boot properly. I usually get just a blinking cursor where the boot loader should be or an invalid partition error. I have tried installing with a boot loader, without a boot loader, I have verified I am slicing and labeling the correct disk. I'm kind of at my wits end. I have reloaded about 10 times trying various ideas. Any ideas on what I could be doing wrong? Thanks for any help given. Devin Miller _ avast! Antivirus http://www.avast.com : Outbound message clean. Virus Database (VPS): 0606-4, 02/10/2006 Tested on: 2/11/2006 3:28:47 PM avast! - copyright (c) 1988-2005 ALWIL Software. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Program for restarting stopped/crashed daemons
On Saturday 11 February 2006 16:37, you wrote: Did you try djb's daemontools ? I'll take a look, thanks. br db ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I can't mount my USB thumb drive or ipod -- no /dev/da*
Unfortunately a number of Apple iPod devices don't work with 6.0 release. FreeBSD sends a command to the device that causes the iPod USB interface to get confused and it stops responding. This was fixed in 6-stable, so you'll need to upgrade or patch the kernel to get it to work. You could also just manually remove the offending code. The change you need to make is in /usr/src/sys/dev/usb/usb_subr.c. Find the usbd_setup_pipe() function, and then put a '#if 0' and '#endif' around the code for clearing stall conditions, i.e.: #if 0 /* Clear any stall and make sure DATA0 toggle will be used next. */ if (UE_GET_ADDR(ep-edesc-bEndpointAddress) != USB_CONTROL_ENDPOINT) { err = usbd_clear_endpoint_stall(p); ... return (err); } } #endif Then recompile and install the kernel, reboot, and the iPod should work. Will this help, even though I can't mount any usb thumb drives or anything like that? ~Erin -- http://www.tuxgirl.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Script to clean text files
in message [EMAIL PROTECTED], wrote Kristian Vaaf thusly... Among other things, this script is suppose to add an empty line at the bottom of a file. But somehow it always removes the first line in a text file, how do I stop this? Can you provide a small sample file complete w/ things that you want to remove? #!/usr/local/bin/bash # # Remove CRLF, trailing whitespace and double lines. What are double lines? # $ARBA: clean.sh,v 1.0 2007/11/11 15:09:05 vaaf Exp $ # for file in `find -s . -type f -not -name .*`; do if file -b $file | grep -q 'text'; then echo $file perl -i -pe 's/\015$//' $file perl -i -pe 's/[^\S\n]+$//g' $file Why do you have two perl runs? More importantly, you will remove anything which is not whitespace or not newline. That means, in the end, you should have a file filled w/ whitespace only. perl -pi -00 -e 1 $file echo $file: Done fi done To remove CRLF, trailing whitespace, and 2 consecutive blank lines ... { tr -d '\r' $file \ | sed -E -e 's/[[:space:]]+$//' \ | cat -s - ${file}.tmp } mv -f ${file}.tmp $file - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How get swedish keyboard on the consol after loggin on
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have a Swedish keyboard layout in X11, this is done in the xorg.conf. For the console you should put keymap=swedish.iso in /etc/rc.conf and take a look into the handbook [1]. If you need more help, the Swedish FreeBSD forum [2] could be helpful. [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/lang-setup.html [2] http://www.freebsd.se/forum/ on 02/11/06 17:52 John S said the following: After the system starts and before I log on to the system the keys and letters åäö and ÅÄÖ seem to work OK. But as soon as I log on they don't. Why is that? Thanks! /John - -- Mit freundlichem Gruß, With best regards, Simon Olofsson http://www.olofsson.de GPG-Key: 0x3D001BE0 http://www..olofsson.de/simon/keys/simon_olofsson.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD7l35RM/k9z0AG+ARAkFGAKCdWlibIi6PzVhYaOoKycLvY3nxRACfYwj7 QDbEDJ04B4MKSBhk2QYETR0= =PEE8 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD compiles to what POSIX or XPG?
I have tried google, and tried bsdfourms. Now I'll put my hope to this list instead. Does FreeBSD compiles to the POSIX or X/Open Portability Guide XPG/1, /2, /3, /4 standards? I have found out that Aix,HP-UX,Solaris are three of them that compiles to this standard. So all systems that goes under Unix follow these standars. I would be very interestead of a link to a document saying weither or not FreeBSD compiles to any of the above mentioned standards. With regards Goran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Additional Hard Drive Prblems
It sounds like your computer is trying to boot from the sata drive. Check the boot order in your BIOS and make sure it is set to boot the ide drive first. Hope this helps. -Derek At 02:28 PM 2/11/2006, Devin Miller wrote: Hello Everyone, Thanks in advanced for helping me. I am doing a new install of FreeBSD 6.0 RELEASE My computer is a Dell PowerEdge 400sc I have 2 hard drives installed in the computer: 1 80GB IDE hard drive and 1 200 GB SATA hard drive I can install FreeBSD on the IDE drive (detected as ad0) fine and have no problems. The issue arises after the install when I try to fdisk and Label the SATA drive (detected as ad4). I want to use the SATA drive as a depot of sorts to hold all my media. I use sysinstall after the installation to slice and label the drive. After I do this and reboot FreeBSD will not boot properly. I usually get just a blinking cursor where the boot loader should be or an invalid partition error. I have tried installing with a boot loader, without a boot loader, I have verified I am slicing and labeling the correct disk. I'm kind of at my wits end. I have reloaded about 10 times trying various ideas. Any ideas on what I could be doing wrong? Thanks for any help given. Devin Miller _ avast! Antivirus http://www.avast.com : Outbound message clean. Virus Database (VPS): 0606-4, 02/10/2006 Tested on: 2/11/2006 3:28:47 PM avast! - copyright (c) 1988-2005 ALWIL Software. ___ 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]
Re: 6.0 on DVD
If it's out there - where? I'm not sure about this, but aren't the DVD versions created by a third-party company? ___ well i created 8.5GB DVD version of FreeBSD 6.0/amd64 by myself for personal use. it is original install CD+all binary packages available on FTP. then i have to delete unpacked /usr/share/doc/ from CD to fit :) ___ 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.0, amd64, A8N-SLI and 4gb ram
off, then everything works, but FreeBSD can only see 3gb of ram. Some documentation suggested a custom kernel with 'options PAE' enabled would be required, but adding that generates an 'invalid option PEA' ^ is it typo now or in kernel config? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pear problem
On Fri, Feb 10, 2006 at 10:25:12PM +0100, Albert Shih wrote: On a FreeBSD 5.4-p8 I've a problem to install pear ports. Do you use nss-ldap/pam-ldap on this machine? the ports install stop with core dump (php.core). Anyone have this problem ? Several people have reported problems like this, all of them use nss-ldap. I could get around the problem when I disabled 2 php4-modules: imagick and xslt (just commented them out in /usr/local/etc/php/extensions.ini). Uwe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I can't mount my USB thumb drive or ipod -- no /dev/da*
Erin Sharmahd wrote: try kldstat and see if da.ko is listed. if it isn't, try kldload da the problem is that while the machine see the usb device attached, it hasn't loaded the driver for the disk, hence the absense of anything in dmesg about da0... good luck. oh, the module might not be called da.ko exactly, but it will have a similar name. i'm not at my fbsd box now. I think you're probably getting to the right problem, but I'm still having a few issues. Here's what kldstat shows: [amon-re conf] kldstat Id Refs AddressSize Name 1 13 0xc040 63070c kernel 21 0xc0a31000 57c8 snd_ich.ko 32 0xc0a37000 1d408sound.ko 41 0xc0a55000 2364 accf_http.ko 51 0xc0a58000 a30c if_iwi.ko 6 16 0xc0a63000 568dcacpi.ko 71 0xc3079000 15000linux.ko I'm not seeing anything similar to da.ko there, but da.ko isn't right, and in looking through what shows up when I hit tab after kldload, I'm not seeing anything similar to it. The interesting thing is, some things like umass are not listed in kldstat, and yet I know that they're working. Does that mean that they're built-in instead of modules? or what? (sorry... i'm stll really new to *bsd). Anyway, if anybody knows what the actual name for the module I'm looking for is, I'd appreciate it. I'm also curious why it's not just working automagically, like it seems to do for many people. IANAE, but try atapicam.ko --- see atapicam(4). My box loads it, and I've no issues with my USB thumb drive, apart from my discovery that if you use usbd.conf to mount it automagically when it's inserted, you can't use usbd.conf to umount it when it's detached ... sort of a chicken/egg issue that makes perfect sense in my more lucid moments. Thanks a ton! ~Erin A ton of what? ;-) H.A.N.D.! Kevin Kinsey -- What no spouse of a writer can ever understand is that a writer is working when he's staring out the window. ___ 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.0, amd64, A8N-SLI and 4gb ram
On Sun, 12 Feb 2006 00:10:34 +0100 (CET), Wojciech Puchar [EMAIL PROTECTED] said: off, then everything works, but FreeBSD can only see 3gb of ram. Some documentation suggested a custom kernel with 'options PAE' enabled would be required, but adding that generates an 'invalid option PEA' ^ is it typo now or in kernel config? Typo is now (unfortunately), it says 'invalid option PAE' Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Desktop/X Integration
Is there a way to combine a desktop in a window maker? I have installed kde and afterstep.I can use the features like konqueror on afterstep, b ut I can't add icons to afterstep. Do I open kde first, and add afterstep after that? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I need help to install
Hi. I want to install FreeBSD in my toshiba satellite A80-117 laptop, but when im in the first menu when i choose the option default, start to loading the kernel and the computer hang up, with the option of no ACPI too. The laptop has: Celeron M 1.4Ghz 256MB of RAM 40GB of Hard Drive. Atheros wireless Realtek LAN 10/100 ATI 9002 graphic card. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ifconfig wepkey on 6.0
hi all... according to the man page of ifconfig in 6.0 the wepkey should be 5 or 13 characters. the wep key i always had is way longer than 13 characters 128 bit - one key only.. so when i try to set it up to the wi0 i get: # ifconfig wi0 wepkey 1:0xWEPKEY128BITENCRYPTIONBLAHBLA ifconfig: SIOCS80211: Invalid argument this worked fine in 5.4.. any solution? thanks... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MBR blown away
--- Jerry McAllister [EMAIL PROTECTED] wrote: I need help. I added a slice to a single hard drive dual-boot (windows) system and now I guess that scrambled my MBR. I get three options from the FreeBSD (5.4) boot manager: 1. DOS 2. FreeBSD 3. FreeBSD I can boot to FreeBSD (the new slice is fine) by choosing option 3 but the windows/dos option is fried. The MBR itself looks OK. According to that piece of menu you posted, you just added another bootable slice. So, there are now two bootable FreeBSD slices and one bootable Microsloth slice. The thing is, I never ran the boot manager after changing the (existing FAT32) windows partition to a FreeBSD slice. The boot manager config would be the same and so it continues to list DOS as a bootable partition when it is/may not. Are you saying that the MS slice will no longer boot if you select '1' from the menu?If that is the case, it is not the MBR that was messed up. Correct, I chose '1' and then the system hangs (no messages/errors). It is something in the MS slice - probably their boot sector. I don't even pretend to know how MS sets up theirs if it is any different from FreeBSD. But, the MBR is doing what it is supposed to do. It discovers all the bootable slices and makes a menu and transfers control to the selected slice. What happens after that is not the problem of the MBR. I don't think the MBR discovers anything. It is pre-defined to just point to the bootable partitions. And it is the boot manager that creates the menu probably by looking at the MBR. AFAIK, the boot manager must be explicitly instructed to do that (sysintall must provide this instruction during a full install). Did you use some utility to shrink the original two slices to fit in the new one? Or was there already unused space (previously unallocated) that you were using? I simply converted a 6GB FAT32 partition into a UFS2 slice (chopped into three 2GB partitions). -- Peter __ Find your next car at http://autos.yahoo.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
help on network card
I have a Linksys Wireless-B network adapter. Its model No.WPC11. I can't make it work on freeBSD. I tried the ndis molecule like it says on the Handbook. It turned on but I can't make it go online. Using ifconfig -a won't see it. Any way to make it work? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I can't mount my USB thumb drive or ipod -- no /dev/da*
In message [EMAIL PROTECTED], Erin Sharmahd writes: Will this help, even though I can't mount any usb thumb drives or anything like that? It's definitely worth a try. People have reported exactly this issue with both recent iPods, and PNY Attache devices. In the case of the iPods, removing the stall-clearing code was reported to fix the problem, but I don't know whether it will help with the thumb drive. Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: I need help to install
There is a laptop question list which you should post at. I think its called mobile. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Moises Castellanos Sent: Saturday, February 11, 2006 7:00 PM To: freebsd-questions@freebsd.org Subject: I need help to install Hi. I want to install FreeBSD in my toshiba satellite A80-117 laptop, but when im in the first menu when i choose the option default, start to loading the kernel and the computer hang up, with the option of no ACPI too. The laptop has: Celeron M 1.4Ghz 256MB of RAM 40GB of Hard Drive. Atheros wireless Realtek LAN 10/100 ATI 9002 graphic card. ___ 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]
RE: help on network card
Is the card found in the boot process? There should be some messages in the boot log if the card is found. Maybe the driver for your card is not part of the base install system. You may have to compile the kernel to include support for your card. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jose Jesus Ortega Sent: Saturday, February 11, 2006 7:31 PM To: [EMAIL PROTECTED] Subject: help on network card I have a Linksys Wireless-B network adapter. Its model No.WPC11. I can't make it work on freeBSD. I tried the ndis molecule like it says on the Handbook. It turned on but I can't make it go online. Using ifconfig -a won't see it. Any way to make it work? ___ 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]
Re: ifconfig wepkey on 6.0
according to the man page of ifconfig in 6.0 the wepkey should be 5 or 13 characters ^ascii comes out to a bit more in hex :-) just enter wepkey 309EFC5AB8 what do you mean? i'm confused now... sorry. the key is generated by the point - wireless router. and i get an hex string back.. no matter what i put in as password (or how many ascii characters) i always get the 128 bit hex. so when i try it with ifconfig i always get the same error - even without the index and the 0x... ifconfig: SIOCS80211: Invalid argument randy thanks... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Will FreeBSD run on an Intel Pentium II with 32MB RAM ??
On Thu, Feb 02, 2006 at 11:46:48AM +0530, Pranav Peshwe wrote: Hello, I have a machine with an Intel Pentium II processor and 32 MB of RAM.Will i be able to run FreeBSD 5.4 on it ? Where are you? I have a biscuit box and a half of 72pin EDO and old SDRAM... Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dell 530 RAID 5 Recommendations
I am considering using FreeBSD 6 on an old Dell Precision Workstation 530 MT. It has Dual Xeon 1.5 GHz CPUs, 4 x Fujitsu AIC-7892A MAJ3182M SCSI HDs, 1 GB RDRAM, Nvidia Elsa Gloria II Pro video, Integrated 3Com NIC, Lynksys Wireless-G USB network adapter, and Integrated Adaptec AIC-7892 SCSI controller. I would like to setup RAID 5. The intended use is in my home network as a personal SOA/J2EE/MySQL development box and family file server. Please review and comment on my assumptions: 1) FreeBSD 6-STABLE has fixed any 5.X SMP issues. 2) I will need an additional RAID controller card. 3) FreeBSD has issues similar to the folks at OpenBSD (my firewall OS) regarding Adaptec - http://www.openbsd.org/i386.html: we do not recommend the Adaptec cards for use. * Adaptec AAC-2622, AAC-364, AAC-3642, 2200S, 2410SA, 2610SA, 2810SA, 21610SA I would appreciate some recommendations with a focus on price/performance. Thanks, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Samba vulnerability make problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Was trying to setup apsfilter to be able to print to my winbox printer. Got as far as the follwing: === apsfilter-7.2.6_2 depends on executable: smbclient - not found ===Verifying install for smbclient in /usr/ports/net/samba === samba-2.2.12_2 has known vulnerabilities: = samba -- integer overflow vulnerability. Reference: http://www.FreeBSD.org/ports/portaudit/3b3676be-52e1-11d9-a9e7-0001020eed82.html = Please update your ports tree and try again. *** Error code 1 Stop in /usr/ports/net/samba. *** Error code 1 Stop in /usr/ports/print/apsfilter. *** Error code 1 Stop in /usr/ports/print/apsfilter. Script done on Sat Feb 11 20:01:52 2006 I've got portaudit installed the database was just updated several days ago, as well as the ports with portsnap portupgrade. Have checked the last week or so of the cvs mailing list for samba found nothing, so I didn't rerun portsnap portupgrade. Already so many dependencies installed for apsfilter, I hated to update anything else right in the middle of all of this. Tried running the make command with -DIGNORE_VULNERABILITIES but still no dice. Any advice, pointers to reading up on it, help, appreciated. Denny White Please do not CC me. Already subscribed to mailing list. GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (OpenBSD) iD8DBQFD7krBy0Ty5RZE55oRAmQBAJ98IKinB70kHj56nIP9LkyZofhLogCgyHGM e0fTVOrU1FaXtS7KsJOUWLo= =rdeN -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: installation of FreeBSD 6.0
(Some data deleted) What happens is that I first get a message ?Building the boot loader arguments? on one line, and shortly afterwards the message ?Relocating the loader and the BTX? on another line. After a delay of about 11 minutes, a third line appears containing the message ?Starting the BTX loader?. I let the system run for about an hour and a half but no more messages appeared, nor did the computer indicate that the installation had completed. The only thing in my machine that I think could be ?not working? with the installation program is my BIOS . Here is all the information I have about my BIOS . It names itself as ?Energy Star Ally? written by Award Software Inc. and that it is an ?Award Modular BIOS? with ?Award Plug Play BIOS extension v1.0A?. Its ID is v4.6OPGMA (the character between the 6 the P is a vertical ellipse with a dot at its center, it is either zero or oh ). How did you install it? (Two floppy disks / CD) Did you get to the install screen? (sysinstall) I tried to install from a CDROM set (of 2). I never did get to the install screen. I tried simply booting the first CDROM and it gave out those three lines. Similarly when I booted into my current system (4.3), mounted the first CDROM , and then typed /cdrom/stand/sysinstall. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Will FreeBSD run on an Intel Pentium II with 32MB RAM ??
On 2/11/06, Chris Whitehouse [EMAIL PROTECTED] wrote: On Thu, Feb 02, 2006 at 11:46:48AM +0530, Pranav Peshwe wrote: Hello, I have a machine with an Intel Pentium II processor and 32 MB of RAM.Will i be able to run FreeBSD 5.4 on it ? Where are you? I have a biscuit box and a half of 72pin EDO and old SDRAM... Same here. But to answer, yes, it will run fine, albeit a tad slow. You will probably not want to try installing X11, though I'm fairly certain it will run. Poking kde atop that would be a laugh. Compiling jdk-1.5 would probably take four-thousand moltons! -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: installation of FreeBSD 6.0
(Some data deleted) What happens is that I first get a message ?Building the boot loader arguments? on one line, and shortly afterwards the message ?Relocating the loader and the BTX? on another line. After a delay of about 11 minutes, a third line appears containing the message ?Starting the BTX loader?. I let the system run for about an hour and a half but no more messages appeared, nor did the computer indicate that the installation had completed. The only thing in my machine that I think could be ?not working? with the installation program is my BIOS . Here is all the information I have about my BIOS . It names itself as ?Energy Star Ally? written by Award Software Inc. and that it is an ?Award Modular BIOS? with ?Award Plug Play BIOS extension v1.0A?. Its ID is v4.6OPGMA (the character between the 6 the P is a vertical ellipse with a dot at its center, it is either zero or oh ). How did you install it? (Two floppy disks / CD) Did you get to the install screen? (sysinstall) I tried to install from a CDROM set (of 2). I never did get to the install screen. I tried simply booting the first CDROM and it gave out those three lines. Similarly when I booted into my current system (4.3), mounted the first CDROM , and then typed /cdrom/stand/sysinstall. Where did you get your install cd from?? If you burned a downloaded iso file, did you run md5 to verify the checksum so you know its good? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MBR blown away
--- Jerry McAllister [EMAIL PROTECTED] wrote: I need help. I added a slice to a single hard drive dual-boot (windows) system and now I guess that scrambled my MBR. I get three options from the FreeBSD (5.4) boot manager: 1. DOS 2. FreeBSD 3. FreeBSD I can boot to FreeBSD (the new slice is fine) by choosing option 3 but the windows/dos option is fried. The MBR itself looks OK. According to that piece of menu you posted, you just added another bootable slice. So, there are now two bootable FreeBSD slices and one bootable Microsloth slice. The thing is, I never ran the boot manager after changing the (existing FAT32) windows partition to a FreeBSD slice. The boot manager config would be the same and so it continues to list DOS as a bootable partition when it is/may not. Are you saying that the MS slice will no longer boot if you select '1' from the menu?If that is the case, it is not the MBR that was messed up. Correct, I chose '1' and then the system hangs (no messages/errors). It is something in the MS slice - probably their boot sector. I don't even pretend to know how MS sets up theirs if it is any different from FreeBSD. But, the MBR is doing what it is supposed to do. It discovers all the bootable slices and makes a menu and transfers control to the selected slice. What happens after that is not the problem of the MBR. I don't think the MBR discovers anything. It is pre-defined to just point to the bootable partitions. And it is the boot manager that creates the menu probably by looking at the MBR. AFAIK, the boot manager must be explicitly instructed to do that (sysintall must provide this instruction during a full install). Did you use some utility to shrink the original two slices to fit in the new one? Or was there already unused space (previously unallocated) that you were using? I simply converted a 6GB FAT32 partition into a UFS2 slice (chopped into three 2GB partitions). Well, I still am guessing the problem lies in individual slices' boot sectors and not the MBR. just try and set the bootable flags in the slices the way you think they should be and see what happens. jerry -- Peter __ Find your next car at http://autos.yahoo.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
incorrect logins
Hello FreeBSD, I see many records as Feb 10 21:08:55 sstand sshd[84600]: Failed password for root from 61.218.130.20 port 46356 ssh2 How can i block these IP, who try root as login? Have any soft in ports? -- Best regards, Playnet mailto:[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: MBR blown away
Date: Fri, 10 Feb 2006 21:19:07 -0500 (EST) From: Peter [EMAIL PROTECTED] Subject: MBR blown away To: freebsd-questions freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 I need help. I added a slice to a single hard drive dual-boot (windows) system and now I guess that scrambled my MBR. I get three options from the FreeBSD (5.4) boot manager: 1. DOS 2. FreeBSD 3. FreeBSD I can boot to FreeBSD (the new slice is fine) by choosing option 3 but the windows/dos option is fried. My current strategy is to use boot0cfg: # boot0cfg -B But I'm a little squeemish. I don't want to be locked out of FreeBSD (I barely use Windows but I still would like it back for Visio). Any guidance? Start by making a full backup of your FreeBSD installation. Then you'll feel less squeamish about whatever you do next. Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I can't mount my USB thumb drive or ipod -- no /dev/da*
It's definitely worth a try. People have reported exactly this issue with both recent iPods, and PNY Attache devices. In the case of the iPods, removing the stall-clearing code was reported to fix the problem, but I don't know whether it will help with the thumb drive. And, we've got a winner! Any idea if there are plans to fix this in the kernel itself? I looked and found this: http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/86438 but it appears to still be open... Anyway, many thanks to everybody who provided suggestions and help here! Most especiall, thank you to Ian for finding this solution! ~Erin -- http://www.tuxgirl.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: incorrect logins
I see many records as Feb 10 21:08:55 sstand sshd[84600]: Failed password for root from 61.218.130.20 port 46356 ssh2 How can i block these IP, who try root as login? Have any soft in ports? There are some ports that do it. One thing I didn't like about the ports (at least the ones I looked at) was that the app managed removing the firewall rules itself. Which means that if the app crashes right after you lock yourself out for some reason, thoes firewall rules are never going to get reset. http://www.pjkh.com/wiki/ssh_monitor Is my own little perl script and associated crontab entries to get around it. But if it were me, I'd check the ports out too as some of them do more than what I wanted to do. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(no subject)
I would like to have the source code of (the set of) programs that can read from/write to any sector of a disk without a file-system, think of them as the disk i/o programs that underly the file-system. I expect them to have (collectively) about four arguments, one specifying the disk to access, the second pointing to a buffer (supplying the data to write or to accept the data read), the third stating the number of bytes to transfer, and the fourth giving the LBA address of the sector to be accessed. One function common to both the read program and the write program is the function to position the disk read/write head at the desired sector (given by its LBA ) [or notify the user via an interrupt (which one?) when that sector is at the read/write head]. This function is often named seek. Source code with good comments are more desireable. One could combine the read write programs into one program and add another argument telling the program whether it is to read or to write. One program that meets some of these requirements (but not all) is fdisk [it accesses only sector 0 ]. Its source would also be appreciated, all of those in the following versions of FreeBSD if available: versions 4.3, 4.7, current-stable (6.0). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.0 on DVD
+++ Wojciech Puchar [freebsd] [12-02-06 00:09 +0100]: | If it's out there - where? | | I'm not sure about this, but aren't the DVD versions created by a third-party | company? | ___ | | well i created 8.5GB DVD version of FreeBSD 6.0/amd64 by myself for personal use. it is original install | CD+all binary packages available on FTP. then i have to delete unpacked /usr/share/doc/ from CD to fit :) Can you please post the procedure? Shantanoo pgp4GGSVZPtEF.pgp Description: PGP signature
RE: SATA Raid
Well you want several things here: redundancy, add in card to preserve your existing motherboard, SATA, and cheap. So far you have found those four things are incompatible, that is why your here. I'm telling you point blank that they are incompatible and to give up looking for that combo. Get rid of one of these items and your being reasonable. If you want redundancy and cheap, and add-in card, then get a udma 133 card and discounted disk drives. If you want redundancy and cheap and SATA then replace your motherboard with one that has a SATA raid chipset on it and these existing SATA drives you apparently already have. By the time you buy a SATA raid card you can pay for a new motherboard that is better and faster and already has SATA raid on it. Ted -Original Message- From: Robert Uzzi [mailto:[EMAIL PROTECTED] Sent: Saturday, February 11, 2006 12:13 PM To: Ted Mittelstaedt Cc: freebsd-questions@freebsd.org Subject: RE: SATA Raid None of there are relevant since the only add in card is UDMA 100 not SATA different chipsets. The others are built in's and not add in cards. Here's some output from 3 of my servers with different ide raid, judge for yourself: Server #1: FreeBSD 6.0, Promise udma raid chip on motherboard: www# dmesg . . ad4: 114473MB Seagate ST3120026A 8.01 at ata2-master UDMA100 ad6: 114473MB Seagate ST3120026A 8.01 at ata3-master UDMA100 Waiting 5 seconds for SCSI devices to settle ar0: 114440MB Promise Fasttrak RAID1 status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master . . www# atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: acd0 Pioneer CD-ROM ATAPI Model DR-944 0107/E1.07 ATA/ATAPI revision 4 Slave: no device present ATA channel 2: Master: ad4 ST3120026A/8.01 ATA/ATAPI revision 6 Slave: no device present ATA channel 3: Master: ad6 ST3120026A/8.01 ATA/ATAPI revision 6 Slave: no device present www# atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: READY Server #2 FreeBSD 5.4 Adaptec ATA RAID 1200A (Highpoint Rocket Raid 100) on a pci card # dmesg . . . atapci0: HighPoint HPT370 UDMA100 controller port 0xd800-0xd8ff,0xdfe0-0xdfe3,0xdfa8-0xdfaf,0xdfe4-0xdfe7,0xdff0-0 xdff7 irq 9 at device 10.0 on pci2 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 . . . ad4: 152627MB ST3160023A/8.01 [310101/16/63] at ata2-master UDMA100 ad6: 152627MB ST3160023A/3.01 [310101/16/63] at ata3-master UDMA100 ar0: 152627MB ATA RAID1 array [19457/255/63] status: READY subdisks: disk0 READY on ad4 at ata2-master disk1 READY on ad6 at ata3-master . . . # atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: acd0 CDU5211/YYS7 ATA/ATAPI revision 0 Slave: no device present ATA channel 2: Master: ad4 ST3160023A/8.01 ATA/ATAPI revision 6 Slave: no device present ATA channel 3: Master: ad6 ST3160023A/3.01 ATA/ATAPI revision 6 Slave: no device present # # atacontrol status 0 ar0: ATA RAID1 subdisks: ad4 ad6 status: READY # Server #3 FreeBSD 6.0-RELEASE #0: Intel ICH5R/6300ESB SATA150 RAID chip on motherboard #dmesg . . . atapci1: Intel 6300ESB SATA150 controller port 0xe400-0xe407,0xe000-0xe003,0xd c00-0xdc07,0xd800-0xd803,0xd400-0xd40f irq 18 at device 31.2 on pci0 atapci1: failed to enable memory mapping! ata2: ATA channel 0 on atapci1 ata3: ATA channel 1 on atapci1 . . . ad4: 286168MB Seagate ST3300831AS 3.03 at ata2-master SATA150 ad6: 286168MB Seagate ST3300831AS 3.03 at ata3-master SATA150 ar0: 286168MB Adaptec HostRAID RAID1 status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master . . . mail# atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: acd0 TSSTcorpCD/DVDW TS-H552U/US06 ATA/ATAPI revision 0 Slave: no device present ATA channel 2: Master: ad4 ST3300831AS/3.03 Serial ATA v1.0 Slave: no device present ATA channel 3: Master: ad6 ST3300831AS/3.03 Serial ATA v1.0 Slave: no device present mail# mail# atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: READY mail# Ted Mittelstaedt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Uzzi Sent: Friday, February 10, 2006 7:35 PM To: freebsd-questions@freebsd.org Subject: SATA Raid Anyone know of any of the cheaper SATA raid cards that work well under FreeBSD. I'd love to go get a 3ware but they are fairly pricey. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send
Re: Samba vulnerability make problem
On Sat, 2006-02-11 at 20:36, Denny White wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Was trying to setup apsfilter to be able to print to my winbox printer. Got as far as the follwing: === apsfilter-7.2.6_2 depends on executable: smbclient - not found ===Verifying install for smbclient in /usr/ports/net/samba === samba-2.2.12_2 has known vulnerabilities: = samba -- integer overflow vulnerability. Reference: http://www.FreeBSD.org/ports/portaudit/3b3676be-52e1-11d9-a9e7-0001020eed82.html = Please update your ports tree and try again. *** Error code 1 Stop in /usr/ports/net/samba. *** Error code 1 Stop in /usr/ports/print/apsfilter. *** Error code 1 Stop in /usr/ports/print/apsfilter. Script done on Sat Feb 11 20:01:52 2006 I've got portaudit installed the database was just updated several days ago, as well as the ports with portsnap portupgrade. Have checked the last week or so of the cvs mailing list for samba found nothing, so I didn't rerun portsnap portupgrade. Already so many dependencies installed for apsfilter, I hated to update anything else right in the middle of all of this. Tried running the make command with -DIGNORE_VULNERABILITIES but still no dice. Any advice, pointers to reading up on it, help, appreciated. Denny White Denny, Samba3 is in the ports try that instead. Please do not CC me. Already subscribed to mailing list. I suggest you set you reply to the list then. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]