Re: Samba and RAID 1 using gmirror on 2 new disks
The fdisk -I da1 failed with SCSI parity error, so I took another look at the manual for the 9GB drives and noticed that the J-4 pin block (12 pairs of pins where SCSI Device ID's are set) on these drives says Pin 11 is a Disable SCSI Parity Check jumper. I added a jumper on pin 11 on both 9GB drives. This resolved the SCSI parity error (note that SCSI Parity Checking is still Enabled in the SCSI BIOS). Then I did: 1) dd if=/dev/zero of=/dev/da1 bs=512 count=1024 RESULT: OK 2) fdisk -I da1 RESULT: ERROR - Output: *** Working on device /dev/da1 *** fdisk: invalid fdisk partition table found fdisk: Geom not found 3) gmirror label -v -b round-robin gm0 /dev/da1 (to see what would happen) RESULT: OK! Metadata value stored on /dev/da1. Done. 4) dd if=/dev/zero of=/dev/da1s1 bs=512 count=1024 RESULT: OK 5) bsdlabel -w da1s1 RESULT: OK 6) bsdlabel -e da1s1 Confusion on what to do here and why. Your instructions were: Then in the editor it brings up, put all the slice in a: - just copy the c: line and change the type to BSD4.2 from UNUSED and make the [fsize bsize bps/cpg] columns be 2048 16384 28552 Why copy the c: line? Shouldn't I just edit the a: line and leave the c: line alone? Here's what it looks like unmodified: - # /dev/da1s1: 8 partitions: # sizeoffsetfstype[fsize bsize bps/cpg] a: 1790830016unused0 0 c: 17908316 0unused0 0 # raw part, don't edit - Is this what it should look like after mods, or should I change size to 17908316 and offset to 0?: - # /dev/da1s1: 8 partitions: # sizeoffsetfstype[fsize bsize bps/cpg] a: 17908300164.2BSD 2048 16384 28552 c: 17908316 0unused0 0 # raw part, don't edit - More questions later... (thanks) Jerry McAllister [EMAIL PROTECTED] wrote: On Fri, Apr 20, 2007 at 03:12:46PM -0700, L Goodwin wrote: Hi, Jerry: Yes, I want to run Samba (sorry the list of requirements from my original email got left off). I also want to have the server run scheduled backups of the mirror disk. However... OK. I saw that later in your subject line, but all information should be in the body of the message too. I am not able to initialize da1 and da2 successfully. I went through the process of running FDISK and the Label Editor from the sysinstall menu, both without any error messages, but it does not work! (see the steps I took below) Here are the detailed steps I took and results (FAIL). Did I miss any important steps or do something incorrectly, or is there a problem with these disks?: 1) Boot FreeBSD and login as user root. 2) Start sysinstall from the shell prompt. 3) Select the Configure menu option and run FDISK. 4) Created a single slice (da1s1) on da1, then repeated the process for da2 (da2s1). Both slices are the same size (17912475 blocks). 5) Select Label Disk Label Editor in FreeBSD Configuration Menu. [See attached file containing FDISK and Label settings] 6) I then tried to format the da1s1 partition using: newfs /dev/da1s1d ...which failed with newfs /dev/sa1s1d: could not find special device Is there any reason you were making it a partition 'd:' instead of 'a:' I don't think it would matter, but it might lead to errors keeping track of things when typing in commands. Checked /dev and found da1 and da2, but not the expected da1s1d and da2s1d, so I tried: newfs /da1 ...which failed with: ... (da1:ahc0:0:1:0): WRITE(06). CDB: a 0 0 a0 80 0 (da1:ahc0:0:1:0): CAM Status: SCSI Status Error (da1:ahc0:0:1:0): SCSI Status: Check Condition (da1:ahc0:0:1:0): ABORTED COMMAND asc:47,0 (da1:ahc0:0:1:0): SCSI parity error (da1:ahc0:0:1:0): Retries Exhausted newfs: wtfs: 65536 bytes at sector 160: Input/output error Well, a SCSI parity error is a bad sign. That is pointing to a hardware problem of some kind. It could be media (disk) or cables or controller failure, etc. Try this and if you still get SCSI parity errors, better open up the box and work on parts. NOTE that those two dd commands are not quite the same. The first writes to da1 and the second to da1s1 dd if=/dev/zero of=/dev/da1 bs=512 count=1024 fdisk -I da1 dd if=/dev/zero of=/dev/da1s1 bs=512 count=1024 bsdlabel -w da1s1 bsdlabel -e da1s1 Then in the editor it brings up, put all the slice in a: - just copy the c: line and change the type to BSD4.2 from UNUSED and make the [fsize bsize bps/cpg] columns be 2048 16384 28552 Then do:newfs /dev/da1s1a If that still gets SCSI errors, then your problems are below the level of the software.
Re: MS Windows emulator or VM with USB support
Adam J Richardson wrote: [EMAIL PROTECTED] wrote: On Fri, 20 Apr 2007, Milan Knizek wrote: Hello, is there an emulator or virtual machine, which would run MS Windows on FreeBSD as a host system and support USB devices? (I do not mean USB Mass Storage, but e.g. Garmin GPS device with Garmin's MapSource.) Preferrably some free software. AFAIK wine cannot support usb devices, VMware Server 1.x does runs only on linux. Best regards, Milan -- Milan Knížek http://milan-knizek.net/ e-mail knizek {na} volny {v} cz Based on my experience VMware is the most complete VM that can deliver this. However, there are people working on porting Xen to FreeBSD (CURRENT I believe, not STABLE). So stay tuned for Xen if you're interested.. -Garrett Does Qemu do what you want? I'm installing Windows 2000 Professional inside Qemu for some experiments. I don't know if it fulfils your USB requirement, but it's free and I hear it runs on FreeBSD pretty well. Hope this helps, Adam J Richardson I've had a few rounds with Qemu on FreeBSD, Linux, Mac, and Windows, and each time when I try and get stuff setup, it breaks unfortunately (all of the above except Mac) or is too slow to be usable (Mac, because of my iBook's processor speed _). Xen isn't half bad though because it's cross architecture, similar to Qemu, but with more native emulating speeds. Unfortunately VMWare is only available for x86 CPUs and friends though, and although someone offered a bounty for proper Linux emulation of it on FreeBSD, it's probably going to be a while before it's available (at least until the linuxalator (sp?) gets fixed a bit more..). Those are my 2 cents :). -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anti Spam
From: Grant Peel [EMAIL PROTECTED] Hi all, I am posting this question here because I know there are alot of ISPs using FreeBSD (including me) and am hoping to get feedback, either directly to me or to the list. We are wrestling (as I am sure many are), with spam. Up until now we have been employing Spamassassin locally and using some 3rd party Anti-Spam servervices that are getting less and less reliable as the weeks go by. We are considering two hardware solutions, Easyantispam and Barracuda. Barracuda is very expensive, so the most likely candidate is Easyantispam. Does anyone out there have thought on either or both of these? Usability? Reliability? Total Cost of ownership? Integration issues? Any thoughts will be appreciated, -Grant For what it is worth I have not heard any good words about Barracuda on the SA mailing list. I have encountered a considerable number of people who agree with Barracuda's detractors. One of the good tools for SpamAssassin is the new FuzzyOCR plugin - IF you can spare the CPU cycles. Per user Bayes filtering and rules will always work better chiefly because of the goose/gander problem - one person's spam is often another person's ham. Greylisting is a great tool for ISPs as long as you use a tool that learns which addresses are real and which are not. In this regard carefully chosen block lists can also be a great help. When applied, either in SA or in the MTA, use a scoring system with the block lists so that one agressive list will not suddenly irritate customers with lost important messages. {^_^}Joanne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Porting a driver from RELENG_6 to RELENG_6_2
Hi, I have a Marvell Yukon 88E8050 Gigabit Ethernet which came with my motherboard. When looking for it's driver I found that RELENG_6 supports it, and the driver is located at sys/dev/msk/ But I am using RELENG_6_2. Is it advisable to take this driver from RELENG_6 to RELENG_6_2? Is there some established method to get a diff of this driver alone and apply it to RELENG_6_2? regards, raj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anti Spam
Grant Peel wrote: Hi all, I am posting this question here because I know there are alot of ISPs using FreeBSD (including me) and am hoping to get feedback, either directly to me or to the list. We are wrestling (as I am sure many are), with spam. Up until now we have been employing Spamassassin locally and using some 3rd party Anti-Spam servervices that are getting less and less reliable as the weeks go by. We are considering two hardware solutions, Easyantispam and Barracuda. Barracuda is very expensive, so the most likely candidate is Easyantispam. Does anyone out there have thought on either or both of these? Usability? Reliability? Total Cost of ownership? Integration issues? Any thoughts will be appreciated, -Grant I would recommend Postini (www.postini.com), it is not a hardware solution but they are cheep and the service is very good. Also they are not a store and forward filtering company, they have a much more real time system that connects to your mail server as they receive the email so that the sending server gets the response from your server rather than from their server. Tom J ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anti Spam
Eric, I think that Easyantispam is a reseller for mailfoundry. Have you some expierience with mailfoundry? If so, I would like to hear you feedback. -Grant - Original Message - From: Eric Crist [EMAIL PROTECTED] To: Grant Peel [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Friday, April 20, 2007 7:44 PM Subject: Re: Anti Spam On Apr 20, 2007, at 11:43 AMApr 20, 2007, Grant Peel wrote: Hi all, I am posting this question here because I know there are alot of ISPs using FreeBSD (including me) and am hoping to get feedback, either directly to me or to the list. We are wrestling (as I am sure many are), with spam. Up until now we have been employing Spamassassin locally and using some 3rd party Anti-Spam servervices that are getting less and less reliable as the weeks go by. We are considering two hardware solutions, Easyantispam and Barracuda. Barracuda is very expensive, so the most likely candidate is Easyantispam. Does anyone out there have thought on either or both of these? Usability? Reliability? Total Cost of ownership? Integration issues? Any thoughts will be appreciated, Also look at Mailfoundry ___ 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: random hangs/reboots with Dell servers
Thnx to everyone for your replies, A colleague has provided me with his hand notes of an older crash screen, it has the following(however i cant guarantee it is accurate, it is handnotes). Fatal trap 12: page fault while in kernel mode cpuid=0; apicid=00 fault virtual address=0xac fault code=supervisor write,page not present instruction pointer=0x20:0x current process 79962 trap numbers : 12 panic: pagefault cpuid=1 uptime=6d7423m55 I do not believe the problems are related to envriroment or electricity, since during the period the problems occured we have switched data center, and in addition to dell systems there are 150 more nodes from various vendors (HP mostly, but also IBM, supermicro, SUN, and various assembled towers), and none has shown similar behaviour. We dont run FreeBSD on them though. We have a Dell 2850 with Windows 2003 that has been running rock solid for at least 1 year. And the 1750 that under FreeBSD 5 would sometimes crash even under no load, with RHEL 4 pushes 60 Mbps of ftp data 24/7 with ease for the last year without any problems. Disabling everything from BIOS was one of our first moves, though we havent disabled usb since sometimes we need to connect a keyboard. And no IPMI is running on a public interface:) Apart from all the nodes being SMP and Dell, I cannot think of anything else in common. Some are SCSI, some are SATA. All have a number of jails. Memory size is 2 GB (the 1750), the others have 4 GB. I have also asked Dell for some help, though they told me freebsd is not certified by Dell, they will try to look into it. -- Dimitris Zilaskos Department of Physics @ Aristotle University of Thessaloniki , Greece PGP key : http://tassadar.physics.auth.gr/~dzila/pgp_public_key.asc http://egnatia.ee.auth.gr/~dzila/pgp_public_key.asc MD5sum : de2bd8f73d545f0e4caf3096894ad83f pgp_public_key.asc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New Config of Jails 4 port NIC with 6.2 stable
On Thu, Apr 19, 2007 at 01:06:18PM -0700, [EMAIL PROTECTED] wrote: Hello Everyone! Hi dude, A FreeBSD Grasshopper needs help. Working with PIII 1Ghz. 1/2 gig ram two 80 gig drives One 4 port D-link NIC. Freebsd 6.2 stable +Gnome Xorg, webmin installed I have comcast with a Netgear wireless router I would like to configure the above with Jails My aim is Local DNS, DHCP, Apache1.3, MySQL 4, PHP4, etc, etc. basic web server stuff. Not sure where to start! Have you already looked into the manpage JAIL(8) ? This is a good starting point to set up your jail. Because you use -STABLE ezjail (from ports) will be a little bit tricky to set up. (make release ...) I would like to have a one NIC port stay on web. So your machine plays gateway, (jail)server AND workstation? -- Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174 Worker bees can leave. Even drones can fly away. The Queen is their slave. pgp4lof1uP2Ti.pgp Description: PGP signature
FreeBSD machine instead of wireless hotspot device
I have wireless hotspot device (Handlink WG-601) which I need to replace with FreeBSD machine. The device has following functionality I need to replicate: 1. It has dhcp server (that's easy) 2. It makes NAT between it's internal interfaces and wan interface (easy too, but look at 3). 3. It actually responds on every ARP request coming on it's internal interfaces. That allows it to act as router for machines that instead of using dhcp are configured with wrong static IP addresses. 4. It can use RADIUS for authentication of the users. Actually, non-authenticated users are given IP address (no WPA, TKIP, etc) and when they first try to load a web page are redirected to authentication web-page. Then their username and password are checked against RADIUS database and only then they are allowed to connect to the outer network. Two more things: 1. It was part of a larger wireless hotspot service, sponsored from the government and implemented by outer organization, so buying another with my organization's money is out of the question. 2. I'm aware of the issues with security but again I cannot modify the policy there. I'll be very thankful for any ideas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD machine instead of wireless hotspot device
Angelin Lalev wrote: I have wireless hotspot device (Handlink WG-601) which I need to replace with FreeBSD machine. The device has following functionality I need to replicate: 1. It has dhcp server (that's easy) 2. It makes NAT between it's internal interfaces and wan interface (easy too, but look at 3). 3. It actually responds on every ARP request coming on it's internal interfaces. That allows it to act as router for machines that instead of using dhcp are configured with wrong static IP addresses. 4. It can use RADIUS for authentication of the users. Actually, non-authenticated users are given IP address (no WPA, TKIP, etc) and when they first try to load a web page are redirected to authentication web-page. Then their username and password are checked against RADIUS database and only then they are allowed to connect to the outer network. Two more things: 1. It was part of a larger wireless hotspot service, sponsored from the government and implemented by outer organization, so buying another with my organization's money is out of the question. 2. I'm aware of the issues with security but again I cannot modify the policy there. I'll be very thankful for any ideas. Hi Angelin, I had similar requirements recently for project I was working on, I found the following information rather helpful. There were a few changes to be made but the general outline helped me. Here is the link: http://www.howtoforge.com/setting_up_a_freebsd_wlan_access_point Let me know if you have any questions, I might be able to help. - Chris Slothouber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD machine instead of wireless hotspot device
Chris Slothouber wrote: Angelin Lalev wrote: I have wireless hotspot device (Handlink WG-601) which I need to replace with FreeBSD machine. The device has following functionality I need to replicate: 1. It has dhcp server (that's easy) 2. It makes NAT between it's internal interfaces and wan interface (easy too, but look at 3). 3. It actually responds on every ARP request coming on it's internal interfaces. That allows it to act as router for machines that instead of using dhcp are configured with wrong static IP addresses. 4. It can use RADIUS for authentication of the users. Actually, non-authenticated users are given IP address (no WPA, TKIP, etc) and when they first try to load a web page are redirected to authentication web-page. Then their username and password are checked against RADIUS database and only then they are allowed to connect to the outer network. Two more things: 1. It was part of a larger wireless hotspot service, sponsored from the government and implemented by outer organization, so buying another with my organization's money is out of the question. 2. I'm aware of the issues with security but again I cannot modify the policy there. I'll be very thankful for any ideas. http://www.howtoforge.com/setting_up_a_freebsd_wlan_access_point Sorry, wrong URL. http://www.howtoforge.com/wifi_hotspot_setup ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems installing 6.2 on Core2Duo (Intel P965): can't mount root filesystem
Hi, I've run into some problems installing FreeBSD 6.2 on my Core 2 Duo machine equipped with a MSI P965 Neo motherboard with a Jmicron 361 RAID PATA/SATA controller, and an Intel ICH8 SATA controller. The PATA cdrom is connected to the Jmicron controller. It seems like all the disks are detected (including the PATA cdrom drive), as the kernel spits out something along the lines of: ad4: 305245 MB WDC WD3200KS-00PFB0 21.00M21 at ata2-master SATA300 acd0: DVDR TSSTcorpCD/DVDW SH-S182D/SB04 at ata3-master UDMA33 Just after these two lines of output are printed, I get presented with the mountroot prompt asking me to manually specify the root filesystem. Any suggestions on how to fix this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anti Spam
Grant I'd look at your SA setup, make sure you're running v 3.1.8 abd have saupdate-ed recently. Also make sure you're running the URI-RBLs, dcc and razor2. Third party rules from www.rulesemporium.com are a must are as is the the imageinfo plugin. You could always ask on the spamassassin users list for advice on tuning you setup and get some of the spam you get analysed by those of us running well tuned SA setups so you know which extra rulesets will help. Go on as on the SA users list, we're a friendly bunch and will help you with your problem. -- Martin On 4/20/07, Grant Peel [EMAIL PROTECTED] wrote: Hi all, I am posting this question here because I know there are alot of ISPs using FreeBSD (including me) and am hoping to get feedback, either directly to me or to the list. We are wrestling (as I am sure many are), with spam. Up until now we have been employing Spamassassin locally and using some 3rd party Anti-Spam servervices that are getting less and less reliable as the weeks go by. We are considering two hardware solutions, Easyantispam and Barracuda. Barracuda is very expensive, so the most likely candidate is Easyantispam. Does anyone out there have thought on either or both of these? Usability? Reliability? Total Cost of ownership? Integration issues? Any thoughts will be appreciated, -Grant ___ 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: FreeBSD machine instead of wireless hotspot device
On Sat, 21 Apr 2007 09:38:36 -0400, Chris Slothouber [EMAIL PROTECTED] wrote: Chris Slothouber wrote: Angelin Lalev wrote: I have wireless hotspot device (Handlink WG-601) which I need to replace with FreeBSD machine. The device has following functionality I need to replicate: 1. It has dhcp server (that's easy) 2. It makes NAT between it's internal interfaces and wan interface (easy too, but look at 3). 3. It actually responds on every ARP request coming on it's internal interfaces. That allows it to act as router for machines that instead of using dhcp are configured with wrong static IP addresses. 4. It can use RADIUS for authentication of the users. Actually, non-authenticated users are given IP address (no WPA, TKIP, etc) and when they first try to load a web page are redirected to authentication web-page. Then their username and password are checked against RADIUS database and only then they are allowed to connect to the outer network. Two more things: 1. It was part of a larger wireless hotspot service, sponsored from the government and implemented by outer organization, so buying another with my organization's money is out of the question. 2. I'm aware of the issues with security but again I cannot modify the policy there. I'll be very thankful for any ideas. http://www.howtoforge.com/setting_up_a_freebsd_wlan_access_point Sorry, wrong URL. http://www.howtoforge.com/wifi_hotspot_setup Thanks a lot! Chillispot is exactly what I need! It has all the described functionality (point (3) as a additional patch)! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Boot problem after GEOM setup
Following the doc below, I am trying to mirror an existing disk, ad0, which holds the root and /usr partitions (a second disk holds /var). I have an exact same disk in as ad2 in the system and did everything in this document top section through dumping the data and setting up /etc/fstab and loader.conf. I created the /boot.config as shown except I replaced the '1' with '2' just like I did for the other steps, but this does not appear correct. I now stall when booting at the boot: prompt. What can I type in the boot: prompt to get back in my system and make the necessary changes? Also, what should the /boot.config look like to boot to my new disk and continue through the steps for adding the first disk to the mirror? I guess it looks like this now: 1:ad(2,a)/boot/loader. http://people.freebsd.org/~rse/mirror/ -- Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD machine instead of wireless hotspot device
On Apr 21, 2007, at 7:54 AM, Angelin Lalev wrote: I have wireless hotspot device (Handlink WG-601) which I need to replace with FreeBSD machine. The device has following functionality I need to replicate: 1. It has dhcp server (that's easy) 2. It makes NAT between it's internal interfaces and wan interface (easy too, but look at 3). 3. It actually responds on every ARP request coming on it's internal interfaces. That allows it to act as router for machines that instead of using dhcp are configured with wrong static IP addresses. 4. It can use RADIUS for authentication of the users. Actually, non-authenticated users are given IP address (no WPA, TKIP, etc) and when they first try to load a web page are redirected to authentication web-page. Then their username and password are checked against RADIUS database and only then they are allowed to connect to the outer network. Two more things: 1. It was part of a larger wireless hotspot service, sponsored from the government and implemented by outer organization, so buying another with my organization's money is out of the question. 2. I'm aware of the issues with security but again I cannot modify the policy there. I'll be very thankful for any ideas. You may look at something like m0n0wall. Running it on a Soerkis box with wireless should give you exactly what you are looking for. But even if you can't buy a nice small and cheap box like that, it should run on anything FreeBSD runs on. See http://m0n0.ch/wall/ -j ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MS Windows emulator or VM with USB support
On Saturday 21 of April 2007, Adam J Richardson wrote: [EMAIL PROTECTED] wrote: On Fri, 20 Apr 2007, Milan Knizek wrote: is there an emulator or virtual machine, which would run MS Windows on FreeBSD as a host system and support USB devices? (I do not mean USB Mass Storage, but e.g. Garmin GPS device with Garmin's MapSource.) Does Qemu do what you want? I'm installing Windows 2000 Professional inside Qemu for some experiments. I don't know if it fulfils your USB requirement, but it's free and I hear it runs on FreeBSD pretty well. I have tried Qemu half year ago on linux and it almost got frozen when I switched Garmin on (the drivers were installed before). May be I give it a try on FreeBSD. -- Milan Knížek http://milan-knizek.net/ e-mail knizek {na} volny {v} cz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anti Spam
On Fri, 20 Apr 2007, Derek Ragona spaketh thusly: -} -}If your volume of mail is 5 per day don't use the baracuda. It won't -}keep up. I think this greatly depends on the model. I've not used the 200 but it certainly is a small box. My experience shows the 600 could easily handle this per hour. I suspect the 400 could handle 50k/day w/o trouble. (and no, I have never worked for Barracuda, nor do I have any stock in them. ;) -- Randy([EMAIL PROTECTED]) 765.983.1283 * Rain puts a hole in stone because of its constancy, not its force. - H. Joseph Gerber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP only detects one CPU - help?
Adam J Richardson wrote: Hi all, Firstly, apologies for the length of this. It's my first mailing list posting, so I hope I'm not breaching any etiquette codes. Also I've only been using FreeBSD for a couple of years, so I'm still very new to the system. I have recently become the proud owner of a second-hand HP NetServer e800, which has two Pentium-III class [686] CPUs in it. I've installed 6.2-RELEASE-p3 [which is also referred to as 6.2-STABLE, is that correct?] and built myself a SMP kernel. I'm sure it's a SMP kernel, because the config file has options SMP in it and while running it sysctl kern.smp.maxcpus returns 16. The BIOS says there are two CPUs, so I guess the second CPU is in fine condition and ready to go. I've done a little Googling and digging around in the system. First, the obligatory uname -a output: FreeBSD boring.dnsalias.com 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #0: Tue Apr 17 15:01:06 BST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GAKKO i386 There's nothing in /var/log/messages about CPUs, as far as I can tell. The output of dmesg provides a possible clue: real memory = 268369920 (255 MB) avail memory = 257167360 (245 MB) MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-15 on motherboard ioapic1 Version 1.1 irqs 16-31 on motherboard kbd1 at kbdmux0 acpi0: HP HWPC20F on motherboard acpi0: Power Button (fixed) unknown: I/O range not supported can't fetch resources for \\_SB_.PCI0.ISA_.SIO_.LPT_ - AE_AML_INVALID_RESOURCE_TYPE Timecounter ACPI-safe frequency 3579545 Hz quality 1000 acpi_timer0: 32-bit timer at 3.579545MHz port 0x1208-0x120b on acpi0 cpu0: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci_link0: BIOS IRQ 10 for 0.15.INTA is invalid Does the dmesg output start with the memory stats? I'd expect MPTable:, Timecounter, and CPU: lines above your quoted material. Definitely have BIOS/OS issues, though. As Chuck suggests, play around with the PnP settings in your BIOS setup, possibly update I've got a box similar to yours, I *think*; unfortunately, it's be on a distant job site for over two years (originally running 5.3-RELEASE with SMP on two Pentium-III Lancewood chips), and it's been so long since I was in the BIOS on that box I've no idea what the settings are. Several possible clues in that snippet, now that I look at it. The MADT line is suspicious but I think the real culprit might be revealed in the can't fetch resources line. On the other hand it might be a completely unrelated problem. Google is silent on the subject of AE_AML_INVALID_RESOURCE_TYPE, and I don't see it in the Lehey or Lucas books. Finally, mptable shows what's really going on: MP Config Base Table Entries: -- Processors: APIC ID Version StateFamily Model Step Flags 3 0x11BSP, usable 6 8 30x387fbff 0 0x11AP, unusable 6 8 30x387fbff Apparently the application processor is unusable, whatever that means. I am now stuck. Kevin Kinsey -- He who despises himself nevertheless esteems himself as a self-despiser. -- Friedrich Nietzsche ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
APIs
Hi, I'm doing a project involving IPv6 extension headers. I want to know if FreeBSD provides access to APIs that are set or extract IPv6 header fields _ Love Games? Gamesville is Waiting for You... Free Online Games, Fat Cash $ Prizes Plus Bingo, Solitaire, Poker Much More! [1]http://www.gamesville.com References 1. http://www.gamesville.com/?if_Event=LYCOSMAILgvilletxt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD machine instead of wireless hotspot device
Angelin Lalev wrote: I have wireless hotspot device (Handlink WG-601) which I need to replace with FreeBSD machine. The device has following functionality I need to replicate: 1. It has dhcp server (that's easy) 2. It makes NAT between it's internal interfaces and wan interface (easy too, but look at 3). 3. It actually responds on every ARP request coming on it's internal interfaces. That allows it to act as router for machines that instead of using dhcp are configured with wrong static IP addresses. 4. It can use RADIUS for authentication of the users. Actually, non-authenticated users are given IP address (no WPA, TKIP, etc) and when they first try to load a web page are redirected to authentication web-page. Then their username and password are checked against RADIUS database and only then they are allowed to connect to the outer network. Two more things: 1. It was part of a larger wireless hotspot service, sponsored from the government and implemented by outer organization, so buying another with my organization's money is out of the question. 2. I'm aware of the issues with security but again I cannot modify the policy there. I'll be very thankful for any ideas. I've done something very similar to this with FreeBSD (nanobsd). Check out http://www.pean.org/authpf_on_FreeBSD.html and http://www.pean.org/NanoBSD.html Hope it will be of any help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anti Spam
Hi Grant, I'm using postfix and a very good sets of pcre rules which takes care of more than 90% of all spam. Spamassassin will do the rest. The only spam I receive is on my postmaster account. Postfix uses greylisting, a set of rbl lists and a pcre rule set op the helo check and client_access_check. At this moment I'm blocking all ips belonging to customers of cable and adsl networks, because there are the most botnets. The helo_checks at this moment are: /^[0-9.]+$/ REJECT Please use your ISP's outgoing mail server - HA /^\|/ REJECT Please use your ISP's outgoing mail server - HB /^[\d\.]+$/ REJECT Please use your ISP's outgoing mail server - HC # H1 adsl,dial, dhcp, cable, retail, dynamic in hostname /(adsl|dial|dhcp|cable|retail|dynamic)/iREJECT Please use your ISP's outgoing mail server - H1 # H2 customer, dial, local, static in hostname /(customer|local|static)/i REJECT Please use your ISP's outgoing mail server - H2 # H3 1234 /\d{4}/ REJECT Please use your ISP's outgoing mail server - H3 # H4 123-123-123 /\d{1,3}-\d{1,3}-\d{1,3}/REJECT Please use your ISP's outgoing mail server - H4 # H5 123.123.123 # /\d{1,3}\.\d{1,3}\.\d{1,3}/ REJECT Please use your ISP's outgoing mail server - H5 Untill now no false positves! So, first take a very good look to your MTA! Jack - Original Message - From: Grant Peel [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Friday, April 20, 2007 6:43 PM Subject: Anti Spam Hi all, I am posting this question here because I know there are alot of ISPs using FreeBSD (including me) and am hoping to get feedback, either directly to me or to the list. We are wrestling (as I am sure many are), with spam. Up until now we have been employing Spamassassin locally and using some 3rd party Anti-Spam servervices that are getting less and less reliable as the weeks go by. We are considering two hardware solutions, Easyantispam and Barracuda. Barracuda is very expensive, so the most likely candidate is Easyantispam. Does anyone out there have thought on either or both of these? Usability? Reliability? Total Cost of ownership? Integration issues? Any thoughts will be appreciated, -Grant ___ 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: Boot problem after GEOM setup
On Sat, 2007-04-21 at 11:39 -0400, Robert Fitzpatrick wrote: Following the doc below, I am trying to mirror an existing disk, ad0, which holds the root and /usr partitions (a second disk holds /var). I have an exact same disk in as ad2 in the system and did everything in this document top section through dumping the data and setting up /etc/fstab and loader.conf. I created the /boot.config as shown except I replaced the '1' with '2' just like I did for the other steps, but this does not appear correct. I now stall when booting at the boot: prompt. What can I type in the boot: prompt to get back in my system and make the necessary changes? Also, what should the /boot.config look like to boot to my new disk and continue through the steps for adding the first disk to the mirror? I guess it looks like this now: 1:ad(2,a)/boot/loader. http://people.freebsd.org/~rse/mirror/ I was able to recover with a FreeSBIE and go back, seems I was close. I have the GEOM working now as shown below. However, after successfully synchronizing and doing a reboot, it shows up DEGRADED after every reboot and synchronizes again, is that normal? genoa# gmirror list Geom name: gm0 State: DEGRADED Components: 2 Balance: round-robin Slice: 4096 Flags: NONE SyncID: 1 ID: 4224071626 Providers: 1. Name: mirror/gm0 Mediasize: 15364338688 (14G) Sectorsize: 512 Mode: r4w3e2 Consumers: 1. Name: ad0 Mediasize: 15364339200 (14G) Sectorsize: 512 Mode: r0w1e1 State: SYNCHRONIZING Priority: 0 Flags: DIRTY, SYNCHRONIZING SyncID: 1 Synchronized: 28% ID: 4099754703 2. Name: ad2 Mediasize: 15364339200 (14G) Sectorsize: 512 Mode: r4w3e3 State: ACTIVE Priority: 0 Flags: DIRTY SyncID: 1 ID: 3454124143 Geom name: gm0.sync Consumers: 1. Name: mirror/gm0 Mediasize: 15364338688 (14G) Sectorsize: 512 Mode: r1w0e0 -- Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bsdlabel editing to create a single partition
I want to dedicate the entire disk to a single FreeBSD partition (da1s1a), and am a little confused about editing partitions via bsdlabel -e slicename. Prior to editing, it looks like this: # /dev/da1s1: 8 partitions: # size offsetfstype [fsize bsize bps/cpg] a: 17908300 16unused00 c: 17908316 0unused00# raw part, don't edit I gather that I should change the following field values for c:: fstype: 4.2BSD fsize: 2048 bsize: 16384 Questions: 1) Do I change the size value for a: or leave at current size? 2) Do I leave the c: line alone (in place) and if YES does its size and offset values need to be edited? If someone could show me what it should look like when done, I'd appreciate it. When I leave the c: entry in place, I get /dev/da1s1a and /dev/da1s1c in /dev/. Should I delete the c: entry? Here's what I have now: # /dev/da1s1: 8 partitions: # size offsetfstype [fsize bsize bps/cpg] a: 17908300 164.2BSD204816384 c: 17908316 0unused0 0# raw part, don't edit Thanks! - Ahhh...imagining that irresistible new car smell? Check outnew cars at Yahoo! Autos. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Linksys wireless pcmcia card / FreeBSD 6.2-RELEASE
Hi, I am running FreeBSD 6.2 RELEASE and I have the above card in my DELL's latitude c810 cardbus. I followed the instructions on the page below and configure the kernel accordingly: http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/article.html i get the message about: cardbus0: CIS pointer is 0 cardbus0: Resource not specified in CIS which takes me to the post below...: http://freebsd.monkey.org/freebsd-stable/200607/msg00449.html I guess i need to tweak the windows driver or anyway hack it somehow. The problem is that i 've never done anything similar before but i would like to get involved and make it work. Anybody can point me to the right direction ? If the above is not the best solution i would really appreciate pointing me to the best alternative. thanks in advance Spiros P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Porting a driver from RELENG_6 to RELENG_6_2
On Sat, Apr 21, 2007 at 02:54:54PM +0530, Rajkumar S wrote: Hi, I have a Marvell Yukon 88E8050 Gigabit Ethernet which came with my motherboard. When looking for it's driver I found that RELENG_6 supports it, and the driver is located at sys/dev/msk/ But I am using RELENG_6_2. Is it advisable to take this driver from RELENG_6 to RELENG_6_2? Is there some established method to get a diff of this driver alone and apply it to RELENG_6_2? There is a good chance that you can just copy the files in this directory from RELENG_6 and it will work on RELENG_6_2 (since those two versions are still close together). You will also need some of the changes in sys/conf/ to glue it into the kernel build, which you can extract from the CVS (see e.g. cvsweb). Or you can copy the sys/modules/${whatever} directory too and it should be buildable as a standalone module. If you are unlucky then the driver may rely on changes made after the release of 6.2 and you will have to either back-port those changes too (or just run RELENG_6). Kris pgpJLVDIEhKEr.pgp Description: PGP signature
Re: bsdlabel editing to create a single partition
On 21/04/07, L Goodwin [EMAIL PROTECTED] wrote: I want to dedicate the entire disk to a single FreeBSD partition (da1s1a), and am a little confused about editing partitions via bsdlabel -e slicename. Prior to editing, it looks like this: # /dev/da1s1: 8 partitions: # size offsetfstype [fsize bsize bps/cpg] a: 17908300 16unused00 c: 17908316 0unused00# raw part, don't edit I gather that I should change the following field values for c:: fstype: 4.2BSD fsize: 2048 bsize: 16384 Questions: 1) Do I change the size value for a: or leave at current size? NO 2) Do I leave the c: line alone (in place) and if YES does its size and offset values need to be edited? Leave it alone. If someone could show me what it should look like when done, I'd appreciate it. When I leave the c: entry in place, I get /dev/da1s1a and /dev/da1s1c in /dev/. Should I delete the c: entry? Here's what I have now: # /dev/da1s1: 8 partitions: # size offsetfstype [fsize bsize bps/cpg] a: 17908300 164.2BSD204816384 c: 17908316 0unused0 0# raw part, don't edit Don't edit the bsdlabel at all, just: # newfs -U /dev/da1s1a and it will automatically fill out the fsize, bsize, and bps/cpg fields. You can then add a line to fstab, mount it, fill it with text files containing the word corn ever and over. c: should nearly never be touched, and definitely never in the course of simply setting up a disk for use. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2007-04-01 - 2007-04-21
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Grep and --exclude? or, finding a text string that might be anywhere
Oliver, the error is due to incorrect syntax (-e flag omitted). Try this: grep -R /usr -e any2dvd L Goodwin Oliver Iberien [EMAIL PROTECTED] wrote: I need to find a reference to an obscure delete port that is in some file somewhere (in /usr/ports/? somewhere in /usr?) as it is messing up make and, among other things, preventing me from running the gnome upgrade script. So, I do what little I know to do: grep -R /usr/* any2dvd This brings out a few valid discoveries (mostly in mailfiles when I posted about this) and lots of operation not supported and No such file or directory errors before grep spits out a memory exhausted error. If I could at least stop it from looking at */tmp/* and ~/.kde it might have a chance to get somewhere, but I can't figure out how --exclude or --exclude-dir work, despite googling over and over for examples. Can this be made to work? Or is there a better way? Thanks, Oliver Previous post about the weird make error follows: On Sunday 08 April 2007 21:24, you wrote: On Sun, Apr 08, 2007 at 09:30:14AM -0700, Oliver Iberien wrote: I seem to have messed something up somewhere, and peculiar instructions seem to have found their way in. An example is below: --- Checking for the latest package of 'devel/gettext' --- Fetching the package(s) for 'gettext-0.16.1' (devel/gettext) --- Fetching gettext-0.16.1 /var/tmp/portupgradeJwjg3x7H/gettext-0.16.1.tb100% of 2093 kB 248 kBps --- Downloaded as gettext-0.16.1.tbz --- Identifying the package /var/tmp/portupgradeJwjg3x7H/gettext-0.16.1.tbz --- Saved as /usr/ports/packages/All/gettext-0.16.1.tbz --- Skipping libiconv-1.9.2_2 (already installed) --- Found a package of 'devel/gettext': /usr/ports/packages/All/gettext-0.16.1.tbz (gettext-0.16.1) --- Located a package version 0.16.1 (/usr/ports/packages/All/gettext-0.16.1.tbz) --- Upgrading 'gettext-0.14.5_2' to 'gettext-0.16.1' (devel/gettext) using a package cd: can't cd to /usr/ports/multimedia/any2dvd Makefile, line 54: Could not find /usr/ports/print/cups-lpr/../../print/cups/Makefile.common make: fatal errors encountered -- cannot continue ^C--- Backing up the old version --- Uninstalling the old version The section cd: can't cd to /usr/ports/multimedia/any2dvd Makefile, line 54: Could not find /usr/ports/print/cups-lpr/../../print/cups/Makefile.common appears often when installing both from packages and ports. I just stop it and the install continues. What could be going on here? Check carefully for local changes you made referring to this file (in /usr/ports or /etc/make.conf, maybe elsewhere_. It no longer exists in the ports tree so it is unreferenced in a standard install of it. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - Ahhh...imagining that irresistible new car smell? Check outnew cars at Yahoo! Autos. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Grep and --exclude? or, finding a text string that might be anywhere
On Sat, Apr 21, 2007, L Goodwin wrote: Oliver, the error is due to incorrect syntax (-e flag omitted). Try this: grep -R /usr -e any2dvd L Goodwin Oliver Iberien [EMAIL PROTECTED] wrote: I need to find a reference to an obscure delete port that is in some file somewhere (in /usr/ports/? somewhere in /usr?) as it is messing up make and, among other things, preventing me from running the gnome upgrade script. So, I do what little I know to do: grep -R /usr/* any2dvd This brings out a few valid discoveries (mostly in mailfiles when I posted about this) and lots of operation not supported and No such file or directory errors before grep spits out a memory exhausted error. If I could at least stop it from looking at */tmp/* and ~/.kde it might have a chance to get somewhere, but I can't figure out how --exclude or --exclude-dir work, despite googling over and over for examples. Can this be made to work? Or is there a better way? I generally use find, xargs, and grep for things like this: find /usr -type f | xargs grep -l 'any2dvd' OR find /usr -type f | egrep -v '/.kde|/tmp/' | xargs grep -l 'any2dvd' 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 ``If we got one-tenth of what was promised to us in these acceptance speeches there wouldn't be any inducement to go to heaven.'' Will Rogers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]